@aws-sdk/client-cloudformation 3.42.0 → 3.47.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 (56) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +11 -11
  3. package/dist-cjs/endpoints.js +1 -16
  4. package/dist-cjs/models/models_0.js +9 -135
  5. package/dist-cjs/protocols/Aws_query.js +48 -0
  6. package/dist-cjs/runtimeConfig.browser.js +7 -2
  7. package/dist-cjs/runtimeConfig.js +9 -3
  8. package/dist-es/endpoints.js +1 -16
  9. package/dist-es/models/models_0.js +4 -88
  10. package/dist-es/protocols/Aws_query.js +51 -0
  11. package/dist-es/runtimeConfig.browser.js +12 -3
  12. package/dist-es/runtimeConfig.js +13 -6
  13. package/dist-types/CloudFormation.d.ts +114 -117
  14. package/dist-types/CloudFormationClient.d.ts +16 -12
  15. package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -2
  16. package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +5 -6
  17. package/dist-types/commands/CreateChangeSetCommand.d.ts +8 -7
  18. package/dist-types/commands/CreateStackCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -1
  20. package/dist-types/commands/DeleteChangeSetCommand.d.ts +2 -2
  21. package/dist-types/commands/DeleteStackCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribeStackEventsCommand.d.ts +3 -2
  24. package/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeStackResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -3
  27. package/dist-types/commands/DescribeStackResourcesCommand.d.ts +8 -9
  28. package/dist-types/commands/DescribeStacksCommand.d.ts +3 -4
  29. package/dist-types/commands/DetectStackDriftCommand.d.ts +6 -6
  30. package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +2 -2
  31. package/dist-types/commands/EstimateTemplateCostCommand.d.ts +2 -3
  32. package/dist-types/commands/ExecuteChangeSetCommand.d.ts +2 -2
  33. package/dist-types/commands/GetStackPolicyCommand.d.ts +2 -2
  34. package/dist-types/commands/GetTemplateCommand.d.ts +4 -4
  35. package/dist-types/commands/GetTemplateSummaryCommand.d.ts +2 -2
  36. package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +6 -8
  37. package/dist-types/commands/ListChangeSetsCommand.d.ts +1 -2
  38. package/dist-types/commands/ListStackInstancesCommand.d.ts +2 -3
  39. package/dist-types/commands/ListStackSetsCommand.d.ts +1 -2
  40. package/dist-types/commands/RollbackStackCommand.d.ts +8 -3
  41. package/dist-types/commands/SignalResourceCommand.d.ts +3 -4
  42. package/dist-types/commands/UpdateStackCommand.d.ts +4 -4
  43. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +6 -6
  44. package/dist-types/commands/UpdateStackSetCommand.d.ts +2 -2
  45. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +2 -2
  46. package/dist-types/commands/ValidateTemplateCommand.d.ts +2 -2
  47. package/dist-types/models/models_0.d.ts +653 -763
  48. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  49. package/dist-types/runtimeConfig.d.ts +4 -3
  50. package/dist-types/runtimeConfig.native.d.ts +1 -0
  51. package/dist-types/ts3.4/CloudFormationClient.d.ts +3 -1
  52. package/dist-types/ts3.4/models/models_0.d.ts +20 -87
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  56. package/package.json +39 -46
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CloudFormationClientConfig } from "./CloudFormationClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CloudFormationClientConfig } from "./CloudFormationClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { ActivateTypeCommandInput, ActivateTypeCommandOutput } from "./commands/ActivateTypeCommand";
10
10
  import { BatchDescribeTypeConfigurationsCommandInput, BatchDescribeTypeConfigurationsCommandOutput } from "./commands/BatchDescribeTypeConfigurationsCommand";
@@ -116,6 +116,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
116
116
  regionInfoProvider?: RegionInfoProvider;
117
117
 
118
118
  defaultUserAgentProvider?: Provider<__UserAgent>;
119
+
120
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
119
121
  }
120
122
  declare type CloudFormationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
121
123
 
@@ -81,30 +81,18 @@ export interface CFNRegistryException extends __SmithyException, $MetadataBearer
81
81
  $fault: "client";
82
82
  Message?: string;
83
83
  }
84
- export declare namespace CFNRegistryException {
85
-
86
- const filterSensitiveLog: (obj: CFNRegistryException) => any;
87
- }
88
84
 
89
85
  export interface TypeNotFoundException extends __SmithyException, $MetadataBearer {
90
86
  name: "TypeNotFoundException";
91
87
  $fault: "client";
92
88
  Message?: string;
93
89
  }
94
- export declare namespace TypeNotFoundException {
95
-
96
- const filterSensitiveLog: (obj: TypeNotFoundException) => any;
97
- }
98
90
 
99
91
  export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
100
92
  name: "AlreadyExistsException";
101
93
  $fault: "client";
102
94
  Message?: string;
103
95
  }
104
- export declare namespace AlreadyExistsException {
105
-
106
- const filterSensitiveLog: (obj: AlreadyExistsException) => any;
107
- }
108
96
 
109
97
  export interface AutoDeployment {
110
98
 
@@ -193,10 +181,6 @@ export interface TypeConfigurationNotFoundException extends __SmithyException, $
193
181
  $fault: "client";
194
182
  Message?: string;
195
183
  }
196
- export declare namespace TypeConfigurationNotFoundException {
197
-
198
- const filterSensitiveLog: (obj: TypeConfigurationNotFoundException) => any;
199
- }
200
184
  export declare enum CallAs {
201
185
  DELEGATED_ADMIN = "DELEGATED_ADMIN",
202
186
  SELF = "SELF"
@@ -218,10 +202,6 @@ export interface TokenAlreadyExistsException extends __SmithyException, $Metadat
218
202
  $fault: "client";
219
203
  Message?: string;
220
204
  }
221
- export declare namespace TokenAlreadyExistsException {
222
-
223
- const filterSensitiveLog: (obj: TokenAlreadyExistsException) => any;
224
- }
225
205
  export declare enum Capability {
226
206
  CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND",
227
207
  CAPABILITY_IAM = "CAPABILITY_IAM",
@@ -353,10 +333,6 @@ export interface ChangeSetNotFoundException extends __SmithyException, $Metadata
353
333
  $fault: "client";
354
334
  Message?: string;
355
335
  }
356
- export declare namespace ChangeSetNotFoundException {
357
-
358
- const filterSensitiveLog: (obj: ChangeSetNotFoundException) => any;
359
- }
360
336
  export declare enum ChangeSetStatus {
361
337
  CREATE_COMPLETE = "CREATE_COMPLETE",
362
338
  CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
@@ -554,20 +530,12 @@ export interface InsufficientCapabilitiesException extends __SmithyException, $M
554
530
  $fault: "client";
555
531
  Message?: string;
556
532
  }
557
- export declare namespace InsufficientCapabilitiesException {
558
-
559
- const filterSensitiveLog: (obj: InsufficientCapabilitiesException) => any;
560
- }
561
533
 
562
534
  export interface LimitExceededException extends __SmithyException, $MetadataBearer {
563
535
  name: "LimitExceededException";
564
536
  $fault: "client";
565
537
  Message?: string;
566
538
  }
567
- export declare namespace LimitExceededException {
568
-
569
- const filterSensitiveLog: (obj: LimitExceededException) => any;
570
- }
571
539
  export declare enum OnFailure {
572
540
  DELETE = "DELETE",
573
541
  DO_NOTHING = "DO_NOTHING",
@@ -695,59 +663,44 @@ export interface InvalidOperationException extends __SmithyException, $MetadataB
695
663
  $fault: "client";
696
664
  Message?: string;
697
665
  }
698
- export declare namespace InvalidOperationException {
699
-
700
- const filterSensitiveLog: (obj: InvalidOperationException) => any;
701
- }
702
666
 
703
667
  export interface OperationIdAlreadyExistsException extends __SmithyException, $MetadataBearer {
704
668
  name: "OperationIdAlreadyExistsException";
705
669
  $fault: "client";
706
670
  Message?: string;
707
671
  }
708
- export declare namespace OperationIdAlreadyExistsException {
709
-
710
- const filterSensitiveLog: (obj: OperationIdAlreadyExistsException) => any;
711
- }
712
672
 
713
673
  export interface OperationInProgressException extends __SmithyException, $MetadataBearer {
714
674
  name: "OperationInProgressException";
715
675
  $fault: "client";
716
676
  Message?: string;
717
677
  }
718
- export declare namespace OperationInProgressException {
719
-
720
- const filterSensitiveLog: (obj: OperationInProgressException) => any;
721
- }
722
678
 
723
679
  export interface StackSetNotFoundException extends __SmithyException, $MetadataBearer {
724
680
  name: "StackSetNotFoundException";
725
681
  $fault: "client";
726
682
  Message?: string;
727
683
  }
728
- export declare namespace StackSetNotFoundException {
729
-
730
- const filterSensitiveLog: (obj: StackSetNotFoundException) => any;
731
- }
732
684
 
733
685
  export interface StaleRequestException extends __SmithyException, $MetadataBearer {
734
686
  name: "StaleRequestException";
735
687
  $fault: "client";
736
688
  Message?: string;
737
689
  }
738
- export declare namespace StaleRequestException {
739
-
740
- const filterSensitiveLog: (obj: StaleRequestException) => any;
741
- }
742
690
 
743
691
  export interface CreatedButModifiedException extends __SmithyException, $MetadataBearer {
744
692
  name: "CreatedButModifiedException";
745
693
  $fault: "client";
746
694
  Message?: string;
747
695
  }
748
- export declare namespace CreatedButModifiedException {
696
+
697
+ export interface ManagedExecution {
698
+
699
+ Active?: boolean;
700
+ }
701
+ export declare namespace ManagedExecution {
749
702
 
750
- const filterSensitiveLog: (obj: CreatedButModifiedException) => any;
703
+ const filterSensitiveLog: (obj: ManagedExecution) => any;
751
704
  }
752
705
  export declare type PermissionModels = "SELF_MANAGED" | "SERVICE_MANAGED";
753
706
  export interface CreateStackSetInput {
@@ -779,6 +732,8 @@ export interface CreateStackSetInput {
779
732
  CallAs?: CallAs | string;
780
733
 
781
734
  ClientRequestToken?: string;
735
+
736
+ ManagedExecution?: ManagedExecution;
782
737
  }
783
738
  export declare namespace CreateStackSetInput {
784
739
 
@@ -798,10 +753,6 @@ export interface NameAlreadyExistsException extends __SmithyException, $Metadata
798
753
  $fault: "client";
799
754
  Message?: string;
800
755
  }
801
- export declare namespace NameAlreadyExistsException {
802
-
803
- const filterSensitiveLog: (obj: NameAlreadyExistsException) => any;
804
- }
805
756
  export interface DeactivateTypeInput {
806
757
 
807
758
  TypeName?: string;
@@ -844,10 +795,6 @@ export interface InvalidChangeSetStatusException extends __SmithyException, $Met
844
795
  $fault: "client";
845
796
  Message?: string;
846
797
  }
847
- export declare namespace InvalidChangeSetStatusException {
848
-
849
- const filterSensitiveLog: (obj: InvalidChangeSetStatusException) => any;
850
- }
851
798
 
852
799
  export interface DeleteStackInput {
853
800
 
@@ -915,10 +862,6 @@ export interface StackSetNotEmptyException extends __SmithyException, $MetadataB
915
862
  $fault: "client";
916
863
  Message?: string;
917
864
  }
918
- export declare namespace StackSetNotEmptyException {
919
-
920
- const filterSensitiveLog: (obj: StackSetNotEmptyException) => any;
921
- }
922
865
  export declare type RegistryType = "MODULE" | "RESOURCE";
923
866
  export interface DeregisterTypeInput {
924
867
 
@@ -1231,10 +1174,6 @@ export interface StackInstanceNotFoundException extends __SmithyException, $Meta
1231
1174
  $fault: "client";
1232
1175
  Message?: string;
1233
1176
  }
1234
- export declare namespace StackInstanceNotFoundException {
1235
-
1236
- const filterSensitiveLog: (obj: StackInstanceNotFoundException) => any;
1237
- }
1238
1177
 
1239
1178
  export interface DescribeStackResourceInput {
1240
1179
 
@@ -1640,6 +1579,8 @@ export interface StackSet {
1640
1579
  PermissionModel?: PermissionModels | string;
1641
1580
 
1642
1581
  OrganizationalUnitIds?: string[];
1582
+
1583
+ ManagedExecution?: ManagedExecution;
1643
1584
  }
1644
1585
  export declare namespace StackSet {
1645
1586
 
@@ -1712,10 +1653,6 @@ export interface OperationNotFoundException extends __SmithyException, $Metadata
1712
1653
  $fault: "client";
1713
1654
  Message?: string;
1714
1655
  }
1715
- export declare namespace OperationNotFoundException {
1716
-
1717
- const filterSensitiveLog: (obj: OperationNotFoundException) => any;
1718
- }
1719
1656
  export interface DescribeTypeInput {
1720
1657
 
1721
1658
  Type?: RegistryType | string;
@@ -2076,7 +2013,11 @@ export interface ImportStacksToStackSetInput {
2076
2013
 
2077
2014
  StackSetName: string | undefined;
2078
2015
 
2079
- StackIds: string[] | undefined;
2016
+ StackIds?: string[];
2017
+
2018
+ StackIdsUrl?: string;
2019
+
2020
+ OrganizationalUnitIds?: string[];
2080
2021
 
2081
2022
  OperationPreferences?: StackSetOperationPreferences;
2082
2023
 
@@ -2102,10 +2043,6 @@ export interface StackNotFoundException extends __SmithyException, $MetadataBear
2102
2043
  $fault: "client";
2103
2044
  Message?: string;
2104
2045
  }
2105
- export declare namespace StackNotFoundException {
2106
-
2107
- const filterSensitiveLog: (obj: StackNotFoundException) => any;
2108
- }
2109
2046
 
2110
2047
  export interface ListChangeSetsInput {
2111
2048
 
@@ -2485,6 +2422,8 @@ export interface StackSetSummary {
2485
2422
  DriftStatus?: StackDriftStatus | string;
2486
2423
 
2487
2424
  LastDriftCheckTimestamp?: Date;
2425
+
2426
+ ManagedExecution?: ManagedExecution;
2488
2427
  }
2489
2428
  export declare namespace StackSetSummary {
2490
2429
 
@@ -2685,20 +2624,12 @@ export interface InvalidStateTransitionException extends __SmithyException, $Met
2685
2624
  $fault: "client";
2686
2625
  Message?: string;
2687
2626
  }
2688
- export declare namespace InvalidStateTransitionException {
2689
-
2690
- const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
2691
- }
2692
2627
 
2693
2628
  export interface OperationStatusCheckFailedException extends __SmithyException, $MetadataBearer {
2694
2629
  name: "OperationStatusCheckFailedException";
2695
2630
  $fault: "client";
2696
2631
  Message?: string;
2697
2632
  }
2698
- export declare namespace OperationStatusCheckFailedException {
2699
-
2700
- const filterSensitiveLog: (obj: OperationStatusCheckFailedException) => any;
2701
- }
2702
2633
  export declare enum OperationStatus {
2703
2634
  FAILED = "FAILED",
2704
2635
  IN_PROGRESS = "IN_PROGRESS",
@@ -3047,6 +2978,8 @@ export interface UpdateStackSetInput {
3047
2978
  Regions?: string[];
3048
2979
 
3049
2980
  CallAs?: CallAs | string;
2981
+
2982
+ ManagedExecution?: ManagedExecution;
3050
2983
  }
3051
2984
  export declare namespace UpdateStackSetInput {
3052
2985
 
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CloudFormationClientConfig } from "./CloudFormationClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CloudFormationClientConfig } from "./CloudFormationClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,53 +18,49 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
52
- "@aws-sdk/util-waiter": "3.40.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
51
+ "@aws-sdk/util-waiter": "3.47.0",
53
52
  "entities": "2.2.0",
54
53
  "fast-xml-parser": "3.19.0",
55
54
  "tslib": "^2.3.0",
56
55
  "uuid": "^8.3.2"
57
56
  },
58
57
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
60
59
  "@types/node": "^12.7.5",
61
- "@types/uuid": "^8.3.0",
62
- "downlevel-dts": "0.7.0",
63
- "jest": "^26.1.0",
64
- "rimraf": "^3.0.0",
65
- "ts-jest": "^26.4.1",
66
- "typedoc": "^0.19.2",
67
- "typescript": "~4.3.5"
60
+ "@types/uuid": "^8.3.0"
68
61
  },
69
62
  "engines": {
70
- "node": ">=10.0.0"
63
+ "node": ">=12.0.0"
71
64
  },
72
65
  "typesVersions": {
73
66
  "<4.0": {