@aws-sdk/client-bedrock-agentcore-control 3.1037.0 → 3.1038.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/dist-cjs/index.js +2 -2
- package/dist-es/waiters/waitForMemoryCreated.js +1 -1
- package/dist-es/waiters/waitForPolicyActive.js +1 -1
- package/dist-es/waiters/waitForPolicyDeleted.js +2 -2
- package/dist-es/waiters/waitForPolicyEngineActive.js +1 -1
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +2 -2
- package/dist-types/BedrockAgentCoreControl.d.ts +7 -6
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +7 -6
- package/dist-types/ts3.4/waiters/waitForMemoryCreated.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +10 -3
- package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +12 -3
- package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -3
- package/dist-types/waiters/waitForMemoryCreated.d.ts +4 -3
- package/dist-types/waiters/waitForPolicyActive.d.ts +4 -3
- package/dist-types/waiters/waitForPolicyDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForPolicyEngineActive.d.ts +4 -3
- package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +4 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1523,7 +1523,7 @@ const checkState$3 = async (client, input) => {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
catch (exception) {
|
|
1525
1525
|
reason = exception;
|
|
1526
|
-
if (exception.name
|
|
1526
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
1527
1527
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1528
1528
|
}
|
|
1529
1529
|
}
|
|
@@ -1622,7 +1622,7 @@ const checkState$1 = async (client, input) => {
|
|
|
1622
1622
|
}
|
|
1623
1623
|
catch (exception) {
|
|
1624
1624
|
reason = exception;
|
|
1625
|
-
if (exception.name
|
|
1625
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
1626
1626
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1627
1627
|
}
|
|
1628
1628
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { GetMemoryCommand } from "../commands/GetMemoryCommand";
|
|
2
|
+
import { GetMemoryCommand, } from "../commands/GetMemoryCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { GetPolicyCommand } from "../commands/GetPolicyCommand";
|
|
2
|
+
import { GetPolicyCommand, } from "../commands/GetPolicyCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { GetPolicyCommand } from "../commands/GetPolicyCommand";
|
|
2
|
+
import { GetPolicyCommand, } from "../commands/GetPolicyCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -26,7 +26,7 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
-
if (exception.name
|
|
29
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
30
30
|
return { state: WaiterState.SUCCESS, reason };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { GetPolicyEngineCommand } from "../commands/GetPolicyEngineCommand";
|
|
2
|
+
import { GetPolicyEngineCommand, } from "../commands/GetPolicyEngineCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { GetPolicyEngineCommand } from "../commands/GetPolicyEngineCommand";
|
|
2
|
+
import { GetPolicyEngineCommand, } from "../commands/GetPolicyEngineCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -26,7 +26,7 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
-
if (exception.name
|
|
29
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
30
30
|
return { state: WaiterState.SUCCESS, reason };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -104,6 +104,7 @@ import { type UpdateRegistryCommandInput, type UpdateRegistryCommandOutput } fro
|
|
|
104
104
|
import { type UpdateRegistryRecordCommandInput, type UpdateRegistryRecordCommandOutput } from "./commands/UpdateRegistryRecordCommand";
|
|
105
105
|
import { type UpdateRegistryRecordStatusCommandInput, type UpdateRegistryRecordStatusCommandOutput } from "./commands/UpdateRegistryRecordStatusCommand";
|
|
106
106
|
import { type UpdateWorkloadIdentityCommandInput, type UpdateWorkloadIdentityCommandOutput } from "./commands/UpdateWorkloadIdentityCommand";
|
|
107
|
+
import type { ResourceNotFoundException } from "./models/errors";
|
|
107
108
|
export interface BedrockAgentCoreControl {
|
|
108
109
|
/**
|
|
109
110
|
* @see {@link CreateAgentRuntimeCommand}
|
|
@@ -890,37 +891,37 @@ export interface BedrockAgentCoreControl {
|
|
|
890
891
|
* @param args - command input.
|
|
891
892
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
892
893
|
*/
|
|
893
|
-
waitUntilMemoryCreated(args: GetMemoryCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult
|
|
894
|
+
waitUntilMemoryCreated(args: GetMemoryCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult<GetMemoryCommandOutput>>;
|
|
894
895
|
/**
|
|
895
896
|
* @see {@link GetPolicyCommand}
|
|
896
897
|
* @param args - command input.
|
|
897
898
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
898
899
|
*/
|
|
899
|
-
waitUntilPolicyActive(args: GetPolicyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult
|
|
900
|
+
waitUntilPolicyActive(args: GetPolicyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult<GetPolicyCommandOutput>>;
|
|
900
901
|
/**
|
|
901
902
|
* @see {@link GetPolicyCommand}
|
|
902
903
|
* @param args - command input.
|
|
903
904
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
904
905
|
*/
|
|
905
|
-
waitUntilPolicyDeleted(args: GetPolicyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult
|
|
906
|
+
waitUntilPolicyDeleted(args: GetPolicyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
906
907
|
/**
|
|
907
908
|
* @see {@link GetPolicyEngineCommand}
|
|
908
909
|
* @param args - command input.
|
|
909
910
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
910
911
|
*/
|
|
911
|
-
waitUntilPolicyEngineActive(args: GetPolicyEngineCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult
|
|
912
|
+
waitUntilPolicyEngineActive(args: GetPolicyEngineCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult<GetPolicyEngineCommandOutput>>;
|
|
912
913
|
/**
|
|
913
914
|
* @see {@link GetPolicyEngineCommand}
|
|
914
915
|
* @param args - command input.
|
|
915
916
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
916
917
|
*/
|
|
917
|
-
waitUntilPolicyEngineDeleted(args: GetPolicyEngineCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult
|
|
918
|
+
waitUntilPolicyEngineDeleted(args: GetPolicyEngineCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
918
919
|
/**
|
|
919
920
|
* @see {@link GetPolicyGenerationCommand}
|
|
920
921
|
* @param args - command input.
|
|
921
922
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
922
923
|
*/
|
|
923
|
-
waitUntilPolicyGenerationCompleted(args: GetPolicyGenerationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult
|
|
924
|
+
waitUntilPolicyGenerationCompleted(args: GetPolicyGenerationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<BedrockAgentCoreControl>, "client">): Promise<WaiterResult<GetPolicyGenerationCommandOutput>>;
|
|
924
925
|
}
|
|
925
926
|
/**
|
|
926
927
|
* <p>Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.</p>
|
|
@@ -418,6 +418,7 @@ import {
|
|
|
418
418
|
UpdateWorkloadIdentityCommandInput,
|
|
419
419
|
UpdateWorkloadIdentityCommandOutput,
|
|
420
420
|
} from "./commands/UpdateWorkloadIdentityCommand";
|
|
421
|
+
import { ResourceNotFoundException } from "./models/errors";
|
|
421
422
|
export interface BedrockAgentCoreControl {
|
|
422
423
|
createAgentRuntime(
|
|
423
424
|
args: CreateAgentRuntimeCommandInput,
|
|
@@ -1928,7 +1929,7 @@ export interface BedrockAgentCoreControl {
|
|
|
1928
1929
|
WaiterConfiguration<BedrockAgentCoreControl>,
|
|
1929
1930
|
Exclude<keyof WaiterConfiguration<BedrockAgentCoreControl>, "client">
|
|
1930
1931
|
>
|
|
1931
|
-
): Promise<WaiterResult
|
|
1932
|
+
): Promise<WaiterResult<GetMemoryCommandOutput>>;
|
|
1932
1933
|
waitUntilPolicyActive(
|
|
1933
1934
|
args: GetPolicyCommandInput,
|
|
1934
1935
|
waiterConfig:
|
|
@@ -1937,7 +1938,7 @@ export interface BedrockAgentCoreControl {
|
|
|
1937
1938
|
WaiterConfiguration<BedrockAgentCoreControl>,
|
|
1938
1939
|
Exclude<keyof WaiterConfiguration<BedrockAgentCoreControl>, "client">
|
|
1939
1940
|
>
|
|
1940
|
-
): Promise<WaiterResult
|
|
1941
|
+
): Promise<WaiterResult<GetPolicyCommandOutput>>;
|
|
1941
1942
|
waitUntilPolicyDeleted(
|
|
1942
1943
|
args: GetPolicyCommandInput,
|
|
1943
1944
|
waiterConfig:
|
|
@@ -1946,7 +1947,7 @@ export interface BedrockAgentCoreControl {
|
|
|
1946
1947
|
WaiterConfiguration<BedrockAgentCoreControl>,
|
|
1947
1948
|
Exclude<keyof WaiterConfiguration<BedrockAgentCoreControl>, "client">
|
|
1948
1949
|
>
|
|
1949
|
-
): Promise<WaiterResult
|
|
1950
|
+
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
1950
1951
|
waitUntilPolicyEngineActive(
|
|
1951
1952
|
args: GetPolicyEngineCommandInput,
|
|
1952
1953
|
waiterConfig:
|
|
@@ -1955,7 +1956,7 @@ export interface BedrockAgentCoreControl {
|
|
|
1955
1956
|
WaiterConfiguration<BedrockAgentCoreControl>,
|
|
1956
1957
|
Exclude<keyof WaiterConfiguration<BedrockAgentCoreControl>, "client">
|
|
1957
1958
|
>
|
|
1958
|
-
): Promise<WaiterResult
|
|
1959
|
+
): Promise<WaiterResult<GetPolicyEngineCommandOutput>>;
|
|
1959
1960
|
waitUntilPolicyEngineDeleted(
|
|
1960
1961
|
args: GetPolicyEngineCommandInput,
|
|
1961
1962
|
waiterConfig:
|
|
@@ -1964,7 +1965,7 @@ export interface BedrockAgentCoreControl {
|
|
|
1964
1965
|
WaiterConfiguration<BedrockAgentCoreControl>,
|
|
1965
1966
|
Exclude<keyof WaiterConfiguration<BedrockAgentCoreControl>, "client">
|
|
1966
1967
|
>
|
|
1967
|
-
): Promise<WaiterResult
|
|
1968
|
+
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
1968
1969
|
waitUntilPolicyGenerationCompleted(
|
|
1969
1970
|
args: GetPolicyGenerationCommandInput,
|
|
1970
1971
|
waiterConfig:
|
|
@@ -1973,7 +1974,7 @@ export interface BedrockAgentCoreControl {
|
|
|
1973
1974
|
WaiterConfiguration<BedrockAgentCoreControl>,
|
|
1974
1975
|
Exclude<keyof WaiterConfiguration<BedrockAgentCoreControl>, "client">
|
|
1975
1976
|
>
|
|
1976
|
-
): Promise<WaiterResult
|
|
1977
|
+
): Promise<WaiterResult<GetPolicyGenerationCommandOutput>>;
|
|
1977
1978
|
}
|
|
1978
1979
|
export declare class BedrockAgentCoreControl
|
|
1979
1980
|
extends BedrockAgentCoreControlClient
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetMemoryCommandInput,
|
|
5
|
+
GetMemoryCommandOutput,
|
|
6
|
+
} from "../commands/GetMemoryCommand";
|
|
7
|
+
import { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
8
|
export declare const waitForMemoryCreated: (
|
|
5
9
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
6
10
|
input: GetMemoryCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<GetMemoryCommandOutput | BedrockAgentCoreControlServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilMemoryCreated: (
|
|
9
15
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
10
16
|
input: GetMemoryCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<GetMemoryCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetPolicyCommandInput,
|
|
5
|
+
GetPolicyCommandOutput,
|
|
6
|
+
} from "../commands/GetPolicyCommand";
|
|
7
|
+
import { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
8
|
export declare const waitForPolicyActive: (
|
|
5
9
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
6
10
|
input: GetPolicyCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<GetPolicyCommandOutput | BedrockAgentCoreControlServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilPolicyActive: (
|
|
9
15
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
10
16
|
input: GetPolicyCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<GetPolicyCommandOutput>>;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetPolicyCommandInput,
|
|
5
|
+
GetPolicyCommandOutput,
|
|
6
|
+
} from "../commands/GetPolicyCommand";
|
|
7
|
+
import { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
4
9
|
export declare const waitForPolicyDeleted: (
|
|
5
10
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
6
11
|
input: GetPolicyCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<GetPolicyCommandOutput | BedrockAgentCoreControlServiceException>
|
|
14
|
+
>;
|
|
8
15
|
export declare const waitUntilPolicyDeleted: (
|
|
9
16
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
10
17
|
input: GetPolicyCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
18
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetPolicyEngineCommandInput,
|
|
5
|
+
GetPolicyEngineCommandOutput,
|
|
6
|
+
} from "../commands/GetPolicyEngineCommand";
|
|
7
|
+
import { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
8
|
export declare const waitForPolicyEngineActive: (
|
|
5
9
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
6
10
|
input: GetPolicyEngineCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
GetPolicyEngineCommandOutput | BedrockAgentCoreControlServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilPolicyEngineActive: (
|
|
9
17
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
10
18
|
input: GetPolicyEngineCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<GetPolicyEngineCommandOutput>>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetPolicyEngineCommandInput,
|
|
5
|
+
GetPolicyEngineCommandOutput,
|
|
6
|
+
} from "../commands/GetPolicyEngineCommand";
|
|
7
|
+
import { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
4
9
|
export declare const waitForPolicyEngineDeleted: (
|
|
5
10
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
6
11
|
input: GetPolicyEngineCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<
|
|
14
|
+
GetPolicyEngineCommandOutput | BedrockAgentCoreControlServiceException
|
|
15
|
+
>
|
|
16
|
+
>;
|
|
8
17
|
export declare const waitUntilPolicyEngineDeleted: (
|
|
9
18
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
10
19
|
input: GetPolicyEngineCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
20
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetPolicyGenerationCommandInput,
|
|
5
|
+
GetPolicyGenerationCommandOutput,
|
|
6
|
+
} from "../commands/GetPolicyGenerationCommand";
|
|
7
|
+
import { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
8
|
export declare const waitForPolicyGenerationCompleted: (
|
|
5
9
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
6
10
|
input: GetPolicyGenerationCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
GetPolicyGenerationCommandOutput | BedrockAgentCoreControlServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilPolicyGenerationCompleted: (
|
|
9
17
|
params: WaiterConfiguration<BedrockAgentCoreControlClient>,
|
|
10
18
|
input: GetPolicyGenerationCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<GetPolicyGenerationCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import { type GetMemoryCommandInput } from "../commands/GetMemoryCommand";
|
|
3
|
+
import { type GetMemoryCommandInput, type GetMemoryCommandOutput } from "../commands/GetMemoryCommand";
|
|
4
|
+
import type { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilMemoryCreated instead. waitForMemoryCreated does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForMemoryCreated: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetMemoryCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForMemoryCreated: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetMemoryCommandInput) => Promise<WaiterResult<GetMemoryCommandOutput | BedrockAgentCoreControlServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetMemoryCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilMemoryCreated: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetMemoryCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilMemoryCreated: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetMemoryCommandInput) => Promise<WaiterResult<GetMemoryCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import { type GetPolicyCommandInput } from "../commands/GetPolicyCommand";
|
|
3
|
+
import { type GetPolicyCommandInput, type GetPolicyCommandOutput } from "../commands/GetPolicyCommand";
|
|
4
|
+
import type { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a Policy is active
|
|
6
7
|
* @deprecated Use waitUntilPolicyActive instead. waitForPolicyActive does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForPolicyActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForPolicyActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult<GetPolicyCommandOutput | BedrockAgentCoreControlServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a Policy is active
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetPolicyCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilPolicyActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilPolicyActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult<GetPolicyCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import { type GetPolicyCommandInput } from "../commands/GetPolicyCommand";
|
|
3
|
+
import { type GetPolicyCommandInput, type GetPolicyCommandOutput } from "../commands/GetPolicyCommand";
|
|
4
|
+
import type { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until a Policy is deleted
|
|
6
8
|
* @deprecated Use waitUntilPolicyDeleted instead. waitForPolicyDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForPolicyDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForPolicyDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult<GetPolicyCommandOutput | BedrockAgentCoreControlServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until a Policy is deleted
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to GetPolicyCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilPolicyDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilPolicyDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import { type GetPolicyEngineCommandInput } from "../commands/GetPolicyEngineCommand";
|
|
3
|
+
import { type GetPolicyEngineCommandInput, type GetPolicyEngineCommandOutput } from "../commands/GetPolicyEngineCommand";
|
|
4
|
+
import type { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a PolicyEngine is active
|
|
6
7
|
* @deprecated Use waitUntilPolicyEngineActive instead. waitForPolicyEngineActive does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForPolicyEngineActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForPolicyEngineActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult<GetPolicyEngineCommandOutput | BedrockAgentCoreControlServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a PolicyEngine is active
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetPolicyEngineCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilPolicyEngineActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilPolicyEngineActive: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult<GetPolicyEngineCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import { type GetPolicyEngineCommandInput } from "../commands/GetPolicyEngineCommand";
|
|
3
|
+
import { type GetPolicyEngineCommandInput, type GetPolicyEngineCommandOutput } from "../commands/GetPolicyEngineCommand";
|
|
4
|
+
import type { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until a PolicyEngine is deleted
|
|
6
8
|
* @deprecated Use waitUntilPolicyEngineDeleted instead. waitForPolicyEngineDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForPolicyEngineDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForPolicyEngineDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult<GetPolicyEngineCommandOutput | BedrockAgentCoreControlServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until a PolicyEngine is deleted
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to GetPolicyEngineCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilPolicyEngineDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilPolicyEngineDeleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyEngineCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
|
|
3
|
-
import { type GetPolicyGenerationCommandInput } from "../commands/GetPolicyGenerationCommand";
|
|
3
|
+
import { type GetPolicyGenerationCommandInput, type GetPolicyGenerationCommandOutput } from "../commands/GetPolicyGenerationCommand";
|
|
4
|
+
import type { BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until policy generation is completed
|
|
6
7
|
* @deprecated Use waitUntilPolicyGenerationCompleted instead. waitForPolicyGenerationCompleted does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForPolicyGenerationCompleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyGenerationCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForPolicyGenerationCompleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyGenerationCommandInput) => Promise<WaiterResult<GetPolicyGenerationCommandOutput | BedrockAgentCoreControlServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until policy generation is completed
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetPolicyGenerationCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilPolicyGenerationCompleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyGenerationCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilPolicyGenerationCompleted: (params: WaiterConfiguration<BedrockAgentCoreControlClient>, input: GetPolicyGenerationCommandInput) => Promise<WaiterResult<GetPolicyGenerationCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1038.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.6",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.17",
|
|
36
36
|
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.20",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
56
56
|
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.5",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
|
-
"@smithy/util-waiter": "^4.
|
|
60
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|