Skip to content

Commit 3fdfea1

Browse files
Updated API models and rebuilt service gems.
1 parent 48b6828 commit 3fdfea1

File tree

3,123 files changed

+63727
-91934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,123 files changed

+63727
-91934
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,6 @@ RubyGems.org page under "LINKS" section.
527527
| Amazon DynamoDB | Aws::DynamoDB | aws-sdk-dynamodb | 2012-08-10 |
528528
| Amazon DynamoDB Accelerator (DAX) | Aws::DAX | aws-sdk-dax | 2017-04-19 |
529529
| Amazon DynamoDB Streams | Aws::DynamoDBStreams | aws-sdk-dynamodbstreams | 2012-08-10 |
530-
| Amazon EC2 Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |
531530
| Amazon EC2 Container Service | Aws::ECS | aws-sdk-ecs | 2014-11-13 |
532531
| Amazon EKS Auth | Aws::EKSAuth | aws-sdk-eksauth | 2023-11-26 |
533532
| Amazon EMR | Aws::EMR | aws-sdk-emr | 2009-03-31 |
@@ -536,6 +535,7 @@ RubyGems.org page under "LINKS" section.
536535
| Amazon Elastic Inference | Aws::ElasticInference | aws-sdk-elasticinference | 2017-07-25 |
537536
| Amazon Elastic Block Store | Aws::EBS | aws-sdk-ebs | 2019-11-02 |
538537
| Amazon Elastic Compute Cloud | Aws::EC2 | aws-sdk-ec2 | 2016-11-15 |
538+
| Amazon Elastic Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |
539539
| Amazon Elastic Container Registry Public | Aws::ECRPublic | aws-sdk-ecrpublic | 2020-10-30 |
540540
| Amazon Elastic File System | Aws::EFS | aws-sdk-efs | 2015-02-01 |
541541
| Amazon Elastic Kubernetes Service | Aws::EKS | aws-sdk-eks | 2017-11-01 |

apis/bedrock-agent-runtime/2023-07-26/api-2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@
293293
},
294294
"BedrockModelArn":{
295295
"type":"string",
296-
"max":1011,
297-
"min":20,
298-
"pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))$"
296+
"max":2048,
297+
"min":1,
298+
"pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
299299
},
300300
"Boolean":{
301301
"type":"boolean",

apis/bedrock-agent-runtime/2023-07-26/docs-2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"InvokeAgent": "<note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeAgent</code>.</p> </note> <p>Sends a prompt for the agent to process and respond to. Note the following fields for the request:</p> <ul> <li> <p>To continue the same conversation with an agent, use the same <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events\">Trace enablement</a>.</p> </li> <li> <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the <code>sessionState</code> object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.</p> </li> </ul> <p>The response is returned in the <code>bytes</code> field of the <code>chunk</code> object.</p> <ul> <li> <p>The <code>attribution</code> object contains citations for parts of the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to <code>true</code> in the request, you can trace the agent's steps and reasoning process that led it to the response.</p> </li> <li> <p>If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in the response.</p> </li> </ul>",
88
"InvokeFlow": "<p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>",
99
"Retrieve": "<p>Queries a knowledge base and retrieves information from it.</p>",
10-
"RetrieveAndGenerate": "<p>Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query.</p>"
10+
"RetrieveAndGenerate": "<p>Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>. The response only cites sources that are relevant to the query.</p>"
1111
},
1212
"shapes": {
1313
"AccessDeniedException": {
@@ -152,7 +152,7 @@
152152
"base": null,
153153
"refs": {
154154
"ExternalSourcesRetrieveAndGenerateConfiguration$modelArn": "<p>The modelArn used with the external source wrapper object in the retrieveAndGenerate function.</p>",
155-
"KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "<p>The ARN of the foundation model used to generate a response.</p>"
155+
"KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "<p>The ARN of the foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> used to generate a response.</p>"
156156
}
157157
},
158158
"Boolean": {
@@ -847,7 +847,7 @@
847847
"base": null,
848848
"refs": {
849849
"KnowledgeBaseConfiguration$knowledgeBaseId": "<p>The unique identifier for a knowledge base attached to the agent.</p>",
850-
"KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "<p>The unique identifier of the knowledge base that is queried and the foundation model used for generation.</p>",
850+
"KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "<p>The unique identifier of the knowledge base that is queried.</p>",
851851
"RetrieveRequest$knowledgeBaseId": "<p>The unique identifier of the knowledge base to query.</p>"
852852
}
853853
},

apis/bedrock-agent/2023-06-05/api-2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@
15751575
"type":"string",
15761576
"max":2048,
15771577
"min":1,
1578-
"pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$"
1578+
"pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$"
15791579
},
15801580
"Boolean":{
15811581
"type":"boolean",

apis/bedrock-agent/2023-06-05/docs-2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,15 +318,15 @@
318318
}
319319
},
320320
"BedrockFoundationModelConfiguration": {
321-
"base": "<p>Settings for a foundation model used to parse documents for a data source.</p>",
321+
"base": "<p>Settings for a foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> used to parse documents for a data source.</p>",
322322
"refs": {
323323
"ParsingConfiguration$bedrockFoundationModelConfiguration": "<p>Settings for a foundation model used to parse documents for a data source.</p>"
324324
}
325325
},
326326
"BedrockModelArn": {
327327
"base": null,
328328
"refs": {
329-
"BedrockFoundationModelConfiguration$modelArn": "<p>The model's ARN.</p>"
329+
"BedrockFoundationModelConfiguration$modelArn": "<p>The ARN of the foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>.</p>"
330330
}
331331
},
332332
"Boolean": {
@@ -2217,7 +2217,7 @@
22172217
}
22182218
},
22192219
"ParsingConfiguration": {
2220-
"base": "<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html\">ListFoundationModels</a> action. Standard model usage charges apply for the foundation model parsing strategy.</p>",
2220+
"base": "<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html\">ListFoundationModels</a> action. Standard model usage charges apply for the foundation model parsing strategy.</p>",
22212221
"refs": {
22222222
"VectorIngestionConfiguration$parsingConfiguration": "<p>A custom parser for data source documents.</p>"
22232223
}

apis/ecr/2015-09-21/api-2.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"protocol":"json",
88
"protocols":["json"],
99
"serviceAbbreviation":"Amazon ECR",
10-
"serviceFullName":"Amazon EC2 Container Registry",
10+
"serviceFullName":"Amazon Elastic Container Registry",
1111
"serviceId":"ECR",
1212
"signatureVersion":"v4",
1313
"signingName":"ecr",
@@ -1312,7 +1312,8 @@
13121312
"type":"string",
13131313
"enum":[
13141314
"AES256",
1315-
"KMS"
1315+
"KMS",
1316+
"KMS_DSSE"
13161317
]
13171318
},
13181319
"EnhancedImageScanFinding":{

apis/ecr/2015-09-21/docs-2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@
471471
"EncryptionType": {
472472
"base": null,
473473
"refs": {
474-
"EncryptionConfiguration$encryptionType": "<p>The encryption type to use.</p> <p>If you use the <code>KMS</code> encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html\">Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the <i>Amazon Simple Storage Service Console Developer Guide</i>.</p> <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html\">Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>",
474+
"EncryptionConfiguration$encryptionType": "<p>The encryption type to use.</p> <p>If you use the <code>KMS</code> encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created.</p> <p>If you use the <code>KMS_DSSE</code> encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the KMS Management Service key stored in KMS. Similar to the KMS encryption type, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you've already created. </p> <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html\">Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>",
475475
"EncryptionConfigurationForRepositoryCreationTemplate$encryptionType": "<p>The encryption type to use.</p> <p>If you use the <code>KMS</code> encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html\">Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the <i>Amazon Simple Storage Service Console Developer Guide</i>.</p> <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html\">Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>"
476476
}
477477
},

apis/ecr/2015-09-21/smoke-2.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"version": 2,
3+
"testCases": [
4+
{
5+
"id": "DescribeRepositoriesSuccess",
6+
"operationName": "DescribeRepositories",
7+
"input": {},
8+
"expectation": {
9+
"success": {}
10+
},
11+
"config": {
12+
"region": "us-west-2"
13+
}
14+
},
15+
{
16+
"id": "ListImagesFailure",
17+
"operationName": "ListImages",
18+
"input": {
19+
"repositoryName": "not-a-real-repository"
20+
},
21+
"expectation": {
22+
"failure": {}
23+
},
24+
"config": {
25+
"region": "us-west-2"
26+
}
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)