@cdk8s/awscdk-resolver 0.0.57 → 0.0.59
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +267 -1714
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +17 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +180 -1685
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +6 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +16 -16
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +68 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +76 -96
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +19 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +62 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +8 -89
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +9 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +17 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +47 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso/package.json +14 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +96 -144
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +17 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +29 -134
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +13 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +12 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +14 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +30 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +29 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +74 -196
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -15
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +30 -178
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +11 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +4 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +11 -3
- package/node_modules/@aws-sdk/client-sts/package.json +14 -14
- package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +13 -7
- package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -2
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +10 -2
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +10 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +28 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +16 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/index.js +26 -15
- package/node_modules/@smithy/core/dist-es/pagination/createPaginator.js +12 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +13 -3
- package/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +1 -1
- package/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-signing/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-signing/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +0 -227
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js +0 -103
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js +0 -55
- package/node_modules/@aws-sdk/middleware-signing/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js +0 -8
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +0 -99
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthMiddleware.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-signing/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthConfiguration.d.ts +0 -68
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthMiddleware.d.ts +0 -19
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getSkewCorrectedDate.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getUpdatedSystemClockOffset.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/isClockSkewed.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getSkewCorrectedDate.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getUpdatedSystemClockOffset.d.ts +0 -8
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/isClockSkewed.d.ts +0 -7
- package/node_modules/@aws-sdk/middleware-signing/package.json +0 -59
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js → client-cloudformation/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/isClockSkewed.js → client-sso/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js → client-sso-oidc/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
@@ -239,13 +239,14 @@ module.exports = __toCommonJS(src_exports);
|
|
239
239
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
240
240
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
241
241
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
242
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
243
242
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
244
243
|
var import_config_resolver = require("@smithy/config-resolver");
|
244
|
+
var import_core = require("@smithy/core");
|
245
245
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
246
246
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
247
247
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
248
248
|
|
249
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
249
250
|
|
250
251
|
// src/endpoint/EndpointParameters.ts
|
251
252
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
@@ -270,19 +271,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
270
271
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
271
272
|
var import_protocol_http = require("@smithy/protocol-http");
|
272
273
|
var import_smithy_client = require("@smithy/smithy-client");
|
274
|
+
|
275
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
276
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
277
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
278
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
279
|
+
let _credentials = runtimeConfig.credentials;
|
280
|
+
return {
|
281
|
+
setHttpAuthScheme(httpAuthScheme) {
|
282
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
283
|
+
if (index === -1) {
|
284
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
285
|
+
} else {
|
286
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
287
|
+
}
|
288
|
+
},
|
289
|
+
httpAuthSchemes() {
|
290
|
+
return _httpAuthSchemes;
|
291
|
+
},
|
292
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
293
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
294
|
+
},
|
295
|
+
httpAuthSchemeProvider() {
|
296
|
+
return _httpAuthSchemeProvider;
|
297
|
+
},
|
298
|
+
setCredentials(credentials) {
|
299
|
+
_credentials = credentials;
|
300
|
+
},
|
301
|
+
credentials() {
|
302
|
+
return _credentials;
|
303
|
+
}
|
304
|
+
};
|
305
|
+
}, "getHttpAuthExtensionConfiguration");
|
306
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
307
|
+
return {
|
308
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
309
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
310
|
+
credentials: config.credentials()
|
311
|
+
};
|
312
|
+
}, "resolveHttpAuthRuntimeConfig");
|
313
|
+
|
314
|
+
// src/runtimeExtensions.ts
|
273
315
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
274
316
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
275
317
|
const extensionConfiguration = {
|
276
318
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
277
319
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
278
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
320
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
321
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
279
322
|
};
|
280
323
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
281
324
|
return {
|
282
325
|
...runtimeConfig,
|
283
326
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
284
327
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
285
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
328
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
329
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
286
330
|
};
|
287
331
|
}, "resolveRuntimeExtensions");
|
288
332
|
|
@@ -295,8 +339,8 @@ var _CloudFormationClient = class _CloudFormationClient extends import_smithy_cl
|
|
295
339
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
296
340
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
297
341
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
298
|
-
const _config_6 = (0,
|
299
|
-
const _config_7 = (0,
|
342
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
343
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
300
344
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
301
345
|
super(_config_8);
|
302
346
|
this.config = _config_8;
|
@@ -305,8 +349,14 @@ var _CloudFormationClient = class _CloudFormationClient extends import_smithy_cl
|
|
305
349
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
306
350
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
307
351
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
308
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
309
352
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
353
|
+
this.middlewareStack.use(
|
354
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
355
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
356
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
357
|
+
})
|
358
|
+
);
|
359
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
310
360
|
}
|
311
361
|
/**
|
312
362
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
@@ -316,6 +366,14 @@ var _CloudFormationClient = class _CloudFormationClient extends import_smithy_cl
|
|
316
366
|
destroy() {
|
317
367
|
super.destroy();
|
318
368
|
}
|
369
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
370
|
+
return import_httpAuthSchemeProvider.defaultCloudFormationHttpAuthSchemeParametersProvider;
|
371
|
+
}
|
372
|
+
getIdentityProviderConfigProvider() {
|
373
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
374
|
+
"aws.auth#sigv4": config.credentials
|
375
|
+
});
|
376
|
+
}
|
319
377
|
};
|
320
378
|
__name(_CloudFormationClient, "CloudFormationClient");
|
321
379
|
var CloudFormationClient = _CloudFormationClient;
|
@@ -2038,7 +2096,7 @@ var se_ValidateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
2038
2096
|
}, "se_ValidateTemplateCommand");
|
2039
2097
|
var de_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2040
2098
|
if (output.statusCode >= 300) {
|
2041
|
-
return
|
2099
|
+
return de_CommandError(output, context);
|
2042
2100
|
}
|
2043
2101
|
const data = await parseBody(output.body, context);
|
2044
2102
|
let contents = {};
|
@@ -2049,31 +2107,9 @@ var de_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output
|
|
2049
2107
|
};
|
2050
2108
|
return response;
|
2051
2109
|
}, "de_ActivateOrganizationsAccessCommand");
|
2052
|
-
var de_ActivateOrganizationsAccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2053
|
-
const parsedOutput = {
|
2054
|
-
...output,
|
2055
|
-
body: await parseErrorBody(output.body, context)
|
2056
|
-
};
|
2057
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2058
|
-
switch (errorCode) {
|
2059
|
-
case "InvalidOperationException":
|
2060
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
2061
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
2062
|
-
case "OperationNotFoundException":
|
2063
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
2064
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
2065
|
-
default:
|
2066
|
-
const parsedBody = parsedOutput.body;
|
2067
|
-
return throwDefaultError({
|
2068
|
-
output,
|
2069
|
-
parsedBody: parsedBody.Error,
|
2070
|
-
errorCode
|
2071
|
-
});
|
2072
|
-
}
|
2073
|
-
}, "de_ActivateOrganizationsAccessCommandError");
|
2074
2110
|
var de_ActivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2075
2111
|
if (output.statusCode >= 300) {
|
2076
|
-
return
|
2112
|
+
return de_CommandError(output, context);
|
2077
2113
|
}
|
2078
2114
|
const data = await parseBody(output.body, context);
|
2079
2115
|
let contents = {};
|
@@ -2084,31 +2120,9 @@ var de_ActivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2084
2120
|
};
|
2085
2121
|
return response;
|
2086
2122
|
}, "de_ActivateTypeCommand");
|
2087
|
-
var de_ActivateTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2088
|
-
const parsedOutput = {
|
2089
|
-
...output,
|
2090
|
-
body: await parseErrorBody(output.body, context)
|
2091
|
-
};
|
2092
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2093
|
-
switch (errorCode) {
|
2094
|
-
case "CFNRegistryException":
|
2095
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
2096
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
2097
|
-
case "TypeNotFoundException":
|
2098
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
2099
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
2100
|
-
default:
|
2101
|
-
const parsedBody = parsedOutput.body;
|
2102
|
-
return throwDefaultError({
|
2103
|
-
output,
|
2104
|
-
parsedBody: parsedBody.Error,
|
2105
|
-
errorCode
|
2106
|
-
});
|
2107
|
-
}
|
2108
|
-
}, "de_ActivateTypeCommandError");
|
2109
2123
|
var de_BatchDescribeTypeConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2110
2124
|
if (output.statusCode >= 300) {
|
2111
|
-
return
|
2125
|
+
return de_CommandError(output, context);
|
2112
2126
|
}
|
2113
2127
|
const data = await parseBody(output.body, context);
|
2114
2128
|
let contents = {};
|
@@ -2119,31 +2133,9 @@ var de_BatchDescribeTypeConfigurationsCommand = /* @__PURE__ */ __name(async (ou
|
|
2119
2133
|
};
|
2120
2134
|
return response;
|
2121
2135
|
}, "de_BatchDescribeTypeConfigurationsCommand");
|
2122
|
-
var de_BatchDescribeTypeConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2123
|
-
const parsedOutput = {
|
2124
|
-
...output,
|
2125
|
-
body: await parseErrorBody(output.body, context)
|
2126
|
-
};
|
2127
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2128
|
-
switch (errorCode) {
|
2129
|
-
case "CFNRegistryException":
|
2130
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
2131
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
2132
|
-
case "TypeConfigurationNotFoundException":
|
2133
|
-
case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
|
2134
|
-
throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
|
2135
|
-
default:
|
2136
|
-
const parsedBody = parsedOutput.body;
|
2137
|
-
return throwDefaultError({
|
2138
|
-
output,
|
2139
|
-
parsedBody: parsedBody.Error,
|
2140
|
-
errorCode
|
2141
|
-
});
|
2142
|
-
}
|
2143
|
-
}, "de_BatchDescribeTypeConfigurationsCommandError");
|
2144
2136
|
var de_CancelUpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2145
2137
|
if (output.statusCode >= 300) {
|
2146
|
-
return
|
2138
|
+
return de_CommandError(output, context);
|
2147
2139
|
}
|
2148
2140
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
2149
2141
|
const response = {
|
@@ -2151,28 +2143,9 @@ var de_CancelUpdateStackCommand = /* @__PURE__ */ __name(async (output, context)
|
|
2151
2143
|
};
|
2152
2144
|
return response;
|
2153
2145
|
}, "de_CancelUpdateStackCommand");
|
2154
|
-
var de_CancelUpdateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2155
|
-
const parsedOutput = {
|
2156
|
-
...output,
|
2157
|
-
body: await parseErrorBody(output.body, context)
|
2158
|
-
};
|
2159
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2160
|
-
switch (errorCode) {
|
2161
|
-
case "TokenAlreadyExistsException":
|
2162
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
2163
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
2164
|
-
default:
|
2165
|
-
const parsedBody = parsedOutput.body;
|
2166
|
-
return throwDefaultError({
|
2167
|
-
output,
|
2168
|
-
parsedBody: parsedBody.Error,
|
2169
|
-
errorCode
|
2170
|
-
});
|
2171
|
-
}
|
2172
|
-
}, "de_CancelUpdateStackCommandError");
|
2173
2146
|
var de_ContinueUpdateRollbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2174
2147
|
if (output.statusCode >= 300) {
|
2175
|
-
return
|
2148
|
+
return de_CommandError(output, context);
|
2176
2149
|
}
|
2177
2150
|
const data = await parseBody(output.body, context);
|
2178
2151
|
let contents = {};
|
@@ -2183,28 +2156,9 @@ var de_ContinueUpdateRollbackCommand = /* @__PURE__ */ __name(async (output, con
|
|
2183
2156
|
};
|
2184
2157
|
return response;
|
2185
2158
|
}, "de_ContinueUpdateRollbackCommand");
|
2186
|
-
var de_ContinueUpdateRollbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2187
|
-
const parsedOutput = {
|
2188
|
-
...output,
|
2189
|
-
body: await parseErrorBody(output.body, context)
|
2190
|
-
};
|
2191
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2192
|
-
switch (errorCode) {
|
2193
|
-
case "TokenAlreadyExistsException":
|
2194
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
2195
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
2196
|
-
default:
|
2197
|
-
const parsedBody = parsedOutput.body;
|
2198
|
-
return throwDefaultError({
|
2199
|
-
output,
|
2200
|
-
parsedBody: parsedBody.Error,
|
2201
|
-
errorCode
|
2202
|
-
});
|
2203
|
-
}
|
2204
|
-
}, "de_ContinueUpdateRollbackCommandError");
|
2205
2159
|
var de_CreateChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2206
2160
|
if (output.statusCode >= 300) {
|
2207
|
-
return
|
2161
|
+
return de_CommandError(output, context);
|
2208
2162
|
}
|
2209
2163
|
const data = await parseBody(output.body, context);
|
2210
2164
|
let contents = {};
|
@@ -2215,34 +2169,9 @@ var de_CreateChangeSetCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
2215
2169
|
};
|
2216
2170
|
return response;
|
2217
2171
|
}, "de_CreateChangeSetCommand");
|
2218
|
-
var de_CreateChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2219
|
-
const parsedOutput = {
|
2220
|
-
...output,
|
2221
|
-
body: await parseErrorBody(output.body, context)
|
2222
|
-
};
|
2223
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2224
|
-
switch (errorCode) {
|
2225
|
-
case "AlreadyExistsException":
|
2226
|
-
case "com.amazonaws.cloudformation#AlreadyExistsException":
|
2227
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
2228
|
-
case "InsufficientCapabilitiesException":
|
2229
|
-
case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
|
2230
|
-
throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
|
2231
|
-
case "LimitExceededException":
|
2232
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
2233
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
2234
|
-
default:
|
2235
|
-
const parsedBody = parsedOutput.body;
|
2236
|
-
return throwDefaultError({
|
2237
|
-
output,
|
2238
|
-
parsedBody: parsedBody.Error,
|
2239
|
-
errorCode
|
2240
|
-
});
|
2241
|
-
}
|
2242
|
-
}, "de_CreateChangeSetCommandError");
|
2243
2172
|
var de_CreateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2244
2173
|
if (output.statusCode >= 300) {
|
2245
|
-
return
|
2174
|
+
return de_CommandError(output, context);
|
2246
2175
|
}
|
2247
2176
|
const data = await parseBody(output.body, context);
|
2248
2177
|
let contents = {};
|
@@ -2253,34 +2182,9 @@ var de_CreateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, co
|
|
2253
2182
|
};
|
2254
2183
|
return response;
|
2255
2184
|
}, "de_CreateGeneratedTemplateCommand");
|
2256
|
-
var de_CreateGeneratedTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2257
|
-
const parsedOutput = {
|
2258
|
-
...output,
|
2259
|
-
body: await parseErrorBody(output.body, context)
|
2260
|
-
};
|
2261
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2262
|
-
switch (errorCode) {
|
2263
|
-
case "AlreadyExistsException":
|
2264
|
-
case "com.amazonaws.cloudformation#AlreadyExistsException":
|
2265
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
2266
|
-
case "ConcurrentResourcesLimitExceeded":
|
2267
|
-
case "com.amazonaws.cloudformation#ConcurrentResourcesLimitExceededException":
|
2268
|
-
throw await de_ConcurrentResourcesLimitExceededExceptionRes(parsedOutput, context);
|
2269
|
-
case "LimitExceededException":
|
2270
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
2271
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
2272
|
-
default:
|
2273
|
-
const parsedBody = parsedOutput.body;
|
2274
|
-
return throwDefaultError({
|
2275
|
-
output,
|
2276
|
-
parsedBody: parsedBody.Error,
|
2277
|
-
errorCode
|
2278
|
-
});
|
2279
|
-
}
|
2280
|
-
}, "de_CreateGeneratedTemplateCommandError");
|
2281
2185
|
var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2282
2186
|
if (output.statusCode >= 300) {
|
2283
|
-
return
|
2187
|
+
return de_CommandError(output, context);
|
2284
2188
|
}
|
2285
2189
|
const data = await parseBody(output.body, context);
|
2286
2190
|
let contents = {};
|
@@ -2291,37 +2195,9 @@ var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2291
2195
|
};
|
2292
2196
|
return response;
|
2293
2197
|
}, "de_CreateStackCommand");
|
2294
|
-
var de_CreateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2295
|
-
const parsedOutput = {
|
2296
|
-
...output,
|
2297
|
-
body: await parseErrorBody(output.body, context)
|
2298
|
-
};
|
2299
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2300
|
-
switch (errorCode) {
|
2301
|
-
case "AlreadyExistsException":
|
2302
|
-
case "com.amazonaws.cloudformation#AlreadyExistsException":
|
2303
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
2304
|
-
case "InsufficientCapabilitiesException":
|
2305
|
-
case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
|
2306
|
-
throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
|
2307
|
-
case "LimitExceededException":
|
2308
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
2309
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
2310
|
-
case "TokenAlreadyExistsException":
|
2311
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
2312
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
2313
|
-
default:
|
2314
|
-
const parsedBody = parsedOutput.body;
|
2315
|
-
return throwDefaultError({
|
2316
|
-
output,
|
2317
|
-
parsedBody: parsedBody.Error,
|
2318
|
-
errorCode
|
2319
|
-
});
|
2320
|
-
}
|
2321
|
-
}, "de_CreateStackCommandError");
|
2322
2198
|
var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2323
2199
|
if (output.statusCode >= 300) {
|
2324
|
-
return
|
2200
|
+
return de_CommandError(output, context);
|
2325
2201
|
}
|
2326
2202
|
const data = await parseBody(output.body, context);
|
2327
2203
|
let contents = {};
|
@@ -2332,43 +2208,9 @@ var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
2332
2208
|
};
|
2333
2209
|
return response;
|
2334
2210
|
}, "de_CreateStackInstancesCommand");
|
2335
|
-
var de_CreateStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2336
|
-
const parsedOutput = {
|
2337
|
-
...output,
|
2338
|
-
body: await parseErrorBody(output.body, context)
|
2339
|
-
};
|
2340
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2341
|
-
switch (errorCode) {
|
2342
|
-
case "InvalidOperationException":
|
2343
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
2344
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
2345
|
-
case "LimitExceededException":
|
2346
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
2347
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
2348
|
-
case "OperationIdAlreadyExistsException":
|
2349
|
-
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
2350
|
-
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
2351
|
-
case "OperationInProgressException":
|
2352
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
2353
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
2354
|
-
case "StackSetNotFoundException":
|
2355
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
2356
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
2357
|
-
case "StaleRequestException":
|
2358
|
-
case "com.amazonaws.cloudformation#StaleRequestException":
|
2359
|
-
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
2360
|
-
default:
|
2361
|
-
const parsedBody = parsedOutput.body;
|
2362
|
-
return throwDefaultError({
|
2363
|
-
output,
|
2364
|
-
parsedBody: parsedBody.Error,
|
2365
|
-
errorCode
|
2366
|
-
});
|
2367
|
-
}
|
2368
|
-
}, "de_CreateStackInstancesCommandError");
|
2369
2211
|
var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2370
2212
|
if (output.statusCode >= 300) {
|
2371
|
-
return
|
2213
|
+
return de_CommandError(output, context);
|
2372
2214
|
}
|
2373
2215
|
const data = await parseBody(output.body, context);
|
2374
2216
|
let contents = {};
|
@@ -2379,34 +2221,9 @@ var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2379
2221
|
};
|
2380
2222
|
return response;
|
2381
2223
|
}, "de_CreateStackSetCommand");
|
2382
|
-
var de_CreateStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2383
|
-
const parsedOutput = {
|
2384
|
-
...output,
|
2385
|
-
body: await parseErrorBody(output.body, context)
|
2386
|
-
};
|
2387
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2388
|
-
switch (errorCode) {
|
2389
|
-
case "CreatedButModifiedException":
|
2390
|
-
case "com.amazonaws.cloudformation#CreatedButModifiedException":
|
2391
|
-
throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
|
2392
|
-
case "LimitExceededException":
|
2393
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
2394
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
2395
|
-
case "NameAlreadyExistsException":
|
2396
|
-
case "com.amazonaws.cloudformation#NameAlreadyExistsException":
|
2397
|
-
throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
|
2398
|
-
default:
|
2399
|
-
const parsedBody = parsedOutput.body;
|
2400
|
-
return throwDefaultError({
|
2401
|
-
output,
|
2402
|
-
parsedBody: parsedBody.Error,
|
2403
|
-
errorCode
|
2404
|
-
});
|
2405
|
-
}
|
2406
|
-
}, "de_CreateStackSetCommandError");
|
2407
2224
|
var de_DeactivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2408
2225
|
if (output.statusCode >= 300) {
|
2409
|
-
return
|
2226
|
+
return de_CommandError(output, context);
|
2410
2227
|
}
|
2411
2228
|
const data = await parseBody(output.body, context);
|
2412
2229
|
let contents = {};
|
@@ -2417,31 +2234,9 @@ var de_DeactivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (outp
|
|
2417
2234
|
};
|
2418
2235
|
return response;
|
2419
2236
|
}, "de_DeactivateOrganizationsAccessCommand");
|
2420
|
-
var de_DeactivateOrganizationsAccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2421
|
-
const parsedOutput = {
|
2422
|
-
...output,
|
2423
|
-
body: await parseErrorBody(output.body, context)
|
2424
|
-
};
|
2425
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2426
|
-
switch (errorCode) {
|
2427
|
-
case "InvalidOperationException":
|
2428
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
2429
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
2430
|
-
case "OperationNotFoundException":
|
2431
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
2432
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
2433
|
-
default:
|
2434
|
-
const parsedBody = parsedOutput.body;
|
2435
|
-
return throwDefaultError({
|
2436
|
-
output,
|
2437
|
-
parsedBody: parsedBody.Error,
|
2438
|
-
errorCode
|
2439
|
-
});
|
2440
|
-
}
|
2441
|
-
}, "de_DeactivateOrganizationsAccessCommandError");
|
2442
2237
|
var de_DeactivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2443
2238
|
if (output.statusCode >= 300) {
|
2444
|
-
return
|
2239
|
+
return de_CommandError(output, context);
|
2445
2240
|
}
|
2446
2241
|
const data = await parseBody(output.body, context);
|
2447
2242
|
let contents = {};
|
@@ -2452,31 +2247,9 @@ var de_DeactivateTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2452
2247
|
};
|
2453
2248
|
return response;
|
2454
2249
|
}, "de_DeactivateTypeCommand");
|
2455
|
-
var de_DeactivateTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2456
|
-
const parsedOutput = {
|
2457
|
-
...output,
|
2458
|
-
body: await parseErrorBody(output.body, context)
|
2459
|
-
};
|
2460
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2461
|
-
switch (errorCode) {
|
2462
|
-
case "CFNRegistryException":
|
2463
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
2464
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
2465
|
-
case "TypeNotFoundException":
|
2466
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
2467
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
2468
|
-
default:
|
2469
|
-
const parsedBody = parsedOutput.body;
|
2470
|
-
return throwDefaultError({
|
2471
|
-
output,
|
2472
|
-
parsedBody: parsedBody.Error,
|
2473
|
-
errorCode
|
2474
|
-
});
|
2475
|
-
}
|
2476
|
-
}, "de_DeactivateTypeCommandError");
|
2477
2250
|
var de_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2478
2251
|
if (output.statusCode >= 300) {
|
2479
|
-
return
|
2252
|
+
return de_CommandError(output, context);
|
2480
2253
|
}
|
2481
2254
|
const data = await parseBody(output.body, context);
|
2482
2255
|
let contents = {};
|
@@ -2487,28 +2260,9 @@ var de_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
2487
2260
|
};
|
2488
2261
|
return response;
|
2489
2262
|
}, "de_DeleteChangeSetCommand");
|
2490
|
-
var de_DeleteChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2491
|
-
const parsedOutput = {
|
2492
|
-
...output,
|
2493
|
-
body: await parseErrorBody(output.body, context)
|
2494
|
-
};
|
2495
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2496
|
-
switch (errorCode) {
|
2497
|
-
case "InvalidChangeSetStatus":
|
2498
|
-
case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
|
2499
|
-
throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
|
2500
|
-
default:
|
2501
|
-
const parsedBody = parsedOutput.body;
|
2502
|
-
return throwDefaultError({
|
2503
|
-
output,
|
2504
|
-
parsedBody: parsedBody.Error,
|
2505
|
-
errorCode
|
2506
|
-
});
|
2507
|
-
}
|
2508
|
-
}, "de_DeleteChangeSetCommandError");
|
2509
2263
|
var de_DeleteGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2510
2264
|
if (output.statusCode >= 300) {
|
2511
|
-
return
|
2265
|
+
return de_CommandError(output, context);
|
2512
2266
|
}
|
2513
2267
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
2514
2268
|
const response = {
|
@@ -2516,31 +2270,9 @@ var de_DeleteGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, co
|
|
2516
2270
|
};
|
2517
2271
|
return response;
|
2518
2272
|
}, "de_DeleteGeneratedTemplateCommand");
|
2519
|
-
var de_DeleteGeneratedTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2520
|
-
const parsedOutput = {
|
2521
|
-
...output,
|
2522
|
-
body: await parseErrorBody(output.body, context)
|
2523
|
-
};
|
2524
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2525
|
-
switch (errorCode) {
|
2526
|
-
case "ConcurrentResourcesLimitExceeded":
|
2527
|
-
case "com.amazonaws.cloudformation#ConcurrentResourcesLimitExceededException":
|
2528
|
-
throw await de_ConcurrentResourcesLimitExceededExceptionRes(parsedOutput, context);
|
2529
|
-
case "GeneratedTemplateNotFound":
|
2530
|
-
case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
|
2531
|
-
throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
|
2532
|
-
default:
|
2533
|
-
const parsedBody = parsedOutput.body;
|
2534
|
-
return throwDefaultError({
|
2535
|
-
output,
|
2536
|
-
parsedBody: parsedBody.Error,
|
2537
|
-
errorCode
|
2538
|
-
});
|
2539
|
-
}
|
2540
|
-
}, "de_DeleteGeneratedTemplateCommandError");
|
2541
2273
|
var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2542
2274
|
if (output.statusCode >= 300) {
|
2543
|
-
return
|
2275
|
+
return de_CommandError(output, context);
|
2544
2276
|
}
|
2545
2277
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
2546
2278
|
const response = {
|
@@ -2548,28 +2280,9 @@ var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2548
2280
|
};
|
2549
2281
|
return response;
|
2550
2282
|
}, "de_DeleteStackCommand");
|
2551
|
-
var de_DeleteStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2552
|
-
const parsedOutput = {
|
2553
|
-
...output,
|
2554
|
-
body: await parseErrorBody(output.body, context)
|
2555
|
-
};
|
2556
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2557
|
-
switch (errorCode) {
|
2558
|
-
case "TokenAlreadyExistsException":
|
2559
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
2560
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
2561
|
-
default:
|
2562
|
-
const parsedBody = parsedOutput.body;
|
2563
|
-
return throwDefaultError({
|
2564
|
-
output,
|
2565
|
-
parsedBody: parsedBody.Error,
|
2566
|
-
errorCode
|
2567
|
-
});
|
2568
|
-
}
|
2569
|
-
}, "de_DeleteStackCommandError");
|
2570
2283
|
var de_DeleteStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2571
2284
|
if (output.statusCode >= 300) {
|
2572
|
-
return
|
2285
|
+
return de_CommandError(output, context);
|
2573
2286
|
}
|
2574
2287
|
const data = await parseBody(output.body, context);
|
2575
2288
|
let contents = {};
|
@@ -2580,40 +2293,9 @@ var de_DeleteStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
2580
2293
|
};
|
2581
2294
|
return response;
|
2582
2295
|
}, "de_DeleteStackInstancesCommand");
|
2583
|
-
var de_DeleteStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2584
|
-
const parsedOutput = {
|
2585
|
-
...output,
|
2586
|
-
body: await parseErrorBody(output.body, context)
|
2587
|
-
};
|
2588
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2589
|
-
switch (errorCode) {
|
2590
|
-
case "InvalidOperationException":
|
2591
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
2592
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
2593
|
-
case "OperationIdAlreadyExistsException":
|
2594
|
-
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
2595
|
-
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
2596
|
-
case "OperationInProgressException":
|
2597
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
2598
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
2599
|
-
case "StackSetNotFoundException":
|
2600
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
2601
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
2602
|
-
case "StaleRequestException":
|
2603
|
-
case "com.amazonaws.cloudformation#StaleRequestException":
|
2604
|
-
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
2605
|
-
default:
|
2606
|
-
const parsedBody = parsedOutput.body;
|
2607
|
-
return throwDefaultError({
|
2608
|
-
output,
|
2609
|
-
parsedBody: parsedBody.Error,
|
2610
|
-
errorCode
|
2611
|
-
});
|
2612
|
-
}
|
2613
|
-
}, "de_DeleteStackInstancesCommandError");
|
2614
2296
|
var de_DeleteStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2615
2297
|
if (output.statusCode >= 300) {
|
2616
|
-
return
|
2298
|
+
return de_CommandError(output, context);
|
2617
2299
|
}
|
2618
2300
|
const data = await parseBody(output.body, context);
|
2619
2301
|
let contents = {};
|
@@ -2624,31 +2306,9 @@ var de_DeleteStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2624
2306
|
};
|
2625
2307
|
return response;
|
2626
2308
|
}, "de_DeleteStackSetCommand");
|
2627
|
-
var de_DeleteStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2628
|
-
const parsedOutput = {
|
2629
|
-
...output,
|
2630
|
-
body: await parseErrorBody(output.body, context)
|
2631
|
-
};
|
2632
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2633
|
-
switch (errorCode) {
|
2634
|
-
case "OperationInProgressException":
|
2635
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
2636
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
2637
|
-
case "StackSetNotEmptyException":
|
2638
|
-
case "com.amazonaws.cloudformation#StackSetNotEmptyException":
|
2639
|
-
throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
|
2640
|
-
default:
|
2641
|
-
const parsedBody = parsedOutput.body;
|
2642
|
-
return throwDefaultError({
|
2643
|
-
output,
|
2644
|
-
parsedBody: parsedBody.Error,
|
2645
|
-
errorCode
|
2646
|
-
});
|
2647
|
-
}
|
2648
|
-
}, "de_DeleteStackSetCommandError");
|
2649
2309
|
var de_DeregisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2650
2310
|
if (output.statusCode >= 300) {
|
2651
|
-
return
|
2311
|
+
return de_CommandError(output, context);
|
2652
2312
|
}
|
2653
2313
|
const data = await parseBody(output.body, context);
|
2654
2314
|
let contents = {};
|
@@ -2659,31 +2319,9 @@ var de_DeregisterTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2659
2319
|
};
|
2660
2320
|
return response;
|
2661
2321
|
}, "de_DeregisterTypeCommand");
|
2662
|
-
var de_DeregisterTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2663
|
-
const parsedOutput = {
|
2664
|
-
...output,
|
2665
|
-
body: await parseErrorBody(output.body, context)
|
2666
|
-
};
|
2667
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2668
|
-
switch (errorCode) {
|
2669
|
-
case "CFNRegistryException":
|
2670
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
2671
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
2672
|
-
case "TypeNotFoundException":
|
2673
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
2674
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
2675
|
-
default:
|
2676
|
-
const parsedBody = parsedOutput.body;
|
2677
|
-
return throwDefaultError({
|
2678
|
-
output,
|
2679
|
-
parsedBody: parsedBody.Error,
|
2680
|
-
errorCode
|
2681
|
-
});
|
2682
|
-
}
|
2683
|
-
}, "de_DeregisterTypeCommandError");
|
2684
2322
|
var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2685
2323
|
if (output.statusCode >= 300) {
|
2686
|
-
return
|
2324
|
+
return de_CommandError(output, context);
|
2687
2325
|
}
|
2688
2326
|
const data = await parseBody(output.body, context);
|
2689
2327
|
let contents = {};
|
@@ -2694,22 +2332,9 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
2694
2332
|
};
|
2695
2333
|
return response;
|
2696
2334
|
}, "de_DescribeAccountLimitsCommand");
|
2697
|
-
var de_DescribeAccountLimitsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2698
|
-
const parsedOutput = {
|
2699
|
-
...output,
|
2700
|
-
body: await parseErrorBody(output.body, context)
|
2701
|
-
};
|
2702
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2703
|
-
const parsedBody = parsedOutput.body;
|
2704
|
-
return throwDefaultError({
|
2705
|
-
output,
|
2706
|
-
parsedBody: parsedBody.Error,
|
2707
|
-
errorCode
|
2708
|
-
});
|
2709
|
-
}, "de_DescribeAccountLimitsCommandError");
|
2710
2335
|
var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2711
2336
|
if (output.statusCode >= 300) {
|
2712
|
-
return
|
2337
|
+
return de_CommandError(output, context);
|
2713
2338
|
}
|
2714
2339
|
const data = await parseBody(output.body, context);
|
2715
2340
|
let contents = {};
|
@@ -2720,28 +2345,9 @@ var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
2720
2345
|
};
|
2721
2346
|
return response;
|
2722
2347
|
}, "de_DescribeChangeSetCommand");
|
2723
|
-
var de_DescribeChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2724
|
-
const parsedOutput = {
|
2725
|
-
...output,
|
2726
|
-
body: await parseErrorBody(output.body, context)
|
2727
|
-
};
|
2728
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2729
|
-
switch (errorCode) {
|
2730
|
-
case "ChangeSetNotFound":
|
2731
|
-
case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
|
2732
|
-
throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
|
2733
|
-
default:
|
2734
|
-
const parsedBody = parsedOutput.body;
|
2735
|
-
return throwDefaultError({
|
2736
|
-
output,
|
2737
|
-
parsedBody: parsedBody.Error,
|
2738
|
-
errorCode
|
2739
|
-
});
|
2740
|
-
}
|
2741
|
-
}, "de_DescribeChangeSetCommandError");
|
2742
2348
|
var de_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2743
2349
|
if (output.statusCode >= 300) {
|
2744
|
-
return
|
2350
|
+
return de_CommandError(output, context);
|
2745
2351
|
}
|
2746
2352
|
const data = await parseBody(output.body, context);
|
2747
2353
|
let contents = {};
|
@@ -2752,28 +2358,9 @@ var de_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (output, con
|
|
2752
2358
|
};
|
2753
2359
|
return response;
|
2754
2360
|
}, "de_DescribeChangeSetHooksCommand");
|
2755
|
-
var de_DescribeChangeSetHooksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2756
|
-
const parsedOutput = {
|
2757
|
-
...output,
|
2758
|
-
body: await parseErrorBody(output.body, context)
|
2759
|
-
};
|
2760
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2761
|
-
switch (errorCode) {
|
2762
|
-
case "ChangeSetNotFound":
|
2763
|
-
case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
|
2764
|
-
throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
|
2765
|
-
default:
|
2766
|
-
const parsedBody = parsedOutput.body;
|
2767
|
-
return throwDefaultError({
|
2768
|
-
output,
|
2769
|
-
parsedBody: parsedBody.Error,
|
2770
|
-
errorCode
|
2771
|
-
});
|
2772
|
-
}
|
2773
|
-
}, "de_DescribeChangeSetHooksCommandError");
|
2774
2361
|
var de_DescribeGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2775
2362
|
if (output.statusCode >= 300) {
|
2776
|
-
return
|
2363
|
+
return de_CommandError(output, context);
|
2777
2364
|
}
|
2778
2365
|
const data = await parseBody(output.body, context);
|
2779
2366
|
let contents = {};
|
@@ -2784,28 +2371,9 @@ var de_DescribeGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
2784
2371
|
};
|
2785
2372
|
return response;
|
2786
2373
|
}, "de_DescribeGeneratedTemplateCommand");
|
2787
|
-
var de_DescribeGeneratedTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2788
|
-
const parsedOutput = {
|
2789
|
-
...output,
|
2790
|
-
body: await parseErrorBody(output.body, context)
|
2791
|
-
};
|
2792
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2793
|
-
switch (errorCode) {
|
2794
|
-
case "GeneratedTemplateNotFound":
|
2795
|
-
case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
|
2796
|
-
throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
|
2797
|
-
default:
|
2798
|
-
const parsedBody = parsedOutput.body;
|
2799
|
-
return throwDefaultError({
|
2800
|
-
output,
|
2801
|
-
parsedBody: parsedBody.Error,
|
2802
|
-
errorCode
|
2803
|
-
});
|
2804
|
-
}
|
2805
|
-
}, "de_DescribeGeneratedTemplateCommandError");
|
2806
2374
|
var de_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2807
2375
|
if (output.statusCode >= 300) {
|
2808
|
-
return
|
2376
|
+
return de_CommandError(output, context);
|
2809
2377
|
}
|
2810
2378
|
const data = await parseBody(output.body, context);
|
2811
2379
|
let contents = {};
|
@@ -2816,31 +2384,9 @@ var de_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output
|
|
2816
2384
|
};
|
2817
2385
|
return response;
|
2818
2386
|
}, "de_DescribeOrganizationsAccessCommand");
|
2819
|
-
var de_DescribeOrganizationsAccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2820
|
-
const parsedOutput = {
|
2821
|
-
...output,
|
2822
|
-
body: await parseErrorBody(output.body, context)
|
2823
|
-
};
|
2824
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2825
|
-
switch (errorCode) {
|
2826
|
-
case "InvalidOperationException":
|
2827
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
2828
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
2829
|
-
case "OperationNotFoundException":
|
2830
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
2831
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
2832
|
-
default:
|
2833
|
-
const parsedBody = parsedOutput.body;
|
2834
|
-
return throwDefaultError({
|
2835
|
-
output,
|
2836
|
-
parsedBody: parsedBody.Error,
|
2837
|
-
errorCode
|
2838
|
-
});
|
2839
|
-
}
|
2840
|
-
}, "de_DescribeOrganizationsAccessCommandError");
|
2841
2387
|
var de_DescribePublisherCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2842
2388
|
if (output.statusCode >= 300) {
|
2843
|
-
return
|
2389
|
+
return de_CommandError(output, context);
|
2844
2390
|
}
|
2845
2391
|
const data = await parseBody(output.body, context);
|
2846
2392
|
let contents = {};
|
@@ -2851,28 +2397,9 @@ var de_DescribePublisherCommand = /* @__PURE__ */ __name(async (output, context)
|
|
2851
2397
|
};
|
2852
2398
|
return response;
|
2853
2399
|
}, "de_DescribePublisherCommand");
|
2854
|
-
var de_DescribePublisherCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2855
|
-
const parsedOutput = {
|
2856
|
-
...output,
|
2857
|
-
body: await parseErrorBody(output.body, context)
|
2858
|
-
};
|
2859
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2860
|
-
switch (errorCode) {
|
2861
|
-
case "CFNRegistryException":
|
2862
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
2863
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
2864
|
-
default:
|
2865
|
-
const parsedBody = parsedOutput.body;
|
2866
|
-
return throwDefaultError({
|
2867
|
-
output,
|
2868
|
-
parsedBody: parsedBody.Error,
|
2869
|
-
errorCode
|
2870
|
-
});
|
2871
|
-
}
|
2872
|
-
}, "de_DescribePublisherCommandError");
|
2873
2400
|
var de_DescribeResourceScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2874
2401
|
if (output.statusCode >= 300) {
|
2875
|
-
return
|
2402
|
+
return de_CommandError(output, context);
|
2876
2403
|
}
|
2877
2404
|
const data = await parseBody(output.body, context);
|
2878
2405
|
let contents = {};
|
@@ -2883,28 +2410,9 @@ var de_DescribeResourceScanCommand = /* @__PURE__ */ __name(async (output, conte
|
|
2883
2410
|
};
|
2884
2411
|
return response;
|
2885
2412
|
}, "de_DescribeResourceScanCommand");
|
2886
|
-
var de_DescribeResourceScanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2887
|
-
const parsedOutput = {
|
2888
|
-
...output,
|
2889
|
-
body: await parseErrorBody(output.body, context)
|
2890
|
-
};
|
2891
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2892
|
-
switch (errorCode) {
|
2893
|
-
case "ResourceScanNotFound":
|
2894
|
-
case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
|
2895
|
-
throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
|
2896
|
-
default:
|
2897
|
-
const parsedBody = parsedOutput.body;
|
2898
|
-
return throwDefaultError({
|
2899
|
-
output,
|
2900
|
-
parsedBody: parsedBody.Error,
|
2901
|
-
errorCode
|
2902
|
-
});
|
2903
|
-
}
|
2904
|
-
}, "de_DescribeResourceScanCommandError");
|
2905
2413
|
var de_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2906
2414
|
if (output.statusCode >= 300) {
|
2907
|
-
return
|
2415
|
+
return de_CommandError(output, context);
|
2908
2416
|
}
|
2909
2417
|
const data = await parseBody(output.body, context);
|
2910
2418
|
let contents = {};
|
@@ -2915,22 +2423,9 @@ var de_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (
|
|
2915
2423
|
};
|
2916
2424
|
return response;
|
2917
2425
|
}, "de_DescribeStackDriftDetectionStatusCommand");
|
2918
|
-
var de_DescribeStackDriftDetectionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2919
|
-
const parsedOutput = {
|
2920
|
-
...output,
|
2921
|
-
body: await parseErrorBody(output.body, context)
|
2922
|
-
};
|
2923
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2924
|
-
const parsedBody = parsedOutput.body;
|
2925
|
-
return throwDefaultError({
|
2926
|
-
output,
|
2927
|
-
parsedBody: parsedBody.Error,
|
2928
|
-
errorCode
|
2929
|
-
});
|
2930
|
-
}, "de_DescribeStackDriftDetectionStatusCommandError");
|
2931
2426
|
var de_DescribeStackEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2932
2427
|
if (output.statusCode >= 300) {
|
2933
|
-
return
|
2428
|
+
return de_CommandError(output, context);
|
2934
2429
|
}
|
2935
2430
|
const data = await parseBody(output.body, context);
|
2936
2431
|
let contents = {};
|
@@ -2941,22 +2436,9 @@ var de_DescribeStackEventsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
2941
2436
|
};
|
2942
2437
|
return response;
|
2943
2438
|
}, "de_DescribeStackEventsCommand");
|
2944
|
-
var de_DescribeStackEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2945
|
-
const parsedOutput = {
|
2946
|
-
...output,
|
2947
|
-
body: await parseErrorBody(output.body, context)
|
2948
|
-
};
|
2949
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2950
|
-
const parsedBody = parsedOutput.body;
|
2951
|
-
return throwDefaultError({
|
2952
|
-
output,
|
2953
|
-
parsedBody: parsedBody.Error,
|
2954
|
-
errorCode
|
2955
|
-
});
|
2956
|
-
}, "de_DescribeStackEventsCommandError");
|
2957
2439
|
var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2958
2440
|
if (output.statusCode >= 300) {
|
2959
|
-
return
|
2441
|
+
return de_CommandError(output, context);
|
2960
2442
|
}
|
2961
2443
|
const data = await parseBody(output.body, context);
|
2962
2444
|
let contents = {};
|
@@ -2967,31 +2449,9 @@ var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
2967
2449
|
};
|
2968
2450
|
return response;
|
2969
2451
|
}, "de_DescribeStackInstanceCommand");
|
2970
|
-
var de_DescribeStackInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
2971
|
-
const parsedOutput = {
|
2972
|
-
...output,
|
2973
|
-
body: await parseErrorBody(output.body, context)
|
2974
|
-
};
|
2975
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
2976
|
-
switch (errorCode) {
|
2977
|
-
case "StackInstanceNotFoundException":
|
2978
|
-
case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
|
2979
|
-
throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
|
2980
|
-
case "StackSetNotFoundException":
|
2981
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
2982
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
2983
|
-
default:
|
2984
|
-
const parsedBody = parsedOutput.body;
|
2985
|
-
return throwDefaultError({
|
2986
|
-
output,
|
2987
|
-
parsedBody: parsedBody.Error,
|
2988
|
-
errorCode
|
2989
|
-
});
|
2990
|
-
}
|
2991
|
-
}, "de_DescribeStackInstanceCommandError");
|
2992
2452
|
var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2993
2453
|
if (output.statusCode >= 300) {
|
2994
|
-
return
|
2454
|
+
return de_CommandError(output, context);
|
2995
2455
|
}
|
2996
2456
|
const data = await parseBody(output.body, context);
|
2997
2457
|
let contents = {};
|
@@ -3002,22 +2462,9 @@ var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
3002
2462
|
};
|
3003
2463
|
return response;
|
3004
2464
|
}, "de_DescribeStackResourceCommand");
|
3005
|
-
var de_DescribeStackResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3006
|
-
const parsedOutput = {
|
3007
|
-
...output,
|
3008
|
-
body: await parseErrorBody(output.body, context)
|
3009
|
-
};
|
3010
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3011
|
-
const parsedBody = parsedOutput.body;
|
3012
|
-
return throwDefaultError({
|
3013
|
-
output,
|
3014
|
-
parsedBody: parsedBody.Error,
|
3015
|
-
errorCode
|
3016
|
-
});
|
3017
|
-
}, "de_DescribeStackResourceCommandError");
|
3018
2465
|
var de_DescribeStackResourceDriftsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3019
2466
|
if (output.statusCode >= 300) {
|
3020
|
-
return
|
2467
|
+
return de_CommandError(output, context);
|
3021
2468
|
}
|
3022
2469
|
const data = await parseBody(output.body, context);
|
3023
2470
|
let contents = {};
|
@@ -3028,22 +2475,9 @@ var de_DescribeStackResourceDriftsCommand = /* @__PURE__ */ __name(async (output
|
|
3028
2475
|
};
|
3029
2476
|
return response;
|
3030
2477
|
}, "de_DescribeStackResourceDriftsCommand");
|
3031
|
-
var de_DescribeStackResourceDriftsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3032
|
-
const parsedOutput = {
|
3033
|
-
...output,
|
3034
|
-
body: await parseErrorBody(output.body, context)
|
3035
|
-
};
|
3036
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3037
|
-
const parsedBody = parsedOutput.body;
|
3038
|
-
return throwDefaultError({
|
3039
|
-
output,
|
3040
|
-
parsedBody: parsedBody.Error,
|
3041
|
-
errorCode
|
3042
|
-
});
|
3043
|
-
}, "de_DescribeStackResourceDriftsCommandError");
|
3044
2478
|
var de_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3045
2479
|
if (output.statusCode >= 300) {
|
3046
|
-
return
|
2480
|
+
return de_CommandError(output, context);
|
3047
2481
|
}
|
3048
2482
|
const data = await parseBody(output.body, context);
|
3049
2483
|
let contents = {};
|
@@ -3054,22 +2488,9 @@ var de_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (output, con
|
|
3054
2488
|
};
|
3055
2489
|
return response;
|
3056
2490
|
}, "de_DescribeStackResourcesCommand");
|
3057
|
-
var de_DescribeStackResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3058
|
-
const parsedOutput = {
|
3059
|
-
...output,
|
3060
|
-
body: await parseErrorBody(output.body, context)
|
3061
|
-
};
|
3062
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3063
|
-
const parsedBody = parsedOutput.body;
|
3064
|
-
return throwDefaultError({
|
3065
|
-
output,
|
3066
|
-
parsedBody: parsedBody.Error,
|
3067
|
-
errorCode
|
3068
|
-
});
|
3069
|
-
}, "de_DescribeStackResourcesCommandError");
|
3070
2491
|
var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3071
2492
|
if (output.statusCode >= 300) {
|
3072
|
-
return
|
2493
|
+
return de_CommandError(output, context);
|
3073
2494
|
}
|
3074
2495
|
const data = await parseBody(output.body, context);
|
3075
2496
|
let contents = {};
|
@@ -3080,22 +2501,9 @@ var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3080
2501
|
};
|
3081
2502
|
return response;
|
3082
2503
|
}, "de_DescribeStacksCommand");
|
3083
|
-
var de_DescribeStacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3084
|
-
const parsedOutput = {
|
3085
|
-
...output,
|
3086
|
-
body: await parseErrorBody(output.body, context)
|
3087
|
-
};
|
3088
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3089
|
-
const parsedBody = parsedOutput.body;
|
3090
|
-
return throwDefaultError({
|
3091
|
-
output,
|
3092
|
-
parsedBody: parsedBody.Error,
|
3093
|
-
errorCode
|
3094
|
-
});
|
3095
|
-
}, "de_DescribeStacksCommandError");
|
3096
2504
|
var de_DescribeStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3097
2505
|
if (output.statusCode >= 300) {
|
3098
|
-
return
|
2506
|
+
return de_CommandError(output, context);
|
3099
2507
|
}
|
3100
2508
|
const data = await parseBody(output.body, context);
|
3101
2509
|
let contents = {};
|
@@ -3106,28 +2514,9 @@ var de_DescribeStackSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3106
2514
|
};
|
3107
2515
|
return response;
|
3108
2516
|
}, "de_DescribeStackSetCommand");
|
3109
|
-
var de_DescribeStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3110
|
-
const parsedOutput = {
|
3111
|
-
...output,
|
3112
|
-
body: await parseErrorBody(output.body, context)
|
3113
|
-
};
|
3114
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3115
|
-
switch (errorCode) {
|
3116
|
-
case "StackSetNotFoundException":
|
3117
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3118
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3119
|
-
default:
|
3120
|
-
const parsedBody = parsedOutput.body;
|
3121
|
-
return throwDefaultError({
|
3122
|
-
output,
|
3123
|
-
parsedBody: parsedBody.Error,
|
3124
|
-
errorCode
|
3125
|
-
});
|
3126
|
-
}
|
3127
|
-
}, "de_DescribeStackSetCommandError");
|
3128
2517
|
var de_DescribeStackSetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3129
2518
|
if (output.statusCode >= 300) {
|
3130
|
-
return
|
2519
|
+
return de_CommandError(output, context);
|
3131
2520
|
}
|
3132
2521
|
const data = await parseBody(output.body, context);
|
3133
2522
|
let contents = {};
|
@@ -3138,31 +2527,9 @@ var de_DescribeStackSetOperationCommand = /* @__PURE__ */ __name(async (output,
|
|
3138
2527
|
};
|
3139
2528
|
return response;
|
3140
2529
|
}, "de_DescribeStackSetOperationCommand");
|
3141
|
-
var de_DescribeStackSetOperationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3142
|
-
const parsedOutput = {
|
3143
|
-
...output,
|
3144
|
-
body: await parseErrorBody(output.body, context)
|
3145
|
-
};
|
3146
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3147
|
-
switch (errorCode) {
|
3148
|
-
case "OperationNotFoundException":
|
3149
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
3150
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
3151
|
-
case "StackSetNotFoundException":
|
3152
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3153
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3154
|
-
default:
|
3155
|
-
const parsedBody = parsedOutput.body;
|
3156
|
-
return throwDefaultError({
|
3157
|
-
output,
|
3158
|
-
parsedBody: parsedBody.Error,
|
3159
|
-
errorCode
|
3160
|
-
});
|
3161
|
-
}
|
3162
|
-
}, "de_DescribeStackSetOperationCommandError");
|
3163
2530
|
var de_DescribeTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3164
2531
|
if (output.statusCode >= 300) {
|
3165
|
-
return
|
2532
|
+
return de_CommandError(output, context);
|
3166
2533
|
}
|
3167
2534
|
const data = await parseBody(output.body, context);
|
3168
2535
|
let contents = {};
|
@@ -3173,31 +2540,9 @@ var de_DescribeTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3173
2540
|
};
|
3174
2541
|
return response;
|
3175
2542
|
}, "de_DescribeTypeCommand");
|
3176
|
-
var de_DescribeTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3177
|
-
const parsedOutput = {
|
3178
|
-
...output,
|
3179
|
-
body: await parseErrorBody(output.body, context)
|
3180
|
-
};
|
3181
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3182
|
-
switch (errorCode) {
|
3183
|
-
case "CFNRegistryException":
|
3184
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
3185
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
3186
|
-
case "TypeNotFoundException":
|
3187
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
3188
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
3189
|
-
default:
|
3190
|
-
const parsedBody = parsedOutput.body;
|
3191
|
-
return throwDefaultError({
|
3192
|
-
output,
|
3193
|
-
parsedBody: parsedBody.Error,
|
3194
|
-
errorCode
|
3195
|
-
});
|
3196
|
-
}
|
3197
|
-
}, "de_DescribeTypeCommandError");
|
3198
2543
|
var de_DescribeTypeRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3199
2544
|
if (output.statusCode >= 300) {
|
3200
|
-
return
|
2545
|
+
return de_CommandError(output, context);
|
3201
2546
|
}
|
3202
2547
|
const data = await parseBody(output.body, context);
|
3203
2548
|
let contents = {};
|
@@ -3208,28 +2553,9 @@ var de_DescribeTypeRegistrationCommand = /* @__PURE__ */ __name(async (output, c
|
|
3208
2553
|
};
|
3209
2554
|
return response;
|
3210
2555
|
}, "de_DescribeTypeRegistrationCommand");
|
3211
|
-
var de_DescribeTypeRegistrationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3212
|
-
const parsedOutput = {
|
3213
|
-
...output,
|
3214
|
-
body: await parseErrorBody(output.body, context)
|
3215
|
-
};
|
3216
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3217
|
-
switch (errorCode) {
|
3218
|
-
case "CFNRegistryException":
|
3219
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
3220
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
3221
|
-
default:
|
3222
|
-
const parsedBody = parsedOutput.body;
|
3223
|
-
return throwDefaultError({
|
3224
|
-
output,
|
3225
|
-
parsedBody: parsedBody.Error,
|
3226
|
-
errorCode
|
3227
|
-
});
|
3228
|
-
}
|
3229
|
-
}, "de_DescribeTypeRegistrationCommandError");
|
3230
2556
|
var de_DetectStackDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3231
2557
|
if (output.statusCode >= 300) {
|
3232
|
-
return
|
2558
|
+
return de_CommandError(output, context);
|
3233
2559
|
}
|
3234
2560
|
const data = await parseBody(output.body, context);
|
3235
2561
|
let contents = {};
|
@@ -3240,22 +2566,9 @@ var de_DetectStackDriftCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3240
2566
|
};
|
3241
2567
|
return response;
|
3242
2568
|
}, "de_DetectStackDriftCommand");
|
3243
|
-
var de_DetectStackDriftCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3244
|
-
const parsedOutput = {
|
3245
|
-
...output,
|
3246
|
-
body: await parseErrorBody(output.body, context)
|
3247
|
-
};
|
3248
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3249
|
-
const parsedBody = parsedOutput.body;
|
3250
|
-
return throwDefaultError({
|
3251
|
-
output,
|
3252
|
-
parsedBody: parsedBody.Error,
|
3253
|
-
errorCode
|
3254
|
-
});
|
3255
|
-
}, "de_DetectStackDriftCommandError");
|
3256
2569
|
var de_DetectStackResourceDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3257
2570
|
if (output.statusCode >= 300) {
|
3258
|
-
return
|
2571
|
+
return de_CommandError(output, context);
|
3259
2572
|
}
|
3260
2573
|
const data = await parseBody(output.body, context);
|
3261
2574
|
let contents = {};
|
@@ -3266,22 +2579,9 @@ var de_DetectStackResourceDriftCommand = /* @__PURE__ */ __name(async (output, c
|
|
3266
2579
|
};
|
3267
2580
|
return response;
|
3268
2581
|
}, "de_DetectStackResourceDriftCommand");
|
3269
|
-
var de_DetectStackResourceDriftCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3270
|
-
const parsedOutput = {
|
3271
|
-
...output,
|
3272
|
-
body: await parseErrorBody(output.body, context)
|
3273
|
-
};
|
3274
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3275
|
-
const parsedBody = parsedOutput.body;
|
3276
|
-
return throwDefaultError({
|
3277
|
-
output,
|
3278
|
-
parsedBody: parsedBody.Error,
|
3279
|
-
errorCode
|
3280
|
-
});
|
3281
|
-
}, "de_DetectStackResourceDriftCommandError");
|
3282
2582
|
var de_DetectStackSetDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3283
2583
|
if (output.statusCode >= 300) {
|
3284
|
-
return
|
2584
|
+
return de_CommandError(output, context);
|
3285
2585
|
}
|
3286
2586
|
const data = await parseBody(output.body, context);
|
3287
2587
|
let contents = {};
|
@@ -3292,34 +2592,9 @@ var de_DetectStackSetDriftCommand = /* @__PURE__ */ __name(async (output, contex
|
|
3292
2592
|
};
|
3293
2593
|
return response;
|
3294
2594
|
}, "de_DetectStackSetDriftCommand");
|
3295
|
-
var de_DetectStackSetDriftCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3296
|
-
const parsedOutput = {
|
3297
|
-
...output,
|
3298
|
-
body: await parseErrorBody(output.body, context)
|
3299
|
-
};
|
3300
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3301
|
-
switch (errorCode) {
|
3302
|
-
case "InvalidOperationException":
|
3303
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
3304
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
3305
|
-
case "OperationInProgressException":
|
3306
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
3307
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
3308
|
-
case "StackSetNotFoundException":
|
3309
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3310
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3311
|
-
default:
|
3312
|
-
const parsedBody = parsedOutput.body;
|
3313
|
-
return throwDefaultError({
|
3314
|
-
output,
|
3315
|
-
parsedBody: parsedBody.Error,
|
3316
|
-
errorCode
|
3317
|
-
});
|
3318
|
-
}
|
3319
|
-
}, "de_DetectStackSetDriftCommandError");
|
3320
2595
|
var de_EstimateTemplateCostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3321
2596
|
if (output.statusCode >= 300) {
|
3322
|
-
return
|
2597
|
+
return de_CommandError(output, context);
|
3323
2598
|
}
|
3324
2599
|
const data = await parseBody(output.body, context);
|
3325
2600
|
let contents = {};
|
@@ -3330,63 +2605,22 @@ var de_EstimateTemplateCostCommand = /* @__PURE__ */ __name(async (output, conte
|
|
3330
2605
|
};
|
3331
2606
|
return response;
|
3332
2607
|
}, "de_EstimateTemplateCostCommand");
|
3333
|
-
var de_EstimateTemplateCostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3334
|
-
const parsedOutput = {
|
3335
|
-
...output,
|
3336
|
-
body: await parseErrorBody(output.body, context)
|
3337
|
-
};
|
3338
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3339
|
-
const parsedBody = parsedOutput.body;
|
3340
|
-
return throwDefaultError({
|
3341
|
-
output,
|
3342
|
-
parsedBody: parsedBody.Error,
|
3343
|
-
errorCode
|
3344
|
-
});
|
3345
|
-
}, "de_EstimateTemplateCostCommandError");
|
3346
2608
|
var de_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3347
|
-
if (output.statusCode >= 300) {
|
3348
|
-
return
|
3349
|
-
}
|
3350
|
-
const data = await parseBody(output.body, context);
|
3351
|
-
let contents = {};
|
3352
|
-
contents = de_ExecuteChangeSetOutput(data.ExecuteChangeSetResult, context);
|
3353
|
-
const response = {
|
3354
|
-
$metadata: deserializeMetadata(output),
|
3355
|
-
...contents
|
3356
|
-
};
|
3357
|
-
return response;
|
3358
|
-
}, "de_ExecuteChangeSetCommand");
|
3359
|
-
var de_ExecuteChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3360
|
-
const parsedOutput = {
|
3361
|
-
...output,
|
3362
|
-
body: await parseErrorBody(output.body, context)
|
3363
|
-
};
|
3364
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3365
|
-
switch (errorCode) {
|
3366
|
-
case "ChangeSetNotFound":
|
3367
|
-
case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
|
3368
|
-
throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
|
3369
|
-
case "InsufficientCapabilitiesException":
|
3370
|
-
case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
|
3371
|
-
throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
|
3372
|
-
case "InvalidChangeSetStatus":
|
3373
|
-
case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
|
3374
|
-
throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
|
3375
|
-
case "TokenAlreadyExistsException":
|
3376
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
3377
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
3378
|
-
default:
|
3379
|
-
const parsedBody = parsedOutput.body;
|
3380
|
-
return throwDefaultError({
|
3381
|
-
output,
|
3382
|
-
parsedBody: parsedBody.Error,
|
3383
|
-
errorCode
|
3384
|
-
});
|
2609
|
+
if (output.statusCode >= 300) {
|
2610
|
+
return de_CommandError(output, context);
|
3385
2611
|
}
|
3386
|
-
|
2612
|
+
const data = await parseBody(output.body, context);
|
2613
|
+
let contents = {};
|
2614
|
+
contents = de_ExecuteChangeSetOutput(data.ExecuteChangeSetResult, context);
|
2615
|
+
const response = {
|
2616
|
+
$metadata: deserializeMetadata(output),
|
2617
|
+
...contents
|
2618
|
+
};
|
2619
|
+
return response;
|
2620
|
+
}, "de_ExecuteChangeSetCommand");
|
3387
2621
|
var de_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3388
2622
|
if (output.statusCode >= 300) {
|
3389
|
-
return
|
2623
|
+
return de_CommandError(output, context);
|
3390
2624
|
}
|
3391
2625
|
const data = await parseBody(output.body, context);
|
3392
2626
|
let contents = {};
|
@@ -3397,28 +2631,9 @@ var de_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, conte
|
|
3397
2631
|
};
|
3398
2632
|
return response;
|
3399
2633
|
}, "de_GetGeneratedTemplateCommand");
|
3400
|
-
var de_GetGeneratedTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3401
|
-
const parsedOutput = {
|
3402
|
-
...output,
|
3403
|
-
body: await parseErrorBody(output.body, context)
|
3404
|
-
};
|
3405
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3406
|
-
switch (errorCode) {
|
3407
|
-
case "GeneratedTemplateNotFound":
|
3408
|
-
case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
|
3409
|
-
throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
|
3410
|
-
default:
|
3411
|
-
const parsedBody = parsedOutput.body;
|
3412
|
-
return throwDefaultError({
|
3413
|
-
output,
|
3414
|
-
parsedBody: parsedBody.Error,
|
3415
|
-
errorCode
|
3416
|
-
});
|
3417
|
-
}
|
3418
|
-
}, "de_GetGeneratedTemplateCommandError");
|
3419
2634
|
var de_GetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3420
2635
|
if (output.statusCode >= 300) {
|
3421
|
-
return
|
2636
|
+
return de_CommandError(output, context);
|
3422
2637
|
}
|
3423
2638
|
const data = await parseBody(output.body, context);
|
3424
2639
|
let contents = {};
|
@@ -3429,22 +2644,9 @@ var de_GetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3429
2644
|
};
|
3430
2645
|
return response;
|
3431
2646
|
}, "de_GetStackPolicyCommand");
|
3432
|
-
var de_GetStackPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3433
|
-
const parsedOutput = {
|
3434
|
-
...output,
|
3435
|
-
body: await parseErrorBody(output.body, context)
|
3436
|
-
};
|
3437
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3438
|
-
const parsedBody = parsedOutput.body;
|
3439
|
-
return throwDefaultError({
|
3440
|
-
output,
|
3441
|
-
parsedBody: parsedBody.Error,
|
3442
|
-
errorCode
|
3443
|
-
});
|
3444
|
-
}, "de_GetStackPolicyCommandError");
|
3445
2647
|
var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3446
2648
|
if (output.statusCode >= 300) {
|
3447
|
-
return
|
2649
|
+
return de_CommandError(output, context);
|
3448
2650
|
}
|
3449
2651
|
const data = await parseBody(output.body, context);
|
3450
2652
|
let contents = {};
|
@@ -3455,28 +2657,9 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3455
2657
|
};
|
3456
2658
|
return response;
|
3457
2659
|
}, "de_GetTemplateCommand");
|
3458
|
-
var de_GetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3459
|
-
const parsedOutput = {
|
3460
|
-
...output,
|
3461
|
-
body: await parseErrorBody(output.body, context)
|
3462
|
-
};
|
3463
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3464
|
-
switch (errorCode) {
|
3465
|
-
case "ChangeSetNotFound":
|
3466
|
-
case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
|
3467
|
-
throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
|
3468
|
-
default:
|
3469
|
-
const parsedBody = parsedOutput.body;
|
3470
|
-
return throwDefaultError({
|
3471
|
-
output,
|
3472
|
-
parsedBody: parsedBody.Error,
|
3473
|
-
errorCode
|
3474
|
-
});
|
3475
|
-
}
|
3476
|
-
}, "de_GetTemplateCommandError");
|
3477
2660
|
var de_GetTemplateSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3478
2661
|
if (output.statusCode >= 300) {
|
3479
|
-
return
|
2662
|
+
return de_CommandError(output, context);
|
3480
2663
|
}
|
3481
2664
|
const data = await parseBody(output.body, context);
|
3482
2665
|
let contents = {};
|
@@ -3487,28 +2670,9 @@ var de_GetTemplateSummaryCommand = /* @__PURE__ */ __name(async (output, context
|
|
3487
2670
|
};
|
3488
2671
|
return response;
|
3489
2672
|
}, "de_GetTemplateSummaryCommand");
|
3490
|
-
var de_GetTemplateSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3491
|
-
const parsedOutput = {
|
3492
|
-
...output,
|
3493
|
-
body: await parseErrorBody(output.body, context)
|
3494
|
-
};
|
3495
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3496
|
-
switch (errorCode) {
|
3497
|
-
case "StackSetNotFoundException":
|
3498
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3499
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3500
|
-
default:
|
3501
|
-
const parsedBody = parsedOutput.body;
|
3502
|
-
return throwDefaultError({
|
3503
|
-
output,
|
3504
|
-
parsedBody: parsedBody.Error,
|
3505
|
-
errorCode
|
3506
|
-
});
|
3507
|
-
}
|
3508
|
-
}, "de_GetTemplateSummaryCommandError");
|
3509
2673
|
var de_ImportStacksToStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3510
2674
|
if (output.statusCode >= 300) {
|
3511
|
-
return
|
2675
|
+
return de_CommandError(output, context);
|
3512
2676
|
}
|
3513
2677
|
const data = await parseBody(output.body, context);
|
3514
2678
|
let contents = {};
|
@@ -3519,46 +2683,9 @@ var de_ImportStacksToStackSetCommand = /* @__PURE__ */ __name(async (output, con
|
|
3519
2683
|
};
|
3520
2684
|
return response;
|
3521
2685
|
}, "de_ImportStacksToStackSetCommand");
|
3522
|
-
var de_ImportStacksToStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3523
|
-
const parsedOutput = {
|
3524
|
-
...output,
|
3525
|
-
body: await parseErrorBody(output.body, context)
|
3526
|
-
};
|
3527
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3528
|
-
switch (errorCode) {
|
3529
|
-
case "InvalidOperationException":
|
3530
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
3531
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
3532
|
-
case "LimitExceededException":
|
3533
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
3534
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
3535
|
-
case "OperationIdAlreadyExistsException":
|
3536
|
-
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
3537
|
-
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
3538
|
-
case "OperationInProgressException":
|
3539
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
3540
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
3541
|
-
case "StackNotFoundException":
|
3542
|
-
case "com.amazonaws.cloudformation#StackNotFoundException":
|
3543
|
-
throw await de_StackNotFoundExceptionRes(parsedOutput, context);
|
3544
|
-
case "StackSetNotFoundException":
|
3545
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3546
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3547
|
-
case "StaleRequestException":
|
3548
|
-
case "com.amazonaws.cloudformation#StaleRequestException":
|
3549
|
-
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
3550
|
-
default:
|
3551
|
-
const parsedBody = parsedOutput.body;
|
3552
|
-
return throwDefaultError({
|
3553
|
-
output,
|
3554
|
-
parsedBody: parsedBody.Error,
|
3555
|
-
errorCode
|
3556
|
-
});
|
3557
|
-
}
|
3558
|
-
}, "de_ImportStacksToStackSetCommandError");
|
3559
2686
|
var de_ListChangeSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3560
2687
|
if (output.statusCode >= 300) {
|
3561
|
-
return
|
2688
|
+
return de_CommandError(output, context);
|
3562
2689
|
}
|
3563
2690
|
const data = await parseBody(output.body, context);
|
3564
2691
|
let contents = {};
|
@@ -3569,22 +2696,9 @@ var de_ListChangeSetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3569
2696
|
};
|
3570
2697
|
return response;
|
3571
2698
|
}, "de_ListChangeSetsCommand");
|
3572
|
-
var de_ListChangeSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3573
|
-
const parsedOutput = {
|
3574
|
-
...output,
|
3575
|
-
body: await parseErrorBody(output.body, context)
|
3576
|
-
};
|
3577
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3578
|
-
const parsedBody = parsedOutput.body;
|
3579
|
-
return throwDefaultError({
|
3580
|
-
output,
|
3581
|
-
parsedBody: parsedBody.Error,
|
3582
|
-
errorCode
|
3583
|
-
});
|
3584
|
-
}, "de_ListChangeSetsCommandError");
|
3585
2699
|
var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3586
2700
|
if (output.statusCode >= 300) {
|
3587
|
-
return
|
2701
|
+
return de_CommandError(output, context);
|
3588
2702
|
}
|
3589
2703
|
const data = await parseBody(output.body, context);
|
3590
2704
|
let contents = {};
|
@@ -3595,22 +2709,9 @@ var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3595
2709
|
};
|
3596
2710
|
return response;
|
3597
2711
|
}, "de_ListExportsCommand");
|
3598
|
-
var de_ListExportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3599
|
-
const parsedOutput = {
|
3600
|
-
...output,
|
3601
|
-
body: await parseErrorBody(output.body, context)
|
3602
|
-
};
|
3603
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3604
|
-
const parsedBody = parsedOutput.body;
|
3605
|
-
return throwDefaultError({
|
3606
|
-
output,
|
3607
|
-
parsedBody: parsedBody.Error,
|
3608
|
-
errorCode
|
3609
|
-
});
|
3610
|
-
}, "de_ListExportsCommandError");
|
3611
2712
|
var de_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3612
2713
|
if (output.statusCode >= 300) {
|
3613
|
-
return
|
2714
|
+
return de_CommandError(output, context);
|
3614
2715
|
}
|
3615
2716
|
const data = await parseBody(output.body, context);
|
3616
2717
|
let contents = {};
|
@@ -3621,22 +2722,9 @@ var de_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (output, con
|
|
3621
2722
|
};
|
3622
2723
|
return response;
|
3623
2724
|
}, "de_ListGeneratedTemplatesCommand");
|
3624
|
-
var de_ListGeneratedTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3625
|
-
const parsedOutput = {
|
3626
|
-
...output,
|
3627
|
-
body: await parseErrorBody(output.body, context)
|
3628
|
-
};
|
3629
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3630
|
-
const parsedBody = parsedOutput.body;
|
3631
|
-
return throwDefaultError({
|
3632
|
-
output,
|
3633
|
-
parsedBody: parsedBody.Error,
|
3634
|
-
errorCode
|
3635
|
-
});
|
3636
|
-
}, "de_ListGeneratedTemplatesCommandError");
|
3637
2725
|
var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3638
2726
|
if (output.statusCode >= 300) {
|
3639
|
-
return
|
2727
|
+
return de_CommandError(output, context);
|
3640
2728
|
}
|
3641
2729
|
const data = await parseBody(output.body, context);
|
3642
2730
|
let contents = {};
|
@@ -3647,22 +2735,9 @@ var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3647
2735
|
};
|
3648
2736
|
return response;
|
3649
2737
|
}, "de_ListImportsCommand");
|
3650
|
-
var de_ListImportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3651
|
-
const parsedOutput = {
|
3652
|
-
...output,
|
3653
|
-
body: await parseErrorBody(output.body, context)
|
3654
|
-
};
|
3655
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3656
|
-
const parsedBody = parsedOutput.body;
|
3657
|
-
return throwDefaultError({
|
3658
|
-
output,
|
3659
|
-
parsedBody: parsedBody.Error,
|
3660
|
-
errorCode
|
3661
|
-
});
|
3662
|
-
}, "de_ListImportsCommandError");
|
3663
2738
|
var de_ListResourceScanRelatedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3664
2739
|
if (output.statusCode >= 300) {
|
3665
|
-
return
|
2740
|
+
return de_CommandError(output, context);
|
3666
2741
|
}
|
3667
2742
|
const data = await parseBody(output.body, context);
|
3668
2743
|
let contents = {};
|
@@ -3673,31 +2748,9 @@ var de_ListResourceScanRelatedResourcesCommand = /* @__PURE__ */ __name(async (o
|
|
3673
2748
|
};
|
3674
2749
|
return response;
|
3675
2750
|
}, "de_ListResourceScanRelatedResourcesCommand");
|
3676
|
-
var de_ListResourceScanRelatedResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3677
|
-
const parsedOutput = {
|
3678
|
-
...output,
|
3679
|
-
body: await parseErrorBody(output.body, context)
|
3680
|
-
};
|
3681
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3682
|
-
switch (errorCode) {
|
3683
|
-
case "ResourceScanInProgress":
|
3684
|
-
case "com.amazonaws.cloudformation#ResourceScanInProgressException":
|
3685
|
-
throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
|
3686
|
-
case "ResourceScanNotFound":
|
3687
|
-
case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
|
3688
|
-
throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
|
3689
|
-
default:
|
3690
|
-
const parsedBody = parsedOutput.body;
|
3691
|
-
return throwDefaultError({
|
3692
|
-
output,
|
3693
|
-
parsedBody: parsedBody.Error,
|
3694
|
-
errorCode
|
3695
|
-
});
|
3696
|
-
}
|
3697
|
-
}, "de_ListResourceScanRelatedResourcesCommandError");
|
3698
2751
|
var de_ListResourceScanResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3699
2752
|
if (output.statusCode >= 300) {
|
3700
|
-
return
|
2753
|
+
return de_CommandError(output, context);
|
3701
2754
|
}
|
3702
2755
|
const data = await parseBody(output.body, context);
|
3703
2756
|
let contents = {};
|
@@ -3708,31 +2761,9 @@ var de_ListResourceScanResourcesCommand = /* @__PURE__ */ __name(async (output,
|
|
3708
2761
|
};
|
3709
2762
|
return response;
|
3710
2763
|
}, "de_ListResourceScanResourcesCommand");
|
3711
|
-
var de_ListResourceScanResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3712
|
-
const parsedOutput = {
|
3713
|
-
...output,
|
3714
|
-
body: await parseErrorBody(output.body, context)
|
3715
|
-
};
|
3716
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3717
|
-
switch (errorCode) {
|
3718
|
-
case "ResourceScanInProgress":
|
3719
|
-
case "com.amazonaws.cloudformation#ResourceScanInProgressException":
|
3720
|
-
throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
|
3721
|
-
case "ResourceScanNotFound":
|
3722
|
-
case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
|
3723
|
-
throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
|
3724
|
-
default:
|
3725
|
-
const parsedBody = parsedOutput.body;
|
3726
|
-
return throwDefaultError({
|
3727
|
-
output,
|
3728
|
-
parsedBody: parsedBody.Error,
|
3729
|
-
errorCode
|
3730
|
-
});
|
3731
|
-
}
|
3732
|
-
}, "de_ListResourceScanResourcesCommandError");
|
3733
2764
|
var de_ListResourceScansCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3734
2765
|
if (output.statusCode >= 300) {
|
3735
|
-
return
|
2766
|
+
return de_CommandError(output, context);
|
3736
2767
|
}
|
3737
2768
|
const data = await parseBody(output.body, context);
|
3738
2769
|
let contents = {};
|
@@ -3743,22 +2774,9 @@ var de_ListResourceScansCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3743
2774
|
};
|
3744
2775
|
return response;
|
3745
2776
|
}, "de_ListResourceScansCommand");
|
3746
|
-
var de_ListResourceScansCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3747
|
-
const parsedOutput = {
|
3748
|
-
...output,
|
3749
|
-
body: await parseErrorBody(output.body, context)
|
3750
|
-
};
|
3751
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3752
|
-
const parsedBody = parsedOutput.body;
|
3753
|
-
return throwDefaultError({
|
3754
|
-
output,
|
3755
|
-
parsedBody: parsedBody.Error,
|
3756
|
-
errorCode
|
3757
|
-
});
|
3758
|
-
}, "de_ListResourceScansCommandError");
|
3759
2777
|
var de_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3760
2778
|
if (output.statusCode >= 300) {
|
3761
|
-
return
|
2779
|
+
return de_CommandError(output, context);
|
3762
2780
|
}
|
3763
2781
|
const data = await parseBody(output.body, context);
|
3764
2782
|
let contents = {};
|
@@ -3769,34 +2787,9 @@ var de_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (ou
|
|
3769
2787
|
};
|
3770
2788
|
return response;
|
3771
2789
|
}, "de_ListStackInstanceResourceDriftsCommand");
|
3772
|
-
var de_ListStackInstanceResourceDriftsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3773
|
-
const parsedOutput = {
|
3774
|
-
...output,
|
3775
|
-
body: await parseErrorBody(output.body, context)
|
3776
|
-
};
|
3777
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3778
|
-
switch (errorCode) {
|
3779
|
-
case "OperationNotFoundException":
|
3780
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
3781
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
3782
|
-
case "StackInstanceNotFoundException":
|
3783
|
-
case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
|
3784
|
-
throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
|
3785
|
-
case "StackSetNotFoundException":
|
3786
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3787
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3788
|
-
default:
|
3789
|
-
const parsedBody = parsedOutput.body;
|
3790
|
-
return throwDefaultError({
|
3791
|
-
output,
|
3792
|
-
parsedBody: parsedBody.Error,
|
3793
|
-
errorCode
|
3794
|
-
});
|
3795
|
-
}
|
3796
|
-
}, "de_ListStackInstanceResourceDriftsCommandError");
|
3797
2790
|
var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3798
2791
|
if (output.statusCode >= 300) {
|
3799
|
-
return
|
2792
|
+
return de_CommandError(output, context);
|
3800
2793
|
}
|
3801
2794
|
const data = await parseBody(output.body, context);
|
3802
2795
|
let contents = {};
|
@@ -3807,28 +2800,9 @@ var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context
|
|
3807
2800
|
};
|
3808
2801
|
return response;
|
3809
2802
|
}, "de_ListStackInstancesCommand");
|
3810
|
-
var de_ListStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3811
|
-
const parsedOutput = {
|
3812
|
-
...output,
|
3813
|
-
body: await parseErrorBody(output.body, context)
|
3814
|
-
};
|
3815
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3816
|
-
switch (errorCode) {
|
3817
|
-
case "StackSetNotFoundException":
|
3818
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3819
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3820
|
-
default:
|
3821
|
-
const parsedBody = parsedOutput.body;
|
3822
|
-
return throwDefaultError({
|
3823
|
-
output,
|
3824
|
-
parsedBody: parsedBody.Error,
|
3825
|
-
errorCode
|
3826
|
-
});
|
3827
|
-
}
|
3828
|
-
}, "de_ListStackInstancesCommandError");
|
3829
2803
|
var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3830
2804
|
if (output.statusCode >= 300) {
|
3831
|
-
return
|
2805
|
+
return de_CommandError(output, context);
|
3832
2806
|
}
|
3833
2807
|
const data = await parseBody(output.body, context);
|
3834
2808
|
let contents = {};
|
@@ -3839,22 +2813,9 @@ var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context
|
|
3839
2813
|
};
|
3840
2814
|
return response;
|
3841
2815
|
}, "de_ListStackResourcesCommand");
|
3842
|
-
var de_ListStackResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3843
|
-
const parsedOutput = {
|
3844
|
-
...output,
|
3845
|
-
body: await parseErrorBody(output.body, context)
|
3846
|
-
};
|
3847
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3848
|
-
const parsedBody = parsedOutput.body;
|
3849
|
-
return throwDefaultError({
|
3850
|
-
output,
|
3851
|
-
parsedBody: parsedBody.Error,
|
3852
|
-
errorCode
|
3853
|
-
});
|
3854
|
-
}, "de_ListStackResourcesCommandError");
|
3855
2816
|
var de_ListStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3856
2817
|
if (output.statusCode >= 300) {
|
3857
|
-
return
|
2818
|
+
return de_CommandError(output, context);
|
3858
2819
|
}
|
3859
2820
|
const data = await parseBody(output.body, context);
|
3860
2821
|
let contents = {};
|
@@ -3864,58 +2825,23 @@ var de_ListStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3864
2825
|
...contents
|
3865
2826
|
};
|
3866
2827
|
return response;
|
3867
|
-
}, "de_ListStacksCommand");
|
3868
|
-
var
|
3869
|
-
|
3870
|
-
|
3871
|
-
body: await parseErrorBody(output.body, context)
|
3872
|
-
};
|
3873
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3874
|
-
const parsedBody = parsedOutput.body;
|
3875
|
-
return throwDefaultError({
|
3876
|
-
output,
|
3877
|
-
parsedBody: parsedBody.Error,
|
3878
|
-
errorCode
|
3879
|
-
});
|
3880
|
-
}, "de_ListStacksCommandError");
|
3881
|
-
var de_ListStackSetOperationResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3882
|
-
if (output.statusCode >= 300) {
|
3883
|
-
return de_ListStackSetOperationResultsCommandError(output, context);
|
3884
|
-
}
|
3885
|
-
const data = await parseBody(output.body, context);
|
3886
|
-
let contents = {};
|
3887
|
-
contents = de_ListStackSetOperationResultsOutput(data.ListStackSetOperationResultsResult, context);
|
3888
|
-
const response = {
|
3889
|
-
$metadata: deserializeMetadata(output),
|
3890
|
-
...contents
|
3891
|
-
};
|
3892
|
-
return response;
|
3893
|
-
}, "de_ListStackSetOperationResultsCommand");
|
3894
|
-
var de_ListStackSetOperationResultsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3895
|
-
const parsedOutput = {
|
3896
|
-
...output,
|
3897
|
-
body: await parseErrorBody(output.body, context)
|
3898
|
-
};
|
3899
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3900
|
-
switch (errorCode) {
|
3901
|
-
case "OperationNotFoundException":
|
3902
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
3903
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
3904
|
-
case "StackSetNotFoundException":
|
3905
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3906
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3907
|
-
default:
|
3908
|
-
const parsedBody = parsedOutput.body;
|
3909
|
-
return throwDefaultError({
|
3910
|
-
output,
|
3911
|
-
parsedBody: parsedBody.Error,
|
3912
|
-
errorCode
|
3913
|
-
});
|
2828
|
+
}, "de_ListStacksCommand");
|
2829
|
+
var de_ListStackSetOperationResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2830
|
+
if (output.statusCode >= 300) {
|
2831
|
+
return de_CommandError(output, context);
|
3914
2832
|
}
|
3915
|
-
|
2833
|
+
const data = await parseBody(output.body, context);
|
2834
|
+
let contents = {};
|
2835
|
+
contents = de_ListStackSetOperationResultsOutput(data.ListStackSetOperationResultsResult, context);
|
2836
|
+
const response = {
|
2837
|
+
$metadata: deserializeMetadata(output),
|
2838
|
+
...contents
|
2839
|
+
};
|
2840
|
+
return response;
|
2841
|
+
}, "de_ListStackSetOperationResultsCommand");
|
3916
2842
|
var de_ListStackSetOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3917
2843
|
if (output.statusCode >= 300) {
|
3918
|
-
return
|
2844
|
+
return de_CommandError(output, context);
|
3919
2845
|
}
|
3920
2846
|
const data = await parseBody(output.body, context);
|
3921
2847
|
let contents = {};
|
@@ -3926,28 +2852,9 @@ var de_ListStackSetOperationsCommand = /* @__PURE__ */ __name(async (output, con
|
|
3926
2852
|
};
|
3927
2853
|
return response;
|
3928
2854
|
}, "de_ListStackSetOperationsCommand");
|
3929
|
-
var de_ListStackSetOperationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3930
|
-
const parsedOutput = {
|
3931
|
-
...output,
|
3932
|
-
body: await parseErrorBody(output.body, context)
|
3933
|
-
};
|
3934
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3935
|
-
switch (errorCode) {
|
3936
|
-
case "StackSetNotFoundException":
|
3937
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3938
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3939
|
-
default:
|
3940
|
-
const parsedBody = parsedOutput.body;
|
3941
|
-
return throwDefaultError({
|
3942
|
-
output,
|
3943
|
-
parsedBody: parsedBody.Error,
|
3944
|
-
errorCode
|
3945
|
-
});
|
3946
|
-
}
|
3947
|
-
}, "de_ListStackSetOperationsCommandError");
|
3948
2855
|
var de_ListStackSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3949
2856
|
if (output.statusCode >= 300) {
|
3950
|
-
return
|
2857
|
+
return de_CommandError(output, context);
|
3951
2858
|
}
|
3952
2859
|
const data = await parseBody(output.body, context);
|
3953
2860
|
let contents = {};
|
@@ -3958,22 +2865,9 @@ var de_ListStackSetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3958
2865
|
};
|
3959
2866
|
return response;
|
3960
2867
|
}, "de_ListStackSetsCommand");
|
3961
|
-
var de_ListStackSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3962
|
-
const parsedOutput = {
|
3963
|
-
...output,
|
3964
|
-
body: await parseErrorBody(output.body, context)
|
3965
|
-
};
|
3966
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3967
|
-
const parsedBody = parsedOutput.body;
|
3968
|
-
return throwDefaultError({
|
3969
|
-
output,
|
3970
|
-
parsedBody: parsedBody.Error,
|
3971
|
-
errorCode
|
3972
|
-
});
|
3973
|
-
}, "de_ListStackSetsCommandError");
|
3974
2868
|
var de_ListTypeRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3975
2869
|
if (output.statusCode >= 300) {
|
3976
|
-
return
|
2870
|
+
return de_CommandError(output, context);
|
3977
2871
|
}
|
3978
2872
|
const data = await parseBody(output.body, context);
|
3979
2873
|
let contents = {};
|
@@ -3984,28 +2878,9 @@ var de_ListTypeRegistrationsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
3984
2878
|
};
|
3985
2879
|
return response;
|
3986
2880
|
}, "de_ListTypeRegistrationsCommand");
|
3987
|
-
var de_ListTypeRegistrationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3988
|
-
const parsedOutput = {
|
3989
|
-
...output,
|
3990
|
-
body: await parseErrorBody(output.body, context)
|
3991
|
-
};
|
3992
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
3993
|
-
switch (errorCode) {
|
3994
|
-
case "CFNRegistryException":
|
3995
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
3996
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
3997
|
-
default:
|
3998
|
-
const parsedBody = parsedOutput.body;
|
3999
|
-
return throwDefaultError({
|
4000
|
-
output,
|
4001
|
-
parsedBody: parsedBody.Error,
|
4002
|
-
errorCode
|
4003
|
-
});
|
4004
|
-
}
|
4005
|
-
}, "de_ListTypeRegistrationsCommandError");
|
4006
2881
|
var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4007
2882
|
if (output.statusCode >= 300) {
|
4008
|
-
return
|
2883
|
+
return de_CommandError(output, context);
|
4009
2884
|
}
|
4010
2885
|
const data = await parseBody(output.body, context);
|
4011
2886
|
let contents = {};
|
@@ -4016,28 +2891,9 @@ var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4016
2891
|
};
|
4017
2892
|
return response;
|
4018
2893
|
}, "de_ListTypesCommand");
|
4019
|
-
var de_ListTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4020
|
-
const parsedOutput = {
|
4021
|
-
...output,
|
4022
|
-
body: await parseErrorBody(output.body, context)
|
4023
|
-
};
|
4024
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4025
|
-
switch (errorCode) {
|
4026
|
-
case "CFNRegistryException":
|
4027
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4028
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4029
|
-
default:
|
4030
|
-
const parsedBody = parsedOutput.body;
|
4031
|
-
return throwDefaultError({
|
4032
|
-
output,
|
4033
|
-
parsedBody: parsedBody.Error,
|
4034
|
-
errorCode
|
4035
|
-
});
|
4036
|
-
}
|
4037
|
-
}, "de_ListTypesCommandError");
|
4038
2894
|
var de_ListTypeVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4039
2895
|
if (output.statusCode >= 300) {
|
4040
|
-
return
|
2896
|
+
return de_CommandError(output, context);
|
4041
2897
|
}
|
4042
2898
|
const data = await parseBody(output.body, context);
|
4043
2899
|
let contents = {};
|
@@ -4048,28 +2904,9 @@ var de_ListTypeVersionsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4048
2904
|
};
|
4049
2905
|
return response;
|
4050
2906
|
}, "de_ListTypeVersionsCommand");
|
4051
|
-
var de_ListTypeVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4052
|
-
const parsedOutput = {
|
4053
|
-
...output,
|
4054
|
-
body: await parseErrorBody(output.body, context)
|
4055
|
-
};
|
4056
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4057
|
-
switch (errorCode) {
|
4058
|
-
case "CFNRegistryException":
|
4059
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4060
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4061
|
-
default:
|
4062
|
-
const parsedBody = parsedOutput.body;
|
4063
|
-
return throwDefaultError({
|
4064
|
-
output,
|
4065
|
-
parsedBody: parsedBody.Error,
|
4066
|
-
errorCode
|
4067
|
-
});
|
4068
|
-
}
|
4069
|
-
}, "de_ListTypeVersionsCommandError");
|
4070
2907
|
var de_PublishTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4071
2908
|
if (output.statusCode >= 300) {
|
4072
|
-
return
|
2909
|
+
return de_CommandError(output, context);
|
4073
2910
|
}
|
4074
2911
|
const data = await parseBody(output.body, context);
|
4075
2912
|
let contents = {};
|
@@ -4080,31 +2917,9 @@ var de_PublishTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4080
2917
|
};
|
4081
2918
|
return response;
|
4082
2919
|
}, "de_PublishTypeCommand");
|
4083
|
-
var de_PublishTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4084
|
-
const parsedOutput = {
|
4085
|
-
...output,
|
4086
|
-
body: await parseErrorBody(output.body, context)
|
4087
|
-
};
|
4088
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4089
|
-
switch (errorCode) {
|
4090
|
-
case "CFNRegistryException":
|
4091
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4092
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4093
|
-
case "TypeNotFoundException":
|
4094
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
4095
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
4096
|
-
default:
|
4097
|
-
const parsedBody = parsedOutput.body;
|
4098
|
-
return throwDefaultError({
|
4099
|
-
output,
|
4100
|
-
parsedBody: parsedBody.Error,
|
4101
|
-
errorCode
|
4102
|
-
});
|
4103
|
-
}
|
4104
|
-
}, "de_PublishTypeCommandError");
|
4105
2920
|
var de_RecordHandlerProgressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4106
2921
|
if (output.statusCode >= 300) {
|
4107
|
-
return
|
2922
|
+
return de_CommandError(output, context);
|
4108
2923
|
}
|
4109
2924
|
const data = await parseBody(output.body, context);
|
4110
2925
|
let contents = {};
|
@@ -4115,31 +2930,9 @@ var de_RecordHandlerProgressCommand = /* @__PURE__ */ __name(async (output, cont
|
|
4115
2930
|
};
|
4116
2931
|
return response;
|
4117
2932
|
}, "de_RecordHandlerProgressCommand");
|
4118
|
-
var de_RecordHandlerProgressCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4119
|
-
const parsedOutput = {
|
4120
|
-
...output,
|
4121
|
-
body: await parseErrorBody(output.body, context)
|
4122
|
-
};
|
4123
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4124
|
-
switch (errorCode) {
|
4125
|
-
case "ConditionalCheckFailed":
|
4126
|
-
case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
|
4127
|
-
throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
|
4128
|
-
case "InvalidStateTransition":
|
4129
|
-
case "com.amazonaws.cloudformation#InvalidStateTransitionException":
|
4130
|
-
throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
|
4131
|
-
default:
|
4132
|
-
const parsedBody = parsedOutput.body;
|
4133
|
-
return throwDefaultError({
|
4134
|
-
output,
|
4135
|
-
parsedBody: parsedBody.Error,
|
4136
|
-
errorCode
|
4137
|
-
});
|
4138
|
-
}
|
4139
|
-
}, "de_RecordHandlerProgressCommandError");
|
4140
2933
|
var de_RegisterPublisherCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4141
2934
|
if (output.statusCode >= 300) {
|
4142
|
-
return
|
2935
|
+
return de_CommandError(output, context);
|
4143
2936
|
}
|
4144
2937
|
const data = await parseBody(output.body, context);
|
4145
2938
|
let contents = {};
|
@@ -4150,28 +2943,9 @@ var de_RegisterPublisherCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4150
2943
|
};
|
4151
2944
|
return response;
|
4152
2945
|
}, "de_RegisterPublisherCommand");
|
4153
|
-
var de_RegisterPublisherCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4154
|
-
const parsedOutput = {
|
4155
|
-
...output,
|
4156
|
-
body: await parseErrorBody(output.body, context)
|
4157
|
-
};
|
4158
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4159
|
-
switch (errorCode) {
|
4160
|
-
case "CFNRegistryException":
|
4161
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4162
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4163
|
-
default:
|
4164
|
-
const parsedBody = parsedOutput.body;
|
4165
|
-
return throwDefaultError({
|
4166
|
-
output,
|
4167
|
-
parsedBody: parsedBody.Error,
|
4168
|
-
errorCode
|
4169
|
-
});
|
4170
|
-
}
|
4171
|
-
}, "de_RegisterPublisherCommandError");
|
4172
2946
|
var de_RegisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4173
2947
|
if (output.statusCode >= 300) {
|
4174
|
-
return
|
2948
|
+
return de_CommandError(output, context);
|
4175
2949
|
}
|
4176
2950
|
const data = await parseBody(output.body, context);
|
4177
2951
|
let contents = {};
|
@@ -4182,28 +2956,9 @@ var de_RegisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4182
2956
|
};
|
4183
2957
|
return response;
|
4184
2958
|
}, "de_RegisterTypeCommand");
|
4185
|
-
var de_RegisterTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4186
|
-
const parsedOutput = {
|
4187
|
-
...output,
|
4188
|
-
body: await parseErrorBody(output.body, context)
|
4189
|
-
};
|
4190
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4191
|
-
switch (errorCode) {
|
4192
|
-
case "CFNRegistryException":
|
4193
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4194
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4195
|
-
default:
|
4196
|
-
const parsedBody = parsedOutput.body;
|
4197
|
-
return throwDefaultError({
|
4198
|
-
output,
|
4199
|
-
parsedBody: parsedBody.Error,
|
4200
|
-
errorCode
|
4201
|
-
});
|
4202
|
-
}
|
4203
|
-
}, "de_RegisterTypeCommandError");
|
4204
2959
|
var de_RollbackStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4205
2960
|
if (output.statusCode >= 300) {
|
4206
|
-
return
|
2961
|
+
return de_CommandError(output, context);
|
4207
2962
|
}
|
4208
2963
|
const data = await parseBody(output.body, context);
|
4209
2964
|
let contents = {};
|
@@ -4214,28 +2969,9 @@ var de_RollbackStackCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4214
2969
|
};
|
4215
2970
|
return response;
|
4216
2971
|
}, "de_RollbackStackCommand");
|
4217
|
-
var de_RollbackStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4218
|
-
const parsedOutput = {
|
4219
|
-
...output,
|
4220
|
-
body: await parseErrorBody(output.body, context)
|
4221
|
-
};
|
4222
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4223
|
-
switch (errorCode) {
|
4224
|
-
case "TokenAlreadyExistsException":
|
4225
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
4226
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
4227
|
-
default:
|
4228
|
-
const parsedBody = parsedOutput.body;
|
4229
|
-
return throwDefaultError({
|
4230
|
-
output,
|
4231
|
-
parsedBody: parsedBody.Error,
|
4232
|
-
errorCode
|
4233
|
-
});
|
4234
|
-
}
|
4235
|
-
}, "de_RollbackStackCommandError");
|
4236
2972
|
var de_SetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4237
2973
|
if (output.statusCode >= 300) {
|
4238
|
-
return
|
2974
|
+
return de_CommandError(output, context);
|
4239
2975
|
}
|
4240
2976
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
4241
2977
|
const response = {
|
@@ -4243,22 +2979,9 @@ var de_SetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4243
2979
|
};
|
4244
2980
|
return response;
|
4245
2981
|
}, "de_SetStackPolicyCommand");
|
4246
|
-
var de_SetStackPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4247
|
-
const parsedOutput = {
|
4248
|
-
...output,
|
4249
|
-
body: await parseErrorBody(output.body, context)
|
4250
|
-
};
|
4251
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4252
|
-
const parsedBody = parsedOutput.body;
|
4253
|
-
return throwDefaultError({
|
4254
|
-
output,
|
4255
|
-
parsedBody: parsedBody.Error,
|
4256
|
-
errorCode
|
4257
|
-
});
|
4258
|
-
}, "de_SetStackPolicyCommandError");
|
4259
2982
|
var de_SetTypeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4260
2983
|
if (output.statusCode >= 300) {
|
4261
|
-
return
|
2984
|
+
return de_CommandError(output, context);
|
4262
2985
|
}
|
4263
2986
|
const data = await parseBody(output.body, context);
|
4264
2987
|
let contents = {};
|
@@ -4269,31 +2992,9 @@ var de_SetTypeConfigurationCommand = /* @__PURE__ */ __name(async (output, conte
|
|
4269
2992
|
};
|
4270
2993
|
return response;
|
4271
2994
|
}, "de_SetTypeConfigurationCommand");
|
4272
|
-
var de_SetTypeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4273
|
-
const parsedOutput = {
|
4274
|
-
...output,
|
4275
|
-
body: await parseErrorBody(output.body, context)
|
4276
|
-
};
|
4277
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4278
|
-
switch (errorCode) {
|
4279
|
-
case "CFNRegistryException":
|
4280
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4281
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4282
|
-
case "TypeNotFoundException":
|
4283
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
4284
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
4285
|
-
default:
|
4286
|
-
const parsedBody = parsedOutput.body;
|
4287
|
-
return throwDefaultError({
|
4288
|
-
output,
|
4289
|
-
parsedBody: parsedBody.Error,
|
4290
|
-
errorCode
|
4291
|
-
});
|
4292
|
-
}
|
4293
|
-
}, "de_SetTypeConfigurationCommandError");
|
4294
2995
|
var de_SetTypeDefaultVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4295
2996
|
if (output.statusCode >= 300) {
|
4296
|
-
return
|
2997
|
+
return de_CommandError(output, context);
|
4297
2998
|
}
|
4298
2999
|
const data = await parseBody(output.body, context);
|
4299
3000
|
let contents = {};
|
@@ -4304,31 +3005,9 @@ var de_SetTypeDefaultVersionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
4304
3005
|
};
|
4305
3006
|
return response;
|
4306
3007
|
}, "de_SetTypeDefaultVersionCommand");
|
4307
|
-
var de_SetTypeDefaultVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4308
|
-
const parsedOutput = {
|
4309
|
-
...output,
|
4310
|
-
body: await parseErrorBody(output.body, context)
|
4311
|
-
};
|
4312
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4313
|
-
switch (errorCode) {
|
4314
|
-
case "CFNRegistryException":
|
4315
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4316
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4317
|
-
case "TypeNotFoundException":
|
4318
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
4319
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
4320
|
-
default:
|
4321
|
-
const parsedBody = parsedOutput.body;
|
4322
|
-
return throwDefaultError({
|
4323
|
-
output,
|
4324
|
-
parsedBody: parsedBody.Error,
|
4325
|
-
errorCode
|
4326
|
-
});
|
4327
|
-
}
|
4328
|
-
}, "de_SetTypeDefaultVersionCommandError");
|
4329
3008
|
var de_SignalResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4330
3009
|
if (output.statusCode >= 300) {
|
4331
|
-
return
|
3010
|
+
return de_CommandError(output, context);
|
4332
3011
|
}
|
4333
3012
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
4334
3013
|
const response = {
|
@@ -4336,57 +3015,22 @@ var de_SignalResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4336
3015
|
};
|
4337
3016
|
return response;
|
4338
3017
|
}, "de_SignalResourceCommand");
|
4339
|
-
var de_SignalResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4340
|
-
const parsedOutput = {
|
4341
|
-
...output,
|
4342
|
-
body: await parseErrorBody(output.body, context)
|
4343
|
-
};
|
4344
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4345
|
-
const parsedBody = parsedOutput.body;
|
4346
|
-
return throwDefaultError({
|
4347
|
-
output,
|
4348
|
-
parsedBody: parsedBody.Error,
|
4349
|
-
errorCode
|
4350
|
-
});
|
4351
|
-
}, "de_SignalResourceCommandError");
|
4352
3018
|
var de_StartResourceScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4353
3019
|
if (output.statusCode >= 300) {
|
4354
|
-
return
|
3020
|
+
return de_CommandError(output, context);
|
4355
3021
|
}
|
4356
3022
|
const data = await parseBody(output.body, context);
|
4357
3023
|
let contents = {};
|
4358
|
-
contents = de_StartResourceScanOutput(data.StartResourceScanResult, context);
|
4359
|
-
const response = {
|
4360
|
-
$metadata: deserializeMetadata(output),
|
4361
|
-
...contents
|
4362
|
-
};
|
4363
|
-
return response;
|
4364
|
-
}, "de_StartResourceScanCommand");
|
4365
|
-
var de_StartResourceScanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4366
|
-
const parsedOutput = {
|
4367
|
-
...output,
|
4368
|
-
body: await parseErrorBody(output.body, context)
|
4369
|
-
};
|
4370
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4371
|
-
switch (errorCode) {
|
4372
|
-
case "ResourceScanInProgress":
|
4373
|
-
case "com.amazonaws.cloudformation#ResourceScanInProgressException":
|
4374
|
-
throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
|
4375
|
-
case "ResourceScanLimitExceeded":
|
4376
|
-
case "com.amazonaws.cloudformation#ResourceScanLimitExceededException":
|
4377
|
-
throw await de_ResourceScanLimitExceededExceptionRes(parsedOutput, context);
|
4378
|
-
default:
|
4379
|
-
const parsedBody = parsedOutput.body;
|
4380
|
-
return throwDefaultError({
|
4381
|
-
output,
|
4382
|
-
parsedBody: parsedBody.Error,
|
4383
|
-
errorCode
|
4384
|
-
});
|
4385
|
-
}
|
4386
|
-
}, "de_StartResourceScanCommandError");
|
3024
|
+
contents = de_StartResourceScanOutput(data.StartResourceScanResult, context);
|
3025
|
+
const response = {
|
3026
|
+
$metadata: deserializeMetadata(output),
|
3027
|
+
...contents
|
3028
|
+
};
|
3029
|
+
return response;
|
3030
|
+
}, "de_StartResourceScanCommand");
|
4387
3031
|
var de_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4388
3032
|
if (output.statusCode >= 300) {
|
4389
|
-
return
|
3033
|
+
return de_CommandError(output, context);
|
4390
3034
|
}
|
4391
3035
|
const data = await parseBody(output.body, context);
|
4392
3036
|
let contents = {};
|
@@ -4397,34 +3041,9 @@ var de_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (output, cont
|
|
4397
3041
|
};
|
4398
3042
|
return response;
|
4399
3043
|
}, "de_StopStackSetOperationCommand");
|
4400
|
-
var de_StopStackSetOperationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4401
|
-
const parsedOutput = {
|
4402
|
-
...output,
|
4403
|
-
body: await parseErrorBody(output.body, context)
|
4404
|
-
};
|
4405
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4406
|
-
switch (errorCode) {
|
4407
|
-
case "InvalidOperationException":
|
4408
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
4409
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
4410
|
-
case "OperationNotFoundException":
|
4411
|
-
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
4412
|
-
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
4413
|
-
case "StackSetNotFoundException":
|
4414
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
4415
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
4416
|
-
default:
|
4417
|
-
const parsedBody = parsedOutput.body;
|
4418
|
-
return throwDefaultError({
|
4419
|
-
output,
|
4420
|
-
parsedBody: parsedBody.Error,
|
4421
|
-
errorCode
|
4422
|
-
});
|
4423
|
-
}
|
4424
|
-
}, "de_StopStackSetOperationCommandError");
|
4425
3044
|
var de_TestTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4426
3045
|
if (output.statusCode >= 300) {
|
4427
|
-
return
|
3046
|
+
return de_CommandError(output, context);
|
4428
3047
|
}
|
4429
3048
|
const data = await parseBody(output.body, context);
|
4430
3049
|
let contents = {};
|
@@ -4435,31 +3054,9 @@ var de_TestTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4435
3054
|
};
|
4436
3055
|
return response;
|
4437
3056
|
}, "de_TestTypeCommand");
|
4438
|
-
var de_TestTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4439
|
-
const parsedOutput = {
|
4440
|
-
...output,
|
4441
|
-
body: await parseErrorBody(output.body, context)
|
4442
|
-
};
|
4443
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4444
|
-
switch (errorCode) {
|
4445
|
-
case "CFNRegistryException":
|
4446
|
-
case "com.amazonaws.cloudformation#CFNRegistryException":
|
4447
|
-
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
4448
|
-
case "TypeNotFoundException":
|
4449
|
-
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
4450
|
-
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
4451
|
-
default:
|
4452
|
-
const parsedBody = parsedOutput.body;
|
4453
|
-
return throwDefaultError({
|
4454
|
-
output,
|
4455
|
-
parsedBody: parsedBody.Error,
|
4456
|
-
errorCode
|
4457
|
-
});
|
4458
|
-
}
|
4459
|
-
}, "de_TestTypeCommandError");
|
4460
3057
|
var de_UpdateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4461
3058
|
if (output.statusCode >= 300) {
|
4462
|
-
return
|
3059
|
+
return de_CommandError(output, context);
|
4463
3060
|
}
|
4464
3061
|
const data = await parseBody(output.body, context);
|
4465
3062
|
let contents = {};
|
@@ -4470,34 +3067,9 @@ var de_UpdateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, co
|
|
4470
3067
|
};
|
4471
3068
|
return response;
|
4472
3069
|
}, "de_UpdateGeneratedTemplateCommand");
|
4473
|
-
var de_UpdateGeneratedTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4474
|
-
const parsedOutput = {
|
4475
|
-
...output,
|
4476
|
-
body: await parseErrorBody(output.body, context)
|
4477
|
-
};
|
4478
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4479
|
-
switch (errorCode) {
|
4480
|
-
case "AlreadyExistsException":
|
4481
|
-
case "com.amazonaws.cloudformation#AlreadyExistsException":
|
4482
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
4483
|
-
case "GeneratedTemplateNotFound":
|
4484
|
-
case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
|
4485
|
-
throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
|
4486
|
-
case "LimitExceededException":
|
4487
|
-
case "com.amazonaws.cloudformation#LimitExceededException":
|
4488
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
4489
|
-
default:
|
4490
|
-
const parsedBody = parsedOutput.body;
|
4491
|
-
return throwDefaultError({
|
4492
|
-
output,
|
4493
|
-
parsedBody: parsedBody.Error,
|
4494
|
-
errorCode
|
4495
|
-
});
|
4496
|
-
}
|
4497
|
-
}, "de_UpdateGeneratedTemplateCommandError");
|
4498
3070
|
var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4499
3071
|
if (output.statusCode >= 300) {
|
4500
|
-
return
|
3072
|
+
return de_CommandError(output, context);
|
4501
3073
|
}
|
4502
3074
|
const data = await parseBody(output.body, context);
|
4503
3075
|
let contents = {};
|
@@ -4508,31 +3080,9 @@ var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4508
3080
|
};
|
4509
3081
|
return response;
|
4510
3082
|
}, "de_UpdateStackCommand");
|
4511
|
-
var de_UpdateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4512
|
-
const parsedOutput = {
|
4513
|
-
...output,
|
4514
|
-
body: await parseErrorBody(output.body, context)
|
4515
|
-
};
|
4516
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4517
|
-
switch (errorCode) {
|
4518
|
-
case "InsufficientCapabilitiesException":
|
4519
|
-
case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
|
4520
|
-
throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
|
4521
|
-
case "TokenAlreadyExistsException":
|
4522
|
-
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
4523
|
-
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
4524
|
-
default:
|
4525
|
-
const parsedBody = parsedOutput.body;
|
4526
|
-
return throwDefaultError({
|
4527
|
-
output,
|
4528
|
-
parsedBody: parsedBody.Error,
|
4529
|
-
errorCode
|
4530
|
-
});
|
4531
|
-
}
|
4532
|
-
}, "de_UpdateStackCommandError");
|
4533
3083
|
var de_UpdateStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4534
3084
|
if (output.statusCode >= 300) {
|
4535
|
-
return
|
3085
|
+
return de_CommandError(output, context);
|
4536
3086
|
}
|
4537
3087
|
const data = await parseBody(output.body, context);
|
4538
3088
|
let contents = {};
|
@@ -4543,43 +3093,9 @@ var de_UpdateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
4543
3093
|
};
|
4544
3094
|
return response;
|
4545
3095
|
}, "de_UpdateStackInstancesCommand");
|
4546
|
-
var de_UpdateStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4547
|
-
const parsedOutput = {
|
4548
|
-
...output,
|
4549
|
-
body: await parseErrorBody(output.body, context)
|
4550
|
-
};
|
4551
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4552
|
-
switch (errorCode) {
|
4553
|
-
case "InvalidOperationException":
|
4554
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
4555
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
4556
|
-
case "OperationIdAlreadyExistsException":
|
4557
|
-
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
4558
|
-
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
4559
|
-
case "OperationInProgressException":
|
4560
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
4561
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
4562
|
-
case "StackInstanceNotFoundException":
|
4563
|
-
case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
|
4564
|
-
throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
|
4565
|
-
case "StackSetNotFoundException":
|
4566
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
4567
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
4568
|
-
case "StaleRequestException":
|
4569
|
-
case "com.amazonaws.cloudformation#StaleRequestException":
|
4570
|
-
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
4571
|
-
default:
|
4572
|
-
const parsedBody = parsedOutput.body;
|
4573
|
-
return throwDefaultError({
|
4574
|
-
output,
|
4575
|
-
parsedBody: parsedBody.Error,
|
4576
|
-
errorCode
|
4577
|
-
});
|
4578
|
-
}
|
4579
|
-
}, "de_UpdateStackInstancesCommandError");
|
4580
3096
|
var de_UpdateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4581
3097
|
if (output.statusCode >= 300) {
|
4582
|
-
return
|
3098
|
+
return de_CommandError(output, context);
|
4583
3099
|
}
|
4584
3100
|
const data = await parseBody(output.body, context);
|
4585
3101
|
let contents = {};
|
@@ -4590,43 +3106,9 @@ var de_UpdateStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4590
3106
|
};
|
4591
3107
|
return response;
|
4592
3108
|
}, "de_UpdateStackSetCommand");
|
4593
|
-
var de_UpdateStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4594
|
-
const parsedOutput = {
|
4595
|
-
...output,
|
4596
|
-
body: await parseErrorBody(output.body, context)
|
4597
|
-
};
|
4598
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4599
|
-
switch (errorCode) {
|
4600
|
-
case "InvalidOperationException":
|
4601
|
-
case "com.amazonaws.cloudformation#InvalidOperationException":
|
4602
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
4603
|
-
case "OperationIdAlreadyExistsException":
|
4604
|
-
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
4605
|
-
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
4606
|
-
case "OperationInProgressException":
|
4607
|
-
case "com.amazonaws.cloudformation#OperationInProgressException":
|
4608
|
-
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
4609
|
-
case "StackInstanceNotFoundException":
|
4610
|
-
case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
|
4611
|
-
throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
|
4612
|
-
case "StackSetNotFoundException":
|
4613
|
-
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
4614
|
-
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
4615
|
-
case "StaleRequestException":
|
4616
|
-
case "com.amazonaws.cloudformation#StaleRequestException":
|
4617
|
-
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
4618
|
-
default:
|
4619
|
-
const parsedBody = parsedOutput.body;
|
4620
|
-
return throwDefaultError({
|
4621
|
-
output,
|
4622
|
-
parsedBody: parsedBody.Error,
|
4623
|
-
errorCode
|
4624
|
-
});
|
4625
|
-
}
|
4626
|
-
}, "de_UpdateStackSetCommandError");
|
4627
3109
|
var de_UpdateTerminationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4628
3110
|
if (output.statusCode >= 300) {
|
4629
|
-
return
|
3111
|
+
return de_CommandError(output, context);
|
4630
3112
|
}
|
4631
3113
|
const data = await parseBody(output.body, context);
|
4632
3114
|
let contents = {};
|
@@ -4637,22 +3119,9 @@ var de_UpdateTerminationProtectionCommand = /* @__PURE__ */ __name(async (output
|
|
4637
3119
|
};
|
4638
3120
|
return response;
|
4639
3121
|
}, "de_UpdateTerminationProtectionCommand");
|
4640
|
-
var de_UpdateTerminationProtectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4641
|
-
const parsedOutput = {
|
4642
|
-
...output,
|
4643
|
-
body: await parseErrorBody(output.body, context)
|
4644
|
-
};
|
4645
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4646
|
-
const parsedBody = parsedOutput.body;
|
4647
|
-
return throwDefaultError({
|
4648
|
-
output,
|
4649
|
-
parsedBody: parsedBody.Error,
|
4650
|
-
errorCode
|
4651
|
-
});
|
4652
|
-
}, "de_UpdateTerminationProtectionCommandError");
|
4653
3122
|
var de_ValidateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4654
3123
|
if (output.statusCode >= 300) {
|
4655
|
-
return
|
3124
|
+
return de_CommandError(output, context);
|
4656
3125
|
}
|
4657
3126
|
const data = await parseBody(output.body, context);
|
4658
3127
|
let contents = {};
|
@@ -4663,19 +3132,103 @@ var de_ValidateTemplateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4663
3132
|
};
|
4664
3133
|
return response;
|
4665
3134
|
}, "de_ValidateTemplateCommand");
|
4666
|
-
var
|
3135
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4667
3136
|
const parsedOutput = {
|
4668
3137
|
...output,
|
4669
3138
|
body: await parseErrorBody(output.body, context)
|
4670
3139
|
};
|
4671
3140
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4672
|
-
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4676
|
-
|
4677
|
-
|
4678
|
-
|
3141
|
+
switch (errorCode) {
|
3142
|
+
case "InvalidOperationException":
|
3143
|
+
case "com.amazonaws.cloudformation#InvalidOperationException":
|
3144
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
3145
|
+
case "OperationNotFoundException":
|
3146
|
+
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
3147
|
+
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
3148
|
+
case "CFNRegistryException":
|
3149
|
+
case "com.amazonaws.cloudformation#CFNRegistryException":
|
3150
|
+
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
3151
|
+
case "TypeNotFoundException":
|
3152
|
+
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
3153
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
3154
|
+
case "TypeConfigurationNotFoundException":
|
3155
|
+
case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
|
3156
|
+
throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
|
3157
|
+
case "TokenAlreadyExistsException":
|
3158
|
+
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
3159
|
+
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
3160
|
+
case "AlreadyExistsException":
|
3161
|
+
case "com.amazonaws.cloudformation#AlreadyExistsException":
|
3162
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
3163
|
+
case "InsufficientCapabilitiesException":
|
3164
|
+
case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
|
3165
|
+
throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
|
3166
|
+
case "LimitExceededException":
|
3167
|
+
case "com.amazonaws.cloudformation#LimitExceededException":
|
3168
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
3169
|
+
case "ConcurrentResourcesLimitExceeded":
|
3170
|
+
case "com.amazonaws.cloudformation#ConcurrentResourcesLimitExceededException":
|
3171
|
+
throw await de_ConcurrentResourcesLimitExceededExceptionRes(parsedOutput, context);
|
3172
|
+
case "OperationIdAlreadyExistsException":
|
3173
|
+
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
3174
|
+
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
3175
|
+
case "OperationInProgressException":
|
3176
|
+
case "com.amazonaws.cloudformation#OperationInProgressException":
|
3177
|
+
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
3178
|
+
case "StackSetNotFoundException":
|
3179
|
+
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3180
|
+
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3181
|
+
case "StaleRequestException":
|
3182
|
+
case "com.amazonaws.cloudformation#StaleRequestException":
|
3183
|
+
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
3184
|
+
case "CreatedButModifiedException":
|
3185
|
+
case "com.amazonaws.cloudformation#CreatedButModifiedException":
|
3186
|
+
throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
|
3187
|
+
case "NameAlreadyExistsException":
|
3188
|
+
case "com.amazonaws.cloudformation#NameAlreadyExistsException":
|
3189
|
+
throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
|
3190
|
+
case "InvalidChangeSetStatus":
|
3191
|
+
case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
|
3192
|
+
throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
|
3193
|
+
case "GeneratedTemplateNotFound":
|
3194
|
+
case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
|
3195
|
+
throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
|
3196
|
+
case "StackSetNotEmptyException":
|
3197
|
+
case "com.amazonaws.cloudformation#StackSetNotEmptyException":
|
3198
|
+
throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
|
3199
|
+
case "ChangeSetNotFound":
|
3200
|
+
case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
|
3201
|
+
throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
|
3202
|
+
case "ResourceScanNotFound":
|
3203
|
+
case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
|
3204
|
+
throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
|
3205
|
+
case "StackInstanceNotFoundException":
|
3206
|
+
case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
|
3207
|
+
throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
|
3208
|
+
case "StackNotFoundException":
|
3209
|
+
case "com.amazonaws.cloudformation#StackNotFoundException":
|
3210
|
+
throw await de_StackNotFoundExceptionRes(parsedOutput, context);
|
3211
|
+
case "ResourceScanInProgress":
|
3212
|
+
case "com.amazonaws.cloudformation#ResourceScanInProgressException":
|
3213
|
+
throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
|
3214
|
+
case "ConditionalCheckFailed":
|
3215
|
+
case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
|
3216
|
+
throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
|
3217
|
+
case "InvalidStateTransition":
|
3218
|
+
case "com.amazonaws.cloudformation#InvalidStateTransitionException":
|
3219
|
+
throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
|
3220
|
+
case "ResourceScanLimitExceeded":
|
3221
|
+
case "com.amazonaws.cloudformation#ResourceScanLimitExceededException":
|
3222
|
+
throw await de_ResourceScanLimitExceededExceptionRes(parsedOutput, context);
|
3223
|
+
default:
|
3224
|
+
const parsedBody = parsedOutput.body;
|
3225
|
+
return throwDefaultError({
|
3226
|
+
output,
|
3227
|
+
parsedBody: parsedBody.Error,
|
3228
|
+
errorCode
|
3229
|
+
});
|
3230
|
+
}
|
3231
|
+
}, "de_CommandError");
|
4679
3232
|
var de_AlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
4680
3233
|
const body = parsedOutput.body;
|
4681
3234
|
const deserialized = de_AlreadyExistsException(body.Error, context);
|
@@ -12155,7 +10708,7 @@ var CloudFormation = _CloudFormation;
|
|
12155
10708
|
(0, import_smithy_client.createAggregatedClient)(commands, CloudFormation);
|
12156
10709
|
|
12157
10710
|
// src/pagination/DescribeAccountLimitsPaginator.ts
|
12158
|
-
|
10711
|
+
|
12159
10712
|
var paginateDescribeAccountLimits = (0, import_core.createPaginator)(CloudFormationClient, DescribeAccountLimitsCommand, "NextToken", "NextToken", "");
|
12160
10713
|
|
12161
10714
|
// src/pagination/DescribeStackEventsPaginator.ts
|