@aws-sdk/client-cloudcontrol 3.1036.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.
|
@@ -78,7 +78,7 @@ export interface CloudControl {
|
|
|
78
78
|
* @param args - command input.
|
|
79
79
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
80
80
|
*/
|
|
81
|
-
waitUntilResourceRequestSuccess(args: GetResourceRequestStatusCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CloudControl>, "client">): Promise<WaiterResult
|
|
81
|
+
waitUntilResourceRequestSuccess(args: GetResourceRequestStatusCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CloudControl>, "client">): Promise<WaiterResult<GetResourceRequestStatusCommandOutput>>;
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* <p>For more information about Amazon Web Services Cloud Control API, see the <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html">Amazon Web Services Cloud Control API User
|
|
@@ -166,7 +166,7 @@ export interface CloudControl {
|
|
|
166
166
|
WaiterConfiguration<CloudControl>,
|
|
167
167
|
Exclude<keyof WaiterConfiguration<CloudControl>, "client">
|
|
168
168
|
>
|
|
169
|
-
): Promise<WaiterResult
|
|
169
|
+
): Promise<WaiterResult<GetResourceRequestStatusCommandOutput>>;
|
|
170
170
|
}
|
|
171
171
|
export declare class CloudControl
|
|
172
172
|
extends CloudControlClient
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { CloudControlClient } from "../CloudControlClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
GetResourceRequestStatusCommandInput,
|
|
5
|
+
GetResourceRequestStatusCommandOutput,
|
|
6
|
+
} from "../commands/GetResourceRequestStatusCommand";
|
|
7
|
+
import { CloudControlServiceException } from "../models/CloudControlServiceException";
|
|
4
8
|
export declare const waitForResourceRequestSuccess: (
|
|
5
9
|
params: WaiterConfiguration<CloudControlClient>,
|
|
6
10
|
input: GetResourceRequestStatusCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
GetResourceRequestStatusCommandOutput | CloudControlServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilResourceRequestSuccess: (
|
|
9
17
|
params: WaiterConfiguration<CloudControlClient>,
|
|
10
18
|
input: GetResourceRequestStatusCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<GetResourceRequestStatusCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { CloudControlClient } from "../CloudControlClient";
|
|
3
|
-
import { type GetResourceRequestStatusCommandInput } from "../commands/GetResourceRequestStatusCommand";
|
|
3
|
+
import { type GetResourceRequestStatusCommandInput, type GetResourceRequestStatusCommandOutput } from "../commands/GetResourceRequestStatusCommand";
|
|
4
|
+
import type { CloudControlServiceException } from "../models/CloudControlServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until resource operation request is successful
|
|
6
7
|
* @deprecated Use waitUntilResourceRequestSuccess instead. waitForResourceRequestSuccess does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForResourceRequestSuccess: (params: WaiterConfiguration<CloudControlClient>, input: GetResourceRequestStatusCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForResourceRequestSuccess: (params: WaiterConfiguration<CloudControlClient>, input: GetResourceRequestStatusCommandInput) => Promise<WaiterResult<GetResourceRequestStatusCommandOutput | CloudControlServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until resource operation request is successful
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetResourceRequestStatusCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilResourceRequestSuccess: (params: WaiterConfiguration<CloudControlClient>, input: GetResourceRequestStatusCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilResourceRequestSuccess: (params: WaiterConfiguration<CloudControlClient>, input: GetResourceRequestStatusCommandInput) => Promise<WaiterResult<GetResourceRequestStatusCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudcontrol",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudcontrol 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-cloudcontrol",
|
|
@@ -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": {
|