@aws-sdk/client-bedrock-agentcore-control 3.901.0 → 3.904.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -578,6 +578,7 @@ var NetworkMode = {
578
578
  VPC: "VPC"
579
579
  };
580
580
  var ServerProtocol = {
581
+ A2A: "A2A",
581
582
  HTTP: "HTTP",
582
583
  MCP: "MCP"
583
584
  };
@@ -1055,11 +1056,11 @@ var UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = /* @__PURE__ */ __name
1055
1056
  }), "UpdateAgentRuntimeEndpointRequestFilterSensitiveLog");
1056
1057
  var CreateAgentRuntimeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1057
1058
  ...obj,
1058
- ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1059
1059
  ...obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact },
1060
- ...obj.environmentVariables && { environmentVariables: import_smithy_client.SENSITIVE_STRING },
1060
+ ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1061
1061
  ...obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration },
1062
- ...obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }
1062
+ ...obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration },
1063
+ ...obj.environmentVariables && { environmentVariables: import_smithy_client.SENSITIVE_STRING }
1063
1064
  }), "CreateAgentRuntimeRequestFilterSensitiveLog");
1064
1065
  var GetAgentRuntimeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1065
1066
  ...obj,
@@ -1083,11 +1084,11 @@ var ListAgentRuntimeVersionsResponseFilterSensitiveLog = /* @__PURE__ */ __name(
1083
1084
  }), "ListAgentRuntimeVersionsResponseFilterSensitiveLog");
1084
1085
  var UpdateAgentRuntimeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1085
1086
  ...obj,
1086
- ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1087
1087
  ...obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact },
1088
- ...obj.environmentVariables && { environmentVariables: import_smithy_client.SENSITIVE_STRING },
1088
+ ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1089
1089
  ...obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration },
1090
- ...obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }
1090
+ ...obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration },
1091
+ ...obj.environmentVariables && { environmentVariables: import_smithy_client.SENSITIVE_STRING }
1091
1092
  }), "UpdateAgentRuntimeRequestFilterSensitiveLog");
1092
1093
  var CreateApiKeyCredentialProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1093
1094
  ...obj,
@@ -1633,6 +1634,7 @@ var se_CreateAgentRuntimeCommand = /* @__PURE__ */ __name(async (input, context)
1633
1634
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1634
1635
  description: [],
1635
1636
  environmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environmentVariables"),
1637
+ lifecycleConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lifecycleConfiguration"),
1636
1638
  networkConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "networkConfiguration"),
1637
1639
  protocolConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "protocolConfiguration"),
1638
1640
  requestHeaderConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requestHeaderConfiguration"),
@@ -1780,7 +1782,8 @@ var se_CreateMemoryCommand = /* @__PURE__ */ __name(async (input, context) => {
1780
1782
  eventExpiryDuration: [],
1781
1783
  memoryExecutionRoleArn: [],
1782
1784
  memoryStrategies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "memoryStrategies"),
1783
- name: []
1785
+ name: [],
1786
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1784
1787
  })
1785
1788
  );
1786
1789
  b.m("POST").h(headers).b(body);
@@ -2290,6 +2293,7 @@ var se_UpdateAgentRuntimeCommand = /* @__PURE__ */ __name(async (input, context)
2290
2293
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
2291
2294
  description: [],
2292
2295
  environmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environmentVariables"),
2296
+ lifecycleConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lifecycleConfiguration"),
2293
2297
  networkConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "networkConfiguration"),
2294
2298
  protocolConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "protocolConfiguration"),
2295
2299
  requestHeaderConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requestHeaderConfiguration"),
@@ -2774,6 +2778,7 @@ var de_GetAgentRuntimeCommand = /* @__PURE__ */ __name(async (output, context) =
2774
2778
  description: import_smithy_client.expectString,
2775
2779
  environmentVariables: import_smithy_client._json,
2776
2780
  lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
2781
+ lifecycleConfiguration: import_smithy_client._json,
2777
2782
  networkConfiguration: import_smithy_client._json,
2778
2783
  protocolConfiguration: import_smithy_client._json,
2779
2784
  requestHeaderConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "requestHeaderConfiguration"),
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-agentcore-control.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
4
  export const ruleSet = _data;
@@ -124,6 +124,7 @@ export const NetworkMode = {
124
124
  VPC: "VPC",
125
125
  };
126
126
  export const ServerProtocol = {
127
+ A2A: "A2A",
127
128
  HTTP: "HTTP",
128
129
  MCP: "MCP",
129
130
  };
@@ -576,11 +577,11 @@ export const UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
576
577
  });
577
578
  export const CreateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
578
579
  ...obj,
579
- ...(obj.description && { description: SENSITIVE_STRING }),
580
580
  ...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
581
- ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
581
+ ...(obj.description && { description: SENSITIVE_STRING }),
582
582
  ...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
583
583
  ...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
584
+ ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
584
585
  });
585
586
  export const GetAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
586
587
  ...obj,
@@ -604,11 +605,11 @@ export const ListAgentRuntimeVersionsResponseFilterSensitiveLog = (obj) => ({
604
605
  });
605
606
  export const UpdateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
606
607
  ...obj,
607
- ...(obj.description && { description: SENSITIVE_STRING }),
608
608
  ...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
609
- ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
609
+ ...(obj.description && { description: SENSITIVE_STRING }),
610
610
  ...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
611
611
  ...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
612
+ ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
612
613
  });
613
614
  export const CreateApiKeyCredentialProviderRequestFilterSensitiveLog = (obj) => ({
614
615
  ...obj,
@@ -18,6 +18,7 @@ export const se_CreateAgentRuntimeCommand = async (input, context) => {
18
18
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
19
19
  description: [],
20
20
  environmentVariables: (_) => _json(_),
21
+ lifecycleConfiguration: (_) => _json(_),
21
22
  networkConfiguration: (_) => _json(_),
22
23
  protocolConfiguration: (_) => _json(_),
23
24
  requestHeaderConfiguration: (_) => _json(_),
@@ -152,6 +153,7 @@ export const se_CreateMemoryCommand = async (input, context) => {
152
153
  memoryExecutionRoleArn: [],
153
154
  memoryStrategies: (_) => _json(_),
154
155
  name: [],
156
+ tags: (_) => _json(_),
155
157
  }));
156
158
  b.m("POST").h(headers).b(body);
157
159
  return b.build();
@@ -629,6 +631,7 @@ export const se_UpdateAgentRuntimeCommand = async (input, context) => {
629
631
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
630
632
  description: [],
631
633
  environmentVariables: (_) => _json(_),
634
+ lifecycleConfiguration: (_) => _json(_),
632
635
  networkConfiguration: (_) => _json(_),
633
636
  protocolConfiguration: (_) => _json(_),
634
637
  requestHeaderConfiguration: (_) => _json(_),
@@ -1098,6 +1101,7 @@ export const de_GetAgentRuntimeCommand = async (output, context) => {
1098
1101
  description: __expectString,
1099
1102
  environmentVariables: _json,
1100
1103
  lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1104
+ lifecycleConfiguration: _json,
1101
1105
  networkConfiguration: _json,
1102
1106
  protocolConfiguration: _json,
1103
1107
  requestHeaderConfiguration: (_) => _json(__expectUnion(_)),
@@ -38,7 +38,6 @@ declare const CreateAgentRuntimeCommand_base: {
38
38
  * const client = new BedrockAgentCoreControlClient(config);
39
39
  * const input = { // CreateAgentRuntimeRequest
40
40
  * agentRuntimeName: "STRING_VALUE", // required
41
- * description: "STRING_VALUE",
42
41
  * agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
43
42
  * containerConfiguration: { // ContainerConfiguration
44
43
  * containerUri: "STRING_VALUE", // required
@@ -56,13 +55,8 @@ declare const CreateAgentRuntimeCommand_base: {
56
55
  * ],
57
56
  * },
58
57
  * },
59
- * protocolConfiguration: { // ProtocolConfiguration
60
- * serverProtocol: "MCP" || "HTTP", // required
61
- * },
62
58
  * clientToken: "STRING_VALUE",
63
- * environmentVariables: { // EnvironmentVariablesMap
64
- * "<keys>": "STRING_VALUE",
65
- * },
59
+ * description: "STRING_VALUE",
66
60
  * authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
67
61
  * customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
68
62
  * discoveryUrl: "STRING_VALUE", // required
@@ -79,6 +73,16 @@ declare const CreateAgentRuntimeCommand_base: {
79
73
  * "STRING_VALUE",
80
74
  * ],
81
75
  * },
76
+ * protocolConfiguration: { // ProtocolConfiguration
77
+ * serverProtocol: "MCP" || "HTTP" || "A2A", // required
78
+ * },
79
+ * lifecycleConfiguration: { // LifecycleConfiguration
80
+ * idleRuntimeSessionTimeout: Number("int"),
81
+ * maxLifetime: Number("int"),
82
+ * },
83
+ * environmentVariables: { // EnvironmentVariablesMap
84
+ * "<keys>": "STRING_VALUE",
85
+ * },
82
86
  * tags: { // TagsMap
83
87
  * "<keys>": "STRING_VALUE",
84
88
  * },
@@ -103,6 +103,9 @@ declare const CreateMemoryCommand_base: {
103
103
  * },
104
104
  * },
105
105
  * ],
106
+ * tags: { // TagsMap
107
+ * "<keys>": "STRING_VALUE",
108
+ * },
106
109
  * };
107
110
  * const command = new CreateMemoryCommand(input);
108
111
  * const response = await client.send(command);
@@ -44,21 +44,12 @@ declare const GetAgentRuntimeCommand_base: {
44
44
  * const response = await client.send(command);
45
45
  * // { // GetAgentRuntimeResponse
46
46
  * // agentRuntimeArn: "STRING_VALUE", // required
47
- * // workloadIdentityDetails: { // WorkloadIdentityDetails
48
- * // workloadIdentityArn: "STRING_VALUE", // required
49
- * // },
50
47
  * // agentRuntimeName: "STRING_VALUE", // required
51
- * // description: "STRING_VALUE",
52
48
  * // agentRuntimeId: "STRING_VALUE", // required
53
49
  * // agentRuntimeVersion: "STRING_VALUE", // required
54
50
  * // createdAt: new Date("TIMESTAMP"), // required
55
51
  * // lastUpdatedAt: new Date("TIMESTAMP"), // required
56
52
  * // roleArn: "STRING_VALUE", // required
57
- * // agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
58
- * // containerConfiguration: { // ContainerConfiguration
59
- * // containerUri: "STRING_VALUE", // required
60
- * // },
61
- * // },
62
53
  * // networkConfiguration: { // NetworkConfiguration
63
54
  * // networkMode: "PUBLIC" || "VPC", // required
64
55
  * // networkModeConfig: { // VpcConfig
@@ -70,8 +61,22 @@ declare const GetAgentRuntimeCommand_base: {
70
61
  * // ],
71
62
  * // },
72
63
  * // },
64
+ * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
65
+ * // lifecycleConfiguration: { // LifecycleConfiguration
66
+ * // idleRuntimeSessionTimeout: Number("int"),
67
+ * // maxLifetime: Number("int"),
68
+ * // },
69
+ * // description: "STRING_VALUE",
70
+ * // workloadIdentityDetails: { // WorkloadIdentityDetails
71
+ * // workloadIdentityArn: "STRING_VALUE", // required
72
+ * // },
73
+ * // agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
74
+ * // containerConfiguration: { // ContainerConfiguration
75
+ * // containerUri: "STRING_VALUE", // required
76
+ * // },
77
+ * // },
73
78
  * // protocolConfiguration: { // ProtocolConfiguration
74
- * // serverProtocol: "MCP" || "HTTP", // required
79
+ * // serverProtocol: "MCP" || "HTTP" || "A2A", // required
75
80
  * // },
76
81
  * // environmentVariables: { // EnvironmentVariablesMap
77
82
  * // "<keys>": "STRING_VALUE",
@@ -92,7 +97,6 @@ declare const GetAgentRuntimeCommand_base: {
92
97
  * // "STRING_VALUE",
93
98
  * // ],
94
99
  * // },
95
- * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
96
100
  * // };
97
101
  *
98
102
  * ```
@@ -38,7 +38,6 @@ declare const UpdateAgentRuntimeCommand_base: {
38
38
  * const client = new BedrockAgentCoreControlClient(config);
39
39
  * const input = { // UpdateAgentRuntimeRequest
40
40
  * agentRuntimeId: "STRING_VALUE", // required
41
- * description: "STRING_VALUE",
42
41
  * agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
43
42
  * containerConfiguration: { // ContainerConfiguration
44
43
  * containerUri: "STRING_VALUE", // required
@@ -56,13 +55,7 @@ declare const UpdateAgentRuntimeCommand_base: {
56
55
  * ],
57
56
  * },
58
57
  * },
59
- * protocolConfiguration: { // ProtocolConfiguration
60
- * serverProtocol: "MCP" || "HTTP", // required
61
- * },
62
- * clientToken: "STRING_VALUE",
63
- * environmentVariables: { // EnvironmentVariablesMap
64
- * "<keys>": "STRING_VALUE",
65
- * },
58
+ * description: "STRING_VALUE",
66
59
  * authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
67
60
  * customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
68
61
  * discoveryUrl: "STRING_VALUE", // required
@@ -79,6 +72,17 @@ declare const UpdateAgentRuntimeCommand_base: {
79
72
  * "STRING_VALUE",
80
73
  * ],
81
74
  * },
75
+ * protocolConfiguration: { // ProtocolConfiguration
76
+ * serverProtocol: "MCP" || "HTTP" || "A2A", // required
77
+ * },
78
+ * lifecycleConfiguration: { // LifecycleConfiguration
79
+ * idleRuntimeSessionTimeout: Number("int"),
80
+ * maxLifetime: Number("int"),
81
+ * },
82
+ * environmentVariables: { // EnvironmentVariablesMap
83
+ * "<keys>": "STRING_VALUE",
84
+ * },
85
+ * clientToken: "STRING_VALUE",
82
86
  * };
83
87
  * const command = new UpdateAgentRuntimeCommand(input);
84
88
  * const response = await client.send(command);
@@ -556,6 +556,22 @@ export declare namespace AuthorizerConfiguration {
556
556
  }
557
557
  const visit: <T>(value: AuthorizerConfiguration, visitor: Visitor<T>) => T;
558
558
  }
559
+ /**
560
+ * <p>LifecycleConfiguration lets you manage the lifecycle of runtime sessions and resources in AgentCore Runtime. This configuration helps optimize resource utilization by automatically cleaning up idle sessions and preventing long-running instances from consuming resources indefinitely.</p>
561
+ * @public
562
+ */
563
+ export interface LifecycleConfiguration {
564
+ /**
565
+ * <p>Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).</p>
566
+ * @public
567
+ */
568
+ idleRuntimeSessionTimeout?: number | undefined;
569
+ /**
570
+ * <p>Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).</p>
571
+ * @public
572
+ */
573
+ maxLifetime?: number | undefined;
574
+ }
559
575
  /**
560
576
  * @public
561
577
  * @enum
@@ -605,6 +621,7 @@ export interface NetworkConfiguration {
605
621
  * @enum
606
622
  */
607
623
  export declare const ServerProtocol: {
624
+ readonly A2A: "A2A";
608
625
  readonly HTTP: "HTTP";
609
626
  readonly MCP: "MCP";
610
627
  };
@@ -662,11 +679,6 @@ export interface CreateAgentRuntimeRequest {
662
679
  * @public
663
680
  */
664
681
  agentRuntimeName: string | undefined;
665
- /**
666
- * <p>The description of the AgentCore Runtime.</p>
667
- * @public
668
- */
669
- description?: string | undefined;
670
682
  /**
671
683
  * <p>The artifact of the AgentCore Runtime.</p>
672
684
  * @public
@@ -682,21 +694,16 @@ export interface CreateAgentRuntimeRequest {
682
694
  * @public
683
695
  */
684
696
  networkConfiguration: NetworkConfiguration | undefined;
685
- /**
686
- * <p>The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.</p>
687
- * @public
688
- */
689
- protocolConfiguration?: ProtocolConfiguration | undefined;
690
697
  /**
691
698
  * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
692
699
  * @public
693
700
  */
694
701
  clientToken?: string | undefined;
695
702
  /**
696
- * <p>Environment variables to set in the AgentCore Runtime environment.</p>
703
+ * <p>The description of the AgentCore Runtime.</p>
697
704
  * @public
698
705
  */
699
- environmentVariables?: Record<string, string> | undefined;
706
+ description?: string | undefined;
700
707
  /**
701
708
  * <p>The authorizer configuration for the AgentCore Runtime.</p>
702
709
  * @public
@@ -707,6 +714,21 @@ export interface CreateAgentRuntimeRequest {
707
714
  * @public
708
715
  */
709
716
  requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
717
+ /**
718
+ * <p>The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.</p>
719
+ * @public
720
+ */
721
+ protocolConfiguration?: ProtocolConfiguration | undefined;
722
+ /**
723
+ * <p>The life cycle configuration for the AgentCore Runtime.</p>
724
+ * @public
725
+ */
726
+ lifecycleConfiguration?: LifecycleConfiguration | undefined;
727
+ /**
728
+ * <p>Environment variables to set in the AgentCore Runtime environment.</p>
729
+ * @public
730
+ */
731
+ environmentVariables?: Record<string, string> | undefined;
710
732
  /**
711
733
  * <p>A map of tag keys and values to assign to the agent runtime. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
712
734
  * @public
@@ -819,21 +841,11 @@ export interface GetAgentRuntimeResponse {
819
841
  * @public
820
842
  */
821
843
  agentRuntimeArn: string | undefined;
822
- /**
823
- * <p>The workload identity details for the AgentCore Runtime.</p>
824
- * @public
825
- */
826
- workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
827
844
  /**
828
845
  * <p>The name of the AgentCore Runtime.</p>
829
846
  * @public
830
847
  */
831
848
  agentRuntimeName: string | undefined;
832
- /**
833
- * <p>The description of the AgentCore Runtime.</p>
834
- * @public
835
- */
836
- description?: string | undefined;
837
849
  /**
838
850
  * <p>The unique identifier of the AgentCore Runtime.</p>
839
851
  * @public
@@ -860,15 +872,35 @@ export interface GetAgentRuntimeResponse {
860
872
  */
861
873
  roleArn: string | undefined;
862
874
  /**
863
- * <p>The artifact of the AgentCore Runtime.</p>
875
+ * <p>The network configuration for the AgentCore Runtime.</p>
864
876
  * @public
865
877
  */
866
- agentRuntimeArtifact?: AgentRuntimeArtifact | undefined;
878
+ networkConfiguration: NetworkConfiguration | undefined;
867
879
  /**
868
- * <p>The network configuration for the AgentCore Runtime.</p>
880
+ * <p>The current status of the AgentCore Runtime.</p>
869
881
  * @public
870
882
  */
871
- networkConfiguration: NetworkConfiguration | undefined;
883
+ status: AgentRuntimeStatus | undefined;
884
+ /**
885
+ * <p>The life cycle configuration for the AgentCore Runtime.</p>
886
+ * @public
887
+ */
888
+ lifecycleConfiguration: LifecycleConfiguration | undefined;
889
+ /**
890
+ * <p>The description of the AgentCore Runtime.</p>
891
+ * @public
892
+ */
893
+ description?: string | undefined;
894
+ /**
895
+ * <p>The workload identity details for the AgentCore Runtime.</p>
896
+ * @public
897
+ */
898
+ workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
899
+ /**
900
+ * <p>The artifact of the AgentCore Runtime.</p>
901
+ * @public
902
+ */
903
+ agentRuntimeArtifact?: AgentRuntimeArtifact | undefined;
872
904
  /**
873
905
  * <p>The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.</p>
874
906
  * @public
@@ -889,11 +921,6 @@ export interface GetAgentRuntimeResponse {
889
921
  * @public
890
922
  */
891
923
  requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
892
- /**
893
- * <p>The current status of the AgentCore Runtime.</p>
894
- * @public
895
- */
896
- status: AgentRuntimeStatus | undefined;
897
924
  }
898
925
  /**
899
926
  * @public
@@ -1010,11 +1037,6 @@ export interface UpdateAgentRuntimeRequest {
1010
1037
  * @public
1011
1038
  */
1012
1039
  agentRuntimeId: string | undefined;
1013
- /**
1014
- * <p>The updated description of the AgentCore Runtime.</p>
1015
- * @public
1016
- */
1017
- description?: string | undefined;
1018
1040
  /**
1019
1041
  * <p>The updated artifact of the AgentCore Runtime.</p>
1020
1042
  * @public
@@ -1030,31 +1052,41 @@ export interface UpdateAgentRuntimeRequest {
1030
1052
  * @public
1031
1053
  */
1032
1054
  networkConfiguration: NetworkConfiguration | undefined;
1055
+ /**
1056
+ * <p>The updated description of the AgentCore Runtime.</p>
1057
+ * @public
1058
+ */
1059
+ description?: string | undefined;
1060
+ /**
1061
+ * <p>The updated authorizer configuration for the AgentCore Runtime.</p>
1062
+ * @public
1063
+ */
1064
+ authorizerConfiguration?: AuthorizerConfiguration | undefined;
1065
+ /**
1066
+ * <p>The updated configuration for HTTP request headers that will be passed through to the runtime.</p>
1067
+ * @public
1068
+ */
1069
+ requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
1033
1070
  /**
1034
1071
  * <p>The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.</p>
1035
1072
  * @public
1036
1073
  */
1037
1074
  protocolConfiguration?: ProtocolConfiguration | undefined;
1038
1075
  /**
1039
- * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1076
+ * <p>The updated life cycle configuration for the AgentCore Runtime.</p>
1040
1077
  * @public
1041
1078
  */
1042
- clientToken?: string | undefined;
1079
+ lifecycleConfiguration?: LifecycleConfiguration | undefined;
1043
1080
  /**
1044
1081
  * <p>Updated environment variables to set in the AgentCore Runtime environment.</p>
1045
1082
  * @public
1046
1083
  */
1047
1084
  environmentVariables?: Record<string, string> | undefined;
1048
1085
  /**
1049
- * <p>The updated authorizer configuration for the AgentCore Runtime.</p>
1050
- * @public
1051
- */
1052
- authorizerConfiguration?: AuthorizerConfiguration | undefined;
1053
- /**
1054
- * <p>The updated configuration for HTTP request headers that will be passed through to the runtime.</p>
1086
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1055
1087
  * @public
1056
1088
  */
1057
- requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
1089
+ clientToken?: string | undefined;
1058
1090
  }
1059
1091
  /**
1060
1092
  * @public
@@ -3376,6 +3408,11 @@ export interface CreateMemoryInput {
3376
3408
  * @public
3377
3409
  */
3378
3410
  memoryStrategies?: MemoryStrategyInput[] | undefined;
3411
+ /**
3412
+ * <p>A map of tag keys and values to assign to an AgentCore Memory. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
3413
+ * @public
3414
+ */
3415
+ tags?: Record<string, string> | undefined;
3379
3416
  }
3380
3417
  /**
3381
3418
  * @public
@@ -193,6 +193,10 @@ export declare namespace AuthorizerConfiguration {
193
193
  }
194
194
  const visit: <T>(value: AuthorizerConfiguration, visitor: Visitor<T>) => T;
195
195
  }
196
+ export interface LifecycleConfiguration {
197
+ idleRuntimeSessionTimeout?: number | undefined;
198
+ maxLifetime?: number | undefined;
199
+ }
196
200
  export declare const NetworkMode: {
197
201
  readonly PUBLIC: "PUBLIC";
198
202
  readonly VPC: "VPC";
@@ -207,6 +211,7 @@ export interface NetworkConfiguration {
207
211
  networkModeConfig?: VpcConfig | undefined;
208
212
  }
209
213
  export declare const ServerProtocol: {
214
+ readonly A2A: "A2A";
210
215
  readonly HTTP: "HTTP";
211
216
  readonly MCP: "MCP";
212
217
  };
@@ -235,15 +240,16 @@ export declare namespace RequestHeaderConfiguration {
235
240
  }
236
241
  export interface CreateAgentRuntimeRequest {
237
242
  agentRuntimeName: string | undefined;
238
- description?: string | undefined;
239
243
  agentRuntimeArtifact: AgentRuntimeArtifact | undefined;
240
244
  roleArn: string | undefined;
241
245
  networkConfiguration: NetworkConfiguration | undefined;
242
- protocolConfiguration?: ProtocolConfiguration | undefined;
243
246
  clientToken?: string | undefined;
244
- environmentVariables?: Record<string, string> | undefined;
247
+ description?: string | undefined;
245
248
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
246
249
  requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
250
+ protocolConfiguration?: ProtocolConfiguration | undefined;
251
+ lifecycleConfiguration?: LifecycleConfiguration | undefined;
252
+ environmentVariables?: Record<string, string> | undefined;
247
253
  tags?: Record<string, string> | undefined;
248
254
  }
249
255
  export declare const AgentRuntimeStatus: {
@@ -279,21 +285,22 @@ export interface GetAgentRuntimeRequest {
279
285
  }
280
286
  export interface GetAgentRuntimeResponse {
281
287
  agentRuntimeArn: string | undefined;
282
- workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
283
288
  agentRuntimeName: string | undefined;
284
- description?: string | undefined;
285
289
  agentRuntimeId: string | undefined;
286
290
  agentRuntimeVersion: string | undefined;
287
291
  createdAt: Date | undefined;
288
292
  lastUpdatedAt: Date | undefined;
289
293
  roleArn: string | undefined;
290
- agentRuntimeArtifact?: AgentRuntimeArtifact | undefined;
291
294
  networkConfiguration: NetworkConfiguration | undefined;
295
+ status: AgentRuntimeStatus | undefined;
296
+ lifecycleConfiguration: LifecycleConfiguration | undefined;
297
+ description?: string | undefined;
298
+ workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
299
+ agentRuntimeArtifact?: AgentRuntimeArtifact | undefined;
292
300
  protocolConfiguration?: ProtocolConfiguration | undefined;
293
301
  environmentVariables?: Record<string, string> | undefined;
294
302
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
295
303
  requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
296
- status: AgentRuntimeStatus | undefined;
297
304
  }
298
305
  export interface ListAgentRuntimesRequest {
299
306
  maxResults?: number | undefined;
@@ -323,15 +330,16 @@ export interface ListAgentRuntimeVersionsResponse {
323
330
  }
324
331
  export interface UpdateAgentRuntimeRequest {
325
332
  agentRuntimeId: string | undefined;
326
- description?: string | undefined;
327
333
  agentRuntimeArtifact: AgentRuntimeArtifact | undefined;
328
334
  roleArn: string | undefined;
329
335
  networkConfiguration: NetworkConfiguration | undefined;
330
- protocolConfiguration?: ProtocolConfiguration | undefined;
331
- clientToken?: string | undefined;
332
- environmentVariables?: Record<string, string> | undefined;
336
+ description?: string | undefined;
333
337
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
334
338
  requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
339
+ protocolConfiguration?: ProtocolConfiguration | undefined;
340
+ lifecycleConfiguration?: LifecycleConfiguration | undefined;
341
+ environmentVariables?: Record<string, string> | undefined;
342
+ clientToken?: string | undefined;
335
343
  }
336
344
  export interface UpdateAgentRuntimeResponse {
337
345
  agentRuntimeArn: string | undefined;
@@ -1062,6 +1070,7 @@ export interface CreateMemoryInput {
1062
1070
  memoryExecutionRoleArn?: string | undefined;
1063
1071
  eventExpiryDuration: number | undefined;
1064
1072
  memoryStrategies?: MemoryStrategyInput[] | undefined;
1073
+ tags?: Record<string, string> | undefined;
1065
1074
  }
1066
1075
  export declare const MemoryStatus: {
1067
1076
  readonly ACTIVE: "ACTIVE";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore-control",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
4
- "version": "3.901.0",
4
+ "version": "3.904.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",