Skip to content

Commit 886275b

Browse files
feat: update AWS API models
1 parent c936d3c commit 886275b

File tree

5 files changed

+2125
-287
lines changed

5 files changed

+2125
-287
lines changed

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,42 @@
14321432
}
14331433
}
14341434
},
1435+
"com.amazonaws.bedrockagentruntime#CustomOrchestrationTrace": {
1436+
"type": "structure",
1437+
"members": {
1438+
"traceId": {
1439+
"target": "com.amazonaws.bedrockagentruntime#TraceId",
1440+
"traits": {
1441+
"smithy.api#documentation": "<p>\n The unique identifier of the trace. \n </p>"
1442+
}
1443+
},
1444+
"event": {
1445+
"target": "com.amazonaws.bedrockagentruntime#CustomOrchestrationTraceEvent",
1446+
"traits": {
1447+
"smithy.api#documentation": "<p>\n The trace event details used with the custom orchestration.\n </p>"
1448+
}
1449+
}
1450+
},
1451+
"traits": {
1452+
"smithy.api#documentation": "<p>\n The trace behavior for the custom orchestration. \n </p>",
1453+
"smithy.api#sensitive": {}
1454+
}
1455+
},
1456+
"com.amazonaws.bedrockagentruntime#CustomOrchestrationTraceEvent": {
1457+
"type": "structure",
1458+
"members": {
1459+
"text": {
1460+
"target": "smithy.api#String",
1461+
"traits": {
1462+
"smithy.api#documentation": "<p>\n The text that prompted the event at this step.\n </p>"
1463+
}
1464+
}
1465+
},
1466+
"traits": {
1467+
"smithy.api#documentation": "<p>\n The event in the custom orchestration sequence.\n </p>",
1468+
"smithy.api#sensitive": {}
1469+
}
1470+
},
14351471
"com.amazonaws.bedrockagentruntime#DateTimestamp": {
14361472
"type": "timestamp",
14371473
"traits": {
@@ -4066,6 +4102,12 @@
40664102
"traits": {
40674103
"smithy.api#documentation": "<p>The unique identifier of the agent memory.</p>"
40684104
}
4105+
},
4106+
"streamingConfigurations": {
4107+
"target": "com.amazonaws.bedrockagentruntime#StreamingConfigurations",
4108+
"traits": {
4109+
"smithy.api#documentation": "<p>\n Specifies the configurations for streaming.\n </p>"
4110+
}
40694111
}
40704112
},
40714113
"traits": {
@@ -7002,6 +7044,30 @@
70027044
}
70037045
}
70047046
},
7047+
"com.amazonaws.bedrockagentruntime#StreamingConfigurations": {
7048+
"type": "structure",
7049+
"members": {
7050+
"streamFinalResponse": {
7051+
"target": "smithy.api#Boolean",
7052+
"traits": {
7053+
"smithy.api#default": false,
7054+
"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>"
7055+
}
7056+
},
7057+
"applyGuardrailInterval": {
7058+
"target": "smithy.api#Integer",
7059+
"traits": {
7060+
"smithy.api#documentation": "<p>\n The guardrail interval to apply as response is generated.\n </p>",
7061+
"smithy.api#range": {
7062+
"min": 1
7063+
}
7064+
}
7065+
}
7066+
},
7067+
"traits": {
7068+
"smithy.api#documentation": "<p>\n Configurations for streaming.\n </p>"
7069+
}
7070+
},
70057071
"com.amazonaws.bedrockagentruntime#SummaryText": {
70067072
"type": "string",
70077073
"traits": {
@@ -7166,6 +7232,12 @@
71667232
"traits": {
71677233
"smithy.api#documentation": "<p>Contains information about the failure of the interaction.</p>"
71687234
}
7235+
},
7236+
"customOrchestrationTrace": {
7237+
"target": "com.amazonaws.bedrockagentruntime#CustomOrchestrationTrace",
7238+
"traits": {
7239+
"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>"
7240+
}
71697241
}
71707242
},
71717243
"traits": {

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

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,18 @@
223223
"smithy.api#documentation": "<p>The description of the agent.</p>"
224224
}
225225
},
226+
"orchestrationType": {
227+
"target": "com.amazonaws.bedrockagent#OrchestrationType",
228+
"traits": {
229+
"smithy.api#documentation": "<p>\n Specifies the orchestration strategy for the agent.\n </p>"
230+
}
231+
},
232+
"customOrchestration": {
233+
"target": "com.amazonaws.bedrockagent#CustomOrchestration",
234+
"traits": {
235+
"smithy.api#documentation": "<p>\n Contains custom orchestration configurations for the agent.\n </p>"
236+
}
237+
},
226238
"idleSessionTTLInSeconds": {
227239
"target": "com.amazonaws.bedrockagent#SessionTTL",
228240
"traits": {
@@ -2717,6 +2729,18 @@
27172729
"smithy.api#documentation": "<p>A description of the agent.</p>"
27182730
}
27192731
},
2732+
"orchestrationType": {
2733+
"target": "com.amazonaws.bedrockagent#OrchestrationType",
2734+
"traits": {
2735+
"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>"
2736+
}
2737+
},
2738+
"customOrchestration": {
2739+
"target": "com.amazonaws.bedrockagent#CustomOrchestration",
2740+
"traits": {
2741+
"smithy.api#documentation": "<p>\n Contains details of the custom orchestration configured for the agent.\n </p>"
2742+
}
2743+
},
27202744
"idleSessionTTLInSeconds": {
27212745
"target": "com.amazonaws.bedrockagent#SessionTTL",
27222746
"traits": {
@@ -3842,6 +3866,20 @@
38423866
}
38433867
}
38443868
},
3869+
"com.amazonaws.bedrockagent#CustomOrchestration": {
3870+
"type": "structure",
3871+
"members": {
3872+
"executor": {
3873+
"target": "com.amazonaws.bedrockagent#OrchestrationExecutor",
3874+
"traits": {
3875+
"smithy.api#documentation": "<p>\n The structure of the executor invoking the actions in custom orchestration. \n </p>"
3876+
}
3877+
}
3878+
},
3879+
"traits": {
3880+
"smithy.api#documentation": "<p>\n Details of custom orchestration.\n </p>"
3881+
}
3882+
},
38453883
"com.amazonaws.bedrockagent#CustomTransformationConfiguration": {
38463884
"type": "structure",
38473885
"members": {
@@ -10684,6 +10722,37 @@
1068410722
"smithy.api#pattern": "^.*$"
1068510723
}
1068610724
},
10725+
"com.amazonaws.bedrockagent#OrchestrationExecutor": {
10726+
"type": "union",
10727+
"members": {
10728+
"lambda": {
10729+
"target": "com.amazonaws.bedrockagent#LambdaArn",
10730+
"traits": {
10731+
"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>"
10732+
}
10733+
}
10734+
},
10735+
"traits": {
10736+
"smithy.api#documentation": "<p>\n Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.\n </p>"
10737+
}
10738+
},
10739+
"com.amazonaws.bedrockagent#OrchestrationType": {
10740+
"type": "enum",
10741+
"members": {
10742+
"DEFAULT": {
10743+
"target": "smithy.api#Unit",
10744+
"traits": {
10745+
"smithy.api#enumValue": "DEFAULT"
10746+
}
10747+
},
10748+
"CUSTOM_ORCHESTRATION": {
10749+
"target": "smithy.api#Unit",
10750+
"traits": {
10751+
"smithy.api#enumValue": "CUSTOM_ORCHESTRATION"
10752+
}
10753+
}
10754+
}
10755+
},
1068710756
"com.amazonaws.bedrockagent#OutputFlowNodeConfiguration": {
1068810757
"type": "structure",
1068910758
"members": {},
@@ -13880,6 +13949,18 @@
1388013949
"smithy.api#documentation": "<p>Specifies a new description of the agent.</p>"
1388113950
}
1388213951
},
13952+
"orchestrationType": {
13953+
"target": "com.amazonaws.bedrockagent#OrchestrationType",
13954+
"traits": {
13955+
"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>"
13956+
}
13957+
},
13958+
"customOrchestration": {
13959+
"target": "com.amazonaws.bedrockagent#CustomOrchestration",
13960+
"traits": {
13961+
"smithy.api#documentation": "<p>\n Contains details of the custom orchestration configured for the agent.\n </p>"
13962+
}
13963+
},
1388313964
"idleSessionTTLInSeconds": {
1388413965
"target": "com.amazonaws.bedrockagent#SessionTTL",
1388513966
"traits": {

0 commit comments

Comments
 (0)