Skip to content

Commit 093e3a3

Browse files
Updated API models and rebuilt service gems.
1 parent bb144f4 commit 093e3a3

File tree

37 files changed

+734
-141
lines changed

37 files changed

+734
-141
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ RubyGems.org page under "LINKS" section.
541541
| Amazon EMR | Aws::EMR | aws-sdk-emr | 2009-03-31 |
542542
| Amazon EMR Containers | Aws::EMRContainers | aws-sdk-emrcontainers | 2020-10-01 |
543543
| Amazon ElastiCache | Aws::ElastiCache | aws-sdk-elasticache | 2015-02-02 |
544-
| Amazon Elastic Inference | Aws::ElasticInference | aws-sdk-elasticinference | 2017-07-25 |
545544
| Amazon Elastic Block Store | Aws::EBS | aws-sdk-ebs | 2019-11-02 |
546545
| Amazon Elastic Compute Cloud | Aws::EC2 | aws-sdk-ec2 | 2016-11-15 |
547546
| Amazon Elastic Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |

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

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@
547547
"modelArn":{"shape":"BedrockModelArn"}
548548
}
549549
},
550+
"Blob":{"type":"blob"},
550551
"Boolean":{
551552
"type":"boolean",
552553
"box":true
@@ -2143,7 +2144,7 @@
21432144
"MaximumLength":{
21442145
"type":"integer",
21452146
"box":true,
2146-
"max":4096,
2147+
"max":8192,
21472148
"min":0
21482149
},
21492150
"Memories":{
@@ -2399,6 +2400,7 @@
23992400
"members":{
24002401
"metadata":{"shape":"Metadata"},
24012402
"rawResponse":{"shape":"RawResponse"},
2403+
"reasoningContent":{"shape":"ReasoningContentBlock"},
24022404
"traceId":{"shape":"TraceId"}
24032405
},
24042406
"sensitive":true
@@ -2528,6 +2530,7 @@
25282530
"metadata":{"shape":"Metadata"},
25292531
"parsedResponse":{"shape":"PostProcessingParsedResponse"},
25302532
"rawResponse":{"shape":"RawResponse"},
2533+
"reasoningContent":{"shape":"ReasoningContentBlock"},
25312534
"traceId":{"shape":"TraceId"}
25322535
},
25332536
"sensitive":true
@@ -2554,6 +2557,7 @@
25542557
"metadata":{"shape":"Metadata"},
25552558
"parsedResponse":{"shape":"PreProcessingParsedResponse"},
25562559
"rawResponse":{"shape":"RawResponse"},
2560+
"reasoningContent":{"shape":"ReasoningContentBlock"},
25572561
"traceId":{"shape":"TraceId"}
25582562
},
25592563
"sensitive":true
@@ -2702,6 +2706,24 @@
27022706
},
27032707
"sensitive":true
27042708
},
2709+
"ReasoningContentBlock":{
2710+
"type":"structure",
2711+
"members":{
2712+
"reasoningText":{"shape":"ReasoningTextBlock"},
2713+
"redactedContent":{"shape":"Blob"}
2714+
},
2715+
"sensitive":true,
2716+
"union":true
2717+
},
2718+
"ReasoningTextBlock":{
2719+
"type":"structure",
2720+
"required":["text"],
2721+
"members":{
2722+
"signature":{"shape":"String"},
2723+
"text":{"shape":"String"}
2724+
},
2725+
"sensitive":true
2726+
},
27052727
"RepromptResponse":{
27062728
"type":"structure",
27072729
"members":{

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

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@
295295
"BedrockRerankingConfiguration$modelConfiguration": "<p>Contains configurations for a reranker model.</p>"
296296
}
297297
},
298+
"Blob": {
299+
"base": null,
300+
"refs": {
301+
"ReasoningContentBlock$redactedContent": "<p>The content in the reasoning that was encrypted by the model provider for trust and safety reasons.</p>"
302+
}
303+
},
298304
"Boolean": {
299305
"base": null,
300306
"refs": {
@@ -435,7 +441,7 @@
435441
"refs": {
436442
"ModelInvocationInput$parserMode": "<p>Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the <code>promptType</code>.</p>",
437443
"ModelInvocationInput$promptCreationMode": "<p>Specifies whether the default prompt template was <code>OVERRIDDEN</code>. If it was, the <code>basePromptTemplate</code> that was set in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> object when the agent was created or updated is used instead.</p>",
438-
"PromptConfiguration$parserMode": "<p>Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the <code>promptType</code>. If you set the field as <code>OVERRIDEN</code>, the <code>overrideLambda</code> field in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> must be specified with the ARN of a Lambda function.</p>",
444+
"PromptConfiguration$parserMode": "<p>Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the <code>promptType</code>. If you set the field as <code>OVERRIDDEN</code>, the <code>overrideLambda</code> field in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> must be specified with the ARN of a Lambda function.</p>",
439445
"PromptConfiguration$promptCreationMode": "<p>Specifies whether to override the default prompt template for this <code>promptType</code>. Set this value to <code>OVERRIDDEN</code> to use the prompt that you provide in the <code>basePromptTemplate</code>. If you leave it as <code>DEFAULT</code>, the agent uses a default prompt template.</p>"
440446
}
441447
},
@@ -1998,6 +2004,20 @@
19982004
"RoutingClassifierModelInvocationOutput$rawResponse": "<p>The invocation's raw response.</p>"
19992005
}
20002006
},
2007+
"ReasoningContentBlock": {
2008+
"base": "<p>Contains content regarding the reasoning that the foundation model made with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.</p>",
2009+
"refs": {
2010+
"OrchestrationModelInvocationOutput$reasoningContent": "<p>Contains content about the reasoning that the model made during the orchestration step. </p>",
2011+
"PostProcessingModelInvocationOutput$reasoningContent": "<p>Contains content about the reasoning that the model made during the post-processing step.</p>",
2012+
"PreProcessingModelInvocationOutput$reasoningContent": "<p>Contains content about the reasoning that the model made during the pre-processing step. </p>"
2013+
}
2014+
},
2015+
"ReasoningTextBlock": {
2016+
"base": "<p>Contains information about the reasoning that the model used to return the content in the content block.</p>",
2017+
"refs": {
2018+
"ReasoningContentBlock$reasoningText": "<p>Contains information about the reasoning that the model used to return the content in the content block.</p>"
2019+
}
2020+
},
20012021
"RepromptResponse": {
20022022
"base": "<p>Contains details about the agent's response to reprompt the input.</p>",
20032023
"refs": {
@@ -2611,6 +2631,8 @@
26112631
"PromptSessionAttributesMap$key": null,
26122632
"PromptSessionAttributesMap$value": null,
26132633
"RawResponse$content": "<p>The foundation model's raw output content.</p>",
2634+
"ReasoningTextBlock$signature": "<p>A hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with. You must submit the signature in subsequent <code>Converse</code> requests, in addition to the previous messages. If the previous messages are tampered with, the response throws an error.</p>",
2635+
"ReasoningTextBlock$text": "<p>Text describing the reasoning that the model used to return the content in the content block.</p>",
26142636
"RepromptResponse$text": "<p>The text reprompting the input.</p>",
26152637
"ResponseBody$key": null,
26162638
"RetrievalResultConfluenceLocation$url": "<p>The Confluence host URL for the data source location.</p>",

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6633,7 +6633,6 @@
66336633
},
66346634
"TextPrompt":{
66356635
"type":"string",
6636-
"max":200000,
66376636
"min":1,
66386637
"sensitive":true
66396638
},

apis/bedrock-runtime/2023-09-30/api-2.json

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
"members":{
310310
}
311311
},
312+
"Blob":{"type":"blob"},
312313
"Body":{
313314
"type":"blob",
314315
"max":25000000,
@@ -335,15 +336,17 @@
335336
"video":{"shape":"VideoBlock"},
336337
"toolUse":{"shape":"ToolUseBlock"},
337338
"toolResult":{"shape":"ToolResultBlock"},
338-
"guardContent":{"shape":"GuardrailConverseContentBlock"}
339+
"guardContent":{"shape":"GuardrailConverseContentBlock"},
340+
"reasoningContent":{"shape":"ReasoningContentBlock"}
339341
},
340342
"union":true
341343
},
342344
"ContentBlockDelta":{
343345
"type":"structure",
344346
"members":{
345347
"text":{"shape":"String"},
346-
"toolUse":{"shape":"ToolUseBlockDelta"}
348+
"toolUse":{"shape":"ToolUseBlockDelta"},
349+
"reasoningContent":{"shape":"ReasoningContentBlockDelta"}
347350
},
348351
"union":true
349352
},
@@ -1666,6 +1669,34 @@
16661669
},
16671670
"union":true
16681671
},
1672+
"ReasoningContentBlock":{
1673+
"type":"structure",
1674+
"members":{
1675+
"reasoningText":{"shape":"ReasoningTextBlock"},
1676+
"redactedContent":{"shape":"Blob"}
1677+
},
1678+
"sensitive":true,
1679+
"union":true
1680+
},
1681+
"ReasoningContentBlockDelta":{
1682+
"type":"structure",
1683+
"members":{
1684+
"text":{"shape":"String"},
1685+
"redactedContent":{"shape":"Blob"},
1686+
"signature":{"shape":"String"}
1687+
},
1688+
"sensitive":true,
1689+
"union":true
1690+
},
1691+
"ReasoningTextBlock":{
1692+
"type":"structure",
1693+
"required":["text"],
1694+
"members":{
1695+
"text":{"shape":"String"},
1696+
"signature":{"shape":"String"}
1697+
},
1698+
"sensitive":true
1699+
},
16691700
"RequestMetadata":{
16701701
"type":"map",
16711702
"key":{"shape":"RequestMetadataKeyString"},

apis/bedrock-runtime/2023-09-30/docs-2.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@
108108
"ToolChoice$auto": "<p>(Default). The Model automatically decides if a tool should be called or whether to generate text instead. </p>"
109109
}
110110
},
111+
"Blob": {
112+
"base": null,
113+
"refs": {
114+
"ReasoningContentBlock$redactedContent": "<p>The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.</p>",
115+
"ReasoningContentBlockDelta$redactedContent": "<p>The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.</p>"
116+
}
117+
},
111118
"Body": {
112119
"base": null,
113120
"refs": {
@@ -128,7 +135,7 @@
128135
}
129136
},
130137
"ContentBlockDelta": {
131-
"base": "<p>A bock of content in a streaming response.</p>",
138+
"base": "<p>A block of content in a streaming response.</p>",
132139
"refs": {
133140
"ContentBlockDeltaEvent$delta": "<p>The delta for a content block delta event.</p>"
134141
}
@@ -1113,6 +1120,24 @@
11131120
"PromptVariableMap$value": null
11141121
}
11151122
},
1123+
"ReasoningContentBlock": {
1124+
"base": "<p>Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.</p>",
1125+
"refs": {
1126+
"ContentBlock$reasoningContent": "<p>Contains content regarding the reasoning that is carried out by the model. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.</p>"
1127+
}
1128+
},
1129+
"ReasoningContentBlockDelta": {
1130+
"base": "<p>Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.</p>",
1131+
"refs": {
1132+
"ContentBlockDelta$reasoningContent": "<p>Contains content regarding the reasoning that is carried out by the model. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.</p>"
1133+
}
1134+
},
1135+
"ReasoningTextBlock": {
1136+
"base": "<p>Contains the reasoning that the model used to return the output.</p>",
1137+
"refs": {
1138+
"ReasoningContentBlock$reasoningText": "<p>The reasoning that the model used to return the output.</p>"
1139+
}
1140+
},
11161141
"RequestMetadata": {
11171142
"base": null,
11181143
"refs": {
@@ -1228,6 +1253,10 @@
12281253
"GuardrailTopic$name": "<p>The name for the guardrail.</p>",
12291254
"PromptVariableMap$key": null,
12301255
"PromptVariableValues$text": "<p>The text value that the variable maps to.</p>",
1256+
"ReasoningContentBlockDelta$text": "<p>The reasoning that the model used to return the output.</p>",
1257+
"ReasoningContentBlockDelta$signature": "<p>A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.</p>",
1258+
"ReasoningTextBlock$text": "<p>The reasoning that the model used to return the output.</p>",
1259+
"ReasoningTextBlock$signature": "<p>A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.</p>",
12311260
"ToolResultContentBlock$text": "<p>A tool result that is text.</p>",
12321261
"ToolUseBlockDelta$input": "<p>The input for a requested tool.</p>"
12331262
}

0 commit comments

Comments
 (0)