@aws-sdk/client-bedrock-agentcore-control 3.891.0 → 3.894.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -1
- package/dist-cjs/index.js +5139 -11
- package/dist-es/BedrockAgentCoreControl.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +49 -35
- package/dist-es/protocols/Aws_restJson1.js +88 -9
- package/dist-types/BedrockAgentCoreControl.d.ts +22 -1
- package/dist-types/BedrockAgentCoreControlClient.d.ts +6 -3
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +19 -3
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +4 -1
- package/dist-types/commands/CreateBrowserCommand.d.ts +12 -1
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +12 -1
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +16 -3
- package/dist-types/commands/GetBrowserCommand.d.ts +10 -1
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +10 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +2 -2
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +2 -2
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +15 -2
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +547 -378
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +133 -79
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +19 -19
- package/dist-cjs/BedrockAgentCoreControl.js +0 -113
- package/dist-cjs/BedrockAgentCoreControlClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/CreateAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/CreateApiKeyCredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/CreateBrowserCommand.js +0 -27
- package/dist-cjs/commands/CreateCodeInterpreterCommand.js +0 -27
- package/dist-cjs/commands/CreateGatewayCommand.js +0 -27
- package/dist-cjs/commands/CreateGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/CreateMemoryCommand.js +0 -27
- package/dist-cjs/commands/CreateOauth2CredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/CreateWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/DeleteAgentRuntimeCommand.js +0 -26
- package/dist-cjs/commands/DeleteAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/DeleteApiKeyCredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/DeleteBrowserCommand.js +0 -26
- package/dist-cjs/commands/DeleteCodeInterpreterCommand.js +0 -26
- package/dist-cjs/commands/DeleteGatewayCommand.js +0 -26
- package/dist-cjs/commands/DeleteGatewayTargetCommand.js +0 -26
- package/dist-cjs/commands/DeleteMemoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteOauth2CredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/DeleteWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/GetAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/GetAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/GetApiKeyCredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/GetBrowserCommand.js +0 -27
- package/dist-cjs/commands/GetCodeInterpreterCommand.js +0 -27
- package/dist-cjs/commands/GetGatewayCommand.js +0 -27
- package/dist-cjs/commands/GetGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/GetMemoryCommand.js +0 -27
- package/dist-cjs/commands/GetOauth2CredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/GetTokenVaultCommand.js +0 -26
- package/dist-cjs/commands/GetWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/ListAgentRuntimeEndpointsCommand.js +0 -27
- package/dist-cjs/commands/ListAgentRuntimeVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListAgentRuntimesCommand.js +0 -27
- package/dist-cjs/commands/ListApiKeyCredentialProvidersCommand.js +0 -26
- package/dist-cjs/commands/ListBrowsersCommand.js +0 -27
- package/dist-cjs/commands/ListCodeInterpretersCommand.js +0 -27
- package/dist-cjs/commands/ListGatewayTargetsCommand.js +0 -27
- package/dist-cjs/commands/ListGatewaysCommand.js +0 -27
- package/dist-cjs/commands/ListMemoriesCommand.js +0 -26
- package/dist-cjs/commands/ListOauth2CredentialProvidersCommand.js +0 -26
- package/dist-cjs/commands/ListWorkloadIdentitiesCommand.js +0 -26
- package/dist-cjs/commands/SetTokenVaultCMKCommand.js +0 -26
- package/dist-cjs/commands/UpdateAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/UpdateAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/UpdateApiKeyCredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateGatewayCommand.js +0 -27
- package/dist-cjs/commands/UpdateGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/UpdateMemoryCommand.js +0 -27
- package/dist-cjs/commands/UpdateOauth2CredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -54
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BedrockAgentCoreControlServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -1213
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListAgentRuntimeEndpointsPaginator.js +0 -7
- package/dist-cjs/pagination/ListAgentRuntimeVersionsPaginator.js +0 -7
- package/dist-cjs/pagination/ListAgentRuntimesPaginator.js +0 -7
- package/dist-cjs/pagination/ListApiKeyCredentialProvidersPaginator.js +0 -7
- package/dist-cjs/pagination/ListBrowsersPaginator.js +0 -7
- package/dist-cjs/pagination/ListCodeInterpretersPaginator.js +0 -7
- package/dist-cjs/pagination/ListGatewayTargetsPaginator.js +0 -7
- package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -7
- package/dist-cjs/pagination/ListMemoriesPaginator.js +0 -7
- package/dist-cjs/pagination/ListOauth2CredentialProvidersPaginator.js +0 -7
- package/dist-cjs/pagination/ListWorkloadIdentitiesPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -15
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2325
- package/dist-cjs/runtimeExtensions.js +0 -13
- package/dist-cjs/waiters/index.js +0 -4
- package/dist-cjs/waiters/waitForMemoryCreated.js +0 -54
|
@@ -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,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;
|