Skip to content

Commit 6b9a783

Browse files
author
awstools
committed
feat(client-bedrock-agent): Releasing the support for simplified configuration and return of control
1 parent 1d8b5d2 commit 6b9a783

File tree

6 files changed

+518
-3
lines changed

6 files changed

+518
-3
lines changed

clients/client-bedrock-agent/src/commands/CreateAgentActionGroupCommand.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export interface CreateAgentActionGroupCommandOutput extends CreateAgentActionGr
4949
* parentActionGroupSignature: "AMAZON.UserInput",
5050
* actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
5151
* lambda: "STRING_VALUE",
52+
* customControl: "RETURN_CONTROL",
5253
* },
5354
* apiSchema: { // APISchema Union: only one key present
5455
* s3: { // S3Identifier
@@ -58,6 +59,21 @@ export interface CreateAgentActionGroupCommandOutput extends CreateAgentActionGr
5859
* payload: "STRING_VALUE",
5960
* },
6061
* actionGroupState: "ENABLED" || "DISABLED",
62+
* functionSchema: { // FunctionSchema Union: only one key present
63+
* functions: [ // Functions
64+
* { // Function
65+
* name: "STRING_VALUE", // required
66+
* description: "STRING_VALUE",
67+
* parameters: { // ParameterMap
68+
* "<keys>": { // ParameterDetail
69+
* description: "STRING_VALUE",
70+
* type: "string" || "number" || "integer" || "boolean" || "array", // required
71+
* required: true || false,
72+
* },
73+
* },
74+
* },
75+
* ],
76+
* },
6177
* };
6278
* const command = new CreateAgentActionGroupCommand(input);
6379
* const response = await client.send(command);
@@ -74,6 +90,7 @@ export interface CreateAgentActionGroupCommandOutput extends CreateAgentActionGr
7490
* // parentActionSignature: "AMAZON.UserInput",
7591
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
7692
* // lambda: "STRING_VALUE",
93+
* // customControl: "RETURN_CONTROL",
7794
* // },
7895
* // apiSchema: { // APISchema Union: only one key present
7996
* // s3: { // S3Identifier
@@ -82,6 +99,21 @@ export interface CreateAgentActionGroupCommandOutput extends CreateAgentActionGr
8299
* // },
83100
* // payload: "STRING_VALUE",
84101
* // },
102+
* // functionSchema: { // FunctionSchema Union: only one key present
103+
* // functions: [ // Functions
104+
* // { // Function
105+
* // name: "STRING_VALUE", // required
106+
* // description: "STRING_VALUE",
107+
* // parameters: { // ParameterMap
108+
* // "<keys>": { // ParameterDetail
109+
* // description: "STRING_VALUE",
110+
* // type: "string" || "number" || "integer" || "boolean" || "array", // required
111+
* // required: true || false,
112+
* // },
113+
* // },
114+
* // },
115+
* // ],
116+
* // },
85117
* // actionGroupState: "ENABLED" || "DISABLED", // required
86118
* // },
87119
* // };

clients/client-bedrock-agent/src/commands/GetAgentActionGroupCommand.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export interface GetAgentActionGroupCommandOutput extends GetAgentActionGroupRes
5858
* // parentActionSignature: "AMAZON.UserInput",
5959
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
6060
* // lambda: "STRING_VALUE",
61+
* // customControl: "RETURN_CONTROL",
6162
* // },
6263
* // apiSchema: { // APISchema Union: only one key present
6364
* // s3: { // S3Identifier
@@ -66,6 +67,21 @@ export interface GetAgentActionGroupCommandOutput extends GetAgentActionGroupRes
6667
* // },
6768
* // payload: "STRING_VALUE",
6869
* // },
70+
* // functionSchema: { // FunctionSchema Union: only one key present
71+
* // functions: [ // Functions
72+
* // { // Function
73+
* // name: "STRING_VALUE", // required
74+
* // description: "STRING_VALUE",
75+
* // parameters: { // ParameterMap
76+
* // "<keys>": { // ParameterDetail
77+
* // description: "STRING_VALUE",
78+
* // type: "string" || "number" || "integer" || "boolean" || "array", // required
79+
* // required: true || false,
80+
* // },
81+
* // },
82+
* // },
83+
* // ],
84+
* // },
6985
* // actionGroupState: "ENABLED" || "DISABLED", // required
7086
* // },
7187
* // };

clients/client-bedrock-agent/src/commands/UpdateAgentActionGroupCommand.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface UpdateAgentActionGroupCommandOutput extends UpdateAgentActionGr
4848
* parentActionGroupSignature: "AMAZON.UserInput",
4949
* actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
5050
* lambda: "STRING_VALUE",
51+
* customControl: "RETURN_CONTROL",
5152
* },
5253
* actionGroupState: "ENABLED" || "DISABLED",
5354
* apiSchema: { // APISchema Union: only one key present
@@ -57,6 +58,21 @@ export interface UpdateAgentActionGroupCommandOutput extends UpdateAgentActionGr
5758
* },
5859
* payload: "STRING_VALUE",
5960
* },
61+
* functionSchema: { // FunctionSchema Union: only one key present
62+
* functions: [ // Functions
63+
* { // Function
64+
* name: "STRING_VALUE", // required
65+
* description: "STRING_VALUE",
66+
* parameters: { // ParameterMap
67+
* "<keys>": { // ParameterDetail
68+
* description: "STRING_VALUE",
69+
* type: "string" || "number" || "integer" || "boolean" || "array", // required
70+
* required: true || false,
71+
* },
72+
* },
73+
* },
74+
* ],
75+
* },
6076
* };
6177
* const command = new UpdateAgentActionGroupCommand(input);
6278
* const response = await client.send(command);
@@ -73,6 +89,7 @@ export interface UpdateAgentActionGroupCommandOutput extends UpdateAgentActionGr
7389
* // parentActionSignature: "AMAZON.UserInput",
7490
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
7591
* // lambda: "STRING_VALUE",
92+
* // customControl: "RETURN_CONTROL",
7693
* // },
7794
* // apiSchema: { // APISchema Union: only one key present
7895
* // s3: { // S3Identifier
@@ -81,6 +98,21 @@ export interface UpdateAgentActionGroupCommandOutput extends UpdateAgentActionGr
8198
* // },
8299
* // payload: "STRING_VALUE",
83100
* // },
101+
* // functionSchema: { // FunctionSchema Union: only one key present
102+
* // functions: [ // Functions
103+
* // { // Function
104+
* // name: "STRING_VALUE", // required
105+
* // description: "STRING_VALUE",
106+
* // parameters: { // ParameterMap
107+
* // "<keys>": { // ParameterDetail
108+
* // description: "STRING_VALUE",
109+
* // type: "string" || "number" || "integer" || "boolean" || "array", // required
110+
* // required: true || false,
111+
* // },
112+
* // },
113+
* // },
114+
* // ],
115+
* // },
84116
* // actionGroupState: "ENABLED" || "DISABLED", // required
85117
* // },
86118
* // };

0 commit comments

Comments
 (0)