@cdk8s/awscdk-resolver 0.0.57 → 0.0.58
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/index.js +191 -1696
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +180 -1685
- package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -90
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +8 -89
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +30 -135
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +29 -134
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +14 -14
- 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 +12 -12
- package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -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 +1 -1
- 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-signing/dist-cjs/index.js +10 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js +6 -2
- package/node_modules/@aws-sdk/middleware-signing/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
@@ -2038,7 +2038,7 @@ var se_ValidateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
2038
2038
|
}, "se_ValidateTemplateCommand");
|
2039
2039
|
var de_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2040
2040
|
if (output.statusCode >= 300) {
|
2041
|
-
return
|
2041
|
+
return de_CommandError(output, context);
|
2042
2042
|
}
|
2043
2043
|
const data = await parseBody(output.body, context);
|
2044
2044
|
let contents = {};
|
@@ -2049,31 +2049,9 @@ var de_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output
|
|
2049
2049
|
};
|
2050
2050
|
return response;
|
2051
2051
|
}, "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
2052
|
var de_ActivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2075
2053
|
if (output.statusCode >= 300) {
|
2076
|
-
return
|
2054
|
+
return de_CommandError(output, context);
|
2077
2055
|
}
|
2078
2056
|
const data = await parseBody(output.body, context);
|
2079
2057
|
let contents = {};
|
@@ -2084,31 +2062,9 @@ var de_ActivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2084
2062
|
};
|
2085
2063
|
return response;
|
2086
2064
|
}, "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
2065
|
var de_BatchDescribeTypeConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2110
2066
|
if (output.statusCode >= 300) {
|
2111
|
-
return
|
2067
|
+
return de_CommandError(output, context);
|
2112
2068
|
}
|
2113
2069
|
const data = await parseBody(output.body, context);
|
2114
2070
|
let contents = {};
|
@@ -2119,31 +2075,9 @@ var de_BatchDescribeTypeConfigurationsCommand = /* @__PURE__ */ __name(async (ou
|
|
2119
2075
|
};
|
2120
2076
|
return response;
|
2121
2077
|
}, "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
2078
|
var de_CancelUpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2145
2079
|
if (output.statusCode >= 300) {
|
2146
|
-
return
|
2080
|
+
return de_CommandError(output, context);
|
2147
2081
|
}
|
2148
2082
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
2149
2083
|
const response = {
|
@@ -2151,28 +2085,9 @@ var de_CancelUpdateStackCommand = /* @__PURE__ */ __name(async (output, context)
|
|
2151
2085
|
};
|
2152
2086
|
return response;
|
2153
2087
|
}, "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
2088
|
var de_ContinueUpdateRollbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2174
2089
|
if (output.statusCode >= 300) {
|
2175
|
-
return
|
2090
|
+
return de_CommandError(output, context);
|
2176
2091
|
}
|
2177
2092
|
const data = await parseBody(output.body, context);
|
2178
2093
|
let contents = {};
|
@@ -2183,28 +2098,9 @@ var de_ContinueUpdateRollbackCommand = /* @__PURE__ */ __name(async (output, con
|
|
2183
2098
|
};
|
2184
2099
|
return response;
|
2185
2100
|
}, "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
2101
|
var de_CreateChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2206
2102
|
if (output.statusCode >= 300) {
|
2207
|
-
return
|
2103
|
+
return de_CommandError(output, context);
|
2208
2104
|
}
|
2209
2105
|
const data = await parseBody(output.body, context);
|
2210
2106
|
let contents = {};
|
@@ -2215,34 +2111,9 @@ var de_CreateChangeSetCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
2215
2111
|
};
|
2216
2112
|
return response;
|
2217
2113
|
}, "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
2114
|
var de_CreateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2244
2115
|
if (output.statusCode >= 300) {
|
2245
|
-
return
|
2116
|
+
return de_CommandError(output, context);
|
2246
2117
|
}
|
2247
2118
|
const data = await parseBody(output.body, context);
|
2248
2119
|
let contents = {};
|
@@ -2253,34 +2124,9 @@ var de_CreateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, co
|
|
2253
2124
|
};
|
2254
2125
|
return response;
|
2255
2126
|
}, "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
2127
|
var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2282
2128
|
if (output.statusCode >= 300) {
|
2283
|
-
return
|
2129
|
+
return de_CommandError(output, context);
|
2284
2130
|
}
|
2285
2131
|
const data = await parseBody(output.body, context);
|
2286
2132
|
let contents = {};
|
@@ -2291,37 +2137,9 @@ var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2291
2137
|
};
|
2292
2138
|
return response;
|
2293
2139
|
}, "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
2140
|
var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2323
2141
|
if (output.statusCode >= 300) {
|
2324
|
-
return
|
2142
|
+
return de_CommandError(output, context);
|
2325
2143
|
}
|
2326
2144
|
const data = await parseBody(output.body, context);
|
2327
2145
|
let contents = {};
|
@@ -2332,43 +2150,9 @@ var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
2332
2150
|
};
|
2333
2151
|
return response;
|
2334
2152
|
}, "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
2153
|
var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2370
2154
|
if (output.statusCode >= 300) {
|
2371
|
-
return
|
2155
|
+
return de_CommandError(output, context);
|
2372
2156
|
}
|
2373
2157
|
const data = await parseBody(output.body, context);
|
2374
2158
|
let contents = {};
|
@@ -2379,34 +2163,9 @@ var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2379
2163
|
};
|
2380
2164
|
return response;
|
2381
2165
|
}, "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
2166
|
var de_DeactivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2408
2167
|
if (output.statusCode >= 300) {
|
2409
|
-
return
|
2168
|
+
return de_CommandError(output, context);
|
2410
2169
|
}
|
2411
2170
|
const data = await parseBody(output.body, context);
|
2412
2171
|
let contents = {};
|
@@ -2417,31 +2176,9 @@ var de_DeactivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (outp
|
|
2417
2176
|
};
|
2418
2177
|
return response;
|
2419
2178
|
}, "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
2179
|
var de_DeactivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2443
2180
|
if (output.statusCode >= 300) {
|
2444
|
-
return
|
2181
|
+
return de_CommandError(output, context);
|
2445
2182
|
}
|
2446
2183
|
const data = await parseBody(output.body, context);
|
2447
2184
|
let contents = {};
|
@@ -2452,63 +2189,22 @@ var de_DeactivateTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2452
2189
|
};
|
2453
2190
|
return response;
|
2454
2191
|
}, "de_DeactivateTypeCommand");
|
2455
|
-
var
|
2456
|
-
|
2457
|
-
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
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
|
-
var de_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2478
|
-
if (output.statusCode >= 300) {
|
2479
|
-
return de_DeleteChangeSetCommandError(output, context);
|
2480
|
-
}
|
2481
|
-
const data = await parseBody(output.body, context);
|
2482
|
-
let contents = {};
|
2483
|
-
contents = de_DeleteChangeSetOutput(data.DeleteChangeSetResult, context);
|
2484
|
-
const response = {
|
2485
|
-
$metadata: deserializeMetadata(output),
|
2486
|
-
...contents
|
2192
|
+
var de_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2193
|
+
if (output.statusCode >= 300) {
|
2194
|
+
return de_CommandError(output, context);
|
2195
|
+
}
|
2196
|
+
const data = await parseBody(output.body, context);
|
2197
|
+
let contents = {};
|
2198
|
+
contents = de_DeleteChangeSetOutput(data.DeleteChangeSetResult, context);
|
2199
|
+
const response = {
|
2200
|
+
$metadata: deserializeMetadata(output),
|
2201
|
+
...contents
|
2487
2202
|
};
|
2488
2203
|
return response;
|
2489
2204
|
}, "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
2205
|
var de_DeleteGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2510
2206
|
if (output.statusCode >= 300) {
|
2511
|
-
return
|
2207
|
+
return de_CommandError(output, context);
|
2512
2208
|
}
|
2513
2209
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
2514
2210
|
const response = {
|
@@ -2516,31 +2212,9 @@ var de_DeleteGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, co
|
|
2516
2212
|
};
|
2517
2213
|
return response;
|
2518
2214
|
}, "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
2215
|
var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2542
2216
|
if (output.statusCode >= 300) {
|
2543
|
-
return
|
2217
|
+
return de_CommandError(output, context);
|
2544
2218
|
}
|
2545
2219
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
2546
2220
|
const response = {
|
@@ -2548,28 +2222,9 @@ var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2548
2222
|
};
|
2549
2223
|
return response;
|
2550
2224
|
}, "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
2225
|
var de_DeleteStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2571
2226
|
if (output.statusCode >= 300) {
|
2572
|
-
return
|
2227
|
+
return de_CommandError(output, context);
|
2573
2228
|
}
|
2574
2229
|
const data = await parseBody(output.body, context);
|
2575
2230
|
let contents = {};
|
@@ -2580,40 +2235,9 @@ var de_DeleteStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
2580
2235
|
};
|
2581
2236
|
return response;
|
2582
2237
|
}, "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
2238
|
var de_DeleteStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2615
2239
|
if (output.statusCode >= 300) {
|
2616
|
-
return
|
2240
|
+
return de_CommandError(output, context);
|
2617
2241
|
}
|
2618
2242
|
const data = await parseBody(output.body, context);
|
2619
2243
|
let contents = {};
|
@@ -2624,31 +2248,9 @@ var de_DeleteStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2624
2248
|
};
|
2625
2249
|
return response;
|
2626
2250
|
}, "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
2251
|
var de_DeregisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2650
2252
|
if (output.statusCode >= 300) {
|
2651
|
-
return
|
2253
|
+
return de_CommandError(output, context);
|
2652
2254
|
}
|
2653
2255
|
const data = await parseBody(output.body, context);
|
2654
2256
|
let contents = {};
|
@@ -2659,31 +2261,9 @@ var de_DeregisterTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
2659
2261
|
};
|
2660
2262
|
return response;
|
2661
2263
|
}, "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
2264
|
var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2685
2265
|
if (output.statusCode >= 300) {
|
2686
|
-
return
|
2266
|
+
return de_CommandError(output, context);
|
2687
2267
|
}
|
2688
2268
|
const data = await parseBody(output.body, context);
|
2689
2269
|
let contents = {};
|
@@ -2694,22 +2274,9 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
2694
2274
|
};
|
2695
2275
|
return response;
|
2696
2276
|
}, "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
2277
|
var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2711
2278
|
if (output.statusCode >= 300) {
|
2712
|
-
return
|
2279
|
+
return de_CommandError(output, context);
|
2713
2280
|
}
|
2714
2281
|
const data = await parseBody(output.body, context);
|
2715
2282
|
let contents = {};
|
@@ -2720,28 +2287,9 @@ var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
2720
2287
|
};
|
2721
2288
|
return response;
|
2722
2289
|
}, "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
2290
|
var de_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2743
2291
|
if (output.statusCode >= 300) {
|
2744
|
-
return
|
2292
|
+
return de_CommandError(output, context);
|
2745
2293
|
}
|
2746
2294
|
const data = await parseBody(output.body, context);
|
2747
2295
|
let contents = {};
|
@@ -2752,28 +2300,9 @@ var de_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (output, con
|
|
2752
2300
|
};
|
2753
2301
|
return response;
|
2754
2302
|
}, "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
2303
|
var de_DescribeGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2775
2304
|
if (output.statusCode >= 300) {
|
2776
|
-
return
|
2305
|
+
return de_CommandError(output, context);
|
2777
2306
|
}
|
2778
2307
|
const data = await parseBody(output.body, context);
|
2779
2308
|
let contents = {};
|
@@ -2784,28 +2313,9 @@ var de_DescribeGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
2784
2313
|
};
|
2785
2314
|
return response;
|
2786
2315
|
}, "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
2316
|
var de_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2807
2317
|
if (output.statusCode >= 300) {
|
2808
|
-
return
|
2318
|
+
return de_CommandError(output, context);
|
2809
2319
|
}
|
2810
2320
|
const data = await parseBody(output.body, context);
|
2811
2321
|
let contents = {};
|
@@ -2816,31 +2326,9 @@ var de_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output
|
|
2816
2326
|
};
|
2817
2327
|
return response;
|
2818
2328
|
}, "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
2329
|
var de_DescribePublisherCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2842
2330
|
if (output.statusCode >= 300) {
|
2843
|
-
return
|
2331
|
+
return de_CommandError(output, context);
|
2844
2332
|
}
|
2845
2333
|
const data = await parseBody(output.body, context);
|
2846
2334
|
let contents = {};
|
@@ -2851,28 +2339,9 @@ var de_DescribePublisherCommand = /* @__PURE__ */ __name(async (output, context)
|
|
2851
2339
|
};
|
2852
2340
|
return response;
|
2853
2341
|
}, "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
2342
|
var de_DescribeResourceScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2874
2343
|
if (output.statusCode >= 300) {
|
2875
|
-
return
|
2344
|
+
return de_CommandError(output, context);
|
2876
2345
|
}
|
2877
2346
|
const data = await parseBody(output.body, context);
|
2878
2347
|
let contents = {};
|
@@ -2883,54 +2352,22 @@ var de_DescribeResourceScanCommand = /* @__PURE__ */ __name(async (output, conte
|
|
2883
2352
|
};
|
2884
2353
|
return response;
|
2885
2354
|
}, "de_DescribeResourceScanCommand");
|
2886
|
-
var
|
2887
|
-
|
2888
|
-
|
2889
|
-
|
2890
|
-
|
2891
|
-
|
2892
|
-
|
2893
|
-
|
2894
|
-
|
2895
|
-
|
2896
|
-
default:
|
2897
|
-
const parsedBody = parsedOutput.body;
|
2898
|
-
return throwDefaultError({
|
2899
|
-
output,
|
2900
|
-
parsedBody: parsedBody.Error,
|
2901
|
-
errorCode
|
2902
|
-
});
|
2903
|
-
}
|
2904
|
-
}, "de_DescribeResourceScanCommandError");
|
2905
|
-
var de_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2906
|
-
if (output.statusCode >= 300) {
|
2907
|
-
return de_DescribeStackDriftDetectionStatusCommandError(output, context);
|
2908
|
-
}
|
2909
|
-
const data = await parseBody(output.body, context);
|
2910
|
-
let contents = {};
|
2911
|
-
contents = de_DescribeStackDriftDetectionStatusOutput(data.DescribeStackDriftDetectionStatusResult, context);
|
2912
|
-
const response = {
|
2913
|
-
$metadata: deserializeMetadata(output),
|
2914
|
-
...contents
|
2355
|
+
var de_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2356
|
+
if (output.statusCode >= 300) {
|
2357
|
+
return de_CommandError(output, context);
|
2358
|
+
}
|
2359
|
+
const data = await parseBody(output.body, context);
|
2360
|
+
let contents = {};
|
2361
|
+
contents = de_DescribeStackDriftDetectionStatusOutput(data.DescribeStackDriftDetectionStatusResult, context);
|
2362
|
+
const response = {
|
2363
|
+
$metadata: deserializeMetadata(output),
|
2364
|
+
...contents
|
2915
2365
|
};
|
2916
2366
|
return response;
|
2917
2367
|
}, "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
2368
|
var de_DescribeStackEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2932
2369
|
if (output.statusCode >= 300) {
|
2933
|
-
return
|
2370
|
+
return de_CommandError(output, context);
|
2934
2371
|
}
|
2935
2372
|
const data = await parseBody(output.body, context);
|
2936
2373
|
let contents = {};
|
@@ -2941,22 +2378,9 @@ var de_DescribeStackEventsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
2941
2378
|
};
|
2942
2379
|
return response;
|
2943
2380
|
}, "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
2381
|
var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2958
2382
|
if (output.statusCode >= 300) {
|
2959
|
-
return
|
2383
|
+
return de_CommandError(output, context);
|
2960
2384
|
}
|
2961
2385
|
const data = await parseBody(output.body, context);
|
2962
2386
|
let contents = {};
|
@@ -2967,31 +2391,9 @@ var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
2967
2391
|
};
|
2968
2392
|
return response;
|
2969
2393
|
}, "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
2394
|
var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
2993
2395
|
if (output.statusCode >= 300) {
|
2994
|
-
return
|
2396
|
+
return de_CommandError(output, context);
|
2995
2397
|
}
|
2996
2398
|
const data = await parseBody(output.body, context);
|
2997
2399
|
let contents = {};
|
@@ -3002,22 +2404,9 @@ var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
3002
2404
|
};
|
3003
2405
|
return response;
|
3004
2406
|
}, "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
2407
|
var de_DescribeStackResourceDriftsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3019
2408
|
if (output.statusCode >= 300) {
|
3020
|
-
return
|
2409
|
+
return de_CommandError(output, context);
|
3021
2410
|
}
|
3022
2411
|
const data = await parseBody(output.body, context);
|
3023
2412
|
let contents = {};
|
@@ -3028,22 +2417,9 @@ var de_DescribeStackResourceDriftsCommand = /* @__PURE__ */ __name(async (output
|
|
3028
2417
|
};
|
3029
2418
|
return response;
|
3030
2419
|
}, "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
2420
|
var de_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3045
2421
|
if (output.statusCode >= 300) {
|
3046
|
-
return
|
2422
|
+
return de_CommandError(output, context);
|
3047
2423
|
}
|
3048
2424
|
const data = await parseBody(output.body, context);
|
3049
2425
|
let contents = {};
|
@@ -3054,22 +2430,9 @@ var de_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (output, con
|
|
3054
2430
|
};
|
3055
2431
|
return response;
|
3056
2432
|
}, "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
2433
|
var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3071
2434
|
if (output.statusCode >= 300) {
|
3072
|
-
return
|
2435
|
+
return de_CommandError(output, context);
|
3073
2436
|
}
|
3074
2437
|
const data = await parseBody(output.body, context);
|
3075
2438
|
let contents = {};
|
@@ -3080,22 +2443,9 @@ var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3080
2443
|
};
|
3081
2444
|
return response;
|
3082
2445
|
}, "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
2446
|
var de_DescribeStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3097
2447
|
if (output.statusCode >= 300) {
|
3098
|
-
return
|
2448
|
+
return de_CommandError(output, context);
|
3099
2449
|
}
|
3100
2450
|
const data = await parseBody(output.body, context);
|
3101
2451
|
let contents = {};
|
@@ -3106,28 +2456,9 @@ var de_DescribeStackSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3106
2456
|
};
|
3107
2457
|
return response;
|
3108
2458
|
}, "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
2459
|
var de_DescribeStackSetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3129
2460
|
if (output.statusCode >= 300) {
|
3130
|
-
return
|
2461
|
+
return de_CommandError(output, context);
|
3131
2462
|
}
|
3132
2463
|
const data = await parseBody(output.body, context);
|
3133
2464
|
let contents = {};
|
@@ -3138,31 +2469,9 @@ var de_DescribeStackSetOperationCommand = /* @__PURE__ */ __name(async (output,
|
|
3138
2469
|
};
|
3139
2470
|
return response;
|
3140
2471
|
}, "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
2472
|
var de_DescribeTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3164
2473
|
if (output.statusCode >= 300) {
|
3165
|
-
return
|
2474
|
+
return de_CommandError(output, context);
|
3166
2475
|
}
|
3167
2476
|
const data = await parseBody(output.body, context);
|
3168
2477
|
let contents = {};
|
@@ -3173,31 +2482,9 @@ var de_DescribeTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3173
2482
|
};
|
3174
2483
|
return response;
|
3175
2484
|
}, "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
2485
|
var de_DescribeTypeRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3199
2486
|
if (output.statusCode >= 300) {
|
3200
|
-
return
|
2487
|
+
return de_CommandError(output, context);
|
3201
2488
|
}
|
3202
2489
|
const data = await parseBody(output.body, context);
|
3203
2490
|
let contents = {};
|
@@ -3208,28 +2495,9 @@ var de_DescribeTypeRegistrationCommand = /* @__PURE__ */ __name(async (output, c
|
|
3208
2495
|
};
|
3209
2496
|
return response;
|
3210
2497
|
}, "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
2498
|
var de_DetectStackDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3231
2499
|
if (output.statusCode >= 300) {
|
3232
|
-
return
|
2500
|
+
return de_CommandError(output, context);
|
3233
2501
|
}
|
3234
2502
|
const data = await parseBody(output.body, context);
|
3235
2503
|
let contents = {};
|
@@ -3240,22 +2508,9 @@ var de_DetectStackDriftCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3240
2508
|
};
|
3241
2509
|
return response;
|
3242
2510
|
}, "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
2511
|
var de_DetectStackResourceDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3257
2512
|
if (output.statusCode >= 300) {
|
3258
|
-
return
|
2513
|
+
return de_CommandError(output, context);
|
3259
2514
|
}
|
3260
2515
|
const data = await parseBody(output.body, context);
|
3261
2516
|
let contents = {};
|
@@ -3266,22 +2521,9 @@ var de_DetectStackResourceDriftCommand = /* @__PURE__ */ __name(async (output, c
|
|
3266
2521
|
};
|
3267
2522
|
return response;
|
3268
2523
|
}, "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
2524
|
var de_DetectStackSetDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3283
2525
|
if (output.statusCode >= 300) {
|
3284
|
-
return
|
2526
|
+
return de_CommandError(output, context);
|
3285
2527
|
}
|
3286
2528
|
const data = await parseBody(output.body, context);
|
3287
2529
|
let contents = {};
|
@@ -3292,34 +2534,9 @@ var de_DetectStackSetDriftCommand = /* @__PURE__ */ __name(async (output, contex
|
|
3292
2534
|
};
|
3293
2535
|
return response;
|
3294
2536
|
}, "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
2537
|
var de_EstimateTemplateCostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3321
2538
|
if (output.statusCode >= 300) {
|
3322
|
-
return
|
2539
|
+
return de_CommandError(output, context);
|
3323
2540
|
}
|
3324
2541
|
const data = await parseBody(output.body, context);
|
3325
2542
|
let contents = {};
|
@@ -3330,22 +2547,9 @@ var de_EstimateTemplateCostCommand = /* @__PURE__ */ __name(async (output, conte
|
|
3330
2547
|
};
|
3331
2548
|
return response;
|
3332
2549
|
}, "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
2550
|
var de_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3347
2551
|
if (output.statusCode >= 300) {
|
3348
|
-
return
|
2552
|
+
return de_CommandError(output, context);
|
3349
2553
|
}
|
3350
2554
|
const data = await parseBody(output.body, context);
|
3351
2555
|
let contents = {};
|
@@ -3356,37 +2560,9 @@ var de_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3356
2560
|
};
|
3357
2561
|
return response;
|
3358
2562
|
}, "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
|
-
});
|
3385
|
-
}
|
3386
|
-
}, "de_ExecuteChangeSetCommandError");
|
3387
2563
|
var de_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3388
2564
|
if (output.statusCode >= 300) {
|
3389
|
-
return
|
2565
|
+
return de_CommandError(output, context);
|
3390
2566
|
}
|
3391
2567
|
const data = await parseBody(output.body, context);
|
3392
2568
|
let contents = {};
|
@@ -3397,28 +2573,9 @@ var de_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, conte
|
|
3397
2573
|
};
|
3398
2574
|
return response;
|
3399
2575
|
}, "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
2576
|
var de_GetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3420
2577
|
if (output.statusCode >= 300) {
|
3421
|
-
return
|
2578
|
+
return de_CommandError(output, context);
|
3422
2579
|
}
|
3423
2580
|
const data = await parseBody(output.body, context);
|
3424
2581
|
let contents = {};
|
@@ -3429,22 +2586,9 @@ var de_GetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3429
2586
|
};
|
3430
2587
|
return response;
|
3431
2588
|
}, "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
2589
|
var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3446
2590
|
if (output.statusCode >= 300) {
|
3447
|
-
return
|
2591
|
+
return de_CommandError(output, context);
|
3448
2592
|
}
|
3449
2593
|
const data = await parseBody(output.body, context);
|
3450
2594
|
let contents = {};
|
@@ -3455,28 +2599,9 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3455
2599
|
};
|
3456
2600
|
return response;
|
3457
2601
|
}, "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
2602
|
var de_GetTemplateSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3478
2603
|
if (output.statusCode >= 300) {
|
3479
|
-
return
|
2604
|
+
return de_CommandError(output, context);
|
3480
2605
|
}
|
3481
2606
|
const data = await parseBody(output.body, context);
|
3482
2607
|
let contents = {};
|
@@ -3487,28 +2612,9 @@ var de_GetTemplateSummaryCommand = /* @__PURE__ */ __name(async (output, context
|
|
3487
2612
|
};
|
3488
2613
|
return response;
|
3489
2614
|
}, "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
2615
|
var de_ImportStacksToStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3510
2616
|
if (output.statusCode >= 300) {
|
3511
|
-
return
|
2617
|
+
return de_CommandError(output, context);
|
3512
2618
|
}
|
3513
2619
|
const data = await parseBody(output.body, context);
|
3514
2620
|
let contents = {};
|
@@ -3519,46 +2625,9 @@ var de_ImportStacksToStackSetCommand = /* @__PURE__ */ __name(async (output, con
|
|
3519
2625
|
};
|
3520
2626
|
return response;
|
3521
2627
|
}, "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
2628
|
var de_ListChangeSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3560
2629
|
if (output.statusCode >= 300) {
|
3561
|
-
return
|
2630
|
+
return de_CommandError(output, context);
|
3562
2631
|
}
|
3563
2632
|
const data = await parseBody(output.body, context);
|
3564
2633
|
let contents = {};
|
@@ -3569,22 +2638,9 @@ var de_ListChangeSetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3569
2638
|
};
|
3570
2639
|
return response;
|
3571
2640
|
}, "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
2641
|
var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3586
2642
|
if (output.statusCode >= 300) {
|
3587
|
-
return
|
2643
|
+
return de_CommandError(output, context);
|
3588
2644
|
}
|
3589
2645
|
const data = await parseBody(output.body, context);
|
3590
2646
|
let contents = {};
|
@@ -3595,22 +2651,9 @@ var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3595
2651
|
};
|
3596
2652
|
return response;
|
3597
2653
|
}, "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
2654
|
var de_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3612
2655
|
if (output.statusCode >= 300) {
|
3613
|
-
return
|
2656
|
+
return de_CommandError(output, context);
|
3614
2657
|
}
|
3615
2658
|
const data = await parseBody(output.body, context);
|
3616
2659
|
let contents = {};
|
@@ -3621,22 +2664,9 @@ var de_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (output, con
|
|
3621
2664
|
};
|
3622
2665
|
return response;
|
3623
2666
|
}, "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
2667
|
var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3638
2668
|
if (output.statusCode >= 300) {
|
3639
|
-
return
|
2669
|
+
return de_CommandError(output, context);
|
3640
2670
|
}
|
3641
2671
|
const data = await parseBody(output.body, context);
|
3642
2672
|
let contents = {};
|
@@ -3647,22 +2677,9 @@ var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3647
2677
|
};
|
3648
2678
|
return response;
|
3649
2679
|
}, "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
2680
|
var de_ListResourceScanRelatedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3664
2681
|
if (output.statusCode >= 300) {
|
3665
|
-
return
|
2682
|
+
return de_CommandError(output, context);
|
3666
2683
|
}
|
3667
2684
|
const data = await parseBody(output.body, context);
|
3668
2685
|
let contents = {};
|
@@ -3673,31 +2690,9 @@ var de_ListResourceScanRelatedResourcesCommand = /* @__PURE__ */ __name(async (o
|
|
3673
2690
|
};
|
3674
2691
|
return response;
|
3675
2692
|
}, "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
2693
|
var de_ListResourceScanResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3699
2694
|
if (output.statusCode >= 300) {
|
3700
|
-
return
|
2695
|
+
return de_CommandError(output, context);
|
3701
2696
|
}
|
3702
2697
|
const data = await parseBody(output.body, context);
|
3703
2698
|
let contents = {};
|
@@ -3708,31 +2703,9 @@ var de_ListResourceScanResourcesCommand = /* @__PURE__ */ __name(async (output,
|
|
3708
2703
|
};
|
3709
2704
|
return response;
|
3710
2705
|
}, "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
2706
|
var de_ListResourceScansCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3734
2707
|
if (output.statusCode >= 300) {
|
3735
|
-
return
|
2708
|
+
return de_CommandError(output, context);
|
3736
2709
|
}
|
3737
2710
|
const data = await parseBody(output.body, context);
|
3738
2711
|
let contents = {};
|
@@ -3743,22 +2716,9 @@ var de_ListResourceScansCommand = /* @__PURE__ */ __name(async (output, context)
|
|
3743
2716
|
};
|
3744
2717
|
return response;
|
3745
2718
|
}, "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
2719
|
var de_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3760
2720
|
if (output.statusCode >= 300) {
|
3761
|
-
return
|
2721
|
+
return de_CommandError(output, context);
|
3762
2722
|
}
|
3763
2723
|
const data = await parseBody(output.body, context);
|
3764
2724
|
let contents = {};
|
@@ -3769,34 +2729,9 @@ var de_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (ou
|
|
3769
2729
|
};
|
3770
2730
|
return response;
|
3771
2731
|
}, "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
2732
|
var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3798
2733
|
if (output.statusCode >= 300) {
|
3799
|
-
return
|
2734
|
+
return de_CommandError(output, context);
|
3800
2735
|
}
|
3801
2736
|
const data = await parseBody(output.body, context);
|
3802
2737
|
let contents = {};
|
@@ -3807,28 +2742,9 @@ var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context
|
|
3807
2742
|
};
|
3808
2743
|
return response;
|
3809
2744
|
}, "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
2745
|
var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3830
2746
|
if (output.statusCode >= 300) {
|
3831
|
-
return
|
2747
|
+
return de_CommandError(output, context);
|
3832
2748
|
}
|
3833
2749
|
const data = await parseBody(output.body, context);
|
3834
2750
|
let contents = {};
|
@@ -3839,22 +2755,9 @@ var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context
|
|
3839
2755
|
};
|
3840
2756
|
return response;
|
3841
2757
|
}, "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
2758
|
var de_ListStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3856
2759
|
if (output.statusCode >= 300) {
|
3857
|
-
return
|
2760
|
+
return de_CommandError(output, context);
|
3858
2761
|
}
|
3859
2762
|
const data = await parseBody(output.body, context);
|
3860
2763
|
let contents = {};
|
@@ -3865,22 +2768,9 @@ var de_ListStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3865
2768
|
};
|
3866
2769
|
return response;
|
3867
2770
|
}, "de_ListStacksCommand");
|
3868
|
-
var de_ListStacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
3869
|
-
const parsedOutput = {
|
3870
|
-
...output,
|
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
2771
|
var de_ListStackSetOperationResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3882
2772
|
if (output.statusCode >= 300) {
|
3883
|
-
return
|
2773
|
+
return de_CommandError(output, context);
|
3884
2774
|
}
|
3885
2775
|
const data = await parseBody(output.body, context);
|
3886
2776
|
let contents = {};
|
@@ -3891,31 +2781,9 @@ var de_ListStackSetOperationResultsCommand = /* @__PURE__ */ __name(async (outpu
|
|
3891
2781
|
};
|
3892
2782
|
return response;
|
3893
2783
|
}, "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
|
-
});
|
3914
|
-
}
|
3915
|
-
}, "de_ListStackSetOperationResultsCommandError");
|
3916
2784
|
var de_ListStackSetOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3917
2785
|
if (output.statusCode >= 300) {
|
3918
|
-
return
|
2786
|
+
return de_CommandError(output, context);
|
3919
2787
|
}
|
3920
2788
|
const data = await parseBody(output.body, context);
|
3921
2789
|
let contents = {};
|
@@ -3926,28 +2794,9 @@ var de_ListStackSetOperationsCommand = /* @__PURE__ */ __name(async (output, con
|
|
3926
2794
|
};
|
3927
2795
|
return response;
|
3928
2796
|
}, "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
2797
|
var de_ListStackSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3949
2798
|
if (output.statusCode >= 300) {
|
3950
|
-
return
|
2799
|
+
return de_CommandError(output, context);
|
3951
2800
|
}
|
3952
2801
|
const data = await parseBody(output.body, context);
|
3953
2802
|
let contents = {};
|
@@ -3958,22 +2807,9 @@ var de_ListStackSetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
3958
2807
|
};
|
3959
2808
|
return response;
|
3960
2809
|
}, "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
2810
|
var de_ListTypeRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
3975
2811
|
if (output.statusCode >= 300) {
|
3976
|
-
return
|
2812
|
+
return de_CommandError(output, context);
|
3977
2813
|
}
|
3978
2814
|
const data = await parseBody(output.body, context);
|
3979
2815
|
let contents = {};
|
@@ -3984,28 +2820,9 @@ var de_ListTypeRegistrationsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
3984
2820
|
};
|
3985
2821
|
return response;
|
3986
2822
|
}, "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
2823
|
var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4007
2824
|
if (output.statusCode >= 300) {
|
4008
|
-
return
|
2825
|
+
return de_CommandError(output, context);
|
4009
2826
|
}
|
4010
2827
|
const data = await parseBody(output.body, context);
|
4011
2828
|
let contents = {};
|
@@ -4016,28 +2833,9 @@ var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4016
2833
|
};
|
4017
2834
|
return response;
|
4018
2835
|
}, "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
2836
|
var de_ListTypeVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4039
2837
|
if (output.statusCode >= 300) {
|
4040
|
-
return
|
2838
|
+
return de_CommandError(output, context);
|
4041
2839
|
}
|
4042
2840
|
const data = await parseBody(output.body, context);
|
4043
2841
|
let contents = {};
|
@@ -4048,28 +2846,9 @@ var de_ListTypeVersionsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4048
2846
|
};
|
4049
2847
|
return response;
|
4050
2848
|
}, "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
2849
|
var de_PublishTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4071
2850
|
if (output.statusCode >= 300) {
|
4072
|
-
return
|
2851
|
+
return de_CommandError(output, context);
|
4073
2852
|
}
|
4074
2853
|
const data = await parseBody(output.body, context);
|
4075
2854
|
let contents = {};
|
@@ -4080,31 +2859,9 @@ var de_PublishTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4080
2859
|
};
|
4081
2860
|
return response;
|
4082
2861
|
}, "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
2862
|
var de_RecordHandlerProgressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4106
2863
|
if (output.statusCode >= 300) {
|
4107
|
-
return
|
2864
|
+
return de_CommandError(output, context);
|
4108
2865
|
}
|
4109
2866
|
const data = await parseBody(output.body, context);
|
4110
2867
|
let contents = {};
|
@@ -4115,31 +2872,9 @@ var de_RecordHandlerProgressCommand = /* @__PURE__ */ __name(async (output, cont
|
|
4115
2872
|
};
|
4116
2873
|
return response;
|
4117
2874
|
}, "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
2875
|
var de_RegisterPublisherCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4141
2876
|
if (output.statusCode >= 300) {
|
4142
|
-
return
|
2877
|
+
return de_CommandError(output, context);
|
4143
2878
|
}
|
4144
2879
|
const data = await parseBody(output.body, context);
|
4145
2880
|
let contents = {};
|
@@ -4150,28 +2885,9 @@ var de_RegisterPublisherCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4150
2885
|
};
|
4151
2886
|
return response;
|
4152
2887
|
}, "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
2888
|
var de_RegisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4173
2889
|
if (output.statusCode >= 300) {
|
4174
|
-
return
|
2890
|
+
return de_CommandError(output, context);
|
4175
2891
|
}
|
4176
2892
|
const data = await parseBody(output.body, context);
|
4177
2893
|
let contents = {};
|
@@ -4182,28 +2898,9 @@ var de_RegisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4182
2898
|
};
|
4183
2899
|
return response;
|
4184
2900
|
}, "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
2901
|
var de_RollbackStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4205
2902
|
if (output.statusCode >= 300) {
|
4206
|
-
return
|
2903
|
+
return de_CommandError(output, context);
|
4207
2904
|
}
|
4208
2905
|
const data = await parseBody(output.body, context);
|
4209
2906
|
let contents = {};
|
@@ -4214,28 +2911,9 @@ var de_RollbackStackCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4214
2911
|
};
|
4215
2912
|
return response;
|
4216
2913
|
}, "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
2914
|
var de_SetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4237
2915
|
if (output.statusCode >= 300) {
|
4238
|
-
return
|
2916
|
+
return de_CommandError(output, context);
|
4239
2917
|
}
|
4240
2918
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
4241
2919
|
const response = {
|
@@ -4243,22 +2921,9 @@ var de_SetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4243
2921
|
};
|
4244
2922
|
return response;
|
4245
2923
|
}, "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
2924
|
var de_SetTypeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4260
2925
|
if (output.statusCode >= 300) {
|
4261
|
-
return
|
2926
|
+
return de_CommandError(output, context);
|
4262
2927
|
}
|
4263
2928
|
const data = await parseBody(output.body, context);
|
4264
2929
|
let contents = {};
|
@@ -4269,31 +2934,9 @@ var de_SetTypeConfigurationCommand = /* @__PURE__ */ __name(async (output, conte
|
|
4269
2934
|
};
|
4270
2935
|
return response;
|
4271
2936
|
}, "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
2937
|
var de_SetTypeDefaultVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4295
2938
|
if (output.statusCode >= 300) {
|
4296
|
-
return
|
2939
|
+
return de_CommandError(output, context);
|
4297
2940
|
}
|
4298
2941
|
const data = await parseBody(output.body, context);
|
4299
2942
|
let contents = {};
|
@@ -4304,31 +2947,9 @@ var de_SetTypeDefaultVersionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
4304
2947
|
};
|
4305
2948
|
return response;
|
4306
2949
|
}, "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
2950
|
var de_SignalResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4330
2951
|
if (output.statusCode >= 300) {
|
4331
|
-
return
|
2952
|
+
return de_CommandError(output, context);
|
4332
2953
|
}
|
4333
2954
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
4334
2955
|
const response = {
|
@@ -4336,22 +2957,9 @@ var de_SignalResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4336
2957
|
};
|
4337
2958
|
return response;
|
4338
2959
|
}, "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
2960
|
var de_StartResourceScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4353
2961
|
if (output.statusCode >= 300) {
|
4354
|
-
return
|
2962
|
+
return de_CommandError(output, context);
|
4355
2963
|
}
|
4356
2964
|
const data = await parseBody(output.body, context);
|
4357
2965
|
let contents = {};
|
@@ -4362,31 +2970,9 @@ var de_StartResourceScanCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4362
2970
|
};
|
4363
2971
|
return response;
|
4364
2972
|
}, "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");
|
4387
2973
|
var de_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4388
2974
|
if (output.statusCode >= 300) {
|
4389
|
-
return
|
2975
|
+
return de_CommandError(output, context);
|
4390
2976
|
}
|
4391
2977
|
const data = await parseBody(output.body, context);
|
4392
2978
|
let contents = {};
|
@@ -4397,34 +2983,9 @@ var de_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (output, cont
|
|
4397
2983
|
};
|
4398
2984
|
return response;
|
4399
2985
|
}, "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
2986
|
var de_TestTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4426
2987
|
if (output.statusCode >= 300) {
|
4427
|
-
return
|
2988
|
+
return de_CommandError(output, context);
|
4428
2989
|
}
|
4429
2990
|
const data = await parseBody(output.body, context);
|
4430
2991
|
let contents = {};
|
@@ -4435,31 +2996,9 @@ var de_TestTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4435
2996
|
};
|
4436
2997
|
return response;
|
4437
2998
|
}, "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
2999
|
var de_UpdateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4461
3000
|
if (output.statusCode >= 300) {
|
4462
|
-
return
|
3001
|
+
return de_CommandError(output, context);
|
4463
3002
|
}
|
4464
3003
|
const data = await parseBody(output.body, context);
|
4465
3004
|
let contents = {};
|
@@ -4470,34 +3009,9 @@ var de_UpdateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, co
|
|
4470
3009
|
};
|
4471
3010
|
return response;
|
4472
3011
|
}, "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
3012
|
var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4499
3013
|
if (output.statusCode >= 300) {
|
4500
|
-
return
|
3014
|
+
return de_CommandError(output, context);
|
4501
3015
|
}
|
4502
3016
|
const data = await parseBody(output.body, context);
|
4503
3017
|
let contents = {};
|
@@ -4508,31 +3022,9 @@ var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4508
3022
|
};
|
4509
3023
|
return response;
|
4510
3024
|
}, "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
3025
|
var de_UpdateStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4534
3026
|
if (output.statusCode >= 300) {
|
4535
|
-
return
|
3027
|
+
return de_CommandError(output, context);
|
4536
3028
|
}
|
4537
3029
|
const data = await parseBody(output.body, context);
|
4538
3030
|
let contents = {};
|
@@ -4543,43 +3035,9 @@ var de_UpdateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
4543
3035
|
};
|
4544
3036
|
return response;
|
4545
3037
|
}, "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
3038
|
var de_UpdateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4581
3039
|
if (output.statusCode >= 300) {
|
4582
|
-
return
|
3040
|
+
return de_CommandError(output, context);
|
4583
3041
|
}
|
4584
3042
|
const data = await parseBody(output.body, context);
|
4585
3043
|
let contents = {};
|
@@ -4590,43 +3048,9 @@ var de_UpdateStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
4590
3048
|
};
|
4591
3049
|
return response;
|
4592
3050
|
}, "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
3051
|
var de_UpdateTerminationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4628
3052
|
if (output.statusCode >= 300) {
|
4629
|
-
return
|
3053
|
+
return de_CommandError(output, context);
|
4630
3054
|
}
|
4631
3055
|
const data = await parseBody(output.body, context);
|
4632
3056
|
let contents = {};
|
@@ -4637,22 +3061,9 @@ var de_UpdateTerminationProtectionCommand = /* @__PURE__ */ __name(async (output
|
|
4637
3061
|
};
|
4638
3062
|
return response;
|
4639
3063
|
}, "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
3064
|
var de_ValidateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
4654
3065
|
if (output.statusCode >= 300) {
|
4655
|
-
return
|
3066
|
+
return de_CommandError(output, context);
|
4656
3067
|
}
|
4657
3068
|
const data = await parseBody(output.body, context);
|
4658
3069
|
let contents = {};
|
@@ -4663,19 +3074,103 @@ var de_ValidateTemplateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
4663
3074
|
};
|
4664
3075
|
return response;
|
4665
3076
|
}, "de_ValidateTemplateCommand");
|
4666
|
-
var
|
3077
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
4667
3078
|
const parsedOutput = {
|
4668
3079
|
...output,
|
4669
3080
|
body: await parseErrorBody(output.body, context)
|
4670
3081
|
};
|
4671
3082
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
4672
|
-
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4676
|
-
|
4677
|
-
|
4678
|
-
|
3083
|
+
switch (errorCode) {
|
3084
|
+
case "InvalidOperationException":
|
3085
|
+
case "com.amazonaws.cloudformation#InvalidOperationException":
|
3086
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
3087
|
+
case "OperationNotFoundException":
|
3088
|
+
case "com.amazonaws.cloudformation#OperationNotFoundException":
|
3089
|
+
throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
|
3090
|
+
case "CFNRegistryException":
|
3091
|
+
case "com.amazonaws.cloudformation#CFNRegistryException":
|
3092
|
+
throw await de_CFNRegistryExceptionRes(parsedOutput, context);
|
3093
|
+
case "TypeNotFoundException":
|
3094
|
+
case "com.amazonaws.cloudformation#TypeNotFoundException":
|
3095
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
3096
|
+
case "TypeConfigurationNotFoundException":
|
3097
|
+
case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
|
3098
|
+
throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
|
3099
|
+
case "TokenAlreadyExistsException":
|
3100
|
+
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
3101
|
+
throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
|
3102
|
+
case "AlreadyExistsException":
|
3103
|
+
case "com.amazonaws.cloudformation#AlreadyExistsException":
|
3104
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
3105
|
+
case "InsufficientCapabilitiesException":
|
3106
|
+
case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
|
3107
|
+
throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
|
3108
|
+
case "LimitExceededException":
|
3109
|
+
case "com.amazonaws.cloudformation#LimitExceededException":
|
3110
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
3111
|
+
case "ConcurrentResourcesLimitExceeded":
|
3112
|
+
case "com.amazonaws.cloudformation#ConcurrentResourcesLimitExceededException":
|
3113
|
+
throw await de_ConcurrentResourcesLimitExceededExceptionRes(parsedOutput, context);
|
3114
|
+
case "OperationIdAlreadyExistsException":
|
3115
|
+
case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
|
3116
|
+
throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
|
3117
|
+
case "OperationInProgressException":
|
3118
|
+
case "com.amazonaws.cloudformation#OperationInProgressException":
|
3119
|
+
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
3120
|
+
case "StackSetNotFoundException":
|
3121
|
+
case "com.amazonaws.cloudformation#StackSetNotFoundException":
|
3122
|
+
throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
|
3123
|
+
case "StaleRequestException":
|
3124
|
+
case "com.amazonaws.cloudformation#StaleRequestException":
|
3125
|
+
throw await de_StaleRequestExceptionRes(parsedOutput, context);
|
3126
|
+
case "CreatedButModifiedException":
|
3127
|
+
case "com.amazonaws.cloudformation#CreatedButModifiedException":
|
3128
|
+
throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
|
3129
|
+
case "NameAlreadyExistsException":
|
3130
|
+
case "com.amazonaws.cloudformation#NameAlreadyExistsException":
|
3131
|
+
throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
|
3132
|
+
case "InvalidChangeSetStatus":
|
3133
|
+
case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
|
3134
|
+
throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
|
3135
|
+
case "GeneratedTemplateNotFound":
|
3136
|
+
case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
|
3137
|
+
throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
|
3138
|
+
case "StackSetNotEmptyException":
|
3139
|
+
case "com.amazonaws.cloudformation#StackSetNotEmptyException":
|
3140
|
+
throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
|
3141
|
+
case "ChangeSetNotFound":
|
3142
|
+
case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
|
3143
|
+
throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
|
3144
|
+
case "ResourceScanNotFound":
|
3145
|
+
case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
|
3146
|
+
throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
|
3147
|
+
case "StackInstanceNotFoundException":
|
3148
|
+
case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
|
3149
|
+
throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
|
3150
|
+
case "StackNotFoundException":
|
3151
|
+
case "com.amazonaws.cloudformation#StackNotFoundException":
|
3152
|
+
throw await de_StackNotFoundExceptionRes(parsedOutput, context);
|
3153
|
+
case "ResourceScanInProgress":
|
3154
|
+
case "com.amazonaws.cloudformation#ResourceScanInProgressException":
|
3155
|
+
throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
|
3156
|
+
case "ConditionalCheckFailed":
|
3157
|
+
case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
|
3158
|
+
throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
|
3159
|
+
case "InvalidStateTransition":
|
3160
|
+
case "com.amazonaws.cloudformation#InvalidStateTransitionException":
|
3161
|
+
throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
|
3162
|
+
case "ResourceScanLimitExceeded":
|
3163
|
+
case "com.amazonaws.cloudformation#ResourceScanLimitExceededException":
|
3164
|
+
throw await de_ResourceScanLimitExceededExceptionRes(parsedOutput, context);
|
3165
|
+
default:
|
3166
|
+
const parsedBody = parsedOutput.body;
|
3167
|
+
return throwDefaultError({
|
3168
|
+
output,
|
3169
|
+
parsedBody: parsedBody.Error,
|
3170
|
+
errorCode
|
3171
|
+
});
|
3172
|
+
}
|
3173
|
+
}, "de_CommandError");
|
4679
3174
|
var de_AlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
4680
3175
|
const body = parsedOutput.body;
|
4681
3176
|
const deserialized = de_AlreadyExistsException(body.Error, context);
|