@aws-sdk/client-bedrock-agentcore-control 3.891.0 → 3.894.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/README.md +25 -1
- package/dist-cjs/index.js +5139 -11
- package/dist-es/BedrockAgentCoreControl.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +49 -35
- package/dist-es/protocols/Aws_restJson1.js +88 -9
- package/dist-types/BedrockAgentCoreControl.d.ts +22 -1
- package/dist-types/BedrockAgentCoreControlClient.d.ts +6 -3
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +19 -3
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +4 -1
- package/dist-types/commands/CreateBrowserCommand.d.ts +12 -1
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +12 -1
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +16 -3
- package/dist-types/commands/GetBrowserCommand.d.ts +10 -1
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +10 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +2 -2
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +2 -2
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +15 -2
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +547 -378
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +133 -79
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +19 -19
- package/dist-cjs/BedrockAgentCoreControl.js +0 -113
- package/dist-cjs/BedrockAgentCoreControlClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/CreateAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/CreateApiKeyCredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/CreateBrowserCommand.js +0 -27
- package/dist-cjs/commands/CreateCodeInterpreterCommand.js +0 -27
- package/dist-cjs/commands/CreateGatewayCommand.js +0 -27
- package/dist-cjs/commands/CreateGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/CreateMemoryCommand.js +0 -27
- package/dist-cjs/commands/CreateOauth2CredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/CreateWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/DeleteAgentRuntimeCommand.js +0 -26
- package/dist-cjs/commands/DeleteAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/DeleteApiKeyCredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/DeleteBrowserCommand.js +0 -26
- package/dist-cjs/commands/DeleteCodeInterpreterCommand.js +0 -26
- package/dist-cjs/commands/DeleteGatewayCommand.js +0 -26
- package/dist-cjs/commands/DeleteGatewayTargetCommand.js +0 -26
- package/dist-cjs/commands/DeleteMemoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteOauth2CredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/DeleteWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/GetAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/GetAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/GetApiKeyCredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/GetBrowserCommand.js +0 -27
- package/dist-cjs/commands/GetCodeInterpreterCommand.js +0 -27
- package/dist-cjs/commands/GetGatewayCommand.js +0 -27
- package/dist-cjs/commands/GetGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/GetMemoryCommand.js +0 -27
- package/dist-cjs/commands/GetOauth2CredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/GetTokenVaultCommand.js +0 -26
- package/dist-cjs/commands/GetWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/ListAgentRuntimeEndpointsCommand.js +0 -27
- package/dist-cjs/commands/ListAgentRuntimeVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListAgentRuntimesCommand.js +0 -27
- package/dist-cjs/commands/ListApiKeyCredentialProvidersCommand.js +0 -26
- package/dist-cjs/commands/ListBrowsersCommand.js +0 -27
- package/dist-cjs/commands/ListCodeInterpretersCommand.js +0 -27
- package/dist-cjs/commands/ListGatewayTargetsCommand.js +0 -27
- package/dist-cjs/commands/ListGatewaysCommand.js +0 -27
- package/dist-cjs/commands/ListMemoriesCommand.js +0 -26
- package/dist-cjs/commands/ListOauth2CredentialProvidersCommand.js +0 -26
- package/dist-cjs/commands/ListWorkloadIdentitiesCommand.js +0 -26
- package/dist-cjs/commands/SetTokenVaultCMKCommand.js +0 -26
- package/dist-cjs/commands/UpdateAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/UpdateAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/UpdateApiKeyCredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateGatewayCommand.js +0 -27
- package/dist-cjs/commands/UpdateGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/UpdateMemoryCommand.js +0 -27
- package/dist-cjs/commands/UpdateOauth2CredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -54
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BedrockAgentCoreControlServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -1213
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListAgentRuntimeEndpointsPaginator.js +0 -7
- package/dist-cjs/pagination/ListAgentRuntimeVersionsPaginator.js +0 -7
- package/dist-cjs/pagination/ListAgentRuntimesPaginator.js +0 -7
- package/dist-cjs/pagination/ListApiKeyCredentialProvidersPaginator.js +0 -7
- package/dist-cjs/pagination/ListBrowsersPaginator.js +0 -7
- package/dist-cjs/pagination/ListCodeInterpretersPaginator.js +0 -7
- package/dist-cjs/pagination/ListGatewayTargetsPaginator.js +0 -7
- package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -7
- package/dist-cjs/pagination/ListMemoriesPaginator.js +0 -7
- package/dist-cjs/pagination/ListOauth2CredentialProvidersPaginator.js +0 -7
- package/dist-cjs/pagination/ListWorkloadIdentitiesPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -15
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2325
- package/dist-cjs/runtimeExtensions.js +0 -13
- package/dist-cjs/waiters/index.js +0 -4
- package/dist-cjs/waiters/waitForMemoryCreated.js +0 -54
|
@@ -7,67 +7,6 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export declare const AgentStatus: {
|
|
11
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
12
|
-
readonly CREATING: "CREATING";
|
|
13
|
-
readonly DELETING: "DELETING";
|
|
14
|
-
readonly READY: "READY";
|
|
15
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
16
|
-
readonly UPDATING: "UPDATING";
|
|
17
|
-
};
|
|
18
|
-
export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
|
|
19
|
-
export interface Agent {
|
|
20
|
-
agentRuntimeArn: string | undefined;
|
|
21
|
-
agentRuntimeId: string | undefined;
|
|
22
|
-
agentRuntimeVersion: string | undefined;
|
|
23
|
-
agentRuntimeName: string | undefined;
|
|
24
|
-
description: string | undefined;
|
|
25
|
-
lastUpdatedAt: Date | undefined;
|
|
26
|
-
status: AgentStatus | undefined;
|
|
27
|
-
}
|
|
28
|
-
export interface ContainerConfiguration {
|
|
29
|
-
containerUri: string | undefined;
|
|
30
|
-
}
|
|
31
|
-
export type AgentArtifact =
|
|
32
|
-
| AgentArtifact.ContainerConfigurationMember
|
|
33
|
-
| AgentArtifact.$UnknownMember;
|
|
34
|
-
export declare namespace AgentArtifact {
|
|
35
|
-
interface ContainerConfigurationMember {
|
|
36
|
-
containerConfiguration: ContainerConfiguration;
|
|
37
|
-
$unknown?: never;
|
|
38
|
-
}
|
|
39
|
-
interface $UnknownMember {
|
|
40
|
-
containerConfiguration?: never;
|
|
41
|
-
$unknown: [string, any];
|
|
42
|
-
}
|
|
43
|
-
interface Visitor<T> {
|
|
44
|
-
containerConfiguration: (value: ContainerConfiguration) => T;
|
|
45
|
-
_: (name: string, value: any) => T;
|
|
46
|
-
}
|
|
47
|
-
const visit: <T>(value: AgentArtifact, visitor: Visitor<T>) => T;
|
|
48
|
-
}
|
|
49
|
-
export declare const AgentEndpointStatus: {
|
|
50
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
51
|
-
readonly CREATING: "CREATING";
|
|
52
|
-
readonly DELETING: "DELETING";
|
|
53
|
-
readonly READY: "READY";
|
|
54
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
55
|
-
readonly UPDATING: "UPDATING";
|
|
56
|
-
};
|
|
57
|
-
export type AgentEndpointStatus =
|
|
58
|
-
(typeof AgentEndpointStatus)[keyof typeof AgentEndpointStatus];
|
|
59
|
-
export interface AgentEndpoint {
|
|
60
|
-
name: string | undefined;
|
|
61
|
-
liveVersion?: string | undefined;
|
|
62
|
-
targetVersion?: string | undefined;
|
|
63
|
-
agentRuntimeEndpointArn: string | undefined;
|
|
64
|
-
agentRuntimeArn: string | undefined;
|
|
65
|
-
status: AgentEndpointStatus | undefined;
|
|
66
|
-
id: string | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
createdAt: Date | undefined;
|
|
69
|
-
lastUpdatedAt: Date | undefined;
|
|
70
|
-
}
|
|
71
10
|
export declare class ConflictException extends __BaseException {
|
|
72
11
|
readonly name: "ConflictException";
|
|
73
12
|
readonly $fault: "client";
|
|
@@ -79,12 +18,23 @@ export interface CreateAgentRuntimeEndpointRequest {
|
|
|
79
18
|
agentRuntimeVersion?: string | undefined;
|
|
80
19
|
description?: string | undefined;
|
|
81
20
|
clientToken?: string | undefined;
|
|
21
|
+
tags?: Record<string, string> | undefined;
|
|
82
22
|
}
|
|
23
|
+
export declare const AgentRuntimeEndpointStatus: {
|
|
24
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
25
|
+
readonly CREATING: "CREATING";
|
|
26
|
+
readonly DELETING: "DELETING";
|
|
27
|
+
readonly READY: "READY";
|
|
28
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
29
|
+
readonly UPDATING: "UPDATING";
|
|
30
|
+
};
|
|
31
|
+
export type AgentRuntimeEndpointStatus =
|
|
32
|
+
(typeof AgentRuntimeEndpointStatus)[keyof typeof AgentRuntimeEndpointStatus];
|
|
83
33
|
export interface CreateAgentRuntimeEndpointResponse {
|
|
84
34
|
targetVersion: string | undefined;
|
|
85
35
|
agentRuntimeEndpointArn: string | undefined;
|
|
86
36
|
agentRuntimeArn: string | undefined;
|
|
87
|
-
status:
|
|
37
|
+
status: AgentRuntimeEndpointStatus | undefined;
|
|
88
38
|
createdAt: Date | undefined;
|
|
89
39
|
}
|
|
90
40
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -143,7 +93,7 @@ export interface DeleteAgentRuntimeEndpointRequest {
|
|
|
143
93
|
clientToken?: string | undefined;
|
|
144
94
|
}
|
|
145
95
|
export interface DeleteAgentRuntimeEndpointResponse {
|
|
146
|
-
status:
|
|
96
|
+
status: AgentRuntimeEndpointStatus | undefined;
|
|
147
97
|
}
|
|
148
98
|
export interface GetAgentRuntimeEndpointRequest {
|
|
149
99
|
agentRuntimeId: string | undefined;
|
|
@@ -155,7 +105,7 @@ export interface GetAgentRuntimeEndpointResponse {
|
|
|
155
105
|
agentRuntimeEndpointArn: string | undefined;
|
|
156
106
|
agentRuntimeArn: string | undefined;
|
|
157
107
|
description?: string | undefined;
|
|
158
|
-
status:
|
|
108
|
+
status: AgentRuntimeEndpointStatus | undefined;
|
|
159
109
|
createdAt: Date | undefined;
|
|
160
110
|
lastUpdatedAt: Date | undefined;
|
|
161
111
|
failureReason?: string | undefined;
|
|
@@ -167,8 +117,20 @@ export interface ListAgentRuntimeEndpointsRequest {
|
|
|
167
117
|
maxResults?: number | undefined;
|
|
168
118
|
nextToken?: string | undefined;
|
|
169
119
|
}
|
|
120
|
+
export interface AgentRuntimeEndpoint {
|
|
121
|
+
name: string | undefined;
|
|
122
|
+
liveVersion?: string | undefined;
|
|
123
|
+
targetVersion?: string | undefined;
|
|
124
|
+
agentRuntimeEndpointArn: string | undefined;
|
|
125
|
+
agentRuntimeArn: string | undefined;
|
|
126
|
+
status: AgentRuntimeEndpointStatus | undefined;
|
|
127
|
+
id: string | undefined;
|
|
128
|
+
description?: string | undefined;
|
|
129
|
+
createdAt: Date | undefined;
|
|
130
|
+
lastUpdatedAt: Date | undefined;
|
|
131
|
+
}
|
|
170
132
|
export interface ListAgentRuntimeEndpointsResponse {
|
|
171
|
-
runtimeEndpoints:
|
|
133
|
+
runtimeEndpoints: AgentRuntimeEndpoint[] | undefined;
|
|
172
134
|
nextToken?: string | undefined;
|
|
173
135
|
}
|
|
174
136
|
export interface UpdateAgentRuntimeEndpointRequest {
|
|
@@ -183,10 +145,31 @@ export interface UpdateAgentRuntimeEndpointResponse {
|
|
|
183
145
|
targetVersion?: string | undefined;
|
|
184
146
|
agentRuntimeEndpointArn: string | undefined;
|
|
185
147
|
agentRuntimeArn: string | undefined;
|
|
186
|
-
status:
|
|
148
|
+
status: AgentRuntimeEndpointStatus | undefined;
|
|
187
149
|
createdAt: Date | undefined;
|
|
188
150
|
lastUpdatedAt: Date | undefined;
|
|
189
151
|
}
|
|
152
|
+
export interface ContainerConfiguration {
|
|
153
|
+
containerUri: string | undefined;
|
|
154
|
+
}
|
|
155
|
+
export type AgentRuntimeArtifact =
|
|
156
|
+
| AgentRuntimeArtifact.ContainerConfigurationMember
|
|
157
|
+
| AgentRuntimeArtifact.$UnknownMember;
|
|
158
|
+
export declare namespace AgentRuntimeArtifact {
|
|
159
|
+
interface ContainerConfigurationMember {
|
|
160
|
+
containerConfiguration: ContainerConfiguration;
|
|
161
|
+
$unknown?: never;
|
|
162
|
+
}
|
|
163
|
+
interface $UnknownMember {
|
|
164
|
+
containerConfiguration?: never;
|
|
165
|
+
$unknown: [string, any];
|
|
166
|
+
}
|
|
167
|
+
interface Visitor<T> {
|
|
168
|
+
containerConfiguration: (value: ContainerConfiguration) => T;
|
|
169
|
+
_: (name: string, value: any) => T;
|
|
170
|
+
}
|
|
171
|
+
const visit: <T>(value: AgentRuntimeArtifact, visitor: Visitor<T>) => T;
|
|
172
|
+
}
|
|
190
173
|
export interface CustomJWTAuthorizerConfiguration {
|
|
191
174
|
discoveryUrl: string | undefined;
|
|
192
175
|
allowedAudience?: string[] | undefined;
|
|
@@ -212,10 +195,16 @@ export declare namespace AuthorizerConfiguration {
|
|
|
212
195
|
}
|
|
213
196
|
export declare const NetworkMode: {
|
|
214
197
|
readonly PUBLIC: "PUBLIC";
|
|
198
|
+
readonly VPC: "VPC";
|
|
215
199
|
};
|
|
216
200
|
export type NetworkMode = (typeof NetworkMode)[keyof typeof NetworkMode];
|
|
201
|
+
export interface VpcConfig {
|
|
202
|
+
securityGroups: string[] | undefined;
|
|
203
|
+
subnets: string[] | undefined;
|
|
204
|
+
}
|
|
217
205
|
export interface NetworkConfiguration {
|
|
218
206
|
networkMode: NetworkMode | undefined;
|
|
207
|
+
networkModeConfig?: VpcConfig | undefined;
|
|
219
208
|
}
|
|
220
209
|
export declare const ServerProtocol: {
|
|
221
210
|
readonly HTTP: "HTTP";
|
|
@@ -226,17 +215,47 @@ export type ServerProtocol =
|
|
|
226
215
|
export interface ProtocolConfiguration {
|
|
227
216
|
serverProtocol: ServerProtocol | undefined;
|
|
228
217
|
}
|
|
218
|
+
export type RequestHeaderConfiguration =
|
|
219
|
+
| RequestHeaderConfiguration.RequestHeaderAllowlistMember
|
|
220
|
+
| RequestHeaderConfiguration.$UnknownMember;
|
|
221
|
+
export declare namespace RequestHeaderConfiguration {
|
|
222
|
+
interface RequestHeaderAllowlistMember {
|
|
223
|
+
requestHeaderAllowlist: string[];
|
|
224
|
+
$unknown?: never;
|
|
225
|
+
}
|
|
226
|
+
interface $UnknownMember {
|
|
227
|
+
requestHeaderAllowlist?: never;
|
|
228
|
+
$unknown: [string, any];
|
|
229
|
+
}
|
|
230
|
+
interface Visitor<T> {
|
|
231
|
+
requestHeaderAllowlist: (value: string[]) => T;
|
|
232
|
+
_: (name: string, value: any) => T;
|
|
233
|
+
}
|
|
234
|
+
const visit: <T>(value: RequestHeaderConfiguration, visitor: Visitor<T>) => T;
|
|
235
|
+
}
|
|
229
236
|
export interface CreateAgentRuntimeRequest {
|
|
230
237
|
agentRuntimeName: string | undefined;
|
|
231
238
|
description?: string | undefined;
|
|
232
|
-
agentRuntimeArtifact:
|
|
239
|
+
agentRuntimeArtifact: AgentRuntimeArtifact | undefined;
|
|
233
240
|
roleArn: string | undefined;
|
|
234
241
|
networkConfiguration: NetworkConfiguration | undefined;
|
|
235
242
|
protocolConfiguration?: ProtocolConfiguration | undefined;
|
|
236
243
|
clientToken?: string | undefined;
|
|
237
244
|
environmentVariables?: Record<string, string> | undefined;
|
|
238
245
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
246
|
+
requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
|
|
247
|
+
tags?: Record<string, string> | undefined;
|
|
239
248
|
}
|
|
249
|
+
export declare const AgentRuntimeStatus: {
|
|
250
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
251
|
+
readonly CREATING: "CREATING";
|
|
252
|
+
readonly DELETING: "DELETING";
|
|
253
|
+
readonly READY: "READY";
|
|
254
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
255
|
+
readonly UPDATING: "UPDATING";
|
|
256
|
+
};
|
|
257
|
+
export type AgentRuntimeStatus =
|
|
258
|
+
(typeof AgentRuntimeStatus)[keyof typeof AgentRuntimeStatus];
|
|
240
259
|
export interface WorkloadIdentityDetails {
|
|
241
260
|
workloadIdentityArn: string | undefined;
|
|
242
261
|
}
|
|
@@ -246,13 +265,13 @@ export interface CreateAgentRuntimeResponse {
|
|
|
246
265
|
agentRuntimeId: string | undefined;
|
|
247
266
|
agentRuntimeVersion: string | undefined;
|
|
248
267
|
createdAt: Date | undefined;
|
|
249
|
-
status:
|
|
268
|
+
status: AgentRuntimeStatus | undefined;
|
|
250
269
|
}
|
|
251
270
|
export interface DeleteAgentRuntimeRequest {
|
|
252
271
|
agentRuntimeId: string | undefined;
|
|
253
272
|
}
|
|
254
273
|
export interface DeleteAgentRuntimeResponse {
|
|
255
|
-
status:
|
|
274
|
+
status: AgentRuntimeStatus | undefined;
|
|
256
275
|
}
|
|
257
276
|
export interface GetAgentRuntimeRequest {
|
|
258
277
|
agentRuntimeId: string | undefined;
|
|
@@ -268,19 +287,29 @@ export interface GetAgentRuntimeResponse {
|
|
|
268
287
|
createdAt: Date | undefined;
|
|
269
288
|
lastUpdatedAt: Date | undefined;
|
|
270
289
|
roleArn: string | undefined;
|
|
271
|
-
agentRuntimeArtifact?:
|
|
290
|
+
agentRuntimeArtifact?: AgentRuntimeArtifact | undefined;
|
|
272
291
|
networkConfiguration: NetworkConfiguration | undefined;
|
|
273
292
|
protocolConfiguration?: ProtocolConfiguration | undefined;
|
|
274
293
|
environmentVariables?: Record<string, string> | undefined;
|
|
275
294
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
276
|
-
|
|
295
|
+
requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
|
|
296
|
+
status: AgentRuntimeStatus | undefined;
|
|
277
297
|
}
|
|
278
298
|
export interface ListAgentRuntimesRequest {
|
|
279
299
|
maxResults?: number | undefined;
|
|
280
300
|
nextToken?: string | undefined;
|
|
281
301
|
}
|
|
302
|
+
export interface AgentRuntime {
|
|
303
|
+
agentRuntimeArn: string | undefined;
|
|
304
|
+
agentRuntimeId: string | undefined;
|
|
305
|
+
agentRuntimeVersion: string | undefined;
|
|
306
|
+
agentRuntimeName: string | undefined;
|
|
307
|
+
description: string | undefined;
|
|
308
|
+
lastUpdatedAt: Date | undefined;
|
|
309
|
+
status: AgentRuntimeStatus | undefined;
|
|
310
|
+
}
|
|
282
311
|
export interface ListAgentRuntimesResponse {
|
|
283
|
-
agentRuntimes:
|
|
312
|
+
agentRuntimes: AgentRuntime[] | undefined;
|
|
284
313
|
nextToken?: string | undefined;
|
|
285
314
|
}
|
|
286
315
|
export interface ListAgentRuntimeVersionsRequest {
|
|
@@ -289,19 +318,20 @@ export interface ListAgentRuntimeVersionsRequest {
|
|
|
289
318
|
nextToken?: string | undefined;
|
|
290
319
|
}
|
|
291
320
|
export interface ListAgentRuntimeVersionsResponse {
|
|
292
|
-
agentRuntimes:
|
|
321
|
+
agentRuntimes: AgentRuntime[] | undefined;
|
|
293
322
|
nextToken?: string | undefined;
|
|
294
323
|
}
|
|
295
324
|
export interface UpdateAgentRuntimeRequest {
|
|
296
325
|
agentRuntimeId: string | undefined;
|
|
297
326
|
description?: string | undefined;
|
|
298
|
-
agentRuntimeArtifact:
|
|
327
|
+
agentRuntimeArtifact: AgentRuntimeArtifact | undefined;
|
|
299
328
|
roleArn: string | undefined;
|
|
300
329
|
networkConfiguration: NetworkConfiguration | undefined;
|
|
301
330
|
protocolConfiguration?: ProtocolConfiguration | undefined;
|
|
302
331
|
clientToken?: string | undefined;
|
|
303
332
|
environmentVariables?: Record<string, string> | undefined;
|
|
304
333
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
334
|
+
requestHeaderConfiguration?: RequestHeaderConfiguration | undefined;
|
|
305
335
|
}
|
|
306
336
|
export interface UpdateAgentRuntimeResponse {
|
|
307
337
|
agentRuntimeArn: string | undefined;
|
|
@@ -310,7 +340,7 @@ export interface UpdateAgentRuntimeResponse {
|
|
|
310
340
|
agentRuntimeVersion: string | undefined;
|
|
311
341
|
createdAt: Date | undefined;
|
|
312
342
|
lastUpdatedAt: Date | undefined;
|
|
313
|
-
status:
|
|
343
|
+
status: AgentRuntimeStatus | undefined;
|
|
314
344
|
}
|
|
315
345
|
export interface CreateApiKeyCredentialProviderRequest {
|
|
316
346
|
name: string | undefined;
|
|
@@ -389,11 +419,13 @@ export interface UpdateApiKeyCredentialProviderResponse {
|
|
|
389
419
|
}
|
|
390
420
|
export declare const BrowserNetworkMode: {
|
|
391
421
|
readonly PUBLIC: "PUBLIC";
|
|
422
|
+
readonly VPC: "VPC";
|
|
392
423
|
};
|
|
393
424
|
export type BrowserNetworkMode =
|
|
394
425
|
(typeof BrowserNetworkMode)[keyof typeof BrowserNetworkMode];
|
|
395
426
|
export interface BrowserNetworkConfiguration {
|
|
396
427
|
networkMode: BrowserNetworkMode | undefined;
|
|
428
|
+
vpcConfig?: VpcConfig | undefined;
|
|
397
429
|
}
|
|
398
430
|
export interface S3Location {
|
|
399
431
|
bucket: string | undefined;
|
|
@@ -410,6 +442,7 @@ export interface CreateBrowserRequest {
|
|
|
410
442
|
networkConfiguration: BrowserNetworkConfiguration | undefined;
|
|
411
443
|
recording?: RecordingConfig | undefined;
|
|
412
444
|
clientToken?: string | undefined;
|
|
445
|
+
tags?: Record<string, string> | undefined;
|
|
413
446
|
}
|
|
414
447
|
export declare const BrowserStatus: {
|
|
415
448
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -447,6 +480,7 @@ export interface GetBrowserResponse {
|
|
|
447
480
|
networkConfiguration: BrowserNetworkConfiguration | undefined;
|
|
448
481
|
recording?: RecordingConfig | undefined;
|
|
449
482
|
status: BrowserStatus | undefined;
|
|
483
|
+
failureReason?: string | undefined;
|
|
450
484
|
createdAt: Date | undefined;
|
|
451
485
|
lastUpdatedAt: Date | undefined;
|
|
452
486
|
}
|
|
@@ -476,11 +510,13 @@ export interface ListBrowsersResponse {
|
|
|
476
510
|
export declare const CodeInterpreterNetworkMode: {
|
|
477
511
|
readonly PUBLIC: "PUBLIC";
|
|
478
512
|
readonly SANDBOX: "SANDBOX";
|
|
513
|
+
readonly VPC: "VPC";
|
|
479
514
|
};
|
|
480
515
|
export type CodeInterpreterNetworkMode =
|
|
481
516
|
(typeof CodeInterpreterNetworkMode)[keyof typeof CodeInterpreterNetworkMode];
|
|
482
517
|
export interface CodeInterpreterNetworkConfiguration {
|
|
483
518
|
networkMode: CodeInterpreterNetworkMode | undefined;
|
|
519
|
+
vpcConfig?: VpcConfig | undefined;
|
|
484
520
|
}
|
|
485
521
|
export interface CreateCodeInterpreterRequest {
|
|
486
522
|
name: string | undefined;
|
|
@@ -488,6 +524,7 @@ export interface CreateCodeInterpreterRequest {
|
|
|
488
524
|
executionRoleArn?: string | undefined;
|
|
489
525
|
networkConfiguration: CodeInterpreterNetworkConfiguration | undefined;
|
|
490
526
|
clientToken?: string | undefined;
|
|
527
|
+
tags?: Record<string, string> | undefined;
|
|
491
528
|
}
|
|
492
529
|
export declare const CodeInterpreterStatus: {
|
|
493
530
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -525,6 +562,7 @@ export interface GetCodeInterpreterResponse {
|
|
|
525
562
|
executionRoleArn?: string | undefined;
|
|
526
563
|
networkConfiguration: CodeInterpreterNetworkConfiguration | undefined;
|
|
527
564
|
status: CodeInterpreterStatus | undefined;
|
|
565
|
+
failureReason?: string | undefined;
|
|
528
566
|
createdAt: Date | undefined;
|
|
529
567
|
lastUpdatedAt: Date | undefined;
|
|
530
568
|
}
|
|
@@ -862,6 +900,12 @@ export interface GetTokenVaultResponse {
|
|
|
862
900
|
kmsConfiguration: KmsConfiguration | undefined;
|
|
863
901
|
lastModifiedDate: Date | undefined;
|
|
864
902
|
}
|
|
903
|
+
export interface ListTagsForResourceRequest {
|
|
904
|
+
resourceArn: string | undefined;
|
|
905
|
+
}
|
|
906
|
+
export interface ListTagsForResourceResponse {
|
|
907
|
+
tags?: Record<string, string> | undefined;
|
|
908
|
+
}
|
|
865
909
|
export interface SemanticOverrideConsolidationConfigurationInput {
|
|
866
910
|
appendToPrompt: string | undefined;
|
|
867
911
|
modelId: string | undefined;
|
|
@@ -1746,6 +1790,16 @@ export interface SetTokenVaultCMKResponse {
|
|
|
1746
1790
|
kmsConfiguration: KmsConfiguration | undefined;
|
|
1747
1791
|
lastModifiedDate: Date | undefined;
|
|
1748
1792
|
}
|
|
1793
|
+
export interface TagResourceRequest {
|
|
1794
|
+
resourceArn: string | undefined;
|
|
1795
|
+
tags: Record<string, string> | undefined;
|
|
1796
|
+
}
|
|
1797
|
+
export interface TagResourceResponse {}
|
|
1798
|
+
export interface UntagResourceRequest {
|
|
1799
|
+
resourceArn: string | undefined;
|
|
1800
|
+
tagKeys: string[] | undefined;
|
|
1801
|
+
}
|
|
1802
|
+
export interface UntagResourceResponse {}
|
|
1749
1803
|
export interface CreateWorkloadIdentityRequest {
|
|
1750
1804
|
name: string | undefined;
|
|
1751
1805
|
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
@@ -1954,10 +2008,6 @@ export interface UpdateGatewayTargetResponse {
|
|
|
1954
2008
|
| CredentialProviderConfiguration[]
|
|
1955
2009
|
| undefined;
|
|
1956
2010
|
}
|
|
1957
|
-
export declare const AgentFilterSensitiveLog: (obj: Agent) => any;
|
|
1958
|
-
export declare const AgentEndpointFilterSensitiveLog: (
|
|
1959
|
-
obj: AgentEndpoint
|
|
1960
|
-
) => any;
|
|
1961
2011
|
export declare const CreateAgentRuntimeEndpointRequestFilterSensitiveLog: (
|
|
1962
2012
|
obj: CreateAgentRuntimeEndpointRequest
|
|
1963
2013
|
) => any;
|
|
@@ -1970,6 +2020,9 @@ export declare const GetAgentRuntimeEndpointRequestFilterSensitiveLog: (
|
|
|
1970
2020
|
export declare const GetAgentRuntimeEndpointResponseFilterSensitiveLog: (
|
|
1971
2021
|
obj: GetAgentRuntimeEndpointResponse
|
|
1972
2022
|
) => any;
|
|
2023
|
+
export declare const AgentRuntimeEndpointFilterSensitiveLog: (
|
|
2024
|
+
obj: AgentRuntimeEndpoint
|
|
2025
|
+
) => any;
|
|
1973
2026
|
export declare const ListAgentRuntimeEndpointsResponseFilterSensitiveLog: (
|
|
1974
2027
|
obj: ListAgentRuntimeEndpointsResponse
|
|
1975
2028
|
) => any;
|
|
@@ -1982,6 +2035,7 @@ export declare const CreateAgentRuntimeRequestFilterSensitiveLog: (
|
|
|
1982
2035
|
export declare const GetAgentRuntimeResponseFilterSensitiveLog: (
|
|
1983
2036
|
obj: GetAgentRuntimeResponse
|
|
1984
2037
|
) => any;
|
|
2038
|
+
export declare const AgentRuntimeFilterSensitiveLog: (obj: AgentRuntime) => any;
|
|
1985
2039
|
export declare const ListAgentRuntimesResponseFilterSensitiveLog: (
|
|
1986
2040
|
obj: ListAgentRuntimesResponse
|
|
1987
2041
|
) => any;
|
|
@@ -167,6 +167,10 @@ import {
|
|
|
167
167
|
ListOauth2CredentialProvidersCommandInput,
|
|
168
168
|
ListOauth2CredentialProvidersCommandOutput,
|
|
169
169
|
} from "../commands/ListOauth2CredentialProvidersCommand";
|
|
170
|
+
import {
|
|
171
|
+
ListTagsForResourceCommandInput,
|
|
172
|
+
ListTagsForResourceCommandOutput,
|
|
173
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
170
174
|
import {
|
|
171
175
|
ListWorkloadIdentitiesCommandInput,
|
|
172
176
|
ListWorkloadIdentitiesCommandOutput,
|
|
@@ -175,6 +179,14 @@ import {
|
|
|
175
179
|
SetTokenVaultCMKCommandInput,
|
|
176
180
|
SetTokenVaultCMKCommandOutput,
|
|
177
181
|
} from "../commands/SetTokenVaultCMKCommand";
|
|
182
|
+
import {
|
|
183
|
+
TagResourceCommandInput,
|
|
184
|
+
TagResourceCommandOutput,
|
|
185
|
+
} from "../commands/TagResourceCommand";
|
|
186
|
+
import {
|
|
187
|
+
UntagResourceCommandInput,
|
|
188
|
+
UntagResourceCommandOutput,
|
|
189
|
+
} from "../commands/UntagResourceCommand";
|
|
178
190
|
import {
|
|
179
191
|
UpdateAgentRuntimeCommandInput,
|
|
180
192
|
UpdateAgentRuntimeCommandOutput,
|
|
@@ -371,6 +383,10 @@ export declare const se_ListOauth2CredentialProvidersCommand: (
|
|
|
371
383
|
input: ListOauth2CredentialProvidersCommandInput,
|
|
372
384
|
context: __SerdeContext
|
|
373
385
|
) => Promise<__HttpRequest>;
|
|
386
|
+
export declare const se_ListTagsForResourceCommand: (
|
|
387
|
+
input: ListTagsForResourceCommandInput,
|
|
388
|
+
context: __SerdeContext
|
|
389
|
+
) => Promise<__HttpRequest>;
|
|
374
390
|
export declare const se_ListWorkloadIdentitiesCommand: (
|
|
375
391
|
input: ListWorkloadIdentitiesCommandInput,
|
|
376
392
|
context: __SerdeContext
|
|
@@ -379,6 +395,14 @@ export declare const se_SetTokenVaultCMKCommand: (
|
|
|
379
395
|
input: SetTokenVaultCMKCommandInput,
|
|
380
396
|
context: __SerdeContext
|
|
381
397
|
) => Promise<__HttpRequest>;
|
|
398
|
+
export declare const se_TagResourceCommand: (
|
|
399
|
+
input: TagResourceCommandInput,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<__HttpRequest>;
|
|
402
|
+
export declare const se_UntagResourceCommand: (
|
|
403
|
+
input: UntagResourceCommandInput,
|
|
404
|
+
context: __SerdeContext
|
|
405
|
+
) => Promise<__HttpRequest>;
|
|
382
406
|
export declare const se_UpdateAgentRuntimeCommand: (
|
|
383
407
|
input: UpdateAgentRuntimeCommandInput,
|
|
384
408
|
context: __SerdeContext
|
|
@@ -575,6 +599,10 @@ export declare const de_ListOauth2CredentialProvidersCommand: (
|
|
|
575
599
|
output: __HttpResponse,
|
|
576
600
|
context: __SerdeContext
|
|
577
601
|
) => Promise<ListOauth2CredentialProvidersCommandOutput>;
|
|
602
|
+
export declare const de_ListTagsForResourceCommand: (
|
|
603
|
+
output: __HttpResponse,
|
|
604
|
+
context: __SerdeContext
|
|
605
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
578
606
|
export declare const de_ListWorkloadIdentitiesCommand: (
|
|
579
607
|
output: __HttpResponse,
|
|
580
608
|
context: __SerdeContext
|
|
@@ -583,6 +611,14 @@ export declare const de_SetTokenVaultCMKCommand: (
|
|
|
583
611
|
output: __HttpResponse,
|
|
584
612
|
context: __SerdeContext
|
|
585
613
|
) => Promise<SetTokenVaultCMKCommandOutput>;
|
|
614
|
+
export declare const de_TagResourceCommand: (
|
|
615
|
+
output: __HttpResponse,
|
|
616
|
+
context: __SerdeContext
|
|
617
|
+
) => Promise<TagResourceCommandOutput>;
|
|
618
|
+
export declare const de_UntagResourceCommand: (
|
|
619
|
+
output: __HttpResponse,
|
|
620
|
+
context: __SerdeContext
|
|
621
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
586
622
|
export declare const de_UpdateAgentRuntimeCommand: (
|
|
587
623
|
output: __HttpResponse,
|
|
588
624
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
4
|
+
"version": "3.894.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.894.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.894.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
|
+
"@aws-sdk/types": "3.893.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.893.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.894.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
|
-
"@smithy/core": "^3.11.
|
|
35
|
+
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.2.4",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.3",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.3",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.3",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
57
|
"@smithy/util-retry": "^4.1.2",
|