Skip to content

Commit f673a1b

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 48421fd commit f673a1b

File tree

7 files changed

+3392
-198
lines changed

7 files changed

+3392
-198
lines changed

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

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,27 +199,27 @@
199199
"builtIn": "AWS::Region",
200200
"required": false,
201201
"documentation": "The AWS region used to dispatch the request.",
202-
"type": "String"
202+
"type": "string"
203203
},
204204
"UseDualStack": {
205205
"builtIn": "AWS::UseDualStack",
206206
"required": true,
207207
"default": false,
208208
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
209-
"type": "Boolean"
209+
"type": "boolean"
210210
},
211211
"UseFIPS": {
212212
"builtIn": "AWS::UseFIPS",
213213
"required": true,
214214
"default": false,
215215
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
216-
"type": "Boolean"
216+
"type": "boolean"
217217
},
218218
"Endpoint": {
219219
"builtIn": "SDK::Endpoint",
220220
"required": false,
221221
"documentation": "Override the endpoint used to send this request",
222-
"type": "String"
222+
"type": "string"
223223
}
224224
},
225225
"rules": [
@@ -4213,6 +4213,12 @@
42134213
"smithy.api#documentation": "<p>The policy definition that contains the formal logic rules, variables, and custom variable types used to validate foundation model responses in your application.</p>"
42144214
}
42154215
},
4216+
"kmsKeyId": {
4217+
"target": "com.amazonaws.bedrock#KmsKeyId",
4218+
"traits": {
4219+
"smithy.api#documentation": "<p>The identifier of the KMS key to use for encrypting the automated reasoning policy and its associated artifacts. If you don't specify a KMS key, Amazon Bedrock uses an KMS managed key for encryption. For enhanced security and control, you can specify a customer managed KMS key.</p>"
4220+
}
4221+
},
42164222
"tags": {
42174223
"target": "com.amazonaws.bedrock#TagList",
42184224
"traits": {
@@ -6571,9 +6577,15 @@
65716577
{
65726578
"target": "com.amazonaws.bedrock#AccessDeniedException"
65736579
},
6580+
{
6581+
"target": "com.amazonaws.bedrock#ConflictException"
6582+
},
65746583
{
65756584
"target": "com.amazonaws.bedrock#InternalServerException"
65766585
},
6586+
{
6587+
"target": "com.amazonaws.bedrock#ResourceInUseException"
6588+
},
65776589
{
65786590
"target": "com.amazonaws.bedrock#ResourceNotFoundException"
65796591
},
@@ -6689,6 +6701,14 @@
66896701
"smithy.api#httpLabel": {},
66906702
"smithy.api#required": {}
66916703
}
6704+
},
6705+
"force": {
6706+
"target": "smithy.api#Boolean",
6707+
"traits": {
6708+
"smithy.api#default": false,
6709+
"smithy.api#documentation": "<p>Specifies whether to force delete the automated reasoning policy even if it has active resources. When <code>false</code>, Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When <code>true</code>, Amazon Bedrock will delete the policy and all its artifacts without validation. Default is <code>false</code>. </p>",
6710+
"smithy.api#httpQuery": "force"
6711+
}
66926712
}
66936713
},
66946714
"traits": {
@@ -9373,6 +9393,12 @@
93739393
"smithy.api#required": {}
93749394
}
93759395
},
9396+
"kmsKeyArn": {
9397+
"target": "com.amazonaws.bedrock#KmsKeyArn",
9398+
"traits": {
9399+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the automated reasoning policy and its associated artifacts. If a KMS key is not provided during the initial CreateAutomatedReasoningPolicyRequest, the kmsKeyArn won't be included in the GetAutomatedReasoningPolicyResponse. </p>"
9400+
}
9401+
},
93769402
"createdAt": {
93779403
"target": "com.amazonaws.bedrock#Timestamp",
93789404
"traits": {

0 commit comments

Comments
 (0)