@aws-sdk/client-cloudcontrol 3.312.0 → 3.316.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/CloudControl.js +12 -112
- package/dist-cjs/protocols/Aws_json1_0.js +96 -302
- package/dist-es/CloudControl.js +12 -112
- package/dist-es/protocols/Aws_json1_0.js +97 -303
- package/dist-types/CloudControl.d.ts +16 -56
- package/dist-types/ts3.4/CloudControl.d.ts +4 -1
- package/package.json +6 -6
|
@@ -8,100 +8,60 @@ import { GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOu
|
|
|
8
8
|
import { ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput } from "./commands/ListResourceRequestsCommand";
|
|
9
9
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
10
10
|
import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
|
|
11
|
-
|
|
12
|
-
* @public
|
|
13
|
-
* <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
|
|
14
|
-
* Guide</a>.</p>
|
|
15
|
-
*/
|
|
16
|
-
export declare class CloudControl extends CloudControlClient {
|
|
11
|
+
export interface CloudControl {
|
|
17
12
|
/**
|
|
18
|
-
* @
|
|
19
|
-
* <p>Cancels the specified resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel">Canceling resource operation requests</a> in the
|
|
20
|
-
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
21
|
-
* <p>Only resource operations requests with a status of <code>PENDING</code> or
|
|
22
|
-
* <code>IN_PROGRESS</code> can be canceled.</p>
|
|
13
|
+
* @see {@link CancelResourceRequestCommand}
|
|
23
14
|
*/
|
|
24
15
|
cancelResourceRequest(args: CancelResourceRequestCommandInput, options?: __HttpHandlerOptions): Promise<CancelResourceRequestCommandOutput>;
|
|
25
16
|
cancelResourceRequest(args: CancelResourceRequestCommandInput, cb: (err: any, data?: CancelResourceRequestCommandOutput) => void): void;
|
|
26
17
|
cancelResourceRequest(args: CancelResourceRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelResourceRequestCommandOutput) => void): void;
|
|
27
18
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* <p>Creates the specified resource. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html">Creating a
|
|
30
|
-
* resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
31
|
-
* <p>After you have initiated a resource creation request, you can monitor the progress of your
|
|
32
|
-
* request by calling <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the
|
|
33
|
-
* <code>ProgressEvent</code> type returned by <code>CreateResource</code>.</p>
|
|
19
|
+
* @see {@link CreateResourceCommand}
|
|
34
20
|
*/
|
|
35
21
|
createResource(args: CreateResourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceCommandOutput>;
|
|
36
22
|
createResource(args: CreateResourceCommandInput, cb: (err: any, data?: CreateResourceCommandOutput) => void): void;
|
|
37
23
|
createResource(args: CreateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceCommandOutput) => void): void;
|
|
38
24
|
/**
|
|
39
|
-
* @
|
|
40
|
-
* <p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a
|
|
41
|
-
* resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
42
|
-
* <p>After you have initiated a resource deletion request, you can monitor the progress of your
|
|
43
|
-
* request by calling <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the
|
|
44
|
-
* <code>ProgressEvent</code> returned by <code>DeleteResource</code>.</p>
|
|
25
|
+
* @see {@link DeleteResourceCommand}
|
|
45
26
|
*/
|
|
46
27
|
deleteResource(args: DeleteResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceCommandOutput>;
|
|
47
28
|
deleteResource(args: DeleteResourceCommandInput, cb: (err: any, data?: DeleteResourceCommandOutput) => void): void;
|
|
48
29
|
deleteResource(args: DeleteResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceCommandOutput) => void): void;
|
|
49
30
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p>Returns information about the current state of the specified resource. For details, see
|
|
52
|
-
* <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html">Reading a resource's current state</a>.</p>
|
|
53
|
-
* <p>You can use this action to return information about an existing resource in your account
|
|
54
|
-
* and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
|
|
31
|
+
* @see {@link GetResourceCommand}
|
|
55
32
|
*/
|
|
56
33
|
getResource(args: GetResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceCommandOutput>;
|
|
57
34
|
getResource(args: GetResourceCommandInput, cb: (err: any, data?: GetResourceCommandOutput) => void): void;
|
|
58
35
|
getResource(args: GetResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceCommandOutput) => void): void;
|
|
59
36
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* <p>Returns the current status of a resource operation request. For more information, see
|
|
62
|
-
* <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-track">Tracking the progress of resource operation requests</a> in the
|
|
63
|
-
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
37
|
+
* @see {@link GetResourceRequestStatusCommand}
|
|
64
38
|
*/
|
|
65
39
|
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceRequestStatusCommandOutput>;
|
|
66
40
|
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, cb: (err: any, data?: GetResourceRequestStatusCommandOutput) => void): void;
|
|
67
41
|
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceRequestStatusCommandOutput) => void): void;
|
|
68
42
|
/**
|
|
69
|
-
* @
|
|
70
|
-
* <p>Returns existing resource operation requests. This includes requests of all status types.
|
|
71
|
-
* For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list">Listing active resource operation requests</a> in the
|
|
72
|
-
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
73
|
-
* <note>
|
|
74
|
-
* <p>Resource operation requests expire after 7 days.</p>
|
|
75
|
-
* </note>
|
|
43
|
+
* @see {@link ListResourceRequestsCommand}
|
|
76
44
|
*/
|
|
77
45
|
listResourceRequests(args: ListResourceRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceRequestsCommandOutput>;
|
|
78
46
|
listResourceRequests(args: ListResourceRequestsCommandInput, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
|
|
79
47
|
listResourceRequests(args: ListResourceRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
|
|
80
48
|
/**
|
|
81
|
-
* @
|
|
82
|
-
* <p>Returns information about the specified resources. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html">Discovering resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
83
|
-
* <p>You can use this action to return information about existing resources in your account and
|
|
84
|
-
* Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
|
|
49
|
+
* @see {@link ListResourcesCommand}
|
|
85
50
|
*/
|
|
86
51
|
listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
|
|
87
52
|
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
88
53
|
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
89
54
|
/**
|
|
90
|
-
* @
|
|
91
|
-
* <p>Updates the specified property values in the resource.</p>
|
|
92
|
-
* <p>You specify your resource property updates as a list of patch operations contained in a
|
|
93
|
-
* JSON patch document that adheres to the <a href="https://datatracker.ietf.org/doc/html/rfc6902">
|
|
94
|
-
* <i>RFC 6902 - JavaScript Object
|
|
95
|
-
* Notation (JSON) Patch</i>
|
|
96
|
-
* </a> standard.</p>
|
|
97
|
-
* <p>For details on how Cloud Control API performs resource update operations, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-update.html">Updating a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
98
|
-
* <p>After you have initiated a resource update request, you can monitor the progress of your
|
|
99
|
-
* request by calling <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the
|
|
100
|
-
* <code>ProgressEvent</code> returned by <code>UpdateResource</code>.</p>
|
|
101
|
-
* <p>For more information about the properties of a specific resource, refer to the related
|
|
102
|
-
* topic for the resource in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
|
|
55
|
+
* @see {@link UpdateResourceCommand}
|
|
103
56
|
*/
|
|
104
57
|
updateResource(args: UpdateResourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceCommandOutput>;
|
|
105
58
|
updateResource(args: UpdateResourceCommandInput, cb: (err: any, data?: UpdateResourceCommandOutput) => void): void;
|
|
106
59
|
updateResource(args: UpdateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceCommandOutput) => void): void;
|
|
107
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* <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
|
|
64
|
+
* Guide</a>.</p>
|
|
65
|
+
*/
|
|
66
|
+
export declare class CloudControl extends CloudControlClient implements CloudControl {
|
|
67
|
+
}
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
UpdateResourceCommandInput,
|
|
33
33
|
UpdateResourceCommandOutput,
|
|
34
34
|
} from "./commands/UpdateResourceCommand";
|
|
35
|
-
export
|
|
35
|
+
export interface CloudControl {
|
|
36
36
|
cancelResourceRequest(
|
|
37
37
|
args: CancelResourceRequestCommandInput,
|
|
38
38
|
options?: __HttpHandlerOptions
|
|
@@ -138,3 +138,6 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
138
138
|
cb: (err: any, data?: UpdateResourceCommandOutput) => void
|
|
139
139
|
): void;
|
|
140
140
|
}
|
|
141
|
+
export declare class CloudControl
|
|
142
|
+
extends CloudControlClient
|
|
143
|
+
implements CloudControl {}
|
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.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|