@aws-sdk/client-cloudformation 3.51.0 → 3.54.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 (83) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/CloudFormation.js +15 -0
  4. package/dist-cjs/commands/DescribeChangeSetHooksCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/index.js +3 -0
  7. package/dist-cjs/models/CloudFormationServiceException.js +11 -0
  8. package/dist-cjs/models/models_0.js +374 -5
  9. package/dist-cjs/protocols/Aws_query.js +622 -1350
  10. package/dist-es/CloudFormation.js +15 -0
  11. package/dist-es/commands/DescribeChangeSetHooksCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/index.js +1 -0
  14. package/dist-es/models/CloudFormationServiceException.js +12 -0
  15. package/dist-es/models/models_0.js +338 -1
  16. package/dist-es/protocols/Aws_query.js +1166 -1418
  17. package/dist-types/CloudFormation.d.ts +134 -130
  18. package/dist-types/CloudFormationClient.d.ts +15 -14
  19. package/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
  20. package/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +2 -2
  21. package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -1
  22. package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +8 -8
  23. package/dist-types/commands/CreateChangeSetCommand.d.ts +6 -7
  24. package/dist-types/commands/CreateStackCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateStackInstancesCommand.d.ts +4 -4
  26. package/dist-types/commands/DeactivateTypeCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteChangeSetCommand.d.ts +2 -2
  28. package/dist-types/commands/DeleteStackCommand.d.ts +2 -2
  29. package/dist-types/commands/DeleteStackInstancesCommand.d.ts +1 -1
  30. package/dist-types/commands/DeregisterTypeCommand.d.ts +3 -3
  31. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +3 -3
  32. package/dist-types/commands/DescribeChangeSetCommand.d.ts +2 -3
  33. package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +35 -0
  34. package/dist-types/commands/DescribePublisherCommand.d.ts +3 -4
  35. package/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +2 -2
  37. package/dist-types/commands/DescribeStackSetCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeStacksCommand.d.ts +1 -1
  40. package/dist-types/commands/DetectStackDriftCommand.d.ts +1 -1
  41. package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +1 -1
  42. package/dist-types/commands/DetectStackSetDriftCommand.d.ts +7 -6
  43. package/dist-types/commands/ExecuteChangeSetCommand.d.ts +7 -7
  44. package/dist-types/commands/GetTemplateCommand.d.ts +3 -3
  45. package/dist-types/commands/GetTemplateSummaryCommand.d.ts +1 -1
  46. package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +9 -6
  47. package/dist-types/commands/ListExportsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListStackSetsCommand.d.ts +2 -3
  51. package/dist-types/commands/PublishTypeCommand.d.ts +4 -6
  52. package/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
  53. package/dist-types/commands/RegisterPublisherCommand.d.ts +4 -4
  54. package/dist-types/commands/RegisterTypeCommand.d.ts +5 -6
  55. package/dist-types/commands/RollbackStackCommand.d.ts +1 -1
  56. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +3 -3
  57. package/dist-types/commands/SignalResourceCommand.d.ts +2 -2
  58. package/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  59. package/dist-types/commands/TestTypeCommand.d.ts +4 -5
  60. package/dist-types/commands/UpdateStackCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +6 -5
  62. package/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  64. package/dist-types/commands/index.d.ts +1 -0
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/models/CloudFormationServiceException.d.ts +10 -0
  67. package/dist-types/models/models_0.d.ts +1165 -800
  68. package/dist-types/protocols/Aws_query.d.ts +3 -0
  69. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  70. package/dist-types/runtimeConfig.d.ts +1 -1
  71. package/dist-types/runtimeConfig.native.d.ts +1 -1
  72. package/dist-types/ts3.4/CloudFormation.d.ts +5 -0
  73. package/dist-types/ts3.4/CloudFormationClient.d.ts +5 -4
  74. package/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  76. package/dist-types/ts3.4/index.d.ts +1 -0
  77. package/dist-types/ts3.4/models/CloudFormationServiceException.d.ts +6 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +228 -69
  79. package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  83. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudformation
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-cloudformation
package/README.md CHANGED
@@ -7,19 +7,19 @@
7
7
 
8
8
  AWS SDK for JavaScript CloudFormation Client for Node.js, Browser and React Native.
9
9
 
10
- <fullname>AWS CloudFormation</fullname>
10
+ <fullname>CloudFormation</fullname>
11
11
 
12
12
  <p>CloudFormation allows you to create and manage Amazon Web Services infrastructure
13
13
  deployments predictably and repeatedly. You can use CloudFormation to leverage
14
- Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block
15
- Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to
16
- build highly-reliable, highly scalable, cost-effective applications without creating or
17
- configuring the underlying Amazon Web Services infrastructure.</p>
18
- <p>With CloudFormation, you declare all of your resources and dependencies in a
19
- template file. The template defines a collection of resources as a single unit called a
20
- stack. CloudFormation creates and deletes all member resources of the stack
21
- together and manages all dependencies between the resources for you.</p>
22
- <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation Product Page</a>.</p>
14
+ Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,
15
+ Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly
16
+ reliable, highly scalable, cost-effective applications without creating or configuring the
17
+ underlying Amazon Web Services infrastructure.</p>
18
+ <p>With CloudFormation, you declare all your resources and dependencies in a template
19
+ file. The template defines a collection of resources as a single unit called a stack.
20
+ CloudFormation creates and deletes all member resources of the stack together and
21
+ manages all dependencies between the resources for you.</p>
22
+ <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation product page</a>.</p>
23
23
  <p>CloudFormation makes use of other Amazon Web Services products. If you need
24
24
  additional technical information about a specific Amazon Web Services product, you can find
25
25
  the product's technical documentation at <a href="https://docs.aws.amazon.com/">
@@ -18,6 +18,7 @@ const DeleteStackSetCommand_1 = require("./commands/DeleteStackSetCommand");
18
18
  const DeregisterTypeCommand_1 = require("./commands/DeregisterTypeCommand");
19
19
  const DescribeAccountLimitsCommand_1 = require("./commands/DescribeAccountLimitsCommand");
20
20
  const DescribeChangeSetCommand_1 = require("./commands/DescribeChangeSetCommand");
21
+ const DescribeChangeSetHooksCommand_1 = require("./commands/DescribeChangeSetHooksCommand");
21
22
  const DescribePublisherCommand_1 = require("./commands/DescribePublisherCommand");
22
23
  const DescribeStackDriftDetectionStatusCommand_1 = require("./commands/DescribeStackDriftDetectionStatusCommand");
23
24
  const DescribeStackEventsCommand_1 = require("./commands/DescribeStackEventsCommand");
@@ -292,6 +293,20 @@ class CloudFormation extends CloudFormationClient_1.CloudFormationClient {
292
293
  return this.send(command, optionsOrCb);
293
294
  }
294
295
  }
296
+ describeChangeSetHooks(args, optionsOrCb, cb) {
297
+ const command = new DescribeChangeSetHooksCommand_1.DescribeChangeSetHooksCommand(args);
298
+ if (typeof optionsOrCb === "function") {
299
+ this.send(command, optionsOrCb);
300
+ }
301
+ else if (typeof cb === "function") {
302
+ if (typeof optionsOrCb !== "object")
303
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
304
+ this.send(command, optionsOrCb || {}, cb);
305
+ }
306
+ else {
307
+ return this.send(command, optionsOrCb);
308
+ }
309
+ }
295
310
  describePublisher(args, optionsOrCb, cb) {
296
311
  const command = new DescribePublisherCommand_1.DescribePublisherCommand(args);
297
312
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeChangeSetHooksCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class DescribeChangeSetHooksCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CloudFormationClient";
18
+ const commandName = "DescribeChangeSetHooksCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeChangeSetHooksInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeChangeSetHooksOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_query_1.serializeAws_queryDescribeChangeSetHooksCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_query_1.deserializeAws_queryDescribeChangeSetHooksCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeChangeSetHooksCommand = DescribeChangeSetHooksCommand;
@@ -17,6 +17,7 @@ tslib_1.__exportStar(require("./DeleteStackSetCommand"), exports);
17
17
  tslib_1.__exportStar(require("./DeregisterTypeCommand"), exports);
18
18
  tslib_1.__exportStar(require("./DescribeAccountLimitsCommand"), exports);
19
19
  tslib_1.__exportStar(require("./DescribeChangeSetCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeChangeSetHooksCommand"), exports);
20
21
  tslib_1.__exportStar(require("./DescribePublisherCommand"), exports);
21
22
  tslib_1.__exportStar(require("./DescribeStackDriftDetectionStatusCommand"), exports);
22
23
  tslib_1.__exportStar(require("./DescribeStackEventsCommand"), exports);
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFormationServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./CloudFormation"), exports);
5
6
  tslib_1.__exportStar(require("./CloudFormationClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var CloudFormationServiceException_1 = require("./models/CloudFormationServiceException");
12
+ Object.defineProperty(exports, "CloudFormationServiceException", { enumerable: true, get: function () { return CloudFormationServiceException_1.CloudFormationServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFormationServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class CloudFormationServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, CloudFormationServiceException.prototype);
9
+ }
10
+ }
11
+ exports.CloudFormationServiceException = CloudFormationServiceException;