Skip to content

Commit e0ab58a

Browse files
feat: update AWS API models
1 parent 5064a4a commit e0ab58a

File tree

9 files changed

+1613
-219
lines changed

9 files changed

+1613
-219
lines changed

codegen/sdk/aws-models/appstream.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@
137137
"traits": {
138138
"smithy.api#enumValue": "DOMAIN_SMART_CARD_SIGNIN"
139139
}
140+
},
141+
"AUTO_TIME_ZONE_REDIRECTION": {
142+
"target": "smithy.api#Unit",
143+
"traits": {
144+
"smithy.api#enumValue": "AUTO_TIME_ZONE_REDIRECTION"
145+
}
140146
}
141147
}
142148
},

codegen/sdk/aws-models/b2bi.json

Lines changed: 1328 additions & 167 deletions
Large diffs are not rendered by default.

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

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,26 +1504,26 @@
15041504
"modelArn": {
15051505
"target": "com.amazonaws.bedrockagentruntime#BedrockModelArn",
15061506
"traits": {
1507-
"smithy.api#documentation": "<p>The modelArn used with the external source wrapper object in the retrieveAndGenerate function.</p>",
1507+
"smithy.api#documentation": "<p>The model Amazon Resource Name (ARN) for the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>",
15081508
"smithy.api#required": {}
15091509
}
15101510
},
15111511
"sources": {
15121512
"target": "com.amazonaws.bedrockagentruntime#ExternalSources",
15131513
"traits": {
1514-
"smithy.api#documentation": "<p>The document used with the external source wrapper object in the retrieveAndGenerate function.</p>",
1514+
"smithy.api#documentation": "<p>The document for the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>",
15151515
"smithy.api#required": {}
15161516
}
15171517
},
15181518
"generationConfiguration": {
15191519
"target": "com.amazonaws.bedrockagentruntime#ExternalSourcesGenerationConfiguration",
15201520
"traits": {
1521-
"smithy.api#documentation": "<p>The prompt used with the external source wrapper object with the retrieveAndGenerate function.</p>"
1521+
"smithy.api#documentation": "<p>The prompt used with the external source wrapper object with the <code>retrieveAndGenerate</code> function.</p>"
15221522
}
15231523
}
15241524
},
15251525
"traits": {
1526-
"smithy.api#documentation": "<p>The configurations of the external source wrapper object in the retrieveAndGenerate function.</p>"
1526+
"smithy.api#documentation": "<p>The configurations of the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>"
15271527
}
15281528
},
15291529
"com.amazonaws.bedrockagentruntime#FailureReasonString": {
@@ -4217,6 +4217,12 @@
42174217
"traits": {
42184218
"smithy.api#documentation": "<p>Details about the response from the Lambda parsing of the output of the post-processing step.</p>"
42194219
}
4220+
},
4221+
"rawResponse": {
4222+
"target": "com.amazonaws.bedrockagentruntime#RawResponse"
4223+
},
4224+
"metadata": {
4225+
"target": "com.amazonaws.bedrockagentruntime#Metadata"
42204226
}
42214227
},
42224228
"traits": {
@@ -4274,6 +4280,12 @@
42744280
"traits": {
42754281
"smithy.api#documentation": "<p>Details about the response from the Lambda parsing of the output of the pre-processing step.</p>"
42764282
}
4283+
},
4284+
"rawResponse": {
4285+
"target": "com.amazonaws.bedrockagentruntime#RawResponse"
4286+
},
4287+
"metadata": {
4288+
"target": "com.amazonaws.bedrockagentruntime#Metadata"
42774289
}
42784290
},
42794291
"traits": {
@@ -5038,20 +5050,20 @@
50385050
"type": {
50395051
"target": "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateType",
50405052
"traits": {
5041-
"smithy.api#documentation": "<p>The type of resource that is queried by the request.</p>",
5053+
"smithy.api#documentation": "<p>The type of resource that contains your data for retrieving information and generating responses.</p>\n <p>If you choose ot use <code>EXTERNAL_SOURCES</code>, then currently only Claude 3 Sonnet models for knowledge bases are supported.</p>",
50425054
"smithy.api#required": {}
50435055
}
50445056
},
50455057
"knowledgeBaseConfiguration": {
50465058
"target": "com.amazonaws.bedrockagentruntime#KnowledgeBaseRetrieveAndGenerateConfiguration",
50475059
"traits": {
5048-
"smithy.api#documentation": "<p>Contains details about the resource being queried.</p>"
5060+
"smithy.api#documentation": "<p>Contains details about the knowledge base for retrieving information and generating responses.</p>"
50495061
}
50505062
},
50515063
"externalSourcesConfiguration": {
50525064
"target": "com.amazonaws.bedrockagentruntime#ExternalSourcesRetrieveAndGenerateConfiguration",
50535065
"traits": {
5054-
"smithy.api#documentation": "<p>The configuration used with the external source wrapper object in the retrieveAndGenerate function.</p>"
5066+
"smithy.api#documentation": "<p>The configuration for the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>"
50555067
}
50565068
}
50575069
},

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

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,12 @@
832832
"smithy.api#documentation": "<p>The assessment details in the response from the guardrail.</p>",
833833
"smithy.api#required": {}
834834
}
835+
},
836+
"guardrailCoverage": {
837+
"target": "com.amazonaws.bedrockruntime#GuardrailCoverage",
838+
"traits": {
839+
"smithy.api#documentation": "<p>The guardrail coverage details in the apply guardrail response.</p>"
840+
}
835841
}
836842
},
837843
"traits": {
@@ -1636,6 +1642,12 @@
16361642
"traits": {
16371643
"smithy.api#documentation": "<p>The contextual grounding policy used for the guardrail assessment.</p>"
16381644
}
1645+
},
1646+
"invocationMetrics": {
1647+
"target": "com.amazonaws.bedrockruntime#GuardrailInvocationMetrics",
1648+
"traits": {
1649+
"smithy.api#documentation": "<p>The invocation metrics for the guardrail assessment.</p>"
1650+
}
16391651
}
16401652
},
16411653
"traits": {
@@ -1732,6 +1744,12 @@
17321744
"smithy.api#required": {}
17331745
}
17341746
},
1747+
"filterStrength": {
1748+
"target": "com.amazonaws.bedrockruntime#GuardrailContentFilterStrength",
1749+
"traits": {
1750+
"smithy.api#documentation": "<p>The filter strength setting for the guardrail content filter.</p>"
1751+
}
1752+
},
17351753
"action": {
17361754
"target": "com.amazonaws.bedrockruntime#GuardrailContentPolicyAction",
17371755
"traits": {
@@ -1779,6 +1797,35 @@
17791797
"target": "com.amazonaws.bedrockruntime#GuardrailContentFilter"
17801798
}
17811799
},
1800+
"com.amazonaws.bedrockruntime#GuardrailContentFilterStrength": {
1801+
"type": "enum",
1802+
"members": {
1803+
"NONE": {
1804+
"target": "smithy.api#Unit",
1805+
"traits": {
1806+
"smithy.api#enumValue": "NONE"
1807+
}
1808+
},
1809+
"LOW": {
1810+
"target": "smithy.api#Unit",
1811+
"traits": {
1812+
"smithy.api#enumValue": "LOW"
1813+
}
1814+
},
1815+
"MEDIUM": {
1816+
"target": "smithy.api#Unit",
1817+
"traits": {
1818+
"smithy.api#enumValue": "MEDIUM"
1819+
}
1820+
},
1821+
"HIGH": {
1822+
"target": "smithy.api#Unit",
1823+
"traits": {
1824+
"smithy.api#enumValue": "HIGH"
1825+
}
1826+
}
1827+
}
1828+
},
17821829
"com.amazonaws.bedrockruntime#GuardrailContentFilterType": {
17831830
"type": "enum",
17841831
"members": {
@@ -2060,6 +2107,20 @@
20602107
"smithy.api#documentation": "<p>A text block that contains text that you want to assess with a guardrail. For more information, see <a>GuardrailConverseContentBlock</a>.</p>"
20612108
}
20622109
},
2110+
"com.amazonaws.bedrockruntime#GuardrailCoverage": {
2111+
"type": "structure",
2112+
"members": {
2113+
"textCharacters": {
2114+
"target": "com.amazonaws.bedrockruntime#GuardrailTextCharactersCoverage",
2115+
"traits": {
2116+
"smithy.api#documentation": "<p>The text characters of the guardrail coverage details.</p>"
2117+
}
2118+
}
2119+
},
2120+
"traits": {
2121+
"smithy.api#documentation": "<p>The action of the guardrail coverage details.</p>"
2122+
}
2123+
},
20632124
"com.amazonaws.bedrockruntime#GuardrailCustomWord": {
20642125
"type": "structure",
20652126
"members": {
@@ -2097,6 +2158,32 @@
20972158
"smithy.api#pattern": "^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$"
20982159
}
20992160
},
2161+
"com.amazonaws.bedrockruntime#GuardrailInvocationMetrics": {
2162+
"type": "structure",
2163+
"members": {
2164+
"guardrailProcessingLatency": {
2165+
"target": "com.amazonaws.bedrockruntime#GuardrailProcessingLatency",
2166+
"traits": {
2167+
"smithy.api#documentation": "<p>The processing latency details for the guardrail invocation metrics.</p>"
2168+
}
2169+
},
2170+
"usage": {
2171+
"target": "com.amazonaws.bedrockruntime#GuardrailUsage",
2172+
"traits": {
2173+
"smithy.api#documentation": "<p>The usage details for the guardrail invocation metrics.</p>"
2174+
}
2175+
},
2176+
"guardrailCoverage": {
2177+
"target": "com.amazonaws.bedrockruntime#GuardrailCoverage",
2178+
"traits": {
2179+
"smithy.api#documentation": "<p>The coverage details for the guardrail invocation metrics.</p>"
2180+
}
2181+
}
2182+
},
2183+
"traits": {
2184+
"smithy.api#documentation": "<p>The invocation metrics for the guardrail.</p>"
2185+
}
2186+
},
21002187
"com.amazonaws.bedrockruntime#GuardrailManagedWord": {
21012188
"type": "structure",
21022189
"members": {
@@ -2392,6 +2479,9 @@
23922479
}
23932480
}
23942481
},
2482+
"com.amazonaws.bedrockruntime#GuardrailProcessingLatency": {
2483+
"type": "long"
2484+
},
23952485
"com.amazonaws.bedrockruntime#GuardrailRegexFilter": {
23962486
"type": "structure",
23972487
"members": {
@@ -2558,6 +2648,26 @@
25582648
"smithy.api#documentation": "<p>The text block to be evaluated by the guardrail.</p>"
25592649
}
25602650
},
2651+
"com.amazonaws.bedrockruntime#GuardrailTextCharactersCoverage": {
2652+
"type": "structure",
2653+
"members": {
2654+
"guarded": {
2655+
"target": "com.amazonaws.bedrockruntime#TextCharactersGuarded",
2656+
"traits": {
2657+
"smithy.api#documentation": "<p>The text characters that were guarded by the guardrail coverage.</p>"
2658+
}
2659+
},
2660+
"total": {
2661+
"target": "com.amazonaws.bedrockruntime#TextCharactersTotal",
2662+
"traits": {
2663+
"smithy.api#documentation": "<p>The total text characters by the guardrail coverage.</p>"
2664+
}
2665+
}
2666+
},
2667+
"traits": {
2668+
"smithy.api#documentation": "<p>The guardrail coverage for the text characters.</p>"
2669+
}
2670+
},
25612671
"com.amazonaws.bedrockruntime#GuardrailTopic": {
25622672
"type": "structure",
25632673
"members": {
@@ -3569,6 +3679,12 @@
35693679
"target": "com.amazonaws.bedrockruntime#SystemContentBlock"
35703680
}
35713681
},
3682+
"com.amazonaws.bedrockruntime#TextCharactersGuarded": {
3683+
"type": "integer"
3684+
},
3685+
"com.amazonaws.bedrockruntime#TextCharactersTotal": {
3686+
"type": "integer"
3687+
},
35723688
"com.amazonaws.bedrockruntime#ThrottlingException": {
35733689
"type": "structure",
35743690
"members": {

codegen/sdk/aws-models/iotdeviceadvisor.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@
5555
}
5656
}
5757
},
58+
"com.amazonaws.iotdeviceadvisor#ClientToken": {
59+
"type": "string",
60+
"traits": {
61+
"smithy.api#length": {
62+
"min": 1,
63+
"max": 64
64+
},
65+
"smithy.api#pattern": "^[\\u0021-\\u007E]+$"
66+
}
67+
},
5868
"com.amazonaws.iotdeviceadvisor#ConflictException": {
5969
"type": "structure",
6070
"members": {
@@ -112,6 +122,13 @@
112122
"traits": {
113123
"smithy.api#documentation": "<p>The tags to be attached to the suite definition.</p>"
114124
}
125+
},
126+
"clientToken": {
127+
"target": "com.amazonaws.iotdeviceadvisor#ClientToken",
128+
"traits": {
129+
"smithy.api#documentation": "<p>The client token for the test suite definition creation. \n This token is used for tracking test suite definition creation \n using retries and obtaining its status. This parameter is optional.</p>",
130+
"smithy.api#idempotencyToken": {}
131+
}
115132
}
116133
},
117134
"traits": {

0 commit comments

Comments
 (0)