Skip to content

Commit dd8408b

Browse files
author
awstools
committed
feat(client-bedrock-agentcore-control): Bedrock AgentCore release for Gateway, and Memory including Self-Managed Strategies support for Memory.
1 parent 72de496 commit dd8408b

17 files changed

+1704
-29
lines changed

clients/client-bedrock-agentcore-control/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,14 @@ SetTokenVaultCMK
557557

558558
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore-control/command/SetTokenVaultCMKCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SetTokenVaultCMKCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SetTokenVaultCMKCommandOutput/)
559559

560+
</details>
561+
<details>
562+
<summary>
563+
SynchronizeGatewayTargets
564+
</summary>
565+
566+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore-control/command/SynchronizeGatewayTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SynchronizeGatewayTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SynchronizeGatewayTargetsCommandOutput/)
567+
560568
</details>
561569
<details>
562570
<summary>

clients/client-bedrock-agentcore-control/src/BedrockAgentCoreControl.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ import {
211211
SetTokenVaultCMKCommandInput,
212212
SetTokenVaultCMKCommandOutput,
213213
} from "./commands/SetTokenVaultCMKCommand";
214+
import {
215+
SynchronizeGatewayTargetsCommand,
216+
SynchronizeGatewayTargetsCommandInput,
217+
SynchronizeGatewayTargetsCommandOutput,
218+
} from "./commands/SynchronizeGatewayTargetsCommand";
214219
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
215220
import {
216221
UntagResourceCommand,
@@ -303,6 +308,7 @@ const commands = {
303308
ListTagsForResourceCommand,
304309
ListWorkloadIdentitiesCommand,
305310
SetTokenVaultCMKCommand,
311+
SynchronizeGatewayTargetsCommand,
306312
TagResourceCommand,
307313
UntagResourceCommand,
308314
UpdateAgentRuntimeCommand,
@@ -992,6 +998,23 @@ export interface BedrockAgentCoreControl {
992998
cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void
993999
): void;
9941000

1001+
/**
1002+
* @see {@link SynchronizeGatewayTargetsCommand}
1003+
*/
1004+
synchronizeGatewayTargets(
1005+
args: SynchronizeGatewayTargetsCommandInput,
1006+
options?: __HttpHandlerOptions
1007+
): Promise<SynchronizeGatewayTargetsCommandOutput>;
1008+
synchronizeGatewayTargets(
1009+
args: SynchronizeGatewayTargetsCommandInput,
1010+
cb: (err: any, data?: SynchronizeGatewayTargetsCommandOutput) => void
1011+
): void;
1012+
synchronizeGatewayTargets(
1013+
args: SynchronizeGatewayTargetsCommandInput,
1014+
options: __HttpHandlerOptions,
1015+
cb: (err: any, data?: SynchronizeGatewayTargetsCommandOutput) => void
1016+
): void;
1017+
9951018
/**
9961019
* @see {@link TagResourceCommand}
9971020
*/

clients/client-bedrock-agentcore-control/src/BedrockAgentCoreControlClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ import {
166166
ListWorkloadIdentitiesCommandOutput,
167167
} from "./commands/ListWorkloadIdentitiesCommand";
168168
import { SetTokenVaultCMKCommandInput, SetTokenVaultCMKCommandOutput } from "./commands/SetTokenVaultCMKCommand";
169+
import {
170+
SynchronizeGatewayTargetsCommandInput,
171+
SynchronizeGatewayTargetsCommandOutput,
172+
} from "./commands/SynchronizeGatewayTargetsCommand";
169173
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
170174
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
171175
import { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput } from "./commands/UpdateAgentRuntimeCommand";
@@ -250,6 +254,7 @@ export type ServiceInputTypes =
250254
| ListTagsForResourceCommandInput
251255
| ListWorkloadIdentitiesCommandInput
252256
| SetTokenVaultCMKCommandInput
257+
| SynchronizeGatewayTargetsCommandInput
253258
| TagResourceCommandInput
254259
| UntagResourceCommandInput
255260
| UpdateAgentRuntimeCommandInput
@@ -309,6 +314,7 @@ export type ServiceOutputTypes =
309314
| ListTagsForResourceCommandOutput
310315
| ListWorkloadIdentitiesCommandOutput
311316
| SetTokenVaultCMKCommandOutput
317+
| SynchronizeGatewayTargetsCommandOutput
312318
| TagResourceCommandOutput
313319
| UntagResourceCommandOutput
314320
| UpdateAgentRuntimeCommandOutput

clients/client-bedrock-agentcore-control/src/commands/CreateGatewayCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface CreateGatewayCommandInput extends CreateGatewayRequest {}
3737
export interface CreateGatewayCommandOutput extends CreateGatewayResponse, __MetadataBearer {}
3838

3939
/**
40-
* <p>Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.</p> <p>To create a gateway, you must specify a name, protocol type, and IAM role. The role grants the gateway permission to access Amazon Web Services services and resources.</p>
40+
* <p>Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.</p> <p>If you specify <code>CUSTOM_JWT</code> as the <code>authorizerType</code>, you must provide an <code>authorizerConfiguration</code>.</p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript

clients/client-bedrock-agentcore-control/src/commands/CreateGatewayTargetCommand.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,12 @@ export interface CreateGatewayTargetCommandOutput extends CreateGatewayTargetRes
104104
* ],
105105
* },
106106
* },
107+
* mcpServer: { // McpServerTargetConfiguration
108+
* endpoint: "STRING_VALUE", // required
109+
* },
107110
* },
108111
* },
109-
* credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
112+
* credentialProviderConfigurations: [ // CredentialProviderConfigurations
110113
* { // CredentialProviderConfiguration
111114
* credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
112115
* credentialProvider: { // CredentialProvider Union: only one key present
@@ -136,7 +139,7 @@ export interface CreateGatewayTargetCommandOutput extends CreateGatewayTargetRes
136139
* // targetId: "STRING_VALUE", // required
137140
* // createdAt: new Date("TIMESTAMP"), // required
138141
* // updatedAt: new Date("TIMESTAMP"), // required
139-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
142+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
140143
* // statusReasons: [ // StatusReasons
141144
* // "STRING_VALUE",
142145
* // ],
@@ -195,6 +198,9 @@ export interface CreateGatewayTargetCommandOutput extends CreateGatewayTargetRes
195198
* // ],
196199
* // },
197200
* // },
201+
* // mcpServer: { // McpServerTargetConfiguration
202+
* // endpoint: "STRING_VALUE", // required
203+
* // },
198204
* // },
199205
* // },
200206
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
@@ -219,6 +225,7 @@ export interface CreateGatewayTargetCommandOutput extends CreateGatewayTargetRes
219225
* // },
220226
* // },
221227
* // ],
228+
* // lastSynchronizedAt: new Date("TIMESTAMP"),
222229
* // };
223230
*
224231
* ```

clients/client-bedrock-agentcore-control/src/commands/CreateMemoryCommand.ts

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,26 @@ export interface CreateMemoryCommandOutput extends CreateMemoryOutput, __Metadat
109109
* modelId: "STRING_VALUE", // required
110110
* },
111111
* },
112+
* selfManagedConfiguration: { // SelfManagedConfigurationInput
113+
* triggerConditions: [ // TriggerConditionInputList
114+
* { // TriggerConditionInput Union: only one key present
115+
* messageBasedTrigger: { // MessageBasedTriggerInput
116+
* messageCount: Number("int"),
117+
* },
118+
* tokenBasedTrigger: { // TokenBasedTriggerInput
119+
* tokenCount: Number("int"),
120+
* },
121+
* timeBasedTrigger: { // TimeBasedTriggerInput
122+
* idleSessionTimeout: Number("int"),
123+
* },
124+
* },
125+
* ],
126+
* invocationConfiguration: { // InvocationConfigurationInput
127+
* topicArn: "STRING_VALUE", // required
128+
* payloadDeliveryBucketName: "STRING_VALUE", // required
129+
* },
130+
* historicalContextWindowSize: Number("int"),
131+
* },
112132
* },
113133
* },
114134
* },
@@ -138,7 +158,7 @@ export interface CreateMemoryCommandOutput extends CreateMemoryOutput, __Metadat
138158
* // name: "STRING_VALUE", // required
139159
* // description: "STRING_VALUE",
140160
* // configuration: { // StrategyConfiguration
141-
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE",
161+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
142162
* // extraction: { // ExtractionConfiguration Union: only one key present
143163
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
144164
* // semanticExtractionOverride: { // SemanticExtractionOverride
@@ -167,6 +187,26 @@ export interface CreateMemoryCommandOutput extends CreateMemoryOutput, __Metadat
167187
* // },
168188
* // },
169189
* // },
190+
* // selfManagedConfiguration: { // SelfManagedConfiguration
191+
* // triggerConditions: [ // TriggerConditionsList // required
192+
* // { // TriggerCondition Union: only one key present
193+
* // messageBasedTrigger: { // MessageBasedTrigger
194+
* // messageCount: Number("int"),
195+
* // },
196+
* // tokenBasedTrigger: { // TokenBasedTrigger
197+
* // tokenCount: Number("int"),
198+
* // },
199+
* // timeBasedTrigger: { // TimeBasedTrigger
200+
* // idleSessionTimeout: Number("int"),
201+
* // },
202+
* // },
203+
* // ],
204+
* // invocationConfiguration: { // InvocationConfiguration
205+
* // topicArn: "STRING_VALUE", // required
206+
* // payloadDeliveryBucketName: "STRING_VALUE", // required
207+
* // },
208+
* // historicalContextWindowSize: Number("int"), // required
209+
* // },
170210
* // },
171211
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
172212
* // namespaces: [ // NamespacesList // required

clients/client-bedrock-agentcore-control/src/commands/DeleteGatewayTargetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface DeleteGatewayTargetCommandOutput extends DeleteGatewayTargetRes
5050
* // { // DeleteGatewayTargetResponse
5151
* // gatewayArn: "STRING_VALUE", // required
5252
* // targetId: "STRING_VALUE", // required
53-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
53+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
5454
* // statusReasons: [ // StatusReasons
5555
* // "STRING_VALUE",
5656
* // ],

clients/client-bedrock-agentcore-control/src/commands/GetGatewayTargetCommand.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface GetGatewayTargetCommandOutput extends GetGatewayTargetResponse,
5656
* // targetId: "STRING_VALUE", // required
5757
* // createdAt: new Date("TIMESTAMP"), // required
5858
* // updatedAt: new Date("TIMESTAMP"), // required
59-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
59+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
6060
* // statusReasons: [ // StatusReasons
6161
* // "STRING_VALUE",
6262
* // ],
@@ -115,6 +115,9 @@ export interface GetGatewayTargetCommandOutput extends GetGatewayTargetResponse,
115115
* // ],
116116
* // },
117117
* // },
118+
* // mcpServer: { // McpServerTargetConfiguration
119+
* // endpoint: "STRING_VALUE", // required
120+
* // },
118121
* // },
119122
* // },
120123
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
@@ -139,6 +142,7 @@ export interface GetGatewayTargetCommandOutput extends GetGatewayTargetResponse,
139142
* // },
140143
* // },
141144
* // ],
145+
* // lastSynchronizedAt: new Date("TIMESTAMP"),
142146
* // };
143147
*
144148
* ```

clients/client-bedrock-agentcore-control/src/commands/GetMemoryCommand.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface GetMemoryCommandOutput extends GetMemoryOutput, __MetadataBeare
6565
* // name: "STRING_VALUE", // required
6666
* // description: "STRING_VALUE",
6767
* // configuration: { // StrategyConfiguration
68-
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE",
68+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
6969
* // extraction: { // ExtractionConfiguration Union: only one key present
7070
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
7171
* // semanticExtractionOverride: { // SemanticExtractionOverride
@@ -94,6 +94,26 @@ export interface GetMemoryCommandOutput extends GetMemoryOutput, __MetadataBeare
9494
* // },
9595
* // },
9696
* // },
97+
* // selfManagedConfiguration: { // SelfManagedConfiguration
98+
* // triggerConditions: [ // TriggerConditionsList // required
99+
* // { // TriggerCondition Union: only one key present
100+
* // messageBasedTrigger: { // MessageBasedTrigger
101+
* // messageCount: Number("int"),
102+
* // },
103+
* // tokenBasedTrigger: { // TokenBasedTrigger
104+
* // tokenCount: Number("int"),
105+
* // },
106+
* // timeBasedTrigger: { // TimeBasedTrigger
107+
* // idleSessionTimeout: Number("int"),
108+
* // },
109+
* // },
110+
* // ],
111+
* // invocationConfiguration: { // InvocationConfiguration
112+
* // topicArn: "STRING_VALUE", // required
113+
* // payloadDeliveryBucketName: "STRING_VALUE", // required
114+
* // },
115+
* // historicalContextWindowSize: Number("int"), // required
116+
* // },
97117
* // },
98118
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
99119
* // namespaces: [ // NamespacesList // required

clients/client-bedrock-agentcore-control/src/commands/ListGatewayTargetsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface ListGatewayTargetsCommandOutput extends ListGatewayTargetsRespo
5757
* // { // TargetSummary
5858
* // targetId: "STRING_VALUE", // required
5959
* // name: "STRING_VALUE", // required
60-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
60+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
6161
* // description: "STRING_VALUE",
6262
* // createdAt: new Date("TIMESTAMP"), // required
6363
* // updatedAt: new Date("TIMESTAMP"), // required

0 commit comments

Comments
 (0)