@aws-sdk/client-cloudformation 3.930.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 (34) hide show
  1. package/README.md +10 -2
  2. package/dist-cjs/index.js +90 -30
  3. package/dist-es/CloudFormation.js +2 -0
  4. package/dist-es/commands/GetHookResultCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +29 -18
  7. package/dist-es/models/models_1.js +7 -0
  8. package/dist-es/schemas/schemas_0.js +43 -18
  9. package/dist-types/CloudFormation.d.ts +15 -8
  10. package/dist-types/CloudFormationClient.d.ts +10 -9
  11. package/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribeStackEventsCommand.d.ts +2 -2
  14. package/dist-types/commands/GetHookResultCommand.d.ts +104 -0
  15. package/dist-types/commands/ListHookResultsCommand.d.ts +2 -2
  16. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  18. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -2
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/index.d.ts +7 -7
  21. package/dist-types/models/models_0.d.ts +319 -434
  22. package/dist-types/models/models_1.d.ts +328 -27
  23. package/dist-types/schemas/schemas_0.d.ts +6 -0
  24. package/dist-types/ts3.4/CloudFormation.d.ts +18 -1
  25. package/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
  26. package/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +47 -0
  28. package/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +65 -58
  32. package/dist-types/ts3.4/models/models_1.d.ts +54 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  34. package/package.json +5 -5
@@ -96,6 +96,30 @@ export declare class AlreadyExistsException extends __BaseException {
96
96
  opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
97
97
  );
98
98
  }
99
+ export declare const AnnotationSeverityLevel: {
100
+ readonly CRITICAL: "CRITICAL";
101
+ readonly HIGH: "HIGH";
102
+ readonly INFORMATIONAL: "INFORMATIONAL";
103
+ readonly LOW: "LOW";
104
+ readonly MEDIUM: "MEDIUM";
105
+ };
106
+ export type AnnotationSeverityLevel =
107
+ (typeof AnnotationSeverityLevel)[keyof typeof AnnotationSeverityLevel];
108
+ export declare const AnnotationStatus: {
109
+ readonly FAILED: "FAILED";
110
+ readonly PASSED: "PASSED";
111
+ readonly SKIPPED: "SKIPPED";
112
+ };
113
+ export type AnnotationStatus =
114
+ (typeof AnnotationStatus)[keyof typeof AnnotationStatus];
115
+ export interface Annotation {
116
+ AnnotationName?: string | undefined;
117
+ Status?: AnnotationStatus | undefined;
118
+ StatusMessage?: string | undefined;
119
+ RemediationMessage?: string | undefined;
120
+ RemediationLink?: string | undefined;
121
+ SeverityLevel?: AnnotationSeverityLevel | undefined;
122
+ }
99
123
  export declare const AttributeChangeType: {
100
124
  readonly Add: "Add";
101
125
  readonly Modify: "Modify";
@@ -962,7 +986,7 @@ export interface DescribeStackDriftDetectionStatusOutput {
962
986
  Timestamp: Date | undefined;
963
987
  }
964
988
  export interface DescribeStackEventsInput {
965
- StackName?: string | undefined;
989
+ StackName: string | undefined;
966
990
  NextToken?: string | undefined;
967
991
  }
968
992
  export declare const DetailedStatus: {
@@ -1543,6 +1567,46 @@ export interface GetGeneratedTemplateOutput {
1543
1567
  Status?: GeneratedTemplateStatus | undefined;
1544
1568
  TemplateBody?: string | undefined;
1545
1569
  }
1570
+ export interface GetHookResultInput {
1571
+ HookResultId?: string | undefined;
1572
+ }
1573
+ export declare const HookTargetAction: {
1574
+ readonly CREATE: "CREATE";
1575
+ readonly DELETE: "DELETE";
1576
+ readonly IMPORT: "IMPORT";
1577
+ readonly UPDATE: "UPDATE";
1578
+ };
1579
+ export type HookTargetAction =
1580
+ (typeof HookTargetAction)[keyof typeof HookTargetAction];
1581
+ export interface HookTarget {
1582
+ TargetType: HookTargetType | undefined;
1583
+ TargetTypeName: string | undefined;
1584
+ TargetId: string | undefined;
1585
+ Action: HookTargetAction | undefined;
1586
+ }
1587
+ export interface GetHookResultOutput {
1588
+ HookResultId?: string | undefined;
1589
+ InvocationPoint?: HookInvocationPoint | undefined;
1590
+ FailureMode?: HookFailureMode | undefined;
1591
+ TypeName?: string | undefined;
1592
+ OriginalTypeName?: string | undefined;
1593
+ TypeVersionId?: string | undefined;
1594
+ TypeConfigurationVersionId?: string | undefined;
1595
+ TypeArn?: string | undefined;
1596
+ Status?: HookStatus | undefined;
1597
+ HookStatusReason?: string | undefined;
1598
+ InvokedAt?: Date | undefined;
1599
+ Target?: HookTarget | undefined;
1600
+ Annotations?: Annotation[] | undefined;
1601
+ }
1602
+ export declare class HookResultNotFoundException extends __BaseException {
1603
+ readonly name: "HookResultNotFoundException";
1604
+ readonly $fault: "client";
1605
+ Message?: string | undefined;
1606
+ constructor(
1607
+ opts: __ExceptionOptionType<HookResultNotFoundException, __BaseException>
1608
+ );
1609
+ }
1546
1610
  export interface GetStackPolicyInput {
1547
1611
  StackName: string | undefined;
1548
1612
  }
@@ -1662,14 +1726,6 @@ export interface ListGeneratedTemplatesOutput {
1662
1726
  Summaries?: TemplateSummary[] | undefined;
1663
1727
  NextToken?: string | undefined;
1664
1728
  }
1665
- export declare class HookResultNotFoundException extends __BaseException {
1666
- readonly name: "HookResultNotFoundException";
1667
- readonly $fault: "client";
1668
- Message?: string | undefined;
1669
- constructor(
1670
- opts: __ExceptionOptionType<HookResultNotFoundException, __BaseException>
1671
- );
1672
- }
1673
1729
  export declare const ListHookResultsTargetType: {
1674
1730
  readonly CHANGE_SET: "CHANGE_SET";
1675
1731
  readonly CLOUD_CONTROL: "CLOUD_CONTROL";
@@ -1969,52 +2025,3 @@ export interface OperationResultFilter {
1969
2025
  Name?: OperationResultFilterName | undefined;
1970
2026
  Values?: string | undefined;
1971
2027
  }
1972
- export interface ListStackSetOperationResultsInput {
1973
- StackSetName: string | undefined;
1974
- OperationId: string | undefined;
1975
- NextToken?: string | undefined;
1976
- MaxResults?: number | undefined;
1977
- CallAs?: CallAs | undefined;
1978
- Filters?: OperationResultFilter[] | undefined;
1979
- }
1980
- export declare const StackSetOperationResultStatus: {
1981
- readonly CANCELLED: "CANCELLED";
1982
- readonly FAILED: "FAILED";
1983
- readonly PENDING: "PENDING";
1984
- readonly RUNNING: "RUNNING";
1985
- readonly SUCCEEDED: "SUCCEEDED";
1986
- };
1987
- export type StackSetOperationResultStatus =
1988
- (typeof StackSetOperationResultStatus)[keyof typeof StackSetOperationResultStatus];
1989
- export interface StackSetOperationResultSummary {
1990
- Account?: string | undefined;
1991
- Region?: string | undefined;
1992
- Status?: StackSetOperationResultStatus | undefined;
1993
- StatusReason?: string | undefined;
1994
- AccountGateResult?: AccountGateResult | undefined;
1995
- OrganizationalUnitId?: string | undefined;
1996
- }
1997
- export interface ListStackSetOperationResultsOutput {
1998
- Summaries?: StackSetOperationResultSummary[] | undefined;
1999
- NextToken?: string | undefined;
2000
- }
2001
- export interface ListStackSetOperationsInput {
2002
- StackSetName: string | undefined;
2003
- NextToken?: string | undefined;
2004
- MaxResults?: number | undefined;
2005
- CallAs?: CallAs | undefined;
2006
- }
2007
- export interface StackSetOperationSummary {
2008
- OperationId?: string | undefined;
2009
- Action?: StackSetOperationAction | undefined;
2010
- Status?: StackSetOperationStatus | undefined;
2011
- CreationTimestamp?: Date | undefined;
2012
- EndTimestamp?: Date | undefined;
2013
- StatusReason?: string | undefined;
2014
- StatusDetails?: StackSetOperationStatusDetails | undefined;
2015
- OperationPreferences?: StackSetOperationPreferences | undefined;
2016
- }
2017
- export interface ListStackSetOperationsOutput {
2018
- Summaries?: StackSetOperationSummary[] | undefined;
2019
- NextToken?: string | undefined;
2020
- }
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CloudFormationServiceException as __BaseException } from "./CloudFormationServiceException";
3
3
  import {
4
+ AccountGateResult,
4
5
  AutoDeployment,
5
6
  CallAs,
6
7
  Capability,
@@ -10,6 +11,7 @@ import {
10
11
  IdentityProvider,
11
12
  LoggingConfig,
12
13
  ManagedExecution,
14
+ OperationResultFilter,
13
15
  Parameter,
14
16
  PermissionModels,
15
17
  ProvisioningType,
@@ -19,13 +21,65 @@ import {
19
21
  RollbackConfiguration,
20
22
  ScanFilter,
21
23
  StackDriftStatus,
24
+ StackSetOperationAction,
22
25
  StackSetOperationPreferences,
26
+ StackSetOperationStatus,
27
+ StackSetOperationStatusDetails,
23
28
  StackSetStatus,
24
29
  Tag,
25
30
  TemplateConfiguration,
26
31
  ThirdPartyType,
27
32
  Visibility,
28
33
  } from "./models_0";
34
+ export interface ListStackSetOperationResultsInput {
35
+ StackSetName: string | undefined;
36
+ OperationId: string | undefined;
37
+ NextToken?: string | undefined;
38
+ MaxResults?: number | undefined;
39
+ CallAs?: CallAs | undefined;
40
+ Filters?: OperationResultFilter[] | undefined;
41
+ }
42
+ export declare const StackSetOperationResultStatus: {
43
+ readonly CANCELLED: "CANCELLED";
44
+ readonly FAILED: "FAILED";
45
+ readonly PENDING: "PENDING";
46
+ readonly RUNNING: "RUNNING";
47
+ readonly SUCCEEDED: "SUCCEEDED";
48
+ };
49
+ export type StackSetOperationResultStatus =
50
+ (typeof StackSetOperationResultStatus)[keyof typeof StackSetOperationResultStatus];
51
+ export interface StackSetOperationResultSummary {
52
+ Account?: string | undefined;
53
+ Region?: string | undefined;
54
+ Status?: StackSetOperationResultStatus | undefined;
55
+ StatusReason?: string | undefined;
56
+ AccountGateResult?: AccountGateResult | undefined;
57
+ OrganizationalUnitId?: string | undefined;
58
+ }
59
+ export interface ListStackSetOperationResultsOutput {
60
+ Summaries?: StackSetOperationResultSummary[] | undefined;
61
+ NextToken?: string | undefined;
62
+ }
63
+ export interface ListStackSetOperationsInput {
64
+ StackSetName: string | undefined;
65
+ NextToken?: string | undefined;
66
+ MaxResults?: number | undefined;
67
+ CallAs?: CallAs | undefined;
68
+ }
69
+ export interface StackSetOperationSummary {
70
+ OperationId?: string | undefined;
71
+ Action?: StackSetOperationAction | undefined;
72
+ Status?: StackSetOperationStatus | undefined;
73
+ CreationTimestamp?: Date | undefined;
74
+ EndTimestamp?: Date | undefined;
75
+ StatusReason?: string | undefined;
76
+ StatusDetails?: StackSetOperationStatusDetails | undefined;
77
+ OperationPreferences?: StackSetOperationPreferences | undefined;
78
+ }
79
+ export interface ListStackSetOperationsOutput {
80
+ Summaries?: StackSetOperationSummary[] | undefined;
81
+ NextToken?: string | undefined;
82
+ }
29
83
  export interface ListStackSetsInput {
30
84
  NextToken?: string | undefined;
31
85
  MaxResults?: number | undefined;
@@ -11,6 +11,7 @@ export declare var ActivateOrganizationsAccessOutput: StaticStructureSchema;
11
11
  export declare var ActivateTypeInput: StaticStructureSchema;
12
12
  export declare var ActivateTypeOutput: StaticStructureSchema;
13
13
  export declare var AlreadyExistsException: StaticErrorSchema;
14
+ export declare var Annotation: StaticStructureSchema;
14
15
  export declare var AutoDeployment: StaticStructureSchema;
15
16
  export declare var BatchDescribeTypeConfigurationsError: StaticStructureSchema;
16
17
  export declare var BatchDescribeTypeConfigurationsInput: StaticStructureSchema;
@@ -107,6 +108,8 @@ export declare var Export: StaticStructureSchema;
107
108
  export declare var GeneratedTemplateNotFoundException: StaticErrorSchema;
108
109
  export declare var GetGeneratedTemplateInput: StaticStructureSchema;
109
110
  export declare var GetGeneratedTemplateOutput: StaticStructureSchema;
111
+ export declare var GetHookResultInput: StaticStructureSchema;
112
+ export declare var GetHookResultOutput: StaticStructureSchema;
110
113
  export declare var GetStackPolicyInput: StaticStructureSchema;
111
114
  export declare var GetStackPolicyOutput: StaticStructureSchema;
112
115
  export declare var GetTemplateInput: StaticStructureSchema;
@@ -115,6 +118,7 @@ export declare var GetTemplateSummaryInput: StaticStructureSchema;
115
118
  export declare var GetTemplateSummaryOutput: StaticStructureSchema;
116
119
  export declare var HookResultNotFoundException: StaticErrorSchema;
117
120
  export declare var HookResultSummary: StaticStructureSchema;
121
+ export declare var HookTarget: StaticStructureSchema;
118
122
  export declare var ImportStacksToStackSetInput: StaticStructureSchema;
119
123
  export declare var ImportStacksToStackSetOutput: StaticStructureSchema;
120
124
  export declare var InsufficientCapabilitiesException: StaticErrorSchema;
@@ -288,6 +292,7 @@ export declare var CloudFormationServiceException: StaticErrorSchema;
288
292
  export declare var AccountLimitList: StaticListSchema;
289
293
  export declare var AccountList: number;
290
294
  export declare var AllowedValues: number;
295
+ export declare var AnnotationList: StaticListSchema;
291
296
  export declare var BatchDescribeTypeConfigurationsErrors: StaticListSchema;
292
297
  export declare var Capabilities: number;
293
298
  export declare var Changes: StaticListSchema;
@@ -410,6 +415,7 @@ export declare var EstimateTemplateCost: StaticOperationSchema;
410
415
  export declare var ExecuteChangeSet: StaticOperationSchema;
411
416
  export declare var ExecuteStackRefactor: StaticOperationSchema;
412
417
  export declare var GetGeneratedTemplate: StaticOperationSchema;
418
+ export declare var GetHookResult: StaticOperationSchema;
413
419
  export declare var GetStackPolicy: StaticOperationSchema;
414
420
  export declare var GetTemplate: StaticOperationSchema;
415
421
  export declare var GetTemplateSummary: StaticOperationSchema;
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.930.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.930.0",
24
- "@aws-sdk/credential-provider-node": "3.930.0",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
- "@aws-sdk/middleware-user-agent": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",