@aws-sdk/client-cloudcontrol 3.298.0 → 3.300.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-types/commands/CancelResourceRequestCommand.d.ts +3 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +7 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +7 -0
- package/dist-types/commands/GetResourceCommand.d.ts +6 -0
- package/dist-types/commands/GetResourceRequestStatusCommand.d.ts +3 -0
- package/dist-types/commands/ListResourceRequestsCommand.d.ts +12 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +8 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +8 -0
- package/package.json +12 -12
|
@@ -29,6 +29,9 @@ export interface CancelResourceRequestCommandOutput extends CancelResourceReques
|
|
|
29
29
|
* import { CloudControlClient, CancelResourceRequestCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
30
30
|
* // const { CloudControlClient, CancelResourceRequestCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
31
31
|
* const client = new CloudControlClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* RequestToken: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new CancelResourceRequestCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface CreateResourceCommandOutput extends CreateResourceOutput, __Met
|
|
|
30
30
|
* import { CloudControlClient, CreateResourceCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
31
31
|
* // const { CloudControlClient, CreateResourceCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
32
32
|
* const client = new CloudControlClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TypeName: "STRING_VALUE", // required
|
|
35
|
+
* TypeVersionId: "STRING_VALUE",
|
|
36
|
+
* RoleArn: "STRING_VALUE",
|
|
37
|
+
* ClientToken: "STRING_VALUE",
|
|
38
|
+
* DesiredState: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
33
40
|
* const command = new CreateResourceCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __Met
|
|
|
30
30
|
* import { CloudControlClient, DeleteResourceCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
31
31
|
* // const { CloudControlClient, DeleteResourceCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
32
32
|
* const client = new CloudControlClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TypeName: "STRING_VALUE", // required
|
|
35
|
+
* TypeVersionId: "STRING_VALUE",
|
|
36
|
+
* RoleArn: "STRING_VALUE",
|
|
37
|
+
* ClientToken: "STRING_VALUE",
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
33
40
|
* const command = new DeleteResourceCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataB
|
|
|
29
29
|
* import { CloudControlClient, GetResourceCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
30
30
|
* // const { CloudControlClient, GetResourceCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
31
31
|
* const client = new CloudControlClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* TypeName: "STRING_VALUE", // required
|
|
34
|
+
* TypeVersionId: "STRING_VALUE",
|
|
35
|
+
* RoleArn: "STRING_VALUE",
|
|
36
|
+
* Identifier: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
32
38
|
* const command = new GetResourceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetResourceRequestStatusCommandOutput extends GetResourceReques
|
|
|
28
28
|
* import { CloudControlClient, GetResourceRequestStatusCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
29
29
|
* // const { CloudControlClient, GetResourceRequestStatusCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
30
30
|
* const client = new CloudControlClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* RequestToken: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetResourceRequestStatusCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -31,6 +31,18 @@ export interface ListResourceRequestsCommandOutput extends ListResourceRequestsO
|
|
|
31
31
|
* import { CloudControlClient, ListResourceRequestsCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
32
32
|
* // const { CloudControlClient, ListResourceRequestsCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
33
33
|
* const client = new CloudControlClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* ResourceRequestStatusFilter: {
|
|
38
|
+
* Operations: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* OperationStatuses: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
34
46
|
* const command = new ListResourceRequestsCommand(input);
|
|
35
47
|
* const response = await client.send(command);
|
|
36
48
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListResourcesCommandOutput extends ListResourcesOutput, __Metad
|
|
|
28
28
|
* import { CloudControlClient, ListResourcesCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
29
29
|
* // const { CloudControlClient, ListResourcesCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
30
30
|
* const client = new CloudControlClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* TypeName: "STRING_VALUE", // required
|
|
33
|
+
* TypeVersionId: "STRING_VALUE",
|
|
34
|
+
* RoleArn: "STRING_VALUE",
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* ResourceModel: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListResourcesCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -37,6 +37,14 @@ export interface UpdateResourceCommandOutput extends UpdateResourceOutput, __Met
|
|
|
37
37
|
* import { CloudControlClient, UpdateResourceCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import
|
|
38
38
|
* // const { CloudControlClient, UpdateResourceCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import
|
|
39
39
|
* const client = new CloudControlClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* TypeName: "STRING_VALUE", // required
|
|
42
|
+
* TypeVersionId: "STRING_VALUE",
|
|
43
|
+
* RoleArn: "STRING_VALUE",
|
|
44
|
+
* ClientToken: "STRING_VALUE",
|
|
45
|
+
* Identifier: "STRING_VALUE", // required
|
|
46
|
+
* PatchDocument: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
40
48
|
* const command = new UpdateResourceCommand(input);
|
|
41
49
|
* const response = await client.send(command);
|
|
42
50
|
* ```
|
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.300.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,23 +21,23 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0",
|