Skip to content

Commit

Permalink
Online store feature groups supports Standard and InMemory tier stora…
Browse files Browse the repository at this point in the history
…ge types for low latency storage for real-time data retrieval. The InMemory tier supports collection types List, Set, and Vector.
  • Loading branch information
aws-sdk-dotnet-automation committed Sep 28, 2023
1 parent 09de4d5 commit aef0ca1
Show file tree
Hide file tree
Showing 54 changed files with 946 additions and 154 deletions.
41 changes: 39 additions & 2 deletions generator/ServiceModels/sagemaker/sagemaker-2017-07-24.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -5374,6 +5374,13 @@
"min":1,
"pattern":"[\\w-]+_[0-9a-zA-Z]+"
},
"CollectionConfig":{
"type":"structure",
"members":{
"VectorConfig":{"shape":"VectorConfig"}
},
"union":true
},
"CollectionConfiguration":{
"type":"structure",
"members":{
Expand All @@ -5400,6 +5407,14 @@
"max":20,
"min":0
},
"CollectionType":{
"type":"string",
"enum":[
"List",
"Set",
"Vector"
]
},
"CompilationJobArn":{
"type":"string",
"max":256,
Expand Down Expand Up @@ -9707,6 +9722,11 @@
"type":"list",
"member":{"shape":"Device"}
},
"Dimension":{
"type":"integer",
"max":8192,
"min":1
},
"DirectInternetAccess":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -10541,7 +10561,9 @@
"type":"structure",
"members":{
"FeatureName":{"shape":"FeatureName"},
"FeatureType":{"shape":"FeatureType"}
"FeatureType":{"shape":"FeatureType"},
"CollectionType":{"shape":"CollectionType"},
"CollectionConfig":{"shape":"CollectionConfig"}
}
},
"FeatureDefinitions":{
Expand Down Expand Up @@ -16386,7 +16408,8 @@
"members":{
"SecurityConfig":{"shape":"OnlineStoreSecurityConfig"},
"EnableOnlineStore":{"shape":"Boolean"},
"TtlDuration":{"shape":"TtlDuration"}
"TtlDuration":{"shape":"TtlDuration"},
"StorageType":{"shape":"StorageType"}
}
},
"OnlineStoreConfigUpdate":{
Expand Down Expand Up @@ -19373,6 +19396,13 @@
"MaxWaitTimeInSeconds":{"shape":"MaxWaitTimeInSeconds"}
}
},
"StorageType":{
"type":"string",
"enum":[
"Standard",
"InMemory"
]
},
"String":{"type":"string"},
"String1024":{
"type":"string",
Expand Down Expand Up @@ -21352,6 +21382,13 @@
"type":"float",
"min":0
},
"VectorConfig":{
"type":"structure",
"required":["Dimension"],
"members":{
"Dimension":{"shape":"Dimension"}
}
},
"VendorGuidance":{
"type":"string",
"enum":[
Expand Down
94 changes: 62 additions & 32 deletions generator/ServiceModels/sagemaker/sagemaker-2017-07-24.docs.json

Large diffs are not rendered by default.

118 changes: 86 additions & 32 deletions generator/ServiceModels/sagemaker/sagemaker-2017-07-24.normal.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10555,6 +10555,11 @@
<max>2048</max>
<pattern>^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$</pattern>
</property-value-rule>
<property-value-rule>
<property>Amazon.SageMaker.Model.VectorConfig.Dimension</property>
<min>1</min>
<max>8192</max>
</property-value-rule>
<property-value-rule>
<property>Amazon.SageMaker.Model.Vertex.Arn</property>
<max>256</max>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Amazon.SageMaker.Model
{
/// <summary>
/// Configuration specifying how to treat different headers. If no headers are specified
/// SageMaker will by default base64 encode when capturing the data.
/// Amazon SageMaker will by default base64 encode when capturing the data.
/// </summary>
public partial class CaptureContentTypeHeader
{
Expand All @@ -40,7 +40,7 @@ public partial class CaptureContentTypeHeader
/// <summary>
/// Gets and sets the property CsvContentTypes.
/// <para>
/// The list of all content type headers that SageMaker will treat as CSV and capture
/// The list of all content type headers that Amazon SageMaker will treat as CSV and capture
/// accordingly.
/// </para>
/// </summary>
Expand Down
62 changes: 62 additions & 0 deletions sdk/src/Services/SageMaker/Generated/Model/CollectionConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;

using Amazon.Runtime;
using Amazon.Runtime.Internal;

namespace Amazon.SageMaker.Model
{
/// <summary>
/// Configuration for your collection.
/// </summary>
public partial class CollectionConfig
{
private VectorConfig _vectorConfig;

/// <summary>
/// Gets and sets the property VectorConfig.
/// <para>
/// Configuration for your vector collection type.
/// </para>
/// <ul> <li>
/// <para>
/// <code>Dimension</code>: The number of elements in your vector.
/// </para>
/// </li> </ul>
/// </summary>
public VectorConfig VectorConfig
{
get { return this._vectorConfig; }
set { this._vectorConfig = value; }
}

// Check to see if VectorConfig property is set
internal bool IsSetVectorConfig()
{
return this._vectorConfig != null;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ namespace Amazon.SageMaker.Model
///
/// <para>
/// <code>CreateAutoMLJobV2</code> can manage tabular problem types identical to those
/// of its previous version <code>CreateAutoMLJob</code>, as well as non-tabular problem
/// types such as image or text classification.
/// of its previous version <code>CreateAutoMLJob</code>, as well as time-series forecasting,
/// and non-tabular problem types such as image or text classification.
/// </para>
///
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ namespace Amazon.SageMaker.Model
///
/// <para>
/// <code>CreateAutoMLJobV2</code> can manage tabular problem types identical to those
/// of its previous version <code>CreateAutoMLJob</code>, as well as non-tabular problem
/// types such as image or text classification.
/// of its previous version <code>CreateAutoMLJob</code>, as well as time-series forecasting,
/// and non-tabular problem types such as image or text classification.
/// </para>
///
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ internal bool IsSetStoppingCondition()
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using
/// Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">
/// Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// User Guide</i>.
/// </para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ internal bool IsSetStoppingCondition()
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using
/// Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">
/// Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// User Guide</i>.
/// </para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ internal bool IsSetStoppingCondition()
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using
/// Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">
/// Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// User Guide</i>.
/// </para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ internal bool IsSetStoppingCondition()
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using
/// Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// (Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">
/// Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
/// User Guide</i>.
/// </para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,8 @@ internal bool IsSetInitialSamplingPercentage()
/// <summary>
/// Gets and sets the property KmsKeyId.
/// <para>
/// The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key
/// that SageMaker uses to encrypt the captured data at rest using Amazon S3 server-side
/// encryption.
/// The Amazon Resource Name (ARN) of an Key Management Service key that SageMaker uses
/// to encrypt the captured data at rest using Amazon S3 server-side encryption.
/// </para>
///
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ internal bool IsSetPostAnalyticsProcessorSourceUri()
/// Gets and sets the property RecordPreprocessorSourceUri.
/// <para>
/// An Amazon S3 URI to a script that is called per row prior to running analysis. It
/// can base64 decode the payload and convert it into a flatted json so that the built-in
/// can base64 decode the payload and convert it into a flattened JSON so that the built-in
/// container can use the converted data. Applicable only for the built-in (first party)
/// containers.
/// </para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,8 @@ internal bool IsSetNetworkConfig()
/// <summary>
/// Gets and sets the property RoleArn.
/// <para>
/// The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management
/// (IAM) role that has read permission to the input data location and write permission
/// to the output data location in Amazon S3.
/// The Amazon Resource Name (ARN) of the IAM role that has read permission to the input
/// data location and write permission to the output data location in Amazon S3.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=20, Max=2048)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,8 @@ internal bool IsSetNetworkConfig()
/// <summary>
/// Gets and sets the property RoleArn.
/// <para>
/// The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management
/// (IAM) role that has read permission to the input data location and write permission
/// to the output data location in Amazon S3.
/// The Amazon Resource Name (ARN) of the IAM role that has read permission to the input
/// data location and write permission to the output data location in Amazon S3.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=20, Max=2048)]
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/Services/SageMaker/Generated/Model/EndpointInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ internal bool IsSetProbabilityThresholdAttribute()
/// <summary>
/// Gets and sets the property S3DataDistributionType.
/// <para>
/// Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3
/// key. Defaults to <code>FullyReplicated</code>
/// Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon
/// S3 key. Defaults to <code>FullyReplicated</code>
/// </para>
/// </summary>
public ProcessingS3DataDistributionType S3DataDistributionType
Expand Down
54 changes: 54 additions & 0 deletions sdk/src/Services/SageMaker/Generated/Model/FeatureDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,63 @@ namespace Amazon.SageMaker.Model
/// </summary>
public partial class FeatureDefinition
{
private CollectionConfig _collectionConfig;
private CollectionType _collectionType;
private string _featureName;
private FeatureType _featureType;

/// <summary>
/// Gets and sets the property CollectionConfig.
/// <para>
/// Configuration for your collection.
/// </para>
/// </summary>
public CollectionConfig CollectionConfig
{
get { return this._collectionConfig; }
set { this._collectionConfig = value; }
}

// Check to see if CollectionConfig property is set
internal bool IsSetCollectionConfig()
{
return this._collectionConfig != null;
}

/// <summary>
/// Gets and sets the property CollectionType.
/// <para>
/// A grouping of elements where each element within the collection must have the same
/// feature type (<code>String</code>, <code>Integral</code>, or <code>Fractional</code>).
/// </para>
/// <ul> <li>
/// <para>
/// <code>List</code>: An ordered collection of elements.
/// </para>
/// </li> <li>
/// <para>
/// <code>Set</code>: An unordered collection of unique elements.
/// </para>
/// </li> <li>
/// <para>
/// <code>Vector</code>: A specialized list that represents a fixed-size array of elements.
/// The vector dimension is determined by you. Must have elements with fractional feature
/// types.
/// </para>
/// </li> </ul>
/// </summary>
public CollectionType CollectionType
{
get { return this._collectionType; }
set { this._collectionType = value; }
}

// Check to see if CollectionType property is set
internal bool IsSetCollectionType()
{
return this._collectionType != null;
}

/// <summary>
/// Gets and sets the property FeatureName.
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public partial class HolidayConfigAttributes
/// </para>
///
/// <para>
/// For the list of public holiday calendars supported by AutoML job V2, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/holidays.html#holidays-country-codes">Country
/// For the list of public holiday calendars supported by AutoML job V2, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-timeseries-forecasting-holiday-calendars.html#holiday-country-codes">Country
/// Codes</a>. Use the country code corresponding to the country of your choice.
/// </para>
/// </summary>
Expand Down
Loading

0 comments on commit aef0ca1

Please sign in to comment.