@aws-sdk/client-cloudformation 3.36.1 → 3.40.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.
@@ -1,29 +1,71 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
- "us-east-1-fips": {
5
- hostname: "cloudformation-fips.us-east-1.amazonaws.com",
6
- signingRegion: "us-east-1",
4
+ "us-east-1": {
5
+ variants: [
6
+ {
7
+ hostname: "cloudformation.us-east-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ {
11
+ hostname: "cloudformation-fips.us-east-1.amazonaws.com",
12
+ tags: ["fips"],
13
+ },
14
+ ],
7
15
  },
8
- "us-east-2-fips": {
9
- hostname: "cloudformation-fips.us-east-2.amazonaws.com",
10
- signingRegion: "us-east-2",
16
+ "us-east-2": {
17
+ variants: [
18
+ {
19
+ hostname: "cloudformation.us-east-2.amazonaws.com",
20
+ tags: [],
21
+ },
22
+ {
23
+ hostname: "cloudformation-fips.us-east-2.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
11
27
  },
12
28
  "us-gov-east-1": {
13
- hostname: "cloudformation.us-gov-east-1.amazonaws.com",
29
+ variants: [
30
+ {
31
+ hostname: "cloudformation.us-gov-east-1.amazonaws.com",
32
+ tags: [],
33
+ },
34
+ ],
14
35
  signingRegion: "us-gov-east-1",
15
36
  },
16
37
  "us-gov-west-1": {
17
- hostname: "cloudformation.us-gov-west-1.amazonaws.com",
38
+ variants: [
39
+ {
40
+ hostname: "cloudformation.us-gov-west-1.amazonaws.com",
41
+ tags: [],
42
+ },
43
+ ],
18
44
  signingRegion: "us-gov-west-1",
19
45
  },
20
- "us-west-1-fips": {
21
- hostname: "cloudformation-fips.us-west-1.amazonaws.com",
22
- signingRegion: "us-west-1",
46
+ "us-west-1": {
47
+ variants: [
48
+ {
49
+ hostname: "cloudformation.us-west-1.amazonaws.com",
50
+ tags: [],
51
+ },
52
+ {
53
+ hostname: "cloudformation-fips.us-west-1.amazonaws.com",
54
+ tags: ["fips"],
55
+ },
56
+ ],
23
57
  },
24
- "us-west-2-fips": {
25
- hostname: "cloudformation-fips.us-west-2.amazonaws.com",
26
- signingRegion: "us-west-2",
58
+ "us-west-2": {
59
+ variants: [
60
+ {
61
+ hostname: "cloudformation.us-west-2.amazonaws.com",
62
+ tags: [],
63
+ },
64
+ {
65
+ hostname: "cloudformation-fips.us-west-2.amazonaws.com",
66
+ tags: ["fips"],
67
+ },
68
+ ],
27
69
  },
28
70
  };
29
71
  var partitionHash = {
@@ -55,23 +97,89 @@ var partitionHash = {
55
97
  "us-west-2",
56
98
  "us-west-2-fips",
57
99
  ],
58
- hostname: "cloudformation.{region}.amazonaws.com",
100
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
101
+ variants: [
102
+ {
103
+ hostname: "cloudformation.{region}.amazonaws.com",
104
+ tags: [],
105
+ },
106
+ {
107
+ hostname: "cloudformation-fips.{region}.amazonaws.com",
108
+ tags: ["fips"],
109
+ },
110
+ {
111
+ hostname: "cloudformation-fips.{region}.api.aws",
112
+ tags: ["dualstack", "fips"],
113
+ },
114
+ {
115
+ hostname: "cloudformation.{region}.api.aws",
116
+ tags: ["dualstack"],
117
+ },
118
+ ],
59
119
  },
60
120
  "aws-cn": {
61
121
  regions: ["cn-north-1", "cn-northwest-1"],
62
- hostname: "cloudformation.{region}.amazonaws.com.cn",
122
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
123
+ variants: [
124
+ {
125
+ hostname: "cloudformation.{region}.amazonaws.com.cn",
126
+ tags: [],
127
+ },
128
+ {
129
+ hostname: "cloudformation-fips.{region}.amazonaws.com.cn",
130
+ tags: ["fips"],
131
+ },
132
+ {
133
+ hostname: "cloudformation-fips.{region}.api.amazonwebservices.com.cn",
134
+ tags: ["dualstack", "fips"],
135
+ },
136
+ {
137
+ hostname: "cloudformation.{region}.api.amazonwebservices.com.cn",
138
+ tags: ["dualstack"],
139
+ },
140
+ ],
63
141
  },
64
142
  "aws-iso": {
65
- regions: ["us-iso-east-1"],
66
- hostname: "cloudformation.{region}.c2s.ic.gov",
143
+ regions: ["us-iso-east-1", "us-iso-west-1"],
144
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
145
+ variants: [
146
+ {
147
+ hostname: "cloudformation.{region}.c2s.ic.gov",
148
+ tags: [],
149
+ },
150
+ ],
67
151
  },
68
152
  "aws-iso-b": {
69
153
  regions: ["us-isob-east-1"],
70
- hostname: "cloudformation.{region}.sc2s.sgov.gov",
154
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
155
+ variants: [
156
+ {
157
+ hostname: "cloudformation.{region}.sc2s.sgov.gov",
158
+ tags: [],
159
+ },
160
+ ],
71
161
  },
72
162
  "aws-us-gov": {
73
163
  regions: ["us-gov-east-1", "us-gov-west-1"],
74
- hostname: "cloudformation.{region}.amazonaws.com",
164
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
165
+ variants: [
166
+ {
167
+ hostname: "cloudformation.{region}.amazonaws.com",
168
+ tags: [],
169
+ },
170
+ {
171
+ hostname: "cloudformation-fips.{region}.amazonaws.com",
172
+ tags: ["fips"],
173
+ },
174
+ {
175
+ hostname: "cloudformation-fips.{region}.api.aws",
176
+ tags: ["dualstack", "fips"],
177
+ },
178
+ {
179
+ hostname: "cloudformation.{region}.api.aws",
180
+ tags: ["dualstack"],
181
+ },
182
+ ],
75
183
  },
76
184
  };
77
185
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
package/dist-es/index.js CHANGED
@@ -1,93 +1,6 @@
1
- export * from "./CloudFormationClient";
2
1
  export * from "./CloudFormation";
3
- export * from "./commands/ActivateTypeCommand";
4
- export * from "./commands/BatchDescribeTypeConfigurationsCommand";
5
- export * from "./commands/CancelUpdateStackCommand";
6
- export * from "./commands/ContinueUpdateRollbackCommand";
7
- export * from "./commands/CreateChangeSetCommand";
8
- export * from "./commands/CreateStackCommand";
9
- export * from "./commands/CreateStackInstancesCommand";
10
- export * from "./commands/CreateStackSetCommand";
11
- export * from "./commands/DeactivateTypeCommand";
12
- export * from "./commands/DeleteChangeSetCommand";
13
- export * from "./commands/DeleteStackCommand";
14
- export * from "./commands/DeleteStackInstancesCommand";
15
- export * from "./commands/DeleteStackSetCommand";
16
- export * from "./commands/DeregisterTypeCommand";
17
- export * from "./commands/DescribeAccountLimitsCommand";
18
- export * from "./pagination/DescribeAccountLimitsPaginator";
19
- export * from "./commands/DescribeChangeSetCommand";
20
- export * from "./waiters/waitForChangeSetCreateComplete";
21
- export * from "./commands/DescribePublisherCommand";
22
- export * from "./commands/DescribeStackDriftDetectionStatusCommand";
23
- export * from "./commands/DescribeStackEventsCommand";
24
- export * from "./pagination/DescribeStackEventsPaginator";
25
- export * from "./commands/DescribeStackInstanceCommand";
26
- export * from "./commands/DescribeStackResourceCommand";
27
- export * from "./commands/DescribeStackResourceDriftsCommand";
28
- export * from "./pagination/DescribeStackResourceDriftsPaginator";
29
- export * from "./commands/DescribeStackResourcesCommand";
30
- export * from "./commands/DescribeStacksCommand";
31
- export * from "./pagination/DescribeStacksPaginator";
32
- export * from "./waiters/waitForStackCreateComplete";
33
- export * from "./waiters/waitForStackDeleteComplete";
34
- export * from "./waiters/waitForStackExists";
35
- export * from "./waiters/waitForStackImportComplete";
36
- export * from "./waiters/waitForStackRollbackComplete";
37
- export * from "./waiters/waitForStackUpdateComplete";
38
- export * from "./commands/DescribeStackSetCommand";
39
- export * from "./commands/DescribeStackSetOperationCommand";
40
- export * from "./commands/DescribeTypeCommand";
41
- export * from "./commands/DescribeTypeRegistrationCommand";
42
- export * from "./waiters/waitForTypeRegistrationComplete";
43
- export * from "./commands/DetectStackDriftCommand";
44
- export * from "./commands/DetectStackResourceDriftCommand";
45
- export * from "./commands/DetectStackSetDriftCommand";
46
- export * from "./commands/EstimateTemplateCostCommand";
47
- export * from "./commands/ExecuteChangeSetCommand";
48
- export * from "./commands/GetStackPolicyCommand";
49
- export * from "./commands/GetTemplateCommand";
50
- export * from "./commands/GetTemplateSummaryCommand";
51
- export * from "./commands/ImportStacksToStackSetCommand";
52
- export * from "./commands/ListChangeSetsCommand";
53
- export * from "./pagination/ListChangeSetsPaginator";
54
- export * from "./commands/ListExportsCommand";
55
- export * from "./pagination/ListExportsPaginator";
56
- export * from "./commands/ListImportsCommand";
57
- export * from "./pagination/ListImportsPaginator";
58
- export * from "./commands/ListStackInstancesCommand";
59
- export * from "./pagination/ListStackInstancesPaginator";
60
- export * from "./commands/ListStackResourcesCommand";
61
- export * from "./pagination/ListStackResourcesPaginator";
62
- export * from "./commands/ListStacksCommand";
63
- export * from "./pagination/ListStacksPaginator";
64
- export * from "./commands/ListStackSetOperationResultsCommand";
65
- export * from "./pagination/ListStackSetOperationResultsPaginator";
66
- export * from "./commands/ListStackSetOperationsCommand";
67
- export * from "./pagination/ListStackSetOperationsPaginator";
68
- export * from "./commands/ListStackSetsCommand";
69
- export * from "./pagination/ListStackSetsPaginator";
70
- export * from "./commands/ListTypeRegistrationsCommand";
71
- export * from "./pagination/ListTypeRegistrationsPaginator";
72
- export * from "./commands/ListTypesCommand";
73
- export * from "./pagination/ListTypesPaginator";
74
- export * from "./commands/ListTypeVersionsCommand";
75
- export * from "./pagination/ListTypeVersionsPaginator";
76
- export * from "./commands/PublishTypeCommand";
77
- export * from "./commands/RecordHandlerProgressCommand";
78
- export * from "./commands/RegisterPublisherCommand";
79
- export * from "./commands/RegisterTypeCommand";
80
- export * from "./commands/RollbackStackCommand";
81
- export * from "./commands/SetStackPolicyCommand";
82
- export * from "./commands/SetTypeConfigurationCommand";
83
- export * from "./commands/SetTypeDefaultVersionCommand";
84
- export * from "./commands/SignalResourceCommand";
85
- export * from "./commands/StopStackSetOperationCommand";
86
- export * from "./commands/TestTypeCommand";
87
- export * from "./commands/UpdateStackCommand";
88
- export * from "./commands/UpdateStackInstancesCommand";
89
- export * from "./commands/UpdateStackSetCommand";
90
- export * from "./commands/UpdateTerminationProtectionCommand";
91
- export * from "./commands/ValidateTemplateCommand";
92
- export * from "./pagination/Interfaces";
93
- export * from "./models/index";
2
+ export * from "./CloudFormationClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,17 @@
1
+ export * from "./DescribeAccountLimitsPaginator";
2
+ export * from "./DescribeStackEventsPaginator";
3
+ export * from "./DescribeStackResourceDriftsPaginator";
4
+ export * from "./DescribeStacksPaginator";
5
+ export * from "./Interfaces";
6
+ export * from "./ListChangeSetsPaginator";
7
+ export * from "./ListExportsPaginator";
8
+ export * from "./ListImportsPaginator";
9
+ export * from "./ListStackInstancesPaginator";
10
+ export * from "./ListStackResourcesPaginator";
11
+ export * from "./ListStackSetOperationResultsPaginator";
12
+ export * from "./ListStackSetOperationsPaginator";
13
+ export * from "./ListStackSetsPaginator";
14
+ export * from "./ListStacksPaginator";
15
+ export * from "./ListTypeRegistrationsPaginator";
16
+ export * from "./ListTypeVersionsPaginator";
17
+ export * from "./ListTypesPaginator";
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
16
17
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
21
  };
@@ -0,0 +1,8 @@
1
+ export * from "./waitForChangeSetCreateComplete";
2
+ export * from "./waitForStackCreateComplete";
3
+ export * from "./waitForStackDeleteComplete";
4
+ export * from "./waitForStackExists";
5
+ export * from "./waitForStackImportComplete";
6
+ export * from "./waitForStackRollbackComplete";
7
+ export * from "./waitForStackUpdateComplete";
8
+ export * from "./waitForTypeRegistrationComplete";
@@ -141,6 +141,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
141
141
  * Optional logger for logging debug/info/warn/error.
142
142
  */
143
143
  logger?: __Logger;
144
+ /**
145
+ * Enables IPv6/IPv4 dualstack endpoint.
146
+ */
147
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
148
+ /**
149
+ * Enables FIPS compatible endpoints.
150
+ */
151
+ useFipsEndpoint?: boolean | __Provider<boolean>;
144
152
  /**
145
153
  * Unique service identifier.
146
154
  * @internal
@@ -0,0 +1,65 @@
1
+ export * from "./ActivateTypeCommand";
2
+ export * from "./BatchDescribeTypeConfigurationsCommand";
3
+ export * from "./CancelUpdateStackCommand";
4
+ export * from "./ContinueUpdateRollbackCommand";
5
+ export * from "./CreateChangeSetCommand";
6
+ export * from "./CreateStackCommand";
7
+ export * from "./CreateStackInstancesCommand";
8
+ export * from "./CreateStackSetCommand";
9
+ export * from "./DeactivateTypeCommand";
10
+ export * from "./DeleteChangeSetCommand";
11
+ export * from "./DeleteStackCommand";
12
+ export * from "./DeleteStackInstancesCommand";
13
+ export * from "./DeleteStackSetCommand";
14
+ export * from "./DeregisterTypeCommand";
15
+ export * from "./DescribeAccountLimitsCommand";
16
+ export * from "./DescribeChangeSetCommand";
17
+ export * from "./DescribePublisherCommand";
18
+ export * from "./DescribeStackDriftDetectionStatusCommand";
19
+ export * from "./DescribeStackEventsCommand";
20
+ export * from "./DescribeStackInstanceCommand";
21
+ export * from "./DescribeStackResourceCommand";
22
+ export * from "./DescribeStackResourceDriftsCommand";
23
+ export * from "./DescribeStackResourcesCommand";
24
+ export * from "./DescribeStackSetCommand";
25
+ export * from "./DescribeStackSetOperationCommand";
26
+ export * from "./DescribeStacksCommand";
27
+ export * from "./DescribeTypeCommand";
28
+ export * from "./DescribeTypeRegistrationCommand";
29
+ export * from "./DetectStackDriftCommand";
30
+ export * from "./DetectStackResourceDriftCommand";
31
+ export * from "./DetectStackSetDriftCommand";
32
+ export * from "./EstimateTemplateCostCommand";
33
+ export * from "./ExecuteChangeSetCommand";
34
+ export * from "./GetStackPolicyCommand";
35
+ export * from "./GetTemplateCommand";
36
+ export * from "./GetTemplateSummaryCommand";
37
+ export * from "./ImportStacksToStackSetCommand";
38
+ export * from "./ListChangeSetsCommand";
39
+ export * from "./ListExportsCommand";
40
+ export * from "./ListImportsCommand";
41
+ export * from "./ListStackInstancesCommand";
42
+ export * from "./ListStackResourcesCommand";
43
+ export * from "./ListStackSetOperationResultsCommand";
44
+ export * from "./ListStackSetOperationsCommand";
45
+ export * from "./ListStackSetsCommand";
46
+ export * from "./ListStacksCommand";
47
+ export * from "./ListTypeRegistrationsCommand";
48
+ export * from "./ListTypeVersionsCommand";
49
+ export * from "./ListTypesCommand";
50
+ export * from "./PublishTypeCommand";
51
+ export * from "./RecordHandlerProgressCommand";
52
+ export * from "./RegisterPublisherCommand";
53
+ export * from "./RegisterTypeCommand";
54
+ export * from "./RollbackStackCommand";
55
+ export * from "./SetStackPolicyCommand";
56
+ export * from "./SetTypeConfigurationCommand";
57
+ export * from "./SetTypeDefaultVersionCommand";
58
+ export * from "./SignalResourceCommand";
59
+ export * from "./StopStackSetOperationCommand";
60
+ export * from "./TestTypeCommand";
61
+ export * from "./UpdateStackCommand";
62
+ export * from "./UpdateStackInstancesCommand";
63
+ export * from "./UpdateStackSetCommand";
64
+ export * from "./UpdateTerminationProtectionCommand";
65
+ export * from "./ValidateTemplateCommand";
@@ -1,93 +1,6 @@
1
- export * from "./CloudFormationClient";
2
1
  export * from "./CloudFormation";
3
- export * from "./commands/ActivateTypeCommand";
4
- export * from "./commands/BatchDescribeTypeConfigurationsCommand";
5
- export * from "./commands/CancelUpdateStackCommand";
6
- export * from "./commands/ContinueUpdateRollbackCommand";
7
- export * from "./commands/CreateChangeSetCommand";
8
- export * from "./commands/CreateStackCommand";
9
- export * from "./commands/CreateStackInstancesCommand";
10
- export * from "./commands/CreateStackSetCommand";
11
- export * from "./commands/DeactivateTypeCommand";
12
- export * from "./commands/DeleteChangeSetCommand";
13
- export * from "./commands/DeleteStackCommand";
14
- export * from "./commands/DeleteStackInstancesCommand";
15
- export * from "./commands/DeleteStackSetCommand";
16
- export * from "./commands/DeregisterTypeCommand";
17
- export * from "./commands/DescribeAccountLimitsCommand";
18
- export * from "./pagination/DescribeAccountLimitsPaginator";
19
- export * from "./commands/DescribeChangeSetCommand";
20
- export * from "./waiters/waitForChangeSetCreateComplete";
21
- export * from "./commands/DescribePublisherCommand";
22
- export * from "./commands/DescribeStackDriftDetectionStatusCommand";
23
- export * from "./commands/DescribeStackEventsCommand";
24
- export * from "./pagination/DescribeStackEventsPaginator";
25
- export * from "./commands/DescribeStackInstanceCommand";
26
- export * from "./commands/DescribeStackResourceCommand";
27
- export * from "./commands/DescribeStackResourceDriftsCommand";
28
- export * from "./pagination/DescribeStackResourceDriftsPaginator";
29
- export * from "./commands/DescribeStackResourcesCommand";
30
- export * from "./commands/DescribeStacksCommand";
31
- export * from "./pagination/DescribeStacksPaginator";
32
- export * from "./waiters/waitForStackCreateComplete";
33
- export * from "./waiters/waitForStackDeleteComplete";
34
- export * from "./waiters/waitForStackExists";
35
- export * from "./waiters/waitForStackImportComplete";
36
- export * from "./waiters/waitForStackRollbackComplete";
37
- export * from "./waiters/waitForStackUpdateComplete";
38
- export * from "./commands/DescribeStackSetCommand";
39
- export * from "./commands/DescribeStackSetOperationCommand";
40
- export * from "./commands/DescribeTypeCommand";
41
- export * from "./commands/DescribeTypeRegistrationCommand";
42
- export * from "./waiters/waitForTypeRegistrationComplete";
43
- export * from "./commands/DetectStackDriftCommand";
44
- export * from "./commands/DetectStackResourceDriftCommand";
45
- export * from "./commands/DetectStackSetDriftCommand";
46
- export * from "./commands/EstimateTemplateCostCommand";
47
- export * from "./commands/ExecuteChangeSetCommand";
48
- export * from "./commands/GetStackPolicyCommand";
49
- export * from "./commands/GetTemplateCommand";
50
- export * from "./commands/GetTemplateSummaryCommand";
51
- export * from "./commands/ImportStacksToStackSetCommand";
52
- export * from "./commands/ListChangeSetsCommand";
53
- export * from "./pagination/ListChangeSetsPaginator";
54
- export * from "./commands/ListExportsCommand";
55
- export * from "./pagination/ListExportsPaginator";
56
- export * from "./commands/ListImportsCommand";
57
- export * from "./pagination/ListImportsPaginator";
58
- export * from "./commands/ListStackInstancesCommand";
59
- export * from "./pagination/ListStackInstancesPaginator";
60
- export * from "./commands/ListStackResourcesCommand";
61
- export * from "./pagination/ListStackResourcesPaginator";
62
- export * from "./commands/ListStacksCommand";
63
- export * from "./pagination/ListStacksPaginator";
64
- export * from "./commands/ListStackSetOperationResultsCommand";
65
- export * from "./pagination/ListStackSetOperationResultsPaginator";
66
- export * from "./commands/ListStackSetOperationsCommand";
67
- export * from "./pagination/ListStackSetOperationsPaginator";
68
- export * from "./commands/ListStackSetsCommand";
69
- export * from "./pagination/ListStackSetsPaginator";
70
- export * from "./commands/ListTypeRegistrationsCommand";
71
- export * from "./pagination/ListTypeRegistrationsPaginator";
72
- export * from "./commands/ListTypesCommand";
73
- export * from "./pagination/ListTypesPaginator";
74
- export * from "./commands/ListTypeVersionsCommand";
75
- export * from "./pagination/ListTypeVersionsPaginator";
76
- export * from "./commands/PublishTypeCommand";
77
- export * from "./commands/RecordHandlerProgressCommand";
78
- export * from "./commands/RegisterPublisherCommand";
79
- export * from "./commands/RegisterTypeCommand";
80
- export * from "./commands/RollbackStackCommand";
81
- export * from "./commands/SetStackPolicyCommand";
82
- export * from "./commands/SetTypeConfigurationCommand";
83
- export * from "./commands/SetTypeDefaultVersionCommand";
84
- export * from "./commands/SignalResourceCommand";
85
- export * from "./commands/StopStackSetOperationCommand";
86
- export * from "./commands/TestTypeCommand";
87
- export * from "./commands/UpdateStackCommand";
88
- export * from "./commands/UpdateStackInstancesCommand";
89
- export * from "./commands/UpdateStackSetCommand";
90
- export * from "./commands/UpdateTerminationProtectionCommand";
91
- export * from "./commands/ValidateTemplateCommand";
92
- export * from "./pagination/Interfaces";
93
- export * from "./models/index";
2
+ export * from "./CloudFormationClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,17 @@
1
+ export * from "./DescribeAccountLimitsPaginator";
2
+ export * from "./DescribeStackEventsPaginator";
3
+ export * from "./DescribeStackResourceDriftsPaginator";
4
+ export * from "./DescribeStacksPaginator";
5
+ export * from "./Interfaces";
6
+ export * from "./ListChangeSetsPaginator";
7
+ export * from "./ListExportsPaginator";
8
+ export * from "./ListImportsPaginator";
9
+ export * from "./ListStackInstancesPaginator";
10
+ export * from "./ListStackResourcesPaginator";
11
+ export * from "./ListStackSetOperationResultsPaginator";
12
+ export * from "./ListStackSetOperationsPaginator";
13
+ export * from "./ListStackSetsPaginator";
14
+ export * from "./ListStacksPaginator";
15
+ export * from "./ListTypeRegistrationsPaginator";
16
+ export * from "./ListTypeVersionsPaginator";
17
+ export * from "./ListTypesPaginator";
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
18
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
20
20
  logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
23
  serviceId: string;
22
24
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
@@ -103,6 +103,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
103
103
 
104
104
  logger?: __Logger;
105
105
 
106
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
107
+
108
+ useFipsEndpoint?: boolean | __Provider<boolean>;
109
+
106
110
  serviceId?: string;
107
111
 
108
112
  region?: string | __Provider<string>;