Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Nov 26, 2024
1 parent a681d0f commit a86e0e8
Show file tree
Hide file tree
Showing 58 changed files with 5,488 additions and 490 deletions.
31 changes: 30 additions & 1 deletion apis/bedrock-agent-runtime/2023-07-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,21 @@
"type":"string",
"enum":["RETURN_CONTROL"]
},
"CustomOrchestrationTrace":{
"type":"structure",
"members":{
"event":{"shape":"CustomOrchestrationTraceEvent"},
"traceId":{"shape":"TraceId"}
},
"sensitive":true
},
"CustomOrchestrationTraceEvent":{
"type":"structure",
"members":{
"text":{"shape":"String"}
},
"sensitive":true
},
"DateTimestamp":{
"type":"timestamp",
"timestampFormat":"iso8601"
Expand Down Expand Up @@ -1509,7 +1524,8 @@
"location":"uri",
"locationName":"sessionId"
},
"sessionState":{"shape":"SessionState"}
"sessionState":{"shape":"SessionState"},
"streamingConfigurations":{"shape":"StreamingConfigurations"}
}
},
"InvokeAgentResponse":{
Expand Down Expand Up @@ -2618,6 +2634,18 @@
"max":4,
"min":0
},
"StreamingConfigurations":{
"type":"structure",
"members":{
"applyGuardrailInterval":{"shape":"StreamingConfigurationsApplyGuardrailIntervalInteger"},
"streamFinalResponse":{"shape":"Boolean"}
}
},
"StreamingConfigurationsApplyGuardrailIntervalInteger":{
"type":"integer",
"box":true,
"min":1
},
"String":{"type":"string"},
"SummaryText":{
"type":"string",
Expand Down Expand Up @@ -2692,6 +2720,7 @@
"Trace":{
"type":"structure",
"members":{
"customOrchestrationTrace":{"shape":"CustomOrchestrationTrace"},
"failureTrace":{"shape":"FailureTrace"},
"guardrailTrace":{"shape":"GuardrailTrace"},
"orchestrationTrace":{"shape":"OrchestrationTrace"},
Expand Down
29 changes: 28 additions & 1 deletion apis/bedrock-agent-runtime/2023-07-26/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@
"InvokeInlineAgentRequest$enableTrace": "<p> Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html\">Using trace</a>. <pre><code> &lt;/p&gt; </code></pre>",
"InvokeInlineAgentRequest$endSession": "<p> Specifies whether to end the session with the inline agent or not. </p>",
"ParameterDetail$required": "<p> Whether the parameter is required for the agent to complete the function for action group invocation. </p>",
"PreProcessingParsedResponse$isValid": "<p>Whether the user input is valid or not. If <code>false</code>, the agent doesn't proceed to orchestration.</p>"
"PreProcessingParsedResponse$isValid": "<p>Whether the user input is valid or not. If <code>false</code>, the agent doesn't proceed to orchestration.</p>",
"StreamingConfigurations$streamFinalResponse": "<p> Specifies whether to enable streaming for the final response. This is set to <code>false</code> by default. </p>"
}
},
"ByteContentBlob": {
Expand Down Expand Up @@ -310,6 +311,18 @@
"ActionGroupExecutor$customControl": "<p> To return the action group invocation results directly in the <code>InvokeInlineAgent</code> response, specify <code>RETURN_CONTROL</code>. </p>"
}
},
"CustomOrchestrationTrace": {
"base": "<p> The trace behavior for the custom orchestration. </p>",
"refs": {
"Trace$customOrchestrationTrace": "<p> Details about the custom orchestration step in which the agent determines the order in which actions are executed. </p>"
}
},
"CustomOrchestrationTraceEvent": {
"base": "<p> The event in the custom orchestration sequence. </p>",
"refs": {
"CustomOrchestrationTrace$event": "<p> The trace event details used with the custom orchestration. </p>"
}
},
"DateTimestamp": {
"base": "<p>Time Stamp.</p>",
"refs": {
Expand Down Expand Up @@ -1963,6 +1976,18 @@
"InferenceConfiguration$stopSequences": "<p>A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.</p>"
}
},
"StreamingConfigurations": {
"base": "<p> Configurations for streaming. </p>",
"refs": {
"InvokeAgentRequest$streamingConfigurations": "<p> Specifies the configurations for streaming. </p>"
}
},
"StreamingConfigurationsApplyGuardrailIntervalInteger": {
"base": null,
"refs": {
"StreamingConfigurations$applyGuardrailInterval": "<p> The guardrail interval to apply as response is generated. </p>"
}
},
"String": {
"base": null,
"refs": {
Expand All @@ -1981,6 +2006,7 @@
"CodeInterpreterInvocationOutput$executionOutput": "<p>Contains the successful output returned from code execution</p>",
"ContentBody$body": "<p>The body of the API response.</p>",
"ContentMap$key": null,
"CustomOrchestrationTraceEvent$text": "<p> The text that prompted the event at this step. </p>",
"Files$member": null,
"FlowTraceCondition$conditionName": "<p>The name of the condition.</p>",
"FunctionInvocationInput$actionGroup": "<p>The action group that the function belongs to.</p>",
Expand Down Expand Up @@ -2100,6 +2126,7 @@
"TraceId": {
"base": null,
"refs": {
"CustomOrchestrationTrace$traceId": "<p> The unique identifier of the trace. </p>",
"FailureTrace$traceId": "<p>The unique identifier of the trace.</p>",
"GuardrailTrace$traceId": "<p>The details of the trace Id used in the Guardrail Trace.</p>",
"InvocationInput$traceId": "<p>The unique identifier of the trace.</p>",
Expand Down
26 changes: 26 additions & 0 deletions apis/bedrock-agent/2023-06-05/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,7 @@
"agentVersion":{"shape":"DraftVersion"},
"clientToken":{"shape":"ClientToken"},
"createdAt":{"shape":"DateTimestamp"},
"customOrchestration":{"shape":"CustomOrchestration"},
"customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
"description":{"shape":"Description"},
"failureReasons":{"shape":"FailureReasons"},
Expand All @@ -1261,6 +1262,7 @@
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
"instruction":{"shape":"Instruction"},
"memoryConfiguration":{"shape":"MemoryConfiguration"},
"orchestrationType":{"shape":"OrchestrationType"},
"preparedAt":{"shape":"DateTimestamp"},
"promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"},
"recommendedActions":{"shape":"RecommendedActions"},
Expand Down Expand Up @@ -1847,13 +1849,15 @@
"shape":"ClientToken",
"idempotencyToken":true
},
"customOrchestration":{"shape":"CustomOrchestration"},
"customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
"description":{"shape":"Description"},
"foundationModel":{"shape":"ModelIdentifier"},
"guardrailConfiguration":{"shape":"GuardrailConfiguration"},
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
"instruction":{"shape":"Instruction"},
"memoryConfiguration":{"shape":"MemoryConfiguration"},
"orchestrationType":{"shape":"OrchestrationType"},
"promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"},
"tags":{"shape":"TagsMap"}
}
Expand Down Expand Up @@ -2145,6 +2149,12 @@
"type":"string",
"enum":["RETURN_CONTROL"]
},
"CustomOrchestration":{
"type":"structure",
"members":{
"executor":{"shape":"OrchestrationExecutor"}
}
},
"CustomTransformationConfiguration":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -4527,6 +4537,20 @@
"min":0,
"pattern":"^.*$"
},
"OrchestrationExecutor":{
"type":"structure",
"members":{
"lambda":{"shape":"LambdaArn"}
},
"union":true
},
"OrchestrationType":{
"type":"string",
"enum":[
"DEFAULT",
"CUSTOM_ORCHESTRATION"
]
},
"OutputFlowNodeConfiguration":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -5840,13 +5864,15 @@
},
"agentName":{"shape":"Name"},
"agentResourceRoleArn":{"shape":"AgentRoleArn"},
"customOrchestration":{"shape":"CustomOrchestration"},
"customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
"description":{"shape":"Description"},
"foundationModel":{"shape":"ModelIdentifier"},
"guardrailConfiguration":{"shape":"GuardrailConfiguration"},
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
"instruction":{"shape":"Instruction"},
"memoryConfiguration":{"shape":"MemoryConfiguration"},
"orchestrationType":{"shape":"OrchestrationType"},
"promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"}
}
},
Expand Down
23 changes: 23 additions & 0 deletions apis/bedrock-agent/2023-06-05/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,14 @@
"ActionGroupExecutor$customControl": "<p>To return the action group invocation results directly in the <code>InvokeAgent</code> response, specify <code>RETURN_CONTROL</code>.</p>"
}
},
"CustomOrchestration": {
"base": "<p> Details of custom orchestration. </p>",
"refs": {
"Agent$customOrchestration": "<p> Contains custom orchestration configurations for the agent. </p>",
"CreateAgentRequest$customOrchestration": "<p> Contains details of the custom orchestration configured for the agent. </p>",
"UpdateAgentRequest$customOrchestration": "<p> Contains details of the custom orchestration configured for the agent. </p>"
}
},
"CustomTransformationConfiguration": {
"base": "<p>Settings for customizing steps in the data source content ingestion pipeline.</p> <p>You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them.</p> <p>To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk. </p>",
"refs": {
Expand Down Expand Up @@ -1955,6 +1963,7 @@
"refs": {
"ActionGroupExecutor$lambda": "<p>The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.</p>",
"LambdaFunctionFlowNodeConfiguration$lambdaArn": "<p>The Amazon Resource Name (ARN) of the Lambda function to invoke.</p>",
"OrchestrationExecutor$lambda": "<p> The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action. </p>",
"PromptOverrideConfiguration$overrideLambda": "<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html\">Parser Lambda function in Amazon Bedrock Agents</a>.</p>",
"TransformationLambdaConfiguration$lambdaArn": "<p>The function's ARN identifier.</p>"
}
Expand Down Expand Up @@ -2420,6 +2429,20 @@
"OpenSearchServerlessConfiguration$vectorIndexName": "<p>The name of the vector store.</p>"
}
},
"OrchestrationExecutor": {
"base": "<p> Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration. </p>",
"refs": {
"CustomOrchestration$executor": "<p> The structure of the executor invoking the actions in custom orchestration. </p>"
}
},
"OrchestrationType": {
"base": null,
"refs": {
"Agent$orchestrationType": "<p> Specifies the orchestration strategy for the agent. </p>",
"CreateAgentRequest$orchestrationType": "<p> Specifies the type of orchestration strategy for the agent. This is set to <code>DEFAULT</code> orchestration type, by default. </p>",
"UpdateAgentRequest$orchestrationType": "<p> Specifies the type of orchestration strategy for the agent. This is set to <code>DEFAULT</code> orchestration type, by default. </p>"
}
},
"OutputFlowNodeConfiguration": {
"base": "<p>Contains configurations for an output flow node in the flow. You specify the data type expected for the input into the node in the <code>type</code> field and how to return the final output in the <code>expression</code> field.</p>",
"refs": {
Expand Down
11 changes: 9 additions & 2 deletions apis/connect/2017-08-08/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5782,7 +5782,6 @@
"Description":{"shape":"ContactFlowDescription"},
"Content":{"shape":"ContactFlowContent"},
"Tags":{"shape":"TagMap"},
"IsDefault":{"shape":"Boolean"},
"FlowContentSha256":{"shape":"FlowContentSha256"},
"Version":{"shape":"ResourceVersion"},
"VersionDescription":{"shape":"ContactFlowDescription"},
Expand Down Expand Up @@ -15283,9 +15282,17 @@
"SegmentAttributeValue":{
"type":"structure",
"members":{
"ValueString":{"shape":"SegmentAttributeValueString"}
"ValueString":{"shape":"SegmentAttributeValueString"},
"ValueMap":{"shape":"SegmentAttributeValueMap"},
"ValueInteger":{"shape":"SegmentAttributeValueInteger"}
}
},
"SegmentAttributeValueInteger":{"type":"integer"},
"SegmentAttributeValueMap":{
"type":"map",
"key":{"shape":"SegmentAttributeName"},
"value":{"shape":"SegmentAttributeValue"}
},
"SegmentAttributeValueString":{
"type":"string",
"max":1024,
Expand Down
Loading

0 comments on commit a86e0e8

Please sign in to comment.