@aws-sdk/client-cloudformation 3.28.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/CloudFormation.ts +126 -61
- package/CloudFormationClient.ts +14 -11
- package/README.md +11 -11
- package/commands/ContinueUpdateRollbackCommand.ts +6 -5
- package/commands/CreateChangeSetCommand.ts +7 -8
- package/commands/CreateStackInstancesCommand.ts +1 -3
- package/commands/DeleteStackInstancesCommand.ts +1 -1
- package/commands/DeleteStackSetCommand.ts +1 -1
- package/commands/DescribeAccountLimitsCommand.ts +2 -2
- package/commands/DescribeChangeSetCommand.ts +2 -1
- package/commands/DescribeStackInstanceCommand.ts +1 -1
- package/commands/DescribeStackResourceDriftsCommand.ts +3 -4
- package/commands/DescribeStacksCommand.ts +1 -1
- package/commands/EstimateTemplateCostCommand.ts +3 -2
- package/commands/ExecuteChangeSetCommand.ts +3 -3
- package/commands/GetTemplateCommand.ts +1 -2
- package/commands/ListChangeSetsCommand.ts +2 -1
- package/commands/ListExportsCommand.ts +1 -1
- package/commands/ListImportsCommand.ts +2 -2
- package/commands/ListStackInstancesCommand.ts +1 -1
- package/commands/ListStackSetsCommand.ts +2 -2
- package/commands/RegisterPublisherCommand.ts +1 -1
- package/commands/RegisterTypeCommand.ts +1 -1
- package/commands/RollbackStackCommand.ts +123 -0
- package/commands/SignalResourceCommand.ts +3 -2
- package/commands/UpdateTerminationProtectionCommand.ts +1 -1
- package/commands/ValidateTemplateCommand.ts +3 -4
- package/dist/cjs/CloudFormation.js +26 -11
- package/dist/cjs/CloudFormation.js.map +1 -1
- package/dist/cjs/CloudFormationClient.js +11 -11
- package/dist/cjs/CloudFormationClient.js.map +1 -1
- package/dist/cjs/commands/ContinueUpdateRollbackCommand.js +6 -5
- package/dist/cjs/commands/ContinueUpdateRollbackCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChangeSetCommand.js +7 -8
- package/dist/cjs/commands/CreateChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStackInstancesCommand.js +1 -3
- package/dist/cjs/commands/CreateStackInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStackInstancesCommand.js +1 -1
- package/dist/cjs/commands/DeleteStackSetCommand.js +1 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js +2 -2
- package/dist/cjs/commands/DescribeChangeSetCommand.js +2 -1
- package/dist/cjs/commands/DescribeChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackInstanceCommand.js +1 -1
- package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js +3 -4
- package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStacksCommand.js +1 -1
- package/dist/cjs/commands/EstimateTemplateCostCommand.js +3 -2
- package/dist/cjs/commands/EstimateTemplateCostCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteChangeSetCommand.js +3 -3
- package/dist/cjs/commands/GetTemplateCommand.js +1 -2
- package/dist/cjs/commands/GetTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/ListChangeSetsCommand.js +2 -1
- package/dist/cjs/commands/ListChangeSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListExportsCommand.js +1 -1
- package/dist/cjs/commands/ListImportsCommand.js +2 -2
- package/dist/cjs/commands/ListStackInstancesCommand.js +1 -1
- package/dist/cjs/commands/ListStackSetsCommand.js +2 -2
- package/dist/cjs/commands/RegisterPublisherCommand.js +1 -1
- package/dist/cjs/commands/RegisterTypeCommand.js +1 -1
- package/dist/cjs/commands/RollbackStackCommand.js +90 -0
- package/dist/cjs/commands/RollbackStackCommand.js.map +1 -0
- package/dist/cjs/commands/SignalResourceCommand.js +3 -2
- package/dist/cjs/commands/SignalResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTerminationProtectionCommand.js +1 -1
- package/dist/cjs/commands/ValidateTemplateCommand.js +3 -4
- package/dist/cjs/commands/ValidateTemplateCommand.js.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +26 -1
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +135 -47
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/CloudFormation.js +26 -11
- package/dist/es/CloudFormation.js.map +1 -1
- package/dist/es/CloudFormationClient.js +11 -11
- package/dist/es/CloudFormationClient.js.map +1 -1
- package/dist/es/commands/ContinueUpdateRollbackCommand.js +6 -5
- package/dist/es/commands/ContinueUpdateRollbackCommand.js.map +1 -1
- package/dist/es/commands/CreateChangeSetCommand.js +7 -8
- package/dist/es/commands/CreateChangeSetCommand.js.map +1 -1
- package/dist/es/commands/CreateStackInstancesCommand.js +1 -3
- package/dist/es/commands/CreateStackInstancesCommand.js.map +1 -1
- package/dist/es/commands/DeleteStackInstancesCommand.js +1 -1
- package/dist/es/commands/DeleteStackSetCommand.js +1 -1
- package/dist/es/commands/DescribeAccountLimitsCommand.js +2 -2
- package/dist/es/commands/DescribeChangeSetCommand.js +2 -1
- package/dist/es/commands/DescribeChangeSetCommand.js.map +1 -1
- package/dist/es/commands/DescribeStackInstanceCommand.js +1 -1
- package/dist/es/commands/DescribeStackResourceDriftsCommand.js +3 -4
- package/dist/es/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
- package/dist/es/commands/DescribeStacksCommand.js +1 -1
- package/dist/es/commands/EstimateTemplateCostCommand.js +3 -2
- package/dist/es/commands/EstimateTemplateCostCommand.js.map +1 -1
- package/dist/es/commands/ExecuteChangeSetCommand.js +3 -3
- package/dist/es/commands/GetTemplateCommand.js +1 -2
- package/dist/es/commands/GetTemplateCommand.js.map +1 -1
- package/dist/es/commands/ListChangeSetsCommand.js +2 -1
- package/dist/es/commands/ListChangeSetsCommand.js.map +1 -1
- package/dist/es/commands/ListExportsCommand.js +1 -1
- package/dist/es/commands/ListImportsCommand.js +2 -2
- package/dist/es/commands/ListStackInstancesCommand.js +1 -1
- package/dist/es/commands/ListStackSetsCommand.js +2 -2
- package/dist/es/commands/RegisterPublisherCommand.js +1 -1
- package/dist/es/commands/RegisterTypeCommand.js +1 -1
- package/dist/es/commands/RollbackStackCommand.js +94 -0
- package/dist/es/commands/RollbackStackCommand.js.map +1 -0
- package/dist/es/commands/SignalResourceCommand.js +3 -2
- package/dist/es/commands/SignalResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateTerminationProtectionCommand.js +1 -1
- package/dist/es/commands/ValidateTemplateCommand.js +3 -4
- package/dist/es/commands/ValidateTemplateCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +21 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_query.js +140 -46
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/dist/types/CloudFormation.d.ts +96 -61
- package/dist/types/CloudFormationClient.d.ts +14 -13
- package/dist/types/commands/ContinueUpdateRollbackCommand.d.ts +6 -5
- package/dist/types/commands/CreateChangeSetCommand.d.ts +7 -8
- package/dist/types/commands/CreateStackInstancesCommand.d.ts +1 -3
- package/dist/types/commands/DeleteStackInstancesCommand.d.ts +1 -1
- package/dist/types/commands/DeleteStackSetCommand.d.ts +1 -1
- package/dist/types/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/dist/types/commands/DescribeChangeSetCommand.d.ts +2 -1
- package/dist/types/commands/DescribeStackInstanceCommand.d.ts +1 -1
- package/dist/types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -4
- package/dist/types/commands/DescribeStacksCommand.d.ts +1 -1
- package/dist/types/commands/EstimateTemplateCostCommand.d.ts +3 -2
- package/dist/types/commands/ExecuteChangeSetCommand.d.ts +3 -3
- package/dist/types/commands/GetTemplateCommand.d.ts +1 -2
- package/dist/types/commands/ListChangeSetsCommand.d.ts +2 -1
- package/dist/types/commands/ListExportsCommand.d.ts +1 -1
- package/dist/types/commands/ListImportsCommand.d.ts +2 -2
- package/dist/types/commands/ListStackInstancesCommand.d.ts +1 -1
- package/dist/types/commands/ListStackSetsCommand.d.ts +2 -2
- package/dist/types/commands/RegisterPublisherCommand.d.ts +1 -1
- package/dist/types/commands/RegisterTypeCommand.d.ts +1 -1
- package/dist/types/commands/RollbackStackCommand.d.ts +64 -0
- package/dist/types/commands/SignalResourceCommand.d.ts +3 -2
- package/dist/types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/dist/types/commands/ValidateTemplateCommand.d.ts +3 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +424 -376
- package/dist/types/protocols/Aws_query.d.ts +3 -0
- package/dist/types/ts3.4/CloudFormation.d.ts +96 -61
- package/dist/types/ts3.4/CloudFormationClient.d.ts +14 -13
- package/dist/types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +6 -5
- package/dist/types/ts3.4/commands/CreateChangeSetCommand.d.ts +7 -8
- package/dist/types/ts3.4/commands/CreateStackInstancesCommand.d.ts +1 -3
- package/dist/types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DeleteStackSetCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/DescribeChangeSetCommand.d.ts +2 -1
- package/dist/types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +3 -4
- package/dist/types/ts3.4/commands/DescribeStacksCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +3 -2
- package/dist/types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +3 -3
- package/dist/types/ts3.4/commands/GetTemplateCommand.d.ts +1 -2
- package/dist/types/ts3.4/commands/ListChangeSetsCommand.d.ts +2 -1
- package/dist/types/ts3.4/commands/ListExportsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListImportsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/ListStackInstancesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/RollbackStackCommand.d.ts +64 -0
- package/dist/types/ts3.4/commands/SignalResourceCommand.d.ts +3 -2
- package/dist/types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ValidateTemplateCommand.d.ts +3 -4
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +424 -376
- package/dist/types/ts3.4/protocols/Aws_query.d.ts +3 -0
- package/index.ts +1 -0
- package/models/models_0.ts +435 -375
- package/package.json +32 -32
- package/protocols/Aws_query.ts +151 -46
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,42 +27,42 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
58
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"entities": "2.2.0",
|
|
60
60
|
"fast-xml-parser": "3.19.0",
|
|
61
61
|
"tslib": "^2.3.0",
|
|
62
62
|
"uuid": "^8.3.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
65
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
66
66
|
"@types/node": "^12.7.5",
|
|
67
67
|
"@types/uuid": "^8.3.0",
|
|
68
68
|
"downlevel-dts": "0.7.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"rimraf": "^3.0.0",
|
|
71
71
|
"ts-jest": "^26.4.1",
|
|
72
72
|
"typedoc": "^0.19.2",
|
|
73
|
-
"typescript": "~4.3.
|
|
73
|
+
"typescript": "~4.3.5"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=10.0.0"
|
package/protocols/Aws_query.ts
CHANGED
|
@@ -114,6 +114,7 @@ import {
|
|
|
114
114
|
} from "../commands/RecordHandlerProgressCommand";
|
|
115
115
|
import { RegisterPublisherCommandInput, RegisterPublisherCommandOutput } from "../commands/RegisterPublisherCommand";
|
|
116
116
|
import { RegisterTypeCommandInput, RegisterTypeCommandOutput } from "../commands/RegisterTypeCommand";
|
|
117
|
+
import { RollbackStackCommandInput, RollbackStackCommandOutput } from "../commands/RollbackStackCommand";
|
|
117
118
|
import { SetStackPolicyCommandInput, SetStackPolicyCommandOutput } from "../commands/SetStackPolicyCommand";
|
|
118
119
|
import {
|
|
119
120
|
SetTypeConfigurationCommandInput,
|
|
@@ -284,6 +285,8 @@ import {
|
|
|
284
285
|
ResourceTargetDefinition,
|
|
285
286
|
ResourceToImport,
|
|
286
287
|
RollbackConfiguration,
|
|
288
|
+
RollbackStackInput,
|
|
289
|
+
RollbackStackOutput,
|
|
287
290
|
RollbackTrigger,
|
|
288
291
|
SetStackPolicyInput,
|
|
289
292
|
SetTypeConfigurationInput,
|
|
@@ -348,12 +351,14 @@ import {
|
|
|
348
351
|
} from "../models/models_0";
|
|
349
352
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
350
353
|
import {
|
|
354
|
+
expectNonNull as __expectNonNull,
|
|
351
355
|
expectString as __expectString,
|
|
352
356
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
353
357
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
354
358
|
getValueFromTextNode as __getValueFromTextNode,
|
|
355
359
|
parseBoolean as __parseBoolean,
|
|
356
|
-
|
|
360
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
361
|
+
strictParseInt32 as __strictParseInt32,
|
|
357
362
|
} from "@aws-sdk/smithy-client";
|
|
358
363
|
import {
|
|
359
364
|
Endpoint as __Endpoint,
|
|
@@ -1215,6 +1220,22 @@ export const serializeAws_queryRegisterTypeCommand = async (
|
|
|
1215
1220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1216
1221
|
};
|
|
1217
1222
|
|
|
1223
|
+
export const serializeAws_queryRollbackStackCommand = async (
|
|
1224
|
+
input: RollbackStackCommandInput,
|
|
1225
|
+
context: __SerdeContext
|
|
1226
|
+
): Promise<__HttpRequest> => {
|
|
1227
|
+
const headers: __HeaderBag = {
|
|
1228
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1229
|
+
};
|
|
1230
|
+
let body: any;
|
|
1231
|
+
body = buildFormUrlencodedString({
|
|
1232
|
+
...serializeAws_queryRollbackStackInput(input, context),
|
|
1233
|
+
Action: "RollbackStack",
|
|
1234
|
+
Version: "2010-05-15",
|
|
1235
|
+
});
|
|
1236
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1218
1239
|
export const serializeAws_querySetStackPolicyCommand = async (
|
|
1219
1240
|
input: SetStackPolicyCommandInput,
|
|
1220
1241
|
context: __SerdeContext
|
|
@@ -4421,6 +4442,60 @@ const deserializeAws_queryRegisterTypeCommandError = async (
|
|
|
4421
4442
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
4422
4443
|
};
|
|
4423
4444
|
|
|
4445
|
+
export const deserializeAws_queryRollbackStackCommand = async (
|
|
4446
|
+
output: __HttpResponse,
|
|
4447
|
+
context: __SerdeContext
|
|
4448
|
+
): Promise<RollbackStackCommandOutput> => {
|
|
4449
|
+
if (output.statusCode >= 300) {
|
|
4450
|
+
return deserializeAws_queryRollbackStackCommandError(output, context);
|
|
4451
|
+
}
|
|
4452
|
+
const data: any = await parseBody(output.body, context);
|
|
4453
|
+
let contents: any = {};
|
|
4454
|
+
contents = deserializeAws_queryRollbackStackOutput(data.RollbackStackResult, context);
|
|
4455
|
+
const response: RollbackStackCommandOutput = {
|
|
4456
|
+
$metadata: deserializeMetadata(output),
|
|
4457
|
+
...contents,
|
|
4458
|
+
};
|
|
4459
|
+
return Promise.resolve(response);
|
|
4460
|
+
};
|
|
4461
|
+
|
|
4462
|
+
const deserializeAws_queryRollbackStackCommandError = async (
|
|
4463
|
+
output: __HttpResponse,
|
|
4464
|
+
context: __SerdeContext
|
|
4465
|
+
): Promise<RollbackStackCommandOutput> => {
|
|
4466
|
+
const parsedOutput: any = {
|
|
4467
|
+
...output,
|
|
4468
|
+
body: await parseBody(output.body, context),
|
|
4469
|
+
};
|
|
4470
|
+
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
4471
|
+
let errorCode: string = "UnknownError";
|
|
4472
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4473
|
+
switch (errorCode) {
|
|
4474
|
+
case "TokenAlreadyExistsException":
|
|
4475
|
+
case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
|
|
4476
|
+
response = {
|
|
4477
|
+
...(await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context)),
|
|
4478
|
+
name: errorCode,
|
|
4479
|
+
$metadata: deserializeMetadata(output),
|
|
4480
|
+
};
|
|
4481
|
+
break;
|
|
4482
|
+
default:
|
|
4483
|
+
const parsedBody = parsedOutput.body;
|
|
4484
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
4485
|
+
response = {
|
|
4486
|
+
...parsedBody.Error,
|
|
4487
|
+
name: `${errorCode}`,
|
|
4488
|
+
message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
|
|
4489
|
+
$fault: "client",
|
|
4490
|
+
$metadata: deserializeMetadata(output),
|
|
4491
|
+
} as any;
|
|
4492
|
+
}
|
|
4493
|
+
const message = response.message || response.Message || errorCode;
|
|
4494
|
+
response.message = message;
|
|
4495
|
+
delete response.Message;
|
|
4496
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
4497
|
+
};
|
|
4498
|
+
|
|
4424
4499
|
export const deserializeAws_querySetStackPolicyCommand = async (
|
|
4425
4500
|
output: __HttpResponse,
|
|
4426
4501
|
context: __SerdeContext
|
|
@@ -6284,6 +6359,9 @@ const serializeAws_queryExecuteChangeSetInput = (input: ExecuteChangeSetInput, c
|
|
|
6284
6359
|
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
6285
6360
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
6286
6361
|
}
|
|
6362
|
+
if (input.DisableRollback !== undefined && input.DisableRollback !== null) {
|
|
6363
|
+
entries["DisableRollback"] = input.DisableRollback;
|
|
6364
|
+
}
|
|
6287
6365
|
return entries;
|
|
6288
6366
|
};
|
|
6289
6367
|
|
|
@@ -6875,6 +6953,20 @@ const serializeAws_queryRollbackConfiguration = (input: RollbackConfiguration, c
|
|
|
6875
6953
|
return entries;
|
|
6876
6954
|
};
|
|
6877
6955
|
|
|
6956
|
+
const serializeAws_queryRollbackStackInput = (input: RollbackStackInput, context: __SerdeContext): any => {
|
|
6957
|
+
const entries: any = {};
|
|
6958
|
+
if (input.StackName !== undefined && input.StackName !== null) {
|
|
6959
|
+
entries["StackName"] = input.StackName;
|
|
6960
|
+
}
|
|
6961
|
+
if (input.RoleARN !== undefined && input.RoleARN !== null) {
|
|
6962
|
+
entries["RoleARN"] = input.RoleARN;
|
|
6963
|
+
}
|
|
6964
|
+
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
6965
|
+
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
6966
|
+
}
|
|
6967
|
+
return entries;
|
|
6968
|
+
};
|
|
6969
|
+
|
|
6878
6970
|
const serializeAws_queryRollbackTrigger = (input: RollbackTrigger, context: __SerdeContext): any => {
|
|
6879
6971
|
const entries: any = {};
|
|
6880
6972
|
if (input.Arn !== undefined && input.Arn !== null) {
|
|
@@ -7266,6 +7358,9 @@ const serializeAws_queryUpdateStackInput = (input: UpdateStackInput, context: __
|
|
|
7266
7358
|
entries[loc] = value;
|
|
7267
7359
|
});
|
|
7268
7360
|
}
|
|
7361
|
+
if (input.DisableRollback !== undefined && input.DisableRollback !== null) {
|
|
7362
|
+
entries["DisableRollback"] = input.DisableRollback;
|
|
7363
|
+
}
|
|
7269
7364
|
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
7270
7365
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
7271
7366
|
}
|
|
@@ -7469,7 +7564,7 @@ const deserializeAws_queryAccountLimit = (output: any, context: __SerdeContext):
|
|
|
7469
7564
|
contents.Name = __expectString(output["Name"]);
|
|
7470
7565
|
}
|
|
7471
7566
|
if (output["Value"] !== undefined) {
|
|
7472
|
-
contents.Value =
|
|
7567
|
+
contents.Value = __strictParseInt32(output["Value"]) as number;
|
|
7473
7568
|
}
|
|
7474
7569
|
return contents;
|
|
7475
7570
|
};
|
|
@@ -7728,7 +7823,7 @@ const deserializeAws_queryChangeSetSummary = (output: any, context: __SerdeConte
|
|
|
7728
7823
|
contents.StatusReason = __expectString(output["StatusReason"]);
|
|
7729
7824
|
}
|
|
7730
7825
|
if (output["CreationTime"] !== undefined) {
|
|
7731
|
-
contents.CreationTime =
|
|
7826
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
7732
7827
|
}
|
|
7733
7828
|
if (output["Description"] !== undefined) {
|
|
7734
7829
|
contents.Description = __expectString(output["Description"]);
|
|
@@ -7943,7 +8038,7 @@ const deserializeAws_queryDescribeChangeSetOutput = (output: any, context: __Ser
|
|
|
7943
8038
|
);
|
|
7944
8039
|
}
|
|
7945
8040
|
if (output["CreationTime"] !== undefined) {
|
|
7946
|
-
contents.CreationTime =
|
|
8041
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
7947
8042
|
}
|
|
7948
8043
|
if (output["ExecutionStatus"] !== undefined) {
|
|
7949
8044
|
contents.ExecutionStatus = __expectString(output["ExecutionStatus"]);
|
|
@@ -8056,10 +8151,10 @@ const deserializeAws_queryDescribeStackDriftDetectionStatusOutput = (
|
|
|
8056
8151
|
contents.DetectionStatusReason = __expectString(output["DetectionStatusReason"]);
|
|
8057
8152
|
}
|
|
8058
8153
|
if (output["DriftedStackResourceCount"] !== undefined) {
|
|
8059
|
-
contents.DriftedStackResourceCount =
|
|
8154
|
+
contents.DriftedStackResourceCount = __strictParseInt32(output["DriftedStackResourceCount"]) as number;
|
|
8060
8155
|
}
|
|
8061
8156
|
if (output["Timestamp"] !== undefined) {
|
|
8062
|
-
contents.Timestamp =
|
|
8157
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
8063
8158
|
}
|
|
8064
8159
|
return contents;
|
|
8065
8160
|
};
|
|
@@ -8283,10 +8378,10 @@ const deserializeAws_queryDescribeTypeOutput = (output: any, context: __SerdeCon
|
|
|
8283
8378
|
contents.DocumentationUrl = __expectString(output["DocumentationUrl"]);
|
|
8284
8379
|
}
|
|
8285
8380
|
if (output["LastUpdated"] !== undefined) {
|
|
8286
|
-
contents.LastUpdated =
|
|
8381
|
+
contents.LastUpdated = __expectNonNull(__parseRfc3339DateTime(output["LastUpdated"]));
|
|
8287
8382
|
}
|
|
8288
8383
|
if (output["TimeCreated"] !== undefined) {
|
|
8289
|
-
contents.TimeCreated =
|
|
8384
|
+
contents.TimeCreated = __expectNonNull(__parseRfc3339DateTime(output["TimeCreated"]));
|
|
8290
8385
|
}
|
|
8291
8386
|
if (output["ConfigurationSchema"] !== undefined) {
|
|
8292
8387
|
contents.ConfigurationSchema = __expectString(output["ConfigurationSchema"]);
|
|
@@ -9467,7 +9562,17 @@ const deserializeAws_queryRollbackConfiguration = (output: any, context: __Serde
|
|
|
9467
9562
|
);
|
|
9468
9563
|
}
|
|
9469
9564
|
if (output["MonitoringTimeInMinutes"] !== undefined) {
|
|
9470
|
-
contents.MonitoringTimeInMinutes =
|
|
9565
|
+
contents.MonitoringTimeInMinutes = __strictParseInt32(output["MonitoringTimeInMinutes"]) as number;
|
|
9566
|
+
}
|
|
9567
|
+
return contents;
|
|
9568
|
+
};
|
|
9569
|
+
|
|
9570
|
+
const deserializeAws_queryRollbackStackOutput = (output: any, context: __SerdeContext): RollbackStackOutput => {
|
|
9571
|
+
let contents: any = {
|
|
9572
|
+
StackId: undefined,
|
|
9573
|
+
};
|
|
9574
|
+
if (output["StackId"] !== undefined) {
|
|
9575
|
+
contents.StackId = __expectString(output["StackId"]);
|
|
9471
9576
|
}
|
|
9472
9577
|
return contents;
|
|
9473
9578
|
};
|
|
@@ -9576,13 +9681,13 @@ const deserializeAws_queryStack = (output: any, context: __SerdeContext): Stack
|
|
|
9576
9681
|
);
|
|
9577
9682
|
}
|
|
9578
9683
|
if (output["CreationTime"] !== undefined) {
|
|
9579
|
-
contents.CreationTime =
|
|
9684
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
9580
9685
|
}
|
|
9581
9686
|
if (output["DeletionTime"] !== undefined) {
|
|
9582
|
-
contents.DeletionTime =
|
|
9687
|
+
contents.DeletionTime = __expectNonNull(__parseRfc3339DateTime(output["DeletionTime"]));
|
|
9583
9688
|
}
|
|
9584
9689
|
if (output["LastUpdatedTime"] !== undefined) {
|
|
9585
|
-
contents.LastUpdatedTime =
|
|
9690
|
+
contents.LastUpdatedTime = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTime"]));
|
|
9586
9691
|
}
|
|
9587
9692
|
if (output["RollbackConfiguration"] !== undefined) {
|
|
9588
9693
|
contents.RollbackConfiguration = deserializeAws_queryRollbackConfiguration(
|
|
@@ -9609,7 +9714,7 @@ const deserializeAws_queryStack = (output: any, context: __SerdeContext): Stack
|
|
|
9609
9714
|
);
|
|
9610
9715
|
}
|
|
9611
9716
|
if (output["TimeoutInMinutes"] !== undefined) {
|
|
9612
|
-
contents.TimeoutInMinutes =
|
|
9717
|
+
contents.TimeoutInMinutes = __strictParseInt32(output["TimeoutInMinutes"]) as number;
|
|
9613
9718
|
}
|
|
9614
9719
|
if (output.Capabilities === "") {
|
|
9615
9720
|
contents.Capabilities = [];
|
|
@@ -9659,7 +9764,7 @@ const deserializeAws_queryStackDriftInformation = (output: any, context: __Serde
|
|
|
9659
9764
|
contents.StackDriftStatus = __expectString(output["StackDriftStatus"]);
|
|
9660
9765
|
}
|
|
9661
9766
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
9662
|
-
contents.LastCheckTimestamp =
|
|
9767
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
9663
9768
|
}
|
|
9664
9769
|
return contents;
|
|
9665
9770
|
};
|
|
@@ -9676,7 +9781,7 @@ const deserializeAws_queryStackDriftInformationSummary = (
|
|
|
9676
9781
|
contents.StackDriftStatus = __expectString(output["StackDriftStatus"]);
|
|
9677
9782
|
}
|
|
9678
9783
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
9679
|
-
contents.LastCheckTimestamp =
|
|
9784
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
9680
9785
|
}
|
|
9681
9786
|
return contents;
|
|
9682
9787
|
};
|
|
@@ -9714,7 +9819,7 @@ const deserializeAws_queryStackEvent = (output: any, context: __SerdeContext): S
|
|
|
9714
9819
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
9715
9820
|
}
|
|
9716
9821
|
if (output["Timestamp"] !== undefined) {
|
|
9717
|
-
contents.Timestamp =
|
|
9822
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
9718
9823
|
}
|
|
9719
9824
|
if (output["ResourceStatus"] !== undefined) {
|
|
9720
9825
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -9796,7 +9901,7 @@ const deserializeAws_queryStackInstance = (output: any, context: __SerdeContext)
|
|
|
9796
9901
|
contents.DriftStatus = __expectString(output["DriftStatus"]);
|
|
9797
9902
|
}
|
|
9798
9903
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
9799
|
-
contents.LastDriftCheckTimestamp =
|
|
9904
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
9800
9905
|
}
|
|
9801
9906
|
return contents;
|
|
9802
9907
|
};
|
|
@@ -9882,7 +9987,7 @@ const deserializeAws_queryStackInstanceSummary = (output: any, context: __SerdeC
|
|
|
9882
9987
|
contents.DriftStatus = __expectString(output["DriftStatus"]);
|
|
9883
9988
|
}
|
|
9884
9989
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
9885
|
-
contents.LastDriftCheckTimestamp =
|
|
9990
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
9886
9991
|
}
|
|
9887
9992
|
return contents;
|
|
9888
9993
|
};
|
|
@@ -9927,7 +10032,7 @@ const deserializeAws_queryStackResource = (output: any, context: __SerdeContext)
|
|
|
9927
10032
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
9928
10033
|
}
|
|
9929
10034
|
if (output["Timestamp"] !== undefined) {
|
|
9930
|
-
contents.Timestamp =
|
|
10035
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
9931
10036
|
}
|
|
9932
10037
|
if (output["ResourceStatus"] !== undefined) {
|
|
9933
10038
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -9978,7 +10083,7 @@ const deserializeAws_queryStackResourceDetail = (output: any, context: __SerdeCo
|
|
|
9978
10083
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
9979
10084
|
}
|
|
9980
10085
|
if (output["LastUpdatedTimestamp"] !== undefined) {
|
|
9981
|
-
contents.LastUpdatedTimestamp =
|
|
10086
|
+
contents.LastUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
|
|
9982
10087
|
}
|
|
9983
10088
|
if (output["ResourceStatus"] !== undefined) {
|
|
9984
10089
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -10058,7 +10163,7 @@ const deserializeAws_queryStackResourceDrift = (output: any, context: __SerdeCon
|
|
|
10058
10163
|
contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
|
|
10059
10164
|
}
|
|
10060
10165
|
if (output["Timestamp"] !== undefined) {
|
|
10061
|
-
contents.Timestamp =
|
|
10166
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
10062
10167
|
}
|
|
10063
10168
|
if (output["ModuleInfo"] !== undefined) {
|
|
10064
10169
|
contents.ModuleInfo = deserializeAws_queryModuleInfo(output["ModuleInfo"], context);
|
|
@@ -10078,7 +10183,7 @@ const deserializeAws_queryStackResourceDriftInformation = (
|
|
|
10078
10183
|
contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
|
|
10079
10184
|
}
|
|
10080
10185
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
10081
|
-
contents.LastCheckTimestamp =
|
|
10186
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
10082
10187
|
}
|
|
10083
10188
|
return contents;
|
|
10084
10189
|
};
|
|
@@ -10095,7 +10200,7 @@ const deserializeAws_queryStackResourceDriftInformationSummary = (
|
|
|
10095
10200
|
contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
|
|
10096
10201
|
}
|
|
10097
10202
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
10098
|
-
contents.LastCheckTimestamp =
|
|
10203
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
10099
10204
|
}
|
|
10100
10205
|
return contents;
|
|
10101
10206
|
};
|
|
@@ -10154,7 +10259,7 @@ const deserializeAws_queryStackResourceSummary = (output: any, context: __SerdeC
|
|
|
10154
10259
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
10155
10260
|
}
|
|
10156
10261
|
if (output["LastUpdatedTimestamp"] !== undefined) {
|
|
10157
|
-
contents.LastUpdatedTimestamp =
|
|
10262
|
+
contents.LastUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
|
|
10158
10263
|
}
|
|
10159
10264
|
if (output["ResourceStatus"] !== undefined) {
|
|
10160
10265
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -10296,22 +10401,22 @@ const deserializeAws_queryStackSetDriftDetectionDetails = (
|
|
|
10296
10401
|
contents.DriftDetectionStatus = __expectString(output["DriftDetectionStatus"]);
|
|
10297
10402
|
}
|
|
10298
10403
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
10299
|
-
contents.LastDriftCheckTimestamp =
|
|
10404
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
10300
10405
|
}
|
|
10301
10406
|
if (output["TotalStackInstancesCount"] !== undefined) {
|
|
10302
|
-
contents.TotalStackInstancesCount =
|
|
10407
|
+
contents.TotalStackInstancesCount = __strictParseInt32(output["TotalStackInstancesCount"]) as number;
|
|
10303
10408
|
}
|
|
10304
10409
|
if (output["DriftedStackInstancesCount"] !== undefined) {
|
|
10305
|
-
contents.DriftedStackInstancesCount =
|
|
10410
|
+
contents.DriftedStackInstancesCount = __strictParseInt32(output["DriftedStackInstancesCount"]) as number;
|
|
10306
10411
|
}
|
|
10307
10412
|
if (output["InSyncStackInstancesCount"] !== undefined) {
|
|
10308
|
-
contents.InSyncStackInstancesCount =
|
|
10413
|
+
contents.InSyncStackInstancesCount = __strictParseInt32(output["InSyncStackInstancesCount"]) as number;
|
|
10309
10414
|
}
|
|
10310
10415
|
if (output["InProgressStackInstancesCount"] !== undefined) {
|
|
10311
|
-
contents.InProgressStackInstancesCount =
|
|
10416
|
+
contents.InProgressStackInstancesCount = __strictParseInt32(output["InProgressStackInstancesCount"]) as number;
|
|
10312
10417
|
}
|
|
10313
10418
|
if (output["FailedStackInstancesCount"] !== undefined) {
|
|
10314
|
-
contents.FailedStackInstancesCount =
|
|
10419
|
+
contents.FailedStackInstancesCount = __strictParseInt32(output["FailedStackInstancesCount"]) as number;
|
|
10315
10420
|
}
|
|
10316
10421
|
return contents;
|
|
10317
10422
|
};
|
|
@@ -10385,10 +10490,10 @@ const deserializeAws_queryStackSetOperation = (output: any, context: __SerdeCont
|
|
|
10385
10490
|
contents.ExecutionRoleName = __expectString(output["ExecutionRoleName"]);
|
|
10386
10491
|
}
|
|
10387
10492
|
if (output["CreationTimestamp"] !== undefined) {
|
|
10388
|
-
contents.CreationTimestamp =
|
|
10493
|
+
contents.CreationTimestamp = __expectNonNull(__parseRfc3339DateTime(output["CreationTimestamp"]));
|
|
10389
10494
|
}
|
|
10390
10495
|
if (output["EndTimestamp"] !== undefined) {
|
|
10391
|
-
contents.EndTimestamp =
|
|
10496
|
+
contents.EndTimestamp = __expectNonNull(__parseRfc3339DateTime(output["EndTimestamp"]));
|
|
10392
10497
|
}
|
|
10393
10498
|
if (output["DeploymentTargets"] !== undefined) {
|
|
10394
10499
|
contents.DeploymentTargets = deserializeAws_queryDeploymentTargets(output["DeploymentTargets"], context);
|
|
@@ -10427,16 +10532,16 @@ const deserializeAws_queryStackSetOperationPreferences = (
|
|
|
10427
10532
|
);
|
|
10428
10533
|
}
|
|
10429
10534
|
if (output["FailureToleranceCount"] !== undefined) {
|
|
10430
|
-
contents.FailureToleranceCount =
|
|
10535
|
+
contents.FailureToleranceCount = __strictParseInt32(output["FailureToleranceCount"]) as number;
|
|
10431
10536
|
}
|
|
10432
10537
|
if (output["FailureTolerancePercentage"] !== undefined) {
|
|
10433
|
-
contents.FailureTolerancePercentage =
|
|
10538
|
+
contents.FailureTolerancePercentage = __strictParseInt32(output["FailureTolerancePercentage"]) as number;
|
|
10434
10539
|
}
|
|
10435
10540
|
if (output["MaxConcurrentCount"] !== undefined) {
|
|
10436
|
-
contents.MaxConcurrentCount =
|
|
10541
|
+
contents.MaxConcurrentCount = __strictParseInt32(output["MaxConcurrentCount"]) as number;
|
|
10437
10542
|
}
|
|
10438
10543
|
if (output["MaxConcurrentPercentage"] !== undefined) {
|
|
10439
|
-
contents.MaxConcurrentPercentage =
|
|
10544
|
+
contents.MaxConcurrentPercentage = __strictParseInt32(output["MaxConcurrentPercentage"]) as number;
|
|
10440
10545
|
}
|
|
10441
10546
|
return contents;
|
|
10442
10547
|
};
|
|
@@ -10523,10 +10628,10 @@ const deserializeAws_queryStackSetOperationSummary = (
|
|
|
10523
10628
|
contents.Status = __expectString(output["Status"]);
|
|
10524
10629
|
}
|
|
10525
10630
|
if (output["CreationTimestamp"] !== undefined) {
|
|
10526
|
-
contents.CreationTimestamp =
|
|
10631
|
+
contents.CreationTimestamp = __expectNonNull(__parseRfc3339DateTime(output["CreationTimestamp"]));
|
|
10527
10632
|
}
|
|
10528
10633
|
if (output["EndTimestamp"] !== undefined) {
|
|
10529
|
-
contents.EndTimestamp =
|
|
10634
|
+
contents.EndTimestamp = __expectNonNull(__parseRfc3339DateTime(output["EndTimestamp"]));
|
|
10530
10635
|
}
|
|
10531
10636
|
return contents;
|
|
10532
10637
|
};
|
|
@@ -10575,7 +10680,7 @@ const deserializeAws_queryStackSetSummary = (output: any, context: __SerdeContex
|
|
|
10575
10680
|
contents.DriftStatus = __expectString(output["DriftStatus"]);
|
|
10576
10681
|
}
|
|
10577
10682
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
10578
|
-
contents.LastDriftCheckTimestamp =
|
|
10683
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
10579
10684
|
}
|
|
10580
10685
|
return contents;
|
|
10581
10686
|
};
|
|
@@ -10615,13 +10720,13 @@ const deserializeAws_queryStackSummary = (output: any, context: __SerdeContext):
|
|
|
10615
10720
|
contents.TemplateDescription = __expectString(output["TemplateDescription"]);
|
|
10616
10721
|
}
|
|
10617
10722
|
if (output["CreationTime"] !== undefined) {
|
|
10618
|
-
contents.CreationTime =
|
|
10723
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
10619
10724
|
}
|
|
10620
10725
|
if (output["LastUpdatedTime"] !== undefined) {
|
|
10621
|
-
contents.LastUpdatedTime =
|
|
10726
|
+
contents.LastUpdatedTime = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTime"]));
|
|
10622
10727
|
}
|
|
10623
10728
|
if (output["DeletionTime"] !== undefined) {
|
|
10624
|
-
contents.DeletionTime =
|
|
10729
|
+
contents.DeletionTime = __expectNonNull(__parseRfc3339DateTime(output["DeletionTime"]));
|
|
10625
10730
|
}
|
|
10626
10731
|
if (output["StackStatus"] !== undefined) {
|
|
10627
10732
|
contents.StackStatus = __expectString(output["StackStatus"]);
|
|
@@ -10677,7 +10782,7 @@ const deserializeAws_querySupportedMajorVersions = (output: any, context: __Serd
|
|
|
10677
10782
|
if (entry === null) {
|
|
10678
10783
|
return null as any;
|
|
10679
10784
|
}
|
|
10680
|
-
return
|
|
10785
|
+
return __strictParseInt32(entry) as number;
|
|
10681
10786
|
});
|
|
10682
10787
|
};
|
|
10683
10788
|
|
|
@@ -10796,7 +10901,7 @@ const deserializeAws_queryTypeConfigurationDetails = (
|
|
|
10796
10901
|
contents.Configuration = __expectString(output["Configuration"]);
|
|
10797
10902
|
}
|
|
10798
10903
|
if (output["LastUpdated"] !== undefined) {
|
|
10799
|
-
contents.LastUpdated =
|
|
10904
|
+
contents.LastUpdated = __expectNonNull(__parseRfc3339DateTime(output["LastUpdated"]));
|
|
10800
10905
|
}
|
|
10801
10906
|
if (output["TypeArn"] !== undefined) {
|
|
10802
10907
|
contents.TypeArn = __expectString(output["TypeArn"]);
|
|
@@ -10916,7 +11021,7 @@ const deserializeAws_queryTypeSummary = (output: any, context: __SerdeContext):
|
|
|
10916
11021
|
contents.TypeArn = __expectString(output["TypeArn"]);
|
|
10917
11022
|
}
|
|
10918
11023
|
if (output["LastUpdated"] !== undefined) {
|
|
10919
|
-
contents.LastUpdated =
|
|
11024
|
+
contents.LastUpdated = __expectNonNull(__parseRfc3339DateTime(output["LastUpdated"]));
|
|
10920
11025
|
}
|
|
10921
11026
|
if (output["Description"] !== undefined) {
|
|
10922
11027
|
contents.Description = __expectString(output["Description"]);
|
|
@@ -10983,7 +11088,7 @@ const deserializeAws_queryTypeVersionSummary = (output: any, context: __SerdeCon
|
|
|
10983
11088
|
contents.Arn = __expectString(output["Arn"]);
|
|
10984
11089
|
}
|
|
10985
11090
|
if (output["TimeCreated"] !== undefined) {
|
|
10986
|
-
contents.TimeCreated =
|
|
11091
|
+
contents.TimeCreated = __expectNonNull(__parseRfc3339DateTime(output["TimeCreated"]));
|
|
10987
11092
|
}
|
|
10988
11093
|
if (output["Description"] !== undefined) {
|
|
10989
11094
|
contents.Description = __expectString(output["Description"]);
|