@aws-sdk/client-bedrock-agentcore-control 3.901.0 → 3.906.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.
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +4684 -5034
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +11 -7
- package/dist-types/commands/CreateGatewayCommand.d.ts +2 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +3 -0
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +15 -11
- package/dist-types/commands/GetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +12 -8
- package/dist-types/commands/UpdateGatewayCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +85 -47
- package/dist-types/ts3.4/models/models_0.d.ts +23 -13
- package/package.json +5 -5
|
@@ -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": "
|
|
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
|
};
|
|
@@ -221,6 +222,7 @@ export const CodeInterpreterStatus = {
|
|
|
221
222
|
READY: "READY",
|
|
222
223
|
};
|
|
223
224
|
export const AuthorizerType = {
|
|
225
|
+
AWS_IAM: "AWS_IAM",
|
|
224
226
|
CUSTOM_JWT: "CUSTOM_JWT",
|
|
225
227
|
};
|
|
226
228
|
export const ExceptionLevel = {
|
|
@@ -576,11 +578,11 @@ export const UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
|
576
578
|
});
|
|
577
579
|
export const CreateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
578
580
|
...obj,
|
|
579
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
580
581
|
...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
|
|
581
|
-
...(obj.
|
|
582
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
582
583
|
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
583
584
|
...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
|
|
585
|
+
...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
|
|
584
586
|
});
|
|
585
587
|
export const GetAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
586
588
|
...obj,
|
|
@@ -604,11 +606,11 @@ export const ListAgentRuntimeVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
|
604
606
|
});
|
|
605
607
|
export const UpdateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
606
608
|
...obj,
|
|
607
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
608
609
|
...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
|
|
609
|
-
...(obj.
|
|
610
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
610
611
|
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
611
612
|
...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
|
|
613
|
+
...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
|
|
612
614
|
});
|
|
613
615
|
export const CreateApiKeyCredentialProviderRequestFilterSensitiveLog = (obj) => ({
|
|
614
616
|
...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
|
-
*
|
|
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
|
* },
|
|
@@ -51,7 +51,7 @@ declare const CreateGatewayCommand_base: {
|
|
|
51
51
|
* searchType: "SEMANTIC",
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
|
-
* authorizerType: "CUSTOM_JWT", // required
|
|
54
|
+
* authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
55
55
|
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
56
56
|
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
57
57
|
* discoveryUrl: "STRING_VALUE", // required
|
|
@@ -94,7 +94,7 @@ declare const CreateGatewayCommand_base: {
|
|
|
94
94
|
* // searchType: "SEMANTIC",
|
|
95
95
|
* // },
|
|
96
96
|
* // },
|
|
97
|
-
* // authorizerType: "CUSTOM_JWT", // required
|
|
97
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
98
98
|
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
99
99
|
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
100
100
|
* // discoveryUrl: "STRING_VALUE", // required
|
|
@@ -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
|
* ```
|
|
@@ -64,7 +64,7 @@ declare const GetGatewayCommand_base: {
|
|
|
64
64
|
* // searchType: "SEMANTIC",
|
|
65
65
|
* // },
|
|
66
66
|
* // },
|
|
67
|
-
* // authorizerType: "CUSTOM_JWT", // required
|
|
67
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
68
68
|
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
69
69
|
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
70
70
|
* // discoveryUrl: "STRING_VALUE", // required
|
|
@@ -51,7 +51,7 @@ declare const ListGatewaysCommand_base: {
|
|
|
51
51
|
* // description: "STRING_VALUE",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
-
* // authorizerType: "CUSTOM_JWT", // required
|
|
54
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
55
55
|
* // protocolType: "MCP", // required
|
|
56
56
|
* // },
|
|
57
57
|
* // ],
|
|
@@ -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
|
-
*
|
|
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);
|
|
@@ -51,7 +51,7 @@ declare const UpdateGatewayCommand_base: {
|
|
|
51
51
|
* searchType: "SEMANTIC",
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
|
-
* authorizerType: "CUSTOM_JWT", // required
|
|
54
|
+
* authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
55
55
|
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
56
56
|
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
57
57
|
* discoveryUrl: "STRING_VALUE", // required
|
|
@@ -91,7 +91,7 @@ declare const UpdateGatewayCommand_base: {
|
|
|
91
91
|
* // searchType: "SEMANTIC",
|
|
92
92
|
* // },
|
|
93
93
|
* // },
|
|
94
|
-
* // authorizerType: "CUSTOM_JWT", // required
|
|
94
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
95
95
|
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
96
96
|
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
97
97
|
* // discoveryUrl: "STRING_VALUE", // required
|
|
@@ -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>
|
|
703
|
+
* <p>The description of the AgentCore Runtime.</p>
|
|
697
704
|
* @public
|
|
698
705
|
*/
|
|
699
|
-
|
|
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
|
|
875
|
+
* <p>The network configuration for the AgentCore Runtime.</p>
|
|
864
876
|
* @public
|
|
865
877
|
*/
|
|
866
|
-
|
|
878
|
+
networkConfiguration: NetworkConfiguration | undefined;
|
|
867
879
|
/**
|
|
868
|
-
* <p>The
|
|
880
|
+
* <p>The current status of the AgentCore Runtime.</p>
|
|
869
881
|
* @public
|
|
870
882
|
*/
|
|
871
|
-
|
|
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>
|
|
1076
|
+
* <p>The updated life cycle configuration for the AgentCore Runtime.</p>
|
|
1040
1077
|
* @public
|
|
1041
1078
|
*/
|
|
1042
|
-
|
|
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>
|
|
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
|
-
|
|
1089
|
+
clientToken?: string | undefined;
|
|
1058
1090
|
}
|
|
1059
1091
|
/**
|
|
1060
1092
|
* @public
|
|
@@ -1966,6 +1998,7 @@ export interface ListCodeInterpretersResponse {
|
|
|
1966
1998
|
* @enum
|
|
1967
1999
|
*/
|
|
1968
2000
|
export declare const AuthorizerType: {
|
|
2001
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
1969
2002
|
readonly CUSTOM_JWT: "CUSTOM_JWT";
|
|
1970
2003
|
};
|
|
1971
2004
|
/**
|
|
@@ -2099,7 +2132,7 @@ export interface CreateGatewayRequest {
|
|
|
2099
2132
|
* <p>The authorizer configuration for the gateway.</p>
|
|
2100
2133
|
* @public
|
|
2101
2134
|
*/
|
|
2102
|
-
authorizerConfiguration
|
|
2135
|
+
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
2103
2136
|
/**
|
|
2104
2137
|
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with the gateway.</p>
|
|
2105
2138
|
* @public
|
|
@@ -2471,7 +2504,7 @@ export interface UpdateGatewayRequest {
|
|
|
2471
2504
|
* <p>The updated authorizer configuration for the gateway.</p>
|
|
2472
2505
|
* @public
|
|
2473
2506
|
*/
|
|
2474
|
-
authorizerConfiguration
|
|
2507
|
+
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
2475
2508
|
/**
|
|
2476
2509
|
* <p>The updated ARN of the KMS key used to encrypt the gateway.</p>
|
|
2477
2510
|
* @public
|
|
@@ -3376,6 +3409,11 @@ export interface CreateMemoryInput {
|
|
|
3376
3409
|
* @public
|
|
3377
3410
|
*/
|
|
3378
3411
|
memoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
3412
|
+
/**
|
|
3413
|
+
* <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>
|
|
3414
|
+
* @public
|
|
3415
|
+
*/
|
|
3416
|
+
tags?: Record<string, string> | undefined;
|
|
3379
3417
|
}
|
|
3380
3418
|
/**
|
|
3381
3419
|
* @public
|