Skip to content

Commit 97ec80f

Browse files
author
AWS
committed
Amazon SageMaker Service Update: Adding support for provisioned throughput mode for SageMaker Feature Groups
1 parent 4d28152 commit 97ec80f

File tree

2 files changed

+78
-1
lines changed

2 files changed

+78
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon SageMaker Service",
4+
"contributor": "",
5+
"description": "Adding support for provisioned throughput mode for SageMaker Feature Groups"
6+
}

services/sagemaker/src/main/resources/codegen-resources/service-2.json

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6193,6 +6193,11 @@
61936193
"type":"integer",
61946194
"min":1
61956195
},
6196+
"CapacityUnit":{
6197+
"type":"integer",
6198+
"max":10000000,
6199+
"min":0
6200+
},
61966201
"CaptureContentTypeHeader":{
61976202
"type":"structure",
61986203
"members":{
@@ -8648,6 +8653,7 @@
86488653
"shape":"OfflineStoreConfig",
86498654
"documentation":"<p>Use this to configure an <code>OfflineFeatureStore</code>. This parameter allows you to specify:</p> <ul> <li> <p>The Amazon Simple Storage Service (Amazon S3) location of an <code>OfflineStore</code>.</p> </li> <li> <p>A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data catalog. </p> </li> <li> <p>An KMS encryption key to encrypt the Amazon S3 location used for <code>OfflineStore</code>. If KMS encryption key is not specified, by default we encrypt all data at rest using Amazon Web Services KMS key. By defining your <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html\">bucket-level key</a> for SSE, you can reduce Amazon Web Services KMS requests costs by up to 99 percent.</p> </li> <li> <p>Format for the offline store table. Supported formats are Glue (Default) and <a href=\"https://iceberg.apache.org/\">Apache Iceberg</a>.</p> </li> </ul> <p>To learn more about this parameter, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OfflineStoreConfig.html\">OfflineStoreConfig</a>.</p>"
86508655
},
8656+
"ThroughputConfig":{"shape":"ThroughputConfig"},
86518657
"RoleArn":{
86528658
"shape":"RoleArn",
86538659
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the <code>OfflineStore</code> if an <code>OfflineStoreConfig</code> is provided.</p>"
@@ -13293,6 +13299,7 @@
1329313299
"shape":"OfflineStoreConfig",
1329413300
"documentation":"<p>The configuration of the offline store. It includes the following configurations:</p> <ul> <li> <p>Amazon S3 location of the offline store.</p> </li> <li> <p>Configuration of the Glue data catalog.</p> </li> <li> <p>Table format of the offline store.</p> </li> <li> <p>Option to disable the automatic creation of a Glue table for the offline store.</p> </li> <li> <p>Encryption configuration.</p> </li> </ul>"
1329513301
},
13302+
"ThroughputConfig":{"shape":"ThroughputConfigDescription"},
1329613303
"RoleArn":{
1329713304
"shape":"RoleArn",
1329813305
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>"
@@ -33970,6 +33977,69 @@
3397033977
"max":128,
3397133978
"pattern":"[a-zA-Z0-9:_-]+"
3397233979
},
33980+
"ThroughputConfig":{
33981+
"type":"structure",
33982+
"required":["ThroughputMode"],
33983+
"members":{
33984+
"ThroughputMode":{
33985+
"shape":"ThroughputMode",
33986+
"documentation":"<p>The mode used for your feature group throughput: <code>ON_DEMAND</code> or <code>PROVISIONED</code>. </p>"
33987+
},
33988+
"ProvisionedReadCapacityUnits":{
33989+
"shape":"CapacityUnit",
33990+
"documentation":"<p> For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>"
33991+
},
33992+
"ProvisionedWriteCapacityUnits":{
33993+
"shape":"CapacityUnit",
33994+
"documentation":"<p> For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>"
33995+
}
33996+
},
33997+
"documentation":"<p>Used to set feature group throughput configuration. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled. </p> <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType\"> <code>Standard</code> </a> tier online store. </p>"
33998+
},
33999+
"ThroughputConfigDescription":{
34000+
"type":"structure",
34001+
"required":["ThroughputMode"],
34002+
"members":{
34003+
"ThroughputMode":{
34004+
"shape":"ThroughputMode",
34005+
"documentation":"<p>The mode used for your feature group throughput: <code>ON_DEMAND</code> or <code>PROVISIONED</code>. </p>"
34006+
},
34007+
"ProvisionedReadCapacityUnits":{
34008+
"shape":"CapacityUnit",
34009+
"documentation":"<p> For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>"
34010+
},
34011+
"ProvisionedWriteCapacityUnits":{
34012+
"shape":"CapacityUnit",
34013+
"documentation":"<p> For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>"
34014+
}
34015+
},
34016+
"documentation":"<p>Active throughput configuration of the feature group. Used to set feature group throughput configuration. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled. </p> <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType\"> <code>Standard</code> </a> tier online store. </p>"
34017+
},
34018+
"ThroughputConfigUpdate":{
34019+
"type":"structure",
34020+
"members":{
34021+
"ThroughputMode":{
34022+
"shape":"ThroughputMode",
34023+
"documentation":"<p>Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling <code>LastUpdateStatus</code> field in <code>DescribeFeatureGroup</code> response. You cannot update a feature group's throughput while another update is in progress. </p>"
34024+
},
34025+
"ProvisionedReadCapacityUnits":{
34026+
"shape":"CapacityUnit",
34027+
"documentation":"<p>For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. </p>"
34028+
},
34029+
"ProvisionedWriteCapacityUnits":{
34030+
"shape":"CapacityUnit",
34031+
"documentation":"<p>For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. </p>"
34032+
}
34033+
},
34034+
"documentation":"<p>The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period. </p>"
34035+
},
34036+
"ThroughputMode":{
34037+
"type":"string",
34038+
"enum":[
34039+
"OnDemand",
34040+
"Provisioned"
34041+
]
34042+
},
3397334043
"TimeSeriesConfig":{
3397434044
"type":"structure",
3397534045
"required":[
@@ -35940,7 +36010,8 @@
3594036010
"OnlineStoreConfig":{
3594136011
"shape":"OnlineStoreConfigUpdate",
3594236012
"documentation":"<p>Updates the feature group online store configuration.</p>"
35943-
}
36013+
},
36014+
"ThroughputConfig":{"shape":"ThroughputConfigUpdate"}
3594436015
}
3594536016
},
3594636017
"UpdateFeatureGroupResponse":{

0 commit comments

Comments
 (0)