Skip to content

Commit 806f651

Browse files
author
awstools
committed
feat(client-bedrock-agentcore-control): Add support for VM lifecycle configuration parameters and A2A protocol
1 parent 3ada76f commit 806f651

File tree

8 files changed

+270
-144
lines changed

8 files changed

+270
-144
lines changed

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export interface CreateAgentRuntimeCommandOutput extends CreateAgentRuntimeRespo
4747
* const client = new BedrockAgentCoreControlClient(config);
4848
* const input = { // CreateAgentRuntimeRequest
4949
* agentRuntimeName: "STRING_VALUE", // required
50-
* description: "STRING_VALUE",
5150
* agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
5251
* containerConfiguration: { // ContainerConfiguration
5352
* containerUri: "STRING_VALUE", // required
@@ -65,13 +64,8 @@ export interface CreateAgentRuntimeCommandOutput extends CreateAgentRuntimeRespo
6564
* ],
6665
* },
6766
* },
68-
* protocolConfiguration: { // ProtocolConfiguration
69-
* serverProtocol: "MCP" || "HTTP", // required
70-
* },
7167
* clientToken: "STRING_VALUE",
72-
* environmentVariables: { // EnvironmentVariablesMap
73-
* "<keys>": "STRING_VALUE",
74-
* },
68+
* description: "STRING_VALUE",
7569
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
7670
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
7771
* discoveryUrl: "STRING_VALUE", // required
@@ -88,6 +82,16 @@ export interface CreateAgentRuntimeCommandOutput extends CreateAgentRuntimeRespo
8882
* "STRING_VALUE",
8983
* ],
9084
* },
85+
* protocolConfiguration: { // ProtocolConfiguration
86+
* serverProtocol: "MCP" || "HTTP" || "A2A", // required
87+
* },
88+
* lifecycleConfiguration: { // LifecycleConfiguration
89+
* idleRuntimeSessionTimeout: Number("int"),
90+
* maxLifetime: Number("int"),
91+
* },
92+
* environmentVariables: { // EnvironmentVariablesMap
93+
* "<keys>": "STRING_VALUE",
94+
* },
9195
* tags: { // TagsMap
9296
* "<keys>": "STRING_VALUE",
9397
* },

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ export interface CreateMemoryCommandOutput extends CreateMemoryOutput, __Metadat
113113
* },
114114
* },
115115
* ],
116+
* tags: { // TagsMap
117+
* "<keys>": "STRING_VALUE",
118+
* },
116119
* };
117120
* const command = new CreateMemoryCommand(input);
118121
* const response = await client.send(command);

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

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,12 @@ export interface GetAgentRuntimeCommandOutput extends GetAgentRuntimeResponse, _
5353
* const response = await client.send(command);
5454
* // { // GetAgentRuntimeResponse
5555
* // agentRuntimeArn: "STRING_VALUE", // required
56-
* // workloadIdentityDetails: { // WorkloadIdentityDetails
57-
* // workloadIdentityArn: "STRING_VALUE", // required
58-
* // },
5956
* // agentRuntimeName: "STRING_VALUE", // required
60-
* // description: "STRING_VALUE",
6157
* // agentRuntimeId: "STRING_VALUE", // required
6258
* // agentRuntimeVersion: "STRING_VALUE", // required
6359
* // createdAt: new Date("TIMESTAMP"), // required
6460
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
6561
* // roleArn: "STRING_VALUE", // required
66-
* // agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
67-
* // containerConfiguration: { // ContainerConfiguration
68-
* // containerUri: "STRING_VALUE", // required
69-
* // },
70-
* // },
7162
* // networkConfiguration: { // NetworkConfiguration
7263
* // networkMode: "PUBLIC" || "VPC", // required
7364
* // networkModeConfig: { // VpcConfig
@@ -79,8 +70,22 @@ export interface GetAgentRuntimeCommandOutput extends GetAgentRuntimeResponse, _
7970
* // ],
8071
* // },
8172
* // },
73+
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
74+
* // lifecycleConfiguration: { // LifecycleConfiguration
75+
* // idleRuntimeSessionTimeout: Number("int"),
76+
* // maxLifetime: Number("int"),
77+
* // },
78+
* // description: "STRING_VALUE",
79+
* // workloadIdentityDetails: { // WorkloadIdentityDetails
80+
* // workloadIdentityArn: "STRING_VALUE", // required
81+
* // },
82+
* // agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
83+
* // containerConfiguration: { // ContainerConfiguration
84+
* // containerUri: "STRING_VALUE", // required
85+
* // },
86+
* // },
8287
* // protocolConfiguration: { // ProtocolConfiguration
83-
* // serverProtocol: "MCP" || "HTTP", // required
88+
* // serverProtocol: "MCP" || "HTTP" || "A2A", // required
8489
* // },
8590
* // environmentVariables: { // EnvironmentVariablesMap
8691
* // "<keys>": "STRING_VALUE",
@@ -101,7 +106,6 @@ export interface GetAgentRuntimeCommandOutput extends GetAgentRuntimeResponse, _
101106
* // "STRING_VALUE",
102107
* // ],
103108
* // },
104-
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
105109
* // };
106110
*
107111
* ```

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export interface UpdateAgentRuntimeCommandOutput extends UpdateAgentRuntimeRespo
4747
* const client = new BedrockAgentCoreControlClient(config);
4848
* const input = { // UpdateAgentRuntimeRequest
4949
* agentRuntimeId: "STRING_VALUE", // required
50-
* description: "STRING_VALUE",
5150
* agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
5251
* containerConfiguration: { // ContainerConfiguration
5352
* containerUri: "STRING_VALUE", // required
@@ -65,13 +64,7 @@ export interface UpdateAgentRuntimeCommandOutput extends UpdateAgentRuntimeRespo
6564
* ],
6665
* },
6766
* },
68-
* protocolConfiguration: { // ProtocolConfiguration
69-
* serverProtocol: "MCP" || "HTTP", // required
70-
* },
71-
* clientToken: "STRING_VALUE",
72-
* environmentVariables: { // EnvironmentVariablesMap
73-
* "<keys>": "STRING_VALUE",
74-
* },
67+
* description: "STRING_VALUE",
7568
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
7669
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
7770
* discoveryUrl: "STRING_VALUE", // required
@@ -88,6 +81,17 @@ export interface UpdateAgentRuntimeCommandOutput extends UpdateAgentRuntimeRespo
8881
* "STRING_VALUE",
8982
* ],
9083
* },
84+
* protocolConfiguration: { // ProtocolConfiguration
85+
* serverProtocol: "MCP" || "HTTP" || "A2A", // required
86+
* },
87+
* lifecycleConfiguration: { // LifecycleConfiguration
88+
* idleRuntimeSessionTimeout: Number("int"),
89+
* maxLifetime: Number("int"),
90+
* },
91+
* environmentVariables: { // EnvironmentVariablesMap
92+
* "<keys>": "STRING_VALUE",
93+
* },
94+
* clientToken: "STRING_VALUE",
9195
* };
9296
* const command = new UpdateAgentRuntimeCommand(input);
9397
* const response = await client.send(command);

clients/client-bedrock-agentcore-control/src/endpoint/ruleset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ d="error",
1717
e="endpoint",
1818
f="tree",
1919
g="PartitionResult",
20-
h={[s]:false,"type":"String"},
21-
i={[s]:true,"default":false,"type":"Boolean"},
20+
h={[s]:false,"type":"string"},
21+
i={[s]:true,"default":false,"type":"boolean"},
2222
j={[v]:"Endpoint"},
2323
k={[t]:c,[u]:[{[v]:"UseFIPS"},true]},
2424
l={[t]:c,[u]:[{[v]:"UseDualStack"},true]},

0 commit comments

Comments
 (0)