Skip to content

Commit ff4adb8

Browse files
feat: update AWS API models
1 parent 7ab2e04 commit ff4adb8

File tree

12 files changed

+1477
-73
lines changed

12 files changed

+1477
-73
lines changed

codegen/sdk/aws-models/application-auto-scaling.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,18 @@
23792379
"traits": {
23802380
"smithy.api#enumValue": "WorkSpacesAverageUserSessionsCapacityUtilization"
23812381
}
2382+
},
2383+
"SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution": {
2384+
"target": "smithy.api#Unit",
2385+
"traits": {
2386+
"smithy.api#enumValue": "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution"
2387+
}
2388+
},
2389+
"SageMakerVariantConcurrentRequestsPerModelHighResolution": {
2390+
"target": "smithy.api#Unit",
2391+
"traits": {
2392+
"smithy.api#enumValue": "SageMakerVariantConcurrentRequestsPerModelHighResolution"
2393+
}
23822394
}
23832395
}
23842396
},

codegen/sdk/aws-models/application-signals.json

Lines changed: 40 additions & 22 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/bedrock-runtime.json

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,9 @@
10511051
{
10521052
"target": "com.amazonaws.bedrockruntime#ResourceNotFoundException"
10531053
},
1054+
{
1055+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
1056+
},
10541057
{
10551058
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
10561059
},
@@ -1059,7 +1062,7 @@
10591062
}
10601063
],
10611064
"traits": {
1062-
"smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model. <code>Converse</code> provides\n a consistent interface that works with all models that\n support messages. This allows you to write code once and use it with different models.\n Should a model have unique inference parameters, you can also pass those unique parameters\n to the model.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Converse API examples</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action. </p>",
1065+
"smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model. <code>Converse</code> provides\n a consistent interface that works with all models that\n support messages. This allows you to write code once and use it with different models.\n If a model has unique inference parameters, you can also pass those unique parameters\n to the model.</p>\n <p>Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Converse API examples</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action. </p>",
10631066
"smithy.api#http": {
10641067
"code": 200,
10651068
"method": "POST",
@@ -1233,6 +1236,9 @@
12331236
{
12341237
"target": "com.amazonaws.bedrockruntime#ResourceNotFoundException"
12351238
},
1239+
{
1240+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
1241+
},
12361242
{
12371243
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
12381244
},
@@ -1241,7 +1247,7 @@
12411247
}
12421248
],
12431249
"traits": {
1244-
"smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model and returns\n the response in a stream. <code>ConverseStream</code> provides a consistent API\n that works with all Amazon Bedrock models that support messages.\n This allows you to write code once and use it with different models. Should a\n model have unique inference parameters, you can also pass those unique parameters to the\n model. </p>\n <p>To find out if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Conversation streaming example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>",
1250+
"smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model and returns\n the response in a stream. <code>ConverseStream</code> provides a consistent API\n that works with all Amazon Bedrock models that support messages.\n This allows you to write code once and use it with different models. Should a\n model have unique inference parameters, you can also pass those unique parameters to the\n model. </p>\n <p>To find out if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <note>\n <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>ConverseStream</code>.</p>\n </note>\n <p>Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Conversation streaming example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>",
12451251
"smithy.api#http": {
12461252
"code": 200,
12471253
"method": "POST",
@@ -1354,6 +1360,12 @@
13541360
"traits": {
13551361
"smithy.api#documentation": "<p>The number of requests exceeds the limit. Resubmit your request later.</p>"
13561362
}
1363+
},
1364+
"serviceUnavailableException": {
1365+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException",
1366+
"traits": {
1367+
"smithy.api#documentation": "<p>The service isn't currently available. Try again later.</p>"
1368+
}
13571369
}
13581370
},
13591371
"traits": {
@@ -2930,6 +2942,9 @@
29302942
{
29312943
"target": "com.amazonaws.bedrockruntime#ServiceQuotaExceededException"
29322944
},
2945+
{
2946+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
2947+
},
29332948
{
29342949
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
29352950
},
@@ -3072,6 +3087,9 @@
30723087
{
30733088
"target": "com.amazonaws.bedrockruntime#ServiceQuotaExceededException"
30743089
},
3090+
{
3091+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
3092+
},
30753093
{
30763094
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
30773095
},
@@ -3080,7 +3098,7 @@
30803098
}
30813099
],
30823100
"traits": {
3083-
"smithy.api#documentation": "<p>Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.</p>\n <p>To see if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <note>\n <p>The CLI doesn't support <code>InvokeModelWithResponseStream</code>.</p>\n </note>\n <p>For example code, see <i>Invoke model with streaming code\n example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p>",
3101+
"smithy.api#documentation": "<p>Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.</p>\n <p>To see if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <note>\n <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p>\n </note>\n <p>For example code, see <i>Invoke model with streaming code\n example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p>",
30843102
"smithy.api#http": {
30853103
"code": 200,
30863104
"method": "POST",
@@ -3415,14 +3433,17 @@
34153433
"throttlingException": {
34163434
"target": "com.amazonaws.bedrockruntime#ThrottlingException",
34173435
"traits": {
3418-
"smithy.api#documentation": "<p>The number or frequency of requests exceeds the limit. Resubmit your request later.</p>"
3436+
"smithy.api#documentation": "<p>Your request was throttled because of service-wide limitations. Resubmit your request later or in a different region. You can also purchase <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> to increase the rate or number of tokens you can process.</p>"
34193437
}
34203438
},
34213439
"modelTimeoutException": {
34223440
"target": "com.amazonaws.bedrockruntime#ModelTimeoutException",
34233441
"traits": {
34243442
"smithy.api#documentation": "<p>The request took too long to process. Processing time exceeded the model timeout length.</p>"
34253443
}
3444+
},
3445+
"serviceUnavailableException": {
3446+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
34263447
}
34273448
},
34283449
"traits": {
@@ -3438,11 +3459,24 @@
34383459
}
34393460
},
34403461
"traits": {
3441-
"smithy.api#documentation": "<p>The number of requests exceeds the service quota. Resubmit your request later.</p>",
3462+
"smithy.api#documentation": "<p>Your request exceeds the service quota for your account. You can view your quotas at <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/gs-request-quota.html\">Viewing service quotas</a>. You can resubmit your request later.</p>",
34423463
"smithy.api#error": "client",
34433464
"smithy.api#httpError": 400
34443465
}
34453466
},
3467+
"com.amazonaws.bedrockruntime#ServiceUnavailableException": {
3468+
"type": "structure",
3469+
"members": {
3470+
"message": {
3471+
"target": "com.amazonaws.bedrockruntime#NonBlankString"
3472+
}
3473+
},
3474+
"traits": {
3475+
"smithy.api#documentation": "<p>The service isn't currently available. Try again later.</p>",
3476+
"smithy.api#error": "server",
3477+
"smithy.api#httpError": 503
3478+
}
3479+
},
34463480
"com.amazonaws.bedrockruntime#SpecificToolChoice": {
34473481
"type": "structure",
34483482
"members": {
@@ -3542,7 +3576,7 @@
35423576
}
35433577
},
35443578
"traits": {
3545-
"smithy.api#documentation": "<p>The number of requests exceeds the limit. Resubmit your request later.</p>",
3579+
"smithy.api#documentation": "<p>Your request was throttled because of service-wide limitations. Resubmit your request later or in a different region. You can also purchase <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> to increase the rate or number of tokens you can process.</p>",
35463580
"smithy.api#error": "client",
35473581
"smithy.api#httpError": 429
35483582
}

codegen/sdk/aws-models/codecommit.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4174,6 +4174,9 @@
41744174
{
41754175
"target": "com.amazonaws.codecommit#InvalidTagsMapException"
41764176
},
4177+
{
4178+
"target": "com.amazonaws.codecommit#OperationNotAllowedException"
4179+
},
41774180
{
41784181
"target": "com.amazonaws.codecommit#RepositoryLimitExceededException"
41794182
},
@@ -4219,7 +4222,7 @@
42194222
"kmsKeyId": {
42204223
"target": "com.amazonaws.codecommit#KmsKeyId",
42214224
"traits": {
4222-
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see \n <a href=\"https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>\n <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>"
4225+
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see \n <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>\n <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>"
42234226
}
42244227
}
42254228
},
@@ -11528,6 +11531,21 @@
1152811531
"smithy.api#documentation": "<p>Information about the type of an object in a merge operation.</p>"
1152911532
}
1153011533
},
11534+
"com.amazonaws.codecommit#OperationNotAllowedException": {
11535+
"type": "structure",
11536+
"members": {
11537+
"message": {
11538+
"target": "com.amazonaws.codecommit#Message",
11539+
"traits": {
11540+
"smithy.api#documentation": "<p>Any message associated with the exception.</p>"
11541+
}
11542+
}
11543+
},
11544+
"traits": {
11545+
"smithy.api#documentation": "<p>The requested action is not allowed.</p>",
11546+
"smithy.api#error": "client"
11547+
}
11548+
},
1153111549
"com.amazonaws.codecommit#OrderEnum": {
1153211550
"type": "enum",
1153311551
"members": {
@@ -15511,7 +15529,7 @@
1551115529
"kmsKeyId": {
1551215530
"target": "com.amazonaws.codecommit#KmsKeyId",
1551315531
"traits": {
15514-
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for keyID, see \n <a href=\"https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>",
15532+
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for keyID, see \n <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>",
1551515533
"smithy.api#required": {}
1551615534
}
1551715535
}

0 commit comments

Comments
 (0)