@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.
Files changed (131) hide show
  1. package/README.md +25 -1
  2. package/dist-cjs/index.js +5139 -11
  3. package/dist-es/BedrockAgentCoreControl.js +6 -0
  4. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  5. package/dist-es/commands/TagResourceCommand.js +22 -0
  6. package/dist-es/commands/UntagResourceCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +49 -35
  9. package/dist-es/protocols/Aws_restJson1.js +88 -9
  10. package/dist-types/BedrockAgentCoreControl.d.ts +22 -1
  11. package/dist-types/BedrockAgentCoreControlClient.d.ts +6 -3
  12. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +19 -3
  13. package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +4 -1
  14. package/dist-types/commands/CreateBrowserCommand.d.ts +12 -1
  15. package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +12 -1
  16. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateMemoryCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteGatewayCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
  23. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +16 -3
  24. package/dist-types/commands/GetBrowserCommand.d.ts +10 -1
  25. package/dist-types/commands/GetCodeInterpreterCommand.d.ts +10 -1
  26. package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
  27. package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
  28. package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +2 -2
  29. package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +2 -2
  30. package/dist-types/commands/ListAgentRuntimesCommand.d.ts +2 -2
  31. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
  33. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  35. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  36. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  37. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +15 -2
  38. package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
  42. package/dist-types/commands/index.d.ts +3 -0
  43. package/dist-types/index.d.ts +1 -1
  44. package/dist-types/models/models_0.d.ts +547 -378
  45. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  46. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +51 -0
  47. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +18 -0
  48. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +133 -79
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  54. package/package.json +19 -19
  55. package/dist-cjs/BedrockAgentCoreControl.js +0 -113
  56. package/dist-cjs/BedrockAgentCoreControlClient.js +0 -52
  57. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  58. package/dist-cjs/commands/CreateAgentRuntimeCommand.js +0 -27
  59. package/dist-cjs/commands/CreateAgentRuntimeEndpointCommand.js +0 -27
  60. package/dist-cjs/commands/CreateApiKeyCredentialProviderCommand.js +0 -27
  61. package/dist-cjs/commands/CreateBrowserCommand.js +0 -27
  62. package/dist-cjs/commands/CreateCodeInterpreterCommand.js +0 -27
  63. package/dist-cjs/commands/CreateGatewayCommand.js +0 -27
  64. package/dist-cjs/commands/CreateGatewayTargetCommand.js +0 -27
  65. package/dist-cjs/commands/CreateMemoryCommand.js +0 -27
  66. package/dist-cjs/commands/CreateOauth2CredentialProviderCommand.js +0 -27
  67. package/dist-cjs/commands/CreateWorkloadIdentityCommand.js +0 -26
  68. package/dist-cjs/commands/DeleteAgentRuntimeCommand.js +0 -26
  69. package/dist-cjs/commands/DeleteAgentRuntimeEndpointCommand.js +0 -27
  70. package/dist-cjs/commands/DeleteApiKeyCredentialProviderCommand.js +0 -26
  71. package/dist-cjs/commands/DeleteBrowserCommand.js +0 -26
  72. package/dist-cjs/commands/DeleteCodeInterpreterCommand.js +0 -26
  73. package/dist-cjs/commands/DeleteGatewayCommand.js +0 -26
  74. package/dist-cjs/commands/DeleteGatewayTargetCommand.js +0 -26
  75. package/dist-cjs/commands/DeleteMemoryCommand.js +0 -26
  76. package/dist-cjs/commands/DeleteOauth2CredentialProviderCommand.js +0 -26
  77. package/dist-cjs/commands/DeleteWorkloadIdentityCommand.js +0 -26
  78. package/dist-cjs/commands/GetAgentRuntimeCommand.js +0 -27
  79. package/dist-cjs/commands/GetAgentRuntimeEndpointCommand.js +0 -27
  80. package/dist-cjs/commands/GetApiKeyCredentialProviderCommand.js +0 -26
  81. package/dist-cjs/commands/GetBrowserCommand.js +0 -27
  82. package/dist-cjs/commands/GetCodeInterpreterCommand.js +0 -27
  83. package/dist-cjs/commands/GetGatewayCommand.js +0 -27
  84. package/dist-cjs/commands/GetGatewayTargetCommand.js +0 -27
  85. package/dist-cjs/commands/GetMemoryCommand.js +0 -27
  86. package/dist-cjs/commands/GetOauth2CredentialProviderCommand.js +0 -26
  87. package/dist-cjs/commands/GetTokenVaultCommand.js +0 -26
  88. package/dist-cjs/commands/GetWorkloadIdentityCommand.js +0 -26
  89. package/dist-cjs/commands/ListAgentRuntimeEndpointsCommand.js +0 -27
  90. package/dist-cjs/commands/ListAgentRuntimeVersionsCommand.js +0 -27
  91. package/dist-cjs/commands/ListAgentRuntimesCommand.js +0 -27
  92. package/dist-cjs/commands/ListApiKeyCredentialProvidersCommand.js +0 -26
  93. package/dist-cjs/commands/ListBrowsersCommand.js +0 -27
  94. package/dist-cjs/commands/ListCodeInterpretersCommand.js +0 -27
  95. package/dist-cjs/commands/ListGatewayTargetsCommand.js +0 -27
  96. package/dist-cjs/commands/ListGatewaysCommand.js +0 -27
  97. package/dist-cjs/commands/ListMemoriesCommand.js +0 -26
  98. package/dist-cjs/commands/ListOauth2CredentialProvidersCommand.js +0 -26
  99. package/dist-cjs/commands/ListWorkloadIdentitiesCommand.js +0 -26
  100. package/dist-cjs/commands/SetTokenVaultCMKCommand.js +0 -26
  101. package/dist-cjs/commands/UpdateAgentRuntimeCommand.js +0 -27
  102. package/dist-cjs/commands/UpdateAgentRuntimeEndpointCommand.js +0 -27
  103. package/dist-cjs/commands/UpdateApiKeyCredentialProviderCommand.js +0 -27
  104. package/dist-cjs/commands/UpdateGatewayCommand.js +0 -27
  105. package/dist-cjs/commands/UpdateGatewayTargetCommand.js +0 -27
  106. package/dist-cjs/commands/UpdateMemoryCommand.js +0 -27
  107. package/dist-cjs/commands/UpdateOauth2CredentialProviderCommand.js +0 -27
  108. package/dist-cjs/commands/UpdateWorkloadIdentityCommand.js +0 -26
  109. package/dist-cjs/commands/index.js +0 -54
  110. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  111. package/dist-cjs/extensionConfiguration.js +0 -2
  112. package/dist-cjs/models/BedrockAgentCoreControlServiceException.js +0 -12
  113. package/dist-cjs/models/index.js +0 -4
  114. package/dist-cjs/models/models_0.js +0 -1213
  115. package/dist-cjs/pagination/Interfaces.js +0 -2
  116. package/dist-cjs/pagination/ListAgentRuntimeEndpointsPaginator.js +0 -7
  117. package/dist-cjs/pagination/ListAgentRuntimeVersionsPaginator.js +0 -7
  118. package/dist-cjs/pagination/ListAgentRuntimesPaginator.js +0 -7
  119. package/dist-cjs/pagination/ListApiKeyCredentialProvidersPaginator.js +0 -7
  120. package/dist-cjs/pagination/ListBrowsersPaginator.js +0 -7
  121. package/dist-cjs/pagination/ListCodeInterpretersPaginator.js +0 -7
  122. package/dist-cjs/pagination/ListGatewayTargetsPaginator.js +0 -7
  123. package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -7
  124. package/dist-cjs/pagination/ListMemoriesPaginator.js +0 -7
  125. package/dist-cjs/pagination/ListOauth2CredentialProvidersPaginator.js +0 -7
  126. package/dist-cjs/pagination/ListWorkloadIdentitiesPaginator.js +0 -7
  127. package/dist-cjs/pagination/index.js +0 -15
  128. package/dist-cjs/protocols/Aws_restJson1.js +0 -2325
  129. package/dist-cjs/runtimeExtensions.js +0 -13
  130. package/dist-cjs/waiters/index.js +0 -4
  131. package/dist-cjs/waiters/waitForMemoryCreated.js +0 -54
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
10
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
- return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
12
- };
13
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./waitForMemoryCreated"), exports);
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilMemoryCreated = exports.waitForMemoryCreated = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const GetMemoryCommand_1 = require("../commands/GetMemoryCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new GetMemoryCommand_1.GetMemoryCommand(input));
10
- reason = result;
11
- try {
12
- const returnComparator = () => {
13
- return result.memory.status;
14
- };
15
- if (returnComparator() === "CREATING") {
16
- return { state: util_waiter_1.WaiterState.RETRY, reason };
17
- }
18
- }
19
- catch (e) { }
20
- try {
21
- const returnComparator = () => {
22
- return result.memory.status;
23
- };
24
- if (returnComparator() === "ACTIVE") {
25
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
26
- }
27
- }
28
- catch (e) { }
29
- try {
30
- const returnComparator = () => {
31
- return result.memory.status;
32
- };
33
- if (returnComparator() === "FAILED") {
34
- return { state: util_waiter_1.WaiterState.FAILURE, reason };
35
- }
36
- }
37
- catch (e) { }
38
- }
39
- catch (exception) {
40
- reason = exception;
41
- }
42
- return { state: util_waiter_1.WaiterState.RETRY, reason };
43
- };
44
- const waitForMemoryCreated = async (params, input) => {
45
- const serviceDefaults = { minDelay: 2, maxDelay: 120 };
46
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
47
- };
48
- exports.waitForMemoryCreated = waitForMemoryCreated;
49
- const waitUntilMemoryCreated = async (params, input) => {
50
- const serviceDefaults = { minDelay: 2, maxDelay: 120 };
51
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
52
- return (0, util_waiter_1.checkExceptions)(result);
53
- };
54
- exports.waitUntilMemoryCreated = waitUntilMemoryCreated;