Skip to content

Commit 350aa29

Browse files
feat: update AWS API models
1 parent 5fb49a0 commit 350aa29

File tree

8 files changed

+1936
-160
lines changed

8 files changed

+1936
-160
lines changed

codegen/sdk/aws-models/acm.json

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,22 @@
22912291
}
22922292
],
22932293
"traits": {
2294-
"smithy.api#documentation": "<p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode\n the certificates and inspect individual fields.</p>"
2294+
"smithy.api#documentation": "<p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode\n the certificates and inspect individual fields.</p>",
2295+
"smithy.test#smokeTests": [
2296+
{
2297+
"id": "GetCertificateFailure",
2298+
"params": {
2299+
"CertificateArn": "arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"
2300+
},
2301+
"vendorParams": {
2302+
"region": "us-west-2"
2303+
},
2304+
"vendorParamsShape": "aws.test#AwsVendorParams",
2305+
"expect": {
2306+
"failure": {}
2307+
}
2308+
}
2309+
]
22952310
}
22962311
},
22972312
"com.amazonaws.acm#GetCertificateRequest": {
@@ -2697,7 +2712,20 @@
26972712
"outputToken": "NextToken",
26982713
"items": "CertificateSummaryList",
26992714
"pageSize": "MaxItems"
2700-
}
2715+
},
2716+
"smithy.test#smokeTests": [
2717+
{
2718+
"id": "ListCertificatesSuccess",
2719+
"params": {},
2720+
"vendorParams": {
2721+
"region": "us-west-2"
2722+
},
2723+
"vendorParamsShape": "aws.test#AwsVendorParams",
2724+
"expect": {
2725+
"success": {}
2726+
}
2727+
}
2728+
]
27012729
}
27022730
},
27032731
"com.amazonaws.acm#ListCertificatesRequest": {

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,20 @@
19681968
"smithy.api#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}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
19691969
}
19701970
},
1971+
"com.amazonaws.bedrockagent#BedrockEmbeddingModelConfiguration": {
1972+
"type": "structure",
1973+
"members": {
1974+
"dimensions": {
1975+
"target": "com.amazonaws.bedrockagent#Dimensions",
1976+
"traits": {
1977+
"smithy.api#documentation": "<p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>"
1978+
}
1979+
}
1980+
},
1981+
"traits": {
1982+
"smithy.api#documentation": "<p>The vector configuration details for the Bedrock embeddings model.</p>"
1983+
}
1984+
},
19711985
"com.amazonaws.bedrockagent#BucketOwnerAccountId": {
19721986
"type": "string",
19731987
"traits": {
@@ -3469,6 +3483,15 @@
34693483
}
34703484
}
34713485
},
3486+
"com.amazonaws.bedrockagent#Dimensions": {
3487+
"type": "integer",
3488+
"traits": {
3489+
"smithy.api#range": {
3490+
"min": 0,
3491+
"max": 4096
3492+
}
3493+
}
3494+
},
34723495
"com.amazonaws.bedrockagent#DisassociateAgentKnowledgeBase": {
34733496
"type": "operation",
34743497
"input": {
@@ -3559,6 +3582,20 @@
35593582
"smithy.api#pattern": "^DRAFT$"
35603583
}
35613584
},
3585+
"com.amazonaws.bedrockagent#EmbeddingModelConfiguration": {
3586+
"type": "structure",
3587+
"members": {
3588+
"bedrockEmbeddingModelConfiguration": {
3589+
"target": "com.amazonaws.bedrockagent#BedrockEmbeddingModelConfiguration",
3590+
"traits": {
3591+
"smithy.api#documentation": "<p>The vector configuration details on the Bedrock embeddings model.</p>"
3592+
}
3593+
}
3594+
},
3595+
"traits": {
3596+
"smithy.api#documentation": "<p>The configuration details for the embeddings model.</p>"
3597+
}
3598+
},
35623599
"com.amazonaws.bedrockagent#FailureReason": {
35633600
"type": "string",
35643601
"traits": {
@@ -8090,6 +8127,12 @@
80908127
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>",
80918128
"smithy.api#required": {}
80928129
}
8130+
},
8131+
"embeddingModelConfiguration": {
8132+
"target": "com.amazonaws.bedrockagent#EmbeddingModelConfiguration",
8133+
"traits": {
8134+
"smithy.api#documentation": "<p>The embeddings model configuration details for the vector model used in Knowledge Base.</p>"
8135+
}
80938136
}
80948137
},
80958138
"traits": {

0 commit comments

Comments
 (0)