@aws-sdk/client-cloudformation 3.929.0 → 3.931.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 (136) hide show
  1. package/README.md +10 -2
  2. package/dist-cjs/index.js +3126 -9437
  3. package/dist-cjs/runtimeConfig.shared.js +7 -0
  4. package/dist-es/CloudFormation.js +2 -0
  5. package/dist-es/CloudFormationClient.js +2 -0
  6. package/dist-es/commands/ActivateOrganizationsAccessCommand.js +3 -9
  7. package/dist-es/commands/ActivateTypeCommand.js +3 -9
  8. package/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +3 -9
  9. package/dist-es/commands/CancelUpdateStackCommand.js +3 -9
  10. package/dist-es/commands/ContinueUpdateRollbackCommand.js +3 -9
  11. package/dist-es/commands/CreateChangeSetCommand.js +3 -9
  12. package/dist-es/commands/CreateGeneratedTemplateCommand.js +3 -9
  13. package/dist-es/commands/CreateStackCommand.js +3 -9
  14. package/dist-es/commands/CreateStackInstancesCommand.js +3 -9
  15. package/dist-es/commands/CreateStackRefactorCommand.js +3 -9
  16. package/dist-es/commands/CreateStackSetCommand.js +3 -9
  17. package/dist-es/commands/DeactivateOrganizationsAccessCommand.js +3 -9
  18. package/dist-es/commands/DeactivateTypeCommand.js +3 -9
  19. package/dist-es/commands/DeleteChangeSetCommand.js +3 -9
  20. package/dist-es/commands/DeleteGeneratedTemplateCommand.js +3 -9
  21. package/dist-es/commands/DeleteStackCommand.js +3 -9
  22. package/dist-es/commands/DeleteStackInstancesCommand.js +3 -9
  23. package/dist-es/commands/DeleteStackSetCommand.js +3 -9
  24. package/dist-es/commands/DeregisterTypeCommand.js +3 -9
  25. package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  26. package/dist-es/commands/DescribeChangeSetCommand.js +3 -9
  27. package/dist-es/commands/DescribeChangeSetHooksCommand.js +3 -9
  28. package/dist-es/commands/DescribeGeneratedTemplateCommand.js +3 -9
  29. package/dist-es/commands/DescribeOrganizationsAccessCommand.js +3 -9
  30. package/dist-es/commands/DescribePublisherCommand.js +3 -9
  31. package/dist-es/commands/DescribeResourceScanCommand.js +3 -9
  32. package/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +3 -9
  33. package/dist-es/commands/DescribeStackEventsCommand.js +3 -9
  34. package/dist-es/commands/DescribeStackInstanceCommand.js +3 -9
  35. package/dist-es/commands/DescribeStackRefactorCommand.js +3 -9
  36. package/dist-es/commands/DescribeStackResourceCommand.js +3 -9
  37. package/dist-es/commands/DescribeStackResourceDriftsCommand.js +3 -9
  38. package/dist-es/commands/DescribeStackResourcesCommand.js +3 -9
  39. package/dist-es/commands/DescribeStackSetCommand.js +3 -9
  40. package/dist-es/commands/DescribeStackSetOperationCommand.js +3 -9
  41. package/dist-es/commands/DescribeStacksCommand.js +3 -9
  42. package/dist-es/commands/DescribeTypeCommand.js +3 -9
  43. package/dist-es/commands/DescribeTypeRegistrationCommand.js +3 -9
  44. package/dist-es/commands/DetectStackDriftCommand.js +3 -9
  45. package/dist-es/commands/DetectStackResourceDriftCommand.js +3 -9
  46. package/dist-es/commands/DetectStackSetDriftCommand.js +3 -9
  47. package/dist-es/commands/EstimateTemplateCostCommand.js +3 -9
  48. package/dist-es/commands/ExecuteChangeSetCommand.js +3 -9
  49. package/dist-es/commands/ExecuteStackRefactorCommand.js +3 -9
  50. package/dist-es/commands/GetGeneratedTemplateCommand.js +3 -9
  51. package/dist-es/commands/GetHookResultCommand.js +16 -0
  52. package/dist-es/commands/GetStackPolicyCommand.js +3 -9
  53. package/dist-es/commands/GetTemplateCommand.js +3 -9
  54. package/dist-es/commands/GetTemplateSummaryCommand.js +3 -9
  55. package/dist-es/commands/ImportStacksToStackSetCommand.js +3 -9
  56. package/dist-es/commands/ListChangeSetsCommand.js +3 -9
  57. package/dist-es/commands/ListExportsCommand.js +3 -9
  58. package/dist-es/commands/ListGeneratedTemplatesCommand.js +3 -9
  59. package/dist-es/commands/ListHookResultsCommand.js +3 -9
  60. package/dist-es/commands/ListImportsCommand.js +3 -9
  61. package/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +3 -9
  62. package/dist-es/commands/ListResourceScanResourcesCommand.js +3 -9
  63. package/dist-es/commands/ListResourceScansCommand.js +3 -9
  64. package/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +3 -9
  65. package/dist-es/commands/ListStackInstancesCommand.js +3 -9
  66. package/dist-es/commands/ListStackRefactorActionsCommand.js +3 -9
  67. package/dist-es/commands/ListStackRefactorsCommand.js +3 -9
  68. package/dist-es/commands/ListStackResourcesCommand.js +3 -9
  69. package/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +3 -9
  70. package/dist-es/commands/ListStackSetOperationResultsCommand.js +3 -9
  71. package/dist-es/commands/ListStackSetOperationsCommand.js +3 -9
  72. package/dist-es/commands/ListStackSetsCommand.js +3 -9
  73. package/dist-es/commands/ListStacksCommand.js +3 -9
  74. package/dist-es/commands/ListTypeRegistrationsCommand.js +3 -9
  75. package/dist-es/commands/ListTypeVersionsCommand.js +3 -9
  76. package/dist-es/commands/ListTypesCommand.js +3 -9
  77. package/dist-es/commands/PublishTypeCommand.js +3 -9
  78. package/dist-es/commands/RecordHandlerProgressCommand.js +3 -9
  79. package/dist-es/commands/RegisterPublisherCommand.js +3 -9
  80. package/dist-es/commands/RegisterTypeCommand.js +3 -9
  81. package/dist-es/commands/RollbackStackCommand.js +3 -9
  82. package/dist-es/commands/SetStackPolicyCommand.js +3 -9
  83. package/dist-es/commands/SetTypeConfigurationCommand.js +3 -9
  84. package/dist-es/commands/SetTypeDefaultVersionCommand.js +3 -9
  85. package/dist-es/commands/SignalResourceCommand.js +3 -9
  86. package/dist-es/commands/StartResourceScanCommand.js +3 -9
  87. package/dist-es/commands/StopStackSetOperationCommand.js +3 -9
  88. package/dist-es/commands/TestTypeCommand.js +3 -9
  89. package/dist-es/commands/UpdateGeneratedTemplateCommand.js +3 -9
  90. package/dist-es/commands/UpdateStackCommand.js +3 -9
  91. package/dist-es/commands/UpdateStackInstancesCommand.js +3 -9
  92. package/dist-es/commands/UpdateStackSetCommand.js +3 -9
  93. package/dist-es/commands/UpdateTerminationProtectionCommand.js +3 -9
  94. package/dist-es/commands/ValidateTemplateCommand.js +3 -9
  95. package/dist-es/commands/index.js +1 -0
  96. package/dist-es/models/models_0.js +29 -18
  97. package/dist-es/models/models_1.js +7 -0
  98. package/dist-es/runtimeConfig.shared.js +7 -0
  99. package/dist-es/schemas/schemas_0.js +3052 -0
  100. package/dist-types/CloudFormation.d.ts +15 -8
  101. package/dist-types/CloudFormationClient.d.ts +20 -10
  102. package/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
  103. package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
  104. package/dist-types/commands/DescribeStackEventsCommand.d.ts +2 -2
  105. package/dist-types/commands/GetHookResultCommand.d.ts +104 -0
  106. package/dist-types/commands/ListHookResultsCommand.d.ts +2 -2
  107. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  108. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  109. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -2
  110. package/dist-types/commands/index.d.ts +1 -0
  111. package/dist-types/index.d.ts +7 -7
  112. package/dist-types/models/models_0.d.ts +319 -434
  113. package/dist-types/models/models_1.d.ts +328 -27
  114. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  115. package/dist-types/runtimeConfig.d.ts +1 -0
  116. package/dist-types/runtimeConfig.native.d.ts +1 -0
  117. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  118. package/dist-types/schemas/schemas_0.d.ts +456 -0
  119. package/dist-types/ts3.4/CloudFormation.d.ts +18 -1
  120. package/dist-types/ts3.4/CloudFormationClient.d.ts +10 -0
  121. package/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +47 -0
  123. package/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  126. package/dist-types/ts3.4/models/models_0.d.ts +65 -58
  127. package/dist-types/ts3.4/models/models_1.d.ts +54 -0
  128. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  129. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  131. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  132. package/dist-types/ts3.4/schemas/schemas_0.d.ts +461 -0
  133. package/package.json +34 -35
  134. package/dist-es/protocols/Aws_query.js +0 -8938
  135. package/dist-types/protocols/Aws_query.d.ts +0 -794
  136. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1061
@@ -89,6 +89,18 @@ export class AlreadyExistsException extends __BaseException {
89
89
  this.Message = opts.Message;
90
90
  }
91
91
  }
92
+ export const AnnotationSeverityLevel = {
93
+ CRITICAL: "CRITICAL",
94
+ HIGH: "HIGH",
95
+ INFORMATIONAL: "INFORMATIONAL",
96
+ LOW: "LOW",
97
+ MEDIUM: "MEDIUM",
98
+ };
99
+ export const AnnotationStatus = {
100
+ FAILED: "FAILED",
101
+ PASSED: "PASSED",
102
+ SKIPPED: "SKIPPED",
103
+ };
92
104
  export const AttributeChangeType = {
93
105
  Add: "Add",
94
106
  Modify: "Modify",
@@ -709,35 +721,41 @@ export const TemplateFormat = {
709
721
  JSON: "JSON",
710
722
  YAML: "YAML",
711
723
  };
712
- export const TemplateStage = {
713
- Original: "Original",
714
- Processed: "Processed",
724
+ export const HookTargetAction = {
725
+ CREATE: "CREATE",
726
+ DELETE: "DELETE",
727
+ IMPORT: "IMPORT",
728
+ UPDATE: "UPDATE",
715
729
  };
716
- export class StackNotFoundException extends __BaseException {
717
- name = "StackNotFoundException";
730
+ export class HookResultNotFoundException extends __BaseException {
731
+ name = "HookResultNotFoundException";
718
732
  $fault = "client";
719
733
  Message;
720
734
  constructor(opts) {
721
735
  super({
722
- name: "StackNotFoundException",
736
+ name: "HookResultNotFoundException",
723
737
  $fault: "client",
724
738
  ...opts,
725
739
  });
726
- Object.setPrototypeOf(this, StackNotFoundException.prototype);
740
+ Object.setPrototypeOf(this, HookResultNotFoundException.prototype);
727
741
  this.Message = opts.Message;
728
742
  }
729
743
  }
730
- export class HookResultNotFoundException extends __BaseException {
731
- name = "HookResultNotFoundException";
744
+ export const TemplateStage = {
745
+ Original: "Original",
746
+ Processed: "Processed",
747
+ };
748
+ export class StackNotFoundException extends __BaseException {
749
+ name = "StackNotFoundException";
732
750
  $fault = "client";
733
751
  Message;
734
752
  constructor(opts) {
735
753
  super({
736
- name: "HookResultNotFoundException",
754
+ name: "StackNotFoundException",
737
755
  $fault: "client",
738
756
  ...opts,
739
757
  });
740
- Object.setPrototypeOf(this, HookResultNotFoundException.prototype);
758
+ Object.setPrototypeOf(this, StackNotFoundException.prototype);
741
759
  this.Message = opts.Message;
742
760
  }
743
761
  }
@@ -785,10 +803,3 @@ export const StackRefactorActionEntity = {
785
803
  export const OperationResultFilterName = {
786
804
  OPERATION_RESULT_STATUS: "OPERATION_RESULT_STATUS",
787
805
  };
788
- export const StackSetOperationResultStatus = {
789
- CANCELLED: "CANCELLED",
790
- FAILED: "FAILED",
791
- PENDING: "PENDING",
792
- RUNNING: "RUNNING",
793
- SUCCEEDED: "SUCCEEDED",
794
- };
@@ -1,4 +1,11 @@
1
1
  import { CloudFormationServiceException as __BaseException } from "./CloudFormationServiceException";
2
+ export const StackSetOperationResultStatus = {
3
+ CANCELLED: "CANCELLED",
4
+ FAILED: "FAILED",
5
+ PENDING: "PENDING",
6
+ RUNNING: "RUNNING",
7
+ SUCCEEDED: "SUCCEEDED",
8
+ };
2
9
  export class InvalidStateTransitionException extends __BaseException {
3
10
  name = "InvalidStateTransitionException";
4
11
  $fault = "client";
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsQueryProtocol({
28
+ defaultNamespace: "com.amazonaws.cloudformation",
29
+ xmlNamespace: "http://cloudformation.amazonaws.com/doc/2010-05-15/",
30
+ version: "2010-05-15",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "CloudFormation",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,