@aws-sdk/client-cloudformation 3.345.0 → 3.347.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 +39 -20
- package/dist-cjs/CloudFormation.js +6 -0
- package/dist-cjs/commands/ActivateOrganizationsAccessCommand.js +46 -0
- package/dist-cjs/commands/DeactivateOrganizationsAccessCommand.js +46 -0
- package/dist-cjs/commands/DescribeOrganizationsAccessCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +35 -30
- package/dist-cjs/protocols/Aws_query.js +174 -3
- package/dist-es/CloudFormation.js +6 -0
- package/dist-es/commands/ActivateOrganizationsAccessCommand.js +42 -0
- package/dist-es/commands/DeactivateOrganizationsAccessCommand.js +42 -0
- package/dist-es/commands/DescribeOrganizationsAccessCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +31 -26
- package/dist-es/protocols/Aws_query.js +165 -0
- package/dist-types/CloudFormation.d.ts +29 -13
- package/dist-types/CloudFormationClient.d.ts +13 -15
- package/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +77 -0
- package/dist-types/commands/ActivateTypeCommand.d.ts +6 -6
- package/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -3
- package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +8 -9
- package/dist-types/commands/CreateChangeSetCommand.d.ts +19 -22
- package/dist-types/commands/CreateStackCommand.d.ts +4 -5
- package/dist-types/commands/CreateStackInstancesCommand.d.ts +9 -10
- package/dist-types/commands/CreateStackSetCommand.d.ts +2 -2
- package/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +77 -0
- package/dist-types/commands/DeactivateTypeCommand.d.ts +4 -4
- package/dist-types/commands/DeleteChangeSetCommand.d.ts +8 -9
- package/dist-types/commands/DeleteStackCommand.d.ts +2 -2
- package/dist-types/commands/DeleteStackInstancesCommand.d.ts +3 -4
- package/dist-types/commands/DeleteStackSetCommand.d.ts +6 -7
- package/dist-types/commands/DeregisterTypeCommand.d.ts +9 -9
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeChangeSetCommand.d.ts +4 -3
- package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
- package/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +82 -0
- package/dist-types/commands/DescribePublisherCommand.d.ts +5 -4
- package/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +10 -11
- package/dist-types/commands/DescribeStackEventsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeStackInstanceCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +9 -8
- package/dist-types/commands/DescribeStackResourcesCommand.d.ts +10 -11
- package/dist-types/commands/DescribeStackSetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStacksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTypeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +3 -3
- package/dist-types/commands/DetectStackDriftCommand.d.ts +17 -17
- package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +10 -9
- package/dist-types/commands/DetectStackSetDriftCommand.d.ts +21 -28
- package/dist-types/commands/EstimateTemplateCostCommand.d.ts +2 -2
- package/dist-types/commands/ExecuteChangeSetCommand.d.ts +13 -15
- package/dist-types/commands/GetStackPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTemplateCommand.d.ts +5 -5
- package/dist-types/commands/GetTemplateSummaryCommand.d.ts +7 -8
- package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +9 -17
- package/dist-types/commands/ListChangeSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListExportsCommand.d.ts +4 -4
- package/dist-types/commands/ListImportsCommand.d.ts +2 -2
- package/dist-types/commands/ListStackInstancesCommand.d.ts +3 -2
- package/dist-types/commands/ListStackResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListStackSetsCommand.d.ts +8 -10
- package/dist-types/commands/ListStacksCommand.d.ts +3 -4
- package/dist-types/commands/PublishTypeCommand.d.ts +3 -2
- package/dist-types/commands/RecordHandlerProgressCommand.d.ts +4 -4
- package/dist-types/commands/RegisterPublisherCommand.d.ts +5 -5
- package/dist-types/commands/RegisterTypeCommand.d.ts +11 -11
- package/dist-types/commands/RollbackStackCommand.d.ts +6 -6
- package/dist-types/commands/SetTypeConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +1 -1
- package/dist-types/commands/SignalResourceCommand.d.ts +6 -6
- package/dist-types/commands/StopStackSetOperationCommand.d.ts +2 -3
- package/dist-types/commands/TestTypeCommand.d.ts +11 -10
- package/dist-types/commands/UpdateStackCommand.d.ts +4 -5
- package/dist-types/commands/UpdateStackInstancesCommand.d.ts +15 -18
- package/dist-types/commands/UpdateStackSetCommand.d.ts +6 -10
- package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +6 -6
- package/dist-types/commands/ValidateTemplateCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +8 -13
- package/dist-types/models/models_0.d.ts +2198 -2448
- package/dist-types/protocols/Aws_query.d.ts +27 -0
- package/dist-types/ts3.4/CloudFormation.d.ts +51 -0
- package/dist-types/ts3.4/CloudFormationClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ActivateOrganizationsAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeactivateOrganizationsAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationsAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -16
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +36 -0
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -8,20 +8,15 @@ AWS SDK for JavaScript CloudFormation Client for Node.js, Browser and React Nati
|
|
|
8
8
|
|
|
9
9
|
<fullname>CloudFormation</fullname>
|
|
10
10
|
|
|
11
|
-
<p>CloudFormation allows you to create and manage Amazon Web Services infrastructure
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<p>With CloudFormation, you declare all your resources and dependencies in a template
|
|
18
|
-
file. The template defines a collection of resources as a single unit called a stack.
|
|
19
|
-
CloudFormation creates and deletes all member resources of the stack together and
|
|
20
|
-
manages all dependencies between the resources for you.</p>
|
|
11
|
+
<p>CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably
|
|
12
|
+
and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build
|
|
13
|
+
highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure.</p>
|
|
14
|
+
<p>With CloudFormation, you declare all your resources and dependencies in a template file. The template
|
|
15
|
+
defines a collection of resources as a single unit called a stack. CloudFormation creates and deletes all member
|
|
16
|
+
resources of the stack together and manages all dependencies between the resources for you.</p>
|
|
21
17
|
<p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation product page</a>.</p>
|
|
22
|
-
<p>CloudFormation makes use of other Amazon Web Services products. If you need
|
|
23
|
-
|
|
24
|
-
the product's technical documentation at <a href="https://docs.aws.amazon.com/">
|
|
18
|
+
<p>CloudFormation makes use of other Amazon Web Services products. If you need additional technical information
|
|
19
|
+
about a specific Amazon Web Services product, you can find the product's technical documentation at <a href="https://docs.aws.amazon.com/">
|
|
25
20
|
<code>docs.aws.amazon.com</code>
|
|
26
21
|
</a>.</p>
|
|
27
22
|
|
|
@@ -40,16 +35,16 @@ using your favorite package manager:
|
|
|
40
35
|
|
|
41
36
|
The AWS SDK is modulized by clients and commands.
|
|
42
37
|
To send a request, you only need to import the `CloudFormationClient` and
|
|
43
|
-
the commands you need, for example `
|
|
38
|
+
the commands you need, for example `ActivateOrganizationsAccessCommand`:
|
|
44
39
|
|
|
45
40
|
```js
|
|
46
41
|
// ES5 example
|
|
47
|
-
const { CloudFormationClient,
|
|
42
|
+
const { CloudFormationClient, ActivateOrganizationsAccessCommand } = require("@aws-sdk/client-cloudformation");
|
|
48
43
|
```
|
|
49
44
|
|
|
50
45
|
```ts
|
|
51
46
|
// ES6+ example
|
|
52
|
-
import { CloudFormationClient,
|
|
47
|
+
import { CloudFormationClient, ActivateOrganizationsAccessCommand } from "@aws-sdk/client-cloudformation";
|
|
53
48
|
```
|
|
54
49
|
|
|
55
50
|
### Usage
|
|
@@ -68,7 +63,7 @@ const client = new CloudFormationClient({ region: "REGION" });
|
|
|
68
63
|
const params = {
|
|
69
64
|
/** input parameters */
|
|
70
65
|
};
|
|
71
|
-
const command = new
|
|
66
|
+
const command = new ActivateOrganizationsAccessCommand(params);
|
|
72
67
|
```
|
|
73
68
|
|
|
74
69
|
#### Async/await
|
|
@@ -147,7 +142,7 @@ const client = new AWS.CloudFormation({ region: "REGION" });
|
|
|
147
142
|
|
|
148
143
|
// async/await.
|
|
149
144
|
try {
|
|
150
|
-
const data = await client.
|
|
145
|
+
const data = await client.activateOrganizationsAccess(params);
|
|
151
146
|
// process data.
|
|
152
147
|
} catch (error) {
|
|
153
148
|
// error handling.
|
|
@@ -155,7 +150,7 @@ try {
|
|
|
155
150
|
|
|
156
151
|
// Promises.
|
|
157
152
|
client
|
|
158
|
-
.
|
|
153
|
+
.activateOrganizationsAccess(params)
|
|
159
154
|
.then((data) => {
|
|
160
155
|
// process data.
|
|
161
156
|
})
|
|
@@ -164,7 +159,7 @@ client
|
|
|
164
159
|
});
|
|
165
160
|
|
|
166
161
|
// callbacks.
|
|
167
|
-
client.
|
|
162
|
+
client.activateOrganizationsAccess(params, (err, data) => {
|
|
168
163
|
// process err and data.
|
|
169
164
|
});
|
|
170
165
|
```
|
|
@@ -220,6 +215,14 @@ see LICENSE for more information.
|
|
|
220
215
|
|
|
221
216
|
## Client Commands (Operations List)
|
|
222
217
|
|
|
218
|
+
<details>
|
|
219
|
+
<summary>
|
|
220
|
+
ActivateOrganizationsAccess
|
|
221
|
+
</summary>
|
|
222
|
+
|
|
223
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/classes/activateorganizationsaccesscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/activateorganizationsaccesscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/activateorganizationsaccesscommandoutput.html)
|
|
224
|
+
|
|
225
|
+
</details>
|
|
223
226
|
<details>
|
|
224
227
|
<summary>
|
|
225
228
|
ActivateType
|
|
@@ -283,6 +286,14 @@ CreateStackSet
|
|
|
283
286
|
|
|
284
287
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/classes/createstacksetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/createstacksetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/createstacksetcommandoutput.html)
|
|
285
288
|
|
|
289
|
+
</details>
|
|
290
|
+
<details>
|
|
291
|
+
<summary>
|
|
292
|
+
DeactivateOrganizationsAccess
|
|
293
|
+
</summary>
|
|
294
|
+
|
|
295
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/classes/deactivateorganizationsaccesscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/deactivateorganizationsaccesscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/deactivateorganizationsaccesscommandoutput.html)
|
|
296
|
+
|
|
286
297
|
</details>
|
|
287
298
|
<details>
|
|
288
299
|
<summary>
|
|
@@ -355,6 +366,14 @@ DescribeChangeSetHooks
|
|
|
355
366
|
|
|
356
367
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/classes/describechangesethookscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/describechangesethookscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/describechangesethookscommandoutput.html)
|
|
357
368
|
|
|
369
|
+
</details>
|
|
370
|
+
<details>
|
|
371
|
+
<summary>
|
|
372
|
+
DescribeOrganizationsAccess
|
|
373
|
+
</summary>
|
|
374
|
+
|
|
375
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/classes/describeorganizationsaccesscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/describeorganizationsaccesscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/describeorganizationsaccesscommandoutput.html)
|
|
376
|
+
|
|
358
377
|
</details>
|
|
359
378
|
<details>
|
|
360
379
|
<summary>
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CloudFormation = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const CloudFormationClient_1 = require("./CloudFormationClient");
|
|
6
|
+
const ActivateOrganizationsAccessCommand_1 = require("./commands/ActivateOrganizationsAccessCommand");
|
|
6
7
|
const ActivateTypeCommand_1 = require("./commands/ActivateTypeCommand");
|
|
7
8
|
const BatchDescribeTypeConfigurationsCommand_1 = require("./commands/BatchDescribeTypeConfigurationsCommand");
|
|
8
9
|
const CancelUpdateStackCommand_1 = require("./commands/CancelUpdateStackCommand");
|
|
@@ -11,6 +12,7 @@ const CreateChangeSetCommand_1 = require("./commands/CreateChangeSetCommand");
|
|
|
11
12
|
const CreateStackCommand_1 = require("./commands/CreateStackCommand");
|
|
12
13
|
const CreateStackInstancesCommand_1 = require("./commands/CreateStackInstancesCommand");
|
|
13
14
|
const CreateStackSetCommand_1 = require("./commands/CreateStackSetCommand");
|
|
15
|
+
const DeactivateOrganizationsAccessCommand_1 = require("./commands/DeactivateOrganizationsAccessCommand");
|
|
14
16
|
const DeactivateTypeCommand_1 = require("./commands/DeactivateTypeCommand");
|
|
15
17
|
const DeleteChangeSetCommand_1 = require("./commands/DeleteChangeSetCommand");
|
|
16
18
|
const DeleteStackCommand_1 = require("./commands/DeleteStackCommand");
|
|
@@ -20,6 +22,7 @@ const DeregisterTypeCommand_1 = require("./commands/DeregisterTypeCommand");
|
|
|
20
22
|
const DescribeAccountLimitsCommand_1 = require("./commands/DescribeAccountLimitsCommand");
|
|
21
23
|
const DescribeChangeSetCommand_1 = require("./commands/DescribeChangeSetCommand");
|
|
22
24
|
const DescribeChangeSetHooksCommand_1 = require("./commands/DescribeChangeSetHooksCommand");
|
|
25
|
+
const DescribeOrganizationsAccessCommand_1 = require("./commands/DescribeOrganizationsAccessCommand");
|
|
23
26
|
const DescribePublisherCommand_1 = require("./commands/DescribePublisherCommand");
|
|
24
27
|
const DescribeStackDriftDetectionStatusCommand_1 = require("./commands/DescribeStackDriftDetectionStatusCommand");
|
|
25
28
|
const DescribeStackEventsCommand_1 = require("./commands/DescribeStackEventsCommand");
|
|
@@ -70,6 +73,7 @@ const UpdateStackSetCommand_1 = require("./commands/UpdateStackSetCommand");
|
|
|
70
73
|
const UpdateTerminationProtectionCommand_1 = require("./commands/UpdateTerminationProtectionCommand");
|
|
71
74
|
const ValidateTemplateCommand_1 = require("./commands/ValidateTemplateCommand");
|
|
72
75
|
const commands = {
|
|
76
|
+
ActivateOrganizationsAccessCommand: ActivateOrganizationsAccessCommand_1.ActivateOrganizationsAccessCommand,
|
|
73
77
|
ActivateTypeCommand: ActivateTypeCommand_1.ActivateTypeCommand,
|
|
74
78
|
BatchDescribeTypeConfigurationsCommand: BatchDescribeTypeConfigurationsCommand_1.BatchDescribeTypeConfigurationsCommand,
|
|
75
79
|
CancelUpdateStackCommand: CancelUpdateStackCommand_1.CancelUpdateStackCommand,
|
|
@@ -78,6 +82,7 @@ const commands = {
|
|
|
78
82
|
CreateStackCommand: CreateStackCommand_1.CreateStackCommand,
|
|
79
83
|
CreateStackInstancesCommand: CreateStackInstancesCommand_1.CreateStackInstancesCommand,
|
|
80
84
|
CreateStackSetCommand: CreateStackSetCommand_1.CreateStackSetCommand,
|
|
85
|
+
DeactivateOrganizationsAccessCommand: DeactivateOrganizationsAccessCommand_1.DeactivateOrganizationsAccessCommand,
|
|
81
86
|
DeactivateTypeCommand: DeactivateTypeCommand_1.DeactivateTypeCommand,
|
|
82
87
|
DeleteChangeSetCommand: DeleteChangeSetCommand_1.DeleteChangeSetCommand,
|
|
83
88
|
DeleteStackCommand: DeleteStackCommand_1.DeleteStackCommand,
|
|
@@ -87,6 +92,7 @@ const commands = {
|
|
|
87
92
|
DescribeAccountLimitsCommand: DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand,
|
|
88
93
|
DescribeChangeSetCommand: DescribeChangeSetCommand_1.DescribeChangeSetCommand,
|
|
89
94
|
DescribeChangeSetHooksCommand: DescribeChangeSetHooksCommand_1.DescribeChangeSetHooksCommand,
|
|
95
|
+
DescribeOrganizationsAccessCommand: DescribeOrganizationsAccessCommand_1.DescribeOrganizationsAccessCommand,
|
|
90
96
|
DescribePublisherCommand: DescribePublisherCommand_1.DescribePublisherCommand,
|
|
91
97
|
DescribeStackDriftDetectionStatusCommand: DescribeStackDriftDetectionStatusCommand_1.DescribeStackDriftDetectionStatusCommand,
|
|
92
98
|
DescribeStackEventsCommand: DescribeStackEventsCommand_1.DescribeStackEventsCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActivateOrganizationsAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class ActivateOrganizationsAccessCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ActivateOrganizationsAccessCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudFormationClient";
|
|
28
|
+
const commandName = "ActivateOrganizationsAccessCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_ActivateOrganizationsAccessCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_ActivateOrganizationsAccessCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ActivateOrganizationsAccessCommand = ActivateOrganizationsAccessCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeactivateOrganizationsAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class DeactivateOrganizationsAccessCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeactivateOrganizationsAccessCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudFormationClient";
|
|
28
|
+
const commandName = "DeactivateOrganizationsAccessCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_DeactivateOrganizationsAccessCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_DeactivateOrganizationsAccessCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeactivateOrganizationsAccessCommand = DeactivateOrganizationsAccessCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeOrganizationsAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class DescribeOrganizationsAccessCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeOrganizationsAccessCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudFormationClient";
|
|
28
|
+
const commandName = "DescribeOrganizationsAccessCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_DescribeOrganizationsAccessCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_DescribeOrganizationsAccessCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeOrganizationsAccessCommand = DescribeOrganizationsAccessCommand;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ActivateOrganizationsAccessCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./ActivateTypeCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./BatchDescribeTypeConfigurationsCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CancelUpdateStackCommand"), exports);
|
|
@@ -9,6 +10,7 @@ tslib_1.__exportStar(require("./CreateChangeSetCommand"), exports);
|
|
|
9
10
|
tslib_1.__exportStar(require("./CreateStackCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./CreateStackInstancesCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./CreateStackSetCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeactivateOrganizationsAccessCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DeactivateTypeCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./DeleteChangeSetCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./DeleteStackCommand"), exports);
|
|
@@ -18,6 +20,7 @@ tslib_1.__exportStar(require("./DeregisterTypeCommand"), exports);
|
|
|
18
20
|
tslib_1.__exportStar(require("./DescribeAccountLimitsCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DescribeChangeSetCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DescribeChangeSetHooksCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DescribeOrganizationsAccessCommand"), exports);
|
|
21
24
|
tslib_1.__exportStar(require("./DescribePublisherCommand"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./DescribeStackDriftDetectionStatusCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./DescribeStackEventsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ResourceSignalStatus = exports.HandlerErrorCode = exports.OperationStatus = exports.OperationStatusCheckFailedException = exports.InvalidStateTransitionException = exports.StackSetOperationResultStatus = exports.OperationResultFilterName = exports.StackInstanceFilterName = exports.StackNotFoundException = exports.TemplateStage = exports.RegistrationStatus = exports.Visibility = exports.TypeTestsStatus = exports.ProvisioningType = exports.DeprecatedStatus = exports.
|
|
3
|
+
exports.ResourceStatus = exports.HookStatus = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.PublisherStatus = exports.IdentityProvider = exports.OrganizationStatus = exports.RegistryType = exports.StackSetNotEmptyException = exports.InvalidChangeSetStatusException = exports.NameAlreadyExistsException = exports.PermissionModels = exports.CreatedButModifiedException = exports.StaleRequestException = exports.StackSetNotFoundException = exports.OperationInProgressException = exports.OperationIdAlreadyExistsException = exports.RegionConcurrencyType = exports.OnFailure = exports.LimitExceededException = exports.InsufficientCapabilitiesException = exports.ChangeSetType = exports.ExecutionStatus = exports.ChangeSetStatus = exports.ChangeSetNotFoundException = exports.ChangeSetHooksStatus = exports.HookTargetType = exports.HookInvocationPoint = exports.HookFailureMode = exports.ChangeType = exports.Replacement = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.TokenAlreadyExistsException = exports.CallAs = exports.TypeConfigurationNotFoundException = exports.AlreadyExistsException = exports.TypeNotFoundException = exports.CFNRegistryException = exports.VersionBump = exports.ThirdPartyType = exports.OperationNotFoundException = exports.InvalidOperationException = exports.AccountGateStatus = exports.AccountFilterType = void 0;
|
|
4
|
+
exports.ResourceSignalStatus = exports.HandlerErrorCode = exports.OperationStatus = exports.OperationStatusCheckFailedException = exports.InvalidStateTransitionException = exports.StackSetOperationResultStatus = exports.OperationResultFilterName = exports.StackInstanceFilterName = exports.StackNotFoundException = exports.TemplateStage = exports.RegistrationStatus = exports.Visibility = exports.TypeTestsStatus = exports.ProvisioningType = exports.DeprecatedStatus = exports.StackSetOperationStatus = exports.StackSetOperationAction = exports.StackSetStatus = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.StackStatus = exports.DifferenceType = exports.StackResourceDriftStatus = exports.StackInstanceNotFoundException = exports.StackInstanceStatus = exports.StackInstanceDetailedStatus = void 0;
|
|
5
5
|
const CloudFormationServiceException_1 = require("./CloudFormationServiceException");
|
|
6
6
|
exports.AccountFilterType = {
|
|
7
7
|
DIFFERENCE: "DIFFERENCE",
|
|
@@ -14,6 +14,34 @@ exports.AccountGateStatus = {
|
|
|
14
14
|
SKIPPED: "SKIPPED",
|
|
15
15
|
SUCCEEDED: "SUCCEEDED",
|
|
16
16
|
};
|
|
17
|
+
class InvalidOperationException extends CloudFormationServiceException_1.CloudFormationServiceException {
|
|
18
|
+
constructor(opts) {
|
|
19
|
+
super({
|
|
20
|
+
name: "InvalidOperationException",
|
|
21
|
+
$fault: "client",
|
|
22
|
+
...opts,
|
|
23
|
+
});
|
|
24
|
+
this.name = "InvalidOperationException";
|
|
25
|
+
this.$fault = "client";
|
|
26
|
+
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InvalidOperationException = InvalidOperationException;
|
|
31
|
+
class OperationNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "OperationNotFoundException",
|
|
35
|
+
$fault: "client",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
this.name = "OperationNotFoundException";
|
|
39
|
+
this.$fault = "client";
|
|
40
|
+
Object.setPrototypeOf(this, OperationNotFoundException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.OperationNotFoundException = OperationNotFoundException;
|
|
17
45
|
exports.ThirdPartyType = {
|
|
18
46
|
HOOK: "HOOK",
|
|
19
47
|
MODULE: "MODULE",
|
|
@@ -236,20 +264,6 @@ exports.RegionConcurrencyType = {
|
|
|
236
264
|
PARALLEL: "PARALLEL",
|
|
237
265
|
SEQUENTIAL: "SEQUENTIAL",
|
|
238
266
|
};
|
|
239
|
-
class InvalidOperationException extends CloudFormationServiceException_1.CloudFormationServiceException {
|
|
240
|
-
constructor(opts) {
|
|
241
|
-
super({
|
|
242
|
-
name: "InvalidOperationException",
|
|
243
|
-
$fault: "client",
|
|
244
|
-
...opts,
|
|
245
|
-
});
|
|
246
|
-
this.name = "InvalidOperationException";
|
|
247
|
-
this.$fault = "client";
|
|
248
|
-
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
249
|
-
this.Message = opts.Message;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
exports.InvalidOperationException = InvalidOperationException;
|
|
253
267
|
class OperationIdAlreadyExistsException extends CloudFormationServiceException_1.CloudFormationServiceException {
|
|
254
268
|
constructor(opts) {
|
|
255
269
|
super({
|
|
@@ -371,6 +385,11 @@ exports.RegistryType = {
|
|
|
371
385
|
MODULE: "MODULE",
|
|
372
386
|
RESOURCE: "RESOURCE",
|
|
373
387
|
};
|
|
388
|
+
exports.OrganizationStatus = {
|
|
389
|
+
DISABLED: "DISABLED",
|
|
390
|
+
DISABLED_PERMANENTLY: "DISABLED_PERMANENTLY",
|
|
391
|
+
ENABLED: "ENABLED",
|
|
392
|
+
};
|
|
374
393
|
exports.IdentityProvider = {
|
|
375
394
|
AWS_Marketplace: "AWS_Marketplace",
|
|
376
395
|
Bitbucket: "Bitbucket",
|
|
@@ -514,20 +533,6 @@ exports.StackSetOperationStatus = {
|
|
|
514
533
|
STOPPING: "STOPPING",
|
|
515
534
|
SUCCEEDED: "SUCCEEDED",
|
|
516
535
|
};
|
|
517
|
-
class OperationNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
|
|
518
|
-
constructor(opts) {
|
|
519
|
-
super({
|
|
520
|
-
name: "OperationNotFoundException",
|
|
521
|
-
$fault: "client",
|
|
522
|
-
...opts,
|
|
523
|
-
});
|
|
524
|
-
this.name = "OperationNotFoundException";
|
|
525
|
-
this.$fault = "client";
|
|
526
|
-
Object.setPrototypeOf(this, OperationNotFoundException.prototype);
|
|
527
|
-
this.Message = opts.Message;
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
exports.OperationNotFoundException = OperationNotFoundException;
|
|
531
536
|
exports.DeprecatedStatus = {
|
|
532
537
|
DEPRECATED: "DEPRECATED",
|
|
533
538
|
LIVE: "LIVE",
|