Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Jul 25, 2024
1 parent 98ceddc commit 5a39f93
Show file tree
Hide file tree
Showing 149 changed files with 4,699 additions and 538 deletions.
4 changes: 3 additions & 1 deletion apis/application-autoscaling/2016-02-06/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,9 @@
"SageMakerVariantProvisionedConcurrencyUtilization",
"ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
"SageMakerInferenceComponentInvocationsPerCopy",
"WorkSpacesAverageUserSessionsCapacityUtilization"
"WorkSpacesAverageUserSessionsCapacityUtilization",
"SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution",
"SageMakerVariantConcurrentRequestsPerModelHighResolution"
]
},
"MetricUnit":{"type":"string"},
Expand Down
11 changes: 9 additions & 2 deletions apis/application-signals/2024-04-15/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"version":"2.0",
"metadata":{
"apiVersion":"2024-04-15",
"auth":["aws.auth#sigv4"],
"endpointPrefix":"application-signals",
"protocol":"rest-json",
"protocols":["rest-json"],
Expand Down Expand Up @@ -457,7 +458,8 @@
"members":{
"Service":{"shape":"Service"},
"StartTime":{"shape":"Timestamp"},
"EndTime":{"shape":"Timestamp"}
"EndTime":{"shape":"Timestamp"},
"LogGroupReferences":{"shape":"LogGroupReferences"}
}
},
"Goal":{
Expand Down Expand Up @@ -739,6 +741,10 @@
"Tags":{"shape":"TagList"}
}
},
"LogGroupReferences":{
"type":"list",
"member":{"shape":"Attributes"}
},
"Metric":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -888,7 +894,8 @@
"members":{
"KeyAttributes":{"shape":"Attributes"},
"AttributeMaps":{"shape":"AttributeMaps"},
"MetricReferences":{"shape":"MetricReferences"}
"MetricReferences":{"shape":"MetricReferences"},
"LogGroupReferences":{"shape":"LogGroupReferences"}
}
},
"ServiceDependencies":{
Expand Down
52 changes: 30 additions & 22 deletions apis/application-signals/2024-04-15/docs-2.json

Large diffs are not rendered by default.

22 changes: 19 additions & 3 deletions apis/bedrock-runtime/2023-09-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"version":"2.0",
"metadata":{
"apiVersion":"2023-09-30",
"auth":["aws.auth#sigv4"],
"endpointPrefix":"bedrock-runtime",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"Amazon Bedrock Runtime",
"serviceId":"Bedrock Runtime",
"signatureVersion":"v4",
Expand Down Expand Up @@ -45,6 +46,7 @@
{"shape":"ThrottlingException"},
{"shape":"ModelTimeoutException"},
{"shape":"InternalServerException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ValidationException"},
{"shape":"ModelNotReadyException"},
{"shape":"ModelErrorException"}
Expand All @@ -65,6 +67,7 @@
{"shape":"ThrottlingException"},
{"shape":"ModelTimeoutException"},
{"shape":"InternalServerException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ValidationException"},
{"shape":"ModelNotReadyException"},
{"shape":"ModelErrorException"}
Expand All @@ -85,6 +88,7 @@
{"shape":"ThrottlingException"},
{"shape":"ModelTimeoutException"},
{"shape":"InternalServerException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ValidationException"},
{"shape":"ModelNotReadyException"},
{"shape":"ServiceQuotaExceededException"},
Expand All @@ -106,6 +110,7 @@
{"shape":"ThrottlingException"},
{"shape":"ModelTimeoutException"},
{"shape":"InternalServerException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ModelStreamErrorException"},
{"shape":"ValidationException"},
{"shape":"ModelNotReadyException"},
Expand Down Expand Up @@ -351,7 +356,8 @@
"internalServerException":{"shape":"InternalServerException"},
"modelStreamErrorException":{"shape":"ModelStreamErrorException"},
"validationException":{"shape":"ValidationException"},
"throttlingException":{"shape":"ThrottlingException"}
"throttlingException":{"shape":"ThrottlingException"},
"serviceUnavailableException":{"shape":"ServiceUnavailableException"}
},
"eventstream":true
},
Expand Down Expand Up @@ -1256,7 +1262,8 @@
"modelStreamErrorException":{"shape":"ModelStreamErrorException"},
"validationException":{"shape":"ValidationException"},
"throttlingException":{"shape":"ThrottlingException"},
"modelTimeoutException":{"shape":"ModelTimeoutException"}
"modelTimeoutException":{"shape":"ModelTimeoutException"},
"serviceUnavailableException":{"shape":"ServiceUnavailableException"}
},
"eventstream":true
},
Expand All @@ -1271,6 +1278,15 @@
},
"exception":true
},
"ServiceUnavailableException":{
"type":"structure",
"members":{
"message":{"shape":"NonBlankString"}
},
"error":{"httpStatusCode":503},
"exception":true,
"fault":true
},
"SpecificToolChoice":{
"type":"structure",
"required":["name"],
Expand Down
20 changes: 14 additions & 6 deletions apis/bedrock-runtime/2023-09-30/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"service": "<p>Describes the API operations for running inference using Amazon Bedrock models.</p>",
"operations": {
"ApplyGuardrail": "<p>The action to apply a guardrail.</p>",
"Converse": "<p>Sends messages to the specified Amazon Bedrock model. <code>Converse</code> provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model.</p> <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i> </p> <p>For example code, see <i>Converse API examples</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action. </p>",
"ConverseStream": "<p>Sends messages to the specified Amazon Bedrock model and returns the response in a stream. <code>ConverseStream</code> provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. </p> <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> and check the <code>responseStreamingSupported</code> field in the response.</p> <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i> </p> <p>For example code, see <i>Conversation streaming example</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permission for the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>",
"Converse": "<p>Sends messages to the specified Amazon Bedrock model. <code>Converse</code> provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. If a model has unique inference parameters, you can also pass those unique parameters to the model.</p> <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> <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i> </p> <p>For example code, see <i>Converse API examples</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action. </p>",
"ConverseStream": "<p>Sends messages to the specified Amazon Bedrock model and returns the response in a stream. <code>ConverseStream</code> provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. </p> <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> and check the <code>responseStreamingSupported</code> field in the response.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>ConverseStream</code>.</p> </note> <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> <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>. To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i> </p> <p>For example code, see <i>Conversation streaming example</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permission for the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>",
"InvokeModel": "<p>Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings.</p> <p>For example code, see <i>Invoke model code examples</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action.</p>",
"InvokeModelWithResponseStream": "<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> <p>To see if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a> and check the <code>responseStreamingSupported</code> field in the response.</p> <note> <p>The CLI doesn't support <code>InvokeModelWithResponseStream</code>.</p> </note> <p>For example code, see <i>Invoke model with streaming code example</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p>"
"InvokeModelWithResponseStream": "<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> <p>To see if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a> and check the <code>responseStreamingSupported</code> field in the response.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note> <p>For example code, see <i>Invoke model with streaming code example</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p>"
},
"shapes": {
"AccessDeniedException": {
Expand Down Expand Up @@ -805,6 +805,7 @@
"ModelTimeoutException$message": null,
"ResourceNotFoundException$message": null,
"ServiceQuotaExceededException$message": null,
"ServiceUnavailableException$message": null,
"ThrottlingException$message": null,
"ValidationException$message": null
}
Expand Down Expand Up @@ -849,10 +850,17 @@
}
},
"ServiceQuotaExceededException": {
"base": "<p>The number of requests exceeds the service quota. Resubmit your request later.</p>",
"base": "<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>",
"refs": {
}
},
"ServiceUnavailableException": {
"base": "<p>The service isn't currently available. Try again later.</p>",
"refs": {
"ConverseStreamOutput$serviceUnavailableException": "<p>The service isn't currently available. Try again later.</p>",
"ResponseStream$serviceUnavailableException": null
}
},
"SpecificToolChoice": {
"base": "<p>The model must request a specific tool. For example, <code>{\"tool\" : {\"name\" : \"Your tool name\"}}</code>.</p> <note> <p>This field is only supported by Anthropic Claude 3 models.</p> </note>",
"refs": {
Expand Down Expand Up @@ -907,10 +915,10 @@
}
},
"ThrottlingException": {
"base": "<p>The number of requests exceeds the limit. Resubmit your request later.</p>",
"base": "<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>",
"refs": {
"ConverseStreamOutput$throttlingException": "<p>The number of requests exceeds the limit. Resubmit your request later.</p>",
"ResponseStream$throttlingException": "<p>The number or frequency of requests exceeds the limit. Resubmit your request later.</p>"
"ResponseStream$throttlingException": "<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>"
}
},
"TokenUsage": {
Expand Down
7 changes: 7 additions & 0 deletions apis/codecommit/2015-04-13/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@
{"shape":"InvalidRepositoryNameException"},
{"shape":"InvalidRepositoryDescriptionException"},
{"shape":"RepositoryLimitExceededException"},
{"shape":"OperationNotAllowedException"},
{"shape":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
Expand Down Expand Up @@ -4533,6 +4534,12 @@
"base":{"shape":"ObjectTypeEnum"}
}
},
"OperationNotAllowedException":{
"type":"structure",
"members":{
},
"exception":true
},
"OrderEnum":{
"type":"string",
"enum":[
Expand Down
9 changes: 7 additions & 2 deletions apis/codecommit/2015-04-13/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1925,9 +1925,9 @@
"KmsKeyId": {
"base": null,
"refs": {
"CreateRepositoryInput$kmsKeyId": "<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 programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see <a href=\"https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in the <i>Key Management Service API Reference</i>.</p> <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>",
"CreateRepositoryInput$kmsKeyId": "<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 programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see <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 the <i>Key Management Service API Reference</i>.</p> <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>",
"RepositoryMetadata$kmsKeyId": "<p>The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.</p>",
"UpdateRepositoryEncryptionKeyInput$kmsKeyId": "<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 programmatically retrieve a key ID. For more information about acceptable values for keyID, see <a href=\"https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in the <i>Key Management Service API Reference</i>.</p>",
"UpdateRepositoryEncryptionKeyInput$kmsKeyId": "<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 programmatically retrieve a key ID. For more information about acceptable values for keyID, see <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 the <i>Key Management Service API Reference</i>.</p>",
"UpdateRepositoryEncryptionKeyOutput$kmsKeyId": "<p>The ID of the encryption key.</p>",
"UpdateRepositoryEncryptionKeyOutput$originalKmsKeyId": "<p>The ID of the encryption key formerly used to encrypt and decrypt the repository.</p>"
}
Expand Down Expand Up @@ -2429,6 +2429,11 @@
"ConflictMetadata$objectTypes": "<p>Information about any object type conflicts in a merge operation.</p>"
}
},
"OperationNotAllowedException": {
"base": "<p>The requested action is not allowed.</p>",
"refs": {
}
},
"OrderEnum": {
"base": null,
"refs": {
Expand Down
47 changes: 47 additions & 0 deletions apis/datazone/2018-05-10/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,24 @@
{"shape":"UnauthorizedException"}
]
},
"GetEnvironmentCredentials":{
"name":"GetEnvironmentCredentials",
"http":{
"method":"GET",
"requestUri":"/v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/credentials",
"responseCode":200
},
"input":{"shape":"GetEnvironmentCredentialsInput"},
"output":{"shape":"GetEnvironmentCredentialsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"UnauthorizedException"}
]
},
"GetEnvironmentProfile":{
"name":"GetEnvironmentProfile",
"http":{
Expand Down Expand Up @@ -5608,6 +5626,35 @@
"userParameters":{"shape":"CustomParameterList"}
}
},
"GetEnvironmentCredentialsInput":{
"type":"structure",
"required":[
"domainIdentifier",
"environmentIdentifier"
],
"members":{
"domainIdentifier":{
"shape":"DomainId",
"location":"uri",
"locationName":"domainIdentifier"
},
"environmentIdentifier":{
"shape":"EnvironmentId",
"location":"uri",
"locationName":"environmentIdentifier"
}
}
},
"GetEnvironmentCredentialsOutput":{
"type":"structure",
"members":{
"accessKeyId":{"shape":"String"},
"expiration":{"shape":"SyntheticTimestamp_date_time"},
"secretAccessKey":{"shape":"String"},
"sessionToken":{"shape":"String"}
},
"sensitive":true
},
"GetEnvironmentInput":{
"type":"structure",
"required":[
Expand Down
Loading

0 comments on commit 5a39f93

Please sign in to comment.