@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,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>Deletes a stack set. Before you can delete a stack set, all of its member stack
10
- * instances must be deleted. For more information about how to do this, see <a>DeleteStackInstances</a>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudFormationClient, DeleteStackSetCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
15
- * // const { CloudFormationClient, DeleteStackSetCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
16
- * const client = new CloudFormationClient(config);
17
- * const command = new DeleteStackSetCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteStackSetCommandInput} for command's `input` shape.
22
- * @see {@link DeleteStackSetCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteStackSetCommand 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,44 +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>Marks an extension or extension version as <code>DEPRECATED</code> in the CloudFormation registry, removing it from active use. Deprecated extensions or
10
- * extension versions cannot be used in CloudFormation operations.</p>
11
- * <p>To deregister an entire extension, you must individually deregister all active versions
12
- * of that extension. If an extension has only a single active version, deregistering that
13
- * version results in the extension itself being deregistered and marked as deprecated in the
14
- * registry. </p>
15
- * <p>You cannot deregister the default version of an extension if there are other active
16
- * version of that extension. If you do deregister the default version of an extension, the
17
- * textensionype itself is deregistered as well and marked as deprecated. </p>
18
- * <p>To view the deprecation status of an extension or extension version, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html">DescribeType</a>.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CloudFormationClient, DeregisterTypeCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
23
- * // const { CloudFormationClient, DeregisterTypeCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
24
- * const client = new CloudFormationClient(config);
25
- * const command = new DeregisterTypeCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link DeregisterTypeCommandInput} for command's `input` shape.
30
- * @see {@link DeregisterTypeCommandOutput} for command's `response` shape.
31
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class DeregisterTypeCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +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>Retrieves your account's CloudFormation limits, such as the maximum number of
10
- * stacks that you can create in your account. For more information about account limits, see
11
- * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
12
- * Limits</a> in the <i>CloudFormation User Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudFormationClient, DescribeAccountLimitsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
17
- * // const { CloudFormationClient, DescribeAccountLimitsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
18
- * const client = new CloudFormationClient(config);
19
- * const command = new DescribeAccountLimitsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeAccountLimitsCommandInput} for command's `input` shape.
24
- * @see {@link DescribeAccountLimitsCommandOutput} for command's `response` shape.
25
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeAccountLimitsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
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 inputs for the change set and a list of changes that CloudFormation
10
- * will make if you execute the change set. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html">Updating Stacks Using Change Sets</a> in the CloudFormation User
11
- * Guide.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudFormationClient, DescribeChangeSetCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
16
- * // const { CloudFormationClient, DescribeChangeSetCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
17
- * const client = new CloudFormationClient(config);
18
- * const command = new DescribeChangeSetCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeChangeSetCommandInput} for command's `input` shape.
23
- * @see {@link DescribeChangeSetCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeChangeSetCommand 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,53 +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 CloudFormation extension publisher.</p>
10
- * <p>If you do not supply a <code>PublisherId</code>, and you have registered as an extension
11
- * publisher, <code>DescribePublisher</code> returns information about your own publisher
12
- * account. </p>
13
- * <p>For more information on registering as a publisher, see:</p>
14
- * <ul>
15
- * <li>
16
- * <p>
17
- * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html">RegisterPublisher</a>
18
- * </p>
19
- * </li>
20
- * <li>
21
- * <p>
22
- * <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html">Publishing
23
- * extensions to make them available for public use</a> in the
24
- * <i>CloudFormation CLI User Guide</i>
25
- * </p>
26
- * </li>
27
- * </ul>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { CloudFormationClient, DescribePublisherCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
32
- * // const { CloudFormationClient, DescribePublisherCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
33
- * const client = new CloudFormationClient(config);
34
- * const command = new DescribePublisherCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribePublisherCommandInput} for command's `input` shape.
39
- * @see {@link DescribePublisherCommandOutput} for command's `response` shape.
40
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
8
  class DescribePublisherCommand extends smithy_client_1.Command {
44
- // Start section: command_properties
45
- // End section: command_properties
46
9
  constructor(input) {
47
- // Start section: command_constructor
48
10
  super();
49
11
  this.input = input;
50
- // End section: command_constructor
51
12
  }
52
- /**
53
- * @internal
54
- */
55
13
  resolveMiddleware(clientStack, configuration, options) {
56
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
57
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,47 +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 stack drift detection operation. A stack drift detection
10
- * operation detects whether a stack's actual configuration differs, or has
11
- * <i>drifted</i>, from it's expected configuration, as defined in the stack
12
- * template and any values specified as template parameters. A stack is considered to have
13
- * drifted if one or more of its resources have drifted. For more information on stack and
14
- * 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 <a>DetectStackDrift</a> to initiate a stack drift detection operation.
17
- * <code>DetectStackDrift</code> returns a <code>StackDriftDetectionId</code> you can use
18
- * to monitor the progress of the operation using
19
- * <code>DescribeStackDriftDetectionStatus</code>. Once the drift detection operation has
20
- * completed, use <a>DescribeStackResourceDrifts</a> to return drift information
21
- * about the stack and its resources.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { CloudFormationClient, DescribeStackDriftDetectionStatusCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
26
- * // const { CloudFormationClient, DescribeStackDriftDetectionStatusCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
27
- * const client = new CloudFormationClient(config);
28
- * const command = new DescribeStackDriftDetectionStatusCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link DescribeStackDriftDetectionStatusCommandInput} for command's `input` shape.
33
- * @see {@link DescribeStackDriftDetectionStatusCommandOutput} for command's `response` shape.
34
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class DescribeStackDriftDetectionStatusCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
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>Returns all stack related events for a specified stack in reverse chronological
10
- * order. For more information about a stack's event history, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html">Stacks</a> in the CloudFormation User Guide.</p>
11
- * <note>
12
- * <p>You can list events for stacks that have failed to create or have been deleted by
13
- * specifying the unique stack identifier (stack ID).</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudFormationClient, DescribeStackEventsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
19
- * // const { CloudFormationClient, DescribeStackEventsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
20
- * const client = new CloudFormationClient(config);
21
- * const command = new DescribeStackEventsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeStackEventsCommandInput} for command's `input` shape.
26
- * @see {@link DescribeStackEventsCommandOutput} for command's `response` shape.
27
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DescribeStackEventsCommand 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 the stack instance that's associated with the specified stack set, Amazon Web Services account, and Region.</p>
10
- * <p>For a list of stack instances that are associated with a specific stack set, use
11
- * <a>ListStackInstances</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudFormationClient, DescribeStackInstanceCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
16
- * // const { CloudFormationClient, DescribeStackInstanceCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
17
- * const client = new CloudFormationClient(config);
18
- * const command = new DescribeStackInstanceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeStackInstanceCommandInput} for command's `input` shape.
23
- * @see {@link DescribeStackInstanceCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeStackInstanceCommand 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,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 a description of the specified resource in the specified stack.</p>
10
- * <p>For deleted stacks, DescribeStackResource returns resource information for up to 90
11
- * days after the stack has been deleted.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudFormationClient, DescribeStackResourceCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
16
- * // const { CloudFormationClient, DescribeStackResourceCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
17
- * const client = new CloudFormationClient(config);
18
- * const command = new DescribeStackResourceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeStackResourceCommandInput} for command's `input` shape.
23
- * @see {@link DescribeStackResourceCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeStackResourceCommand 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,44 +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 drift information for the resources that have been checked for drift in the
10
- * specified stack. This includes actual and expected configuration values for resources where
11
- * CloudFormation detects configuration drift.</p>
12
- * <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack
13
- * resource that has been checked for drift. Resources that haven't yet been checked for drift
14
- * are not included. Resources that do not currently support drift detection are not checked,
15
- * and so not included. For a list 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>
16
- * <p>Use <a>DetectStackResourceDrift</a> to detect drift on individual
17
- * resources, or <a>DetectStackDrift</a> to detect drift on all supported resources
18
- * for a given stack.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CloudFormationClient, DescribeStackResourceDriftsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
23
- * // const { CloudFormationClient, DescribeStackResourceDriftsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
24
- * const client = new CloudFormationClient(config);
25
- * const command = new DescribeStackResourceDriftsCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link DescribeStackResourceDriftsCommandInput} for command's `input` shape.
30
- * @see {@link DescribeStackResourceDriftsCommandOutput} for command's `response` shape.
31
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class DescribeStackResourceDriftsCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,54 +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 Amazon Web Services resource descriptions for running and deleted stacks. If
10
- * <code>StackName</code> is specified, all the associated resources that are part of the
11
- * stack are returned. If <code>PhysicalResourceId</code> is specified, the associated
12
- * resources of the stack that the resource belongs to are returned.</p>
13
- * <note>
14
- * <p>Only the first 100 resources will be returned. If your stack has more resources
15
- * than this, you should use <code>ListStackResources</code> instead.</p>
16
- * </note>
17
- * <p>For deleted stacks, <code>DescribeStackResources</code> returns resource information
18
- * for up to 90 days after the stack has been deleted.</p>
19
- * <p>You must specify either <code>StackName</code> or <code>PhysicalResourceId</code>,
20
- * but not both. In addition, you can specify <code>LogicalResourceId</code> to filter the
21
- * returned result. For more information about resources, the <code>LogicalResourceId</code>
22
- * and <code>PhysicalResourceId</code>, go to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/">CloudFormation User
23
- * Guide</a>.</p>
24
- * <note>
25
- * <p>A <code>ValidationError</code> is returned if you specify both
26
- * <code>StackName</code> and <code>PhysicalResourceId</code> in the same
27
- * request.</p>
28
- * </note>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { CloudFormationClient, DescribeStackResourcesCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
33
- * // const { CloudFormationClient, DescribeStackResourcesCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
34
- * const client = new CloudFormationClient(config);
35
- * const command = new DescribeStackResourcesCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DescribeStackResourcesCommandInput} for command's `input` shape.
40
- * @see {@link DescribeStackResourcesCommandOutput} for command's `response` shape.
41
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
8
  class DescribeStackResourcesCommand extends smithy_client_1.Command {
45
- // Start section: command_properties
46
- // End section: command_properties
47
9
  constructor(input) {
48
- // Start section: command_constructor
49
10
  super();
50
11
  this.input = input;
51
- // End section: command_constructor
52
12
  }
53
- /**
54
- * @internal
55
- */
56
13
  resolveMiddleware(clientStack, configuration, options) {
57
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
58
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +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 description of the specified stack set. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudFormationClient, DescribeStackSetCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
14
- * // const { CloudFormationClient, DescribeStackSetCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
15
- * const client = new CloudFormationClient(config);
16
- * const command = new DescribeStackSetCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeStackSetCommandInput} for command's `input` shape.
21
- * @see {@link DescribeStackSetCommandOutput} for command's `response` shape.
22
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeStackSetCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +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 description of the specified stack set operation. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudFormationClient, DescribeStackSetOperationCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
14
- * // const { CloudFormationClient, DescribeStackSetOperationCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
15
- * const client = new CloudFormationClient(config);
16
- * const command = new DescribeStackSetOperationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeStackSetOperationCommandInput} for command's `input` shape.
21
- * @see {@link DescribeStackSetOperationCommandOutput} for command's `response` shape.
22
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeStackSetOperationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
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>Returns the description for the specified stack; if no stack name was specified, then
10
- * it returns the description for all the stacks created.</p>
11
- * <note>
12
- * <p>If the stack does not exist, an <code>ValidationError</code> is
13
- * returned.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudFormationClient, DescribeStacksCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
19
- * // const { CloudFormationClient, DescribeStacksCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
20
- * const client = new CloudFormationClient(config);
21
- * const command = new DescribeStacksCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeStacksCommandInput} for command's `input` shape.
26
- * @see {@link DescribeStacksCommandOutput} for command's `response` shape.
27
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DescribeStacksCommand 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,38 +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 detailed information about an extension that has been registered.</p>
10
- * <p>If you specify a <code>VersionId</code>, <code>DescribeType</code> returns information
11
- * about that specific extension version. Otherwise, it returns information about the default
12
- * extension version.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudFormationClient, DescribeTypeCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
17
- * // const { CloudFormationClient, DescribeTypeCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
18
- * const client = new CloudFormationClient(config);
19
- * const command = new DescribeTypeCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeTypeCommandInput} for command's `input` shape.
24
- * @see {@link DescribeTypeCommandOutput} for command's `response` shape.
25
- * @see {@link CloudFormationClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeTypeCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);