Skip to content

Commit ebe9afe

Browse files
Update SDK models
1 parent 7d94989 commit ebe9afe

File tree

207 files changed

+2981
-1173
lines changed

Some content is hidden

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

207 files changed

+2981
-1173
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ resolver = "2"
33
exclude = [
44
"examples/cross_service",
55
"examples/test-utils",
6-
"examples/webassembly",
76
"examples/examples",
7+
"examples/webassembly",
88
"examples/lambda",
99
"tests/no-default-features",
1010
"tests/webassembly"

aws-models/bedrock-agent.json

Lines changed: 108 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2534,7 +2534,7 @@
25342534
"modelArn": {
25352535
"target": "com.amazonaws.bedrockagent#BedrockModelArn",
25362536
"traits": {
2537-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the foundation model used for context enrichment.</p>",
2537+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>",
25382538
"smithy.api#required": {}
25392539
}
25402540
}
@@ -10488,6 +10488,12 @@
1048810488
"traits": {
1048910489
"smithy.api#enumValue": "NEPTUNE_ANALYTICS"
1049010490
}
10491+
},
10492+
"OPENSEARCH_MANAGED_CLUSTER": {
10493+
"target": "smithy.api#Unit",
10494+
"traits": {
10495+
"smithy.api#enumValue": "OPENSEARCH_MANAGED_CLUSTER"
10496+
}
1049110497
}
1049210498
}
1049310499
},
@@ -12718,6 +12724,100 @@
1271812724
"smithy.api#pattern": "^[0-9]{1,5}$"
1271912725
}
1272012726
},
12727+
"com.amazonaws.bedrockagent#OpenSearchManagedClusterConfiguration": {
12728+
"type": "structure",
12729+
"members": {
12730+
"domainEndpoint": {
12731+
"target": "com.amazonaws.bedrockagent#OpenSearchManagedClusterDomainEndpoint",
12732+
"traits": {
12733+
"smithy.api#documentation": "<p>The endpoint URL the OpenSearch domain.</p>",
12734+
"smithy.api#required": {}
12735+
}
12736+
},
12737+
"domainArn": {
12738+
"target": "com.amazonaws.bedrockagent#OpenSearchManagedClusterDomainArn",
12739+
"traits": {
12740+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the OpenSearch domain.</p>",
12741+
"smithy.api#required": {}
12742+
}
12743+
},
12744+
"vectorIndexName": {
12745+
"target": "com.amazonaws.bedrockagent#OpenSearchManagedClusterIndexName",
12746+
"traits": {
12747+
"smithy.api#documentation": "<p>The name of the vector store.</p>",
12748+
"smithy.api#required": {}
12749+
}
12750+
},
12751+
"fieldMapping": {
12752+
"target": "com.amazonaws.bedrockagent#OpenSearchManagedClusterFieldMapping",
12753+
"traits": {
12754+
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>",
12755+
"smithy.api#required": {}
12756+
}
12757+
}
12758+
},
12759+
"traits": {
12760+
"smithy.api#documentation": "<p>Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service. For more information, \n see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html\">Create a vector index in OpenSearch Managed Cluster</a>.</p>"
12761+
}
12762+
},
12763+
"com.amazonaws.bedrockagent#OpenSearchManagedClusterDomainArn": {
12764+
"type": "string",
12765+
"traits": {
12766+
"smithy.api#length": {
12767+
"max": 2048
12768+
},
12769+
"smithy.api#pattern": "^arn:aws(|-cn|-us-gov|-iso):es:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:domain/[a-z][a-z0-9-]{3,28}$"
12770+
}
12771+
},
12772+
"com.amazonaws.bedrockagent#OpenSearchManagedClusterDomainEndpoint": {
12773+
"type": "string",
12774+
"traits": {
12775+
"smithy.api#length": {
12776+
"max": 2048
12777+
},
12778+
"smithy.api#pattern": "^https://.*$"
12779+
}
12780+
},
12781+
"com.amazonaws.bedrockagent#OpenSearchManagedClusterFieldMapping": {
12782+
"type": "structure",
12783+
"members": {
12784+
"vectorField": {
12785+
"target": "com.amazonaws.bedrockagent#FieldName",
12786+
"traits": {
12787+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>",
12788+
"smithy.api#required": {}
12789+
}
12790+
},
12791+
"textField": {
12792+
"target": "com.amazonaws.bedrockagent#FieldName",
12793+
"traits": {
12794+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text\n is split according to the chunking strategy you choose.</p>",
12795+
"smithy.api#required": {}
12796+
}
12797+
},
12798+
"metadataField": {
12799+
"target": "com.amazonaws.bedrockagent#FieldName",
12800+
"traits": {
12801+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>",
12802+
"smithy.api#required": {}
12803+
}
12804+
}
12805+
},
12806+
"traits": {
12807+
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>"
12808+
}
12809+
},
12810+
"com.amazonaws.bedrockagent#OpenSearchManagedClusterIndexName": {
12811+
"type": "string",
12812+
"traits": {
12813+
"smithy.api#length": {
12814+
"min": 1,
12815+
"max": 2048
12816+
},
12817+
"smithy.api#pattern": "^(?![\\-_+.])[a-z0-9][a-z0-9\\-_\\.]*$",
12818+
"smithy.api#sensitive": {}
12819+
}
12820+
},
1272112821
"com.amazonaws.bedrockagent#OpenSearchServerlessCollectionArn": {
1272212822
"type": "string",
1272312823
"traits": {
@@ -15464,6 +15564,12 @@
1546415564
"smithy.api#documentation": "<p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>"
1546515565
}
1546615566
},
15567+
"opensearchManagedClusterConfiguration": {
15568+
"target": "com.amazonaws.bedrockagent#OpenSearchManagedClusterConfiguration",
15569+
"traits": {
15570+
"smithy.api#documentation": "<p>Contains details about the storage configuration of the knowledge base in OpenSearch Managed\n Cluster. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html\">Create \n a vector index in Amazon OpenSearch Service</a>.</p>"
15571+
}
15572+
},
1546715573
"pineconeConfiguration": {
1546815574
"target": "com.amazonaws.bedrockagent#PineconeConfiguration",
1546915575
"traits": {
@@ -16491,7 +16597,7 @@
1649116597
"parentActionGroupSignatureParams": {
1649216598
"target": "com.amazonaws.bedrockagent#ActionGroupSignatureParams",
1649316599
"traits": {
16494-
"smithy.api#documentation": "<p>The configuration settings for a computer use action.</p>\n <important>\n <p>\n Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.\n </p>\n </important>"
16600+
"smithy.api#documentation": "<p>The configuration settings for a computer use action.</p>\n <important>\n <p>\n Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html\">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.\n </p>\n </important>"
1649516601
}
1649616602
},
1649716603
"actionGroupExecutor": {

aws-models/eks.json

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,9 @@
20862086
},
20872087
{
20882088
"target": "com.amazonaws.eks#ServerException"
2089+
},
2090+
{
2091+
"target": "com.amazonaws.eks#ThrottlingException"
20892092
}
20902093
],
20912094
"traits": {
@@ -2164,6 +2167,9 @@
21642167
},
21652168
{
21662169
"target": "com.amazonaws.eks#ServerException"
2170+
},
2171+
{
2172+
"target": "com.amazonaws.eks#ThrottlingException"
21672173
}
21682174
],
21692175
"traits": {
@@ -6090,6 +6096,9 @@
60906096
},
60916097
{
60926098
"target": "com.amazonaws.eks#ServerException"
6099+
},
6100+
{
6101+
"target": "com.amazonaws.eks#ThrottlingException"
60936102
}
60946103
],
60956104
"traits": {
@@ -6216,7 +6225,7 @@
62166225
"licenses": {
62176226
"target": "com.amazonaws.eks#LicenseList",
62186227
"traits": {
6219-
"smithy.api#documentation": "<p>Includes all of the claims in the license token necessary to validate the license for\n\t extended support.</p>"
6228+
"smithy.api#documentation": "<p>Includes all of the claims in the license token necessary to validate the license for\n extended support.</p>"
62206229
}
62216230
},
62226231
"tags": {
@@ -7172,6 +7181,25 @@
71727181
"smithy.api#httpError": 400
71737182
}
71747183
},
7184+
"com.amazonaws.eks#InvalidStateException": {
7185+
"type": "structure",
7186+
"members": {
7187+
"clusterName": {
7188+
"target": "com.amazonaws.eks#String",
7189+
"traits": {
7190+
"smithy.api#documentation": "<p>The Amazon EKS cluster associated with the exception.</p>"
7191+
}
7192+
},
7193+
"message": {
7194+
"target": "com.amazonaws.eks#String"
7195+
}
7196+
},
7197+
"traits": {
7198+
"smithy.api#documentation": "<p>Amazon EKS detected upgrade readiness issues. Call the <a href=\"https://docs.aws.amazon.com/eks/latest/APIReference/API_ListInsights.html\">\n <code>ListInsights</code>\n </a> API to view detected upgrade blocking issues.\n Pass the <a href=\"https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateClusterVersion.html#API_UpdateClusterVersion_RequestBody\">\n <code>force</code>\n </a> flag when updating to override upgrade readiness\n errors.</p>",
7199+
"smithy.api#error": "client",
7200+
"smithy.api#httpError": 400
7201+
}
7202+
},
71757203
"com.amazonaws.eks#IpFamily": {
71767204
"type": "enum",
71777205
"members": {
@@ -10238,6 +10266,25 @@
1023810266
}
1023910267
}
1024010268
},
10269+
"com.amazonaws.eks#ThrottlingException": {
10270+
"type": "structure",
10271+
"members": {
10272+
"clusterName": {
10273+
"target": "com.amazonaws.eks#String",
10274+
"traits": {
10275+
"smithy.api#documentation": "<p>The Amazon EKS cluster associated with the exception.</p>"
10276+
}
10277+
},
10278+
"message": {
10279+
"target": "com.amazonaws.eks#String"
10280+
}
10281+
},
10282+
"traits": {
10283+
"smithy.api#documentation": "<p>The request or operation couldn't be performed because a service is throttling\n requests.</p>",
10284+
"smithy.api#error": "client",
10285+
"smithy.api#httpError": 429
10286+
}
10287+
},
1024110288
"com.amazonaws.eks#Timestamp": {
1024210289
"type": "timestamp"
1024310290
},
@@ -10612,6 +10659,9 @@
1061210659
},
1061310660
{
1061410661
"target": "com.amazonaws.eks#ServerException"
10662+
},
10663+
{
10664+
"target": "com.amazonaws.eks#ThrottlingException"
1061510665
}
1061610666
],
1061710667
"traits": {
@@ -10717,6 +10767,9 @@
1071710767
{
1071810768
"target": "com.amazonaws.eks#InvalidRequestException"
1071910769
},
10770+
{
10771+
"target": "com.amazonaws.eks#InvalidStateException"
10772+
},
1072010773
{
1072110774
"target": "com.amazonaws.eks#ResourceInUseException"
1072210775
},
@@ -10725,6 +10778,9 @@
1072510778
},
1072610779
{
1072710780
"target": "com.amazonaws.eks#ServerException"
10781+
},
10782+
{
10783+
"target": "com.amazonaws.eks#ThrottlingException"
1072810784
}
1072910785
],
1073010786
"traits": {
@@ -10760,6 +10816,13 @@
1076010816
"smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure\nthe idempotency of the request.</p>",
1076110817
"smithy.api#idempotencyToken": {}
1076210818
}
10819+
},
10820+
"force": {
10821+
"target": "com.amazonaws.eks#Boolean",
10822+
"traits": {
10823+
"smithy.api#default": false,
10824+
"smithy.api#documentation": "<p>Set this value to <code>true</code> to override upgrade-blocking readiness checks when\n updating a cluster.</p>"
10825+
}
1076310826
}
1076410827
},
1076510828
"traits": {

0 commit comments

Comments
 (0)