@aws-sdk/client-bedrock-agentcore-control 3.891.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.
Files changed (60) hide show
  1. package/README.md +25 -1
  2. package/dist-cjs/BedrockAgentCoreControl.js +6 -0
  3. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  4. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  5. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +55 -40
  8. package/dist-cjs/protocols/Aws_restJson1.js +97 -12
  9. package/dist-es/BedrockAgentCoreControl.js +6 -0
  10. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  11. package/dist-es/commands/TagResourceCommand.js +22 -0
  12. package/dist-es/commands/UntagResourceCommand.js +22 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +49 -35
  15. package/dist-es/protocols/Aws_restJson1.js +88 -9
  16. package/dist-types/BedrockAgentCoreControl.d.ts +22 -1
  17. package/dist-types/BedrockAgentCoreControlClient.d.ts +6 -3
  18. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +19 -3
  19. package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +4 -1
  20. package/dist-types/commands/CreateBrowserCommand.d.ts +12 -1
  21. package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +12 -1
  22. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateMemoryCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteGatewayCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
  29. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +16 -3
  30. package/dist-types/commands/GetBrowserCommand.d.ts +10 -1
  31. package/dist-types/commands/GetCodeInterpreterCommand.d.ts +10 -1
  32. package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
  33. package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
  34. package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +2 -2
  35. package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +2 -2
  36. package/dist-types/commands/ListAgentRuntimesCommand.d.ts +2 -2
  37. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
  39. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  41. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  42. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  43. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +15 -2
  44. package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
  48. package/dist-types/commands/index.d.ts +3 -0
  49. package/dist-types/index.d.ts +1 -1
  50. package/dist-types/models/models_0.d.ts +547 -378
  51. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  52. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +51 -0
  53. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +18 -0
  54. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +133 -79
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  60. package/package.json +18 -18
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_UpdateOauth2CredentialProviderCommand = exports.se_UpdateMemoryCommand = exports.se_UpdateGatewayTargetCommand = exports.se_UpdateGatewayCommand = exports.se_UpdateApiKeyCredentialProviderCommand = exports.se_UpdateAgentRuntimeEndpointCommand = exports.se_UpdateAgentRuntimeCommand = exports.se_SetTokenVaultCMKCommand = exports.se_ListWorkloadIdentitiesCommand = exports.se_ListOauth2CredentialProvidersCommand = exports.se_ListMemoriesCommand = exports.se_ListGatewayTargetsCommand = exports.se_ListGatewaysCommand = exports.se_ListCodeInterpretersCommand = exports.se_ListBrowsersCommand = exports.se_ListApiKeyCredentialProvidersCommand = exports.se_ListAgentRuntimeVersionsCommand = exports.se_ListAgentRuntimesCommand = exports.se_ListAgentRuntimeEndpointsCommand = exports.se_GetWorkloadIdentityCommand = exports.se_GetTokenVaultCommand = exports.se_GetOauth2CredentialProviderCommand = exports.se_GetMemoryCommand = exports.se_GetGatewayTargetCommand = exports.se_GetGatewayCommand = exports.se_GetCodeInterpreterCommand = exports.se_GetBrowserCommand = exports.se_GetApiKeyCredentialProviderCommand = exports.se_GetAgentRuntimeEndpointCommand = exports.se_GetAgentRuntimeCommand = exports.se_DeleteWorkloadIdentityCommand = exports.se_DeleteOauth2CredentialProviderCommand = exports.se_DeleteMemoryCommand = exports.se_DeleteGatewayTargetCommand = exports.se_DeleteGatewayCommand = exports.se_DeleteCodeInterpreterCommand = exports.se_DeleteBrowserCommand = exports.se_DeleteApiKeyCredentialProviderCommand = exports.se_DeleteAgentRuntimeEndpointCommand = exports.se_DeleteAgentRuntimeCommand = exports.se_CreateWorkloadIdentityCommand = exports.se_CreateOauth2CredentialProviderCommand = exports.se_CreateMemoryCommand = exports.se_CreateGatewayTargetCommand = exports.se_CreateGatewayCommand = exports.se_CreateCodeInterpreterCommand = exports.se_CreateBrowserCommand = exports.se_CreateApiKeyCredentialProviderCommand = exports.se_CreateAgentRuntimeEndpointCommand = exports.se_CreateAgentRuntimeCommand = void 0;
4
- exports.de_UpdateMemoryCommand = exports.de_UpdateGatewayTargetCommand = exports.de_UpdateGatewayCommand = exports.de_UpdateApiKeyCredentialProviderCommand = exports.de_UpdateAgentRuntimeEndpointCommand = exports.de_UpdateAgentRuntimeCommand = exports.de_SetTokenVaultCMKCommand = exports.de_ListWorkloadIdentitiesCommand = exports.de_ListOauth2CredentialProvidersCommand = exports.de_ListMemoriesCommand = exports.de_ListGatewayTargetsCommand = exports.de_ListGatewaysCommand = exports.de_ListCodeInterpretersCommand = exports.de_ListBrowsersCommand = exports.de_ListApiKeyCredentialProvidersCommand = exports.de_ListAgentRuntimeVersionsCommand = exports.de_ListAgentRuntimesCommand = exports.de_ListAgentRuntimeEndpointsCommand = exports.de_GetWorkloadIdentityCommand = exports.de_GetTokenVaultCommand = exports.de_GetOauth2CredentialProviderCommand = exports.de_GetMemoryCommand = exports.de_GetGatewayTargetCommand = exports.de_GetGatewayCommand = exports.de_GetCodeInterpreterCommand = exports.de_GetBrowserCommand = exports.de_GetApiKeyCredentialProviderCommand = exports.de_GetAgentRuntimeEndpointCommand = exports.de_GetAgentRuntimeCommand = exports.de_DeleteWorkloadIdentityCommand = exports.de_DeleteOauth2CredentialProviderCommand = exports.de_DeleteMemoryCommand = exports.de_DeleteGatewayTargetCommand = exports.de_DeleteGatewayCommand = exports.de_DeleteCodeInterpreterCommand = exports.de_DeleteBrowserCommand = exports.de_DeleteApiKeyCredentialProviderCommand = exports.de_DeleteAgentRuntimeEndpointCommand = exports.de_DeleteAgentRuntimeCommand = exports.de_CreateWorkloadIdentityCommand = exports.de_CreateOauth2CredentialProviderCommand = exports.de_CreateMemoryCommand = exports.de_CreateGatewayTargetCommand = exports.de_CreateGatewayCommand = exports.de_CreateCodeInterpreterCommand = exports.de_CreateBrowserCommand = exports.de_CreateApiKeyCredentialProviderCommand = exports.de_CreateAgentRuntimeEndpointCommand = exports.de_CreateAgentRuntimeCommand = exports.se_UpdateWorkloadIdentityCommand = void 0;
5
- exports.de_UpdateWorkloadIdentityCommand = exports.de_UpdateOauth2CredentialProviderCommand = void 0;
3
+ exports.se_UpdateGatewayCommand = exports.se_UpdateApiKeyCredentialProviderCommand = exports.se_UpdateAgentRuntimeEndpointCommand = exports.se_UpdateAgentRuntimeCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SetTokenVaultCMKCommand = exports.se_ListWorkloadIdentitiesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListOauth2CredentialProvidersCommand = exports.se_ListMemoriesCommand = exports.se_ListGatewayTargetsCommand = exports.se_ListGatewaysCommand = exports.se_ListCodeInterpretersCommand = exports.se_ListBrowsersCommand = exports.se_ListApiKeyCredentialProvidersCommand = exports.se_ListAgentRuntimeVersionsCommand = exports.se_ListAgentRuntimesCommand = exports.se_ListAgentRuntimeEndpointsCommand = exports.se_GetWorkloadIdentityCommand = exports.se_GetTokenVaultCommand = exports.se_GetOauth2CredentialProviderCommand = exports.se_GetMemoryCommand = exports.se_GetGatewayTargetCommand = exports.se_GetGatewayCommand = exports.se_GetCodeInterpreterCommand = exports.se_GetBrowserCommand = exports.se_GetApiKeyCredentialProviderCommand = exports.se_GetAgentRuntimeEndpointCommand = exports.se_GetAgentRuntimeCommand = exports.se_DeleteWorkloadIdentityCommand = exports.se_DeleteOauth2CredentialProviderCommand = exports.se_DeleteMemoryCommand = exports.se_DeleteGatewayTargetCommand = exports.se_DeleteGatewayCommand = exports.se_DeleteCodeInterpreterCommand = exports.se_DeleteBrowserCommand = exports.se_DeleteApiKeyCredentialProviderCommand = exports.se_DeleteAgentRuntimeEndpointCommand = exports.se_DeleteAgentRuntimeCommand = exports.se_CreateWorkloadIdentityCommand = exports.se_CreateOauth2CredentialProviderCommand = exports.se_CreateMemoryCommand = exports.se_CreateGatewayTargetCommand = exports.se_CreateGatewayCommand = exports.se_CreateCodeInterpreterCommand = exports.se_CreateBrowserCommand = exports.se_CreateApiKeyCredentialProviderCommand = exports.se_CreateAgentRuntimeEndpointCommand = exports.se_CreateAgentRuntimeCommand = void 0;
4
+ exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SetTokenVaultCMKCommand = exports.de_ListWorkloadIdentitiesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListOauth2CredentialProvidersCommand = exports.de_ListMemoriesCommand = exports.de_ListGatewayTargetsCommand = exports.de_ListGatewaysCommand = exports.de_ListCodeInterpretersCommand = exports.de_ListBrowsersCommand = exports.de_ListApiKeyCredentialProvidersCommand = exports.de_ListAgentRuntimeVersionsCommand = exports.de_ListAgentRuntimesCommand = exports.de_ListAgentRuntimeEndpointsCommand = exports.de_GetWorkloadIdentityCommand = exports.de_GetTokenVaultCommand = exports.de_GetOauth2CredentialProviderCommand = exports.de_GetMemoryCommand = exports.de_GetGatewayTargetCommand = exports.de_GetGatewayCommand = exports.de_GetCodeInterpreterCommand = exports.de_GetBrowserCommand = exports.de_GetApiKeyCredentialProviderCommand = exports.de_GetAgentRuntimeEndpointCommand = exports.de_GetAgentRuntimeCommand = exports.de_DeleteWorkloadIdentityCommand = exports.de_DeleteOauth2CredentialProviderCommand = exports.de_DeleteMemoryCommand = exports.de_DeleteGatewayTargetCommand = exports.de_DeleteGatewayCommand = exports.de_DeleteCodeInterpreterCommand = exports.de_DeleteBrowserCommand = exports.de_DeleteApiKeyCredentialProviderCommand = exports.de_DeleteAgentRuntimeEndpointCommand = exports.de_DeleteAgentRuntimeCommand = exports.de_CreateWorkloadIdentityCommand = exports.de_CreateOauth2CredentialProviderCommand = exports.de_CreateMemoryCommand = exports.de_CreateGatewayTargetCommand = exports.de_CreateGatewayCommand = exports.de_CreateCodeInterpreterCommand = exports.de_CreateBrowserCommand = exports.de_CreateApiKeyCredentialProviderCommand = exports.de_CreateAgentRuntimeEndpointCommand = exports.de_CreateAgentRuntimeCommand = exports.se_UpdateWorkloadIdentityCommand = exports.se_UpdateOauth2CredentialProviderCommand = exports.se_UpdateMemoryCommand = exports.se_UpdateGatewayTargetCommand = void 0;
5
+ exports.de_UpdateWorkloadIdentityCommand = exports.de_UpdateOauth2CredentialProviderCommand = exports.de_UpdateMemoryCommand = exports.de_UpdateGatewayTargetCommand = exports.de_UpdateGatewayCommand = exports.de_UpdateApiKeyCredentialProviderCommand = exports.de_UpdateAgentRuntimeEndpointCommand = exports.de_UpdateAgentRuntimeCommand = void 0;
6
6
  const core_1 = require("@aws-sdk/core");
7
7
  const core_2 = require("@smithy/core");
8
8
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -25,7 +25,9 @@ const se_CreateAgentRuntimeCommand = async (input, context) => {
25
25
  environmentVariables: (_) => (0, smithy_client_1._json)(_),
26
26
  networkConfiguration: (_) => (0, smithy_client_1._json)(_),
27
27
  protocolConfiguration: (_) => (0, smithy_client_1._json)(_),
28
+ requestHeaderConfiguration: (_) => (0, smithy_client_1._json)(_),
28
29
  roleArn: [],
30
+ tags: (_) => (0, smithy_client_1._json)(_),
29
31
  }));
30
32
  b.m("PUT").h(headers).b(body);
31
33
  return b.build();
@@ -44,6 +46,7 @@ const se_CreateAgentRuntimeEndpointCommand = async (input, context) => {
44
46
  clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
45
47
  description: [],
46
48
  name: [],
49
+ tags: (_) => (0, smithy_client_1._json)(_),
47
50
  }));
48
51
  b.m("PUT").h(headers).b(body);
49
52
  return b.build();
@@ -78,6 +81,7 @@ const se_CreateBrowserCommand = async (input, context) => {
78
81
  name: [],
79
82
  networkConfiguration: (_) => (0, smithy_client_1._json)(_),
80
83
  recording: (_) => (0, smithy_client_1._json)(_),
84
+ tags: (_) => (0, smithy_client_1._json)(_),
81
85
  }));
82
86
  b.m("PUT").h(headers).b(body);
83
87
  return b.build();
@@ -96,6 +100,7 @@ const se_CreateCodeInterpreterCommand = async (input, context) => {
96
100
  executionRoleArn: [],
97
101
  name: [],
98
102
  networkConfiguration: (_) => (0, smithy_client_1._json)(_),
103
+ tags: (_) => (0, smithy_client_1._json)(_),
99
104
  }));
100
105
  b.m("PUT").h(headers).b(body);
101
106
  return b.build();
@@ -592,6 +597,16 @@ const se_ListOauth2CredentialProvidersCommand = async (input, context) => {
592
597
  return b.build();
593
598
  };
594
599
  exports.se_ListOauth2CredentialProvidersCommand = se_ListOauth2CredentialProvidersCommand;
600
+ const se_ListTagsForResourceCommand = async (input, context) => {
601
+ const b = (0, core_2.requestBuilder)(input, context);
602
+ const headers = {};
603
+ b.bp("/tags/{resourceArn}");
604
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
605
+ let body;
606
+ b.m("GET").h(headers).b(body);
607
+ return b.build();
608
+ };
609
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
595
610
  const se_ListWorkloadIdentitiesCommand = async (input, context) => {
596
611
  const b = (0, core_2.requestBuilder)(input, context);
597
612
  const headers = {
@@ -622,6 +637,34 @@ const se_SetTokenVaultCMKCommand = async (input, context) => {
622
637
  return b.build();
623
638
  };
624
639
  exports.se_SetTokenVaultCMKCommand = se_SetTokenVaultCMKCommand;
640
+ const se_TagResourceCommand = async (input, context) => {
641
+ const b = (0, core_2.requestBuilder)(input, context);
642
+ const headers = {
643
+ "content-type": "application/json",
644
+ };
645
+ b.bp("/tags/{resourceArn}");
646
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
647
+ let body;
648
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
649
+ tags: (_) => (0, smithy_client_1._json)(_),
650
+ }));
651
+ b.m("POST").h(headers).b(body);
652
+ return b.build();
653
+ };
654
+ exports.se_TagResourceCommand = se_TagResourceCommand;
655
+ const se_UntagResourceCommand = async (input, context) => {
656
+ const b = (0, core_2.requestBuilder)(input, context);
657
+ const headers = {};
658
+ b.bp("/tags/{resourceArn}");
659
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
660
+ const query = (0, smithy_client_1.map)({
661
+ [_tK]: [(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
662
+ });
663
+ let body;
664
+ b.m("DELETE").h(headers).q(query).b(body);
665
+ return b.build();
666
+ };
667
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
625
668
  const se_UpdateAgentRuntimeCommand = async (input, context) => {
626
669
  const b = (0, core_2.requestBuilder)(input, context);
627
670
  const headers = {
@@ -638,6 +681,7 @@ const se_UpdateAgentRuntimeCommand = async (input, context) => {
638
681
  environmentVariables: (_) => (0, smithy_client_1._json)(_),
639
682
  networkConfiguration: (_) => (0, smithy_client_1._json)(_),
640
683
  protocolConfiguration: (_) => (0, smithy_client_1._json)(_),
684
+ requestHeaderConfiguration: (_) => (0, smithy_client_1._json)(_),
641
685
  roleArn: [],
642
686
  }));
643
687
  b.m("PUT").h(headers).b(body);
@@ -1134,6 +1178,7 @@ const de_GetAgentRuntimeCommand = async (output, context) => {
1134
1178
  lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1135
1179
  networkConfiguration: smithy_client_1._json,
1136
1180
  protocolConfiguration: smithy_client_1._json,
1181
+ requestHeaderConfiguration: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1137
1182
  roleArn: smithy_client_1.expectString,
1138
1183
  status: smithy_client_1.expectString,
1139
1184
  workloadIdentityDetails: smithy_client_1._json,
@@ -1200,6 +1245,7 @@ const de_GetBrowserCommand = async (output, context) => {
1200
1245
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1201
1246
  description: smithy_client_1.expectString,
1202
1247
  executionRoleArn: smithy_client_1.expectString,
1248
+ failureReason: smithy_client_1.expectString,
1203
1249
  lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1204
1250
  name: smithy_client_1.expectString,
1205
1251
  networkConfiguration: smithy_client_1._json,
@@ -1224,6 +1270,7 @@ const de_GetCodeInterpreterCommand = async (output, context) => {
1224
1270
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1225
1271
  description: smithy_client_1.expectString,
1226
1272
  executionRoleArn: smithy_client_1.expectString,
1273
+ failureReason: smithy_client_1.expectString,
1227
1274
  lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1228
1275
  name: smithy_client_1.expectString,
1229
1276
  networkConfiguration: smithy_client_1._json,
@@ -1370,7 +1417,7 @@ const de_ListAgentRuntimeEndpointsCommand = async (output, context) => {
1370
1417
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
1371
1418
  const doc = (0, smithy_client_1.take)(data, {
1372
1419
  nextToken: smithy_client_1.expectString,
1373
- runtimeEndpoints: (_) => de_AgentEndpoints(_, context),
1420
+ runtimeEndpoints: (_) => de_AgentRuntimeEndpoints(_, context),
1374
1421
  });
1375
1422
  Object.assign(contents, doc);
1376
1423
  return contents;
@@ -1385,7 +1432,7 @@ const de_ListAgentRuntimesCommand = async (output, context) => {
1385
1432
  });
1386
1433
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
1387
1434
  const doc = (0, smithy_client_1.take)(data, {
1388
- agentRuntimes: (_) => de_Agents(_, context),
1435
+ agentRuntimes: (_) => de_AgentRuntimes(_, context),
1389
1436
  nextToken: smithy_client_1.expectString,
1390
1437
  });
1391
1438
  Object.assign(contents, doc);
@@ -1401,7 +1448,7 @@ const de_ListAgentRuntimeVersionsCommand = async (output, context) => {
1401
1448
  });
1402
1449
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
1403
1450
  const doc = (0, smithy_client_1.take)(data, {
1404
- agentRuntimes: (_) => de_Agents(_, context),
1451
+ agentRuntimes: (_) => de_AgentRuntimes(_, context),
1405
1452
  nextToken: smithy_client_1.expectString,
1406
1453
  });
1407
1454
  Object.assign(contents, doc);
@@ -1520,6 +1567,21 @@ const de_ListOauth2CredentialProvidersCommand = async (output, context) => {
1520
1567
  return contents;
1521
1568
  };
1522
1569
  exports.de_ListOauth2CredentialProvidersCommand = de_ListOauth2CredentialProvidersCommand;
1570
+ const de_ListTagsForResourceCommand = async (output, context) => {
1571
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1572
+ return de_CommandError(output, context);
1573
+ }
1574
+ const contents = (0, smithy_client_1.map)({
1575
+ $metadata: deserializeMetadata(output),
1576
+ });
1577
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
1578
+ const doc = (0, smithy_client_1.take)(data, {
1579
+ tags: smithy_client_1._json,
1580
+ });
1581
+ Object.assign(contents, doc);
1582
+ return contents;
1583
+ };
1584
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1523
1585
  const de_ListWorkloadIdentitiesCommand = async (output, context) => {
1524
1586
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1525
1587
  return de_CommandError(output, context);
@@ -1553,6 +1615,28 @@ const de_SetTokenVaultCMKCommand = async (output, context) => {
1553
1615
  return contents;
1554
1616
  };
1555
1617
  exports.de_SetTokenVaultCMKCommand = de_SetTokenVaultCMKCommand;
1618
+ const de_TagResourceCommand = async (output, context) => {
1619
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1620
+ return de_CommandError(output, context);
1621
+ }
1622
+ const contents = (0, smithy_client_1.map)({
1623
+ $metadata: deserializeMetadata(output),
1624
+ });
1625
+ await (0, smithy_client_1.collectBody)(output.body, context);
1626
+ return contents;
1627
+ };
1628
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1629
+ const de_UntagResourceCommand = async (output, context) => {
1630
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1631
+ return de_CommandError(output, context);
1632
+ }
1633
+ const contents = (0, smithy_client_1.map)({
1634
+ $metadata: deserializeMetadata(output),
1635
+ });
1636
+ await (0, smithy_client_1.collectBody)(output.body, context);
1637
+ return contents;
1638
+ };
1639
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1556
1640
  const de_UpdateAgentRuntimeCommand = async (output, context) => {
1557
1641
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1558
1642
  return de_CommandError(output, context);
@@ -2027,7 +2111,7 @@ const se_ToolSchema = (input, context) => {
2027
2111
  _: (name, value) => ({ [name]: value }),
2028
2112
  });
2029
2113
  };
2030
- const de_Agent = (output, context) => {
2114
+ const de_AgentRuntime = (output, context) => {
2031
2115
  return (0, smithy_client_1.take)(output, {
2032
2116
  agentRuntimeArn: smithy_client_1.expectString,
2033
2117
  agentRuntimeId: smithy_client_1.expectString,
@@ -2038,7 +2122,7 @@ const de_Agent = (output, context) => {
2038
2122
  status: smithy_client_1.expectString,
2039
2123
  });
2040
2124
  };
2041
- const de_AgentEndpoint = (output, context) => {
2125
+ const de_AgentRuntimeEndpoint = (output, context) => {
2042
2126
  return (0, smithy_client_1.take)(output, {
2043
2127
  agentRuntimeArn: smithy_client_1.expectString,
2044
2128
  agentRuntimeEndpointArn: smithy_client_1.expectString,
@@ -2052,19 +2136,19 @@ const de_AgentEndpoint = (output, context) => {
2052
2136
  targetVersion: smithy_client_1.expectString,
2053
2137
  });
2054
2138
  };
2055
- const de_AgentEndpoints = (output, context) => {
2139
+ const de_AgentRuntimeEndpoints = (output, context) => {
2056
2140
  const retVal = (output || [])
2057
2141
  .filter((e) => e != null)
2058
2142
  .map((entry) => {
2059
- return de_AgentEndpoint(entry, context);
2143
+ return de_AgentRuntimeEndpoint(entry, context);
2060
2144
  });
2061
2145
  return retVal;
2062
2146
  };
2063
- const de_Agents = (output, context) => {
2147
+ const de_AgentRuntimes = (output, context) => {
2064
2148
  const retVal = (output || [])
2065
2149
  .filter((e) => e != null)
2066
2150
  .map((entry) => {
2067
- return de_Agent(entry, context);
2151
+ return de_AgentRuntime(entry, context);
2068
2152
  });
2069
2153
  return retVal;
2070
2154
  };
@@ -2322,4 +2406,5 @@ const _cT = "clientToken";
2322
2406
  const _mR = "maxResults";
2323
2407
  const _nT = "nextToken";
2324
2408
  const _t = "type";
2409
+ const _tK = "tagKeys";
2325
2410
  const _v = "version";
@@ -41,8 +41,11 @@ import { ListGatewaysCommand, } from "./commands/ListGatewaysCommand";
41
41
  import { ListGatewayTargetsCommand, } from "./commands/ListGatewayTargetsCommand";
42
42
  import { ListMemoriesCommand, } from "./commands/ListMemoriesCommand";
43
43
  import { ListOauth2CredentialProvidersCommand, } from "./commands/ListOauth2CredentialProvidersCommand";
44
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
44
45
  import { ListWorkloadIdentitiesCommand, } from "./commands/ListWorkloadIdentitiesCommand";
45
46
  import { SetTokenVaultCMKCommand, } from "./commands/SetTokenVaultCMKCommand";
47
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
48
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
46
49
  import { UpdateAgentRuntimeCommand, } from "./commands/UpdateAgentRuntimeCommand";
47
50
  import { UpdateAgentRuntimeEndpointCommand, } from "./commands/UpdateAgentRuntimeEndpointCommand";
48
51
  import { UpdateApiKeyCredentialProviderCommand, } from "./commands/UpdateApiKeyCredentialProviderCommand";
@@ -93,8 +96,11 @@ const commands = {
93
96
  ListGatewayTargetsCommand,
94
97
  ListMemoriesCommand,
95
98
  ListOauth2CredentialProvidersCommand,
99
+ ListTagsForResourceCommand,
96
100
  ListWorkloadIdentitiesCommand,
97
101
  SetTokenVaultCMKCommand,
102
+ TagResourceCommand,
103
+ UntagResourceCommand,
98
104
  UpdateAgentRuntimeCommand,
99
105
  UpdateAgentRuntimeEndpointCommand,
100
106
  UpdateApiKeyCredentialProviderCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockAgentCoreControl", "ListTagsForResource", {})
17
+ .n("BedrockAgentCoreControlClient", "ListTagsForResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTagsForResourceCommand)
20
+ .de(de_ListTagsForResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockAgentCoreControl", "TagResource", {})
17
+ .n("BedrockAgentCoreControlClient", "TagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_TagResourceCommand)
20
+ .de(de_TagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockAgentCoreControl", "UntagResource", {})
17
+ .n("BedrockAgentCoreControlClient", "UntagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UntagResourceCommand)
20
+ .de(de_UntagResourceCommand)
21
+ .build() {
22
+ }
@@ -39,8 +39,11 @@ export * from "./ListGatewayTargetsCommand";
39
39
  export * from "./ListGatewaysCommand";
40
40
  export * from "./ListMemoriesCommand";
41
41
  export * from "./ListOauth2CredentialProvidersCommand";
42
+ export * from "./ListTagsForResourceCommand";
42
43
  export * from "./ListWorkloadIdentitiesCommand";
43
44
  export * from "./SetTokenVaultCMKCommand";
45
+ export * from "./TagResourceCommand";
46
+ export * from "./UntagResourceCommand";
44
47
  export * from "./UpdateAgentRuntimeCommand";
45
48
  export * from "./UpdateAgentRuntimeEndpointCommand";
46
49
  export * from "./UpdateApiKeyCredentialProviderCommand";
@@ -12,30 +12,6 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
- export const AgentStatus = {
16
- CREATE_FAILED: "CREATE_FAILED",
17
- CREATING: "CREATING",
18
- DELETING: "DELETING",
19
- READY: "READY",
20
- UPDATE_FAILED: "UPDATE_FAILED",
21
- UPDATING: "UPDATING",
22
- };
23
- export var AgentArtifact;
24
- (function (AgentArtifact) {
25
- AgentArtifact.visit = (value, visitor) => {
26
- if (value.containerConfiguration !== undefined)
27
- return visitor.containerConfiguration(value.containerConfiguration);
28
- return visitor._(value.$unknown[0], value.$unknown[1]);
29
- };
30
- })(AgentArtifact || (AgentArtifact = {}));
31
- export const AgentEndpointStatus = {
32
- CREATE_FAILED: "CREATE_FAILED",
33
- CREATING: "CREATING",
34
- DELETING: "DELETING",
35
- READY: "READY",
36
- UPDATE_FAILED: "UPDATE_FAILED",
37
- UPDATING: "UPDATING",
38
- };
39
15
  export class ConflictException extends __BaseException {
40
16
  name = "ConflictException";
41
17
  $fault = "client";
@@ -48,6 +24,14 @@ export class ConflictException extends __BaseException {
48
24
  Object.setPrototypeOf(this, ConflictException.prototype);
49
25
  }
50
26
  }
27
+ export const AgentRuntimeEndpointStatus = {
28
+ CREATE_FAILED: "CREATE_FAILED",
29
+ CREATING: "CREATING",
30
+ DELETING: "DELETING",
31
+ READY: "READY",
32
+ UPDATE_FAILED: "UPDATE_FAILED",
33
+ UPDATING: "UPDATING",
34
+ };
51
35
  export class InternalServerException extends __BaseException {
52
36
  name = "InternalServerException";
53
37
  $fault = "server";
@@ -119,6 +103,14 @@ export class ValidationException extends __BaseException {
119
103
  this.fieldList = opts.fieldList;
120
104
  }
121
105
  }
106
+ export var AgentRuntimeArtifact;
107
+ (function (AgentRuntimeArtifact) {
108
+ AgentRuntimeArtifact.visit = (value, visitor) => {
109
+ if (value.containerConfiguration !== undefined)
110
+ return visitor.containerConfiguration(value.containerConfiguration);
111
+ return visitor._(value.$unknown[0], value.$unknown[1]);
112
+ };
113
+ })(AgentRuntimeArtifact || (AgentRuntimeArtifact = {}));
122
114
  export var AuthorizerConfiguration;
123
115
  (function (AuthorizerConfiguration) {
124
116
  AuthorizerConfiguration.visit = (value, visitor) => {
@@ -129,11 +121,28 @@ export var AuthorizerConfiguration;
129
121
  })(AuthorizerConfiguration || (AuthorizerConfiguration = {}));
130
122
  export const NetworkMode = {
131
123
  PUBLIC: "PUBLIC",
124
+ VPC: "VPC",
132
125
  };
133
126
  export const ServerProtocol = {
134
127
  HTTP: "HTTP",
135
128
  MCP: "MCP",
136
129
  };
130
+ export var RequestHeaderConfiguration;
131
+ (function (RequestHeaderConfiguration) {
132
+ RequestHeaderConfiguration.visit = (value, visitor) => {
133
+ if (value.requestHeaderAllowlist !== undefined)
134
+ return visitor.requestHeaderAllowlist(value.requestHeaderAllowlist);
135
+ return visitor._(value.$unknown[0], value.$unknown[1]);
136
+ };
137
+ })(RequestHeaderConfiguration || (RequestHeaderConfiguration = {}));
138
+ export const AgentRuntimeStatus = {
139
+ CREATE_FAILED: "CREATE_FAILED",
140
+ CREATING: "CREATING",
141
+ DELETING: "DELETING",
142
+ READY: "READY",
143
+ UPDATE_FAILED: "UPDATE_FAILED",
144
+ UPDATING: "UPDATING",
145
+ };
137
146
  export class DecryptionFailure extends __BaseException {
138
147
  name = "DecryptionFailure";
139
148
  $fault = "client";
@@ -184,6 +193,7 @@ export class UnauthorizedException extends __BaseException {
184
193
  }
185
194
  export const BrowserNetworkMode = {
186
195
  PUBLIC: "PUBLIC",
196
+ VPC: "VPC",
187
197
  };
188
198
  export const BrowserStatus = {
189
199
  CREATE_FAILED: "CREATE_FAILED",
@@ -200,6 +210,7 @@ export const ResourceType = {
200
210
  export const CodeInterpreterNetworkMode = {
201
211
  PUBLIC: "PUBLIC",
202
212
  SANDBOX: "SANDBOX",
213
+ VPC: "VPC",
203
214
  };
204
215
  export const CodeInterpreterStatus = {
205
216
  CREATE_FAILED: "CREATE_FAILED",
@@ -533,14 +544,6 @@ export var TargetConfiguration;
533
544
  return visitor._(value.$unknown[0], value.$unknown[1]);
534
545
  };
535
546
  })(TargetConfiguration || (TargetConfiguration = {}));
536
- export const AgentFilterSensitiveLog = (obj) => ({
537
- ...obj,
538
- ...(obj.description && { description: SENSITIVE_STRING }),
539
- });
540
- export const AgentEndpointFilterSensitiveLog = (obj) => ({
541
- ...obj,
542
- ...(obj.name && { name: SENSITIVE_STRING }),
543
- });
544
547
  export const CreateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
545
548
  ...obj,
546
549
  ...(obj.name && { name: SENSITIVE_STRING }),
@@ -557,10 +560,14 @@ export const GetAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
557
560
  ...obj,
558
561
  ...(obj.name && { name: SENSITIVE_STRING }),
559
562
  });
563
+ export const AgentRuntimeEndpointFilterSensitiveLog = (obj) => ({
564
+ ...obj,
565
+ ...(obj.name && { name: SENSITIVE_STRING }),
566
+ });
560
567
  export const ListAgentRuntimeEndpointsResponseFilterSensitiveLog = (obj) => ({
561
568
  ...obj,
562
569
  ...(obj.runtimeEndpoints && {
563
- runtimeEndpoints: obj.runtimeEndpoints.map((item) => AgentEndpointFilterSensitiveLog(item)),
570
+ runtimeEndpoints: obj.runtimeEndpoints.map((item) => AgentRuntimeEndpointFilterSensitiveLog(item)),
564
571
  }),
565
572
  });
566
573
  export const UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
@@ -573,6 +580,7 @@ export const CreateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
573
580
  ...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
574
581
  ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
575
582
  ...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
583
+ ...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
576
584
  });
577
585
  export const GetAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
578
586
  ...obj,
@@ -580,14 +588,19 @@ export const GetAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
580
588
  ...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
581
589
  ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
582
590
  ...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
591
+ ...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
592
+ });
593
+ export const AgentRuntimeFilterSensitiveLog = (obj) => ({
594
+ ...obj,
595
+ ...(obj.description && { description: SENSITIVE_STRING }),
583
596
  });
584
597
  export const ListAgentRuntimesResponseFilterSensitiveLog = (obj) => ({
585
598
  ...obj,
586
- ...(obj.agentRuntimes && { agentRuntimes: obj.agentRuntimes.map((item) => AgentFilterSensitiveLog(item)) }),
599
+ ...(obj.agentRuntimes && { agentRuntimes: obj.agentRuntimes.map((item) => AgentRuntimeFilterSensitiveLog(item)) }),
587
600
  });
588
601
  export const ListAgentRuntimeVersionsResponseFilterSensitiveLog = (obj) => ({
589
602
  ...obj,
590
- ...(obj.agentRuntimes && { agentRuntimes: obj.agentRuntimes.map((item) => AgentFilterSensitiveLog(item)) }),
603
+ ...(obj.agentRuntimes && { agentRuntimes: obj.agentRuntimes.map((item) => AgentRuntimeFilterSensitiveLog(item)) }),
591
604
  });
592
605
  export const UpdateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
593
606
  ...obj,
@@ -595,6 +608,7 @@ export const UpdateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
595
608
  ...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
596
609
  ...(obj.environmentVariables && { environmentVariables: SENSITIVE_STRING }),
597
610
  ...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
611
+ ...(obj.requestHeaderConfiguration && { requestHeaderConfiguration: obj.requestHeaderConfiguration }),
598
612
  });
599
613
  export const CreateApiKeyCredentialProviderRequestFilterSensitiveLog = (obj) => ({
600
614
  ...obj,