@aws-sdk/client-cloudformation 3.46.0 → 3.48.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.
- package/CHANGELOG.md +36 -0
- package/dist-cjs/endpoints.js +0 -16
- package/dist-cjs/models/models_0.js +5 -137
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -16
- package/dist-es/models/models_0.js +0 -88
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/CloudFormationClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -132
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CloudFormationClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -88
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +36 -36
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
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
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), 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 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
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
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
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
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), 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 });
|
|
19
28
|
};
|
|
@@ -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";
|
|
@@ -173,6 +173,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
173
173
|
* @internal
|
|
174
174
|
*/
|
|
175
175
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
176
|
+
/**
|
|
177
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
178
|
+
*/
|
|
179
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
176
180
|
}
|
|
177
181
|
declare type CloudFormationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
178
182
|
/**
|
|
@@ -236,12 +236,6 @@ export interface CFNRegistryException extends __SmithyException, $MetadataBearer
|
|
|
236
236
|
$fault: "client";
|
|
237
237
|
Message?: string;
|
|
238
238
|
}
|
|
239
|
-
export declare namespace CFNRegistryException {
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
|
-
const filterSensitiveLog: (obj: CFNRegistryException) => any;
|
|
244
|
-
}
|
|
245
239
|
/**
|
|
246
240
|
* <p>The specified extension does not exist in the CloudFormation registry.</p>
|
|
247
241
|
*/
|
|
@@ -250,12 +244,6 @@ export interface TypeNotFoundException extends __SmithyException, $MetadataBeare
|
|
|
250
244
|
$fault: "client";
|
|
251
245
|
Message?: string;
|
|
252
246
|
}
|
|
253
|
-
export declare namespace TypeNotFoundException {
|
|
254
|
-
/**
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
const filterSensitiveLog: (obj: TypeNotFoundException) => any;
|
|
258
|
-
}
|
|
259
247
|
/**
|
|
260
248
|
* <p>The resource with the name requested already exists.</p>
|
|
261
249
|
*/
|
|
@@ -264,12 +252,6 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
|
|
|
264
252
|
$fault: "client";
|
|
265
253
|
Message?: string;
|
|
266
254
|
}
|
|
267
|
-
export declare namespace AlreadyExistsException {
|
|
268
|
-
/**
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
const filterSensitiveLog: (obj: AlreadyExistsException) => any;
|
|
272
|
-
}
|
|
273
255
|
/**
|
|
274
256
|
* <p>[Service-managed permissions] Describes whether StackSets automatically deploys to
|
|
275
257
|
* Organizations accounts that are added to a target organization or organizational
|
|
@@ -449,12 +431,6 @@ export interface TypeConfigurationNotFoundException extends __SmithyException, $
|
|
|
449
431
|
$fault: "client";
|
|
450
432
|
Message?: string;
|
|
451
433
|
}
|
|
452
|
-
export declare namespace TypeConfigurationNotFoundException {
|
|
453
|
-
/**
|
|
454
|
-
* @internal
|
|
455
|
-
*/
|
|
456
|
-
const filterSensitiveLog: (obj: TypeConfigurationNotFoundException) => any;
|
|
457
|
-
}
|
|
458
434
|
export declare enum CallAs {
|
|
459
435
|
DELEGATED_ADMIN = "DELEGATED_ADMIN",
|
|
460
436
|
SELF = "SELF"
|
|
@@ -490,12 +466,6 @@ export interface TokenAlreadyExistsException extends __SmithyException, $Metadat
|
|
|
490
466
|
$fault: "client";
|
|
491
467
|
Message?: string;
|
|
492
468
|
}
|
|
493
|
-
export declare namespace TokenAlreadyExistsException {
|
|
494
|
-
/**
|
|
495
|
-
* @internal
|
|
496
|
-
*/
|
|
497
|
-
const filterSensitiveLog: (obj: TokenAlreadyExistsException) => any;
|
|
498
|
-
}
|
|
499
469
|
export declare enum Capability {
|
|
500
470
|
CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND",
|
|
501
471
|
CAPABILITY_IAM = "CAPABILITY_IAM",
|
|
@@ -801,12 +771,6 @@ export interface ChangeSetNotFoundException extends __SmithyException, $Metadata
|
|
|
801
771
|
$fault: "client";
|
|
802
772
|
Message?: string;
|
|
803
773
|
}
|
|
804
|
-
export declare namespace ChangeSetNotFoundException {
|
|
805
|
-
/**
|
|
806
|
-
* @internal
|
|
807
|
-
*/
|
|
808
|
-
const filterSensitiveLog: (obj: ChangeSetNotFoundException) => any;
|
|
809
|
-
}
|
|
810
774
|
export declare enum ChangeSetStatus {
|
|
811
775
|
CREATE_COMPLETE = "CREATE_COMPLETE",
|
|
812
776
|
CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
|
|
@@ -1404,12 +1368,6 @@ export interface InsufficientCapabilitiesException extends __SmithyException, $M
|
|
|
1404
1368
|
$fault: "client";
|
|
1405
1369
|
Message?: string;
|
|
1406
1370
|
}
|
|
1407
|
-
export declare namespace InsufficientCapabilitiesException {
|
|
1408
|
-
/**
|
|
1409
|
-
* @internal
|
|
1410
|
-
*/
|
|
1411
|
-
const filterSensitiveLog: (obj: InsufficientCapabilitiesException) => any;
|
|
1412
|
-
}
|
|
1413
1371
|
/**
|
|
1414
1372
|
* <p>The quota for the resource has already been reached.</p>
|
|
1415
1373
|
* <p>For information on resource and stack limitations, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">Limits</a> in
|
|
@@ -1420,12 +1378,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1420
1378
|
$fault: "client";
|
|
1421
1379
|
Message?: string;
|
|
1422
1380
|
}
|
|
1423
|
-
export declare namespace LimitExceededException {
|
|
1424
|
-
/**
|
|
1425
|
-
* @internal
|
|
1426
|
-
*/
|
|
1427
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
1428
|
-
}
|
|
1429
1381
|
export declare enum OnFailure {
|
|
1430
1382
|
DELETE = "DELETE",
|
|
1431
1383
|
DO_NOTHING = "DO_NOTHING",
|
|
@@ -1926,12 +1878,6 @@ export interface InvalidOperationException extends __SmithyException, $MetadataB
|
|
|
1926
1878
|
$fault: "client";
|
|
1927
1879
|
Message?: string;
|
|
1928
1880
|
}
|
|
1929
|
-
export declare namespace InvalidOperationException {
|
|
1930
|
-
/**
|
|
1931
|
-
* @internal
|
|
1932
|
-
*/
|
|
1933
|
-
const filterSensitiveLog: (obj: InvalidOperationException) => any;
|
|
1934
|
-
}
|
|
1935
1881
|
/**
|
|
1936
1882
|
* <p>The specified operation ID already exists.</p>
|
|
1937
1883
|
*/
|
|
@@ -1940,12 +1886,6 @@ export interface OperationIdAlreadyExistsException extends __SmithyException, $M
|
|
|
1940
1886
|
$fault: "client";
|
|
1941
1887
|
Message?: string;
|
|
1942
1888
|
}
|
|
1943
|
-
export declare namespace OperationIdAlreadyExistsException {
|
|
1944
|
-
/**
|
|
1945
|
-
* @internal
|
|
1946
|
-
*/
|
|
1947
|
-
const filterSensitiveLog: (obj: OperationIdAlreadyExistsException) => any;
|
|
1948
|
-
}
|
|
1949
1889
|
/**
|
|
1950
1890
|
* <p>Another operation is currently in progress for this stack set. Only one operation can be
|
|
1951
1891
|
* performed for a stack set at a given time.</p>
|
|
@@ -1955,12 +1895,6 @@ export interface OperationInProgressException extends __SmithyException, $Metada
|
|
|
1955
1895
|
$fault: "client";
|
|
1956
1896
|
Message?: string;
|
|
1957
1897
|
}
|
|
1958
|
-
export declare namespace OperationInProgressException {
|
|
1959
|
-
/**
|
|
1960
|
-
* @internal
|
|
1961
|
-
*/
|
|
1962
|
-
const filterSensitiveLog: (obj: OperationInProgressException) => any;
|
|
1963
|
-
}
|
|
1964
1898
|
/**
|
|
1965
1899
|
* <p>The specified stack set doesn't exist.</p>
|
|
1966
1900
|
*/
|
|
@@ -1969,12 +1903,6 @@ export interface StackSetNotFoundException extends __SmithyException, $MetadataB
|
|
|
1969
1903
|
$fault: "client";
|
|
1970
1904
|
Message?: string;
|
|
1971
1905
|
}
|
|
1972
|
-
export declare namespace StackSetNotFoundException {
|
|
1973
|
-
/**
|
|
1974
|
-
* @internal
|
|
1975
|
-
*/
|
|
1976
|
-
const filterSensitiveLog: (obj: StackSetNotFoundException) => any;
|
|
1977
|
-
}
|
|
1978
1906
|
/**
|
|
1979
1907
|
* <p>Another operation has been performed on this stack set since the specified operation was
|
|
1980
1908
|
* performed. </p>
|
|
@@ -1984,12 +1912,6 @@ export interface StaleRequestException extends __SmithyException, $MetadataBeare
|
|
|
1984
1912
|
$fault: "client";
|
|
1985
1913
|
Message?: string;
|
|
1986
1914
|
}
|
|
1987
|
-
export declare namespace StaleRequestException {
|
|
1988
|
-
/**
|
|
1989
|
-
* @internal
|
|
1990
|
-
*/
|
|
1991
|
-
const filterSensitiveLog: (obj: StaleRequestException) => any;
|
|
1992
|
-
}
|
|
1993
1915
|
/**
|
|
1994
1916
|
* <p>The specified resource exists, but has been changed.</p>
|
|
1995
1917
|
*/
|
|
@@ -1998,12 +1920,6 @@ export interface CreatedButModifiedException extends __SmithyException, $Metadat
|
|
|
1998
1920
|
$fault: "client";
|
|
1999
1921
|
Message?: string;
|
|
2000
1922
|
}
|
|
2001
|
-
export declare namespace CreatedButModifiedException {
|
|
2002
|
-
/**
|
|
2003
|
-
* @internal
|
|
2004
|
-
*/
|
|
2005
|
-
const filterSensitiveLog: (obj: CreatedButModifiedException) => any;
|
|
2006
|
-
}
|
|
2007
1923
|
/**
|
|
2008
1924
|
* <p>Describes whether StackSets performs non-conflicting operations concurrently and queues
|
|
2009
1925
|
* conflicting operations.</p>
|
|
@@ -2284,12 +2200,6 @@ export interface NameAlreadyExistsException extends __SmithyException, $Metadata
|
|
|
2284
2200
|
$fault: "client";
|
|
2285
2201
|
Message?: string;
|
|
2286
2202
|
}
|
|
2287
|
-
export declare namespace NameAlreadyExistsException {
|
|
2288
|
-
/**
|
|
2289
|
-
* @internal
|
|
2290
|
-
*/
|
|
2291
|
-
const filterSensitiveLog: (obj: NameAlreadyExistsException) => any;
|
|
2292
|
-
}
|
|
2293
2203
|
export interface DeactivateTypeInput {
|
|
2294
2204
|
/**
|
|
2295
2205
|
* <p>The type name of the extension, in this account and region. If you specified a type name
|
|
@@ -2366,12 +2276,6 @@ export interface InvalidChangeSetStatusException extends __SmithyException, $Met
|
|
|
2366
2276
|
$fault: "client";
|
|
2367
2277
|
Message?: string;
|
|
2368
2278
|
}
|
|
2369
|
-
export declare namespace InvalidChangeSetStatusException {
|
|
2370
|
-
/**
|
|
2371
|
-
* @internal
|
|
2372
|
-
*/
|
|
2373
|
-
const filterSensitiveLog: (obj: InvalidChangeSetStatusException) => any;
|
|
2374
|
-
}
|
|
2375
2279
|
/**
|
|
2376
2280
|
* <p>The input for <a>DeleteStack</a> action.</p>
|
|
2377
2281
|
*/
|
|
@@ -2553,12 +2457,6 @@ export interface StackSetNotEmptyException extends __SmithyException, $MetadataB
|
|
|
2553
2457
|
$fault: "client";
|
|
2554
2458
|
Message?: string;
|
|
2555
2459
|
}
|
|
2556
|
-
export declare namespace StackSetNotEmptyException {
|
|
2557
|
-
/**
|
|
2558
|
-
* @internal
|
|
2559
|
-
*/
|
|
2560
|
-
const filterSensitiveLog: (obj: StackSetNotEmptyException) => any;
|
|
2561
|
-
}
|
|
2562
2460
|
export declare type RegistryType = "MODULE" | "RESOURCE";
|
|
2563
2461
|
export interface DeregisterTypeInput {
|
|
2564
2462
|
/**
|
|
@@ -3305,12 +3203,6 @@ export interface StackInstanceNotFoundException extends __SmithyException, $Meta
|
|
|
3305
3203
|
$fault: "client";
|
|
3306
3204
|
Message?: string;
|
|
3307
3205
|
}
|
|
3308
|
-
export declare namespace StackInstanceNotFoundException {
|
|
3309
|
-
/**
|
|
3310
|
-
* @internal
|
|
3311
|
-
*/
|
|
3312
|
-
const filterSensitiveLog: (obj: StackInstanceNotFoundException) => any;
|
|
3313
|
-
}
|
|
3314
3206
|
/**
|
|
3315
3207
|
* <p>The input for <a>DescribeStackResource</a> action.</p>
|
|
3316
3208
|
*/
|
|
@@ -4587,12 +4479,6 @@ export interface OperationNotFoundException extends __SmithyException, $Metadata
|
|
|
4587
4479
|
$fault: "client";
|
|
4588
4480
|
Message?: string;
|
|
4589
4481
|
}
|
|
4590
|
-
export declare namespace OperationNotFoundException {
|
|
4591
|
-
/**
|
|
4592
|
-
* @internal
|
|
4593
|
-
*/
|
|
4594
|
-
const filterSensitiveLog: (obj: OperationNotFoundException) => any;
|
|
4595
|
-
}
|
|
4596
4482
|
export interface DescribeTypeInput {
|
|
4597
4483
|
/**
|
|
4598
4484
|
* <p>The kind of extension. </p>
|
|
@@ -5599,12 +5485,6 @@ export interface StackNotFoundException extends __SmithyException, $MetadataBear
|
|
|
5599
5485
|
$fault: "client";
|
|
5600
5486
|
Message?: string;
|
|
5601
5487
|
}
|
|
5602
|
-
export declare namespace StackNotFoundException {
|
|
5603
|
-
/**
|
|
5604
|
-
* @internal
|
|
5605
|
-
*/
|
|
5606
|
-
const filterSensitiveLog: (obj: StackNotFoundException) => any;
|
|
5607
|
-
}
|
|
5608
5488
|
/**
|
|
5609
5489
|
* <p>The input for the <a>ListChangeSets</a> action.</p>
|
|
5610
5490
|
*/
|
|
@@ -7263,12 +7143,6 @@ export interface InvalidStateTransitionException extends __SmithyException, $Met
|
|
|
7263
7143
|
$fault: "client";
|
|
7264
7144
|
Message?: string;
|
|
7265
7145
|
}
|
|
7266
|
-
export declare namespace InvalidStateTransitionException {
|
|
7267
|
-
/**
|
|
7268
|
-
* @internal
|
|
7269
|
-
*/
|
|
7270
|
-
const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
|
|
7271
|
-
}
|
|
7272
7146
|
/**
|
|
7273
7147
|
* <p>Error reserved for use by the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html">CloudFormation CLI</a>. CloudFormation does not return this error to
|
|
7274
7148
|
* users.</p>
|
|
@@ -7278,12 +7152,6 @@ export interface OperationStatusCheckFailedException extends __SmithyException,
|
|
|
7278
7152
|
$fault: "client";
|
|
7279
7153
|
Message?: string;
|
|
7280
7154
|
}
|
|
7281
|
-
export declare namespace OperationStatusCheckFailedException {
|
|
7282
|
-
/**
|
|
7283
|
-
* @internal
|
|
7284
|
-
*/
|
|
7285
|
-
const filterSensitiveLog: (obj: OperationStatusCheckFailedException) => any;
|
|
7286
|
-
}
|
|
7287
7155
|
export declare enum OperationStatus {
|
|
7288
7156
|
FAILED = "FAILED",
|
|
7289
7157
|
IN_PROGRESS = "IN_PROGRESS",
|
|
@@ -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) |
|
|
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/
|
|
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) |
|
|
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
|
|