Skip to content

Commit 1dde3a4

Browse files
feat: update AWS API models
1 parent 005acf2 commit 1dde3a4

File tree

5 files changed

+110
-6
lines changed

5 files changed

+110
-6
lines changed

codegen/sdk/aws-models/batch.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@
15881588
}
15891589
],
15901590
"traits": {
1591-
"smithy.api#documentation": "<p>Cancels a job in an Batch job queue. Jobs that are in the\n <code>SUBMITTED</code>\n or\n <code>PENDING</code>\n are\n canceled. A job\n in<code>RUNNABLE</code> remains in <code>RUNNABLE</code> until it reaches the head of the\n job queue. Then the job status is updated to\n <code>FAILED</code>.</p>\n <note>\n <p>A <code>PENDING</code> job is canceled after all dependency jobs are completed.\n Therefore, it may take longer than expected to cancel a job in <code>PENDING</code>\n status.</p>\n <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to\n cancel all child jobs. The array parent job is canceled when all child jobs are\n completed.</p>\n </note>\n <p>Jobs that progressed to the <code>STARTING</code> or\n <code>RUNNING</code> state aren't canceled. However, the API operation still succeeds, even\n if no job is canceled. These jobs must be terminated with the <a>TerminateJob</a>\n operation.</p>",
1591+
"smithy.api#documentation": "<p>Cancels a job in an Batch job queue. Jobs that are in a <code>SUBMITTED</code>, <code>PENDING</code>, or <code>RUNNABLE</code> state are cancelled and the job status is updated to <code>FAILED</code>.</p>\n <note>\n <p>A <code>PENDING</code> job is canceled after all dependency jobs are completed.\n Therefore, it may take longer than expected to cancel a job in <code>PENDING</code>\n status.</p>\n <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to\n cancel all child jobs. The array parent job is canceled when all child jobs are\n completed.</p>\n </note>\n <p>Jobs that progressed to the <code>STARTING</code> or\n <code>RUNNING</code> state aren't canceled. However, the API operation still succeeds, even\n if no job is canceled. These jobs must be terminated with the <a>TerminateJob</a>\n operation.</p>",
15921592
"smithy.api#examples": [
15931593
{
15941594
"title": "To cancel a job",
@@ -1748,6 +1748,12 @@
17481748
"traits": {
17491749
"smithy.api#documentation": "<p>Unique identifier for the compute environment.</p>"
17501750
}
1751+
},
1752+
"context": {
1753+
"target": "com.amazonaws.batch#String",
1754+
"traits": {
1755+
"smithy.api#documentation": "<p>Reserved.</p>"
1756+
}
17511757
}
17521758
},
17531759
"traits": {
@@ -2582,6 +2588,12 @@
25822588
"traits": {
25832589
"smithy.api#documentation": "<p>The details for the Amazon EKS cluster that supports the compute environment.</p>"
25842590
}
2591+
},
2592+
"context": {
2593+
"target": "com.amazonaws.batch#String",
2594+
"traits": {
2595+
"smithy.api#documentation": "<p>Reserved.</p>"
2596+
}
25852597
}
25862598
},
25872599
"traits": {
@@ -8014,6 +8026,12 @@
80148026
"traits": {
80158027
"smithy.api#documentation": "<p>Specifies the updated infrastructure update policy for the compute environment. For more\n information about infrastructure updates, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in\n the <i>Batch User Guide</i>.</p>"
80168028
}
8029+
},
8030+
"context": {
8031+
"target": "com.amazonaws.batch#String",
8032+
"traits": {
8033+
"smithy.api#documentation": "<p>Reserved.</p>"
8034+
}
80178035
}
80188036
},
80198037
"traits": {

codegen/sdk/aws-models/inspector2.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14004,7 +14004,7 @@
1400414004
"com.amazonaws.inspector2#TagValueList": {
1400514005
"type": "list",
1400614006
"member": {
14007-
"target": "smithy.api#String"
14007+
"target": "com.amazonaws.inspector2#TargetResourceTagsValue"
1400814008
},
1400914009
"traits": {
1401014010
"smithy.api#length": {
@@ -14044,7 +14044,7 @@
1404414044
"com.amazonaws.inspector2#TargetResourceTags": {
1404514045
"type": "map",
1404614046
"key": {
14047-
"target": "com.amazonaws.inspector2#NonEmptyString"
14047+
"target": "com.amazonaws.inspector2#TargetResourceTagsKey"
1404814048
},
1404914049
"value": {
1405014050
"target": "com.amazonaws.inspector2#TagValueList"
@@ -14056,6 +14056,25 @@
1405614056
}
1405714057
}
1405814058
},
14059+
"com.amazonaws.inspector2#TargetResourceTagsKey": {
14060+
"type": "string",
14061+
"traits": {
14062+
"smithy.api#length": {
14063+
"min": 1,
14064+
"max": 128
14065+
},
14066+
"smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$"
14067+
}
14068+
},
14069+
"com.amazonaws.inspector2#TargetResourceTagsValue": {
14070+
"type": "string",
14071+
"traits": {
14072+
"smithy.api#length": {
14073+
"min": 1,
14074+
"max": 256
14075+
}
14076+
}
14077+
},
1405914078
"com.amazonaws.inspector2#TargetStatusFilterList": {
1406014079
"type": "list",
1406114080
"member": {

codegen/sdk/aws-models/quicksight.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8237,6 +8237,9 @@
82378237
{
82388238
"target": "com.amazonaws.quicksight#ConflictException"
82398239
},
8240+
{
8241+
"target": "com.amazonaws.quicksight#CustomerManagedKeyUnavailableException"
8242+
},
82408243
{
82418244
"target": "com.amazonaws.quicksight#InternalFailureException"
82428245
},
@@ -10995,6 +10998,25 @@
1099510998
"smithy.api#documentation": "<p>The configuration of custom values for the destination parameter in <code>DestinationParameterValueConfiguration</code>.</p>"
1099610999
}
1099711000
},
11001+
"com.amazonaws.quicksight#CustomerManagedKeyUnavailableException": {
11002+
"type": "structure",
11003+
"members": {
11004+
"Message": {
11005+
"target": "com.amazonaws.quicksight#String"
11006+
},
11007+
"RequestId": {
11008+
"target": "com.amazonaws.quicksight#String",
11009+
"traits": {
11010+
"smithy.api#documentation": "<p>The Amazon Web Services request ID for this operation.</p>"
11011+
}
11012+
}
11013+
},
11014+
"traits": {
11015+
"smithy.api#documentation": "<p>The customer managed key that is registered to your Amazon QuickSight account is unavailable.</p>",
11016+
"smithy.api#error": "client",
11017+
"smithy.api#httpError": 400
11018+
}
11019+
},
1099811020
"com.amazonaws.quicksight#Dashboard": {
1099911021
"type": "structure",
1100011022
"members": {
@@ -52022,6 +52044,9 @@
5202252044
{
5202352045
"target": "com.amazonaws.quicksight#ConflictException"
5202452046
},
52047+
{
52048+
"target": "com.amazonaws.quicksight#CustomerManagedKeyUnavailableException"
52049+
},
5202552050
{
5202652051
"target": "com.amazonaws.quicksight#InternalFailureException"
5202752052
},

codegen/sdk/aws-models/sagemaker.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27449,6 +27449,20 @@
2744927449
}
2745027450
}
2745127451
},
27452+
"com.amazonaws.sagemaker#EndpointConfigStepMetadata": {
27453+
"type": "structure",
27454+
"members": {
27455+
"Arn": {
27456+
"target": "com.amazonaws.sagemaker#EndpointConfigArn",
27457+
"traits": {
27458+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the endpoint configuration used in the step.</p>"
27459+
}
27460+
}
27461+
},
27462+
"traits": {
27463+
"smithy.api#documentation": "<p>Metadata for an endpoint configuration step.</p>"
27464+
}
27465+
},
2745227466
"com.amazonaws.sagemaker#EndpointConfigSummary": {
2745327467
"type": "structure",
2745427468
"members": {
@@ -27830,6 +27844,20 @@
2783027844
}
2783127845
}
2783227846
},
27847+
"com.amazonaws.sagemaker#EndpointStepMetadata": {
27848+
"type": "structure",
27849+
"members": {
27850+
"Arn": {
27851+
"target": "com.amazonaws.sagemaker#EndpointArn",
27852+
"traits": {
27853+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the endpoint in the step.</p>"
27854+
}
27855+
}
27856+
},
27857+
"traits": {
27858+
"smithy.api#documentation": "<p>Metadata for an endpoint step.</p>"
27859+
}
27860+
},
2783327861
"com.amazonaws.sagemaker#EndpointSummary": {
2783427862
"type": "structure",
2783527863
"members": {
@@ -50966,6 +50994,18 @@
5096650994
"traits": {
5096750995
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AutoML job that was run by this step.</p>"
5096850996
}
50997+
},
50998+
"Endpoint": {
50999+
"target": "com.amazonaws.sagemaker#EndpointStepMetadata",
51000+
"traits": {
51001+
"smithy.api#documentation": "<p>The endpoint that was invoked during this step execution.</p>"
51002+
}
51003+
},
51004+
"EndpointConfig": {
51005+
"target": "com.amazonaws.sagemaker#EndpointConfigStepMetadata",
51006+
"traits": {
51007+
"smithy.api#documentation": "<p>The endpoint configuration used to create an endpoint during this step execution.</p>"
51008+
}
5096951009
}
5097051010
},
5097151011
"traits": {

codegen/sdk/aws-models/sesv2.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8231,8 +8231,7 @@
82318231
"UseCaseDescription": {
82328232
"target": "com.amazonaws.sesv2#UseCaseDescription",
82338233
"traits": {
8234-
"smithy.api#documentation": "<p>A description of the types of email that you plan to send.</p>",
8235-
"smithy.api#required": {}
8234+
"smithy.api#documentation": "<p>A description of the types of email that you plan to send.</p>"
82368235
}
82378236
},
82388237
"AdditionalContactEmailAddresses": {
@@ -12462,8 +12461,11 @@
1246212461
"com.amazonaws.sesv2#UseCaseDescription": {
1246312462
"type": "string",
1246412463
"traits": {
12464+
"smithy.api#deprecated": {
12465+
"message": "Use case description is optional and deprecated"
12466+
},
1246512467
"smithy.api#length": {
12466-
"min": 1,
12468+
"min": 0,
1246712469
"max": 5000
1246812470
},
1246912471
"smithy.api#sensitive": {}

0 commit comments

Comments
 (0)