@aws-sdk/client-cloudformation 3.36.0 → 3.39.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.
Files changed (197) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CloudFormation.js +0 -19
  3. package/dist-cjs/CloudFormationClient.js +0 -24
  4. package/dist-cjs/commands/ActivateTypeCommand.js +0 -30
  5. package/dist-cjs/commands/BatchDescribeTypeConfigurationsCommand.js +0 -27
  6. package/dist-cjs/commands/CancelUpdateStackCommand.js +0 -28
  7. package/dist-cjs/commands/ContinueUpdateRollbackCommand.js +0 -34
  8. package/dist-cjs/commands/CreateChangeSetCommand.js +0 -44
  9. package/dist-cjs/commands/CreateStackCommand.js +0 -25
  10. package/dist-cjs/commands/CreateStackInstancesCommand.js +0 -25
  11. package/dist-cjs/commands/CreateStackSetCommand.js +0 -24
  12. package/dist-cjs/commands/DeactivateTypeCommand.js +0 -29
  13. package/dist-cjs/commands/DeleteChangeSetCommand.js +0 -31
  14. package/dist-cjs/commands/DeleteStackCommand.js +0 -26
  15. package/dist-cjs/commands/DeleteStackInstancesCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteStackSetCommand.js +0 -25
  17. package/dist-cjs/commands/DeregisterTypeCommand.js +0 -33
  18. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -27
  19. package/dist-cjs/commands/DescribeChangeSetCommand.js +0 -26
  20. package/dist-cjs/commands/DescribePublisherCommand.js +0 -42
  21. package/dist-cjs/commands/DescribeStackDriftDetectionStatusCommand.js +0 -36
  22. package/dist-cjs/commands/DescribeStackEventsCommand.js +0 -29
  23. package/dist-cjs/commands/DescribeStackInstanceCommand.js +0 -26
  24. package/dist-cjs/commands/DescribeStackResourceCommand.js +0 -26
  25. package/dist-cjs/commands/DescribeStackResourceDriftsCommand.js +0 -33
  26. package/dist-cjs/commands/DescribeStackResourcesCommand.js +0 -43
  27. package/dist-cjs/commands/DescribeStackSetCommand.js +0 -24
  28. package/dist-cjs/commands/DescribeStackSetOperationCommand.js +0 -24
  29. package/dist-cjs/commands/DescribeStacksCommand.js +0 -29
  30. package/dist-cjs/commands/DescribeTypeCommand.js +0 -27
  31. package/dist-cjs/commands/DescribeTypeRegistrationCommand.js +0 -34
  32. package/dist-cjs/commands/DetectStackDriftCommand.js +0 -44
  33. package/dist-cjs/commands/DetectStackResourceDriftCommand.js +0 -35
  34. package/dist-cjs/commands/DetectStackSetDriftCommand.js +0 -67
  35. package/dist-cjs/commands/EstimateTemplateCostCommand.js +0 -26
  36. package/dist-cjs/commands/ExecuteChangeSetCommand.js +0 -34
  37. package/dist-cjs/commands/GetStackPolicyCommand.js +0 -25
  38. package/dist-cjs/commands/GetTemplateCommand.js +0 -30
  39. package/dist-cjs/commands/GetTemplateSummaryCommand.js +0 -32
  40. package/dist-cjs/commands/ImportStacksToStackSetCommand.js +0 -31
  41. package/dist-cjs/commands/ListChangeSetsCommand.js +0 -26
  42. package/dist-cjs/commands/ListExportsCommand.js +0 -30
  43. package/dist-cjs/commands/ListImportsCommand.js +0 -29
  44. package/dist-cjs/commands/ListStackInstancesCommand.js +0 -26
  45. package/dist-cjs/commands/ListStackResourcesCommand.js +0 -26
  46. package/dist-cjs/commands/ListStackSetOperationResultsCommand.js +0 -24
  47. package/dist-cjs/commands/ListStackSetOperationsCommand.js +0 -24
  48. package/dist-cjs/commands/ListStackSetsCommand.js +0 -44
  49. package/dist-cjs/commands/ListStacksCommand.js +0 -28
  50. package/dist-cjs/commands/ListTypeRegistrationsCommand.js +0 -24
  51. package/dist-cjs/commands/ListTypeVersionsCommand.js +0 -24
  52. package/dist-cjs/commands/ListTypesCommand.js +0 -24
  53. package/dist-cjs/commands/PublishTypeCommand.js +0 -29
  54. package/dist-cjs/commands/RecordHandlerProgressCommand.js +0 -25
  55. package/dist-cjs/commands/RegisterPublisherCommand.js +0 -30
  56. package/dist-cjs/commands/RegisterTypeCommand.js +0 -51
  57. package/dist-cjs/commands/RollbackStackCommand.js +0 -53
  58. package/dist-cjs/commands/SetStackPolicyCommand.js +0 -24
  59. package/dist-cjs/commands/SetTypeConfigurationCommand.js +0 -36
  60. package/dist-cjs/commands/SetTypeDefaultVersionCommand.js +0 -25
  61. package/dist-cjs/commands/SignalResourceCommand.js +0 -29
  62. package/dist-cjs/commands/StopStackSetOperationCommand.js +0 -24
  63. package/dist-cjs/commands/TestTypeCommand.js +0 -47
  64. package/dist-cjs/commands/UpdateStackCommand.js +0 -29
  65. package/dist-cjs/commands/UpdateStackInstancesCommand.js +0 -36
  66. package/dist-cjs/commands/UpdateStackSetCommand.js +0 -29
  67. package/dist-cjs/commands/UpdateTerminationProtectionCommand.js +0 -30
  68. package/dist-cjs/commands/ValidateTemplateCommand.js +0 -26
  69. package/dist-cjs/commands/index.js +68 -0
  70. package/dist-cjs/endpoints.js +6 -1
  71. package/dist-cjs/index.js +5 -92
  72. package/dist-cjs/models/models_0.js +0 -603
  73. package/dist-cjs/pagination/DescribeAccountLimitsPaginator.js +0 -10
  74. package/dist-cjs/pagination/DescribeStackEventsPaginator.js +0 -10
  75. package/dist-cjs/pagination/DescribeStackResourceDriftsPaginator.js +0 -10
  76. package/dist-cjs/pagination/DescribeStacksPaginator.js +0 -10
  77. package/dist-cjs/pagination/ListChangeSetsPaginator.js +0 -10
  78. package/dist-cjs/pagination/ListExportsPaginator.js +0 -10
  79. package/dist-cjs/pagination/ListImportsPaginator.js +0 -10
  80. package/dist-cjs/pagination/ListStackInstancesPaginator.js +0 -10
  81. package/dist-cjs/pagination/ListStackResourcesPaginator.js +0 -10
  82. package/dist-cjs/pagination/ListStackSetOperationResultsPaginator.js +0 -10
  83. package/dist-cjs/pagination/ListStackSetOperationsPaginator.js +0 -10
  84. package/dist-cjs/pagination/ListStackSetsPaginator.js +0 -10
  85. package/dist-cjs/pagination/ListStacksPaginator.js +0 -10
  86. package/dist-cjs/pagination/ListTypeRegistrationsPaginator.js +0 -10
  87. package/dist-cjs/pagination/ListTypeVersionsPaginator.js +0 -10
  88. package/dist-cjs/pagination/ListTypesPaginator.js +0 -10
  89. package/dist-cjs/pagination/index.js +20 -0
  90. package/dist-cjs/protocols/Aws_query.js +0 -2
  91. package/dist-cjs/runtimeConfig.browser.js +1 -5
  92. package/dist-cjs/runtimeConfig.js +1 -5
  93. package/dist-cjs/runtimeConfig.native.js +0 -3
  94. package/dist-cjs/runtimeConfig.shared.js +0 -3
  95. package/dist-cjs/waiters/index.js +11 -0
  96. package/dist-cjs/waiters/waitForChangeSetCreateComplete.js +0 -9
  97. package/dist-cjs/waiters/waitForStackCreateComplete.js +0 -9
  98. package/dist-cjs/waiters/waitForStackDeleteComplete.js +0 -9
  99. package/dist-cjs/waiters/waitForStackExists.js +0 -9
  100. package/dist-cjs/waiters/waitForStackImportComplete.js +0 -9
  101. package/dist-cjs/waiters/waitForStackRollbackComplete.js +0 -9
  102. package/dist-cjs/waiters/waitForStackUpdateComplete.js +0 -9
  103. package/dist-cjs/waiters/waitForTypeRegistrationComplete.js +0 -9
  104. package/dist-es/commands/index.js +65 -0
  105. package/dist-es/endpoints.js +6 -1
  106. package/dist-es/index.js +5 -92
  107. package/dist-es/pagination/index.js +17 -0
  108. package/dist-es/waiters/index.js +8 -0
  109. package/dist-types/commands/index.d.ts +65 -0
  110. package/dist-types/index.d.ts +5 -92
  111. package/dist-types/pagination/index.d.ts +17 -0
  112. package/dist-types/ts3.4/CloudFormation.d.ts +66 -661
  113. package/dist-types/ts3.4/CloudFormationClient.d.ts +24 -105
  114. package/dist-types/ts3.4/commands/ActivateTypeCommand.d.ts +2 -26
  115. package/dist-types/ts3.4/commands/BatchDescribeTypeConfigurationsCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/CancelUpdateStackCommand.d.ts +2 -24
  117. package/dist-types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +2 -30
  118. package/dist-types/ts3.4/commands/CreateChangeSetCommand.d.ts +2 -40
  119. package/dist-types/ts3.4/commands/CreateStackCommand.d.ts +2 -21
  120. package/dist-types/ts3.4/commands/CreateStackInstancesCommand.d.ts +2 -21
  121. package/dist-types/ts3.4/commands/CreateStackSetCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/DeactivateTypeCommand.d.ts +2 -25
  123. package/dist-types/ts3.4/commands/DeleteChangeSetCommand.d.ts +2 -27
  124. package/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +2 -22
  125. package/dist-types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/DeleteStackSetCommand.d.ts +2 -21
  127. package/dist-types/ts3.4/commands/DeregisterTypeCommand.d.ts +2 -29
  128. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -23
  129. package/dist-types/ts3.4/commands/DescribeChangeSetCommand.d.ts +2 -22
  130. package/dist-types/ts3.4/commands/DescribePublisherCommand.d.ts +2 -38
  131. package/dist-types/ts3.4/commands/DescribeStackDriftDetectionStatusCommand.d.ts +2 -32
  132. package/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +2 -25
  133. package/dist-types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +2 -22
  134. package/dist-types/ts3.4/commands/DescribeStackResourceCommand.d.ts +2 -22
  135. package/dist-types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +2 -29
  136. package/dist-types/ts3.4/commands/DescribeStackResourcesCommand.d.ts +2 -39
  137. package/dist-types/ts3.4/commands/DescribeStackSetCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/DescribeStackSetOperationCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +2 -25
  140. package/dist-types/ts3.4/commands/DescribeTypeCommand.d.ts +2 -23
  141. package/dist-types/ts3.4/commands/DescribeTypeRegistrationCommand.d.ts +2 -30
  142. package/dist-types/ts3.4/commands/DetectStackDriftCommand.d.ts +2 -40
  143. package/dist-types/ts3.4/commands/DetectStackResourceDriftCommand.d.ts +2 -31
  144. package/dist-types/ts3.4/commands/DetectStackSetDriftCommand.d.ts +2 -63
  145. package/dist-types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +2 -22
  146. package/dist-types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +2 -30
  147. package/dist-types/ts3.4/commands/GetStackPolicyCommand.d.ts +2 -21
  148. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +2 -26
  149. package/dist-types/ts3.4/commands/GetTemplateSummaryCommand.d.ts +2 -28
  150. package/dist-types/ts3.4/commands/ImportStacksToStackSetCommand.d.ts +2 -27
  151. package/dist-types/ts3.4/commands/ListChangeSetsCommand.d.ts +2 -22
  152. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -26
  153. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +2 -25
  154. package/dist-types/ts3.4/commands/ListStackInstancesCommand.d.ts +2 -22
  155. package/dist-types/ts3.4/commands/ListStackResourcesCommand.d.ts +2 -22
  156. package/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -40
  159. package/dist-types/ts3.4/commands/ListStacksCommand.d.ts +2 -24
  160. package/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +2 -20
  163. package/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +2 -25
  164. package/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +2 -21
  165. package/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +2 -26
  166. package/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +2 -47
  167. package/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +2 -49
  168. package/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +2 -32
  170. package/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +2 -21
  171. package/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +2 -25
  172. package/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/TestTypeCommand.d.ts +2 -43
  174. package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +2 -25
  175. package/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +2 -32
  176. package/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +2 -25
  177. package/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +2 -26
  178. package/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +2 -22
  179. package/dist-types/ts3.4/commands/index.d.ts +65 -0
  180. package/dist-types/ts3.4/index.d.ts +5 -92
  181. package/dist-types/ts3.4/models/models_0.d.ts +1066 -6563
  182. package/dist-types/ts3.4/pagination/index.d.ts +17 -0
  183. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  184. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  185. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  186. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  187. package/dist-types/ts3.4/waiters/index.d.ts +8 -0
  188. package/dist-types/ts3.4/waiters/waitForChangeSetCreateComplete.d.ts +2 -9
  189. package/dist-types/ts3.4/waiters/waitForStackCreateComplete.d.ts +2 -9
  190. package/dist-types/ts3.4/waiters/waitForStackDeleteComplete.d.ts +2 -9
  191. package/dist-types/ts3.4/waiters/waitForStackExists.d.ts +2 -9
  192. package/dist-types/ts3.4/waiters/waitForStackImportComplete.d.ts +2 -9
  193. package/dist-types/ts3.4/waiters/waitForStackRollbackComplete.d.ts +2 -9
  194. package/dist-types/ts3.4/waiters/waitForStackUpdateComplete.d.ts +2 -9
  195. package/dist-types/ts3.4/waiters/waitForTypeRegistrationComplete.d.ts +2 -9
  196. package/dist-types/waiters/index.d.ts +8 -0
  197. package/package.json +33 -33
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns information about an extension's registration, including its current status and
10
- * type and version identifiers.</p>
11
- * <p>When you initiate a registration request using <code>
12
- * <a>RegisterType</a>
13
- * </code>, you can then use <code>
14
- * <a>DescribeTypeRegistration</a>
15
- * </code> to
16
- * monitor the progress of that registration request.</p>
17
- * <p>Once the registration request has completed, use <code>
18
- * <a>DescribeType</a>
19
- * </code> to return detailed information about an extension.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudFormationClient, DescribeTypeRegistrationCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
24
- * // const { CloudFormationClient, DescribeTypeRegistrationCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
25
- * const client = new CloudFormationClient(config);
26
- * const command = new DescribeTypeRegistrationCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DescribeTypeRegistrationCommandInput} for command's `input` shape.
31
- * @see {@link DescribeTypeRegistrationCommandOutput} for command's `response` shape.
32
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DescribeTypeRegistrationCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,55 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Detects whether a stack's actual configuration differs, or has
10
- * <i>drifted</i>, from it's expected configuration, as defined in the stack
11
- * template and any values specified as template parameters. For each resource in the stack
12
- * that supports drift detection, CloudFormation compares the actual configuration of the resource with
13
- * its expected template configuration. Only resource properties explicitly defined in the
14
- * stack template are checked for drift. A stack is considered to have drifted if one or more
15
- * of its resources differ from their expected template configurations. For more information,
16
- * see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html">Detecting
17
- * Unregulated Configuration Changes to Stacks and Resources</a>.</p>
18
- * <p>Use <code>DetectStackDrift</code> to detect drift on all supported resources for a
19
- * given stack, or <a>DetectStackResourceDrift</a> to detect drift on individual
20
- * resources.</p>
21
- * <p>For a list of stack resources that currently support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
22
- * <p>
23
- * <code>DetectStackDrift</code> can take up to several minutes, depending on the number
24
- * of resources contained within the stack. Use <a>DescribeStackDriftDetectionStatus</a> to monitor the progress of a detect stack
25
- * drift operation. Once the drift detection operation has completed, use <a>DescribeStackResourceDrifts</a> to return drift information about the stack and
26
- * its resources.</p>
27
- * <p>When detecting drift on a stack, CloudFormation does not detect drift on any nested stacks
28
- * belonging to that stack. Perform <code>DetectStackDrift</code> directly on the nested stack
29
- * itself.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { CloudFormationClient, DetectStackDriftCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
34
- * // const { CloudFormationClient, DetectStackDriftCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
35
- * const client = new CloudFormationClient(config);
36
- * const command = new DetectStackDriftCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DetectStackDriftCommandInput} for command's `input` shape.
41
- * @see {@link DetectStackDriftCommandOutput} for command's `response` shape.
42
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
8
  class DetectStackDriftCommand extends smithy_client_1.Command {
46
- // Start section: command_properties
47
- // End section: command_properties
48
9
  constructor(input) {
49
- // Start section: command_constructor
50
10
  super();
51
11
  this.input = input;
52
- // End section: command_constructor
53
12
  }
54
- /**
55
- * @internal
56
- */
57
13
  resolveMiddleware(clientStack, configuration, options) {
58
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
59
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns information about whether a resource's actual configuration differs, or has
10
- * <i>drifted</i>, from it's expected configuration, as defined in the stack
11
- * template and any values specified as template parameters. This information includes actual
12
- * and expected property values for resources in which CloudFormation detects drift. Only resource
13
- * properties explicitly defined in the stack template are checked for drift. For more
14
- * information about stack and resource drift, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html">Detecting
15
- * Unregulated Configuration Changes to Stacks and Resources</a>.</p>
16
- * <p>Use <code>DetectStackResourceDrift</code> to detect drift on individual resources, or
17
- * <a>DetectStackDrift</a> to detect drift on all resources in a given stack
18
- * that support drift detection.</p>
19
- * <p>Resources that do not currently support drift detection cannot be checked. For a list
20
- * of resources that support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudFormationClient, DetectStackResourceDriftCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
25
- * // const { CloudFormationClient, DetectStackResourceDriftCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
26
- * const client = new CloudFormationClient(config);
27
- * const command = new DetectStackResourceDriftCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link DetectStackResourceDriftCommandInput} for command's `input` shape.
32
- * @see {@link DetectStackResourceDriftCommandOutput} for command's `response` shape.
33
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class DetectStackResourceDriftCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,78 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Detect drift on a stack set. When CloudFormation performs drift detection on a
10
- * stack set, it performs drift detection on the stack associated with each stack instance in
11
- * the stack set. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">How CloudFormation Performs Drift Detection on a Stack Set</a>.</p>
12
- * <p>
13
- * <code>DetectStackSetDrift</code> returns the <code>OperationId</code> of the stack set
14
- * drift detection operation. Use this operation id with <code>
15
- * <a>DescribeStackSetOperation</a>
16
- * </code> to monitor the progress of the drift
17
- * detection operation. The drift detection operation may take some time, depending on the
18
- * number of stack instances included in the stack set, as well as the number of resources
19
- * included in each stack.</p>
20
- * <p>Once the operation has completed, use the following actions to return drift
21
- * information:</p>
22
- * <ul>
23
- * <li>
24
- * <p>Use <code>
25
- * <a>DescribeStackSet</a>
26
- * </code> to return detailed information
27
- * about the stack set, including detailed information about the last
28
- * <i>completed</i> drift operation performed on the stack set.
29
- * (Information about drift operations that are in progress is not included.)</p>
30
- * </li>
31
- * <li>
32
- * <p>Use <code>
33
- * <a>ListStackInstances</a>
34
- * </code> to return a list of stack
35
- * instances belonging to the stack set, including the drift status and last drift time
36
- * checked of each instance.</p>
37
- * </li>
38
- * <li>
39
- * <p>Use <code>
40
- * <a>DescribeStackInstance</a>
41
- * </code> to return detailed
42
- * information about a specific stack instance, including its drift status and last
43
- * drift time checked.</p>
44
- * </li>
45
- * </ul>
46
- * <p>For more information on performing a drift detection operation on a stack set, see
47
- * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">Detecting Unmanaged
48
- * Changes in Stack Sets</a>. </p>
49
- * <p>You can only run a single drift detection operation on a given stack set at one time. </p>
50
- * <p>To stop a drift detection stack set operation, use <code>
51
- * <a>StopStackSetOperation</a>
52
- * </code>.</p>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { CloudFormationClient, DetectStackSetDriftCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
57
- * // const { CloudFormationClient, DetectStackSetDriftCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
58
- * const client = new CloudFormationClient(config);
59
- * const command = new DetectStackSetDriftCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link DetectStackSetDriftCommandInput} for command's `input` shape.
64
- * @see {@link DetectStackSetDriftCommandOutput} for command's `response` shape.
65
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
8
  class DetectStackSetDriftCommand extends smithy_client_1.Command {
69
- // Start section: command_properties
70
- // End section: command_properties
71
9
  constructor(input) {
72
- // Start section: command_constructor
73
10
  super();
74
11
  this.input = input;
75
- // End section: command_constructor
76
12
  }
77
- /**
78
- * @internal
79
- */
80
13
  resolveMiddleware(clientStack, configuration, options) {
81
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
82
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple
10
- * Monthly Calculator URL with a query string that describes the resources required to run the
11
- * template.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudFormationClient, EstimateTemplateCostCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
16
- * // const { CloudFormationClient, EstimateTemplateCostCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
17
- * const client = new CloudFormationClient(config);
18
- * const command = new EstimateTemplateCostCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link EstimateTemplateCostCommandInput} for command's `input` shape.
23
- * @see {@link EstimateTemplateCostCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class EstimateTemplateCostCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Updates a stack using the input information that was provided when the specified
10
- * change set was created. After the call successfully completes, CloudFormation starts
11
- * updating the stack. Use the <a>DescribeStacks</a> action to view the status of
12
- * the update.</p>
13
- * <p>When you execute a change set, CloudFormation deletes all other change sets
14
- * associated with the stack because they aren't valid for the updated stack.</p>
15
- * <p>If a stack policy is associated with the stack, CloudFormation enforces the
16
- * policy during the update. You can't specify a temporary stack policy that overrides the
17
- * current policy.</p>
18
- * <p>To create a change set for the entire stack hierachy, <code>IncludeNestedStacks</code>
19
- * must have been set to <code>True</code>.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudFormationClient, ExecuteChangeSetCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
24
- * // const { CloudFormationClient, ExecuteChangeSetCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
25
- * const client = new CloudFormationClient(config);
26
- * const command = new ExecuteChangeSetCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link ExecuteChangeSetCommandInput} for command's `input` shape.
31
- * @see {@link ExecuteChangeSetCommandOutput} for command's `response` shape.
32
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class ExecuteChangeSetCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns the stack policy for a specified stack. If a stack doesn't have a policy, a
10
- * null value is returned.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudFormationClient, GetStackPolicyCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
15
- * // const { CloudFormationClient, GetStackPolicyCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
16
- * const client = new CloudFormationClient(config);
17
- * const command = new GetStackPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetStackPolicyCommandInput} for command's `input` shape.
22
- * @see {@link GetStackPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetStackPolicyCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns the template body for a specified stack. You can get the template for running
10
- * or deleted stacks.</p>
11
- * <p>For deleted stacks, GetTemplate returns the template for up to 90 days after the
12
- * stack has been deleted.</p>
13
- * <note>
14
- * <p>If the template does not exist, a <code>ValidationError</code> is returned.</p>
15
- * </note>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { CloudFormationClient, GetTemplateCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
20
- * // const { CloudFormationClient, GetTemplateCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
21
- * const client = new CloudFormationClient(config);
22
- * const command = new GetTemplateCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link GetTemplateCommandInput} for command's `input` shape.
27
- * @see {@link GetTemplateCommandOutput} for command's `response` shape.
28
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class GetTemplateCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns information about a new or existing template. The
10
- * <code>GetTemplateSummary</code> action is useful for viewing parameter information, such
11
- * as default parameter values and parameter types, before you create or update a stack or
12
- * stack set.</p>
13
- * <p>You can use the <code>GetTemplateSummary</code> action when you submit a template, or
14
- * you can get template information for a stack set, or a running or deleted stack.</p>
15
- * <p>For deleted stacks, <code>GetTemplateSummary</code> returns the template information
16
- * for up to 90 days after the stack has been deleted. If the template does not exist, a
17
- * <code>ValidationError</code> is returned.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { CloudFormationClient, GetTemplateSummaryCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
22
- * // const { CloudFormationClient, GetTemplateSummaryCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
23
- * const client = new CloudFormationClient(config);
24
- * const command = new GetTemplateSummaryCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link GetTemplateSummaryCommandInput} for command's `input` shape.
29
- * @see {@link GetTemplateSummaryCommandOutput} for command's `response` shape.
30
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class GetTemplateSummaryCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Import existing stacks into a new stack sets. Use the stack import operation to import
10
- * up to 10 stacks into a new stack set in the same account as the source stack or in a
11
- * different administrator account and Region, by specifying the stack ID of the stack you
12
- * intend to import.</p>
13
- * <note>
14
- * <p>
15
- * <code>ImportStacksToStackSet</code> is only supported by self-managed permissions.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { CloudFormationClient, ImportStacksToStackSetCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
21
- * // const { CloudFormationClient, ImportStacksToStackSetCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
22
- * const client = new CloudFormationClient(config);
23
- * const command = new ImportStacksToStackSetCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link ImportStacksToStackSetCommandInput} for command's `input` shape.
28
- * @see {@link ImportStacksToStackSetCommandOutput} for command's `response` shape.
29
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class ImportStacksToStackSetCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns the ID and status of each active change set for a stack. For example,
10
- * CloudFormation lists change sets that are in the <code>CREATE_IN_PROGRESS</code> or
11
- * <code>CREATE_PENDING</code> state.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudFormationClient, ListChangeSetsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
16
- * // const { CloudFormationClient, ListChangeSetsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
17
- * const client = new CloudFormationClient(config);
18
- * const command = new ListChangeSetsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListChangeSetsCommandInput} for command's `input` shape.
23
- * @see {@link ListChangeSetsCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListChangeSetsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Lists all exported output values in the account and Region in which you call this
10
- * action. Use this action to see the exported output values that you can import into other
11
- * stacks. To import values, use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
12
- * <code>Fn::ImportValue</code>
13
- * </a> function.</p>
14
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html">
15
- * CloudFormation Export Stack Output Values</a>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { CloudFormationClient, ListExportsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
20
- * // const { CloudFormationClient, ListExportsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
21
- * const client = new CloudFormationClient(config);
22
- * const command = new ListExportsCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link ListExportsCommandInput} for command's `input` shape.
27
- * @see {@link ListExportsCommandOutput} for command's `response` shape.
28
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class ListExportsCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Lists all stacks that are importing an exported output value. To modify or remove an
10
- * exported output value, first use this action to see which stacks are using it. To see the
11
- * exported output values in your account, see <a>ListExports</a>.</p>
12
- * <p>For more information about importing an exported output value, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
13
- * <code>Fn::ImportValue</code>
14
- * </a> function.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudFormationClient, ListImportsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
19
- * // const { CloudFormationClient, ListImportsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
20
- * const client = new CloudFormationClient(config);
21
- * const command = new ListImportsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListImportsCommandInput} for command's `input` shape.
26
- * @see {@link ListImportsCommandOutput} for command's `response` shape.
27
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class ListImportsCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns summary information about stack instances that are associated with the
10
- * specified stack set. You can filter for stack instances that are associated with a specific
11
- * Amazon Web Services account name or Region, or that have a specific status.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudFormationClient, ListStackInstancesCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
16
- * // const { CloudFormationClient, ListStackInstancesCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
17
- * const client = new CloudFormationClient(config);
18
- * const command = new ListStackInstancesCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListStackInstancesCommandInput} for command's `input` shape.
23
- * @see {@link ListStackInstancesCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListStackInstancesCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);