Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Nov 26, 2024
1 parent 03a0ffc commit 6ee2a45
Show file tree
Hide file tree
Showing 5 changed files with 2,125 additions and 287 deletions.
72 changes: 72 additions & 0 deletions codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,42 @@
}
}
},
"com.amazonaws.bedrockagentruntime#CustomOrchestrationTrace": {
"type": "structure",
"members": {
"traceId": {
"target": "com.amazonaws.bedrockagentruntime#TraceId",
"traits": {
"smithy.api#documentation": "<p>\n The unique identifier of the trace. \n </p>"
}
},
"event": {
"target": "com.amazonaws.bedrockagentruntime#CustomOrchestrationTraceEvent",
"traits": {
"smithy.api#documentation": "<p>\n The trace event details used with the custom orchestration.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n The trace behavior for the custom orchestration. \n </p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockagentruntime#CustomOrchestrationTraceEvent": {
"type": "structure",
"members": {
"text": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>\n The text that prompted the event at this step.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n The event in the custom orchestration sequence.\n </p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockagentruntime#DateTimestamp": {
"type": "timestamp",
"traits": {
Expand Down Expand Up @@ -4066,6 +4102,12 @@
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the agent memory.</p>"
}
},
"streamingConfigurations": {
"target": "com.amazonaws.bedrockagentruntime#StreamingConfigurations",
"traits": {
"smithy.api#documentation": "<p>\n Specifies the configurations for streaming.\n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7002,6 +7044,30 @@
}
}
},
"com.amazonaws.bedrockagentruntime#StreamingConfigurations": {
"type": "structure",
"members": {
"streamFinalResponse": {
"target": "smithy.api#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>\n Specifies whether to enable streaming for the final response. This is set to <code>false</code> by default.\n </p>"
}
},
"applyGuardrailInterval": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>\n The guardrail interval to apply as response is generated.\n </p>",
"smithy.api#range": {
"min": 1
}
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Configurations for streaming.\n </p>"
}
},
"com.amazonaws.bedrockagentruntime#SummaryText": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -7166,6 +7232,12 @@
"traits": {
"smithy.api#documentation": "<p>Contains information about the failure of the interaction.</p>"
}
},
"customOrchestrationTrace": {
"target": "com.amazonaws.bedrockagentruntime#CustomOrchestrationTrace",
"traits": {
"smithy.api#documentation": "<p>\n Details about the custom orchestration step in which the agent determines the order in which actions are executed. \n </p>"
}
}
},
"traits": {
Expand Down
81 changes: 81 additions & 0 deletions codegen/sdk-codegen/aws-models/bedrock-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,18 @@
"smithy.api#documentation": "<p>The description of the agent.</p>"
}
},
"orchestrationType": {
"target": "com.amazonaws.bedrockagent#OrchestrationType",
"traits": {
"smithy.api#documentation": "<p>\n Specifies the orchestration strategy for the agent.\n </p>"
}
},
"customOrchestration": {
"target": "com.amazonaws.bedrockagent#CustomOrchestration",
"traits": {
"smithy.api#documentation": "<p>\n Contains custom orchestration configurations for the agent.\n </p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.bedrockagent#SessionTTL",
"traits": {
Expand Down Expand Up @@ -2717,6 +2729,18 @@
"smithy.api#documentation": "<p>A description of the agent.</p>"
}
},
"orchestrationType": {
"target": "com.amazonaws.bedrockagent#OrchestrationType",
"traits": {
"smithy.api#documentation": "<p>\n Specifies the type of orchestration strategy for the agent. This is set to <code>DEFAULT</code> orchestration type, by default.\n </p>"
}
},
"customOrchestration": {
"target": "com.amazonaws.bedrockagent#CustomOrchestration",
"traits": {
"smithy.api#documentation": "<p>\n Contains details of the custom orchestration configured for the agent.\n </p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.bedrockagent#SessionTTL",
"traits": {
Expand Down Expand Up @@ -3842,6 +3866,20 @@
}
}
},
"com.amazonaws.bedrockagent#CustomOrchestration": {
"type": "structure",
"members": {
"executor": {
"target": "com.amazonaws.bedrockagent#OrchestrationExecutor",
"traits": {
"smithy.api#documentation": "<p>\n The structure of the executor invoking the actions in custom orchestration. \n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Details of custom orchestration.\n </p>"
}
},
"com.amazonaws.bedrockagent#CustomTransformationConfiguration": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -10684,6 +10722,37 @@
"smithy.api#pattern": "^.*$"
}
},
"com.amazonaws.bedrockagent#OrchestrationExecutor": {
"type": "union",
"members": {
"lambda": {
"target": "com.amazonaws.bedrockagent#LambdaArn",
"traits": {
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.\n </p>"
}
},
"com.amazonaws.bedrockagent#OrchestrationType": {
"type": "enum",
"members": {
"DEFAULT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DEFAULT"
}
},
"CUSTOM_ORCHESTRATION": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CUSTOM_ORCHESTRATION"
}
}
}
},
"com.amazonaws.bedrockagent#OutputFlowNodeConfiguration": {
"type": "structure",
"members": {},
Expand Down Expand Up @@ -13880,6 +13949,18 @@
"smithy.api#documentation": "<p>Specifies a new description of the agent.</p>"
}
},
"orchestrationType": {
"target": "com.amazonaws.bedrockagent#OrchestrationType",
"traits": {
"smithy.api#documentation": "<p>\n Specifies the type of orchestration strategy for the agent. This is set to <code>DEFAULT</code> orchestration type, by default.\n </p>"
}
},
"customOrchestration": {
"target": "com.amazonaws.bedrockagent#CustomOrchestration",
"traits": {
"smithy.api#documentation": "<p>\n Contains details of the custom orchestration configured for the agent.\n </p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.bedrockagent#SessionTTL",
"traits": {
Expand Down
Loading

0 comments on commit 6ee2a45

Please sign in to comment.