@aws-sdk/client-cloudformation 3.31.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 +8 -0
- package/dist/cjs/CloudFormationClient.js +13 -13
- package/dist/cjs/CloudFormationClient.js.map +1 -1
- package/dist/cjs/commands/ActivateTypeCommand.js +3 -3
- package/dist/cjs/commands/ActivateTypeCommand.js.map +1 -1
- package/dist/cjs/commands/BatchDescribeTypeConfigurationsCommand.js +3 -3
- package/dist/cjs/commands/BatchDescribeTypeConfigurationsCommand.js.map +1 -1
- package/dist/cjs/commands/CancelUpdateStackCommand.js +3 -3
- package/dist/cjs/commands/CancelUpdateStackCommand.js.map +1 -1
- package/dist/cjs/commands/ContinueUpdateRollbackCommand.js +3 -3
- package/dist/cjs/commands/ContinueUpdateRollbackCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChangeSetCommand.js +3 -3
- package/dist/cjs/commands/CreateChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStackCommand.js +3 -3
- package/dist/cjs/commands/CreateStackCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStackInstancesCommand.js +3 -3
- package/dist/cjs/commands/CreateStackInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStackSetCommand.js +3 -3
- package/dist/cjs/commands/CreateStackSetCommand.js.map +1 -1
- package/dist/cjs/commands/DeactivateTypeCommand.js +3 -3
- package/dist/cjs/commands/DeactivateTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChangeSetCommand.js +3 -3
- package/dist/cjs/commands/DeleteChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStackCommand.js +3 -3
- package/dist/cjs/commands/DeleteStackCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStackInstancesCommand.js +3 -3
- package/dist/cjs/commands/DeleteStackInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStackSetCommand.js +3 -3
- package/dist/cjs/commands/DeleteStackSetCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterTypeCommand.js +3 -3
- package/dist/cjs/commands/DeregisterTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChangeSetCommand.js +3 -3
- package/dist/cjs/commands/DescribeChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribePublisherCommand.js +3 -3
- package/dist/cjs/commands/DescribePublisherCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackDriftDetectionStatusCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackDriftDetectionStatusCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackEventsCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackEventsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackInstanceCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackResourceCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackResourceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackResourcesCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackSetCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackSetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackSetOperationCommand.js +3 -3
- package/dist/cjs/commands/DescribeStackSetOperationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStacksCommand.js +3 -3
- package/dist/cjs/commands/DescribeStacksCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTypeCommand.js +3 -3
- package/dist/cjs/commands/DescribeTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTypeRegistrationCommand.js +3 -3
- package/dist/cjs/commands/DescribeTypeRegistrationCommand.js.map +1 -1
- package/dist/cjs/commands/DetectStackDriftCommand.js +3 -3
- package/dist/cjs/commands/DetectStackDriftCommand.js.map +1 -1
- package/dist/cjs/commands/DetectStackResourceDriftCommand.js +3 -3
- package/dist/cjs/commands/DetectStackResourceDriftCommand.js.map +1 -1
- package/dist/cjs/commands/DetectStackSetDriftCommand.js +3 -3
- package/dist/cjs/commands/DetectStackSetDriftCommand.js.map +1 -1
- package/dist/cjs/commands/EstimateTemplateCostCommand.js +3 -3
- package/dist/cjs/commands/EstimateTemplateCostCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteChangeSetCommand.js +3 -3
- package/dist/cjs/commands/ExecuteChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/GetStackPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetStackPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetTemplateCommand.js +3 -3
- package/dist/cjs/commands/GetTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/GetTemplateSummaryCommand.js +3 -3
- package/dist/cjs/commands/GetTemplateSummaryCommand.js.map +1 -1
- package/dist/cjs/commands/ImportStacksToStackSetCommand.js +3 -3
- package/dist/cjs/commands/ImportStacksToStackSetCommand.js.map +1 -1
- package/dist/cjs/commands/ListChangeSetsCommand.js +3 -3
- package/dist/cjs/commands/ListChangeSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListExportsCommand.js +3 -3
- package/dist/cjs/commands/ListExportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListImportsCommand.js +3 -3
- package/dist/cjs/commands/ListImportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStackInstancesCommand.js +3 -3
- package/dist/cjs/commands/ListStackInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/ListStackResourcesCommand.js +3 -3
- package/dist/cjs/commands/ListStackResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/ListStackSetOperationResultsCommand.js +3 -3
- package/dist/cjs/commands/ListStackSetOperationResultsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStackSetOperationsCommand.js +3 -3
- package/dist/cjs/commands/ListStackSetOperationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStackSetsCommand.js +3 -3
- package/dist/cjs/commands/ListStackSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStacksCommand.js +3 -3
- package/dist/cjs/commands/ListStacksCommand.js.map +1 -1
- package/dist/cjs/commands/ListTypeRegistrationsCommand.js +3 -3
- package/dist/cjs/commands/ListTypeRegistrationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTypeVersionsCommand.js +3 -3
- package/dist/cjs/commands/ListTypeVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTypesCommand.js +3 -3
- package/dist/cjs/commands/ListTypesCommand.js.map +1 -1
- package/dist/cjs/commands/PublishTypeCommand.js +3 -3
- package/dist/cjs/commands/PublishTypeCommand.js.map +1 -1
- package/dist/cjs/commands/RecordHandlerProgressCommand.js +3 -3
- package/dist/cjs/commands/RecordHandlerProgressCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterPublisherCommand.js +3 -3
- package/dist/cjs/commands/RegisterPublisherCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterTypeCommand.js +3 -3
- package/dist/cjs/commands/RegisterTypeCommand.js.map +1 -1
- package/dist/cjs/commands/RollbackStackCommand.js +3 -3
- package/dist/cjs/commands/RollbackStackCommand.js.map +1 -1
- package/dist/cjs/commands/SetStackPolicyCommand.js +3 -3
- package/dist/cjs/commands/SetStackPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/SetTypeConfigurationCommand.js +3 -3
- package/dist/cjs/commands/SetTypeConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/SetTypeDefaultVersionCommand.js +3 -3
- package/dist/cjs/commands/SetTypeDefaultVersionCommand.js.map +1 -1
- package/dist/cjs/commands/SignalResourceCommand.js +3 -3
- package/dist/cjs/commands/SignalResourceCommand.js.map +1 -1
- package/dist/cjs/commands/StopStackSetOperationCommand.js +3 -3
- package/dist/cjs/commands/StopStackSetOperationCommand.js.map +1 -1
- package/dist/cjs/commands/TestTypeCommand.js +3 -3
- package/dist/cjs/commands/TestTypeCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateStackCommand.js +3 -3
- package/dist/cjs/commands/UpdateStackCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateStackInstancesCommand.js +3 -3
- package/dist/cjs/commands/UpdateStackInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateStackSetCommand.js +3 -3
- package/dist/cjs/commands/UpdateStackSetCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTerminationProtectionCommand.js +3 -3
- package/dist/cjs/commands/UpdateTerminationProtectionCommand.js.map +1 -1
- package/dist/cjs/commands/ValidateTemplateCommand.js +3 -3
- package/dist/cjs/commands/ValidateTemplateCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +93 -93
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +453 -453
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForChangeSetCreateComplete.js +3 -3
- package/dist/cjs/waiters/waitForChangeSetCreateComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForStackCreateComplete.js +3 -3
- package/dist/cjs/waiters/waitForStackCreateComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForStackDeleteComplete.js +3 -3
- package/dist/cjs/waiters/waitForStackDeleteComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForStackExists.js +3 -3
- package/dist/cjs/waiters/waitForStackExists.js.map +1 -1
- package/dist/cjs/waiters/waitForStackImportComplete.js +3 -3
- package/dist/cjs/waiters/waitForStackImportComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForStackRollbackComplete.js +3 -3
- package/dist/cjs/waiters/waitForStackRollbackComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForStackUpdateComplete.js +3 -3
- package/dist/cjs/waiters/waitForStackUpdateComplete.js.map +1 -1
- package/dist/cjs/waiters/waitForTypeRegistrationComplete.js +3 -3
- package/dist/cjs/waiters/waitForTypeRegistrationComplete.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/DescribeAccountLimitsPaginator.js +4 -4
- package/dist/es/pagination/DescribeAccountLimitsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeStackEventsPaginator.js +4 -4
- package/dist/es/pagination/DescribeStackEventsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeStackResourceDriftsPaginator.js +4 -4
- package/dist/es/pagination/DescribeStackResourceDriftsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeStacksPaginator.js +4 -4
- package/dist/es/pagination/DescribeStacksPaginator.js.map +1 -1
- package/dist/es/pagination/ListChangeSetsPaginator.js +4 -4
- package/dist/es/pagination/ListChangeSetsPaginator.js.map +1 -1
- package/dist/es/pagination/ListExportsPaginator.js +4 -4
- package/dist/es/pagination/ListExportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListImportsPaginator.js +4 -4
- package/dist/es/pagination/ListImportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStackInstancesPaginator.js +4 -4
- package/dist/es/pagination/ListStackInstancesPaginator.js.map +1 -1
- package/dist/es/pagination/ListStackResourcesPaginator.js +4 -4
- package/dist/es/pagination/ListStackResourcesPaginator.js.map +1 -1
- package/dist/es/pagination/ListStackSetOperationResultsPaginator.js +4 -4
- package/dist/es/pagination/ListStackSetOperationResultsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStackSetOperationsPaginator.js +4 -4
- package/dist/es/pagination/ListStackSetOperationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStackSetsPaginator.js +4 -4
- package/dist/es/pagination/ListStackSetsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStacksPaginator.js +4 -4
- package/dist/es/pagination/ListStacksPaginator.js.map +1 -1
- package/dist/es/pagination/ListTypeRegistrationsPaginator.js +4 -4
- package/dist/es/pagination/ListTypeRegistrationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTypeVersionsPaginator.js +4 -4
- package/dist/es/pagination/ListTypeVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTypesPaginator.js +4 -4
- package/dist/es/pagination/ListTypesPaginator.js.map +1 -1
- package/dist/es/waiters/waitForStackCreateComplete.js +6 -6
- package/dist/es/waiters/waitForStackCreateComplete.js.map +1 -1
- package/dist/es/waiters/waitForStackDeleteComplete.js +7 -7
- package/dist/es/waiters/waitForStackDeleteComplete.js.map +1 -1
- package/dist/es/waiters/waitForStackImportComplete.js +6 -6
- package/dist/es/waiters/waitForStackImportComplete.js.map +1 -1
- package/dist/es/waiters/waitForStackRollbackComplete.js +4 -4
- package/dist/es/waiters/waitForStackRollbackComplete.js.map +1 -1
- package/dist/es/waiters/waitForStackUpdateComplete.js +4 -4
- package/dist/es/waiters/waitForStackUpdateComplete.js.map +1 -1
- package/package.json +32 -32
- package/tsconfig.json +1 -2
|
@@ -4718,7 +4718,7 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
4718
4718
|
});
|
|
4719
4719
|
}
|
|
4720
4720
|
if (input.OperationId === undefined) {
|
|
4721
|
-
input.OperationId =
|
|
4721
|
+
input.OperationId = uuid_1.v4();
|
|
4722
4722
|
}
|
|
4723
4723
|
if (input.OperationId !== undefined && input.OperationId !== null) {
|
|
4724
4724
|
entries["OperationId"] = input.OperationId;
|
|
@@ -4786,7 +4786,7 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
4786
4786
|
entries["CallAs"] = input.CallAs;
|
|
4787
4787
|
}
|
|
4788
4788
|
if (input.ClientRequestToken === undefined) {
|
|
4789
|
-
input.ClientRequestToken =
|
|
4789
|
+
input.ClientRequestToken = uuid_1.v4();
|
|
4790
4790
|
}
|
|
4791
4791
|
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
4792
4792
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
@@ -4873,7 +4873,7 @@ const serializeAws_queryDeleteStackInstancesInput = (input, context) => {
|
|
|
4873
4873
|
entries["RetainStacks"] = input.RetainStacks;
|
|
4874
4874
|
}
|
|
4875
4875
|
if (input.OperationId === undefined) {
|
|
4876
|
-
input.OperationId =
|
|
4876
|
+
input.OperationId = uuid_1.v4();
|
|
4877
4877
|
}
|
|
4878
4878
|
if (input.OperationId !== undefined && input.OperationId !== null) {
|
|
4879
4879
|
entries["OperationId"] = input.OperationId;
|
|
@@ -5132,7 +5132,7 @@ const serializeAws_queryDetectStackSetDriftInput = (input, context) => {
|
|
|
5132
5132
|
});
|
|
5133
5133
|
}
|
|
5134
5134
|
if (input.OperationId === undefined) {
|
|
5135
|
-
input.OperationId =
|
|
5135
|
+
input.OperationId = uuid_1.v4();
|
|
5136
5136
|
}
|
|
5137
5137
|
if (input.OperationId !== undefined && input.OperationId !== null) {
|
|
5138
5138
|
entries["OperationId"] = input.OperationId;
|
|
@@ -5234,7 +5234,7 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
|
5234
5234
|
});
|
|
5235
5235
|
}
|
|
5236
5236
|
if (input.OperationId === undefined) {
|
|
5237
|
-
input.OperationId =
|
|
5237
|
+
input.OperationId = uuid_1.v4();
|
|
5238
5238
|
}
|
|
5239
5239
|
if (input.OperationId !== undefined && input.OperationId !== null) {
|
|
5240
5240
|
entries["OperationId"] = input.OperationId;
|
|
@@ -6124,7 +6124,7 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
6124
6124
|
});
|
|
6125
6125
|
}
|
|
6126
6126
|
if (input.OperationId === undefined) {
|
|
6127
|
-
input.OperationId =
|
|
6127
|
+
input.OperationId = uuid_1.v4();
|
|
6128
6128
|
}
|
|
6129
6129
|
if (input.OperationId !== undefined && input.OperationId !== null) {
|
|
6130
6130
|
entries["OperationId"] = input.OperationId;
|
|
@@ -6203,7 +6203,7 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
6203
6203
|
});
|
|
6204
6204
|
}
|
|
6205
6205
|
if (input.OperationId === undefined) {
|
|
6206
|
-
input.OperationId =
|
|
6206
|
+
input.OperationId = uuid_1.v4();
|
|
6207
6207
|
}
|
|
6208
6208
|
if (input.OperationId !== undefined && input.OperationId !== null) {
|
|
6209
6209
|
entries["OperationId"] = input.OperationId;
|
|
@@ -6253,10 +6253,10 @@ const deserializeAws_queryAccountGateResult = (output, context) => {
|
|
|
6253
6253
|
StatusReason: undefined,
|
|
6254
6254
|
};
|
|
6255
6255
|
if (output["Status"] !== undefined) {
|
|
6256
|
-
contents.Status =
|
|
6256
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6257
6257
|
}
|
|
6258
6258
|
if (output["StatusReason"] !== undefined) {
|
|
6259
|
-
contents.StatusReason =
|
|
6259
|
+
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
6260
6260
|
}
|
|
6261
6261
|
return contents;
|
|
6262
6262
|
};
|
|
@@ -6266,10 +6266,10 @@ const deserializeAws_queryAccountLimit = (output, context) => {
|
|
|
6266
6266
|
Value: undefined,
|
|
6267
6267
|
};
|
|
6268
6268
|
if (output["Name"] !== undefined) {
|
|
6269
|
-
contents.Name =
|
|
6269
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6270
6270
|
}
|
|
6271
6271
|
if (output["Value"] !== undefined) {
|
|
6272
|
-
contents.Value =
|
|
6272
|
+
contents.Value = smithy_client_1.strictParseInt32(output["Value"]);
|
|
6273
6273
|
}
|
|
6274
6274
|
return contents;
|
|
6275
6275
|
};
|
|
@@ -6290,7 +6290,7 @@ const deserializeAws_queryAccountList = (output, context) => {
|
|
|
6290
6290
|
if (entry === null) {
|
|
6291
6291
|
return null;
|
|
6292
6292
|
}
|
|
6293
|
-
return
|
|
6293
|
+
return smithy_client_1.expectString(entry);
|
|
6294
6294
|
});
|
|
6295
6295
|
};
|
|
6296
6296
|
const deserializeAws_queryActivateTypeOutput = (output, context) => {
|
|
@@ -6298,7 +6298,7 @@ const deserializeAws_queryActivateTypeOutput = (output, context) => {
|
|
|
6298
6298
|
Arn: undefined,
|
|
6299
6299
|
};
|
|
6300
6300
|
if (output["Arn"] !== undefined) {
|
|
6301
|
-
contents.Arn =
|
|
6301
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
6302
6302
|
}
|
|
6303
6303
|
return contents;
|
|
6304
6304
|
};
|
|
@@ -6309,7 +6309,7 @@ const deserializeAws_queryAllowedValues = (output, context) => {
|
|
|
6309
6309
|
if (entry === null) {
|
|
6310
6310
|
return null;
|
|
6311
6311
|
}
|
|
6312
|
-
return
|
|
6312
|
+
return smithy_client_1.expectString(entry);
|
|
6313
6313
|
});
|
|
6314
6314
|
};
|
|
6315
6315
|
const deserializeAws_queryAlreadyExistsException = (output, context) => {
|
|
@@ -6317,7 +6317,7 @@ const deserializeAws_queryAlreadyExistsException = (output, context) => {
|
|
|
6317
6317
|
Message: undefined,
|
|
6318
6318
|
};
|
|
6319
6319
|
if (output["Message"] !== undefined) {
|
|
6320
|
-
contents.Message =
|
|
6320
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6321
6321
|
}
|
|
6322
6322
|
return contents;
|
|
6323
6323
|
};
|
|
@@ -6327,10 +6327,10 @@ const deserializeAws_queryAutoDeployment = (output, context) => {
|
|
|
6327
6327
|
RetainStacksOnAccountRemoval: undefined,
|
|
6328
6328
|
};
|
|
6329
6329
|
if (output["Enabled"] !== undefined) {
|
|
6330
|
-
contents.Enabled =
|
|
6330
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
6331
6331
|
}
|
|
6332
6332
|
if (output["RetainStacksOnAccountRemoval"] !== undefined) {
|
|
6333
|
-
contents.RetainStacksOnAccountRemoval =
|
|
6333
|
+
contents.RetainStacksOnAccountRemoval = smithy_client_1.parseBoolean(output["RetainStacksOnAccountRemoval"]);
|
|
6334
6334
|
}
|
|
6335
6335
|
return contents;
|
|
6336
6336
|
};
|
|
@@ -6341,10 +6341,10 @@ const deserializeAws_queryBatchDescribeTypeConfigurationsError = (output, contex
|
|
|
6341
6341
|
TypeConfigurationIdentifier: undefined,
|
|
6342
6342
|
};
|
|
6343
6343
|
if (output["ErrorCode"] !== undefined) {
|
|
6344
|
-
contents.ErrorCode =
|
|
6344
|
+
contents.ErrorCode = smithy_client_1.expectString(output["ErrorCode"]);
|
|
6345
6345
|
}
|
|
6346
6346
|
if (output["ErrorMessage"] !== undefined) {
|
|
6347
|
-
contents.ErrorMessage =
|
|
6347
|
+
contents.ErrorMessage = smithy_client_1.expectString(output["ErrorMessage"]);
|
|
6348
6348
|
}
|
|
6349
6349
|
if (output["TypeConfigurationIdentifier"] !== undefined) {
|
|
6350
6350
|
contents.TypeConfigurationIdentifier = deserializeAws_queryTypeConfigurationIdentifier(output["TypeConfigurationIdentifier"], context);
|
|
@@ -6371,20 +6371,20 @@ const deserializeAws_queryBatchDescribeTypeConfigurationsOutput = (output, conte
|
|
|
6371
6371
|
contents.Errors = [];
|
|
6372
6372
|
}
|
|
6373
6373
|
if (output["Errors"] !== undefined && output["Errors"]["member"] !== undefined) {
|
|
6374
|
-
contents.Errors = deserializeAws_queryBatchDescribeTypeConfigurationsErrors(
|
|
6374
|
+
contents.Errors = deserializeAws_queryBatchDescribeTypeConfigurationsErrors(smithy_client_1.getArrayIfSingleItem(output["Errors"]["member"]), context);
|
|
6375
6375
|
}
|
|
6376
6376
|
if (output.UnprocessedTypeConfigurations === "") {
|
|
6377
6377
|
contents.UnprocessedTypeConfigurations = [];
|
|
6378
6378
|
}
|
|
6379
6379
|
if (output["UnprocessedTypeConfigurations"] !== undefined &&
|
|
6380
6380
|
output["UnprocessedTypeConfigurations"]["member"] !== undefined) {
|
|
6381
|
-
contents.UnprocessedTypeConfigurations = deserializeAws_queryUnprocessedTypeConfigurations(
|
|
6381
|
+
contents.UnprocessedTypeConfigurations = deserializeAws_queryUnprocessedTypeConfigurations(smithy_client_1.getArrayIfSingleItem(output["UnprocessedTypeConfigurations"]["member"]), context);
|
|
6382
6382
|
}
|
|
6383
6383
|
if (output.TypeConfigurations === "") {
|
|
6384
6384
|
contents.TypeConfigurations = [];
|
|
6385
6385
|
}
|
|
6386
6386
|
if (output["TypeConfigurations"] !== undefined && output["TypeConfigurations"]["member"] !== undefined) {
|
|
6387
|
-
contents.TypeConfigurations = deserializeAws_queryTypeConfigurationDetailsList(
|
|
6387
|
+
contents.TypeConfigurations = deserializeAws_queryTypeConfigurationDetailsList(smithy_client_1.getArrayIfSingleItem(output["TypeConfigurations"]["member"]), context);
|
|
6388
6388
|
}
|
|
6389
6389
|
return contents;
|
|
6390
6390
|
};
|
|
@@ -6395,7 +6395,7 @@ const deserializeAws_queryCapabilities = (output, context) => {
|
|
|
6395
6395
|
if (entry === null) {
|
|
6396
6396
|
return null;
|
|
6397
6397
|
}
|
|
6398
|
-
return
|
|
6398
|
+
return smithy_client_1.expectString(entry);
|
|
6399
6399
|
});
|
|
6400
6400
|
};
|
|
6401
6401
|
const deserializeAws_queryCFNRegistryException = (output, context) => {
|
|
@@ -6403,7 +6403,7 @@ const deserializeAws_queryCFNRegistryException = (output, context) => {
|
|
|
6403
6403
|
Message: undefined,
|
|
6404
6404
|
};
|
|
6405
6405
|
if (output["Message"] !== undefined) {
|
|
6406
|
-
contents.Message =
|
|
6406
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6407
6407
|
}
|
|
6408
6408
|
return contents;
|
|
6409
6409
|
};
|
|
@@ -6413,7 +6413,7 @@ const deserializeAws_queryChange = (output, context) => {
|
|
|
6413
6413
|
ResourceChange: undefined,
|
|
6414
6414
|
};
|
|
6415
6415
|
if (output["Type"] !== undefined) {
|
|
6416
|
-
contents.Type =
|
|
6416
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
6417
6417
|
}
|
|
6418
6418
|
if (output["ResourceChange"] !== undefined) {
|
|
6419
6419
|
contents.ResourceChange = deserializeAws_queryResourceChange(output["ResourceChange"], context);
|
|
@@ -6435,7 +6435,7 @@ const deserializeAws_queryChangeSetNotFoundException = (output, context) => {
|
|
|
6435
6435
|
Message: undefined,
|
|
6436
6436
|
};
|
|
6437
6437
|
if (output["Message"] !== undefined) {
|
|
6438
|
-
contents.Message =
|
|
6438
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6439
6439
|
}
|
|
6440
6440
|
return contents;
|
|
6441
6441
|
};
|
|
@@ -6465,40 +6465,40 @@ const deserializeAws_queryChangeSetSummary = (output, context) => {
|
|
|
6465
6465
|
RootChangeSetId: undefined,
|
|
6466
6466
|
};
|
|
6467
6467
|
if (output["StackId"] !== undefined) {
|
|
6468
|
-
contents.StackId =
|
|
6468
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
6469
6469
|
}
|
|
6470
6470
|
if (output["StackName"] !== undefined) {
|
|
6471
|
-
contents.StackName =
|
|
6471
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
6472
6472
|
}
|
|
6473
6473
|
if (output["ChangeSetId"] !== undefined) {
|
|
6474
|
-
contents.ChangeSetId =
|
|
6474
|
+
contents.ChangeSetId = smithy_client_1.expectString(output["ChangeSetId"]);
|
|
6475
6475
|
}
|
|
6476
6476
|
if (output["ChangeSetName"] !== undefined) {
|
|
6477
|
-
contents.ChangeSetName =
|
|
6477
|
+
contents.ChangeSetName = smithy_client_1.expectString(output["ChangeSetName"]);
|
|
6478
6478
|
}
|
|
6479
6479
|
if (output["ExecutionStatus"] !== undefined) {
|
|
6480
|
-
contents.ExecutionStatus =
|
|
6480
|
+
contents.ExecutionStatus = smithy_client_1.expectString(output["ExecutionStatus"]);
|
|
6481
6481
|
}
|
|
6482
6482
|
if (output["Status"] !== undefined) {
|
|
6483
|
-
contents.Status =
|
|
6483
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6484
6484
|
}
|
|
6485
6485
|
if (output["StatusReason"] !== undefined) {
|
|
6486
|
-
contents.StatusReason =
|
|
6486
|
+
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
6487
6487
|
}
|
|
6488
6488
|
if (output["CreationTime"] !== undefined) {
|
|
6489
|
-
contents.CreationTime =
|
|
6489
|
+
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
6490
6490
|
}
|
|
6491
6491
|
if (output["Description"] !== undefined) {
|
|
6492
|
-
contents.Description =
|
|
6492
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6493
6493
|
}
|
|
6494
6494
|
if (output["IncludeNestedStacks"] !== undefined) {
|
|
6495
|
-
contents.IncludeNestedStacks =
|
|
6495
|
+
contents.IncludeNestedStacks = smithy_client_1.parseBoolean(output["IncludeNestedStacks"]);
|
|
6496
6496
|
}
|
|
6497
6497
|
if (output["ParentChangeSetId"] !== undefined) {
|
|
6498
|
-
contents.ParentChangeSetId =
|
|
6498
|
+
contents.ParentChangeSetId = smithy_client_1.expectString(output["ParentChangeSetId"]);
|
|
6499
6499
|
}
|
|
6500
6500
|
if (output["RootChangeSetId"] !== undefined) {
|
|
6501
|
-
contents.RootChangeSetId =
|
|
6501
|
+
contents.RootChangeSetId = smithy_client_1.expectString(output["RootChangeSetId"]);
|
|
6502
6502
|
}
|
|
6503
6503
|
return contents;
|
|
6504
6504
|
};
|
|
@@ -6512,10 +6512,10 @@ const deserializeAws_queryCreateChangeSetOutput = (output, context) => {
|
|
|
6512
6512
|
StackId: undefined,
|
|
6513
6513
|
};
|
|
6514
6514
|
if (output["Id"] !== undefined) {
|
|
6515
|
-
contents.Id =
|
|
6515
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
6516
6516
|
}
|
|
6517
6517
|
if (output["StackId"] !== undefined) {
|
|
6518
|
-
contents.StackId =
|
|
6518
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
6519
6519
|
}
|
|
6520
6520
|
return contents;
|
|
6521
6521
|
};
|
|
@@ -6524,7 +6524,7 @@ const deserializeAws_queryCreatedButModifiedException = (output, context) => {
|
|
|
6524
6524
|
Message: undefined,
|
|
6525
6525
|
};
|
|
6526
6526
|
if (output["Message"] !== undefined) {
|
|
6527
|
-
contents.Message =
|
|
6527
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6528
6528
|
}
|
|
6529
6529
|
return contents;
|
|
6530
6530
|
};
|
|
@@ -6533,7 +6533,7 @@ const deserializeAws_queryCreateStackInstancesOutput = (output, context) => {
|
|
|
6533
6533
|
OperationId: undefined,
|
|
6534
6534
|
};
|
|
6535
6535
|
if (output["OperationId"] !== undefined) {
|
|
6536
|
-
contents.OperationId =
|
|
6536
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
6537
6537
|
}
|
|
6538
6538
|
return contents;
|
|
6539
6539
|
};
|
|
@@ -6542,7 +6542,7 @@ const deserializeAws_queryCreateStackOutput = (output, context) => {
|
|
|
6542
6542
|
StackId: undefined,
|
|
6543
6543
|
};
|
|
6544
6544
|
if (output["StackId"] !== undefined) {
|
|
6545
|
-
contents.StackId =
|
|
6545
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
6546
6546
|
}
|
|
6547
6547
|
return contents;
|
|
6548
6548
|
};
|
|
@@ -6551,7 +6551,7 @@ const deserializeAws_queryCreateStackSetOutput = (output, context) => {
|
|
|
6551
6551
|
StackSetId: undefined,
|
|
6552
6552
|
};
|
|
6553
6553
|
if (output["StackSetId"] !== undefined) {
|
|
6554
|
-
contents.StackSetId =
|
|
6554
|
+
contents.StackSetId = smithy_client_1.expectString(output["StackSetId"]);
|
|
6555
6555
|
}
|
|
6556
6556
|
return contents;
|
|
6557
6557
|
};
|
|
@@ -6568,7 +6568,7 @@ const deserializeAws_queryDeleteStackInstancesOutput = (output, context) => {
|
|
|
6568
6568
|
OperationId: undefined,
|
|
6569
6569
|
};
|
|
6570
6570
|
if (output["OperationId"] !== undefined) {
|
|
6571
|
-
contents.OperationId =
|
|
6571
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
6572
6572
|
}
|
|
6573
6573
|
return contents;
|
|
6574
6574
|
};
|
|
@@ -6586,16 +6586,16 @@ const deserializeAws_queryDeploymentTargets = (output, context) => {
|
|
|
6586
6586
|
contents.Accounts = [];
|
|
6587
6587
|
}
|
|
6588
6588
|
if (output["Accounts"] !== undefined && output["Accounts"]["member"] !== undefined) {
|
|
6589
|
-
contents.Accounts = deserializeAws_queryAccountList(
|
|
6589
|
+
contents.Accounts = deserializeAws_queryAccountList(smithy_client_1.getArrayIfSingleItem(output["Accounts"]["member"]), context);
|
|
6590
6590
|
}
|
|
6591
6591
|
if (output["AccountsUrl"] !== undefined) {
|
|
6592
|
-
contents.AccountsUrl =
|
|
6592
|
+
contents.AccountsUrl = smithy_client_1.expectString(output["AccountsUrl"]);
|
|
6593
6593
|
}
|
|
6594
6594
|
if (output.OrganizationalUnitIds === "") {
|
|
6595
6595
|
contents.OrganizationalUnitIds = [];
|
|
6596
6596
|
}
|
|
6597
6597
|
if (output["OrganizationalUnitIds"] !== undefined && output["OrganizationalUnitIds"]["member"] !== undefined) {
|
|
6598
|
-
contents.OrganizationalUnitIds = deserializeAws_queryOrganizationalUnitIdList(
|
|
6598
|
+
contents.OrganizationalUnitIds = deserializeAws_queryOrganizationalUnitIdList(smithy_client_1.getArrayIfSingleItem(output["OrganizationalUnitIds"]["member"]), context);
|
|
6599
6599
|
}
|
|
6600
6600
|
return contents;
|
|
6601
6601
|
};
|
|
@@ -6612,10 +6612,10 @@ const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
|
|
|
6612
6612
|
contents.AccountLimits = [];
|
|
6613
6613
|
}
|
|
6614
6614
|
if (output["AccountLimits"] !== undefined && output["AccountLimits"]["member"] !== undefined) {
|
|
6615
|
-
contents.AccountLimits = deserializeAws_queryAccountLimitList(
|
|
6615
|
+
contents.AccountLimits = deserializeAws_queryAccountLimitList(smithy_client_1.getArrayIfSingleItem(output["AccountLimits"]["member"]), context);
|
|
6616
6616
|
}
|
|
6617
6617
|
if (output["NextToken"] !== undefined) {
|
|
6618
|
-
contents.NextToken =
|
|
6618
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6619
6619
|
}
|
|
6620
6620
|
return contents;
|
|
6621
6621
|
};
|
|
@@ -6642,43 +6642,43 @@ const deserializeAws_queryDescribeChangeSetOutput = (output, context) => {
|
|
|
6642
6642
|
RootChangeSetId: undefined,
|
|
6643
6643
|
};
|
|
6644
6644
|
if (output["ChangeSetName"] !== undefined) {
|
|
6645
|
-
contents.ChangeSetName =
|
|
6645
|
+
contents.ChangeSetName = smithy_client_1.expectString(output["ChangeSetName"]);
|
|
6646
6646
|
}
|
|
6647
6647
|
if (output["ChangeSetId"] !== undefined) {
|
|
6648
|
-
contents.ChangeSetId =
|
|
6648
|
+
contents.ChangeSetId = smithy_client_1.expectString(output["ChangeSetId"]);
|
|
6649
6649
|
}
|
|
6650
6650
|
if (output["StackId"] !== undefined) {
|
|
6651
|
-
contents.StackId =
|
|
6651
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
6652
6652
|
}
|
|
6653
6653
|
if (output["StackName"] !== undefined) {
|
|
6654
|
-
contents.StackName =
|
|
6654
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
6655
6655
|
}
|
|
6656
6656
|
if (output["Description"] !== undefined) {
|
|
6657
|
-
contents.Description =
|
|
6657
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6658
6658
|
}
|
|
6659
6659
|
if (output.Parameters === "") {
|
|
6660
6660
|
contents.Parameters = [];
|
|
6661
6661
|
}
|
|
6662
6662
|
if (output["Parameters"] !== undefined && output["Parameters"]["member"] !== undefined) {
|
|
6663
|
-
contents.Parameters = deserializeAws_queryParameters(
|
|
6663
|
+
contents.Parameters = deserializeAws_queryParameters(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
6664
6664
|
}
|
|
6665
6665
|
if (output["CreationTime"] !== undefined) {
|
|
6666
|
-
contents.CreationTime =
|
|
6666
|
+
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
6667
6667
|
}
|
|
6668
6668
|
if (output["ExecutionStatus"] !== undefined) {
|
|
6669
|
-
contents.ExecutionStatus =
|
|
6669
|
+
contents.ExecutionStatus = smithy_client_1.expectString(output["ExecutionStatus"]);
|
|
6670
6670
|
}
|
|
6671
6671
|
if (output["Status"] !== undefined) {
|
|
6672
|
-
contents.Status =
|
|
6672
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6673
6673
|
}
|
|
6674
6674
|
if (output["StatusReason"] !== undefined) {
|
|
6675
|
-
contents.StatusReason =
|
|
6675
|
+
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
6676
6676
|
}
|
|
6677
6677
|
if (output.NotificationARNs === "") {
|
|
6678
6678
|
contents.NotificationARNs = [];
|
|
6679
6679
|
}
|
|
6680
6680
|
if (output["NotificationARNs"] !== undefined && output["NotificationARNs"]["member"] !== undefined) {
|
|
6681
|
-
contents.NotificationARNs = deserializeAws_queryNotificationARNs(
|
|
6681
|
+
contents.NotificationARNs = deserializeAws_queryNotificationARNs(smithy_client_1.getArrayIfSingleItem(output["NotificationARNs"]["member"]), context);
|
|
6682
6682
|
}
|
|
6683
6683
|
if (output["RollbackConfiguration"] !== undefined) {
|
|
6684
6684
|
contents.RollbackConfiguration = deserializeAws_queryRollbackConfiguration(output["RollbackConfiguration"], context);
|
|
@@ -6687,31 +6687,31 @@ const deserializeAws_queryDescribeChangeSetOutput = (output, context) => {
|
|
|
6687
6687
|
contents.Capabilities = [];
|
|
6688
6688
|
}
|
|
6689
6689
|
if (output["Capabilities"] !== undefined && output["Capabilities"]["member"] !== undefined) {
|
|
6690
|
-
contents.Capabilities = deserializeAws_queryCapabilities(
|
|
6690
|
+
contents.Capabilities = deserializeAws_queryCapabilities(smithy_client_1.getArrayIfSingleItem(output["Capabilities"]["member"]), context);
|
|
6691
6691
|
}
|
|
6692
6692
|
if (output.Tags === "") {
|
|
6693
6693
|
contents.Tags = [];
|
|
6694
6694
|
}
|
|
6695
6695
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
6696
|
-
contents.Tags = deserializeAws_queryTags(
|
|
6696
|
+
contents.Tags = deserializeAws_queryTags(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
6697
6697
|
}
|
|
6698
6698
|
if (output.Changes === "") {
|
|
6699
6699
|
contents.Changes = [];
|
|
6700
6700
|
}
|
|
6701
6701
|
if (output["Changes"] !== undefined && output["Changes"]["member"] !== undefined) {
|
|
6702
|
-
contents.Changes = deserializeAws_queryChanges(
|
|
6702
|
+
contents.Changes = deserializeAws_queryChanges(smithy_client_1.getArrayIfSingleItem(output["Changes"]["member"]), context);
|
|
6703
6703
|
}
|
|
6704
6704
|
if (output["NextToken"] !== undefined) {
|
|
6705
|
-
contents.NextToken =
|
|
6705
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6706
6706
|
}
|
|
6707
6707
|
if (output["IncludeNestedStacks"] !== undefined) {
|
|
6708
|
-
contents.IncludeNestedStacks =
|
|
6708
|
+
contents.IncludeNestedStacks = smithy_client_1.parseBoolean(output["IncludeNestedStacks"]);
|
|
6709
6709
|
}
|
|
6710
6710
|
if (output["ParentChangeSetId"] !== undefined) {
|
|
6711
|
-
contents.ParentChangeSetId =
|
|
6711
|
+
contents.ParentChangeSetId = smithy_client_1.expectString(output["ParentChangeSetId"]);
|
|
6712
6712
|
}
|
|
6713
6713
|
if (output["RootChangeSetId"] !== undefined) {
|
|
6714
|
-
contents.RootChangeSetId =
|
|
6714
|
+
contents.RootChangeSetId = smithy_client_1.expectString(output["RootChangeSetId"]);
|
|
6715
6715
|
}
|
|
6716
6716
|
return contents;
|
|
6717
6717
|
};
|
|
@@ -6723,16 +6723,16 @@ const deserializeAws_queryDescribePublisherOutput = (output, context) => {
|
|
|
6723
6723
|
PublisherProfile: undefined,
|
|
6724
6724
|
};
|
|
6725
6725
|
if (output["PublisherId"] !== undefined) {
|
|
6726
|
-
contents.PublisherId =
|
|
6726
|
+
contents.PublisherId = smithy_client_1.expectString(output["PublisherId"]);
|
|
6727
6727
|
}
|
|
6728
6728
|
if (output["PublisherStatus"] !== undefined) {
|
|
6729
|
-
contents.PublisherStatus =
|
|
6729
|
+
contents.PublisherStatus = smithy_client_1.expectString(output["PublisherStatus"]);
|
|
6730
6730
|
}
|
|
6731
6731
|
if (output["IdentityProvider"] !== undefined) {
|
|
6732
|
-
contents.IdentityProvider =
|
|
6732
|
+
contents.IdentityProvider = smithy_client_1.expectString(output["IdentityProvider"]);
|
|
6733
6733
|
}
|
|
6734
6734
|
if (output["PublisherProfile"] !== undefined) {
|
|
6735
|
-
contents.PublisherProfile =
|
|
6735
|
+
contents.PublisherProfile = smithy_client_1.expectString(output["PublisherProfile"]);
|
|
6736
6736
|
}
|
|
6737
6737
|
return contents;
|
|
6738
6738
|
};
|
|
@@ -6747,25 +6747,25 @@ const deserializeAws_queryDescribeStackDriftDetectionStatusOutput = (output, con
|
|
|
6747
6747
|
Timestamp: undefined,
|
|
6748
6748
|
};
|
|
6749
6749
|
if (output["StackId"] !== undefined) {
|
|
6750
|
-
contents.StackId =
|
|
6750
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
6751
6751
|
}
|
|
6752
6752
|
if (output["StackDriftDetectionId"] !== undefined) {
|
|
6753
|
-
contents.StackDriftDetectionId =
|
|
6753
|
+
contents.StackDriftDetectionId = smithy_client_1.expectString(output["StackDriftDetectionId"]);
|
|
6754
6754
|
}
|
|
6755
6755
|
if (output["StackDriftStatus"] !== undefined) {
|
|
6756
|
-
contents.StackDriftStatus =
|
|
6756
|
+
contents.StackDriftStatus = smithy_client_1.expectString(output["StackDriftStatus"]);
|
|
6757
6757
|
}
|
|
6758
6758
|
if (output["DetectionStatus"] !== undefined) {
|
|
6759
|
-
contents.DetectionStatus =
|
|
6759
|
+
contents.DetectionStatus = smithy_client_1.expectString(output["DetectionStatus"]);
|
|
6760
6760
|
}
|
|
6761
6761
|
if (output["DetectionStatusReason"] !== undefined) {
|
|
6762
|
-
contents.DetectionStatusReason =
|
|
6762
|
+
contents.DetectionStatusReason = smithy_client_1.expectString(output["DetectionStatusReason"]);
|
|
6763
6763
|
}
|
|
6764
6764
|
if (output["DriftedStackResourceCount"] !== undefined) {
|
|
6765
|
-
contents.DriftedStackResourceCount =
|
|
6765
|
+
contents.DriftedStackResourceCount = smithy_client_1.strictParseInt32(output["DriftedStackResourceCount"]);
|
|
6766
6766
|
}
|
|
6767
6767
|
if (output["Timestamp"] !== undefined) {
|
|
6768
|
-
contents.Timestamp =
|
|
6768
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
6769
6769
|
}
|
|
6770
6770
|
return contents;
|
|
6771
6771
|
};
|
|
@@ -6778,10 +6778,10 @@ const deserializeAws_queryDescribeStackEventsOutput = (output, context) => {
|
|
|
6778
6778
|
contents.StackEvents = [];
|
|
6779
6779
|
}
|
|
6780
6780
|
if (output["StackEvents"] !== undefined && output["StackEvents"]["member"] !== undefined) {
|
|
6781
|
-
contents.StackEvents = deserializeAws_queryStackEvents(
|
|
6781
|
+
contents.StackEvents = deserializeAws_queryStackEvents(smithy_client_1.getArrayIfSingleItem(output["StackEvents"]["member"]), context);
|
|
6782
6782
|
}
|
|
6783
6783
|
if (output["NextToken"] !== undefined) {
|
|
6784
|
-
contents.NextToken =
|
|
6784
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6785
6785
|
}
|
|
6786
6786
|
return contents;
|
|
6787
6787
|
};
|
|
@@ -6803,10 +6803,10 @@ const deserializeAws_queryDescribeStackResourceDriftsOutput = (output, context)
|
|
|
6803
6803
|
contents.StackResourceDrifts = [];
|
|
6804
6804
|
}
|
|
6805
6805
|
if (output["StackResourceDrifts"] !== undefined && output["StackResourceDrifts"]["member"] !== undefined) {
|
|
6806
|
-
contents.StackResourceDrifts = deserializeAws_queryStackResourceDrifts(
|
|
6806
|
+
contents.StackResourceDrifts = deserializeAws_queryStackResourceDrifts(smithy_client_1.getArrayIfSingleItem(output["StackResourceDrifts"]["member"]), context);
|
|
6807
6807
|
}
|
|
6808
6808
|
if (output["NextToken"] !== undefined) {
|
|
6809
|
-
contents.NextToken =
|
|
6809
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6810
6810
|
}
|
|
6811
6811
|
return contents;
|
|
6812
6812
|
};
|
|
@@ -6827,7 +6827,7 @@ const deserializeAws_queryDescribeStackResourcesOutput = (output, context) => {
|
|
|
6827
6827
|
contents.StackResources = [];
|
|
6828
6828
|
}
|
|
6829
6829
|
if (output["StackResources"] !== undefined && output["StackResources"]["member"] !== undefined) {
|
|
6830
|
-
contents.StackResources = deserializeAws_queryStackResources(
|
|
6830
|
+
contents.StackResources = deserializeAws_queryStackResources(smithy_client_1.getArrayIfSingleItem(output["StackResources"]["member"]), context);
|
|
6831
6831
|
}
|
|
6832
6832
|
return contents;
|
|
6833
6833
|
};
|
|
@@ -6858,10 +6858,10 @@ const deserializeAws_queryDescribeStacksOutput = (output, context) => {
|
|
|
6858
6858
|
contents.Stacks = [];
|
|
6859
6859
|
}
|
|
6860
6860
|
if (output["Stacks"] !== undefined && output["Stacks"]["member"] !== undefined) {
|
|
6861
|
-
contents.Stacks = deserializeAws_queryStacks(
|
|
6861
|
+
contents.Stacks = deserializeAws_queryStacks(smithy_client_1.getArrayIfSingleItem(output["Stacks"]["member"]), context);
|
|
6862
6862
|
}
|
|
6863
6863
|
if (output["NextToken"] !== undefined) {
|
|
6864
|
-
contents.NextToken =
|
|
6864
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6865
6865
|
}
|
|
6866
6866
|
return contents;
|
|
6867
6867
|
};
|
|
@@ -6896,37 +6896,37 @@ const deserializeAws_queryDescribeTypeOutput = (output, context) => {
|
|
|
6896
6896
|
AutoUpdate: undefined,
|
|
6897
6897
|
};
|
|
6898
6898
|
if (output["Arn"] !== undefined) {
|
|
6899
|
-
contents.Arn =
|
|
6899
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
6900
6900
|
}
|
|
6901
6901
|
if (output["Type"] !== undefined) {
|
|
6902
|
-
contents.Type =
|
|
6902
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
6903
6903
|
}
|
|
6904
6904
|
if (output["TypeName"] !== undefined) {
|
|
6905
|
-
contents.TypeName =
|
|
6905
|
+
contents.TypeName = smithy_client_1.expectString(output["TypeName"]);
|
|
6906
6906
|
}
|
|
6907
6907
|
if (output["DefaultVersionId"] !== undefined) {
|
|
6908
|
-
contents.DefaultVersionId =
|
|
6908
|
+
contents.DefaultVersionId = smithy_client_1.expectString(output["DefaultVersionId"]);
|
|
6909
6909
|
}
|
|
6910
6910
|
if (output["IsDefaultVersion"] !== undefined) {
|
|
6911
|
-
contents.IsDefaultVersion =
|
|
6911
|
+
contents.IsDefaultVersion = smithy_client_1.parseBoolean(output["IsDefaultVersion"]);
|
|
6912
6912
|
}
|
|
6913
6913
|
if (output["TypeTestsStatus"] !== undefined) {
|
|
6914
|
-
contents.TypeTestsStatus =
|
|
6914
|
+
contents.TypeTestsStatus = smithy_client_1.expectString(output["TypeTestsStatus"]);
|
|
6915
6915
|
}
|
|
6916
6916
|
if (output["TypeTestsStatusDescription"] !== undefined) {
|
|
6917
|
-
contents.TypeTestsStatusDescription =
|
|
6917
|
+
contents.TypeTestsStatusDescription = smithy_client_1.expectString(output["TypeTestsStatusDescription"]);
|
|
6918
6918
|
}
|
|
6919
6919
|
if (output["Description"] !== undefined) {
|
|
6920
|
-
contents.Description =
|
|
6920
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6921
6921
|
}
|
|
6922
6922
|
if (output["Schema"] !== undefined) {
|
|
6923
|
-
contents.Schema =
|
|
6923
|
+
contents.Schema = smithy_client_1.expectString(output["Schema"]);
|
|
6924
6924
|
}
|
|
6925
6925
|
if (output["ProvisioningType"] !== undefined) {
|
|
6926
|
-
contents.ProvisioningType =
|
|
6926
|
+
contents.ProvisioningType = smithy_client_1.expectString(output["ProvisioningType"]);
|
|
6927
6927
|
}
|
|
6928
6928
|
if (output["DeprecatedStatus"] !== undefined) {
|
|
6929
|
-
contents.DeprecatedStatus =
|
|
6929
|
+
contents.DeprecatedStatus = smithy_client_1.expectString(output["DeprecatedStatus"]);
|
|
6930
6930
|
}
|
|
6931
6931
|
if (output["LoggingConfig"] !== undefined) {
|
|
6932
6932
|
contents.LoggingConfig = deserializeAws_queryLoggingConfig(output["LoggingConfig"], context);
|
|
@@ -6935,49 +6935,49 @@ const deserializeAws_queryDescribeTypeOutput = (output, context) => {
|
|
|
6935
6935
|
contents.RequiredActivatedTypes = [];
|
|
6936
6936
|
}
|
|
6937
6937
|
if (output["RequiredActivatedTypes"] !== undefined && output["RequiredActivatedTypes"]["member"] !== undefined) {
|
|
6938
|
-
contents.RequiredActivatedTypes = deserializeAws_queryRequiredActivatedTypes(
|
|
6938
|
+
contents.RequiredActivatedTypes = deserializeAws_queryRequiredActivatedTypes(smithy_client_1.getArrayIfSingleItem(output["RequiredActivatedTypes"]["member"]), context);
|
|
6939
6939
|
}
|
|
6940
6940
|
if (output["ExecutionRoleArn"] !== undefined) {
|
|
6941
|
-
contents.ExecutionRoleArn =
|
|
6941
|
+
contents.ExecutionRoleArn = smithy_client_1.expectString(output["ExecutionRoleArn"]);
|
|
6942
6942
|
}
|
|
6943
6943
|
if (output["Visibility"] !== undefined) {
|
|
6944
|
-
contents.Visibility =
|
|
6944
|
+
contents.Visibility = smithy_client_1.expectString(output["Visibility"]);
|
|
6945
6945
|
}
|
|
6946
6946
|
if (output["SourceUrl"] !== undefined) {
|
|
6947
|
-
contents.SourceUrl =
|
|
6947
|
+
contents.SourceUrl = smithy_client_1.expectString(output["SourceUrl"]);
|
|
6948
6948
|
}
|
|
6949
6949
|
if (output["DocumentationUrl"] !== undefined) {
|
|
6950
|
-
contents.DocumentationUrl =
|
|
6950
|
+
contents.DocumentationUrl = smithy_client_1.expectString(output["DocumentationUrl"]);
|
|
6951
6951
|
}
|
|
6952
6952
|
if (output["LastUpdated"] !== undefined) {
|
|
6953
|
-
contents.LastUpdated =
|
|
6953
|
+
contents.LastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdated"]));
|
|
6954
6954
|
}
|
|
6955
6955
|
if (output["TimeCreated"] !== undefined) {
|
|
6956
|
-
contents.TimeCreated =
|
|
6956
|
+
contents.TimeCreated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TimeCreated"]));
|
|
6957
6957
|
}
|
|
6958
6958
|
if (output["ConfigurationSchema"] !== undefined) {
|
|
6959
|
-
contents.ConfigurationSchema =
|
|
6959
|
+
contents.ConfigurationSchema = smithy_client_1.expectString(output["ConfigurationSchema"]);
|
|
6960
6960
|
}
|
|
6961
6961
|
if (output["PublisherId"] !== undefined) {
|
|
6962
|
-
contents.PublisherId =
|
|
6962
|
+
contents.PublisherId = smithy_client_1.expectString(output["PublisherId"]);
|
|
6963
6963
|
}
|
|
6964
6964
|
if (output["OriginalTypeName"] !== undefined) {
|
|
6965
|
-
contents.OriginalTypeName =
|
|
6965
|
+
contents.OriginalTypeName = smithy_client_1.expectString(output["OriginalTypeName"]);
|
|
6966
6966
|
}
|
|
6967
6967
|
if (output["OriginalTypeArn"] !== undefined) {
|
|
6968
|
-
contents.OriginalTypeArn =
|
|
6968
|
+
contents.OriginalTypeArn = smithy_client_1.expectString(output["OriginalTypeArn"]);
|
|
6969
6969
|
}
|
|
6970
6970
|
if (output["PublicVersionNumber"] !== undefined) {
|
|
6971
|
-
contents.PublicVersionNumber =
|
|
6971
|
+
contents.PublicVersionNumber = smithy_client_1.expectString(output["PublicVersionNumber"]);
|
|
6972
6972
|
}
|
|
6973
6973
|
if (output["LatestPublicVersion"] !== undefined) {
|
|
6974
|
-
contents.LatestPublicVersion =
|
|
6974
|
+
contents.LatestPublicVersion = smithy_client_1.expectString(output["LatestPublicVersion"]);
|
|
6975
6975
|
}
|
|
6976
6976
|
if (output["IsActivated"] !== undefined) {
|
|
6977
|
-
contents.IsActivated =
|
|
6977
|
+
contents.IsActivated = smithy_client_1.parseBoolean(output["IsActivated"]);
|
|
6978
6978
|
}
|
|
6979
6979
|
if (output["AutoUpdate"] !== undefined) {
|
|
6980
|
-
contents.AutoUpdate =
|
|
6980
|
+
contents.AutoUpdate = smithy_client_1.parseBoolean(output["AutoUpdate"]);
|
|
6981
6981
|
}
|
|
6982
6982
|
return contents;
|
|
6983
6983
|
};
|
|
@@ -6989,16 +6989,16 @@ const deserializeAws_queryDescribeTypeRegistrationOutput = (output, context) =>
|
|
|
6989
6989
|
TypeVersionArn: undefined,
|
|
6990
6990
|
};
|
|
6991
6991
|
if (output["ProgressStatus"] !== undefined) {
|
|
6992
|
-
contents.ProgressStatus =
|
|
6992
|
+
contents.ProgressStatus = smithy_client_1.expectString(output["ProgressStatus"]);
|
|
6993
6993
|
}
|
|
6994
6994
|
if (output["Description"] !== undefined) {
|
|
6995
|
-
contents.Description =
|
|
6995
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6996
6996
|
}
|
|
6997
6997
|
if (output["TypeArn"] !== undefined) {
|
|
6998
|
-
contents.TypeArn =
|
|
6998
|
+
contents.TypeArn = smithy_client_1.expectString(output["TypeArn"]);
|
|
6999
6999
|
}
|
|
7000
7000
|
if (output["TypeVersionArn"] !== undefined) {
|
|
7001
|
-
contents.TypeVersionArn =
|
|
7001
|
+
contents.TypeVersionArn = smithy_client_1.expectString(output["TypeVersionArn"]);
|
|
7002
7002
|
}
|
|
7003
7003
|
return contents;
|
|
7004
7004
|
};
|
|
@@ -7007,7 +7007,7 @@ const deserializeAws_queryDetectStackDriftOutput = (output, context) => {
|
|
|
7007
7007
|
StackDriftDetectionId: undefined,
|
|
7008
7008
|
};
|
|
7009
7009
|
if (output["StackDriftDetectionId"] !== undefined) {
|
|
7010
|
-
contents.StackDriftDetectionId =
|
|
7010
|
+
contents.StackDriftDetectionId = smithy_client_1.expectString(output["StackDriftDetectionId"]);
|
|
7011
7011
|
}
|
|
7012
7012
|
return contents;
|
|
7013
7013
|
};
|
|
@@ -7025,7 +7025,7 @@ const deserializeAws_queryDetectStackSetDriftOutput = (output, context) => {
|
|
|
7025
7025
|
OperationId: undefined,
|
|
7026
7026
|
};
|
|
7027
7027
|
if (output["OperationId"] !== undefined) {
|
|
7028
|
-
contents.OperationId =
|
|
7028
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
7029
7029
|
}
|
|
7030
7030
|
return contents;
|
|
7031
7031
|
};
|
|
@@ -7034,7 +7034,7 @@ const deserializeAws_queryEstimateTemplateCostOutput = (output, context) => {
|
|
|
7034
7034
|
Url: undefined,
|
|
7035
7035
|
};
|
|
7036
7036
|
if (output["Url"] !== undefined) {
|
|
7037
|
-
contents.Url =
|
|
7037
|
+
contents.Url = smithy_client_1.expectString(output["Url"]);
|
|
7038
7038
|
}
|
|
7039
7039
|
return contents;
|
|
7040
7040
|
};
|
|
@@ -7049,13 +7049,13 @@ const deserializeAws_queryExport = (output, context) => {
|
|
|
7049
7049
|
Value: undefined,
|
|
7050
7050
|
};
|
|
7051
7051
|
if (output["ExportingStackId"] !== undefined) {
|
|
7052
|
-
contents.ExportingStackId =
|
|
7052
|
+
contents.ExportingStackId = smithy_client_1.expectString(output["ExportingStackId"]);
|
|
7053
7053
|
}
|
|
7054
7054
|
if (output["Name"] !== undefined) {
|
|
7055
|
-
contents.Name =
|
|
7055
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7056
7056
|
}
|
|
7057
7057
|
if (output["Value"] !== undefined) {
|
|
7058
|
-
contents.Value =
|
|
7058
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
7059
7059
|
}
|
|
7060
7060
|
return contents;
|
|
7061
7061
|
};
|
|
@@ -7074,7 +7074,7 @@ const deserializeAws_queryGetStackPolicyOutput = (output, context) => {
|
|
|
7074
7074
|
StackPolicyBody: undefined,
|
|
7075
7075
|
};
|
|
7076
7076
|
if (output["StackPolicyBody"] !== undefined) {
|
|
7077
|
-
contents.StackPolicyBody =
|
|
7077
|
+
contents.StackPolicyBody = smithy_client_1.expectString(output["StackPolicyBody"]);
|
|
7078
7078
|
}
|
|
7079
7079
|
return contents;
|
|
7080
7080
|
};
|
|
@@ -7084,13 +7084,13 @@ const deserializeAws_queryGetTemplateOutput = (output, context) => {
|
|
|
7084
7084
|
StagesAvailable: undefined,
|
|
7085
7085
|
};
|
|
7086
7086
|
if (output["TemplateBody"] !== undefined) {
|
|
7087
|
-
contents.TemplateBody =
|
|
7087
|
+
contents.TemplateBody = smithy_client_1.expectString(output["TemplateBody"]);
|
|
7088
7088
|
}
|
|
7089
7089
|
if (output.StagesAvailable === "") {
|
|
7090
7090
|
contents.StagesAvailable = [];
|
|
7091
7091
|
}
|
|
7092
7092
|
if (output["StagesAvailable"] !== undefined && output["StagesAvailable"]["member"] !== undefined) {
|
|
7093
|
-
contents.StagesAvailable = deserializeAws_queryStageList(
|
|
7093
|
+
contents.StagesAvailable = deserializeAws_queryStageList(smithy_client_1.getArrayIfSingleItem(output["StagesAvailable"]["member"]), context);
|
|
7094
7094
|
}
|
|
7095
7095
|
return contents;
|
|
7096
7096
|
};
|
|
@@ -7110,44 +7110,44 @@ const deserializeAws_queryGetTemplateSummaryOutput = (output, context) => {
|
|
|
7110
7110
|
contents.Parameters = [];
|
|
7111
7111
|
}
|
|
7112
7112
|
if (output["Parameters"] !== undefined && output["Parameters"]["member"] !== undefined) {
|
|
7113
|
-
contents.Parameters = deserializeAws_queryParameterDeclarations(
|
|
7113
|
+
contents.Parameters = deserializeAws_queryParameterDeclarations(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
7114
7114
|
}
|
|
7115
7115
|
if (output["Description"] !== undefined) {
|
|
7116
|
-
contents.Description =
|
|
7116
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
7117
7117
|
}
|
|
7118
7118
|
if (output.Capabilities === "") {
|
|
7119
7119
|
contents.Capabilities = [];
|
|
7120
7120
|
}
|
|
7121
7121
|
if (output["Capabilities"] !== undefined && output["Capabilities"]["member"] !== undefined) {
|
|
7122
|
-
contents.Capabilities = deserializeAws_queryCapabilities(
|
|
7122
|
+
contents.Capabilities = deserializeAws_queryCapabilities(smithy_client_1.getArrayIfSingleItem(output["Capabilities"]["member"]), context);
|
|
7123
7123
|
}
|
|
7124
7124
|
if (output["CapabilitiesReason"] !== undefined) {
|
|
7125
|
-
contents.CapabilitiesReason =
|
|
7125
|
+
contents.CapabilitiesReason = smithy_client_1.expectString(output["CapabilitiesReason"]);
|
|
7126
7126
|
}
|
|
7127
7127
|
if (output.ResourceTypes === "") {
|
|
7128
7128
|
contents.ResourceTypes = [];
|
|
7129
7129
|
}
|
|
7130
7130
|
if (output["ResourceTypes"] !== undefined && output["ResourceTypes"]["member"] !== undefined) {
|
|
7131
|
-
contents.ResourceTypes = deserializeAws_queryResourceTypes(
|
|
7131
|
+
contents.ResourceTypes = deserializeAws_queryResourceTypes(smithy_client_1.getArrayIfSingleItem(output["ResourceTypes"]["member"]), context);
|
|
7132
7132
|
}
|
|
7133
7133
|
if (output["Version"] !== undefined) {
|
|
7134
|
-
contents.Version =
|
|
7134
|
+
contents.Version = smithy_client_1.expectString(output["Version"]);
|
|
7135
7135
|
}
|
|
7136
7136
|
if (output["Metadata"] !== undefined) {
|
|
7137
|
-
contents.Metadata =
|
|
7137
|
+
contents.Metadata = smithy_client_1.expectString(output["Metadata"]);
|
|
7138
7138
|
}
|
|
7139
7139
|
if (output.DeclaredTransforms === "") {
|
|
7140
7140
|
contents.DeclaredTransforms = [];
|
|
7141
7141
|
}
|
|
7142
7142
|
if (output["DeclaredTransforms"] !== undefined && output["DeclaredTransforms"]["member"] !== undefined) {
|
|
7143
|
-
contents.DeclaredTransforms = deserializeAws_queryTransformsList(
|
|
7143
|
+
contents.DeclaredTransforms = deserializeAws_queryTransformsList(smithy_client_1.getArrayIfSingleItem(output["DeclaredTransforms"]["member"]), context);
|
|
7144
7144
|
}
|
|
7145
7145
|
if (output.ResourceIdentifierSummaries === "") {
|
|
7146
7146
|
contents.ResourceIdentifierSummaries = [];
|
|
7147
7147
|
}
|
|
7148
7148
|
if (output["ResourceIdentifierSummaries"] !== undefined &&
|
|
7149
7149
|
output["ResourceIdentifierSummaries"]["member"] !== undefined) {
|
|
7150
|
-
contents.ResourceIdentifierSummaries = deserializeAws_queryResourceIdentifierSummaries(
|
|
7150
|
+
contents.ResourceIdentifierSummaries = deserializeAws_queryResourceIdentifierSummaries(smithy_client_1.getArrayIfSingleItem(output["ResourceIdentifierSummaries"]["member"]), context);
|
|
7151
7151
|
}
|
|
7152
7152
|
return contents;
|
|
7153
7153
|
};
|
|
@@ -7158,7 +7158,7 @@ const deserializeAws_queryImports = (output, context) => {
|
|
|
7158
7158
|
if (entry === null) {
|
|
7159
7159
|
return null;
|
|
7160
7160
|
}
|
|
7161
|
-
return
|
|
7161
|
+
return smithy_client_1.expectString(entry);
|
|
7162
7162
|
});
|
|
7163
7163
|
};
|
|
7164
7164
|
const deserializeAws_queryImportStacksToStackSetOutput = (output, context) => {
|
|
@@ -7166,7 +7166,7 @@ const deserializeAws_queryImportStacksToStackSetOutput = (output, context) => {
|
|
|
7166
7166
|
OperationId: undefined,
|
|
7167
7167
|
};
|
|
7168
7168
|
if (output["OperationId"] !== undefined) {
|
|
7169
|
-
contents.OperationId =
|
|
7169
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
7170
7170
|
}
|
|
7171
7171
|
return contents;
|
|
7172
7172
|
};
|
|
@@ -7175,7 +7175,7 @@ const deserializeAws_queryInsufficientCapabilitiesException = (output, context)
|
|
|
7175
7175
|
Message: undefined,
|
|
7176
7176
|
};
|
|
7177
7177
|
if (output["Message"] !== undefined) {
|
|
7178
|
-
contents.Message =
|
|
7178
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7179
7179
|
}
|
|
7180
7180
|
return contents;
|
|
7181
7181
|
};
|
|
@@ -7184,7 +7184,7 @@ const deserializeAws_queryInvalidChangeSetStatusException = (output, context) =>
|
|
|
7184
7184
|
Message: undefined,
|
|
7185
7185
|
};
|
|
7186
7186
|
if (output["Message"] !== undefined) {
|
|
7187
|
-
contents.Message =
|
|
7187
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7188
7188
|
}
|
|
7189
7189
|
return contents;
|
|
7190
7190
|
};
|
|
@@ -7193,7 +7193,7 @@ const deserializeAws_queryInvalidOperationException = (output, context) => {
|
|
|
7193
7193
|
Message: undefined,
|
|
7194
7194
|
};
|
|
7195
7195
|
if (output["Message"] !== undefined) {
|
|
7196
|
-
contents.Message =
|
|
7196
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7197
7197
|
}
|
|
7198
7198
|
return contents;
|
|
7199
7199
|
};
|
|
@@ -7202,7 +7202,7 @@ const deserializeAws_queryInvalidStateTransitionException = (output, context) =>
|
|
|
7202
7202
|
Message: undefined,
|
|
7203
7203
|
};
|
|
7204
7204
|
if (output["Message"] !== undefined) {
|
|
7205
|
-
contents.Message =
|
|
7205
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7206
7206
|
}
|
|
7207
7207
|
return contents;
|
|
7208
7208
|
};
|
|
@@ -7211,7 +7211,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
7211
7211
|
Message: undefined,
|
|
7212
7212
|
};
|
|
7213
7213
|
if (output["Message"] !== undefined) {
|
|
7214
|
-
contents.Message =
|
|
7214
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7215
7215
|
}
|
|
7216
7216
|
return contents;
|
|
7217
7217
|
};
|
|
@@ -7224,10 +7224,10 @@ const deserializeAws_queryListChangeSetsOutput = (output, context) => {
|
|
|
7224
7224
|
contents.Summaries = [];
|
|
7225
7225
|
}
|
|
7226
7226
|
if (output["Summaries"] !== undefined && output["Summaries"]["member"] !== undefined) {
|
|
7227
|
-
contents.Summaries = deserializeAws_queryChangeSetSummaries(
|
|
7227
|
+
contents.Summaries = deserializeAws_queryChangeSetSummaries(smithy_client_1.getArrayIfSingleItem(output["Summaries"]["member"]), context);
|
|
7228
7228
|
}
|
|
7229
7229
|
if (output["NextToken"] !== undefined) {
|
|
7230
|
-
contents.NextToken =
|
|
7230
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7231
7231
|
}
|
|
7232
7232
|
return contents;
|
|
7233
7233
|
};
|
|
@@ -7240,10 +7240,10 @@ const deserializeAws_queryListExportsOutput = (output, context) => {
|
|
|
7240
7240
|
contents.Exports = [];
|
|
7241
7241
|
}
|
|
7242
7242
|
if (output["Exports"] !== undefined && output["Exports"]["member"] !== undefined) {
|
|
7243
|
-
contents.Exports = deserializeAws_queryExports(
|
|
7243
|
+
contents.Exports = deserializeAws_queryExports(smithy_client_1.getArrayIfSingleItem(output["Exports"]["member"]), context);
|
|
7244
7244
|
}
|
|
7245
7245
|
if (output["NextToken"] !== undefined) {
|
|
7246
|
-
contents.NextToken =
|
|
7246
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7247
7247
|
}
|
|
7248
7248
|
return contents;
|
|
7249
7249
|
};
|
|
@@ -7256,10 +7256,10 @@ const deserializeAws_queryListImportsOutput = (output, context) => {
|
|
|
7256
7256
|
contents.Imports = [];
|
|
7257
7257
|
}
|
|
7258
7258
|
if (output["Imports"] !== undefined && output["Imports"]["member"] !== undefined) {
|
|
7259
|
-
contents.Imports = deserializeAws_queryImports(
|
|
7259
|
+
contents.Imports = deserializeAws_queryImports(smithy_client_1.getArrayIfSingleItem(output["Imports"]["member"]), context);
|
|
7260
7260
|
}
|
|
7261
7261
|
if (output["NextToken"] !== undefined) {
|
|
7262
|
-
contents.NextToken =
|
|
7262
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7263
7263
|
}
|
|
7264
7264
|
return contents;
|
|
7265
7265
|
};
|
|
@@ -7272,10 +7272,10 @@ const deserializeAws_queryListStackInstancesOutput = (output, context) => {
|
|
|
7272
7272
|
contents.Summaries = [];
|
|
7273
7273
|
}
|
|
7274
7274
|
if (output["Summaries"] !== undefined && output["Summaries"]["member"] !== undefined) {
|
|
7275
|
-
contents.Summaries = deserializeAws_queryStackInstanceSummaries(
|
|
7275
|
+
contents.Summaries = deserializeAws_queryStackInstanceSummaries(smithy_client_1.getArrayIfSingleItem(output["Summaries"]["member"]), context);
|
|
7276
7276
|
}
|
|
7277
7277
|
if (output["NextToken"] !== undefined) {
|
|
7278
|
-
contents.NextToken =
|
|
7278
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7279
7279
|
}
|
|
7280
7280
|
return contents;
|
|
7281
7281
|
};
|
|
@@ -7288,10 +7288,10 @@ const deserializeAws_queryListStackResourcesOutput = (output, context) => {
|
|
|
7288
7288
|
contents.StackResourceSummaries = [];
|
|
7289
7289
|
}
|
|
7290
7290
|
if (output["StackResourceSummaries"] !== undefined && output["StackResourceSummaries"]["member"] !== undefined) {
|
|
7291
|
-
contents.StackResourceSummaries = deserializeAws_queryStackResourceSummaries(
|
|
7291
|
+
contents.StackResourceSummaries = deserializeAws_queryStackResourceSummaries(smithy_client_1.getArrayIfSingleItem(output["StackResourceSummaries"]["member"]), context);
|
|
7292
7292
|
}
|
|
7293
7293
|
if (output["NextToken"] !== undefined) {
|
|
7294
|
-
contents.NextToken =
|
|
7294
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7295
7295
|
}
|
|
7296
7296
|
return contents;
|
|
7297
7297
|
};
|
|
@@ -7304,10 +7304,10 @@ const deserializeAws_queryListStackSetOperationResultsOutput = (output, context)
|
|
|
7304
7304
|
contents.Summaries = [];
|
|
7305
7305
|
}
|
|
7306
7306
|
if (output["Summaries"] !== undefined && output["Summaries"]["member"] !== undefined) {
|
|
7307
|
-
contents.Summaries = deserializeAws_queryStackSetOperationResultSummaries(
|
|
7307
|
+
contents.Summaries = deserializeAws_queryStackSetOperationResultSummaries(smithy_client_1.getArrayIfSingleItem(output["Summaries"]["member"]), context);
|
|
7308
7308
|
}
|
|
7309
7309
|
if (output["NextToken"] !== undefined) {
|
|
7310
|
-
contents.NextToken =
|
|
7310
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7311
7311
|
}
|
|
7312
7312
|
return contents;
|
|
7313
7313
|
};
|
|
@@ -7320,10 +7320,10 @@ const deserializeAws_queryListStackSetOperationsOutput = (output, context) => {
|
|
|
7320
7320
|
contents.Summaries = [];
|
|
7321
7321
|
}
|
|
7322
7322
|
if (output["Summaries"] !== undefined && output["Summaries"]["member"] !== undefined) {
|
|
7323
|
-
contents.Summaries = deserializeAws_queryStackSetOperationSummaries(
|
|
7323
|
+
contents.Summaries = deserializeAws_queryStackSetOperationSummaries(smithy_client_1.getArrayIfSingleItem(output["Summaries"]["member"]), context);
|
|
7324
7324
|
}
|
|
7325
7325
|
if (output["NextToken"] !== undefined) {
|
|
7326
|
-
contents.NextToken =
|
|
7326
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7327
7327
|
}
|
|
7328
7328
|
return contents;
|
|
7329
7329
|
};
|
|
@@ -7336,10 +7336,10 @@ const deserializeAws_queryListStackSetsOutput = (output, context) => {
|
|
|
7336
7336
|
contents.Summaries = [];
|
|
7337
7337
|
}
|
|
7338
7338
|
if (output["Summaries"] !== undefined && output["Summaries"]["member"] !== undefined) {
|
|
7339
|
-
contents.Summaries = deserializeAws_queryStackSetSummaries(
|
|
7339
|
+
contents.Summaries = deserializeAws_queryStackSetSummaries(smithy_client_1.getArrayIfSingleItem(output["Summaries"]["member"]), context);
|
|
7340
7340
|
}
|
|
7341
7341
|
if (output["NextToken"] !== undefined) {
|
|
7342
|
-
contents.NextToken =
|
|
7342
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7343
7343
|
}
|
|
7344
7344
|
return contents;
|
|
7345
7345
|
};
|
|
@@ -7352,10 +7352,10 @@ const deserializeAws_queryListStacksOutput = (output, context) => {
|
|
|
7352
7352
|
contents.StackSummaries = [];
|
|
7353
7353
|
}
|
|
7354
7354
|
if (output["StackSummaries"] !== undefined && output["StackSummaries"]["member"] !== undefined) {
|
|
7355
|
-
contents.StackSummaries = deserializeAws_queryStackSummaries(
|
|
7355
|
+
contents.StackSummaries = deserializeAws_queryStackSummaries(smithy_client_1.getArrayIfSingleItem(output["StackSummaries"]["member"]), context);
|
|
7356
7356
|
}
|
|
7357
7357
|
if (output["NextToken"] !== undefined) {
|
|
7358
|
-
contents.NextToken =
|
|
7358
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7359
7359
|
}
|
|
7360
7360
|
return contents;
|
|
7361
7361
|
};
|
|
@@ -7368,10 +7368,10 @@ const deserializeAws_queryListTypeRegistrationsOutput = (output, context) => {
|
|
|
7368
7368
|
contents.RegistrationTokenList = [];
|
|
7369
7369
|
}
|
|
7370
7370
|
if (output["RegistrationTokenList"] !== undefined && output["RegistrationTokenList"]["member"] !== undefined) {
|
|
7371
|
-
contents.RegistrationTokenList = deserializeAws_queryRegistrationTokenList(
|
|
7371
|
+
contents.RegistrationTokenList = deserializeAws_queryRegistrationTokenList(smithy_client_1.getArrayIfSingleItem(output["RegistrationTokenList"]["member"]), context);
|
|
7372
7372
|
}
|
|
7373
7373
|
if (output["NextToken"] !== undefined) {
|
|
7374
|
-
contents.NextToken =
|
|
7374
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7375
7375
|
}
|
|
7376
7376
|
return contents;
|
|
7377
7377
|
};
|
|
@@ -7384,10 +7384,10 @@ const deserializeAws_queryListTypesOutput = (output, context) => {
|
|
|
7384
7384
|
contents.TypeSummaries = [];
|
|
7385
7385
|
}
|
|
7386
7386
|
if (output["TypeSummaries"] !== undefined && output["TypeSummaries"]["member"] !== undefined) {
|
|
7387
|
-
contents.TypeSummaries = deserializeAws_queryTypeSummaries(
|
|
7387
|
+
contents.TypeSummaries = deserializeAws_queryTypeSummaries(smithy_client_1.getArrayIfSingleItem(output["TypeSummaries"]["member"]), context);
|
|
7388
7388
|
}
|
|
7389
7389
|
if (output["NextToken"] !== undefined) {
|
|
7390
|
-
contents.NextToken =
|
|
7390
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7391
7391
|
}
|
|
7392
7392
|
return contents;
|
|
7393
7393
|
};
|
|
@@ -7400,10 +7400,10 @@ const deserializeAws_queryListTypeVersionsOutput = (output, context) => {
|
|
|
7400
7400
|
contents.TypeVersionSummaries = [];
|
|
7401
7401
|
}
|
|
7402
7402
|
if (output["TypeVersionSummaries"] !== undefined && output["TypeVersionSummaries"]["member"] !== undefined) {
|
|
7403
|
-
contents.TypeVersionSummaries = deserializeAws_queryTypeVersionSummaries(
|
|
7403
|
+
contents.TypeVersionSummaries = deserializeAws_queryTypeVersionSummaries(smithy_client_1.getArrayIfSingleItem(output["TypeVersionSummaries"]["member"]), context);
|
|
7404
7404
|
}
|
|
7405
7405
|
if (output["NextToken"] !== undefined) {
|
|
7406
|
-
contents.NextToken =
|
|
7406
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7407
7407
|
}
|
|
7408
7408
|
return contents;
|
|
7409
7409
|
};
|
|
@@ -7413,10 +7413,10 @@ const deserializeAws_queryLoggingConfig = (output, context) => {
|
|
|
7413
7413
|
LogGroupName: undefined,
|
|
7414
7414
|
};
|
|
7415
7415
|
if (output["LogRoleArn"] !== undefined) {
|
|
7416
|
-
contents.LogRoleArn =
|
|
7416
|
+
contents.LogRoleArn = smithy_client_1.expectString(output["LogRoleArn"]);
|
|
7417
7417
|
}
|
|
7418
7418
|
if (output["LogGroupName"] !== undefined) {
|
|
7419
|
-
contents.LogGroupName =
|
|
7419
|
+
contents.LogGroupName = smithy_client_1.expectString(output["LogGroupName"]);
|
|
7420
7420
|
}
|
|
7421
7421
|
return contents;
|
|
7422
7422
|
};
|
|
@@ -7427,7 +7427,7 @@ const deserializeAws_queryLogicalResourceIds = (output, context) => {
|
|
|
7427
7427
|
if (entry === null) {
|
|
7428
7428
|
return null;
|
|
7429
7429
|
}
|
|
7430
|
-
return
|
|
7430
|
+
return smithy_client_1.expectString(entry);
|
|
7431
7431
|
});
|
|
7432
7432
|
};
|
|
7433
7433
|
const deserializeAws_queryModuleInfo = (output, context) => {
|
|
@@ -7436,10 +7436,10 @@ const deserializeAws_queryModuleInfo = (output, context) => {
|
|
|
7436
7436
|
LogicalIdHierarchy: undefined,
|
|
7437
7437
|
};
|
|
7438
7438
|
if (output["TypeHierarchy"] !== undefined) {
|
|
7439
|
-
contents.TypeHierarchy =
|
|
7439
|
+
contents.TypeHierarchy = smithy_client_1.expectString(output["TypeHierarchy"]);
|
|
7440
7440
|
}
|
|
7441
7441
|
if (output["LogicalIdHierarchy"] !== undefined) {
|
|
7442
|
-
contents.LogicalIdHierarchy =
|
|
7442
|
+
contents.LogicalIdHierarchy = smithy_client_1.expectString(output["LogicalIdHierarchy"]);
|
|
7443
7443
|
}
|
|
7444
7444
|
return contents;
|
|
7445
7445
|
};
|
|
@@ -7448,7 +7448,7 @@ const deserializeAws_queryNameAlreadyExistsException = (output, context) => {
|
|
|
7448
7448
|
Message: undefined,
|
|
7449
7449
|
};
|
|
7450
7450
|
if (output["Message"] !== undefined) {
|
|
7451
|
-
contents.Message =
|
|
7451
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7452
7452
|
}
|
|
7453
7453
|
return contents;
|
|
7454
7454
|
};
|
|
@@ -7459,7 +7459,7 @@ const deserializeAws_queryNotificationARNs = (output, context) => {
|
|
|
7459
7459
|
if (entry === null) {
|
|
7460
7460
|
return null;
|
|
7461
7461
|
}
|
|
7462
|
-
return
|
|
7462
|
+
return smithy_client_1.expectString(entry);
|
|
7463
7463
|
});
|
|
7464
7464
|
};
|
|
7465
7465
|
const deserializeAws_queryOperationIdAlreadyExistsException = (output, context) => {
|
|
@@ -7467,7 +7467,7 @@ const deserializeAws_queryOperationIdAlreadyExistsException = (output, context)
|
|
|
7467
7467
|
Message: undefined,
|
|
7468
7468
|
};
|
|
7469
7469
|
if (output["Message"] !== undefined) {
|
|
7470
|
-
contents.Message =
|
|
7470
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7471
7471
|
}
|
|
7472
7472
|
return contents;
|
|
7473
7473
|
};
|
|
@@ -7476,7 +7476,7 @@ const deserializeAws_queryOperationInProgressException = (output, context) => {
|
|
|
7476
7476
|
Message: undefined,
|
|
7477
7477
|
};
|
|
7478
7478
|
if (output["Message"] !== undefined) {
|
|
7479
|
-
contents.Message =
|
|
7479
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7480
7480
|
}
|
|
7481
7481
|
return contents;
|
|
7482
7482
|
};
|
|
@@ -7485,7 +7485,7 @@ const deserializeAws_queryOperationNotFoundException = (output, context) => {
|
|
|
7485
7485
|
Message: undefined,
|
|
7486
7486
|
};
|
|
7487
7487
|
if (output["Message"] !== undefined) {
|
|
7488
|
-
contents.Message =
|
|
7488
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7489
7489
|
}
|
|
7490
7490
|
return contents;
|
|
7491
7491
|
};
|
|
@@ -7494,7 +7494,7 @@ const deserializeAws_queryOperationStatusCheckFailedException = (output, context
|
|
|
7494
7494
|
Message: undefined,
|
|
7495
7495
|
};
|
|
7496
7496
|
if (output["Message"] !== undefined) {
|
|
7497
|
-
contents.Message =
|
|
7497
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7498
7498
|
}
|
|
7499
7499
|
return contents;
|
|
7500
7500
|
};
|
|
@@ -7505,7 +7505,7 @@ const deserializeAws_queryOrganizationalUnitIdList = (output, context) => {
|
|
|
7505
7505
|
if (entry === null) {
|
|
7506
7506
|
return null;
|
|
7507
7507
|
}
|
|
7508
|
-
return
|
|
7508
|
+
return smithy_client_1.expectString(entry);
|
|
7509
7509
|
});
|
|
7510
7510
|
};
|
|
7511
7511
|
const deserializeAws_queryOutput = (output, context) => {
|
|
@@ -7516,16 +7516,16 @@ const deserializeAws_queryOutput = (output, context) => {
|
|
|
7516
7516
|
ExportName: undefined,
|
|
7517
7517
|
};
|
|
7518
7518
|
if (output["OutputKey"] !== undefined) {
|
|
7519
|
-
contents.OutputKey =
|
|
7519
|
+
contents.OutputKey = smithy_client_1.expectString(output["OutputKey"]);
|
|
7520
7520
|
}
|
|
7521
7521
|
if (output["OutputValue"] !== undefined) {
|
|
7522
|
-
contents.OutputValue =
|
|
7522
|
+
contents.OutputValue = smithy_client_1.expectString(output["OutputValue"]);
|
|
7523
7523
|
}
|
|
7524
7524
|
if (output["Description"] !== undefined) {
|
|
7525
|
-
contents.Description =
|
|
7525
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
7526
7526
|
}
|
|
7527
7527
|
if (output["ExportName"] !== undefined) {
|
|
7528
|
-
contents.ExportName =
|
|
7528
|
+
contents.ExportName = smithy_client_1.expectString(output["ExportName"]);
|
|
7529
7529
|
}
|
|
7530
7530
|
return contents;
|
|
7531
7531
|
};
|
|
@@ -7547,16 +7547,16 @@ const deserializeAws_queryParameter = (output, context) => {
|
|
|
7547
7547
|
ResolvedValue: undefined,
|
|
7548
7548
|
};
|
|
7549
7549
|
if (output["ParameterKey"] !== undefined) {
|
|
7550
|
-
contents.ParameterKey =
|
|
7550
|
+
contents.ParameterKey = smithy_client_1.expectString(output["ParameterKey"]);
|
|
7551
7551
|
}
|
|
7552
7552
|
if (output["ParameterValue"] !== undefined) {
|
|
7553
|
-
contents.ParameterValue =
|
|
7553
|
+
contents.ParameterValue = smithy_client_1.expectString(output["ParameterValue"]);
|
|
7554
7554
|
}
|
|
7555
7555
|
if (output["UsePreviousValue"] !== undefined) {
|
|
7556
|
-
contents.UsePreviousValue =
|
|
7556
|
+
contents.UsePreviousValue = smithy_client_1.parseBoolean(output["UsePreviousValue"]);
|
|
7557
7557
|
}
|
|
7558
7558
|
if (output["ResolvedValue"] !== undefined) {
|
|
7559
|
-
contents.ResolvedValue =
|
|
7559
|
+
contents.ResolvedValue = smithy_client_1.expectString(output["ResolvedValue"]);
|
|
7560
7560
|
}
|
|
7561
7561
|
return contents;
|
|
7562
7562
|
};
|
|
@@ -7568,7 +7568,7 @@ const deserializeAws_queryParameterConstraints = (output, context) => {
|
|
|
7568
7568
|
contents.AllowedValues = [];
|
|
7569
7569
|
}
|
|
7570
7570
|
if (output["AllowedValues"] !== undefined && output["AllowedValues"]["member"] !== undefined) {
|
|
7571
|
-
contents.AllowedValues = deserializeAws_queryAllowedValues(
|
|
7571
|
+
contents.AllowedValues = deserializeAws_queryAllowedValues(smithy_client_1.getArrayIfSingleItem(output["AllowedValues"]["member"]), context);
|
|
7572
7572
|
}
|
|
7573
7573
|
return contents;
|
|
7574
7574
|
};
|
|
@@ -7582,19 +7582,19 @@ const deserializeAws_queryParameterDeclaration = (output, context) => {
|
|
|
7582
7582
|
ParameterConstraints: undefined,
|
|
7583
7583
|
};
|
|
7584
7584
|
if (output["ParameterKey"] !== undefined) {
|
|
7585
|
-
contents.ParameterKey =
|
|
7585
|
+
contents.ParameterKey = smithy_client_1.expectString(output["ParameterKey"]);
|
|
7586
7586
|
}
|
|
7587
7587
|
if (output["DefaultValue"] !== undefined) {
|
|
7588
|
-
contents.DefaultValue =
|
|
7588
|
+
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
7589
7589
|
}
|
|
7590
7590
|
if (output["ParameterType"] !== undefined) {
|
|
7591
|
-
contents.ParameterType =
|
|
7591
|
+
contents.ParameterType = smithy_client_1.expectString(output["ParameterType"]);
|
|
7592
7592
|
}
|
|
7593
7593
|
if (output["NoEcho"] !== undefined) {
|
|
7594
|
-
contents.NoEcho =
|
|
7594
|
+
contents.NoEcho = smithy_client_1.parseBoolean(output["NoEcho"]);
|
|
7595
7595
|
}
|
|
7596
7596
|
if (output["Description"] !== undefined) {
|
|
7597
|
-
contents.Description =
|
|
7597
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
7598
7598
|
}
|
|
7599
7599
|
if (output["ParameterConstraints"] !== undefined) {
|
|
7600
7600
|
contents.ParameterConstraints = deserializeAws_queryParameterConstraints(output["ParameterConstraints"], context);
|
|
@@ -7637,10 +7637,10 @@ const deserializeAws_queryPhysicalResourceIdContextKeyValuePair = (output, conte
|
|
|
7637
7637
|
Value: undefined,
|
|
7638
7638
|
};
|
|
7639
7639
|
if (output["Key"] !== undefined) {
|
|
7640
|
-
contents.Key =
|
|
7640
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
7641
7641
|
}
|
|
7642
7642
|
if (output["Value"] !== undefined) {
|
|
7643
|
-
contents.Value =
|
|
7643
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
7644
7644
|
}
|
|
7645
7645
|
return contents;
|
|
7646
7646
|
};
|
|
@@ -7652,16 +7652,16 @@ const deserializeAws_queryPropertyDifference = (output, context) => {
|
|
|
7652
7652
|
DifferenceType: undefined,
|
|
7653
7653
|
};
|
|
7654
7654
|
if (output["PropertyPath"] !== undefined) {
|
|
7655
|
-
contents.PropertyPath =
|
|
7655
|
+
contents.PropertyPath = smithy_client_1.expectString(output["PropertyPath"]);
|
|
7656
7656
|
}
|
|
7657
7657
|
if (output["ExpectedValue"] !== undefined) {
|
|
7658
|
-
contents.ExpectedValue =
|
|
7658
|
+
contents.ExpectedValue = smithy_client_1.expectString(output["ExpectedValue"]);
|
|
7659
7659
|
}
|
|
7660
7660
|
if (output["ActualValue"] !== undefined) {
|
|
7661
|
-
contents.ActualValue =
|
|
7661
|
+
contents.ActualValue = smithy_client_1.expectString(output["ActualValue"]);
|
|
7662
7662
|
}
|
|
7663
7663
|
if (output["DifferenceType"] !== undefined) {
|
|
7664
|
-
contents.DifferenceType =
|
|
7664
|
+
contents.DifferenceType = smithy_client_1.expectString(output["DifferenceType"]);
|
|
7665
7665
|
}
|
|
7666
7666
|
return contents;
|
|
7667
7667
|
};
|
|
@@ -7680,7 +7680,7 @@ const deserializeAws_queryPublishTypeOutput = (output, context) => {
|
|
|
7680
7680
|
PublicTypeArn: undefined,
|
|
7681
7681
|
};
|
|
7682
7682
|
if (output["PublicTypeArn"] !== undefined) {
|
|
7683
|
-
contents.PublicTypeArn =
|
|
7683
|
+
contents.PublicTypeArn = smithy_client_1.expectString(output["PublicTypeArn"]);
|
|
7684
7684
|
}
|
|
7685
7685
|
return contents;
|
|
7686
7686
|
};
|
|
@@ -7695,7 +7695,7 @@ const deserializeAws_queryRegionList = (output, context) => {
|
|
|
7695
7695
|
if (entry === null) {
|
|
7696
7696
|
return null;
|
|
7697
7697
|
}
|
|
7698
|
-
return
|
|
7698
|
+
return smithy_client_1.expectString(entry);
|
|
7699
7699
|
});
|
|
7700
7700
|
};
|
|
7701
7701
|
const deserializeAws_queryRegisterPublisherOutput = (output, context) => {
|
|
@@ -7703,7 +7703,7 @@ const deserializeAws_queryRegisterPublisherOutput = (output, context) => {
|
|
|
7703
7703
|
PublisherId: undefined,
|
|
7704
7704
|
};
|
|
7705
7705
|
if (output["PublisherId"] !== undefined) {
|
|
7706
|
-
contents.PublisherId =
|
|
7706
|
+
contents.PublisherId = smithy_client_1.expectString(output["PublisherId"]);
|
|
7707
7707
|
}
|
|
7708
7708
|
return contents;
|
|
7709
7709
|
};
|
|
@@ -7712,7 +7712,7 @@ const deserializeAws_queryRegisterTypeOutput = (output, context) => {
|
|
|
7712
7712
|
RegistrationToken: undefined,
|
|
7713
7713
|
};
|
|
7714
7714
|
if (output["RegistrationToken"] !== undefined) {
|
|
7715
|
-
contents.RegistrationToken =
|
|
7715
|
+
contents.RegistrationToken = smithy_client_1.expectString(output["RegistrationToken"]);
|
|
7716
7716
|
}
|
|
7717
7717
|
return contents;
|
|
7718
7718
|
};
|
|
@@ -7723,7 +7723,7 @@ const deserializeAws_queryRegistrationTokenList = (output, context) => {
|
|
|
7723
7723
|
if (entry === null) {
|
|
7724
7724
|
return null;
|
|
7725
7725
|
}
|
|
7726
|
-
return
|
|
7726
|
+
return smithy_client_1.expectString(entry);
|
|
7727
7727
|
});
|
|
7728
7728
|
};
|
|
7729
7729
|
const deserializeAws_queryRequiredActivatedType = (output, context) => {
|
|
@@ -7734,19 +7734,19 @@ const deserializeAws_queryRequiredActivatedType = (output, context) => {
|
|
|
7734
7734
|
SupportedMajorVersions: undefined,
|
|
7735
7735
|
};
|
|
7736
7736
|
if (output["TypeNameAlias"] !== undefined) {
|
|
7737
|
-
contents.TypeNameAlias =
|
|
7737
|
+
contents.TypeNameAlias = smithy_client_1.expectString(output["TypeNameAlias"]);
|
|
7738
7738
|
}
|
|
7739
7739
|
if (output["OriginalTypeName"] !== undefined) {
|
|
7740
|
-
contents.OriginalTypeName =
|
|
7740
|
+
contents.OriginalTypeName = smithy_client_1.expectString(output["OriginalTypeName"]);
|
|
7741
7741
|
}
|
|
7742
7742
|
if (output["PublisherId"] !== undefined) {
|
|
7743
|
-
contents.PublisherId =
|
|
7743
|
+
contents.PublisherId = smithy_client_1.expectString(output["PublisherId"]);
|
|
7744
7744
|
}
|
|
7745
7745
|
if (output.SupportedMajorVersions === "") {
|
|
7746
7746
|
contents.SupportedMajorVersions = [];
|
|
7747
7747
|
}
|
|
7748
7748
|
if (output["SupportedMajorVersions"] !== undefined && output["SupportedMajorVersions"]["member"] !== undefined) {
|
|
7749
|
-
contents.SupportedMajorVersions = deserializeAws_querySupportedMajorVersions(
|
|
7749
|
+
contents.SupportedMajorVersions = deserializeAws_querySupportedMajorVersions(smithy_client_1.getArrayIfSingleItem(output["SupportedMajorVersions"]["member"]), context);
|
|
7750
7750
|
}
|
|
7751
7751
|
return contents;
|
|
7752
7752
|
};
|
|
@@ -7773,34 +7773,34 @@ const deserializeAws_queryResourceChange = (output, context) => {
|
|
|
7773
7773
|
ModuleInfo: undefined,
|
|
7774
7774
|
};
|
|
7775
7775
|
if (output["Action"] !== undefined) {
|
|
7776
|
-
contents.Action =
|
|
7776
|
+
contents.Action = smithy_client_1.expectString(output["Action"]);
|
|
7777
7777
|
}
|
|
7778
7778
|
if (output["LogicalResourceId"] !== undefined) {
|
|
7779
|
-
contents.LogicalResourceId =
|
|
7779
|
+
contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
|
|
7780
7780
|
}
|
|
7781
7781
|
if (output["PhysicalResourceId"] !== undefined) {
|
|
7782
|
-
contents.PhysicalResourceId =
|
|
7782
|
+
contents.PhysicalResourceId = smithy_client_1.expectString(output["PhysicalResourceId"]);
|
|
7783
7783
|
}
|
|
7784
7784
|
if (output["ResourceType"] !== undefined) {
|
|
7785
|
-
contents.ResourceType =
|
|
7785
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
7786
7786
|
}
|
|
7787
7787
|
if (output["Replacement"] !== undefined) {
|
|
7788
|
-
contents.Replacement =
|
|
7788
|
+
contents.Replacement = smithy_client_1.expectString(output["Replacement"]);
|
|
7789
7789
|
}
|
|
7790
7790
|
if (output.Scope === "") {
|
|
7791
7791
|
contents.Scope = [];
|
|
7792
7792
|
}
|
|
7793
7793
|
if (output["Scope"] !== undefined && output["Scope"]["member"] !== undefined) {
|
|
7794
|
-
contents.Scope = deserializeAws_queryScope(
|
|
7794
|
+
contents.Scope = deserializeAws_queryScope(smithy_client_1.getArrayIfSingleItem(output["Scope"]["member"]), context);
|
|
7795
7795
|
}
|
|
7796
7796
|
if (output.Details === "") {
|
|
7797
7797
|
contents.Details = [];
|
|
7798
7798
|
}
|
|
7799
7799
|
if (output["Details"] !== undefined && output["Details"]["member"] !== undefined) {
|
|
7800
|
-
contents.Details = deserializeAws_queryResourceChangeDetails(
|
|
7800
|
+
contents.Details = deserializeAws_queryResourceChangeDetails(smithy_client_1.getArrayIfSingleItem(output["Details"]["member"]), context);
|
|
7801
7801
|
}
|
|
7802
7802
|
if (output["ChangeSetId"] !== undefined) {
|
|
7803
|
-
contents.ChangeSetId =
|
|
7803
|
+
contents.ChangeSetId = smithy_client_1.expectString(output["ChangeSetId"]);
|
|
7804
7804
|
}
|
|
7805
7805
|
if (output["ModuleInfo"] !== undefined) {
|
|
7806
7806
|
contents.ModuleInfo = deserializeAws_queryModuleInfo(output["ModuleInfo"], context);
|
|
@@ -7818,13 +7818,13 @@ const deserializeAws_queryResourceChangeDetail = (output, context) => {
|
|
|
7818
7818
|
contents.Target = deserializeAws_queryResourceTargetDefinition(output["Target"], context);
|
|
7819
7819
|
}
|
|
7820
7820
|
if (output["Evaluation"] !== undefined) {
|
|
7821
|
-
contents.Evaluation =
|
|
7821
|
+
contents.Evaluation = smithy_client_1.expectString(output["Evaluation"]);
|
|
7822
7822
|
}
|
|
7823
7823
|
if (output["ChangeSource"] !== undefined) {
|
|
7824
|
-
contents.ChangeSource =
|
|
7824
|
+
contents.ChangeSource = smithy_client_1.expectString(output["ChangeSource"]);
|
|
7825
7825
|
}
|
|
7826
7826
|
if (output["CausingEntity"] !== undefined) {
|
|
7827
|
-
contents.CausingEntity =
|
|
7827
|
+
contents.CausingEntity = smithy_client_1.expectString(output["CausingEntity"]);
|
|
7828
7828
|
}
|
|
7829
7829
|
return contents;
|
|
7830
7830
|
};
|
|
@@ -7845,7 +7845,7 @@ const deserializeAws_queryResourceIdentifiers = (output, context) => {
|
|
|
7845
7845
|
if (entry === null) {
|
|
7846
7846
|
return null;
|
|
7847
7847
|
}
|
|
7848
|
-
return
|
|
7848
|
+
return smithy_client_1.expectString(entry);
|
|
7849
7849
|
});
|
|
7850
7850
|
};
|
|
7851
7851
|
const deserializeAws_queryResourceIdentifierSummaries = (output, context) => {
|
|
@@ -7865,19 +7865,19 @@ const deserializeAws_queryResourceIdentifierSummary = (output, context) => {
|
|
|
7865
7865
|
ResourceIdentifiers: undefined,
|
|
7866
7866
|
};
|
|
7867
7867
|
if (output["ResourceType"] !== undefined) {
|
|
7868
|
-
contents.ResourceType =
|
|
7868
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
7869
7869
|
}
|
|
7870
7870
|
if (output.LogicalResourceIds === "") {
|
|
7871
7871
|
contents.LogicalResourceIds = [];
|
|
7872
7872
|
}
|
|
7873
7873
|
if (output["LogicalResourceIds"] !== undefined && output["LogicalResourceIds"]["member"] !== undefined) {
|
|
7874
|
-
contents.LogicalResourceIds = deserializeAws_queryLogicalResourceIds(
|
|
7874
|
+
contents.LogicalResourceIds = deserializeAws_queryLogicalResourceIds(smithy_client_1.getArrayIfSingleItem(output["LogicalResourceIds"]["member"]), context);
|
|
7875
7875
|
}
|
|
7876
7876
|
if (output.ResourceIdentifiers === "") {
|
|
7877
7877
|
contents.ResourceIdentifiers = [];
|
|
7878
7878
|
}
|
|
7879
7879
|
if (output["ResourceIdentifiers"] !== undefined && output["ResourceIdentifiers"]["member"] !== undefined) {
|
|
7880
|
-
contents.ResourceIdentifiers = deserializeAws_queryResourceIdentifiers(
|
|
7880
|
+
contents.ResourceIdentifiers = deserializeAws_queryResourceIdentifiers(smithy_client_1.getArrayIfSingleItem(output["ResourceIdentifiers"]["member"]), context);
|
|
7881
7881
|
}
|
|
7882
7882
|
return contents;
|
|
7883
7883
|
};
|
|
@@ -7888,13 +7888,13 @@ const deserializeAws_queryResourceTargetDefinition = (output, context) => {
|
|
|
7888
7888
|
RequiresRecreation: undefined,
|
|
7889
7889
|
};
|
|
7890
7890
|
if (output["Attribute"] !== undefined) {
|
|
7891
|
-
contents.Attribute =
|
|
7891
|
+
contents.Attribute = smithy_client_1.expectString(output["Attribute"]);
|
|
7892
7892
|
}
|
|
7893
7893
|
if (output["Name"] !== undefined) {
|
|
7894
|
-
contents.Name =
|
|
7894
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7895
7895
|
}
|
|
7896
7896
|
if (output["RequiresRecreation"] !== undefined) {
|
|
7897
|
-
contents.RequiresRecreation =
|
|
7897
|
+
contents.RequiresRecreation = smithy_client_1.expectString(output["RequiresRecreation"]);
|
|
7898
7898
|
}
|
|
7899
7899
|
return contents;
|
|
7900
7900
|
};
|
|
@@ -7905,7 +7905,7 @@ const deserializeAws_queryResourceTypes = (output, context) => {
|
|
|
7905
7905
|
if (entry === null) {
|
|
7906
7906
|
return null;
|
|
7907
7907
|
}
|
|
7908
|
-
return
|
|
7908
|
+
return smithy_client_1.expectString(entry);
|
|
7909
7909
|
});
|
|
7910
7910
|
};
|
|
7911
7911
|
const deserializeAws_queryRollbackConfiguration = (output, context) => {
|
|
@@ -7917,10 +7917,10 @@ const deserializeAws_queryRollbackConfiguration = (output, context) => {
|
|
|
7917
7917
|
contents.RollbackTriggers = [];
|
|
7918
7918
|
}
|
|
7919
7919
|
if (output["RollbackTriggers"] !== undefined && output["RollbackTriggers"]["member"] !== undefined) {
|
|
7920
|
-
contents.RollbackTriggers = deserializeAws_queryRollbackTriggers(
|
|
7920
|
+
contents.RollbackTriggers = deserializeAws_queryRollbackTriggers(smithy_client_1.getArrayIfSingleItem(output["RollbackTriggers"]["member"]), context);
|
|
7921
7921
|
}
|
|
7922
7922
|
if (output["MonitoringTimeInMinutes"] !== undefined) {
|
|
7923
|
-
contents.MonitoringTimeInMinutes =
|
|
7923
|
+
contents.MonitoringTimeInMinutes = smithy_client_1.strictParseInt32(output["MonitoringTimeInMinutes"]);
|
|
7924
7924
|
}
|
|
7925
7925
|
return contents;
|
|
7926
7926
|
};
|
|
@@ -7929,7 +7929,7 @@ const deserializeAws_queryRollbackStackOutput = (output, context) => {
|
|
|
7929
7929
|
StackId: undefined,
|
|
7930
7930
|
};
|
|
7931
7931
|
if (output["StackId"] !== undefined) {
|
|
7932
|
-
contents.StackId =
|
|
7932
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
7933
7933
|
}
|
|
7934
7934
|
return contents;
|
|
7935
7935
|
};
|
|
@@ -7939,10 +7939,10 @@ const deserializeAws_queryRollbackTrigger = (output, context) => {
|
|
|
7939
7939
|
Type: undefined,
|
|
7940
7940
|
};
|
|
7941
7941
|
if (output["Arn"] !== undefined) {
|
|
7942
|
-
contents.Arn =
|
|
7942
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
7943
7943
|
}
|
|
7944
7944
|
if (output["Type"] !== undefined) {
|
|
7945
|
-
contents.Type =
|
|
7945
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
7946
7946
|
}
|
|
7947
7947
|
return contents;
|
|
7948
7948
|
};
|
|
@@ -7963,7 +7963,7 @@ const deserializeAws_queryScope = (output, context) => {
|
|
|
7963
7963
|
if (entry === null) {
|
|
7964
7964
|
return null;
|
|
7965
7965
|
}
|
|
7966
|
-
return
|
|
7966
|
+
return smithy_client_1.expectString(entry);
|
|
7967
7967
|
});
|
|
7968
7968
|
};
|
|
7969
7969
|
const deserializeAws_querySetTypeConfigurationOutput = (output, context) => {
|
|
@@ -7971,7 +7971,7 @@ const deserializeAws_querySetTypeConfigurationOutput = (output, context) => {
|
|
|
7971
7971
|
ConfigurationArn: undefined,
|
|
7972
7972
|
};
|
|
7973
7973
|
if (output["ConfigurationArn"] !== undefined) {
|
|
7974
|
-
contents.ConfigurationArn =
|
|
7974
|
+
contents.ConfigurationArn = smithy_client_1.expectString(output["ConfigurationArn"]);
|
|
7975
7975
|
}
|
|
7976
7976
|
return contents;
|
|
7977
7977
|
};
|
|
@@ -8005,82 +8005,82 @@ const deserializeAws_queryStack = (output, context) => {
|
|
|
8005
8005
|
DriftInformation: undefined,
|
|
8006
8006
|
};
|
|
8007
8007
|
if (output["StackId"] !== undefined) {
|
|
8008
|
-
contents.StackId =
|
|
8008
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8009
8009
|
}
|
|
8010
8010
|
if (output["StackName"] !== undefined) {
|
|
8011
|
-
contents.StackName =
|
|
8011
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
8012
8012
|
}
|
|
8013
8013
|
if (output["ChangeSetId"] !== undefined) {
|
|
8014
|
-
contents.ChangeSetId =
|
|
8014
|
+
contents.ChangeSetId = smithy_client_1.expectString(output["ChangeSetId"]);
|
|
8015
8015
|
}
|
|
8016
8016
|
if (output["Description"] !== undefined) {
|
|
8017
|
-
contents.Description =
|
|
8017
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8018
8018
|
}
|
|
8019
8019
|
if (output.Parameters === "") {
|
|
8020
8020
|
contents.Parameters = [];
|
|
8021
8021
|
}
|
|
8022
8022
|
if (output["Parameters"] !== undefined && output["Parameters"]["member"] !== undefined) {
|
|
8023
|
-
contents.Parameters = deserializeAws_queryParameters(
|
|
8023
|
+
contents.Parameters = deserializeAws_queryParameters(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
8024
8024
|
}
|
|
8025
8025
|
if (output["CreationTime"] !== undefined) {
|
|
8026
|
-
contents.CreationTime =
|
|
8026
|
+
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
8027
8027
|
}
|
|
8028
8028
|
if (output["DeletionTime"] !== undefined) {
|
|
8029
|
-
contents.DeletionTime =
|
|
8029
|
+
contents.DeletionTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["DeletionTime"]));
|
|
8030
8030
|
}
|
|
8031
8031
|
if (output["LastUpdatedTime"] !== undefined) {
|
|
8032
|
-
contents.LastUpdatedTime =
|
|
8032
|
+
contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTime"]));
|
|
8033
8033
|
}
|
|
8034
8034
|
if (output["RollbackConfiguration"] !== undefined) {
|
|
8035
8035
|
contents.RollbackConfiguration = deserializeAws_queryRollbackConfiguration(output["RollbackConfiguration"], context);
|
|
8036
8036
|
}
|
|
8037
8037
|
if (output["StackStatus"] !== undefined) {
|
|
8038
|
-
contents.StackStatus =
|
|
8038
|
+
contents.StackStatus = smithy_client_1.expectString(output["StackStatus"]);
|
|
8039
8039
|
}
|
|
8040
8040
|
if (output["StackStatusReason"] !== undefined) {
|
|
8041
|
-
contents.StackStatusReason =
|
|
8041
|
+
contents.StackStatusReason = smithy_client_1.expectString(output["StackStatusReason"]);
|
|
8042
8042
|
}
|
|
8043
8043
|
if (output["DisableRollback"] !== undefined) {
|
|
8044
|
-
contents.DisableRollback =
|
|
8044
|
+
contents.DisableRollback = smithy_client_1.parseBoolean(output["DisableRollback"]);
|
|
8045
8045
|
}
|
|
8046
8046
|
if (output.NotificationARNs === "") {
|
|
8047
8047
|
contents.NotificationARNs = [];
|
|
8048
8048
|
}
|
|
8049
8049
|
if (output["NotificationARNs"] !== undefined && output["NotificationARNs"]["member"] !== undefined) {
|
|
8050
|
-
contents.NotificationARNs = deserializeAws_queryNotificationARNs(
|
|
8050
|
+
contents.NotificationARNs = deserializeAws_queryNotificationARNs(smithy_client_1.getArrayIfSingleItem(output["NotificationARNs"]["member"]), context);
|
|
8051
8051
|
}
|
|
8052
8052
|
if (output["TimeoutInMinutes"] !== undefined) {
|
|
8053
|
-
contents.TimeoutInMinutes =
|
|
8053
|
+
contents.TimeoutInMinutes = smithy_client_1.strictParseInt32(output["TimeoutInMinutes"]);
|
|
8054
8054
|
}
|
|
8055
8055
|
if (output.Capabilities === "") {
|
|
8056
8056
|
contents.Capabilities = [];
|
|
8057
8057
|
}
|
|
8058
8058
|
if (output["Capabilities"] !== undefined && output["Capabilities"]["member"] !== undefined) {
|
|
8059
|
-
contents.Capabilities = deserializeAws_queryCapabilities(
|
|
8059
|
+
contents.Capabilities = deserializeAws_queryCapabilities(smithy_client_1.getArrayIfSingleItem(output["Capabilities"]["member"]), context);
|
|
8060
8060
|
}
|
|
8061
8061
|
if (output.Outputs === "") {
|
|
8062
8062
|
contents.Outputs = [];
|
|
8063
8063
|
}
|
|
8064
8064
|
if (output["Outputs"] !== undefined && output["Outputs"]["member"] !== undefined) {
|
|
8065
|
-
contents.Outputs = deserializeAws_queryOutputs(
|
|
8065
|
+
contents.Outputs = deserializeAws_queryOutputs(smithy_client_1.getArrayIfSingleItem(output["Outputs"]["member"]), context);
|
|
8066
8066
|
}
|
|
8067
8067
|
if (output["RoleARN"] !== undefined) {
|
|
8068
|
-
contents.RoleARN =
|
|
8068
|
+
contents.RoleARN = smithy_client_1.expectString(output["RoleARN"]);
|
|
8069
8069
|
}
|
|
8070
8070
|
if (output.Tags === "") {
|
|
8071
8071
|
contents.Tags = [];
|
|
8072
8072
|
}
|
|
8073
8073
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
8074
|
-
contents.Tags = deserializeAws_queryTags(
|
|
8074
|
+
contents.Tags = deserializeAws_queryTags(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
8075
8075
|
}
|
|
8076
8076
|
if (output["EnableTerminationProtection"] !== undefined) {
|
|
8077
|
-
contents.EnableTerminationProtection =
|
|
8077
|
+
contents.EnableTerminationProtection = smithy_client_1.parseBoolean(output["EnableTerminationProtection"]);
|
|
8078
8078
|
}
|
|
8079
8079
|
if (output["ParentId"] !== undefined) {
|
|
8080
|
-
contents.ParentId =
|
|
8080
|
+
contents.ParentId = smithy_client_1.expectString(output["ParentId"]);
|
|
8081
8081
|
}
|
|
8082
8082
|
if (output["RootId"] !== undefined) {
|
|
8083
|
-
contents.RootId =
|
|
8083
|
+
contents.RootId = smithy_client_1.expectString(output["RootId"]);
|
|
8084
8084
|
}
|
|
8085
8085
|
if (output["DriftInformation"] !== undefined) {
|
|
8086
8086
|
contents.DriftInformation = deserializeAws_queryStackDriftInformation(output["DriftInformation"], context);
|
|
@@ -8093,10 +8093,10 @@ const deserializeAws_queryStackDriftInformation = (output, context) => {
|
|
|
8093
8093
|
LastCheckTimestamp: undefined,
|
|
8094
8094
|
};
|
|
8095
8095
|
if (output["StackDriftStatus"] !== undefined) {
|
|
8096
|
-
contents.StackDriftStatus =
|
|
8096
|
+
contents.StackDriftStatus = smithy_client_1.expectString(output["StackDriftStatus"]);
|
|
8097
8097
|
}
|
|
8098
8098
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8099
|
-
contents.LastCheckTimestamp =
|
|
8099
|
+
contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8100
8100
|
}
|
|
8101
8101
|
return contents;
|
|
8102
8102
|
};
|
|
@@ -8106,10 +8106,10 @@ const deserializeAws_queryStackDriftInformationSummary = (output, context) => {
|
|
|
8106
8106
|
LastCheckTimestamp: undefined,
|
|
8107
8107
|
};
|
|
8108
8108
|
if (output["StackDriftStatus"] !== undefined) {
|
|
8109
|
-
contents.StackDriftStatus =
|
|
8109
|
+
contents.StackDriftStatus = smithy_client_1.expectString(output["StackDriftStatus"]);
|
|
8110
8110
|
}
|
|
8111
8111
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8112
|
-
contents.LastCheckTimestamp =
|
|
8112
|
+
contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8113
8113
|
}
|
|
8114
8114
|
return contents;
|
|
8115
8115
|
};
|
|
@@ -8128,37 +8128,37 @@ const deserializeAws_queryStackEvent = (output, context) => {
|
|
|
8128
8128
|
ClientRequestToken: undefined,
|
|
8129
8129
|
};
|
|
8130
8130
|
if (output["StackId"] !== undefined) {
|
|
8131
|
-
contents.StackId =
|
|
8131
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8132
8132
|
}
|
|
8133
8133
|
if (output["EventId"] !== undefined) {
|
|
8134
|
-
contents.EventId =
|
|
8134
|
+
contents.EventId = smithy_client_1.expectString(output["EventId"]);
|
|
8135
8135
|
}
|
|
8136
8136
|
if (output["StackName"] !== undefined) {
|
|
8137
|
-
contents.StackName =
|
|
8137
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
8138
8138
|
}
|
|
8139
8139
|
if (output["LogicalResourceId"] !== undefined) {
|
|
8140
|
-
contents.LogicalResourceId =
|
|
8140
|
+
contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
|
|
8141
8141
|
}
|
|
8142
8142
|
if (output["PhysicalResourceId"] !== undefined) {
|
|
8143
|
-
contents.PhysicalResourceId =
|
|
8143
|
+
contents.PhysicalResourceId = smithy_client_1.expectString(output["PhysicalResourceId"]);
|
|
8144
8144
|
}
|
|
8145
8145
|
if (output["ResourceType"] !== undefined) {
|
|
8146
|
-
contents.ResourceType =
|
|
8146
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
8147
8147
|
}
|
|
8148
8148
|
if (output["Timestamp"] !== undefined) {
|
|
8149
|
-
contents.Timestamp =
|
|
8149
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
8150
8150
|
}
|
|
8151
8151
|
if (output["ResourceStatus"] !== undefined) {
|
|
8152
|
-
contents.ResourceStatus =
|
|
8152
|
+
contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
|
|
8153
8153
|
}
|
|
8154
8154
|
if (output["ResourceStatusReason"] !== undefined) {
|
|
8155
|
-
contents.ResourceStatusReason =
|
|
8155
|
+
contents.ResourceStatusReason = smithy_client_1.expectString(output["ResourceStatusReason"]);
|
|
8156
8156
|
}
|
|
8157
8157
|
if (output["ResourceProperties"] !== undefined) {
|
|
8158
|
-
contents.ResourceProperties =
|
|
8158
|
+
contents.ResourceProperties = smithy_client_1.expectString(output["ResourceProperties"]);
|
|
8159
8159
|
}
|
|
8160
8160
|
if (output["ClientRequestToken"] !== undefined) {
|
|
8161
|
-
contents.ClientRequestToken =
|
|
8161
|
+
contents.ClientRequestToken = smithy_client_1.expectString(output["ClientRequestToken"]);
|
|
8162
8162
|
}
|
|
8163
8163
|
return contents;
|
|
8164
8164
|
};
|
|
@@ -8187,40 +8187,40 @@ const deserializeAws_queryStackInstance = (output, context) => {
|
|
|
8187
8187
|
LastDriftCheckTimestamp: undefined,
|
|
8188
8188
|
};
|
|
8189
8189
|
if (output["StackSetId"] !== undefined) {
|
|
8190
|
-
contents.StackSetId =
|
|
8190
|
+
contents.StackSetId = smithy_client_1.expectString(output["StackSetId"]);
|
|
8191
8191
|
}
|
|
8192
8192
|
if (output["Region"] !== undefined) {
|
|
8193
|
-
contents.Region =
|
|
8193
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
8194
8194
|
}
|
|
8195
8195
|
if (output["Account"] !== undefined) {
|
|
8196
|
-
contents.Account =
|
|
8196
|
+
contents.Account = smithy_client_1.expectString(output["Account"]);
|
|
8197
8197
|
}
|
|
8198
8198
|
if (output["StackId"] !== undefined) {
|
|
8199
|
-
contents.StackId =
|
|
8199
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8200
8200
|
}
|
|
8201
8201
|
if (output.ParameterOverrides === "") {
|
|
8202
8202
|
contents.ParameterOverrides = [];
|
|
8203
8203
|
}
|
|
8204
8204
|
if (output["ParameterOverrides"] !== undefined && output["ParameterOverrides"]["member"] !== undefined) {
|
|
8205
|
-
contents.ParameterOverrides = deserializeAws_queryParameters(
|
|
8205
|
+
contents.ParameterOverrides = deserializeAws_queryParameters(smithy_client_1.getArrayIfSingleItem(output["ParameterOverrides"]["member"]), context);
|
|
8206
8206
|
}
|
|
8207
8207
|
if (output["Status"] !== undefined) {
|
|
8208
|
-
contents.Status =
|
|
8208
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8209
8209
|
}
|
|
8210
8210
|
if (output["StackInstanceStatus"] !== undefined) {
|
|
8211
8211
|
contents.StackInstanceStatus = deserializeAws_queryStackInstanceComprehensiveStatus(output["StackInstanceStatus"], context);
|
|
8212
8212
|
}
|
|
8213
8213
|
if (output["StatusReason"] !== undefined) {
|
|
8214
|
-
contents.StatusReason =
|
|
8214
|
+
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
8215
8215
|
}
|
|
8216
8216
|
if (output["OrganizationalUnitId"] !== undefined) {
|
|
8217
|
-
contents.OrganizationalUnitId =
|
|
8217
|
+
contents.OrganizationalUnitId = smithy_client_1.expectString(output["OrganizationalUnitId"]);
|
|
8218
8218
|
}
|
|
8219
8219
|
if (output["DriftStatus"] !== undefined) {
|
|
8220
|
-
contents.DriftStatus =
|
|
8220
|
+
contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
|
|
8221
8221
|
}
|
|
8222
8222
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
8223
|
-
contents.LastDriftCheckTimestamp =
|
|
8223
|
+
contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
8224
8224
|
}
|
|
8225
8225
|
return contents;
|
|
8226
8226
|
};
|
|
@@ -8229,7 +8229,7 @@ const deserializeAws_queryStackInstanceComprehensiveStatus = (output, context) =
|
|
|
8229
8229
|
DetailedStatus: undefined,
|
|
8230
8230
|
};
|
|
8231
8231
|
if (output["DetailedStatus"] !== undefined) {
|
|
8232
|
-
contents.DetailedStatus =
|
|
8232
|
+
contents.DetailedStatus = smithy_client_1.expectString(output["DetailedStatus"]);
|
|
8233
8233
|
}
|
|
8234
8234
|
return contents;
|
|
8235
8235
|
};
|
|
@@ -8238,7 +8238,7 @@ const deserializeAws_queryStackInstanceNotFoundException = (output, context) =>
|
|
|
8238
8238
|
Message: undefined,
|
|
8239
8239
|
};
|
|
8240
8240
|
if (output["Message"] !== undefined) {
|
|
8241
|
-
contents.Message =
|
|
8241
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
8242
8242
|
}
|
|
8243
8243
|
return contents;
|
|
8244
8244
|
};
|
|
@@ -8266,34 +8266,34 @@ const deserializeAws_queryStackInstanceSummary = (output, context) => {
|
|
|
8266
8266
|
LastDriftCheckTimestamp: undefined,
|
|
8267
8267
|
};
|
|
8268
8268
|
if (output["StackSetId"] !== undefined) {
|
|
8269
|
-
contents.StackSetId =
|
|
8269
|
+
contents.StackSetId = smithy_client_1.expectString(output["StackSetId"]);
|
|
8270
8270
|
}
|
|
8271
8271
|
if (output["Region"] !== undefined) {
|
|
8272
|
-
contents.Region =
|
|
8272
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
8273
8273
|
}
|
|
8274
8274
|
if (output["Account"] !== undefined) {
|
|
8275
|
-
contents.Account =
|
|
8275
|
+
contents.Account = smithy_client_1.expectString(output["Account"]);
|
|
8276
8276
|
}
|
|
8277
8277
|
if (output["StackId"] !== undefined) {
|
|
8278
|
-
contents.StackId =
|
|
8278
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8279
8279
|
}
|
|
8280
8280
|
if (output["Status"] !== undefined) {
|
|
8281
|
-
contents.Status =
|
|
8281
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8282
8282
|
}
|
|
8283
8283
|
if (output["StatusReason"] !== undefined) {
|
|
8284
|
-
contents.StatusReason =
|
|
8284
|
+
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
8285
8285
|
}
|
|
8286
8286
|
if (output["StackInstanceStatus"] !== undefined) {
|
|
8287
8287
|
contents.StackInstanceStatus = deserializeAws_queryStackInstanceComprehensiveStatus(output["StackInstanceStatus"], context);
|
|
8288
8288
|
}
|
|
8289
8289
|
if (output["OrganizationalUnitId"] !== undefined) {
|
|
8290
|
-
contents.OrganizationalUnitId =
|
|
8290
|
+
contents.OrganizationalUnitId = smithy_client_1.expectString(output["OrganizationalUnitId"]);
|
|
8291
8291
|
}
|
|
8292
8292
|
if (output["DriftStatus"] !== undefined) {
|
|
8293
|
-
contents.DriftStatus =
|
|
8293
|
+
contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
|
|
8294
8294
|
}
|
|
8295
8295
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
8296
|
-
contents.LastDriftCheckTimestamp =
|
|
8296
|
+
contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
8297
8297
|
}
|
|
8298
8298
|
return contents;
|
|
8299
8299
|
};
|
|
@@ -8302,7 +8302,7 @@ const deserializeAws_queryStackNotFoundException = (output, context) => {
|
|
|
8302
8302
|
Message: undefined,
|
|
8303
8303
|
};
|
|
8304
8304
|
if (output["Message"] !== undefined) {
|
|
8305
|
-
contents.Message =
|
|
8305
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
8306
8306
|
}
|
|
8307
8307
|
return contents;
|
|
8308
8308
|
};
|
|
@@ -8321,31 +8321,31 @@ const deserializeAws_queryStackResource = (output, context) => {
|
|
|
8321
8321
|
ModuleInfo: undefined,
|
|
8322
8322
|
};
|
|
8323
8323
|
if (output["StackName"] !== undefined) {
|
|
8324
|
-
contents.StackName =
|
|
8324
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
8325
8325
|
}
|
|
8326
8326
|
if (output["StackId"] !== undefined) {
|
|
8327
|
-
contents.StackId =
|
|
8327
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8328
8328
|
}
|
|
8329
8329
|
if (output["LogicalResourceId"] !== undefined) {
|
|
8330
|
-
contents.LogicalResourceId =
|
|
8330
|
+
contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
|
|
8331
8331
|
}
|
|
8332
8332
|
if (output["PhysicalResourceId"] !== undefined) {
|
|
8333
|
-
contents.PhysicalResourceId =
|
|
8333
|
+
contents.PhysicalResourceId = smithy_client_1.expectString(output["PhysicalResourceId"]);
|
|
8334
8334
|
}
|
|
8335
8335
|
if (output["ResourceType"] !== undefined) {
|
|
8336
|
-
contents.ResourceType =
|
|
8336
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
8337
8337
|
}
|
|
8338
8338
|
if (output["Timestamp"] !== undefined) {
|
|
8339
|
-
contents.Timestamp =
|
|
8339
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
8340
8340
|
}
|
|
8341
8341
|
if (output["ResourceStatus"] !== undefined) {
|
|
8342
|
-
contents.ResourceStatus =
|
|
8342
|
+
contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
|
|
8343
8343
|
}
|
|
8344
8344
|
if (output["ResourceStatusReason"] !== undefined) {
|
|
8345
|
-
contents.ResourceStatusReason =
|
|
8345
|
+
contents.ResourceStatusReason = smithy_client_1.expectString(output["ResourceStatusReason"]);
|
|
8346
8346
|
}
|
|
8347
8347
|
if (output["Description"] !== undefined) {
|
|
8348
|
-
contents.Description =
|
|
8348
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8349
8349
|
}
|
|
8350
8350
|
if (output["DriftInformation"] !== undefined) {
|
|
8351
8351
|
contents.DriftInformation = deserializeAws_queryStackResourceDriftInformation(output["DriftInformation"], context);
|
|
@@ -8371,34 +8371,34 @@ const deserializeAws_queryStackResourceDetail = (output, context) => {
|
|
|
8371
8371
|
ModuleInfo: undefined,
|
|
8372
8372
|
};
|
|
8373
8373
|
if (output["StackName"] !== undefined) {
|
|
8374
|
-
contents.StackName =
|
|
8374
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
8375
8375
|
}
|
|
8376
8376
|
if (output["StackId"] !== undefined) {
|
|
8377
|
-
contents.StackId =
|
|
8377
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8378
8378
|
}
|
|
8379
8379
|
if (output["LogicalResourceId"] !== undefined) {
|
|
8380
|
-
contents.LogicalResourceId =
|
|
8380
|
+
contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
|
|
8381
8381
|
}
|
|
8382
8382
|
if (output["PhysicalResourceId"] !== undefined) {
|
|
8383
|
-
contents.PhysicalResourceId =
|
|
8383
|
+
contents.PhysicalResourceId = smithy_client_1.expectString(output["PhysicalResourceId"]);
|
|
8384
8384
|
}
|
|
8385
8385
|
if (output["ResourceType"] !== undefined) {
|
|
8386
|
-
contents.ResourceType =
|
|
8386
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
8387
8387
|
}
|
|
8388
8388
|
if (output["LastUpdatedTimestamp"] !== undefined) {
|
|
8389
|
-
contents.LastUpdatedTimestamp =
|
|
8389
|
+
contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
|
|
8390
8390
|
}
|
|
8391
8391
|
if (output["ResourceStatus"] !== undefined) {
|
|
8392
|
-
contents.ResourceStatus =
|
|
8392
|
+
contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
|
|
8393
8393
|
}
|
|
8394
8394
|
if (output["ResourceStatusReason"] !== undefined) {
|
|
8395
|
-
contents.ResourceStatusReason =
|
|
8395
|
+
contents.ResourceStatusReason = smithy_client_1.expectString(output["ResourceStatusReason"]);
|
|
8396
8396
|
}
|
|
8397
8397
|
if (output["Description"] !== undefined) {
|
|
8398
|
-
contents.Description =
|
|
8398
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8399
8399
|
}
|
|
8400
8400
|
if (output["Metadata"] !== undefined) {
|
|
8401
|
-
contents.Metadata =
|
|
8401
|
+
contents.Metadata = smithy_client_1.expectString(output["Metadata"]);
|
|
8402
8402
|
}
|
|
8403
8403
|
if (output["DriftInformation"] !== undefined) {
|
|
8404
8404
|
contents.DriftInformation = deserializeAws_queryStackResourceDriftInformation(output["DriftInformation"], context);
|
|
@@ -8423,41 +8423,41 @@ const deserializeAws_queryStackResourceDrift = (output, context) => {
|
|
|
8423
8423
|
ModuleInfo: undefined,
|
|
8424
8424
|
};
|
|
8425
8425
|
if (output["StackId"] !== undefined) {
|
|
8426
|
-
contents.StackId =
|
|
8426
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8427
8427
|
}
|
|
8428
8428
|
if (output["LogicalResourceId"] !== undefined) {
|
|
8429
|
-
contents.LogicalResourceId =
|
|
8429
|
+
contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
|
|
8430
8430
|
}
|
|
8431
8431
|
if (output["PhysicalResourceId"] !== undefined) {
|
|
8432
|
-
contents.PhysicalResourceId =
|
|
8432
|
+
contents.PhysicalResourceId = smithy_client_1.expectString(output["PhysicalResourceId"]);
|
|
8433
8433
|
}
|
|
8434
8434
|
if (output.PhysicalResourceIdContext === "") {
|
|
8435
8435
|
contents.PhysicalResourceIdContext = [];
|
|
8436
8436
|
}
|
|
8437
8437
|
if (output["PhysicalResourceIdContext"] !== undefined &&
|
|
8438
8438
|
output["PhysicalResourceIdContext"]["member"] !== undefined) {
|
|
8439
|
-
contents.PhysicalResourceIdContext = deserializeAws_queryPhysicalResourceIdContext(
|
|
8439
|
+
contents.PhysicalResourceIdContext = deserializeAws_queryPhysicalResourceIdContext(smithy_client_1.getArrayIfSingleItem(output["PhysicalResourceIdContext"]["member"]), context);
|
|
8440
8440
|
}
|
|
8441
8441
|
if (output["ResourceType"] !== undefined) {
|
|
8442
|
-
contents.ResourceType =
|
|
8442
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
8443
8443
|
}
|
|
8444
8444
|
if (output["ExpectedProperties"] !== undefined) {
|
|
8445
|
-
contents.ExpectedProperties =
|
|
8445
|
+
contents.ExpectedProperties = smithy_client_1.expectString(output["ExpectedProperties"]);
|
|
8446
8446
|
}
|
|
8447
8447
|
if (output["ActualProperties"] !== undefined) {
|
|
8448
|
-
contents.ActualProperties =
|
|
8448
|
+
contents.ActualProperties = smithy_client_1.expectString(output["ActualProperties"]);
|
|
8449
8449
|
}
|
|
8450
8450
|
if (output.PropertyDifferences === "") {
|
|
8451
8451
|
contents.PropertyDifferences = [];
|
|
8452
8452
|
}
|
|
8453
8453
|
if (output["PropertyDifferences"] !== undefined && output["PropertyDifferences"]["member"] !== undefined) {
|
|
8454
|
-
contents.PropertyDifferences = deserializeAws_queryPropertyDifferences(
|
|
8454
|
+
contents.PropertyDifferences = deserializeAws_queryPropertyDifferences(smithy_client_1.getArrayIfSingleItem(output["PropertyDifferences"]["member"]), context);
|
|
8455
8455
|
}
|
|
8456
8456
|
if (output["StackResourceDriftStatus"] !== undefined) {
|
|
8457
|
-
contents.StackResourceDriftStatus =
|
|
8457
|
+
contents.StackResourceDriftStatus = smithy_client_1.expectString(output["StackResourceDriftStatus"]);
|
|
8458
8458
|
}
|
|
8459
8459
|
if (output["Timestamp"] !== undefined) {
|
|
8460
|
-
contents.Timestamp =
|
|
8460
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
8461
8461
|
}
|
|
8462
8462
|
if (output["ModuleInfo"] !== undefined) {
|
|
8463
8463
|
contents.ModuleInfo = deserializeAws_queryModuleInfo(output["ModuleInfo"], context);
|
|
@@ -8470,10 +8470,10 @@ const deserializeAws_queryStackResourceDriftInformation = (output, context) => {
|
|
|
8470
8470
|
LastCheckTimestamp: undefined,
|
|
8471
8471
|
};
|
|
8472
8472
|
if (output["StackResourceDriftStatus"] !== undefined) {
|
|
8473
|
-
contents.StackResourceDriftStatus =
|
|
8473
|
+
contents.StackResourceDriftStatus = smithy_client_1.expectString(output["StackResourceDriftStatus"]);
|
|
8474
8474
|
}
|
|
8475
8475
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8476
|
-
contents.LastCheckTimestamp =
|
|
8476
|
+
contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8477
8477
|
}
|
|
8478
8478
|
return contents;
|
|
8479
8479
|
};
|
|
@@ -8483,10 +8483,10 @@ const deserializeAws_queryStackResourceDriftInformationSummary = (output, contex
|
|
|
8483
8483
|
LastCheckTimestamp: undefined,
|
|
8484
8484
|
};
|
|
8485
8485
|
if (output["StackResourceDriftStatus"] !== undefined) {
|
|
8486
|
-
contents.StackResourceDriftStatus =
|
|
8486
|
+
contents.StackResourceDriftStatus = smithy_client_1.expectString(output["StackResourceDriftStatus"]);
|
|
8487
8487
|
}
|
|
8488
8488
|
if (output["LastCheckTimestamp"] !== undefined) {
|
|
8489
|
-
contents.LastCheckTimestamp =
|
|
8489
|
+
contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
|
|
8490
8490
|
}
|
|
8491
8491
|
return contents;
|
|
8492
8492
|
};
|
|
@@ -8532,22 +8532,22 @@ const deserializeAws_queryStackResourceSummary = (output, context) => {
|
|
|
8532
8532
|
ModuleInfo: undefined,
|
|
8533
8533
|
};
|
|
8534
8534
|
if (output["LogicalResourceId"] !== undefined) {
|
|
8535
|
-
contents.LogicalResourceId =
|
|
8535
|
+
contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
|
|
8536
8536
|
}
|
|
8537
8537
|
if (output["PhysicalResourceId"] !== undefined) {
|
|
8538
|
-
contents.PhysicalResourceId =
|
|
8538
|
+
contents.PhysicalResourceId = smithy_client_1.expectString(output["PhysicalResourceId"]);
|
|
8539
8539
|
}
|
|
8540
8540
|
if (output["ResourceType"] !== undefined) {
|
|
8541
|
-
contents.ResourceType =
|
|
8541
|
+
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
8542
8542
|
}
|
|
8543
8543
|
if (output["LastUpdatedTimestamp"] !== undefined) {
|
|
8544
|
-
contents.LastUpdatedTimestamp =
|
|
8544
|
+
contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
|
|
8545
8545
|
}
|
|
8546
8546
|
if (output["ResourceStatus"] !== undefined) {
|
|
8547
|
-
contents.ResourceStatus =
|
|
8547
|
+
contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
|
|
8548
8548
|
}
|
|
8549
8549
|
if (output["ResourceStatusReason"] !== undefined) {
|
|
8550
|
-
contents.ResourceStatusReason =
|
|
8550
|
+
contents.ResourceStatusReason = smithy_client_1.expectString(output["ResourceStatusReason"]);
|
|
8551
8551
|
}
|
|
8552
8552
|
if (output["DriftInformation"] !== undefined) {
|
|
8553
8553
|
contents.DriftInformation = deserializeAws_queryStackResourceDriftInformationSummary(output["DriftInformation"], context);
|
|
@@ -8586,46 +8586,46 @@ const deserializeAws_queryStackSet = (output, context) => {
|
|
|
8586
8586
|
OrganizationalUnitIds: undefined,
|
|
8587
8587
|
};
|
|
8588
8588
|
if (output["StackSetName"] !== undefined) {
|
|
8589
|
-
contents.StackSetName =
|
|
8589
|
+
contents.StackSetName = smithy_client_1.expectString(output["StackSetName"]);
|
|
8590
8590
|
}
|
|
8591
8591
|
if (output["StackSetId"] !== undefined) {
|
|
8592
|
-
contents.StackSetId =
|
|
8592
|
+
contents.StackSetId = smithy_client_1.expectString(output["StackSetId"]);
|
|
8593
8593
|
}
|
|
8594
8594
|
if (output["Description"] !== undefined) {
|
|
8595
|
-
contents.Description =
|
|
8595
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8596
8596
|
}
|
|
8597
8597
|
if (output["Status"] !== undefined) {
|
|
8598
|
-
contents.Status =
|
|
8598
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8599
8599
|
}
|
|
8600
8600
|
if (output["TemplateBody"] !== undefined) {
|
|
8601
|
-
contents.TemplateBody =
|
|
8601
|
+
contents.TemplateBody = smithy_client_1.expectString(output["TemplateBody"]);
|
|
8602
8602
|
}
|
|
8603
8603
|
if (output.Parameters === "") {
|
|
8604
8604
|
contents.Parameters = [];
|
|
8605
8605
|
}
|
|
8606
8606
|
if (output["Parameters"] !== undefined && output["Parameters"]["member"] !== undefined) {
|
|
8607
|
-
contents.Parameters = deserializeAws_queryParameters(
|
|
8607
|
+
contents.Parameters = deserializeAws_queryParameters(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
8608
8608
|
}
|
|
8609
8609
|
if (output.Capabilities === "") {
|
|
8610
8610
|
contents.Capabilities = [];
|
|
8611
8611
|
}
|
|
8612
8612
|
if (output["Capabilities"] !== undefined && output["Capabilities"]["member"] !== undefined) {
|
|
8613
|
-
contents.Capabilities = deserializeAws_queryCapabilities(
|
|
8613
|
+
contents.Capabilities = deserializeAws_queryCapabilities(smithy_client_1.getArrayIfSingleItem(output["Capabilities"]["member"]), context);
|
|
8614
8614
|
}
|
|
8615
8615
|
if (output.Tags === "") {
|
|
8616
8616
|
contents.Tags = [];
|
|
8617
8617
|
}
|
|
8618
8618
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
8619
|
-
contents.Tags = deserializeAws_queryTags(
|
|
8619
|
+
contents.Tags = deserializeAws_queryTags(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
8620
8620
|
}
|
|
8621
8621
|
if (output["StackSetARN"] !== undefined) {
|
|
8622
|
-
contents.StackSetARN =
|
|
8622
|
+
contents.StackSetARN = smithy_client_1.expectString(output["StackSetARN"]);
|
|
8623
8623
|
}
|
|
8624
8624
|
if (output["AdministrationRoleARN"] !== undefined) {
|
|
8625
|
-
contents.AdministrationRoleARN =
|
|
8625
|
+
contents.AdministrationRoleARN = smithy_client_1.expectString(output["AdministrationRoleARN"]);
|
|
8626
8626
|
}
|
|
8627
8627
|
if (output["ExecutionRoleName"] !== undefined) {
|
|
8628
|
-
contents.ExecutionRoleName =
|
|
8628
|
+
contents.ExecutionRoleName = smithy_client_1.expectString(output["ExecutionRoleName"]);
|
|
8629
8629
|
}
|
|
8630
8630
|
if (output["StackSetDriftDetectionDetails"] !== undefined) {
|
|
8631
8631
|
contents.StackSetDriftDetectionDetails = deserializeAws_queryStackSetDriftDetectionDetails(output["StackSetDriftDetectionDetails"], context);
|
|
@@ -8634,13 +8634,13 @@ const deserializeAws_queryStackSet = (output, context) => {
|
|
|
8634
8634
|
contents.AutoDeployment = deserializeAws_queryAutoDeployment(output["AutoDeployment"], context);
|
|
8635
8635
|
}
|
|
8636
8636
|
if (output["PermissionModel"] !== undefined) {
|
|
8637
|
-
contents.PermissionModel =
|
|
8637
|
+
contents.PermissionModel = smithy_client_1.expectString(output["PermissionModel"]);
|
|
8638
8638
|
}
|
|
8639
8639
|
if (output.OrganizationalUnitIds === "") {
|
|
8640
8640
|
contents.OrganizationalUnitIds = [];
|
|
8641
8641
|
}
|
|
8642
8642
|
if (output["OrganizationalUnitIds"] !== undefined && output["OrganizationalUnitIds"]["member"] !== undefined) {
|
|
8643
|
-
contents.OrganizationalUnitIds = deserializeAws_queryOrganizationalUnitIdList(
|
|
8643
|
+
contents.OrganizationalUnitIds = deserializeAws_queryOrganizationalUnitIdList(smithy_client_1.getArrayIfSingleItem(output["OrganizationalUnitIds"]["member"]), context);
|
|
8644
8644
|
}
|
|
8645
8645
|
return contents;
|
|
8646
8646
|
};
|
|
@@ -8656,28 +8656,28 @@ const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
|
|
|
8656
8656
|
FailedStackInstancesCount: undefined,
|
|
8657
8657
|
};
|
|
8658
8658
|
if (output["DriftStatus"] !== undefined) {
|
|
8659
|
-
contents.DriftStatus =
|
|
8659
|
+
contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
|
|
8660
8660
|
}
|
|
8661
8661
|
if (output["DriftDetectionStatus"] !== undefined) {
|
|
8662
|
-
contents.DriftDetectionStatus =
|
|
8662
|
+
contents.DriftDetectionStatus = smithy_client_1.expectString(output["DriftDetectionStatus"]);
|
|
8663
8663
|
}
|
|
8664
8664
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
8665
|
-
contents.LastDriftCheckTimestamp =
|
|
8665
|
+
contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
8666
8666
|
}
|
|
8667
8667
|
if (output["TotalStackInstancesCount"] !== undefined) {
|
|
8668
|
-
contents.TotalStackInstancesCount =
|
|
8668
|
+
contents.TotalStackInstancesCount = smithy_client_1.strictParseInt32(output["TotalStackInstancesCount"]);
|
|
8669
8669
|
}
|
|
8670
8670
|
if (output["DriftedStackInstancesCount"] !== undefined) {
|
|
8671
|
-
contents.DriftedStackInstancesCount =
|
|
8671
|
+
contents.DriftedStackInstancesCount = smithy_client_1.strictParseInt32(output["DriftedStackInstancesCount"]);
|
|
8672
8672
|
}
|
|
8673
8673
|
if (output["InSyncStackInstancesCount"] !== undefined) {
|
|
8674
|
-
contents.InSyncStackInstancesCount =
|
|
8674
|
+
contents.InSyncStackInstancesCount = smithy_client_1.strictParseInt32(output["InSyncStackInstancesCount"]);
|
|
8675
8675
|
}
|
|
8676
8676
|
if (output["InProgressStackInstancesCount"] !== undefined) {
|
|
8677
|
-
contents.InProgressStackInstancesCount =
|
|
8677
|
+
contents.InProgressStackInstancesCount = smithy_client_1.strictParseInt32(output["InProgressStackInstancesCount"]);
|
|
8678
8678
|
}
|
|
8679
8679
|
if (output["FailedStackInstancesCount"] !== undefined) {
|
|
8680
|
-
contents.FailedStackInstancesCount =
|
|
8680
|
+
contents.FailedStackInstancesCount = smithy_client_1.strictParseInt32(output["FailedStackInstancesCount"]);
|
|
8681
8681
|
}
|
|
8682
8682
|
return contents;
|
|
8683
8683
|
};
|
|
@@ -8686,7 +8686,7 @@ const deserializeAws_queryStackSetNotEmptyException = (output, context) => {
|
|
|
8686
8686
|
Message: undefined,
|
|
8687
8687
|
};
|
|
8688
8688
|
if (output["Message"] !== undefined) {
|
|
8689
|
-
contents.Message =
|
|
8689
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
8690
8690
|
}
|
|
8691
8691
|
return contents;
|
|
8692
8692
|
};
|
|
@@ -8695,7 +8695,7 @@ const deserializeAws_queryStackSetNotFoundException = (output, context) => {
|
|
|
8695
8695
|
Message: undefined,
|
|
8696
8696
|
};
|
|
8697
8697
|
if (output["Message"] !== undefined) {
|
|
8698
|
-
contents.Message =
|
|
8698
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
8699
8699
|
}
|
|
8700
8700
|
return contents;
|
|
8701
8701
|
};
|
|
@@ -8715,34 +8715,34 @@ const deserializeAws_queryStackSetOperation = (output, context) => {
|
|
|
8715
8715
|
StackSetDriftDetectionDetails: undefined,
|
|
8716
8716
|
};
|
|
8717
8717
|
if (output["OperationId"] !== undefined) {
|
|
8718
|
-
contents.OperationId =
|
|
8718
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
8719
8719
|
}
|
|
8720
8720
|
if (output["StackSetId"] !== undefined) {
|
|
8721
|
-
contents.StackSetId =
|
|
8721
|
+
contents.StackSetId = smithy_client_1.expectString(output["StackSetId"]);
|
|
8722
8722
|
}
|
|
8723
8723
|
if (output["Action"] !== undefined) {
|
|
8724
|
-
contents.Action =
|
|
8724
|
+
contents.Action = smithy_client_1.expectString(output["Action"]);
|
|
8725
8725
|
}
|
|
8726
8726
|
if (output["Status"] !== undefined) {
|
|
8727
|
-
contents.Status =
|
|
8727
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8728
8728
|
}
|
|
8729
8729
|
if (output["OperationPreferences"] !== undefined) {
|
|
8730
8730
|
contents.OperationPreferences = deserializeAws_queryStackSetOperationPreferences(output["OperationPreferences"], context);
|
|
8731
8731
|
}
|
|
8732
8732
|
if (output["RetainStacks"] !== undefined) {
|
|
8733
|
-
contents.RetainStacks =
|
|
8733
|
+
contents.RetainStacks = smithy_client_1.parseBoolean(output["RetainStacks"]);
|
|
8734
8734
|
}
|
|
8735
8735
|
if (output["AdministrationRoleARN"] !== undefined) {
|
|
8736
|
-
contents.AdministrationRoleARN =
|
|
8736
|
+
contents.AdministrationRoleARN = smithy_client_1.expectString(output["AdministrationRoleARN"]);
|
|
8737
8737
|
}
|
|
8738
8738
|
if (output["ExecutionRoleName"] !== undefined) {
|
|
8739
|
-
contents.ExecutionRoleName =
|
|
8739
|
+
contents.ExecutionRoleName = smithy_client_1.expectString(output["ExecutionRoleName"]);
|
|
8740
8740
|
}
|
|
8741
8741
|
if (output["CreationTimestamp"] !== undefined) {
|
|
8742
|
-
contents.CreationTimestamp =
|
|
8742
|
+
contents.CreationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTimestamp"]));
|
|
8743
8743
|
}
|
|
8744
8744
|
if (output["EndTimestamp"] !== undefined) {
|
|
8745
|
-
contents.EndTimestamp =
|
|
8745
|
+
contents.EndTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTimestamp"]));
|
|
8746
8746
|
}
|
|
8747
8747
|
if (output["DeploymentTargets"] !== undefined) {
|
|
8748
8748
|
contents.DeploymentTargets = deserializeAws_queryDeploymentTargets(output["DeploymentTargets"], context);
|
|
@@ -8762,25 +8762,25 @@ const deserializeAws_queryStackSetOperationPreferences = (output, context) => {
|
|
|
8762
8762
|
MaxConcurrentPercentage: undefined,
|
|
8763
8763
|
};
|
|
8764
8764
|
if (output["RegionConcurrencyType"] !== undefined) {
|
|
8765
|
-
contents.RegionConcurrencyType =
|
|
8765
|
+
contents.RegionConcurrencyType = smithy_client_1.expectString(output["RegionConcurrencyType"]);
|
|
8766
8766
|
}
|
|
8767
8767
|
if (output.RegionOrder === "") {
|
|
8768
8768
|
contents.RegionOrder = [];
|
|
8769
8769
|
}
|
|
8770
8770
|
if (output["RegionOrder"] !== undefined && output["RegionOrder"]["member"] !== undefined) {
|
|
8771
|
-
contents.RegionOrder = deserializeAws_queryRegionList(
|
|
8771
|
+
contents.RegionOrder = deserializeAws_queryRegionList(smithy_client_1.getArrayIfSingleItem(output["RegionOrder"]["member"]), context);
|
|
8772
8772
|
}
|
|
8773
8773
|
if (output["FailureToleranceCount"] !== undefined) {
|
|
8774
|
-
contents.FailureToleranceCount =
|
|
8774
|
+
contents.FailureToleranceCount = smithy_client_1.strictParseInt32(output["FailureToleranceCount"]);
|
|
8775
8775
|
}
|
|
8776
8776
|
if (output["FailureTolerancePercentage"] !== undefined) {
|
|
8777
|
-
contents.FailureTolerancePercentage =
|
|
8777
|
+
contents.FailureTolerancePercentage = smithy_client_1.strictParseInt32(output["FailureTolerancePercentage"]);
|
|
8778
8778
|
}
|
|
8779
8779
|
if (output["MaxConcurrentCount"] !== undefined) {
|
|
8780
|
-
contents.MaxConcurrentCount =
|
|
8780
|
+
contents.MaxConcurrentCount = smithy_client_1.strictParseInt32(output["MaxConcurrentCount"]);
|
|
8781
8781
|
}
|
|
8782
8782
|
if (output["MaxConcurrentPercentage"] !== undefined) {
|
|
8783
|
-
contents.MaxConcurrentPercentage =
|
|
8783
|
+
contents.MaxConcurrentPercentage = smithy_client_1.strictParseInt32(output["MaxConcurrentPercentage"]);
|
|
8784
8784
|
}
|
|
8785
8785
|
return contents;
|
|
8786
8786
|
};
|
|
@@ -8804,22 +8804,22 @@ const deserializeAws_queryStackSetOperationResultSummary = (output, context) =>
|
|
|
8804
8804
|
OrganizationalUnitId: undefined,
|
|
8805
8805
|
};
|
|
8806
8806
|
if (output["Account"] !== undefined) {
|
|
8807
|
-
contents.Account =
|
|
8807
|
+
contents.Account = smithy_client_1.expectString(output["Account"]);
|
|
8808
8808
|
}
|
|
8809
8809
|
if (output["Region"] !== undefined) {
|
|
8810
|
-
contents.Region =
|
|
8810
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
8811
8811
|
}
|
|
8812
8812
|
if (output["Status"] !== undefined) {
|
|
8813
|
-
contents.Status =
|
|
8813
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8814
8814
|
}
|
|
8815
8815
|
if (output["StatusReason"] !== undefined) {
|
|
8816
|
-
contents.StatusReason =
|
|
8816
|
+
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
8817
8817
|
}
|
|
8818
8818
|
if (output["AccountGateResult"] !== undefined) {
|
|
8819
8819
|
contents.AccountGateResult = deserializeAws_queryAccountGateResult(output["AccountGateResult"], context);
|
|
8820
8820
|
}
|
|
8821
8821
|
if (output["OrganizationalUnitId"] !== undefined) {
|
|
8822
|
-
contents.OrganizationalUnitId =
|
|
8822
|
+
contents.OrganizationalUnitId = smithy_client_1.expectString(output["OrganizationalUnitId"]);
|
|
8823
8823
|
}
|
|
8824
8824
|
return contents;
|
|
8825
8825
|
};
|
|
@@ -8842,19 +8842,19 @@ const deserializeAws_queryStackSetOperationSummary = (output, context) => {
|
|
|
8842
8842
|
EndTimestamp: undefined,
|
|
8843
8843
|
};
|
|
8844
8844
|
if (output["OperationId"] !== undefined) {
|
|
8845
|
-
contents.OperationId =
|
|
8845
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
8846
8846
|
}
|
|
8847
8847
|
if (output["Action"] !== undefined) {
|
|
8848
|
-
contents.Action =
|
|
8848
|
+
contents.Action = smithy_client_1.expectString(output["Action"]);
|
|
8849
8849
|
}
|
|
8850
8850
|
if (output["Status"] !== undefined) {
|
|
8851
|
-
contents.Status =
|
|
8851
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8852
8852
|
}
|
|
8853
8853
|
if (output["CreationTimestamp"] !== undefined) {
|
|
8854
|
-
contents.CreationTimestamp =
|
|
8854
|
+
contents.CreationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTimestamp"]));
|
|
8855
8855
|
}
|
|
8856
8856
|
if (output["EndTimestamp"] !== undefined) {
|
|
8857
|
-
contents.EndTimestamp =
|
|
8857
|
+
contents.EndTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTimestamp"]));
|
|
8858
8858
|
}
|
|
8859
8859
|
return contents;
|
|
8860
8860
|
};
|
|
@@ -8880,28 +8880,28 @@ const deserializeAws_queryStackSetSummary = (output, context) => {
|
|
|
8880
8880
|
LastDriftCheckTimestamp: undefined,
|
|
8881
8881
|
};
|
|
8882
8882
|
if (output["StackSetName"] !== undefined) {
|
|
8883
|
-
contents.StackSetName =
|
|
8883
|
+
contents.StackSetName = smithy_client_1.expectString(output["StackSetName"]);
|
|
8884
8884
|
}
|
|
8885
8885
|
if (output["StackSetId"] !== undefined) {
|
|
8886
|
-
contents.StackSetId =
|
|
8886
|
+
contents.StackSetId = smithy_client_1.expectString(output["StackSetId"]);
|
|
8887
8887
|
}
|
|
8888
8888
|
if (output["Description"] !== undefined) {
|
|
8889
|
-
contents.Description =
|
|
8889
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8890
8890
|
}
|
|
8891
8891
|
if (output["Status"] !== undefined) {
|
|
8892
|
-
contents.Status =
|
|
8892
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8893
8893
|
}
|
|
8894
8894
|
if (output["AutoDeployment"] !== undefined) {
|
|
8895
8895
|
contents.AutoDeployment = deserializeAws_queryAutoDeployment(output["AutoDeployment"], context);
|
|
8896
8896
|
}
|
|
8897
8897
|
if (output["PermissionModel"] !== undefined) {
|
|
8898
|
-
contents.PermissionModel =
|
|
8898
|
+
contents.PermissionModel = smithy_client_1.expectString(output["PermissionModel"]);
|
|
8899
8899
|
}
|
|
8900
8900
|
if (output["DriftStatus"] !== undefined) {
|
|
8901
|
-
contents.DriftStatus =
|
|
8901
|
+
contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
|
|
8902
8902
|
}
|
|
8903
8903
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
8904
|
-
contents.LastDriftCheckTimestamp =
|
|
8904
|
+
contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
8905
8905
|
}
|
|
8906
8906
|
return contents;
|
|
8907
8907
|
};
|
|
@@ -8930,34 +8930,34 @@ const deserializeAws_queryStackSummary = (output, context) => {
|
|
|
8930
8930
|
DriftInformation: undefined,
|
|
8931
8931
|
};
|
|
8932
8932
|
if (output["StackId"] !== undefined) {
|
|
8933
|
-
contents.StackId =
|
|
8933
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
8934
8934
|
}
|
|
8935
8935
|
if (output["StackName"] !== undefined) {
|
|
8936
|
-
contents.StackName =
|
|
8936
|
+
contents.StackName = smithy_client_1.expectString(output["StackName"]);
|
|
8937
8937
|
}
|
|
8938
8938
|
if (output["TemplateDescription"] !== undefined) {
|
|
8939
|
-
contents.TemplateDescription =
|
|
8939
|
+
contents.TemplateDescription = smithy_client_1.expectString(output["TemplateDescription"]);
|
|
8940
8940
|
}
|
|
8941
8941
|
if (output["CreationTime"] !== undefined) {
|
|
8942
|
-
contents.CreationTime =
|
|
8942
|
+
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
8943
8943
|
}
|
|
8944
8944
|
if (output["LastUpdatedTime"] !== undefined) {
|
|
8945
|
-
contents.LastUpdatedTime =
|
|
8945
|
+
contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTime"]));
|
|
8946
8946
|
}
|
|
8947
8947
|
if (output["DeletionTime"] !== undefined) {
|
|
8948
|
-
contents.DeletionTime =
|
|
8948
|
+
contents.DeletionTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["DeletionTime"]));
|
|
8949
8949
|
}
|
|
8950
8950
|
if (output["StackStatus"] !== undefined) {
|
|
8951
|
-
contents.StackStatus =
|
|
8951
|
+
contents.StackStatus = smithy_client_1.expectString(output["StackStatus"]);
|
|
8952
8952
|
}
|
|
8953
8953
|
if (output["StackStatusReason"] !== undefined) {
|
|
8954
|
-
contents.StackStatusReason =
|
|
8954
|
+
contents.StackStatusReason = smithy_client_1.expectString(output["StackStatusReason"]);
|
|
8955
8955
|
}
|
|
8956
8956
|
if (output["ParentId"] !== undefined) {
|
|
8957
|
-
contents.ParentId =
|
|
8957
|
+
contents.ParentId = smithy_client_1.expectString(output["ParentId"]);
|
|
8958
8958
|
}
|
|
8959
8959
|
if (output["RootId"] !== undefined) {
|
|
8960
|
-
contents.RootId =
|
|
8960
|
+
contents.RootId = smithy_client_1.expectString(output["RootId"]);
|
|
8961
8961
|
}
|
|
8962
8962
|
if (output["DriftInformation"] !== undefined) {
|
|
8963
8963
|
contents.DriftInformation = deserializeAws_queryStackDriftInformationSummary(output["DriftInformation"], context);
|
|
@@ -8971,7 +8971,7 @@ const deserializeAws_queryStageList = (output, context) => {
|
|
|
8971
8971
|
if (entry === null) {
|
|
8972
8972
|
return null;
|
|
8973
8973
|
}
|
|
8974
|
-
return
|
|
8974
|
+
return smithy_client_1.expectString(entry);
|
|
8975
8975
|
});
|
|
8976
8976
|
};
|
|
8977
8977
|
const deserializeAws_queryStaleRequestException = (output, context) => {
|
|
@@ -8979,7 +8979,7 @@ const deserializeAws_queryStaleRequestException = (output, context) => {
|
|
|
8979
8979
|
Message: undefined,
|
|
8980
8980
|
};
|
|
8981
8981
|
if (output["Message"] !== undefined) {
|
|
8982
|
-
contents.Message =
|
|
8982
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
8983
8983
|
}
|
|
8984
8984
|
return contents;
|
|
8985
8985
|
};
|
|
@@ -8994,7 +8994,7 @@ const deserializeAws_querySupportedMajorVersions = (output, context) => {
|
|
|
8994
8994
|
if (entry === null) {
|
|
8995
8995
|
return null;
|
|
8996
8996
|
}
|
|
8997
|
-
return
|
|
8997
|
+
return smithy_client_1.strictParseInt32(entry);
|
|
8998
8998
|
});
|
|
8999
8999
|
};
|
|
9000
9000
|
const deserializeAws_queryTag = (output, context) => {
|
|
@@ -9003,10 +9003,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
9003
9003
|
Value: undefined,
|
|
9004
9004
|
};
|
|
9005
9005
|
if (output["Key"] !== undefined) {
|
|
9006
|
-
contents.Key =
|
|
9006
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
9007
9007
|
}
|
|
9008
9008
|
if (output["Value"] !== undefined) {
|
|
9009
|
-
contents.Value =
|
|
9009
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
9010
9010
|
}
|
|
9011
9011
|
return contents;
|
|
9012
9012
|
};
|
|
@@ -9028,16 +9028,16 @@ const deserializeAws_queryTemplateParameter = (output, context) => {
|
|
|
9028
9028
|
Description: undefined,
|
|
9029
9029
|
};
|
|
9030
9030
|
if (output["ParameterKey"] !== undefined) {
|
|
9031
|
-
contents.ParameterKey =
|
|
9031
|
+
contents.ParameterKey = smithy_client_1.expectString(output["ParameterKey"]);
|
|
9032
9032
|
}
|
|
9033
9033
|
if (output["DefaultValue"] !== undefined) {
|
|
9034
|
-
contents.DefaultValue =
|
|
9034
|
+
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
9035
9035
|
}
|
|
9036
9036
|
if (output["NoEcho"] !== undefined) {
|
|
9037
|
-
contents.NoEcho =
|
|
9037
|
+
contents.NoEcho = smithy_client_1.parseBoolean(output["NoEcho"]);
|
|
9038
9038
|
}
|
|
9039
9039
|
if (output["Description"] !== undefined) {
|
|
9040
|
-
contents.Description =
|
|
9040
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
9041
9041
|
}
|
|
9042
9042
|
return contents;
|
|
9043
9043
|
};
|
|
@@ -9056,7 +9056,7 @@ const deserializeAws_queryTestTypeOutput = (output, context) => {
|
|
|
9056
9056
|
TypeVersionArn: undefined,
|
|
9057
9057
|
};
|
|
9058
9058
|
if (output["TypeVersionArn"] !== undefined) {
|
|
9059
|
-
contents.TypeVersionArn =
|
|
9059
|
+
contents.TypeVersionArn = smithy_client_1.expectString(output["TypeVersionArn"]);
|
|
9060
9060
|
}
|
|
9061
9061
|
return contents;
|
|
9062
9062
|
};
|
|
@@ -9065,7 +9065,7 @@ const deserializeAws_queryTokenAlreadyExistsException = (output, context) => {
|
|
|
9065
9065
|
Message: undefined,
|
|
9066
9066
|
};
|
|
9067
9067
|
if (output["Message"] !== undefined) {
|
|
9068
|
-
contents.Message =
|
|
9068
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
9069
9069
|
}
|
|
9070
9070
|
return contents;
|
|
9071
9071
|
};
|
|
@@ -9076,7 +9076,7 @@ const deserializeAws_queryTransformsList = (output, context) => {
|
|
|
9076
9076
|
if (entry === null) {
|
|
9077
9077
|
return null;
|
|
9078
9078
|
}
|
|
9079
|
-
return
|
|
9079
|
+
return smithy_client_1.expectString(entry);
|
|
9080
9080
|
});
|
|
9081
9081
|
};
|
|
9082
9082
|
const deserializeAws_queryTypeConfigurationDetails = (output, context) => {
|
|
@@ -9090,25 +9090,25 @@ const deserializeAws_queryTypeConfigurationDetails = (output, context) => {
|
|
|
9090
9090
|
IsDefaultConfiguration: undefined,
|
|
9091
9091
|
};
|
|
9092
9092
|
if (output["Arn"] !== undefined) {
|
|
9093
|
-
contents.Arn =
|
|
9093
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
9094
9094
|
}
|
|
9095
9095
|
if (output["Alias"] !== undefined) {
|
|
9096
|
-
contents.Alias =
|
|
9096
|
+
contents.Alias = smithy_client_1.expectString(output["Alias"]);
|
|
9097
9097
|
}
|
|
9098
9098
|
if (output["Configuration"] !== undefined) {
|
|
9099
|
-
contents.Configuration =
|
|
9099
|
+
contents.Configuration = smithy_client_1.expectString(output["Configuration"]);
|
|
9100
9100
|
}
|
|
9101
9101
|
if (output["LastUpdated"] !== undefined) {
|
|
9102
|
-
contents.LastUpdated =
|
|
9102
|
+
contents.LastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdated"]));
|
|
9103
9103
|
}
|
|
9104
9104
|
if (output["TypeArn"] !== undefined) {
|
|
9105
|
-
contents.TypeArn =
|
|
9105
|
+
contents.TypeArn = smithy_client_1.expectString(output["TypeArn"]);
|
|
9106
9106
|
}
|
|
9107
9107
|
if (output["TypeName"] !== undefined) {
|
|
9108
|
-
contents.TypeName =
|
|
9108
|
+
contents.TypeName = smithy_client_1.expectString(output["TypeName"]);
|
|
9109
9109
|
}
|
|
9110
9110
|
if (output["IsDefaultConfiguration"] !== undefined) {
|
|
9111
|
-
contents.IsDefaultConfiguration =
|
|
9111
|
+
contents.IsDefaultConfiguration = smithy_client_1.parseBoolean(output["IsDefaultConfiguration"]);
|
|
9112
9112
|
}
|
|
9113
9113
|
return contents;
|
|
9114
9114
|
};
|
|
@@ -9131,19 +9131,19 @@ const deserializeAws_queryTypeConfigurationIdentifier = (output, context) => {
|
|
|
9131
9131
|
TypeName: undefined,
|
|
9132
9132
|
};
|
|
9133
9133
|
if (output["TypeArn"] !== undefined) {
|
|
9134
|
-
contents.TypeArn =
|
|
9134
|
+
contents.TypeArn = smithy_client_1.expectString(output["TypeArn"]);
|
|
9135
9135
|
}
|
|
9136
9136
|
if (output["TypeConfigurationAlias"] !== undefined) {
|
|
9137
|
-
contents.TypeConfigurationAlias =
|
|
9137
|
+
contents.TypeConfigurationAlias = smithy_client_1.expectString(output["TypeConfigurationAlias"]);
|
|
9138
9138
|
}
|
|
9139
9139
|
if (output["TypeConfigurationArn"] !== undefined) {
|
|
9140
|
-
contents.TypeConfigurationArn =
|
|
9140
|
+
contents.TypeConfigurationArn = smithy_client_1.expectString(output["TypeConfigurationArn"]);
|
|
9141
9141
|
}
|
|
9142
9142
|
if (output["Type"] !== undefined) {
|
|
9143
|
-
contents.Type =
|
|
9143
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
9144
9144
|
}
|
|
9145
9145
|
if (output["TypeName"] !== undefined) {
|
|
9146
|
-
contents.TypeName =
|
|
9146
|
+
contents.TypeName = smithy_client_1.expectString(output["TypeName"]);
|
|
9147
9147
|
}
|
|
9148
9148
|
return contents;
|
|
9149
9149
|
};
|
|
@@ -9152,7 +9152,7 @@ const deserializeAws_queryTypeConfigurationNotFoundException = (output, context)
|
|
|
9152
9152
|
Message: undefined,
|
|
9153
9153
|
};
|
|
9154
9154
|
if (output["Message"] !== undefined) {
|
|
9155
|
-
contents.Message =
|
|
9155
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
9156
9156
|
}
|
|
9157
9157
|
return contents;
|
|
9158
9158
|
};
|
|
@@ -9161,7 +9161,7 @@ const deserializeAws_queryTypeNotFoundException = (output, context) => {
|
|
|
9161
9161
|
Message: undefined,
|
|
9162
9162
|
};
|
|
9163
9163
|
if (output["Message"] !== undefined) {
|
|
9164
|
-
contents.Message =
|
|
9164
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
9165
9165
|
}
|
|
9166
9166
|
return contents;
|
|
9167
9167
|
};
|
|
@@ -9192,43 +9192,43 @@ const deserializeAws_queryTypeSummary = (output, context) => {
|
|
|
9192
9192
|
IsActivated: undefined,
|
|
9193
9193
|
};
|
|
9194
9194
|
if (output["Type"] !== undefined) {
|
|
9195
|
-
contents.Type =
|
|
9195
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
9196
9196
|
}
|
|
9197
9197
|
if (output["TypeName"] !== undefined) {
|
|
9198
|
-
contents.TypeName =
|
|
9198
|
+
contents.TypeName = smithy_client_1.expectString(output["TypeName"]);
|
|
9199
9199
|
}
|
|
9200
9200
|
if (output["DefaultVersionId"] !== undefined) {
|
|
9201
|
-
contents.DefaultVersionId =
|
|
9201
|
+
contents.DefaultVersionId = smithy_client_1.expectString(output["DefaultVersionId"]);
|
|
9202
9202
|
}
|
|
9203
9203
|
if (output["TypeArn"] !== undefined) {
|
|
9204
|
-
contents.TypeArn =
|
|
9204
|
+
contents.TypeArn = smithy_client_1.expectString(output["TypeArn"]);
|
|
9205
9205
|
}
|
|
9206
9206
|
if (output["LastUpdated"] !== undefined) {
|
|
9207
|
-
contents.LastUpdated =
|
|
9207
|
+
contents.LastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdated"]));
|
|
9208
9208
|
}
|
|
9209
9209
|
if (output["Description"] !== undefined) {
|
|
9210
|
-
contents.Description =
|
|
9210
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
9211
9211
|
}
|
|
9212
9212
|
if (output["PublisherId"] !== undefined) {
|
|
9213
|
-
contents.PublisherId =
|
|
9213
|
+
contents.PublisherId = smithy_client_1.expectString(output["PublisherId"]);
|
|
9214
9214
|
}
|
|
9215
9215
|
if (output["OriginalTypeName"] !== undefined) {
|
|
9216
|
-
contents.OriginalTypeName =
|
|
9216
|
+
contents.OriginalTypeName = smithy_client_1.expectString(output["OriginalTypeName"]);
|
|
9217
9217
|
}
|
|
9218
9218
|
if (output["PublicVersionNumber"] !== undefined) {
|
|
9219
|
-
contents.PublicVersionNumber =
|
|
9219
|
+
contents.PublicVersionNumber = smithy_client_1.expectString(output["PublicVersionNumber"]);
|
|
9220
9220
|
}
|
|
9221
9221
|
if (output["LatestPublicVersion"] !== undefined) {
|
|
9222
|
-
contents.LatestPublicVersion =
|
|
9222
|
+
contents.LatestPublicVersion = smithy_client_1.expectString(output["LatestPublicVersion"]);
|
|
9223
9223
|
}
|
|
9224
9224
|
if (output["PublisherIdentity"] !== undefined) {
|
|
9225
|
-
contents.PublisherIdentity =
|
|
9225
|
+
contents.PublisherIdentity = smithy_client_1.expectString(output["PublisherIdentity"]);
|
|
9226
9226
|
}
|
|
9227
9227
|
if (output["PublisherName"] !== undefined) {
|
|
9228
|
-
contents.PublisherName =
|
|
9228
|
+
contents.PublisherName = smithy_client_1.expectString(output["PublisherName"]);
|
|
9229
9229
|
}
|
|
9230
9230
|
if (output["IsActivated"] !== undefined) {
|
|
9231
|
-
contents.IsActivated =
|
|
9231
|
+
contents.IsActivated = smithy_client_1.parseBoolean(output["IsActivated"]);
|
|
9232
9232
|
}
|
|
9233
9233
|
return contents;
|
|
9234
9234
|
};
|
|
@@ -9254,28 +9254,28 @@ const deserializeAws_queryTypeVersionSummary = (output, context) => {
|
|
|
9254
9254
|
PublicVersionNumber: undefined,
|
|
9255
9255
|
};
|
|
9256
9256
|
if (output["Type"] !== undefined) {
|
|
9257
|
-
contents.Type =
|
|
9257
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
9258
9258
|
}
|
|
9259
9259
|
if (output["TypeName"] !== undefined) {
|
|
9260
|
-
contents.TypeName =
|
|
9260
|
+
contents.TypeName = smithy_client_1.expectString(output["TypeName"]);
|
|
9261
9261
|
}
|
|
9262
9262
|
if (output["VersionId"] !== undefined) {
|
|
9263
|
-
contents.VersionId =
|
|
9263
|
+
contents.VersionId = smithy_client_1.expectString(output["VersionId"]);
|
|
9264
9264
|
}
|
|
9265
9265
|
if (output["IsDefaultVersion"] !== undefined) {
|
|
9266
|
-
contents.IsDefaultVersion =
|
|
9266
|
+
contents.IsDefaultVersion = smithy_client_1.parseBoolean(output["IsDefaultVersion"]);
|
|
9267
9267
|
}
|
|
9268
9268
|
if (output["Arn"] !== undefined) {
|
|
9269
|
-
contents.Arn =
|
|
9269
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
9270
9270
|
}
|
|
9271
9271
|
if (output["TimeCreated"] !== undefined) {
|
|
9272
|
-
contents.TimeCreated =
|
|
9272
|
+
contents.TimeCreated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TimeCreated"]));
|
|
9273
9273
|
}
|
|
9274
9274
|
if (output["Description"] !== undefined) {
|
|
9275
|
-
contents.Description =
|
|
9275
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
9276
9276
|
}
|
|
9277
9277
|
if (output["PublicVersionNumber"] !== undefined) {
|
|
9278
|
-
contents.PublicVersionNumber =
|
|
9278
|
+
contents.PublicVersionNumber = smithy_client_1.expectString(output["PublicVersionNumber"]);
|
|
9279
9279
|
}
|
|
9280
9280
|
return contents;
|
|
9281
9281
|
};
|
|
@@ -9294,7 +9294,7 @@ const deserializeAws_queryUpdateStackInstancesOutput = (output, context) => {
|
|
|
9294
9294
|
OperationId: undefined,
|
|
9295
9295
|
};
|
|
9296
9296
|
if (output["OperationId"] !== undefined) {
|
|
9297
|
-
contents.OperationId =
|
|
9297
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
9298
9298
|
}
|
|
9299
9299
|
return contents;
|
|
9300
9300
|
};
|
|
@@ -9303,7 +9303,7 @@ const deserializeAws_queryUpdateStackOutput = (output, context) => {
|
|
|
9303
9303
|
StackId: undefined,
|
|
9304
9304
|
};
|
|
9305
9305
|
if (output["StackId"] !== undefined) {
|
|
9306
|
-
contents.StackId =
|
|
9306
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
9307
9307
|
}
|
|
9308
9308
|
return contents;
|
|
9309
9309
|
};
|
|
@@ -9312,7 +9312,7 @@ const deserializeAws_queryUpdateStackSetOutput = (output, context) => {
|
|
|
9312
9312
|
OperationId: undefined,
|
|
9313
9313
|
};
|
|
9314
9314
|
if (output["OperationId"] !== undefined) {
|
|
9315
|
-
contents.OperationId =
|
|
9315
|
+
contents.OperationId = smithy_client_1.expectString(output["OperationId"]);
|
|
9316
9316
|
}
|
|
9317
9317
|
return contents;
|
|
9318
9318
|
};
|
|
@@ -9321,7 +9321,7 @@ const deserializeAws_queryUpdateTerminationProtectionOutput = (output, context)
|
|
|
9321
9321
|
StackId: undefined,
|
|
9322
9322
|
};
|
|
9323
9323
|
if (output["StackId"] !== undefined) {
|
|
9324
|
-
contents.StackId =
|
|
9324
|
+
contents.StackId = smithy_client_1.expectString(output["StackId"]);
|
|
9325
9325
|
}
|
|
9326
9326
|
return contents;
|
|
9327
9327
|
};
|
|
@@ -9337,25 +9337,25 @@ const deserializeAws_queryValidateTemplateOutput = (output, context) => {
|
|
|
9337
9337
|
contents.Parameters = [];
|
|
9338
9338
|
}
|
|
9339
9339
|
if (output["Parameters"] !== undefined && output["Parameters"]["member"] !== undefined) {
|
|
9340
|
-
contents.Parameters = deserializeAws_queryTemplateParameters(
|
|
9340
|
+
contents.Parameters = deserializeAws_queryTemplateParameters(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
|
|
9341
9341
|
}
|
|
9342
9342
|
if (output["Description"] !== undefined) {
|
|
9343
|
-
contents.Description =
|
|
9343
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
9344
9344
|
}
|
|
9345
9345
|
if (output.Capabilities === "") {
|
|
9346
9346
|
contents.Capabilities = [];
|
|
9347
9347
|
}
|
|
9348
9348
|
if (output["Capabilities"] !== undefined && output["Capabilities"]["member"] !== undefined) {
|
|
9349
|
-
contents.Capabilities = deserializeAws_queryCapabilities(
|
|
9349
|
+
contents.Capabilities = deserializeAws_queryCapabilities(smithy_client_1.getArrayIfSingleItem(output["Capabilities"]["member"]), context);
|
|
9350
9350
|
}
|
|
9351
9351
|
if (output["CapabilitiesReason"] !== undefined) {
|
|
9352
|
-
contents.CapabilitiesReason =
|
|
9352
|
+
contents.CapabilitiesReason = smithy_client_1.expectString(output["CapabilitiesReason"]);
|
|
9353
9353
|
}
|
|
9354
9354
|
if (output.DeclaredTransforms === "") {
|
|
9355
9355
|
contents.DeclaredTransforms = [];
|
|
9356
9356
|
}
|
|
9357
9357
|
if (output["DeclaredTransforms"] !== undefined && output["DeclaredTransforms"]["member"] !== undefined) {
|
|
9358
|
-
contents.DeclaredTransforms = deserializeAws_queryTransformsList(
|
|
9358
|
+
contents.DeclaredTransforms = deserializeAws_queryTransformsList(smithy_client_1.getArrayIfSingleItem(output["DeclaredTransforms"]["member"]), context);
|
|
9359
9359
|
}
|
|
9360
9360
|
return contents;
|
|
9361
9361
|
};
|
|
@@ -9397,12 +9397,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
9397
9397
|
};
|
|
9398
9398
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
9399
9399
|
if (encoded.length) {
|
|
9400
|
-
const parsedObj =
|
|
9400
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
9401
9401
|
attributeNamePrefix: "",
|
|
9402
9402
|
ignoreAttributes: false,
|
|
9403
9403
|
parseNodeValue: false,
|
|
9404
9404
|
trimValues: false,
|
|
9405
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
9405
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
9406
9406
|
});
|
|
9407
9407
|
const textNodeName = "#text";
|
|
9408
9408
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -9411,12 +9411,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
9411
9411
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
9412
9412
|
delete parsedObjToReturn[textNodeName];
|
|
9413
9413
|
}
|
|
9414
|
-
return
|
|
9414
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
9415
9415
|
}
|
|
9416
9416
|
return {};
|
|
9417
9417
|
});
|
|
9418
9418
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
9419
|
-
.map(([key, value]) =>
|
|
9419
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
9420
9420
|
.join("&");
|
|
9421
9421
|
const loadQueryErrorCode = (output, data) => {
|
|
9422
9422
|
if (data.Error.Code !== undefined) {
|