Skip to content

Commit 01d4758

Browse files
author
AWS
committed
Amazon SageMaker Service Update: TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension
1 parent 4d8f6f5 commit 01d4758

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-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": "TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension"
6+
}

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

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@
887887
{"shape":"ResourceLimitExceeded"},
888888
{"shape":"ResourceNotFound"}
889889
],
890-
"documentation":"<p>Starts a transform job. A transform job uses a trained model to get inferences on a dataset and saves these results to an Amazon S3 location that you specify.</p> <p>To perform batch transformations, you create a transform job and use the data that you have readily available.</p> <p>In the request body, you provide the following:</p> <ul> <li> <p> <code>TransformJobName</code> - Identifies the transform job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.</p> </li> <li> <p> <code>ModelName</code> - Identifies the model to use. <code>ModelName</code> must be the name of an existing Amazon SageMaker model in the same Amazon Web Services Region and Amazon Web Services account. For information on creating a model, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html\">CreateModel</a>.</p> </li> <li> <p> <code>TransformInput</code> - Describes the dataset to be transformed and the Amazon S3 location where it is stored.</p> </li> <li> <p> <code>TransformOutput</code> - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p> </li> <li> <p> <code>TransformResources</code> - Identifies the ML compute instances for the transform job.</p> </li> </ul> <p>For more information about how batch transformation works, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html\">Batch Transform</a>.</p>"
890+
"documentation":"<p>Starts a transform job. A transform job uses a trained model to get inferences on a dataset and saves these results to an Amazon S3 location that you specify.</p> <p>To perform batch transformations, you create a transform job and use the data that you have readily available.</p> <p>In the request body, you provide the following:</p> <ul> <li> <p> <code>TransformJobName</code> - Identifies the transform job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.</p> </li> <li> <p> <code>ModelName</code> - Identifies the model to use. <code>ModelName</code> must be the name of an existing Amazon SageMaker model in the same Amazon Web Services Region and Amazon Web Services account. For information on creating a model, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html\">CreateModel</a>.</p> </li> <li> <p> <code>TransformInput</code> - Describes the dataset to be transformed and the Amazon S3 location where it is stored.</p> </li> <li> <p> <code>TransformOutput</code> - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p> </li> <li> <p> <code>TransformResources</code> - Identifies the ML compute instances and AMI image versions for the transform job.</p> </li> </ul> <p>For more information about how batch transformation works, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html\">Batch Transform</a>.</p>"
891891
},
892892
"CreateTrial":{
893893
"name":"CreateTrial",
@@ -35374,6 +35374,13 @@
3537435374
},
3537535375
"documentation":"<p>Metadata for a register model job step.</p>"
3537635376
},
35377+
"Relation":{
35378+
"type":"string",
35379+
"enum":[
35380+
"EqualTo",
35381+
"GreaterThanOrEqualTo"
35382+
]
35383+
},
3537735384
"ReleaseNotes":{
3537835385
"type":"string",
3537935386
"max":255,
@@ -36463,6 +36470,10 @@
3646336470
"NextToken":{
3646436471
"shape":"NextToken",
3646536472
"documentation":"<p>If the result of the previous <code>Search</code> request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.</p>"
36473+
},
36474+
"TotalHits":{
36475+
"shape":"TotalHits",
36476+
"documentation":"<p>The total number of matching results.</p>"
3646636477
}
3646736478
}
3646836479
},
@@ -38459,6 +38470,20 @@
3845938470
"max":256,
3846038471
"min":1
3846138472
},
38473+
"TotalHits":{
38474+
"type":"structure",
38475+
"members":{
38476+
"Value":{
38477+
"shape":"Long",
38478+
"documentation":"<p>The total number of matching results. This value may be exact or an estimate, depending on the <code>Relation</code> field.</p>"
38479+
},
38480+
"Relation":{
38481+
"shape":"Relation",
38482+
"documentation":"<p>Indicates the relationship between the returned <code>Value</code> and the actual total number of matching results. Possible values are:</p> <ul> <li> <p> <code>EqualTo</code>: The <code>Value</code> is the exact count of matching results.</p> </li> <li> <p> <code>GreaterThanOrEqualTo</code>: The <code>Value</code> is a lower bound of the actual count of matching results.</p> </li> </ul>"
38483+
}
38484+
},
38485+
"documentation":"<p>Represents the total number of matching results and indicates how accurate that count is.</p> <p>The <code>Value</code> field provides the count, which may be exact or estimated. The <code>Relation</code> field indicates whether it's an exact figure or a lower bound. This helps understand the full scope of search results, especially when dealing with large result sets.</p>"
38486+
},
3846238487
"TotalInstanceCount":{
3846338488
"type":"integer",
3846438489
"min":0
@@ -39396,6 +39421,12 @@
3939639421
"type":"integer",
3939739422
"min":1
3939839423
},
39424+
"TransformAmiVersion":{
39425+
"type":"string",
39426+
"max":63,
39427+
"min":1,
39428+
"pattern":"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$"
39429+
},
3939939430
"TransformDataSource":{
3940039431
"type":"structure",
3940139432
"required":["S3DataSource"],
@@ -39788,6 +39819,10 @@
3978839819
"VolumeKmsKeyId":{
3978939820
"shape":"KmsKeyId",
3979039821
"documentation":"<p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt model data on the storage volume attached to the ML compute instance(s) that run the batch transform job.</p> <note> <p>Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a <code>VolumeKmsKeyId</code> when using an instance type with local storage.</p> <p>For a list of instance types that support local instance storage, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes\">Instance Store Volumes</a>.</p> <p>For more information about local instance storage encryption, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html\">SSD Instance Store Volumes</a>.</p> </note> <p> The <code>VolumeKmsKeyId</code> can be any of the following formats:</p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Alias name: <code>alias/ExampleAlias</code> </p> </li> <li> <p>Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code> </p> </li> </ul>"
39822+
},
39823+
"TransformAmiVersion":{
39824+
"shape":"TransformAmiVersion",
39825+
"documentation":"<p>Specifies an option from a collection of preconfigured Amazon Machine Image (AMI) images. Each image is configured by Amazon Web Services with a set of software and driver versions.</p> <dl> <dt>al2-ami-sagemaker-batch-gpu-470</dt> <dd> <ul> <li> <p>Accelerator: GPU</p> </li> <li> <p>NVIDIA driver version: 470</p> </li> </ul> </dd> <dt>al2-ami-sagemaker-batch-gpu-535</dt> <dd> <ul> <li> <p>Accelerator: GPU</p> </li> <li> <p>NVIDIA driver version: 535</p> </li> </ul> </dd> </dl>"
3979139826
}
3979239827
},
3979339828
"documentation":"<p>Describes the resources, including ML instance types and ML instance count, to use for transform job.</p>"

0 commit comments

Comments
 (0)