@aws-sdk/client-cloudformation 3.51.0 → 3.52.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 (69) hide show
  1. package/CHANGELOG.md +11 -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/models/models_0.js +65 -5
  7. package/dist-cjs/protocols/Aws_query.js +208 -3
  8. package/dist-es/CloudFormation.js +15 -0
  9. package/dist-es/commands/DescribeChangeSetHooksCommand.js +39 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/models_0.js +50 -0
  12. package/dist-es/protocols/Aws_query.js +211 -0
  13. package/dist-types/CloudFormation.d.ts +134 -130
  14. package/dist-types/CloudFormationClient.d.ts +13 -12
  15. package/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
  16. package/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +2 -2
  17. package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -1
  18. package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +8 -8
  19. package/dist-types/commands/CreateChangeSetCommand.d.ts +6 -7
  20. package/dist-types/commands/CreateStackCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateStackInstancesCommand.d.ts +4 -4
  22. package/dist-types/commands/DeactivateTypeCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteChangeSetCommand.d.ts +2 -2
  24. package/dist-types/commands/DeleteStackCommand.d.ts +2 -2
  25. package/dist-types/commands/DeleteStackInstancesCommand.d.ts +1 -1
  26. package/dist-types/commands/DeregisterTypeCommand.d.ts +3 -3
  27. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +3 -3
  28. package/dist-types/commands/DescribeChangeSetCommand.d.ts +2 -3
  29. package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +35 -0
  30. package/dist-types/commands/DescribePublisherCommand.d.ts +3 -4
  31. package/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +2 -2
  33. package/dist-types/commands/DescribeStackSetCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeStacksCommand.d.ts +1 -1
  36. package/dist-types/commands/DetectStackDriftCommand.d.ts +1 -1
  37. package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +1 -1
  38. package/dist-types/commands/DetectStackSetDriftCommand.d.ts +7 -6
  39. package/dist-types/commands/ExecuteChangeSetCommand.d.ts +7 -7
  40. package/dist-types/commands/GetTemplateCommand.d.ts +3 -3
  41. package/dist-types/commands/GetTemplateSummaryCommand.d.ts +1 -1
  42. package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +9 -6
  43. package/dist-types/commands/ListExportsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListStackSetsCommand.d.ts +2 -3
  47. package/dist-types/commands/PublishTypeCommand.d.ts +4 -6
  48. package/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
  49. package/dist-types/commands/RegisterPublisherCommand.d.ts +4 -4
  50. package/dist-types/commands/RegisterTypeCommand.d.ts +5 -6
  51. package/dist-types/commands/RollbackStackCommand.d.ts +1 -1
  52. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +3 -3
  53. package/dist-types/commands/SignalResourceCommand.d.ts +2 -2
  54. package/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  55. package/dist-types/commands/TestTypeCommand.d.ts +4 -5
  56. package/dist-types/commands/UpdateStackCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +6 -5
  58. package/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  60. package/dist-types/commands/index.d.ts +1 -0
  61. package/dist-types/models/models_0.d.ts +1009 -733
  62. package/dist-types/protocols/Aws_query.d.ts +3 -0
  63. package/dist-types/ts3.4/CloudFormation.d.ts +5 -0
  64. package/dist-types/ts3.4/CloudFormationClient.d.ts +3 -2
  65. package/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +116 -2
  68. package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
  69. package/package.json +34 -34
@@ -16,6 +16,7 @@ import { DeleteStackSetCommandInput, DeleteStackSetCommandOutput } from "../comm
16
16
  import { DeregisterTypeCommandInput, DeregisterTypeCommandOutput } from "../commands/DeregisterTypeCommand";
17
17
  import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "../commands/DescribeAccountLimitsCommand";
18
18
  import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "../commands/DescribeChangeSetCommand";
19
+ import { DescribeChangeSetHooksCommandInput, DescribeChangeSetHooksCommandOutput } from "../commands/DescribeChangeSetHooksCommand";
19
20
  import { DescribePublisherCommandInput, DescribePublisherCommandOutput } from "../commands/DescribePublisherCommand";
20
21
  import { DescribeStackDriftDetectionStatusCommandInput, DescribeStackDriftDetectionStatusCommandOutput } from "../commands/DescribeStackDriftDetectionStatusCommand";
21
22
  import { DescribeStackEventsCommandInput, DescribeStackEventsCommandOutput } from "../commands/DescribeStackEventsCommand";
@@ -81,6 +82,7 @@ export declare const serializeAws_queryDeleteStackSetCommand: (input: DeleteStac
81
82
  export declare const serializeAws_queryDeregisterTypeCommand: (input: DeregisterTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
83
  export declare const serializeAws_queryDescribeAccountLimitsCommand: (input: DescribeAccountLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
84
  export declare const serializeAws_queryDescribeChangeSetCommand: (input: DescribeChangeSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
+ export declare const serializeAws_queryDescribeChangeSetHooksCommand: (input: DescribeChangeSetHooksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
86
  export declare const serializeAws_queryDescribePublisherCommand: (input: DescribePublisherCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
87
  export declare const serializeAws_queryDescribeStackDriftDetectionStatusCommand: (input: DescribeStackDriftDetectionStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
88
  export declare const serializeAws_queryDescribeStackEventsCommand: (input: DescribeStackEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -146,6 +148,7 @@ export declare const deserializeAws_queryDeleteStackSetCommand: (output: __HttpR
146
148
  export declare const deserializeAws_queryDeregisterTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterTypeCommandOutput>;
147
149
  export declare const deserializeAws_queryDescribeAccountLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAccountLimitsCommandOutput>;
148
150
  export declare const deserializeAws_queryDescribeChangeSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeChangeSetCommandOutput>;
151
+ export declare const deserializeAws_queryDescribeChangeSetHooksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeChangeSetHooksCommandOutput>;
149
152
  export declare const deserializeAws_queryDescribePublisherCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePublisherCommandOutput>;
150
153
  export declare const deserializeAws_queryDescribeStackDriftDetectionStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStackDriftDetectionStatusCommandOutput>;
151
154
  export declare const deserializeAws_queryDescribeStackEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStackEventsCommandOutput>;
@@ -16,6 +16,7 @@ import { DeleteStackSetCommandInput, DeleteStackSetCommandOutput } from "./comma
16
16
  import { DeregisterTypeCommandInput, DeregisterTypeCommandOutput } from "./commands/DeregisterTypeCommand";
17
17
  import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "./commands/DescribeAccountLimitsCommand";
18
18
  import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "./commands/DescribeChangeSetCommand";
19
+ import { DescribeChangeSetHooksCommandInput, DescribeChangeSetHooksCommandOutput } from "./commands/DescribeChangeSetHooksCommand";
19
20
  import { DescribePublisherCommandInput, DescribePublisherCommandOutput } from "./commands/DescribePublisherCommand";
20
21
  import { DescribeStackDriftDetectionStatusCommandInput, DescribeStackDriftDetectionStatusCommandOutput } from "./commands/DescribeStackDriftDetectionStatusCommand";
21
22
  import { DescribeStackEventsCommandInput, DescribeStackEventsCommandOutput } from "./commands/DescribeStackEventsCommand";
@@ -132,6 +133,10 @@ export declare class CloudFormation extends CloudFormationClient {
132
133
  describeChangeSet(args: DescribeChangeSetCommandInput, cb: (err: any, data?: DescribeChangeSetCommandOutput) => void): void;
133
134
  describeChangeSet(args: DescribeChangeSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeChangeSetCommandOutput) => void): void;
134
135
 
136
+ describeChangeSetHooks(args: DescribeChangeSetHooksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeChangeSetHooksCommandOutput>;
137
+ describeChangeSetHooks(args: DescribeChangeSetHooksCommandInput, cb: (err: any, data?: DescribeChangeSetHooksCommandOutput) => void): void;
138
+ describeChangeSetHooks(args: DescribeChangeSetHooksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeChangeSetHooksCommandOutput) => void): void;
139
+
135
140
  describePublisher(args: DescribePublisherCommandInput, options?: __HttpHandlerOptions): Promise<DescribePublisherCommandOutput>;
136
141
  describePublisher(args: DescribePublisherCommandInput, cb: (err: any, data?: DescribePublisherCommandOutput) => void): void;
137
142
  describePublisher(args: DescribePublisherCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePublisherCommandOutput) => void): void;
@@ -22,6 +22,7 @@ import { DeleteStackSetCommandInput, DeleteStackSetCommandOutput } from "./comma
22
22
  import { DeregisterTypeCommandInput, DeregisterTypeCommandOutput } from "./commands/DeregisterTypeCommand";
23
23
  import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "./commands/DescribeAccountLimitsCommand";
24
24
  import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "./commands/DescribeChangeSetCommand";
25
+ import { DescribeChangeSetHooksCommandInput, DescribeChangeSetHooksCommandOutput } from "./commands/DescribeChangeSetHooksCommand";
25
26
  import { DescribePublisherCommandInput, DescribePublisherCommandOutput } from "./commands/DescribePublisherCommand";
26
27
  import { DescribeStackDriftDetectionStatusCommandInput, DescribeStackDriftDetectionStatusCommandOutput } from "./commands/DescribeStackDriftDetectionStatusCommand";
27
28
  import { DescribeStackEventsCommandInput, DescribeStackEventsCommandOutput } from "./commands/DescribeStackEventsCommand";
@@ -71,8 +72,8 @@ import { UpdateStackInstancesCommandInput, UpdateStackInstancesCommandOutput } f
71
72
  import { UpdateStackSetCommandInput, UpdateStackSetCommandOutput } from "./commands/UpdateStackSetCommand";
72
73
  import { UpdateTerminationProtectionCommandInput, UpdateTerminationProtectionCommandOutput } from "./commands/UpdateTerminationProtectionCommand";
73
74
  import { ValidateTemplateCommandInput, ValidateTemplateCommandOutput } from "./commands/ValidateTemplateCommand";
74
- export declare type ServiceInputTypes = ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribePublisherCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
75
- export declare type ServiceOutputTypes = ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribePublisherCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
75
+ export declare type ServiceInputTypes = ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribeChangeSetHooksCommandInput | DescribePublisherCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
76
+ export declare type ServiceOutputTypes = ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribeChangeSetHooksCommandOutput | DescribePublisherCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
76
77
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
77
78
 
78
79
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
4
+ import { DescribeChangeSetHooksInput, DescribeChangeSetHooksOutput } from "../models/models_0";
5
+ export interface DescribeChangeSetHooksCommandInput extends DescribeChangeSetHooksInput {
6
+ }
7
+ export interface DescribeChangeSetHooksCommandOutput extends DescribeChangeSetHooksOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeChangeSetHooksCommand extends $Command<DescribeChangeSetHooksCommandInput, DescribeChangeSetHooksCommandOutput, CloudFormationClientResolvedConfig> {
11
+ readonly input: DescribeChangeSetHooksCommandInput;
12
+ constructor(input: DescribeChangeSetHooksCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeChangeSetHooksCommandInput, DescribeChangeSetHooksCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -14,6 +14,7 @@ export * from "./DeleteStackSetCommand";
14
14
  export * from "./DeregisterTypeCommand";
15
15
  export * from "./DescribeAccountLimitsCommand";
16
16
  export * from "./DescribeChangeSetCommand";
17
+ export * from "./DescribeChangeSetHooksCommand";
17
18
  export * from "./DescribePublisherCommand";
18
19
  export * from "./DescribeStackDriftDetectionStatusCommand";
19
20
  export * from "./DescribeStackEventsCommand";
@@ -34,6 +34,7 @@ export declare namespace LoggingConfig {
34
34
  const filterSensitiveLog: (obj: LoggingConfig) => any;
35
35
  }
36
36
  export declare enum ThirdPartyType {
37
+ HOOK = "HOOK",
37
38
  MODULE = "MODULE",
38
39
  RESOURCE = "RESOURCE"
39
40
  }
@@ -321,12 +322,72 @@ export interface Change {
321
322
 
322
323
  Type?: ChangeType | string;
323
324
 
325
+ HookInvocationCount?: number;
326
+
324
327
  ResourceChange?: ResourceChange;
325
328
  }
326
329
  export declare namespace Change {
327
330
 
328
331
  const filterSensitiveLog: (obj: Change) => any;
329
332
  }
333
+ export declare enum HookFailureMode {
334
+ FAIL = "FAIL",
335
+ WARN = "WARN"
336
+ }
337
+ export declare enum HookInvocationPoint {
338
+ PRE_PROVISION = "PRE_PROVISION"
339
+ }
340
+
341
+ export interface ChangeSetHookResourceTargetDetails {
342
+
343
+ LogicalResourceId?: string;
344
+
345
+ ResourceType?: string;
346
+
347
+ ResourceAction?: ChangeAction | string;
348
+ }
349
+ export declare namespace ChangeSetHookResourceTargetDetails {
350
+
351
+ const filterSensitiveLog: (obj: ChangeSetHookResourceTargetDetails) => any;
352
+ }
353
+ export declare enum HookTargetType {
354
+ RESOURCE = "RESOURCE"
355
+ }
356
+
357
+ export interface ChangeSetHookTargetDetails {
358
+
359
+ TargetType?: HookTargetType | string;
360
+
361
+ ResourceTargetDetails?: ChangeSetHookResourceTargetDetails;
362
+ }
363
+ export declare namespace ChangeSetHookTargetDetails {
364
+
365
+ const filterSensitiveLog: (obj: ChangeSetHookTargetDetails) => any;
366
+ }
367
+
368
+ export interface ChangeSetHook {
369
+
370
+ InvocationPoint?: HookInvocationPoint | string;
371
+
372
+ FailureMode?: HookFailureMode | string;
373
+
374
+ TypeName?: string;
375
+
376
+ TypeVersionId?: string;
377
+
378
+ TypeConfigurationVersionId?: string;
379
+
380
+ TargetDetails?: ChangeSetHookTargetDetails;
381
+ }
382
+ export declare namespace ChangeSetHook {
383
+
384
+ const filterSensitiveLog: (obj: ChangeSetHook) => any;
385
+ }
386
+ export declare enum ChangeSetHooksStatus {
387
+ PLANNED = "PLANNED",
388
+ PLANNING = "PLANNING",
389
+ UNAVAILABLE = "UNAVAILABLE"
390
+ }
330
391
 
331
392
  export interface ChangeSetNotFoundException extends __SmithyException, $MetadataBearer {
332
393
  name: "ChangeSetNotFoundException";
@@ -862,7 +923,7 @@ export interface StackSetNotEmptyException extends __SmithyException, $MetadataB
862
923
  $fault: "client";
863
924
  Message?: string;
864
925
  }
865
- export declare type RegistryType = "MODULE" | "RESOURCE";
926
+ export declare type RegistryType = "HOOK" | "MODULE" | "RESOURCE";
866
927
  export interface DeregisterTypeInput {
867
928
 
868
929
  Arn?: string;
@@ -961,6 +1022,40 @@ export declare namespace DescribeChangeSetOutput {
961
1022
 
962
1023
  const filterSensitiveLog: (obj: DescribeChangeSetOutput) => any;
963
1024
  }
1025
+ export interface DescribeChangeSetHooksInput {
1026
+
1027
+ ChangeSetName: string | undefined;
1028
+
1029
+ StackName?: string;
1030
+
1031
+ NextToken?: string;
1032
+
1033
+ LogicalResourceId?: string;
1034
+ }
1035
+ export declare namespace DescribeChangeSetHooksInput {
1036
+
1037
+ const filterSensitiveLog: (obj: DescribeChangeSetHooksInput) => any;
1038
+ }
1039
+ export interface DescribeChangeSetHooksOutput {
1040
+
1041
+ ChangeSetId?: string;
1042
+
1043
+ ChangeSetName?: string;
1044
+
1045
+ Hooks?: ChangeSetHook[];
1046
+
1047
+ Status?: ChangeSetHooksStatus | string;
1048
+
1049
+ NextToken?: string;
1050
+
1051
+ StackId?: string;
1052
+
1053
+ StackName?: string;
1054
+ }
1055
+ export declare namespace DescribeChangeSetHooksOutput {
1056
+
1057
+ const filterSensitiveLog: (obj: DescribeChangeSetHooksOutput) => any;
1058
+ }
964
1059
  export interface DescribePublisherInput {
965
1060
 
966
1061
  PublisherId?: string;
@@ -1042,6 +1137,12 @@ export declare namespace DescribeStackEventsInput {
1042
1137
 
1043
1138
  const filterSensitiveLog: (obj: DescribeStackEventsInput) => any;
1044
1139
  }
1140
+ export declare enum HookStatus {
1141
+ HOOK_COMPLETE_FAILED = "HOOK_COMPLETE_FAILED",
1142
+ HOOK_COMPLETE_SUCCEEDED = "HOOK_COMPLETE_SUCCEEDED",
1143
+ HOOK_FAILED = "HOOK_FAILED",
1144
+ HOOK_IN_PROGRESS = "HOOK_IN_PROGRESS"
1145
+ }
1045
1146
  export declare enum ResourceStatus {
1046
1147
  CREATE_COMPLETE = "CREATE_COMPLETE",
1047
1148
  CREATE_FAILED = "CREATE_FAILED",
@@ -1090,6 +1191,16 @@ export interface StackEvent {
1090
1191
  ResourceProperties?: string;
1091
1192
 
1092
1193
  ClientRequestToken?: string;
1194
+
1195
+ HookType?: string;
1196
+
1197
+ HookStatus?: HookStatus | string;
1198
+
1199
+ HookStatusReason?: string;
1200
+
1201
+ HookInvocationPoint?: HookInvocationPoint | string;
1202
+
1203
+ HookFailureMode?: HookFailureMode | string;
1093
1204
  }
1094
1205
  export declare namespace StackEvent {
1095
1206
 
@@ -2640,18 +2751,21 @@ export declare enum HandlerErrorCode {
2640
2751
  AccessDenied = "AccessDenied",
2641
2752
  AlreadyExists = "AlreadyExists",
2642
2753
  GeneralServiceException = "GeneralServiceException",
2754
+ HandlerInternalFailure = "HandlerInternalFailure",
2643
2755
  InternalFailure = "InternalFailure",
2644
2756
  InvalidCredentials = "InvalidCredentials",
2645
2757
  InvalidRequest = "InvalidRequest",
2646
2758
  InvalidTypeConfiguration = "InvalidTypeConfiguration",
2647
2759
  NetworkFailure = "NetworkFailure",
2760
+ NonCompliant = "NonCompliant",
2648
2761
  NotFound = "NotFound",
2649
2762
  NotUpdatable = "NotUpdatable",
2650
2763
  ResourceConflict = "ResourceConflict",
2651
2764
  ServiceInternalError = "ServiceInternalError",
2652
2765
  ServiceLimitExceeded = "ServiceLimitExceeded",
2653
2766
  ServiceTimeout = "NotStabilized",
2654
- Throttling = "Throttling"
2767
+ Throttling = "Throttling",
2768
+ Unknown = "Unknown"
2655
2769
  }
2656
2770
  export interface RecordHandlerProgressInput {
2657
2771
 
@@ -16,6 +16,7 @@ import { DeleteStackSetCommandInput, DeleteStackSetCommandOutput } from "../comm
16
16
  import { DeregisterTypeCommandInput, DeregisterTypeCommandOutput } from "../commands/DeregisterTypeCommand";
17
17
  import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "../commands/DescribeAccountLimitsCommand";
18
18
  import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "../commands/DescribeChangeSetCommand";
19
+ import { DescribeChangeSetHooksCommandInput, DescribeChangeSetHooksCommandOutput } from "../commands/DescribeChangeSetHooksCommand";
19
20
  import { DescribePublisherCommandInput, DescribePublisherCommandOutput } from "../commands/DescribePublisherCommand";
20
21
  import { DescribeStackDriftDetectionStatusCommandInput, DescribeStackDriftDetectionStatusCommandOutput } from "../commands/DescribeStackDriftDetectionStatusCommand";
21
22
  import { DescribeStackEventsCommandInput, DescribeStackEventsCommandOutput } from "../commands/DescribeStackEventsCommand";
@@ -81,6 +82,7 @@ export declare const serializeAws_queryDeleteStackSetCommand: (input: DeleteStac
81
82
  export declare const serializeAws_queryDeregisterTypeCommand: (input: DeregisterTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
83
  export declare const serializeAws_queryDescribeAccountLimitsCommand: (input: DescribeAccountLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
84
  export declare const serializeAws_queryDescribeChangeSetCommand: (input: DescribeChangeSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
+ export declare const serializeAws_queryDescribeChangeSetHooksCommand: (input: DescribeChangeSetHooksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
86
  export declare const serializeAws_queryDescribePublisherCommand: (input: DescribePublisherCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
87
  export declare const serializeAws_queryDescribeStackDriftDetectionStatusCommand: (input: DescribeStackDriftDetectionStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
88
  export declare const serializeAws_queryDescribeStackEventsCommand: (input: DescribeStackEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -146,6 +148,7 @@ export declare const deserializeAws_queryDeleteStackSetCommand: (output: __HttpR
146
148
  export declare const deserializeAws_queryDeregisterTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterTypeCommandOutput>;
147
149
  export declare const deserializeAws_queryDescribeAccountLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAccountLimitsCommandOutput>;
148
150
  export declare const deserializeAws_queryDescribeChangeSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeChangeSetCommandOutput>;
151
+ export declare const deserializeAws_queryDescribeChangeSetHooksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeChangeSetHooksCommandOutput>;
149
152
  export declare const deserializeAws_queryDescribePublisherCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePublisherCommandOutput>;
150
153
  export declare const deserializeAws_queryDescribeStackDriftDetectionStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStackDriftDetectionStatusCommandOutput>;
151
154
  export declare const deserializeAws_queryDescribeStackEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStackEventsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.52.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,44 +18,44 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
51
- "@aws-sdk/util-waiter": "3.50.0",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.52.0",
52
52
  "entities": "2.2.0",
53
53
  "fast-xml-parser": "3.19.0",
54
54
  "tslib": "^2.3.0",
55
55
  "uuid": "^8.3.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
59
59
  "@tsconfig/recommended": "1.0.1",
60
60
  "@types/node": "^12.7.5",
61
61
  "@types/uuid": "^8.3.0",