@aws-sdk/client-bedrock-agentcore-control 3.890.0 → 3.893.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/BedrockAgentCoreControl.js +6 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +55 -40
- package/dist-cjs/protocols/Aws_restJson1.js +97 -12
- 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 +21 -3
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +6 -1
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateBrowserCommand.d.ts +14 -1
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +14 -1
- package/dist-types/commands/CreateGatewayCommand.d.ts +2 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +3 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +3 -1
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -1
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +3 -1
- package/dist-types/commands/DeleteApiKeyCredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBrowserCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCodeInterpreterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -1
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +3 -1
- package/dist-types/commands/DeleteMemoryCommand.d.ts +3 -1
- package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +18 -3
- package/dist-types/commands/GetAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/GetApiKeyCredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/GetBrowserCommand.d.ts +12 -1
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +12 -1
- package/dist-types/commands/GetGatewayCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +3 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +3 -1
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/GetTokenVaultCommand.d.ts +2 -0
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +2 -0
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +4 -2
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +4 -2
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +4 -2
- package/dist-types/commands/ListApiKeyCredentialProvidersCommand.d.ts +2 -0
- package/dist-types/commands/ListBrowsersCommand.d.ts +2 -0
- package/dist-types/commands/ListCodeInterpretersCommand.d.ts +2 -0
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +3 -1
- package/dist-types/commands/ListGatewaysCommand.d.ts +3 -1
- package/dist-types/commands/ListMemoriesCommand.d.ts +3 -1
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +2 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +2 -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 +17 -2
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +3 -1
- package/dist-types/commands/UpdateApiKeyCredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +3 -1
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +3 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +3 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +2 -0
- 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
|
@@ -20,7 +20,9 @@ export const se_CreateAgentRuntimeCommand = async (input, context) => {
|
|
|
20
20
|
environmentVariables: (_) => _json(_),
|
|
21
21
|
networkConfiguration: (_) => _json(_),
|
|
22
22
|
protocolConfiguration: (_) => _json(_),
|
|
23
|
+
requestHeaderConfiguration: (_) => _json(_),
|
|
23
24
|
roleArn: [],
|
|
25
|
+
tags: (_) => _json(_),
|
|
24
26
|
}));
|
|
25
27
|
b.m("PUT").h(headers).b(body);
|
|
26
28
|
return b.build();
|
|
@@ -38,6 +40,7 @@ export const se_CreateAgentRuntimeEndpointCommand = async (input, context) => {
|
|
|
38
40
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
39
41
|
description: [],
|
|
40
42
|
name: [],
|
|
43
|
+
tags: (_) => _json(_),
|
|
41
44
|
}));
|
|
42
45
|
b.m("PUT").h(headers).b(body);
|
|
43
46
|
return b.build();
|
|
@@ -70,6 +73,7 @@ export const se_CreateBrowserCommand = async (input, context) => {
|
|
|
70
73
|
name: [],
|
|
71
74
|
networkConfiguration: (_) => _json(_),
|
|
72
75
|
recording: (_) => _json(_),
|
|
76
|
+
tags: (_) => _json(_),
|
|
73
77
|
}));
|
|
74
78
|
b.m("PUT").h(headers).b(body);
|
|
75
79
|
return b.build();
|
|
@@ -87,6 +91,7 @@ export const se_CreateCodeInterpreterCommand = async (input, context) => {
|
|
|
87
91
|
executionRoleArn: [],
|
|
88
92
|
name: [],
|
|
89
93
|
networkConfiguration: (_) => _json(_),
|
|
94
|
+
tags: (_) => _json(_),
|
|
90
95
|
}));
|
|
91
96
|
b.m("PUT").h(headers).b(body);
|
|
92
97
|
return b.build();
|
|
@@ -546,6 +551,15 @@ export const se_ListOauth2CredentialProvidersCommand = async (input, context) =>
|
|
|
546
551
|
b.m("POST").h(headers).b(body);
|
|
547
552
|
return b.build();
|
|
548
553
|
};
|
|
554
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
555
|
+
const b = rb(input, context);
|
|
556
|
+
const headers = {};
|
|
557
|
+
b.bp("/tags/{resourceArn}");
|
|
558
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
559
|
+
let body;
|
|
560
|
+
b.m("GET").h(headers).b(body);
|
|
561
|
+
return b.build();
|
|
562
|
+
};
|
|
549
563
|
export const se_ListWorkloadIdentitiesCommand = async (input, context) => {
|
|
550
564
|
const b = rb(input, context);
|
|
551
565
|
const headers = {
|
|
@@ -574,6 +588,32 @@ export const se_SetTokenVaultCMKCommand = async (input, context) => {
|
|
|
574
588
|
b.m("POST").h(headers).b(body);
|
|
575
589
|
return b.build();
|
|
576
590
|
};
|
|
591
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
592
|
+
const b = rb(input, context);
|
|
593
|
+
const headers = {
|
|
594
|
+
"content-type": "application/json",
|
|
595
|
+
};
|
|
596
|
+
b.bp("/tags/{resourceArn}");
|
|
597
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
598
|
+
let body;
|
|
599
|
+
body = JSON.stringify(take(input, {
|
|
600
|
+
tags: (_) => _json(_),
|
|
601
|
+
}));
|
|
602
|
+
b.m("POST").h(headers).b(body);
|
|
603
|
+
return b.build();
|
|
604
|
+
};
|
|
605
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
606
|
+
const b = rb(input, context);
|
|
607
|
+
const headers = {};
|
|
608
|
+
b.bp("/tags/{resourceArn}");
|
|
609
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
610
|
+
const query = map({
|
|
611
|
+
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
612
|
+
});
|
|
613
|
+
let body;
|
|
614
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
615
|
+
return b.build();
|
|
616
|
+
};
|
|
577
617
|
export const se_UpdateAgentRuntimeCommand = async (input, context) => {
|
|
578
618
|
const b = rb(input, context);
|
|
579
619
|
const headers = {
|
|
@@ -590,6 +630,7 @@ export const se_UpdateAgentRuntimeCommand = async (input, context) => {
|
|
|
590
630
|
environmentVariables: (_) => _json(_),
|
|
591
631
|
networkConfiguration: (_) => _json(_),
|
|
592
632
|
protocolConfiguration: (_) => _json(_),
|
|
633
|
+
requestHeaderConfiguration: (_) => _json(_),
|
|
593
634
|
roleArn: [],
|
|
594
635
|
}));
|
|
595
636
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1058,6 +1099,7 @@ export const de_GetAgentRuntimeCommand = async (output, context) => {
|
|
|
1058
1099
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1059
1100
|
networkConfiguration: _json,
|
|
1060
1101
|
protocolConfiguration: _json,
|
|
1102
|
+
requestHeaderConfiguration: (_) => _json(__expectUnion(_)),
|
|
1061
1103
|
roleArn: __expectString,
|
|
1062
1104
|
status: __expectString,
|
|
1063
1105
|
workloadIdentityDetails: _json,
|
|
@@ -1121,6 +1163,7 @@ export const de_GetBrowserCommand = async (output, context) => {
|
|
|
1121
1163
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1122
1164
|
description: __expectString,
|
|
1123
1165
|
executionRoleArn: __expectString,
|
|
1166
|
+
failureReason: __expectString,
|
|
1124
1167
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1125
1168
|
name: __expectString,
|
|
1126
1169
|
networkConfiguration: _json,
|
|
@@ -1144,6 +1187,7 @@ export const de_GetCodeInterpreterCommand = async (output, context) => {
|
|
|
1144
1187
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1145
1188
|
description: __expectString,
|
|
1146
1189
|
executionRoleArn: __expectString,
|
|
1190
|
+
failureReason: __expectString,
|
|
1147
1191
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1148
1192
|
name: __expectString,
|
|
1149
1193
|
networkConfiguration: _json,
|
|
@@ -1283,7 +1327,7 @@ export const de_ListAgentRuntimeEndpointsCommand = async (output, context) => {
|
|
|
1283
1327
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1284
1328
|
const doc = take(data, {
|
|
1285
1329
|
nextToken: __expectString,
|
|
1286
|
-
runtimeEndpoints: (_) =>
|
|
1330
|
+
runtimeEndpoints: (_) => de_AgentRuntimeEndpoints(_, context),
|
|
1287
1331
|
});
|
|
1288
1332
|
Object.assign(contents, doc);
|
|
1289
1333
|
return contents;
|
|
@@ -1297,7 +1341,7 @@ export const de_ListAgentRuntimesCommand = async (output, context) => {
|
|
|
1297
1341
|
});
|
|
1298
1342
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1299
1343
|
const doc = take(data, {
|
|
1300
|
-
agentRuntimes: (_) =>
|
|
1344
|
+
agentRuntimes: (_) => de_AgentRuntimes(_, context),
|
|
1301
1345
|
nextToken: __expectString,
|
|
1302
1346
|
});
|
|
1303
1347
|
Object.assign(contents, doc);
|
|
@@ -1312,7 +1356,7 @@ export const de_ListAgentRuntimeVersionsCommand = async (output, context) => {
|
|
|
1312
1356
|
});
|
|
1313
1357
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1314
1358
|
const doc = take(data, {
|
|
1315
|
-
agentRuntimes: (_) =>
|
|
1359
|
+
agentRuntimes: (_) => de_AgentRuntimes(_, context),
|
|
1316
1360
|
nextToken: __expectString,
|
|
1317
1361
|
});
|
|
1318
1362
|
Object.assign(contents, doc);
|
|
@@ -1423,6 +1467,20 @@ export const de_ListOauth2CredentialProvidersCommand = async (output, context) =
|
|
|
1423
1467
|
Object.assign(contents, doc);
|
|
1424
1468
|
return contents;
|
|
1425
1469
|
};
|
|
1470
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1471
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1472
|
+
return de_CommandError(output, context);
|
|
1473
|
+
}
|
|
1474
|
+
const contents = map({
|
|
1475
|
+
$metadata: deserializeMetadata(output),
|
|
1476
|
+
});
|
|
1477
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1478
|
+
const doc = take(data, {
|
|
1479
|
+
tags: _json,
|
|
1480
|
+
});
|
|
1481
|
+
Object.assign(contents, doc);
|
|
1482
|
+
return contents;
|
|
1483
|
+
};
|
|
1426
1484
|
export const de_ListWorkloadIdentitiesCommand = async (output, context) => {
|
|
1427
1485
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1428
1486
|
return de_CommandError(output, context);
|
|
@@ -1454,6 +1512,26 @@ export const de_SetTokenVaultCMKCommand = async (output, context) => {
|
|
|
1454
1512
|
Object.assign(contents, doc);
|
|
1455
1513
|
return contents;
|
|
1456
1514
|
};
|
|
1515
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1516
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1517
|
+
return de_CommandError(output, context);
|
|
1518
|
+
}
|
|
1519
|
+
const contents = map({
|
|
1520
|
+
$metadata: deserializeMetadata(output),
|
|
1521
|
+
});
|
|
1522
|
+
await collectBody(output.body, context);
|
|
1523
|
+
return contents;
|
|
1524
|
+
};
|
|
1525
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1526
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1527
|
+
return de_CommandError(output, context);
|
|
1528
|
+
}
|
|
1529
|
+
const contents = map({
|
|
1530
|
+
$metadata: deserializeMetadata(output),
|
|
1531
|
+
});
|
|
1532
|
+
await collectBody(output.body, context);
|
|
1533
|
+
return contents;
|
|
1534
|
+
};
|
|
1457
1535
|
export const de_UpdateAgentRuntimeCommand = async (output, context) => {
|
|
1458
1536
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1459
1537
|
return de_CommandError(output, context);
|
|
@@ -1920,7 +1998,7 @@ const se_ToolSchema = (input, context) => {
|
|
|
1920
1998
|
_: (name, value) => ({ [name]: value }),
|
|
1921
1999
|
});
|
|
1922
2000
|
};
|
|
1923
|
-
const
|
|
2001
|
+
const de_AgentRuntime = (output, context) => {
|
|
1924
2002
|
return take(output, {
|
|
1925
2003
|
agentRuntimeArn: __expectString,
|
|
1926
2004
|
agentRuntimeId: __expectString,
|
|
@@ -1931,7 +2009,7 @@ const de_Agent = (output, context) => {
|
|
|
1931
2009
|
status: __expectString,
|
|
1932
2010
|
});
|
|
1933
2011
|
};
|
|
1934
|
-
const
|
|
2012
|
+
const de_AgentRuntimeEndpoint = (output, context) => {
|
|
1935
2013
|
return take(output, {
|
|
1936
2014
|
agentRuntimeArn: __expectString,
|
|
1937
2015
|
agentRuntimeEndpointArn: __expectString,
|
|
@@ -1945,19 +2023,19 @@ const de_AgentEndpoint = (output, context) => {
|
|
|
1945
2023
|
targetVersion: __expectString,
|
|
1946
2024
|
});
|
|
1947
2025
|
};
|
|
1948
|
-
const
|
|
2026
|
+
const de_AgentRuntimeEndpoints = (output, context) => {
|
|
1949
2027
|
const retVal = (output || [])
|
|
1950
2028
|
.filter((e) => e != null)
|
|
1951
2029
|
.map((entry) => {
|
|
1952
|
-
return
|
|
2030
|
+
return de_AgentRuntimeEndpoint(entry, context);
|
|
1953
2031
|
});
|
|
1954
2032
|
return retVal;
|
|
1955
2033
|
};
|
|
1956
|
-
const
|
|
2034
|
+
const de_AgentRuntimes = (output, context) => {
|
|
1957
2035
|
const retVal = (output || [])
|
|
1958
2036
|
.filter((e) => e != null)
|
|
1959
2037
|
.map((entry) => {
|
|
1960
|
-
return
|
|
2038
|
+
return de_AgentRuntime(entry, context);
|
|
1961
2039
|
});
|
|
1962
2040
|
return retVal;
|
|
1963
2041
|
};
|
|
@@ -2215,4 +2293,5 @@ const _cT = "clientToken";
|
|
|
2215
2293
|
const _mR = "maxResults";
|
|
2216
2294
|
const _nT = "nextToken";
|
|
2217
2295
|
const _t = "type";
|
|
2296
|
+
const _tK = "tagKeys";
|
|
2218
2297
|
const _v = "version";
|
|
@@ -41,8 +41,11 @@ import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/
|
|
|
41
41
|
import { ListGatewayTargetsCommandInput, ListGatewayTargetsCommandOutput } from "./commands/ListGatewayTargetsCommand";
|
|
42
42
|
import { ListMemoriesCommandInput, ListMemoriesCommandOutput } from "./commands/ListMemoriesCommand";
|
|
43
43
|
import { ListOauth2CredentialProvidersCommandInput, ListOauth2CredentialProvidersCommandOutput } from "./commands/ListOauth2CredentialProvidersCommand";
|
|
44
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
44
45
|
import { ListWorkloadIdentitiesCommandInput, ListWorkloadIdentitiesCommandOutput } from "./commands/ListWorkloadIdentitiesCommand";
|
|
45
46
|
import { SetTokenVaultCMKCommandInput, SetTokenVaultCMKCommandOutput } from "./commands/SetTokenVaultCMKCommand";
|
|
47
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
48
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
46
49
|
import { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput } from "./commands/UpdateAgentRuntimeCommand";
|
|
47
50
|
import { UpdateAgentRuntimeEndpointCommandInput, UpdateAgentRuntimeEndpointCommandOutput } from "./commands/UpdateAgentRuntimeEndpointCommand";
|
|
48
51
|
import { UpdateApiKeyCredentialProviderCommandInput, UpdateApiKeyCredentialProviderCommandOutput } from "./commands/UpdateApiKeyCredentialProviderCommand";
|
|
@@ -306,6 +309,12 @@ export interface BedrockAgentCoreControl {
|
|
|
306
309
|
listOauth2CredentialProviders(args: ListOauth2CredentialProvidersCommandInput, options?: __HttpHandlerOptions): Promise<ListOauth2CredentialProvidersCommandOutput>;
|
|
307
310
|
listOauth2CredentialProviders(args: ListOauth2CredentialProvidersCommandInput, cb: (err: any, data?: ListOauth2CredentialProvidersCommandOutput) => void): void;
|
|
308
311
|
listOauth2CredentialProviders(args: ListOauth2CredentialProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOauth2CredentialProvidersCommandOutput) => void): void;
|
|
312
|
+
/**
|
|
313
|
+
* @see {@link ListTagsForResourceCommand}
|
|
314
|
+
*/
|
|
315
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
316
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
317
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
309
318
|
/**
|
|
310
319
|
* @see {@link ListWorkloadIdentitiesCommand}
|
|
311
320
|
*/
|
|
@@ -319,6 +328,18 @@ export interface BedrockAgentCoreControl {
|
|
|
319
328
|
setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, options?: __HttpHandlerOptions): Promise<SetTokenVaultCMKCommandOutput>;
|
|
320
329
|
setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void): void;
|
|
321
330
|
setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void): void;
|
|
331
|
+
/**
|
|
332
|
+
* @see {@link TagResourceCommand}
|
|
333
|
+
*/
|
|
334
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
335
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
336
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
337
|
+
/**
|
|
338
|
+
* @see {@link UntagResourceCommand}
|
|
339
|
+
*/
|
|
340
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
341
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
342
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
322
343
|
/**
|
|
323
344
|
* @see {@link UpdateAgentRuntimeCommand}
|
|
324
345
|
*/
|
|
@@ -369,7 +390,7 @@ export interface BedrockAgentCoreControl {
|
|
|
369
390
|
updateWorkloadIdentity(args: UpdateWorkloadIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkloadIdentityCommandOutput) => void): void;
|
|
370
391
|
}
|
|
371
392
|
/**
|
|
372
|
-
* <note> <p>
|
|
393
|
+
* <note> <p> is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
373
394
|
* @public
|
|
374
395
|
*/
|
|
375
396
|
export declare class BedrockAgentCoreControl extends BedrockAgentCoreControlClient implements BedrockAgentCoreControl {
|
|
@@ -48,8 +48,11 @@ import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/
|
|
|
48
48
|
import { ListGatewayTargetsCommandInput, ListGatewayTargetsCommandOutput } from "./commands/ListGatewayTargetsCommand";
|
|
49
49
|
import { ListMemoriesCommandInput, ListMemoriesCommandOutput } from "./commands/ListMemoriesCommand";
|
|
50
50
|
import { ListOauth2CredentialProvidersCommandInput, ListOauth2CredentialProvidersCommandOutput } from "./commands/ListOauth2CredentialProvidersCommand";
|
|
51
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
51
52
|
import { ListWorkloadIdentitiesCommandInput, ListWorkloadIdentitiesCommandOutput } from "./commands/ListWorkloadIdentitiesCommand";
|
|
52
53
|
import { SetTokenVaultCMKCommandInput, SetTokenVaultCMKCommandOutput } from "./commands/SetTokenVaultCMKCommand";
|
|
54
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
55
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
53
56
|
import { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput } from "./commands/UpdateAgentRuntimeCommand";
|
|
54
57
|
import { UpdateAgentRuntimeEndpointCommandInput, UpdateAgentRuntimeEndpointCommandOutput } from "./commands/UpdateAgentRuntimeEndpointCommand";
|
|
55
58
|
import { UpdateApiKeyCredentialProviderCommandInput, UpdateApiKeyCredentialProviderCommandOutput } from "./commands/UpdateApiKeyCredentialProviderCommand";
|
|
@@ -64,11 +67,11 @@ export { __Client };
|
|
|
64
67
|
/**
|
|
65
68
|
* @public
|
|
66
69
|
*/
|
|
67
|
-
export type ServiceInputTypes = CreateAgentRuntimeCommandInput | CreateAgentRuntimeEndpointCommandInput | CreateApiKeyCredentialProviderCommandInput | CreateBrowserCommandInput | CreateCodeInterpreterCommandInput | CreateGatewayCommandInput | CreateGatewayTargetCommandInput | CreateMemoryCommandInput | CreateOauth2CredentialProviderCommandInput | CreateWorkloadIdentityCommandInput | DeleteAgentRuntimeCommandInput | DeleteAgentRuntimeEndpointCommandInput | DeleteApiKeyCredentialProviderCommandInput | DeleteBrowserCommandInput | DeleteCodeInterpreterCommandInput | DeleteGatewayCommandInput | DeleteGatewayTargetCommandInput | DeleteMemoryCommandInput | DeleteOauth2CredentialProviderCommandInput | DeleteWorkloadIdentityCommandInput | GetAgentRuntimeCommandInput | GetAgentRuntimeEndpointCommandInput | GetApiKeyCredentialProviderCommandInput | GetBrowserCommandInput | GetCodeInterpreterCommandInput | GetGatewayCommandInput | GetGatewayTargetCommandInput | GetMemoryCommandInput | GetOauth2CredentialProviderCommandInput | GetTokenVaultCommandInput | GetWorkloadIdentityCommandInput | ListAgentRuntimeEndpointsCommandInput | ListAgentRuntimeVersionsCommandInput | ListAgentRuntimesCommandInput | ListApiKeyCredentialProvidersCommandInput | ListBrowsersCommandInput | ListCodeInterpretersCommandInput | ListGatewayTargetsCommandInput | ListGatewaysCommandInput | ListMemoriesCommandInput | ListOauth2CredentialProvidersCommandInput | ListWorkloadIdentitiesCommandInput | SetTokenVaultCMKCommandInput | UpdateAgentRuntimeCommandInput | UpdateAgentRuntimeEndpointCommandInput | UpdateApiKeyCredentialProviderCommandInput | UpdateGatewayCommandInput | UpdateGatewayTargetCommandInput | UpdateMemoryCommandInput | UpdateOauth2CredentialProviderCommandInput | UpdateWorkloadIdentityCommandInput;
|
|
70
|
+
export type ServiceInputTypes = CreateAgentRuntimeCommandInput | CreateAgentRuntimeEndpointCommandInput | CreateApiKeyCredentialProviderCommandInput | CreateBrowserCommandInput | CreateCodeInterpreterCommandInput | CreateGatewayCommandInput | CreateGatewayTargetCommandInput | CreateMemoryCommandInput | CreateOauth2CredentialProviderCommandInput | CreateWorkloadIdentityCommandInput | DeleteAgentRuntimeCommandInput | DeleteAgentRuntimeEndpointCommandInput | DeleteApiKeyCredentialProviderCommandInput | DeleteBrowserCommandInput | DeleteCodeInterpreterCommandInput | DeleteGatewayCommandInput | DeleteGatewayTargetCommandInput | DeleteMemoryCommandInput | DeleteOauth2CredentialProviderCommandInput | DeleteWorkloadIdentityCommandInput | GetAgentRuntimeCommandInput | GetAgentRuntimeEndpointCommandInput | GetApiKeyCredentialProviderCommandInput | GetBrowserCommandInput | GetCodeInterpreterCommandInput | GetGatewayCommandInput | GetGatewayTargetCommandInput | GetMemoryCommandInput | GetOauth2CredentialProviderCommandInput | GetTokenVaultCommandInput | GetWorkloadIdentityCommandInput | ListAgentRuntimeEndpointsCommandInput | ListAgentRuntimeVersionsCommandInput | ListAgentRuntimesCommandInput | ListApiKeyCredentialProvidersCommandInput | ListBrowsersCommandInput | ListCodeInterpretersCommandInput | ListGatewayTargetsCommandInput | ListGatewaysCommandInput | ListMemoriesCommandInput | ListOauth2CredentialProvidersCommandInput | ListTagsForResourceCommandInput | ListWorkloadIdentitiesCommandInput | SetTokenVaultCMKCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentRuntimeCommandInput | UpdateAgentRuntimeEndpointCommandInput | UpdateApiKeyCredentialProviderCommandInput | UpdateGatewayCommandInput | UpdateGatewayTargetCommandInput | UpdateMemoryCommandInput | UpdateOauth2CredentialProviderCommandInput | UpdateWorkloadIdentityCommandInput;
|
|
68
71
|
/**
|
|
69
72
|
* @public
|
|
70
73
|
*/
|
|
71
|
-
export type ServiceOutputTypes = CreateAgentRuntimeCommandOutput | CreateAgentRuntimeEndpointCommandOutput | CreateApiKeyCredentialProviderCommandOutput | CreateBrowserCommandOutput | CreateCodeInterpreterCommandOutput | CreateGatewayCommandOutput | CreateGatewayTargetCommandOutput | CreateMemoryCommandOutput | CreateOauth2CredentialProviderCommandOutput | CreateWorkloadIdentityCommandOutput | DeleteAgentRuntimeCommandOutput | DeleteAgentRuntimeEndpointCommandOutput | DeleteApiKeyCredentialProviderCommandOutput | DeleteBrowserCommandOutput | DeleteCodeInterpreterCommandOutput | DeleteGatewayCommandOutput | DeleteGatewayTargetCommandOutput | DeleteMemoryCommandOutput | DeleteOauth2CredentialProviderCommandOutput | DeleteWorkloadIdentityCommandOutput | GetAgentRuntimeCommandOutput | GetAgentRuntimeEndpointCommandOutput | GetApiKeyCredentialProviderCommandOutput | GetBrowserCommandOutput | GetCodeInterpreterCommandOutput | GetGatewayCommandOutput | GetGatewayTargetCommandOutput | GetMemoryCommandOutput | GetOauth2CredentialProviderCommandOutput | GetTokenVaultCommandOutput | GetWorkloadIdentityCommandOutput | ListAgentRuntimeEndpointsCommandOutput | ListAgentRuntimeVersionsCommandOutput | ListAgentRuntimesCommandOutput | ListApiKeyCredentialProvidersCommandOutput | ListBrowsersCommandOutput | ListCodeInterpretersCommandOutput | ListGatewayTargetsCommandOutput | ListGatewaysCommandOutput | ListMemoriesCommandOutput | ListOauth2CredentialProvidersCommandOutput | ListWorkloadIdentitiesCommandOutput | SetTokenVaultCMKCommandOutput | UpdateAgentRuntimeCommandOutput | UpdateAgentRuntimeEndpointCommandOutput | UpdateApiKeyCredentialProviderCommandOutput | UpdateGatewayCommandOutput | UpdateGatewayTargetCommandOutput | UpdateMemoryCommandOutput | UpdateOauth2CredentialProviderCommandOutput | UpdateWorkloadIdentityCommandOutput;
|
|
74
|
+
export type ServiceOutputTypes = CreateAgentRuntimeCommandOutput | CreateAgentRuntimeEndpointCommandOutput | CreateApiKeyCredentialProviderCommandOutput | CreateBrowserCommandOutput | CreateCodeInterpreterCommandOutput | CreateGatewayCommandOutput | CreateGatewayTargetCommandOutput | CreateMemoryCommandOutput | CreateOauth2CredentialProviderCommandOutput | CreateWorkloadIdentityCommandOutput | DeleteAgentRuntimeCommandOutput | DeleteAgentRuntimeEndpointCommandOutput | DeleteApiKeyCredentialProviderCommandOutput | DeleteBrowserCommandOutput | DeleteCodeInterpreterCommandOutput | DeleteGatewayCommandOutput | DeleteGatewayTargetCommandOutput | DeleteMemoryCommandOutput | DeleteOauth2CredentialProviderCommandOutput | DeleteWorkloadIdentityCommandOutput | GetAgentRuntimeCommandOutput | GetAgentRuntimeEndpointCommandOutput | GetApiKeyCredentialProviderCommandOutput | GetBrowserCommandOutput | GetCodeInterpreterCommandOutput | GetGatewayCommandOutput | GetGatewayTargetCommandOutput | GetMemoryCommandOutput | GetOauth2CredentialProviderCommandOutput | GetTokenVaultCommandOutput | GetWorkloadIdentityCommandOutput | ListAgentRuntimeEndpointsCommandOutput | ListAgentRuntimeVersionsCommandOutput | ListAgentRuntimesCommandOutput | ListApiKeyCredentialProvidersCommandOutput | ListBrowsersCommandOutput | ListCodeInterpretersCommandOutput | ListGatewayTargetsCommandOutput | ListGatewaysCommandOutput | ListMemoriesCommandOutput | ListOauth2CredentialProvidersCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadIdentitiesCommandOutput | SetTokenVaultCMKCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentRuntimeCommandOutput | UpdateAgentRuntimeEndpointCommandOutput | UpdateApiKeyCredentialProviderCommandOutput | UpdateGatewayCommandOutput | UpdateGatewayTargetCommandOutput | UpdateMemoryCommandOutput | UpdateOauth2CredentialProviderCommandOutput | UpdateWorkloadIdentityCommandOutput;
|
|
72
75
|
/**
|
|
73
76
|
* @public
|
|
74
77
|
*/
|
|
@@ -220,7 +223,7 @@ export type BedrockAgentCoreControlClientResolvedConfigType = __SmithyResolvedCo
|
|
|
220
223
|
export interface BedrockAgentCoreControlClientResolvedConfig extends BedrockAgentCoreControlClientResolvedConfigType {
|
|
221
224
|
}
|
|
222
225
|
/**
|
|
223
|
-
* <note> <p>
|
|
226
|
+
* <note> <p> is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
224
227
|
* @public
|
|
225
228
|
*/
|
|
226
229
|
export declare class BedrockAgentCoreControlClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockAgentCoreControlClientResolvedConfig> {
|
|
@@ -27,24 +27,34 @@ declare const CreateAgentRuntimeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an Amazon
|
|
30
|
+
* <p>Creates an Amazon Bedrock AgentCore Runtime.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateAgentRuntimeCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateAgentRuntimeCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateAgentRuntimeRequest
|
|
38
40
|
* agentRuntimeName: "STRING_VALUE", // required
|
|
39
41
|
* description: "STRING_VALUE",
|
|
40
|
-
* agentRuntimeArtifact: { //
|
|
42
|
+
* agentRuntimeArtifact: { // AgentRuntimeArtifact Union: only one key present
|
|
41
43
|
* containerConfiguration: { // ContainerConfiguration
|
|
42
44
|
* containerUri: "STRING_VALUE", // required
|
|
43
45
|
* },
|
|
44
46
|
* },
|
|
45
47
|
* roleArn: "STRING_VALUE", // required
|
|
46
48
|
* networkConfiguration: { // NetworkConfiguration
|
|
47
|
-
* networkMode: "PUBLIC", // required
|
|
49
|
+
* networkMode: "PUBLIC" || "VPC", // required
|
|
50
|
+
* networkModeConfig: { // VpcConfig
|
|
51
|
+
* securityGroups: [ // SecurityGroups // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* subnets: [ // Subnets // required
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
48
58
|
* },
|
|
49
59
|
* protocolConfiguration: { // ProtocolConfiguration
|
|
50
60
|
* serverProtocol: "MCP" || "HTTP", // required
|
|
@@ -64,6 +74,14 @@ declare const CreateAgentRuntimeCommand_base: {
|
|
|
64
74
|
* ],
|
|
65
75
|
* },
|
|
66
76
|
* },
|
|
77
|
+
* requestHeaderConfiguration: { // RequestHeaderConfiguration Union: only one key present
|
|
78
|
+
* requestHeaderAllowlist: [ // RequestHeaderAllowlist
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* tags: { // TagsMap
|
|
83
|
+
* "<keys>": "STRING_VALUE",
|
|
84
|
+
* },
|
|
67
85
|
* };
|
|
68
86
|
* const command = new CreateAgentRuntimeCommand(input);
|
|
69
87
|
* const response = await client.send(command);
|
|
@@ -27,12 +27,14 @@ declare const CreateAgentRuntimeEndpointCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an
|
|
30
|
+
* <p>Creates an AgentCore Runtime endpoint.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateAgentRuntimeEndpointCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateAgentRuntimeEndpointCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateAgentRuntimeEndpointRequest
|
|
38
40
|
* agentRuntimeId: "STRING_VALUE", // required
|
|
@@ -40,6 +42,9 @@ declare const CreateAgentRuntimeEndpointCommand_base: {
|
|
|
40
42
|
* agentRuntimeVersion: "STRING_VALUE",
|
|
41
43
|
* description: "STRING_VALUE",
|
|
42
44
|
* clientToken: "STRING_VALUE",
|
|
45
|
+
* tags: { // TagsMap
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
43
48
|
* };
|
|
44
49
|
* const command = new CreateAgentRuntimeEndpointCommand(input);
|
|
45
50
|
* const response = await client.send(command);
|
|
@@ -33,6 +33,8 @@ declare const CreateApiKeyCredentialProviderCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateApiKeyCredentialProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateApiKeyCredentialProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateApiKeyCredentialProviderRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
@@ -33,13 +33,23 @@ declare const CreateBrowserCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateBrowserCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateBrowserCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateBrowserRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
39
41
|
* description: "STRING_VALUE",
|
|
40
42
|
* executionRoleArn: "STRING_VALUE",
|
|
41
43
|
* networkConfiguration: { // BrowserNetworkConfiguration
|
|
42
|
-
* networkMode: "PUBLIC", // required
|
|
44
|
+
* networkMode: "PUBLIC" || "VPC", // required
|
|
45
|
+
* vpcConfig: { // VpcConfig
|
|
46
|
+
* securityGroups: [ // SecurityGroups // required
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* subnets: [ // Subnets // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
43
53
|
* },
|
|
44
54
|
* recording: { // RecordingConfig
|
|
45
55
|
* enabled: true || false,
|
|
@@ -49,6 +59,9 @@ declare const CreateBrowserCommand_base: {
|
|
|
49
59
|
* },
|
|
50
60
|
* },
|
|
51
61
|
* clientToken: "STRING_VALUE",
|
|
62
|
+
* tags: { // TagsMap
|
|
63
|
+
* "<keys>": "STRING_VALUE",
|
|
64
|
+
* },
|
|
52
65
|
* };
|
|
53
66
|
* const command = new CreateBrowserCommand(input);
|
|
54
67
|
* const response = await client.send(command);
|
|
@@ -33,15 +33,28 @@ declare const CreateCodeInterpreterCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateCodeInterpreterCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateCodeInterpreterCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateCodeInterpreterRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
39
41
|
* description: "STRING_VALUE",
|
|
40
42
|
* executionRoleArn: "STRING_VALUE",
|
|
41
43
|
* networkConfiguration: { // CodeInterpreterNetworkConfiguration
|
|
42
|
-
* networkMode: "PUBLIC" || "SANDBOX", // required
|
|
44
|
+
* networkMode: "PUBLIC" || "SANDBOX" || "VPC", // required
|
|
45
|
+
* vpcConfig: { // VpcConfig
|
|
46
|
+
* securityGroups: [ // SecurityGroups // required
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* subnets: [ // Subnets // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
43
53
|
* },
|
|
44
54
|
* clientToken: "STRING_VALUE",
|
|
55
|
+
* tags: { // TagsMap
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
45
58
|
* };
|
|
46
59
|
* const command = new CreateCodeInterpreterCommand(input);
|
|
47
60
|
* const response = await client.send(command);
|
|
@@ -33,6 +33,8 @@ declare const CreateGatewayCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateGatewayCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateGatewayCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateGatewayRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
@@ -27,12 +27,14 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.</p>
|
|
30
|
+
* <p>Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateGatewayTargetCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateGatewayTargetCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateGatewayTargetRequest
|
|
38
40
|
* gatewayIdentifier: "STRING_VALUE", // required
|
|
@@ -27,12 +27,14 @@ declare const CreateMemoryCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new
|
|
30
|
+
* <p>Creates a new Amazon Bedrock AgentCore Memory resource.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateMemoryCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateMemoryCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateMemoryInput
|
|
38
40
|
* clientToken: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateOauth2CredentialProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateOauth2CredentialProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateOauth2CredentialProviderRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const CreateWorkloadIdentityCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, CreateWorkloadIdentityCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, CreateWorkloadIdentityCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // CreateWorkloadIdentityRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
@@ -27,12 +27,14 @@ declare const DeleteAgentRuntimeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an Amazon
|
|
30
|
+
* <p>Deletes an Amazon Bedrock AgentCore Runtime.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, DeleteAgentRuntimeCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, DeleteAgentRuntimeCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // DeleteAgentRuntimeRequest
|
|
38
40
|
* agentRuntimeId: "STRING_VALUE", // required
|
|
@@ -27,12 +27,14 @@ declare const DeleteAgentRuntimeEndpointCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an
|
|
30
|
+
* <p>Deletes an AAgentCore Runtime endpoint.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, DeleteAgentRuntimeEndpointCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, DeleteAgentRuntimeEndpointCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // DeleteAgentRuntimeEndpointRequest
|
|
38
40
|
* agentRuntimeId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const DeleteApiKeyCredentialProviderCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, DeleteApiKeyCredentialProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, DeleteApiKeyCredentialProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // DeleteApiKeyCredentialProviderRequest
|
|
38
40
|
* name: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const DeleteBrowserCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, DeleteBrowserCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, DeleteBrowserCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // DeleteBrowserRequest
|
|
38
40
|
* browserId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const DeleteCodeInterpreterCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentCoreControlClient, DeleteCodeInterpreterCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentCoreControlClient, DeleteCodeInterpreterCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
36
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
39
|
* const input = { // DeleteCodeInterpreterRequest
|
|
38
40
|
* codeInterpreterId: "STRING_VALUE", // required
|