Skip to content

Commit 88439a1

Browse files
Update to latest models
1 parent 345673f commit 88439a1

4 files changed

Lines changed: 161 additions & 22 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "api-change",
3+
"category": "``emr-serverless``",
4+
"description": "This release adds the capability for users to specify an optional Execution IAM policy in the StartJobRun action. The resulting permissions assumed by the job run is the intersection of the permissions in the Execution Role and the specified Execution IAM Policy."
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "api-change",
3+
"category": "``sagemaker``",
4+
"description": "Release new parameter CapacityReservationConfig in ProductionVariant"
5+
}

awscli/botocore/data/emr-serverless/2021-07-13/service-2.json

Lines changed: 58 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"output":{"shape":"CancelJobRunResponse"},
2525
"errors":[
2626
{"shape":"ValidationException"},
27-
{"shape":"ResourceNotFoundException"},
28-
{"shape":"InternalServerException"}
27+
{"shape":"InternalServerException"},
28+
{"shape":"ResourceNotFoundException"}
2929
],
3030
"documentation":"<p>Cancels a job run.</p>",
3131
"idempotent":true
@@ -41,8 +41,8 @@
4141
"output":{"shape":"CreateApplicationResponse"},
4242
"errors":[
4343
{"shape":"ValidationException"},
44-
{"shape":"ResourceNotFoundException"},
4544
{"shape":"InternalServerException"},
45+
{"shape":"ResourceNotFoundException"},
4646
{"shape":"ConflictException"}
4747
],
4848
"documentation":"<p>Creates an application.</p>",
@@ -59,8 +59,8 @@
5959
"output":{"shape":"DeleteApplicationResponse"},
6060
"errors":[
6161
{"shape":"ValidationException"},
62-
{"shape":"ResourceNotFoundException"},
63-
{"shape":"InternalServerException"}
62+
{"shape":"InternalServerException"},
63+
{"shape":"ResourceNotFoundException"}
6464
],
6565
"documentation":"<p>Deletes an application. An application has to be in a stopped or created state in order to be deleted.</p>",
6666
"idempotent":true
@@ -76,8 +76,8 @@
7676
"output":{"shape":"GetApplicationResponse"},
7777
"errors":[
7878
{"shape":"ValidationException"},
79-
{"shape":"ResourceNotFoundException"},
80-
{"shape":"InternalServerException"}
79+
{"shape":"InternalServerException"},
80+
{"shape":"ResourceNotFoundException"}
8181
],
8282
"documentation":"<p>Displays detailed information about a specified application.</p>"
8383
},
@@ -108,8 +108,8 @@
108108
"output":{"shape":"GetJobRunResponse"},
109109
"errors":[
110110
{"shape":"ValidationException"},
111-
{"shape":"ResourceNotFoundException"},
112-
{"shape":"InternalServerException"}
111+
{"shape":"InternalServerException"},
112+
{"shape":"ResourceNotFoundException"}
113113
],
114114
"documentation":"<p>Displays detailed information about a job run.</p>"
115115
},
@@ -139,8 +139,8 @@
139139
"output":{"shape":"ListJobRunAttemptsResponse"},
140140
"errors":[
141141
{"shape":"ValidationException"},
142-
{"shape":"ResourceNotFoundException"},
143-
{"shape":"InternalServerException"}
142+
{"shape":"InternalServerException"},
143+
{"shape":"ResourceNotFoundException"}
144144
],
145145
"documentation":"<p>Lists all attempt of a job run.</p>"
146146
},
@@ -170,8 +170,8 @@
170170
"output":{"shape":"ListTagsForResourceResponse"},
171171
"errors":[
172172
{"shape":"ValidationException"},
173-
{"shape":"ResourceNotFoundException"},
174-
{"shape":"InternalServerException"}
173+
{"shape":"InternalServerException"},
174+
{"shape":"ResourceNotFoundException"}
175175
],
176176
"documentation":"<p>Lists the tags assigned to the resources.</p>"
177177
},
@@ -186,8 +186,8 @@
186186
"output":{"shape":"StartApplicationResponse"},
187187
"errors":[
188188
{"shape":"ValidationException"},
189-
{"shape":"ResourceNotFoundException"},
190189
{"shape":"InternalServerException"},
190+
{"shape":"ResourceNotFoundException"},
191191
{"shape":"ServiceQuotaExceededException"}
192192
],
193193
"documentation":"<p>Starts a specified application and initializes initial capacity if configured.</p>",
@@ -222,8 +222,8 @@
222222
"output":{"shape":"StopApplicationResponse"},
223223
"errors":[
224224
{"shape":"ValidationException"},
225-
{"shape":"ResourceNotFoundException"},
226-
{"shape":"InternalServerException"}
225+
{"shape":"InternalServerException"},
226+
{"shape":"ResourceNotFoundException"}
227227
],
228228
"documentation":"<p>Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.</p>",
229229
"idempotent":true
@@ -239,8 +239,8 @@
239239
"output":{"shape":"TagResourceResponse"},
240240
"errors":[
241241
{"shape":"ValidationException"},
242-
{"shape":"ResourceNotFoundException"},
243-
{"shape":"InternalServerException"}
242+
{"shape":"InternalServerException"},
243+
{"shape":"ResourceNotFoundException"}
244244
],
245245
"documentation":"<p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it. </p>"
246246
},
@@ -255,8 +255,8 @@
255255
"output":{"shape":"UntagResourceResponse"},
256256
"errors":[
257257
{"shape":"ValidationException"},
258-
{"shape":"ResourceNotFoundException"},
259-
{"shape":"InternalServerException"}
258+
{"shape":"InternalServerException"},
259+
{"shape":"ResourceNotFoundException"}
260260
],
261261
"documentation":"<p>Removes tags from resources.</p>",
262262
"idempotent":true
@@ -272,8 +272,8 @@
272272
"output":{"shape":"UpdateApplicationResponse"},
273273
"errors":[
274274
{"shape":"ValidationException"},
275-
{"shape":"ResourceNotFoundException"},
276-
{"shape":"InternalServerException"}
275+
{"shape":"InternalServerException"},
276+
{"shape":"ResourceNotFoundException"}
277277
],
278278
"documentation":"<p>Updates a specified application. An application has to be in a stopped or created state in order to be updated.</p>"
279279
}
@@ -481,6 +481,12 @@
481481
"X86_64"
482482
]
483483
},
484+
"Arn":{
485+
"type":"string",
486+
"max":2048,
487+
"min":20,
488+
"pattern":"([ -~… -퟿-�က0-ჿFF]+)"
489+
},
484490
"AttemptNumber":{
485491
"type":"integer",
486492
"box":true,
@@ -1282,6 +1288,20 @@
12821288
"type":"list",
12831289
"member":{"shape":"JobRunAttemptSummary"}
12841290
},
1291+
"JobRunExecutionIamPolicy":{
1292+
"type":"structure",
1293+
"members":{
1294+
"policy":{
1295+
"shape":"PolicyDocument",
1296+
"documentation":"<p>An IAM inline policy to use as an execution IAM policy.</p>"
1297+
},
1298+
"policyArns":{
1299+
"shape":"PolicyArnList",
1300+
"documentation":"<p>A list of Amazon Resource Names (ARNs) to use as an execution IAM policy.</p>"
1301+
}
1302+
},
1303+
"documentation":"<p>Optional IAM policy. The resulting job IAM role permissions will be an intersection of the policies passed and the policy associated with your job execution role.</p>"
1304+
},
12851305
"JobRunId":{
12861306
"type":"string",
12871307
"max":64,
@@ -1707,6 +1727,18 @@
17071727
"min":1,
17081728
"pattern":"[A-Za-z0-9_=-]+"
17091729
},
1730+
"PolicyArnList":{
1731+
"type":"list",
1732+
"member":{"shape":"Arn"},
1733+
"max":10,
1734+
"min":0
1735+
},
1736+
"PolicyDocument":{
1737+
"type":"string",
1738+
"max":2048,
1739+
"min":1,
1740+
"pattern":"([ -ÿ]+)"
1741+
},
17101742
"PrometheusMonitoringConfiguration":{
17111743
"type":"structure",
17121744
"members":{
@@ -1925,6 +1957,10 @@
19251957
"shape":"IAMRoleArn",
19261958
"documentation":"<p>The execution role ARN for the job run.</p>"
19271959
},
1960+
"executionIamPolicy":{
1961+
"shape":"JobRunExecutionIamPolicy",
1962+
"documentation":"<p>You can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role.</p>"
1963+
},
19281964
"jobDriver":{
19291965
"shape":"JobDriver",
19301966
"documentation":"<p>The job driver for the job run.</p>"

awscli/botocore/data/sagemaker/2017-07-24/service-2.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7023,6 +7023,10 @@
70237023
},
70247024
"documentation":"<p>The SageMaker Canvas application settings.</p>"
70257025
},
7026+
"CapacityReservationPreference":{
7027+
"type":"string",
7028+
"enum":["capacity-reservations-only"]
7029+
},
70267030
"CapacitySize":{
70277031
"type":"structure",
70287032
"required":[
@@ -19326,6 +19330,33 @@
1932619330
},
1932719331
"documentation":"<p>A collection of EBS storage settings that apply to both private and shared spaces.</p>"
1932819332
},
19333+
"Ec2CapacityReservation":{
19334+
"type":"structure",
19335+
"members":{
19336+
"Ec2CapacityReservationId":{
19337+
"shape":"Ec2CapacityReservationId",
19338+
"documentation":"<p>The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.</p>"
19339+
},
19340+
"TotalInstanceCount":{
19341+
"shape":"TaskCount",
19342+
"documentation":"<p>The number of instances that you allocated to the EC2 capacity reservation.</p>"
19343+
},
19344+
"AvailableInstanceCount":{
19345+
"shape":"TaskCount",
19346+
"documentation":"<p>The number of instances that are currently available in the EC2 capacity reservation.</p>"
19347+
},
19348+
"UsedByCurrentEndpoint":{
19349+
"shape":"TaskCount",
19350+
"documentation":"<p>The number of instances from the EC2 capacity reservation that are being used by the endpoint.</p>"
19351+
}
19352+
},
19353+
"documentation":"<p>The EC2 capacity reservations that are shared to an ML capacity reservation.</p>"
19354+
},
19355+
"Ec2CapacityReservationId":{"type":"string"},
19356+
"Ec2CapacityReservationsList":{
19357+
"type":"list",
19358+
"member":{"shape":"Ec2CapacityReservation"}
19359+
},
1932919360
"Edge":{
1933019361
"type":"structure",
1933119362
"members":{
@@ -29342,6 +29373,12 @@
2934229373
"min":0,
2934329374
"pattern":"1|2"
2934429375
},
29376+
"MlReservationArn":{
29377+
"type":"string",
29378+
"max":258,
29379+
"min":20,
29380+
"pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:ml-reservation/.*"
29381+
},
2934529382
"MlTools":{
2934629383
"type":"string",
2934729384
"enum":[
@@ -34305,6 +34342,10 @@
3430534342
"InferenceAmiVersion":{
3430634343
"shape":"ProductionVariantInferenceAmiVersion",
3430734344
"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. Amazon Web Services optimizes these configurations for different machine learning workloads.</p> <p>By selecting an AMI version, you can ensure that your inference environment is compatible with specific software requirements, such as CUDA driver versions, Linux kernel versions, or Amazon Web Services Neuron driver versions.</p> <p>The AMI version names, and their configurations, are the following:</p> <dl> <dt>al2-ami-sagemaker-inference-gpu-2</dt> <dd> <ul> <li> <p>Accelerator: GPU</p> </li> <li> <p>NVIDIA driver version: 535</p> </li> <li> <p>CUDA version: 12.2</p> </li> </ul> </dd> <dt>al2-ami-sagemaker-inference-gpu-2-1</dt> <dd> <ul> <li> <p>Accelerator: GPU</p> </li> <li> <p>NVIDIA driver version: 535</p> </li> <li> <p>CUDA version: 12.2</p> </li> <li> <p>NVIDIA Container Toolkit with disabled CUDA-compat mounting</p> </li> </ul> </dd> <dt>al2-ami-sagemaker-inference-gpu-3-1</dt> <dd> <ul> <li> <p>Accelerator: GPU</p> </li> <li> <p>NVIDIA driver version: 550</p> </li> <li> <p>CUDA version: 12.4</p> </li> <li> <p>NVIDIA Container Toolkit with disabled CUDA-compat mounting</p> </li> </ul> </dd> <dt>al2-ami-sagemaker-inference-neuron-2</dt> <dd> <ul> <li> <p>Accelerator: Inferentia2 and Trainium</p> </li> <li> <p>Neuron driver version: 2.19</p> </li> </ul> </dd> </dl>"
34345+
},
34346+
"CapacityReservationConfig":{
34347+
"shape":"ProductionVariantCapacityReservationConfig",
34348+
"documentation":"<p>Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint. </p>"
3430834349
}
3430934350
},
3431034351
"documentation":"<p> Identifies a model that you want to host and the resources chosen to deploy for hosting it. If you are deploying multiple models, tell SageMaker how to distribute traffic among the models by specifying variant weights. For more information on production variants, check <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html\"> Production variants</a>. </p>"
@@ -34320,6 +34361,50 @@
3432034361
"ml.eia2.xlarge"
3432134362
]
3432234363
},
34364+
"ProductionVariantCapacityReservationConfig":{
34365+
"type":"structure",
34366+
"members":{
34367+
"CapacityReservationPreference":{
34368+
"shape":"CapacityReservationPreference",
34369+
"documentation":"<p>Options that you can choose for the capacity reservation. SageMaker AI supports the following options:</p> <dl> <dt>capacity-reservations-only</dt> <dd> <p>SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.</p> </dd> </dl>"
34370+
},
34371+
"MlReservationArn":{
34372+
"shape":"MlReservationArn",
34373+
"documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.</p>"
34374+
}
34375+
},
34376+
"documentation":"<p>Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint. </p>"
34377+
},
34378+
"ProductionVariantCapacityReservationSummary":{
34379+
"type":"structure",
34380+
"members":{
34381+
"MlReservationArn":{
34382+
"shape":"MlReservationArn",
34383+
"documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.</p>"
34384+
},
34385+
"CapacityReservationPreference":{
34386+
"shape":"CapacityReservationPreference",
34387+
"documentation":"<p>The option that you chose for the capacity reservation. SageMaker AI supports the following options:</p> <dl> <dt>capacity-reservations-only</dt> <dd> <p>SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.</p> </dd> </dl>"
34388+
},
34389+
"TotalInstanceCount":{
34390+
"shape":"TaskCount",
34391+
"documentation":"<p>The number of instances that you allocated to the ML capacity reservation.</p>"
34392+
},
34393+
"AvailableInstanceCount":{
34394+
"shape":"TaskCount",
34395+
"documentation":"<p>The number of instances that are currently available in the ML capacity reservation.</p>"
34396+
},
34397+
"UsedByCurrentEndpoint":{
34398+
"shape":"TaskCount",
34399+
"documentation":"<p>The number of instances from the ML capacity reservation that are being used by the endpoint.</p>"
34400+
},
34401+
"Ec2CapacityReservations":{
34402+
"shape":"Ec2CapacityReservationsList",
34403+
"documentation":"<p>The EC2 capacity reservations that are shared to this ML capacity reservation, if any.</p>"
34404+
}
34405+
},
34406+
"documentation":"<p>Details about an ML capacity reservation.</p>"
34407+
},
3432334408
"ProductionVariantContainerStartupHealthCheckTimeoutInSeconds":{
3432434409
"type":"integer",
3432534410
"box":true,
@@ -34732,6 +34817,10 @@
3473234817
"RoutingConfig":{
3473334818
"shape":"ProductionVariantRoutingConfig",
3473434819
"documentation":"<p>Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.</p>"
34820+
},
34821+
"CapacityReservationConfig":{
34822+
"shape":"ProductionVariantCapacityReservationSummary",
34823+
"documentation":"<p>Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint. </p>"
3473534824
}
3473634825
},
3473734826
"documentation":"<p>Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the <code>UpdateEndpointWeightsAndCapacities</code> API and the endpoint status is <code>Updating</code>, you get different desired and current values. </p>"
@@ -41161,6 +41250,10 @@
4116141250
"ProjectS3Path":{
4116241251
"shape":"S3Uri",
4116341252
"documentation":"<p>The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain.</p>"
41253+
},
41254+
"SingleSignOnApplicationArn":{
41255+
"shape":"SingleSignOnApplicationArn",
41256+
"documentation":"<p>The ARN of the application managed by SageMaker AI and SageMaker Unified Studio in the Amazon Web Services IAM Identity Center.</p>"
4116441257
}
4116541258
},
4116641259
"documentation":"<p>The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.</p>"

0 commit comments

Comments
 (0)