@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read, __values } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean,
|
|
3
|
+
import { expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { decodeHTML } from "entities";
|
|
5
5
|
import { parse as xmlParse } from "fast-xml-parser";
|
|
6
6
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -534,6 +534,16 @@ export var serializeAws_queryRegisterTypeCommand = function (input, context) { r
|
|
|
534
534
|
return [2 /*return*/, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
535
535
|
});
|
|
536
536
|
}); };
|
|
537
|
+
export var serializeAws_queryRollbackStackCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
538
|
+
var headers, body;
|
|
539
|
+
return __generator(this, function (_a) {
|
|
540
|
+
headers = {
|
|
541
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
542
|
+
};
|
|
543
|
+
body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryRollbackStackInput(input, context)), { Action: "RollbackStack", Version: "2010-05-15" }));
|
|
544
|
+
return [2 /*return*/, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
545
|
+
});
|
|
546
|
+
}); };
|
|
537
547
|
export var serializeAws_querySetStackPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
538
548
|
var headers, body;
|
|
539
549
|
return __generator(this, function (_a) {
|
|
@@ -3712,6 +3722,62 @@ var deserializeAws_queryRegisterTypeCommandError = function (output, context) {
|
|
|
3712
3722
|
}
|
|
3713
3723
|
});
|
|
3714
3724
|
}); };
|
|
3725
|
+
export var deserializeAws_queryRollbackStackCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3726
|
+
var data, contents, response;
|
|
3727
|
+
return __generator(this, function (_a) {
|
|
3728
|
+
switch (_a.label) {
|
|
3729
|
+
case 0:
|
|
3730
|
+
if (output.statusCode >= 300) {
|
|
3731
|
+
return [2 /*return*/, deserializeAws_queryRollbackStackCommandError(output, context)];
|
|
3732
|
+
}
|
|
3733
|
+
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3734
|
+
case 1:
|
|
3735
|
+
data = _a.sent();
|
|
3736
|
+
contents = {};
|
|
3737
|
+
contents = deserializeAws_queryRollbackStackOutput(data.RollbackStackResult, context);
|
|
3738
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
3739
|
+
return [2 /*return*/, Promise.resolve(response)];
|
|
3740
|
+
}
|
|
3741
|
+
});
|
|
3742
|
+
}); };
|
|
3743
|
+
var deserializeAws_queryRollbackStackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3744
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
3745
|
+
var _d;
|
|
3746
|
+
return __generator(this, function (_e) {
|
|
3747
|
+
switch (_e.label) {
|
|
3748
|
+
case 0:
|
|
3749
|
+
_a = [__assign({}, output)];
|
|
3750
|
+
_d = {};
|
|
3751
|
+
return [4 /*yield*/, parseBody(output.body, context)];
|
|
3752
|
+
case 1:
|
|
3753
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
3754
|
+
errorCode = "UnknownError";
|
|
3755
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3756
|
+
_b = errorCode;
|
|
3757
|
+
switch (_b) {
|
|
3758
|
+
case "TokenAlreadyExistsException": return [3 /*break*/, 2];
|
|
3759
|
+
case "com.amazonaws.cloudformation#TokenAlreadyExistsException": return [3 /*break*/, 2];
|
|
3760
|
+
}
|
|
3761
|
+
return [3 /*break*/, 4];
|
|
3762
|
+
case 2:
|
|
3763
|
+
_c = [{}];
|
|
3764
|
+
return [4 /*yield*/, deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context)];
|
|
3765
|
+
case 3:
|
|
3766
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3767
|
+
return [3 /*break*/, 5];
|
|
3768
|
+
case 4:
|
|
3769
|
+
parsedBody = parsedOutput.body;
|
|
3770
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
3771
|
+
response = __assign(__assign({}, parsedBody.Error), { name: "" + errorCode, message: parsedBody.Error.message || parsedBody.Error.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
3772
|
+
_e.label = 5;
|
|
3773
|
+
case 5:
|
|
3774
|
+
message = response.message || response.Message || errorCode;
|
|
3775
|
+
response.message = message;
|
|
3776
|
+
delete response.Message;
|
|
3777
|
+
return [2 /*return*/, Promise.reject(Object.assign(new Error(message), response))];
|
|
3778
|
+
}
|
|
3779
|
+
});
|
|
3780
|
+
}); };
|
|
3715
3781
|
export var deserializeAws_querySetStackPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3716
3782
|
var response;
|
|
3717
3783
|
return __generator(this, function (_a) {
|
|
@@ -5432,6 +5498,9 @@ var serializeAws_queryExecuteChangeSetInput = function (input, context) {
|
|
|
5432
5498
|
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
5433
5499
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
5434
5500
|
}
|
|
5501
|
+
if (input.DisableRollback !== undefined && input.DisableRollback !== null) {
|
|
5502
|
+
entries["DisableRollback"] = input.DisableRollback;
|
|
5503
|
+
}
|
|
5435
5504
|
return entries;
|
|
5436
5505
|
};
|
|
5437
5506
|
var serializeAws_queryGetStackPolicyInput = function (input, context) {
|
|
@@ -6079,6 +6148,19 @@ var serializeAws_queryRollbackConfiguration = function (input, context) {
|
|
|
6079
6148
|
}
|
|
6080
6149
|
return entries;
|
|
6081
6150
|
};
|
|
6151
|
+
var serializeAws_queryRollbackStackInput = function (input, context) {
|
|
6152
|
+
var entries = {};
|
|
6153
|
+
if (input.StackName !== undefined && input.StackName !== null) {
|
|
6154
|
+
entries["StackName"] = input.StackName;
|
|
6155
|
+
}
|
|
6156
|
+
if (input.RoleARN !== undefined && input.RoleARN !== null) {
|
|
6157
|
+
entries["RoleARN"] = input.RoleARN;
|
|
6158
|
+
}
|
|
6159
|
+
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
6160
|
+
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
6161
|
+
}
|
|
6162
|
+
return entries;
|
|
6163
|
+
};
|
|
6082
6164
|
var serializeAws_queryRollbackTrigger = function (input, context) {
|
|
6083
6165
|
var entries = {};
|
|
6084
6166
|
if (input.Arn !== undefined && input.Arn !== null) {
|
|
@@ -6518,6 +6600,9 @@ var serializeAws_queryUpdateStackInput = function (input, context) {
|
|
|
6518
6600
|
entries[loc] = value;
|
|
6519
6601
|
});
|
|
6520
6602
|
}
|
|
6603
|
+
if (input.DisableRollback !== undefined && input.DisableRollback !== null) {
|
|
6604
|
+
entries["DisableRollback"] = input.DisableRollback;
|
|
6605
|
+
}
|
|
6521
6606
|
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
6522
6607
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
6523
6608
|
}
|
|
@@ -6722,7 +6807,7 @@ var deserializeAws_queryAccountLimit = function (output, context) {
|
|
|
6722
6807
|
contents.Name = __expectString(output["Name"]);
|
|
6723
6808
|
}
|
|
6724
6809
|
if (output["Value"] !== undefined) {
|
|
6725
|
-
contents.Value =
|
|
6810
|
+
contents.Value = __strictParseInt32(output["Value"]);
|
|
6726
6811
|
}
|
|
6727
6812
|
return contents;
|
|
6728
6813
|
};
|
|
@@ -6939,7 +7024,7 @@ var deserializeAws_queryChangeSetSummary = function (output, context) {
|
|
|
6939
7024
|
contents.StatusReason = __expectString(output["StatusReason"]);
|
|
6940
7025
|
}
|
|
6941
7026
|
if (output["CreationTime"] !== undefined) {
|
|
6942
|
-
contents.CreationTime =
|
|
7027
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
6943
7028
|
}
|
|
6944
7029
|
if (output["Description"] !== undefined) {
|
|
6945
7030
|
contents.Description = __expectString(output["Description"]);
|
|
@@ -7116,7 +7201,7 @@ var deserializeAws_queryDescribeChangeSetOutput = function (output, context) {
|
|
|
7116
7201
|
contents.Parameters = deserializeAws_queryParameters(__getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
7117
7202
|
}
|
|
7118
7203
|
if (output["CreationTime"] !== undefined) {
|
|
7119
|
-
contents.CreationTime =
|
|
7204
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
7120
7205
|
}
|
|
7121
7206
|
if (output["ExecutionStatus"] !== undefined) {
|
|
7122
7207
|
contents.ExecutionStatus = __expectString(output["ExecutionStatus"]);
|
|
@@ -7215,10 +7300,10 @@ var deserializeAws_queryDescribeStackDriftDetectionStatusOutput = function (outp
|
|
|
7215
7300
|
contents.DetectionStatusReason = __expectString(output["DetectionStatusReason"]);
|
|
7216
7301
|
}
|
|
7217
7302
|
if (output["DriftedStackResourceCount"] !== undefined) {
|
|
7218
|
-
contents.DriftedStackResourceCount =
|
|
7303
|
+
contents.DriftedStackResourceCount = __strictParseInt32(output["DriftedStackResourceCount"]);
|
|
7219
7304
|
}
|
|
7220
7305
|
if (output["Timestamp"] !== undefined) {
|
|
7221
|
-
contents.Timestamp =
|
|
7306
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
7222
7307
|
}
|
|
7223
7308
|
return contents;
|
|
7224
7309
|
};
|
|
@@ -7403,10 +7488,10 @@ var deserializeAws_queryDescribeTypeOutput = function (output, context) {
|
|
|
7403
7488
|
contents.DocumentationUrl = __expectString(output["DocumentationUrl"]);
|
|
7404
7489
|
}
|
|
7405
7490
|
if (output["LastUpdated"] !== undefined) {
|
|
7406
|
-
contents.LastUpdated =
|
|
7491
|
+
contents.LastUpdated = __expectNonNull(__parseRfc3339DateTime(output["LastUpdated"]));
|
|
7407
7492
|
}
|
|
7408
7493
|
if (output["TimeCreated"] !== undefined) {
|
|
7409
|
-
contents.TimeCreated =
|
|
7494
|
+
contents.TimeCreated = __expectNonNull(__parseRfc3339DateTime(output["TimeCreated"]));
|
|
7410
7495
|
}
|
|
7411
7496
|
if (output["ConfigurationSchema"] !== undefined) {
|
|
7412
7497
|
contents.ConfigurationSchema = __expectString(output["ConfigurationSchema"]);
|
|
@@ -8373,7 +8458,16 @@ var deserializeAws_queryRollbackConfiguration = function (output, context) {
|
|
|
8373
8458
|
contents.RollbackTriggers = deserializeAws_queryRollbackTriggers(__getArrayIfSingleItem(output["RollbackTriggers"]["member"]), context);
|
|
8374
8459
|
}
|
|
8375
8460
|
if (output["MonitoringTimeInMinutes"] !== undefined) {
|
|
8376
|
-
contents.MonitoringTimeInMinutes =
|
|
8461
|
+
contents.MonitoringTimeInMinutes = __strictParseInt32(output["MonitoringTimeInMinutes"]);
|
|
8462
|
+
}
|
|
8463
|
+
return contents;
|
|
8464
|
+
};
|
|
8465
|
+
var deserializeAws_queryRollbackStackOutput = function (output, context) {
|
|
8466
|
+
var contents = {
|
|
8467
|
+
StackId: undefined,
|
|
8468
|
+
};
|
|
8469
|
+
if (output["StackId"] !== undefined) {
|
|
8470
|
+
contents.StackId = __expectString(output["StackId"]);
|
|
8377
8471
|
}
|
|
8378
8472
|
return contents;
|
|
8379
8473
|
};
|
|
@@ -8467,13 +8561,13 @@ var deserializeAws_queryStack = function (output, context) {
|
|
|
8467
8561
|
contents.Parameters = deserializeAws_queryParameters(__getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
8468
8562
|
}
|
|
8469
8563
|
if (output["CreationTime"] !== undefined) {
|
|
8470
|
-
contents.CreationTime =
|
|
8564
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
8471
8565
|
}
|
|
8472
8566
|
if (output["DeletionTime"] !== undefined) {
|
|
8473
|
-
contents.DeletionTime =
|
|
8567
|
+
contents.DeletionTime = __expectNonNull(__parseRfc3339DateTime(output["DeletionTime"]));
|
|
8474
8568
|
}
|
|
8475
8569
|
if (output["LastUpdatedTime"] !== undefined) {
|
|
8476
|
-
contents.LastUpdatedTime =
|
|
8570
|
+
contents.LastUpdatedTime = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTime"]));
|
|
8477
8571
|
}
|
|
8478
8572
|
if (output["RollbackConfiguration"] !== undefined) {
|
|
8479
8573
|
contents.RollbackConfiguration = deserializeAws_queryRollbackConfiguration(output["RollbackConfiguration"], context);
|
|
@@ -8494,7 +8588,7 @@ var deserializeAws_queryStack = function (output, context) {
|
|
|
8494
8588
|
contents.NotificationARNs = deserializeAws_queryNotificationARNs(__getArrayIfSingleItem(output["NotificationARNs"]["member"]), context);
|
|
8495
8589
|
}
|
|
8496
8590
|
if (output["TimeoutInMinutes"] !== undefined) {
|
|
8497
|
-
contents.TimeoutInMinutes =
|
|
8591
|
+
contents.TimeoutInMinutes = __strictParseInt32(output["TimeoutInMinutes"]);
|
|
8498
8592
|
}
|
|
8499
8593
|
if (output.Capabilities === "") {
|
|
8500
8594
|
contents.Capabilities = [];
|
|
@@ -8540,7 +8634,7 @@ var deserializeAws_queryStackDriftInformation = function (output, context) {
|
|
|
8540
8634
|
contents.StackDriftStatus = __expectString(output["StackDriftStatus"]);
|
|
8541
8635
|
}
|
|
8542
8636
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8543
|
-
contents.LastCheckTimestamp =
|
|
8637
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8544
8638
|
}
|
|
8545
8639
|
return contents;
|
|
8546
8640
|
};
|
|
@@ -8553,7 +8647,7 @@ var deserializeAws_queryStackDriftInformationSummary = function (output, context
|
|
|
8553
8647
|
contents.StackDriftStatus = __expectString(output["StackDriftStatus"]);
|
|
8554
8648
|
}
|
|
8555
8649
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8556
|
-
contents.LastCheckTimestamp =
|
|
8650
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8557
8651
|
}
|
|
8558
8652
|
return contents;
|
|
8559
8653
|
};
|
|
@@ -8590,7 +8684,7 @@ var deserializeAws_queryStackEvent = function (output, context) {
|
|
|
8590
8684
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
8591
8685
|
}
|
|
8592
8686
|
if (output["Timestamp"] !== undefined) {
|
|
8593
|
-
contents.Timestamp =
|
|
8687
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
8594
8688
|
}
|
|
8595
8689
|
if (output["ResourceStatus"] !== undefined) {
|
|
8596
8690
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -8664,7 +8758,7 @@ var deserializeAws_queryStackInstance = function (output, context) {
|
|
|
8664
8758
|
contents.DriftStatus = __expectString(output["DriftStatus"]);
|
|
8665
8759
|
}
|
|
8666
8760
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
8667
|
-
contents.LastDriftCheckTimestamp =
|
|
8761
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
8668
8762
|
}
|
|
8669
8763
|
return contents;
|
|
8670
8764
|
};
|
|
@@ -8737,7 +8831,7 @@ var deserializeAws_queryStackInstanceSummary = function (output, context) {
|
|
|
8737
8831
|
contents.DriftStatus = __expectString(output["DriftStatus"]);
|
|
8738
8832
|
}
|
|
8739
8833
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
8740
|
-
contents.LastDriftCheckTimestamp =
|
|
8834
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
8741
8835
|
}
|
|
8742
8836
|
return contents;
|
|
8743
8837
|
};
|
|
@@ -8780,7 +8874,7 @@ var deserializeAws_queryStackResource = function (output, context) {
|
|
|
8780
8874
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
8781
8875
|
}
|
|
8782
8876
|
if (output["Timestamp"] !== undefined) {
|
|
8783
|
-
contents.Timestamp =
|
|
8877
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
8784
8878
|
}
|
|
8785
8879
|
if (output["ResourceStatus"] !== undefined) {
|
|
8786
8880
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -8830,7 +8924,7 @@ var deserializeAws_queryStackResourceDetail = function (output, context) {
|
|
|
8830
8924
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
8831
8925
|
}
|
|
8832
8926
|
if (output["LastUpdatedTimestamp"] !== undefined) {
|
|
8833
|
-
contents.LastUpdatedTimestamp =
|
|
8927
|
+
contents.LastUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
|
|
8834
8928
|
}
|
|
8835
8929
|
if (output["ResourceStatus"] !== undefined) {
|
|
8836
8930
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -8901,7 +8995,7 @@ var deserializeAws_queryStackResourceDrift = function (output, context) {
|
|
|
8901
8995
|
contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
|
|
8902
8996
|
}
|
|
8903
8997
|
if (output["Timestamp"] !== undefined) {
|
|
8904
|
-
contents.Timestamp =
|
|
8998
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
8905
8999
|
}
|
|
8906
9000
|
if (output["ModuleInfo"] !== undefined) {
|
|
8907
9001
|
contents.ModuleInfo = deserializeAws_queryModuleInfo(output["ModuleInfo"], context);
|
|
@@ -8917,7 +9011,7 @@ var deserializeAws_queryStackResourceDriftInformation = function (output, contex
|
|
|
8917
9011
|
contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
|
|
8918
9012
|
}
|
|
8919
9013
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8920
|
-
contents.LastCheckTimestamp =
|
|
9014
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8921
9015
|
}
|
|
8922
9016
|
return contents;
|
|
8923
9017
|
};
|
|
@@ -8930,7 +9024,7 @@ var deserializeAws_queryStackResourceDriftInformationSummary = function (output,
|
|
|
8930
9024
|
contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
|
|
8931
9025
|
}
|
|
8932
9026
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8933
|
-
contents.LastCheckTimestamp =
|
|
9027
|
+
contents.LastCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8934
9028
|
}
|
|
8935
9029
|
return contents;
|
|
8936
9030
|
};
|
|
@@ -8985,7 +9079,7 @@ var deserializeAws_queryStackResourceSummary = function (output, context) {
|
|
|
8985
9079
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
8986
9080
|
}
|
|
8987
9081
|
if (output["LastUpdatedTimestamp"] !== undefined) {
|
|
8988
|
-
contents.LastUpdatedTimestamp =
|
|
9082
|
+
contents.LastUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
|
|
8989
9083
|
}
|
|
8990
9084
|
if (output["ResourceStatus"] !== undefined) {
|
|
8991
9085
|
contents.ResourceStatus = __expectString(output["ResourceStatus"]);
|
|
@@ -9106,22 +9200,22 @@ var deserializeAws_queryStackSetDriftDetectionDetails = function (output, contex
|
|
|
9106
9200
|
contents.DriftDetectionStatus = __expectString(output["DriftDetectionStatus"]);
|
|
9107
9201
|
}
|
|
9108
9202
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
9109
|
-
contents.LastDriftCheckTimestamp =
|
|
9203
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
9110
9204
|
}
|
|
9111
9205
|
if (output["TotalStackInstancesCount"] !== undefined) {
|
|
9112
|
-
contents.TotalStackInstancesCount =
|
|
9206
|
+
contents.TotalStackInstancesCount = __strictParseInt32(output["TotalStackInstancesCount"]);
|
|
9113
9207
|
}
|
|
9114
9208
|
if (output["DriftedStackInstancesCount"] !== undefined) {
|
|
9115
|
-
contents.DriftedStackInstancesCount =
|
|
9209
|
+
contents.DriftedStackInstancesCount = __strictParseInt32(output["DriftedStackInstancesCount"]);
|
|
9116
9210
|
}
|
|
9117
9211
|
if (output["InSyncStackInstancesCount"] !== undefined) {
|
|
9118
|
-
contents.InSyncStackInstancesCount =
|
|
9212
|
+
contents.InSyncStackInstancesCount = __strictParseInt32(output["InSyncStackInstancesCount"]);
|
|
9119
9213
|
}
|
|
9120
9214
|
if (output["InProgressStackInstancesCount"] !== undefined) {
|
|
9121
|
-
contents.InProgressStackInstancesCount =
|
|
9215
|
+
contents.InProgressStackInstancesCount = __strictParseInt32(output["InProgressStackInstancesCount"]);
|
|
9122
9216
|
}
|
|
9123
9217
|
if (output["FailedStackInstancesCount"] !== undefined) {
|
|
9124
|
-
contents.FailedStackInstancesCount =
|
|
9218
|
+
contents.FailedStackInstancesCount = __strictParseInt32(output["FailedStackInstancesCount"]);
|
|
9125
9219
|
}
|
|
9126
9220
|
return contents;
|
|
9127
9221
|
};
|
|
@@ -9183,10 +9277,10 @@ var deserializeAws_queryStackSetOperation = function (output, context) {
|
|
|
9183
9277
|
contents.ExecutionRoleName = __expectString(output["ExecutionRoleName"]);
|
|
9184
9278
|
}
|
|
9185
9279
|
if (output["CreationTimestamp"] !== undefined) {
|
|
9186
|
-
contents.CreationTimestamp =
|
|
9280
|
+
contents.CreationTimestamp = __expectNonNull(__parseRfc3339DateTime(output["CreationTimestamp"]));
|
|
9187
9281
|
}
|
|
9188
9282
|
if (output["EndTimestamp"] !== undefined) {
|
|
9189
|
-
contents.EndTimestamp =
|
|
9283
|
+
contents.EndTimestamp = __expectNonNull(__parseRfc3339DateTime(output["EndTimestamp"]));
|
|
9190
9284
|
}
|
|
9191
9285
|
if (output["DeploymentTargets"] !== undefined) {
|
|
9192
9286
|
contents.DeploymentTargets = deserializeAws_queryDeploymentTargets(output["DeploymentTargets"], context);
|
|
@@ -9215,16 +9309,16 @@ var deserializeAws_queryStackSetOperationPreferences = function (output, context
|
|
|
9215
9309
|
contents.RegionOrder = deserializeAws_queryRegionList(__getArrayIfSingleItem(output["RegionOrder"]["member"]), context);
|
|
9216
9310
|
}
|
|
9217
9311
|
if (output["FailureToleranceCount"] !== undefined) {
|
|
9218
|
-
contents.FailureToleranceCount =
|
|
9312
|
+
contents.FailureToleranceCount = __strictParseInt32(output["FailureToleranceCount"]);
|
|
9219
9313
|
}
|
|
9220
9314
|
if (output["FailureTolerancePercentage"] !== undefined) {
|
|
9221
|
-
contents.FailureTolerancePercentage =
|
|
9315
|
+
contents.FailureTolerancePercentage = __strictParseInt32(output["FailureTolerancePercentage"]);
|
|
9222
9316
|
}
|
|
9223
9317
|
if (output["MaxConcurrentCount"] !== undefined) {
|
|
9224
|
-
contents.MaxConcurrentCount =
|
|
9318
|
+
contents.MaxConcurrentCount = __strictParseInt32(output["MaxConcurrentCount"]);
|
|
9225
9319
|
}
|
|
9226
9320
|
if (output["MaxConcurrentPercentage"] !== undefined) {
|
|
9227
|
-
contents.MaxConcurrentPercentage =
|
|
9321
|
+
contents.MaxConcurrentPercentage = __strictParseInt32(output["MaxConcurrentPercentage"]);
|
|
9228
9322
|
}
|
|
9229
9323
|
return contents;
|
|
9230
9324
|
};
|
|
@@ -9295,10 +9389,10 @@ var deserializeAws_queryStackSetOperationSummary = function (output, context) {
|
|
|
9295
9389
|
contents.Status = __expectString(output["Status"]);
|
|
9296
9390
|
}
|
|
9297
9391
|
if (output["CreationTimestamp"] !== undefined) {
|
|
9298
|
-
contents.CreationTimestamp =
|
|
9392
|
+
contents.CreationTimestamp = __expectNonNull(__parseRfc3339DateTime(output["CreationTimestamp"]));
|
|
9299
9393
|
}
|
|
9300
9394
|
if (output["EndTimestamp"] !== undefined) {
|
|
9301
|
-
contents.EndTimestamp =
|
|
9395
|
+
contents.EndTimestamp = __expectNonNull(__parseRfc3339DateTime(output["EndTimestamp"]));
|
|
9302
9396
|
}
|
|
9303
9397
|
return contents;
|
|
9304
9398
|
};
|
|
@@ -9345,7 +9439,7 @@ var deserializeAws_queryStackSetSummary = function (output, context) {
|
|
|
9345
9439
|
contents.DriftStatus = __expectString(output["DriftStatus"]);
|
|
9346
9440
|
}
|
|
9347
9441
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
9348
|
-
contents.LastDriftCheckTimestamp =
|
|
9442
|
+
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
9349
9443
|
}
|
|
9350
9444
|
return contents;
|
|
9351
9445
|
};
|
|
@@ -9383,13 +9477,13 @@ var deserializeAws_queryStackSummary = function (output, context) {
|
|
|
9383
9477
|
contents.TemplateDescription = __expectString(output["TemplateDescription"]);
|
|
9384
9478
|
}
|
|
9385
9479
|
if (output["CreationTime"] !== undefined) {
|
|
9386
|
-
contents.CreationTime =
|
|
9480
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["CreationTime"]));
|
|
9387
9481
|
}
|
|
9388
9482
|
if (output["LastUpdatedTime"] !== undefined) {
|
|
9389
|
-
contents.LastUpdatedTime =
|
|
9483
|
+
contents.LastUpdatedTime = __expectNonNull(__parseRfc3339DateTime(output["LastUpdatedTime"]));
|
|
9390
9484
|
}
|
|
9391
9485
|
if (output["DeletionTime"] !== undefined) {
|
|
9392
|
-
contents.DeletionTime =
|
|
9486
|
+
contents.DeletionTime = __expectNonNull(__parseRfc3339DateTime(output["DeletionTime"]));
|
|
9393
9487
|
}
|
|
9394
9488
|
if (output["StackStatus"] !== undefined) {
|
|
9395
9489
|
contents.StackStatus = __expectString(output["StackStatus"]);
|
|
@@ -9438,7 +9532,7 @@ var deserializeAws_querySupportedMajorVersions = function (output, context) {
|
|
|
9438
9532
|
if (entry === null) {
|
|
9439
9533
|
return null;
|
|
9440
9534
|
}
|
|
9441
|
-
return
|
|
9535
|
+
return __strictParseInt32(entry);
|
|
9442
9536
|
});
|
|
9443
9537
|
};
|
|
9444
9538
|
var deserializeAws_queryTag = function (output, context) {
|
|
@@ -9543,7 +9637,7 @@ var deserializeAws_queryTypeConfigurationDetails = function (output, context) {
|
|
|
9543
9637
|
contents.Configuration = __expectString(output["Configuration"]);
|
|
9544
9638
|
}
|
|
9545
9639
|
if (output["LastUpdated"] !== undefined) {
|
|
9546
|
-
contents.LastUpdated =
|
|
9640
|
+
contents.LastUpdated = __expectNonNull(__parseRfc3339DateTime(output["LastUpdated"]));
|
|
9547
9641
|
}
|
|
9548
9642
|
if (output["TypeArn"] !== undefined) {
|
|
9549
9643
|
contents.TypeArn = __expectString(output["TypeArn"]);
|
|
@@ -9648,7 +9742,7 @@ var deserializeAws_queryTypeSummary = function (output, context) {
|
|
|
9648
9742
|
contents.TypeArn = __expectString(output["TypeArn"]);
|
|
9649
9743
|
}
|
|
9650
9744
|
if (output["LastUpdated"] !== undefined) {
|
|
9651
|
-
contents.LastUpdated =
|
|
9745
|
+
contents.LastUpdated = __expectNonNull(__parseRfc3339DateTime(output["LastUpdated"]));
|
|
9652
9746
|
}
|
|
9653
9747
|
if (output["Description"] !== undefined) {
|
|
9654
9748
|
contents.Description = __expectString(output["Description"]);
|
|
@@ -9713,7 +9807,7 @@ var deserializeAws_queryTypeVersionSummary = function (output, context) {
|
|
|
9713
9807
|
contents.Arn = __expectString(output["Arn"]);
|
|
9714
9808
|
}
|
|
9715
9809
|
if (output["TimeCreated"] !== undefined) {
|
|
9716
|
-
contents.TimeCreated =
|
|
9810
|
+
contents.TimeCreated = __expectNonNull(__parseRfc3339DateTime(output["TimeCreated"]));
|
|
9717
9811
|
}
|
|
9718
9812
|
if (output["Description"] !== undefined) {
|
|
9719
9813
|
contents.Description = __expectString(output["Description"]);
|