@aws-sdk/client-cloudformation 3.295.0 → 3.297.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.
Files changed (90) hide show
  1. package/dist-cjs/protocols/Aws_query.js +130 -755
  2. package/dist-es/protocols/Aws_query.js +130 -755
  3. package/dist-types/CloudFormation.d.ts +67 -0
  4. package/dist-types/CloudFormationClient.d.ts +24 -4
  5. package/dist-types/commands/ActivateTypeCommand.d.ts +16 -0
  6. package/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +16 -0
  7. package/dist-types/commands/CancelUpdateStackCommand.d.ts +16 -0
  8. package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +16 -0
  9. package/dist-types/commands/CreateChangeSetCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateStackCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateStackInstancesCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateStackSetCommand.d.ts +16 -0
  13. package/dist-types/commands/DeactivateTypeCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteChangeSetCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteStackCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteStackInstancesCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteStackSetCommand.d.ts +16 -0
  18. package/dist-types/commands/DeregisterTypeCommand.d.ts +16 -0
  19. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +16 -0
  20. package/dist-types/commands/DescribeChangeSetCommand.d.ts +16 -0
  21. package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +16 -0
  22. package/dist-types/commands/DescribePublisherCommand.d.ts +16 -0
  23. package/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeStackEventsCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeStackInstanceCommand.d.ts +16 -0
  26. package/dist-types/commands/DescribeStackResourceCommand.d.ts +16 -0
  27. package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +16 -0
  28. package/dist-types/commands/DescribeStackResourcesCommand.d.ts +16 -0
  29. package/dist-types/commands/DescribeStackSetCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeStackSetOperationCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeStacksCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeTypeCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +16 -0
  34. package/dist-types/commands/DetectStackDriftCommand.d.ts +16 -0
  35. package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +16 -0
  36. package/dist-types/commands/DetectStackSetDriftCommand.d.ts +16 -0
  37. package/dist-types/commands/EstimateTemplateCostCommand.d.ts +16 -0
  38. package/dist-types/commands/ExecuteChangeSetCommand.d.ts +16 -0
  39. package/dist-types/commands/GetStackPolicyCommand.d.ts +16 -0
  40. package/dist-types/commands/GetTemplateCommand.d.ts +16 -0
  41. package/dist-types/commands/GetTemplateSummaryCommand.d.ts +16 -0
  42. package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +16 -0
  43. package/dist-types/commands/ListChangeSetsCommand.d.ts +16 -0
  44. package/dist-types/commands/ListExportsCommand.d.ts +16 -0
  45. package/dist-types/commands/ListImportsCommand.d.ts +16 -0
  46. package/dist-types/commands/ListStackInstancesCommand.d.ts +16 -0
  47. package/dist-types/commands/ListStackResourcesCommand.d.ts +16 -0
  48. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +16 -0
  49. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +16 -0
  50. package/dist-types/commands/ListStackSetsCommand.d.ts +16 -0
  51. package/dist-types/commands/ListStacksCommand.d.ts +16 -0
  52. package/dist-types/commands/ListTypeRegistrationsCommand.d.ts +16 -0
  53. package/dist-types/commands/ListTypeVersionsCommand.d.ts +16 -0
  54. package/dist-types/commands/ListTypesCommand.d.ts +16 -0
  55. package/dist-types/commands/PublishTypeCommand.d.ts +16 -0
  56. package/dist-types/commands/RecordHandlerProgressCommand.d.ts +16 -0
  57. package/dist-types/commands/RegisterPublisherCommand.d.ts +16 -0
  58. package/dist-types/commands/RegisterTypeCommand.d.ts +16 -0
  59. package/dist-types/commands/RollbackStackCommand.d.ts +16 -0
  60. package/dist-types/commands/SetStackPolicyCommand.d.ts +16 -0
  61. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +16 -0
  62. package/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +16 -0
  63. package/dist-types/commands/SignalResourceCommand.d.ts +16 -0
  64. package/dist-types/commands/StopStackSetOperationCommand.d.ts +16 -0
  65. package/dist-types/commands/TestTypeCommand.d.ts +16 -0
  66. package/dist-types/commands/UpdateStackCommand.d.ts +16 -0
  67. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateStackSetCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +16 -0
  70. package/dist-types/commands/ValidateTemplateCommand.d.ts +16 -0
  71. package/dist-types/models/CloudFormationServiceException.d.ts +2 -0
  72. package/dist-types/models/models_0.d.ts +543 -7
  73. package/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +3 -0
  74. package/dist-types/pagination/DescribeStackEventsPaginator.d.ts +3 -0
  75. package/dist-types/pagination/DescribeStackResourceDriftsPaginator.d.ts +3 -0
  76. package/dist-types/pagination/DescribeStacksPaginator.d.ts +3 -0
  77. package/dist-types/pagination/Interfaces.d.ts +3 -0
  78. package/dist-types/pagination/ListChangeSetsPaginator.d.ts +3 -0
  79. package/dist-types/pagination/ListExportsPaginator.d.ts +3 -0
  80. package/dist-types/pagination/ListImportsPaginator.d.ts +3 -0
  81. package/dist-types/pagination/ListStackInstancesPaginator.d.ts +3 -0
  82. package/dist-types/pagination/ListStackResourcesPaginator.d.ts +3 -0
  83. package/dist-types/pagination/ListStackSetOperationResultsPaginator.d.ts +3 -0
  84. package/dist-types/pagination/ListStackSetOperationsPaginator.d.ts +3 -0
  85. package/dist-types/pagination/ListStackSetsPaginator.d.ts +3 -0
  86. package/dist-types/pagination/ListStacksPaginator.d.ts +3 -0
  87. package/dist-types/pagination/ListTypeRegistrationsPaginator.d.ts +3 -0
  88. package/dist-types/pagination/ListTypeVersionsPaginator.d.ts +3 -0
  89. package/dist-types/pagination/ListTypesPaginator.d.ts +3 -0
  90. package/package.json +30 -30
@@ -5265,10 +5265,7 @@ const serializeAws_queryValidateTemplateInput = (input, context) => {
5265
5265
  return entries;
5266
5266
  };
5267
5267
  const deserializeAws_queryAccountGateResult = (output, context) => {
5268
- const contents = {
5269
- Status: undefined,
5270
- StatusReason: undefined,
5271
- };
5268
+ const contents = {};
5272
5269
  if (output["Status"] !== undefined) {
5273
5270
  contents.Status = __expectString(output["Status"]);
5274
5271
  }
@@ -5278,10 +5275,7 @@ const deserializeAws_queryAccountGateResult = (output, context) => {
5278
5275
  return contents;
5279
5276
  };
5280
5277
  const deserializeAws_queryAccountLimit = (output, context) => {
5281
- const contents = {
5282
- Name: undefined,
5283
- Value: undefined,
5284
- };
5278
+ const contents = {};
5285
5279
  if (output["Name"] !== undefined) {
5286
5280
  contents.Name = __expectString(output["Name"]);
5287
5281
  }
@@ -5305,9 +5299,7 @@ const deserializeAws_queryAccountList = (output, context) => {
5305
5299
  });
5306
5300
  };
5307
5301
  const deserializeAws_queryActivateTypeOutput = (output, context) => {
5308
- const contents = {
5309
- Arn: undefined,
5310
- };
5302
+ const contents = {};
5311
5303
  if (output["Arn"] !== undefined) {
5312
5304
  contents.Arn = __expectString(output["Arn"]);
5313
5305
  }
@@ -5321,19 +5313,14 @@ const deserializeAws_queryAllowedValues = (output, context) => {
5321
5313
  });
5322
5314
  };
5323
5315
  const deserializeAws_queryAlreadyExistsException = (output, context) => {
5324
- const contents = {
5325
- Message: undefined,
5326
- };
5316
+ const contents = {};
5327
5317
  if (output["Message"] !== undefined) {
5328
5318
  contents.Message = __expectString(output["Message"]);
5329
5319
  }
5330
5320
  return contents;
5331
5321
  };
5332
5322
  const deserializeAws_queryAutoDeployment = (output, context) => {
5333
- const contents = {
5334
- Enabled: undefined,
5335
- RetainStacksOnAccountRemoval: undefined,
5336
- };
5323
+ const contents = {};
5337
5324
  if (output["Enabled"] !== undefined) {
5338
5325
  contents.Enabled = __parseBoolean(output["Enabled"]);
5339
5326
  }
@@ -5343,11 +5330,7 @@ const deserializeAws_queryAutoDeployment = (output, context) => {
5343
5330
  return contents;
5344
5331
  };
5345
5332
  const deserializeAws_queryBatchDescribeTypeConfigurationsError = (output, context) => {
5346
- const contents = {
5347
- ErrorCode: undefined,
5348
- ErrorMessage: undefined,
5349
- TypeConfigurationIdentifier: undefined,
5350
- };
5333
+ const contents = {};
5351
5334
  if (output["ErrorCode"] !== undefined) {
5352
5335
  contents.ErrorCode = __expectString(output["ErrorCode"]);
5353
5336
  }
@@ -5367,11 +5350,7 @@ const deserializeAws_queryBatchDescribeTypeConfigurationsErrors = (output, conte
5367
5350
  });
5368
5351
  };
5369
5352
  const deserializeAws_queryBatchDescribeTypeConfigurationsOutput = (output, context) => {
5370
- const contents = {
5371
- Errors: undefined,
5372
- UnprocessedTypeConfigurations: undefined,
5373
- TypeConfigurations: undefined,
5374
- };
5353
+ const contents = {};
5375
5354
  if (output.Errors === "") {
5376
5355
  contents.Errors = [];
5377
5356
  }
@@ -5401,20 +5380,14 @@ const deserializeAws_queryCapabilities = (output, context) => {
5401
5380
  });
5402
5381
  };
5403
5382
  const deserializeAws_queryCFNRegistryException = (output, context) => {
5404
- const contents = {
5405
- Message: undefined,
5406
- };
5383
+ const contents = {};
5407
5384
  if (output["Message"] !== undefined) {
5408
5385
  contents.Message = __expectString(output["Message"]);
5409
5386
  }
5410
5387
  return contents;
5411
5388
  };
5412
5389
  const deserializeAws_queryChange = (output, context) => {
5413
- const contents = {
5414
- Type: undefined,
5415
- HookInvocationCount: undefined,
5416
- ResourceChange: undefined,
5417
- };
5390
+ const contents = {};
5418
5391
  if (output["Type"] !== undefined) {
5419
5392
  contents.Type = __expectString(output["Type"]);
5420
5393
  }
@@ -5434,14 +5407,7 @@ const deserializeAws_queryChanges = (output, context) => {
5434
5407
  });
5435
5408
  };
5436
5409
  const deserializeAws_queryChangeSetHook = (output, context) => {
5437
- const contents = {
5438
- InvocationPoint: undefined,
5439
- FailureMode: undefined,
5440
- TypeName: undefined,
5441
- TypeVersionId: undefined,
5442
- TypeConfigurationVersionId: undefined,
5443
- TargetDetails: undefined,
5444
- };
5410
+ const contents = {};
5445
5411
  if (output["InvocationPoint"] !== undefined) {
5446
5412
  contents.InvocationPoint = __expectString(output["InvocationPoint"]);
5447
5413
  }
@@ -5463,11 +5429,7 @@ const deserializeAws_queryChangeSetHook = (output, context) => {
5463
5429
  return contents;
5464
5430
  };
5465
5431
  const deserializeAws_queryChangeSetHookResourceTargetDetails = (output, context) => {
5466
- const contents = {
5467
- LogicalResourceId: undefined,
5468
- ResourceType: undefined,
5469
- ResourceAction: undefined,
5470
- };
5432
+ const contents = {};
5471
5433
  if (output["LogicalResourceId"] !== undefined) {
5472
5434
  contents.LogicalResourceId = __expectString(output["LogicalResourceId"]);
5473
5435
  }
@@ -5487,10 +5449,7 @@ const deserializeAws_queryChangeSetHooks = (output, context) => {
5487
5449
  });
5488
5450
  };
5489
5451
  const deserializeAws_queryChangeSetHookTargetDetails = (output, context) => {
5490
- const contents = {
5491
- TargetType: undefined,
5492
- ResourceTargetDetails: undefined,
5493
- };
5452
+ const contents = {};
5494
5453
  if (output["TargetType"] !== undefined) {
5495
5454
  contents.TargetType = __expectString(output["TargetType"]);
5496
5455
  }
@@ -5500,9 +5459,7 @@ const deserializeAws_queryChangeSetHookTargetDetails = (output, context) => {
5500
5459
  return contents;
5501
5460
  };
5502
5461
  const deserializeAws_queryChangeSetNotFoundException = (output, context) => {
5503
- const contents = {
5504
- Message: undefined,
5505
- };
5462
+ const contents = {};
5506
5463
  if (output["Message"] !== undefined) {
5507
5464
  contents.Message = __expectString(output["Message"]);
5508
5465
  }
@@ -5516,20 +5473,7 @@ const deserializeAws_queryChangeSetSummaries = (output, context) => {
5516
5473
  });
5517
5474
  };
5518
5475
  const deserializeAws_queryChangeSetSummary = (output, context) => {
5519
- const contents = {
5520
- StackId: undefined,
5521
- StackName: undefined,
5522
- ChangeSetId: undefined,
5523
- ChangeSetName: undefined,
5524
- ExecutionStatus: undefined,
5525
- Status: undefined,
5526
- StatusReason: undefined,
5527
- CreationTime: undefined,
5528
- Description: undefined,
5529
- IncludeNestedStacks: undefined,
5530
- ParentChangeSetId: undefined,
5531
- RootChangeSetId: undefined,
5532
- };
5476
+ const contents = {};
5533
5477
  if (output["StackId"] !== undefined) {
5534
5478
  contents.StackId = __expectString(output["StackId"]);
5535
5479
  }
@@ -5573,10 +5517,7 @@ const deserializeAws_queryContinueUpdateRollbackOutput = (output, context) => {
5573
5517
  return contents;
5574
5518
  };
5575
5519
  const deserializeAws_queryCreateChangeSetOutput = (output, context) => {
5576
- const contents = {
5577
- Id: undefined,
5578
- StackId: undefined,
5579
- };
5520
+ const contents = {};
5580
5521
  if (output["Id"] !== undefined) {
5581
5522
  contents.Id = __expectString(output["Id"]);
5582
5523
  }
@@ -5586,36 +5527,28 @@ const deserializeAws_queryCreateChangeSetOutput = (output, context) => {
5586
5527
  return contents;
5587
5528
  };
5588
5529
  const deserializeAws_queryCreatedButModifiedException = (output, context) => {
5589
- const contents = {
5590
- Message: undefined,
5591
- };
5530
+ const contents = {};
5592
5531
  if (output["Message"] !== undefined) {
5593
5532
  contents.Message = __expectString(output["Message"]);
5594
5533
  }
5595
5534
  return contents;
5596
5535
  };
5597
5536
  const deserializeAws_queryCreateStackInstancesOutput = (output, context) => {
5598
- const contents = {
5599
- OperationId: undefined,
5600
- };
5537
+ const contents = {};
5601
5538
  if (output["OperationId"] !== undefined) {
5602
5539
  contents.OperationId = __expectString(output["OperationId"]);
5603
5540
  }
5604
5541
  return contents;
5605
5542
  };
5606
5543
  const deserializeAws_queryCreateStackOutput = (output, context) => {
5607
- const contents = {
5608
- StackId: undefined,
5609
- };
5544
+ const contents = {};
5610
5545
  if (output["StackId"] !== undefined) {
5611
5546
  contents.StackId = __expectString(output["StackId"]);
5612
5547
  }
5613
5548
  return contents;
5614
5549
  };
5615
5550
  const deserializeAws_queryCreateStackSetOutput = (output, context) => {
5616
- const contents = {
5617
- StackSetId: undefined,
5618
- };
5551
+ const contents = {};
5619
5552
  if (output["StackSetId"] !== undefined) {
5620
5553
  contents.StackSetId = __expectString(output["StackSetId"]);
5621
5554
  }
@@ -5630,9 +5563,7 @@ const deserializeAws_queryDeleteChangeSetOutput = (output, context) => {
5630
5563
  return contents;
5631
5564
  };
5632
5565
  const deserializeAws_queryDeleteStackInstancesOutput = (output, context) => {
5633
- const contents = {
5634
- OperationId: undefined,
5635
- };
5566
+ const contents = {};
5636
5567
  if (output["OperationId"] !== undefined) {
5637
5568
  contents.OperationId = __expectString(output["OperationId"]);
5638
5569
  }
@@ -5643,12 +5574,7 @@ const deserializeAws_queryDeleteStackSetOutput = (output, context) => {
5643
5574
  return contents;
5644
5575
  };
5645
5576
  const deserializeAws_queryDeploymentTargets = (output, context) => {
5646
- const contents = {
5647
- Accounts: undefined,
5648
- AccountsUrl: undefined,
5649
- OrganizationalUnitIds: undefined,
5650
- AccountFilterType: undefined,
5651
- };
5577
+ const contents = {};
5652
5578
  if (output.Accounts === "") {
5653
5579
  contents.Accounts = [];
5654
5580
  }
@@ -5674,10 +5600,7 @@ const deserializeAws_queryDeregisterTypeOutput = (output, context) => {
5674
5600
  return contents;
5675
5601
  };
5676
5602
  const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
5677
- const contents = {
5678
- AccountLimits: undefined,
5679
- NextToken: undefined,
5680
- };
5603
+ const contents = {};
5681
5604
  if (output.AccountLimits === "") {
5682
5605
  contents.AccountLimits = [];
5683
5606
  }
@@ -5690,15 +5613,7 @@ const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
5690
5613
  return contents;
5691
5614
  };
5692
5615
  const deserializeAws_queryDescribeChangeSetHooksOutput = (output, context) => {
5693
- const contents = {
5694
- ChangeSetId: undefined,
5695
- ChangeSetName: undefined,
5696
- Hooks: undefined,
5697
- Status: undefined,
5698
- NextToken: undefined,
5699
- StackId: undefined,
5700
- StackName: undefined,
5701
- };
5616
+ const contents = {};
5702
5617
  if (output["ChangeSetId"] !== undefined) {
5703
5618
  contents.ChangeSetId = __expectString(output["ChangeSetId"]);
5704
5619
  }
@@ -5726,27 +5641,7 @@ const deserializeAws_queryDescribeChangeSetHooksOutput = (output, context) => {
5726
5641
  return contents;
5727
5642
  };
5728
5643
  const deserializeAws_queryDescribeChangeSetOutput = (output, context) => {
5729
- const contents = {
5730
- ChangeSetName: undefined,
5731
- ChangeSetId: undefined,
5732
- StackId: undefined,
5733
- StackName: undefined,
5734
- Description: undefined,
5735
- Parameters: undefined,
5736
- CreationTime: undefined,
5737
- ExecutionStatus: undefined,
5738
- Status: undefined,
5739
- StatusReason: undefined,
5740
- NotificationARNs: undefined,
5741
- RollbackConfiguration: undefined,
5742
- Capabilities: undefined,
5743
- Tags: undefined,
5744
- Changes: undefined,
5745
- NextToken: undefined,
5746
- IncludeNestedStacks: undefined,
5747
- ParentChangeSetId: undefined,
5748
- RootChangeSetId: undefined,
5749
- };
5644
+ const contents = {};
5750
5645
  if (output["ChangeSetName"] !== undefined) {
5751
5646
  contents.ChangeSetName = __expectString(output["ChangeSetName"]);
5752
5647
  }
@@ -5822,12 +5717,7 @@ const deserializeAws_queryDescribeChangeSetOutput = (output, context) => {
5822
5717
  return contents;
5823
5718
  };
5824
5719
  const deserializeAws_queryDescribePublisherOutput = (output, context) => {
5825
- const contents = {
5826
- PublisherId: undefined,
5827
- PublisherStatus: undefined,
5828
- IdentityProvider: undefined,
5829
- PublisherProfile: undefined,
5830
- };
5720
+ const contents = {};
5831
5721
  if (output["PublisherId"] !== undefined) {
5832
5722
  contents.PublisherId = __expectString(output["PublisherId"]);
5833
5723
  }
@@ -5843,15 +5733,7 @@ const deserializeAws_queryDescribePublisherOutput = (output, context) => {
5843
5733
  return contents;
5844
5734
  };
5845
5735
  const deserializeAws_queryDescribeStackDriftDetectionStatusOutput = (output, context) => {
5846
- const contents = {
5847
- StackId: undefined,
5848
- StackDriftDetectionId: undefined,
5849
- StackDriftStatus: undefined,
5850
- DetectionStatus: undefined,
5851
- DetectionStatusReason: undefined,
5852
- DriftedStackResourceCount: undefined,
5853
- Timestamp: undefined,
5854
- };
5736
+ const contents = {};
5855
5737
  if (output["StackId"] !== undefined) {
5856
5738
  contents.StackId = __expectString(output["StackId"]);
5857
5739
  }
@@ -5876,10 +5758,7 @@ const deserializeAws_queryDescribeStackDriftDetectionStatusOutput = (output, con
5876
5758
  return contents;
5877
5759
  };
5878
5760
  const deserializeAws_queryDescribeStackEventsOutput = (output, context) => {
5879
- const contents = {
5880
- StackEvents: undefined,
5881
- NextToken: undefined,
5882
- };
5761
+ const contents = {};
5883
5762
  if (output.StackEvents === "") {
5884
5763
  contents.StackEvents = [];
5885
5764
  }
@@ -5892,19 +5771,14 @@ const deserializeAws_queryDescribeStackEventsOutput = (output, context) => {
5892
5771
  return contents;
5893
5772
  };
5894
5773
  const deserializeAws_queryDescribeStackInstanceOutput = (output, context) => {
5895
- const contents = {
5896
- StackInstance: undefined,
5897
- };
5774
+ const contents = {};
5898
5775
  if (output["StackInstance"] !== undefined) {
5899
5776
  contents.StackInstance = deserializeAws_queryStackInstance(output["StackInstance"], context);
5900
5777
  }
5901
5778
  return contents;
5902
5779
  };
5903
5780
  const deserializeAws_queryDescribeStackResourceDriftsOutput = (output, context) => {
5904
- const contents = {
5905
- StackResourceDrifts: undefined,
5906
- NextToken: undefined,
5907
- };
5781
+ const contents = {};
5908
5782
  if (output.StackResourceDrifts === "") {
5909
5783
  contents.StackResourceDrifts = [];
5910
5784
  }
@@ -5917,18 +5791,14 @@ const deserializeAws_queryDescribeStackResourceDriftsOutput = (output, context)
5917
5791
  return contents;
5918
5792
  };
5919
5793
  const deserializeAws_queryDescribeStackResourceOutput = (output, context) => {
5920
- const contents = {
5921
- StackResourceDetail: undefined,
5922
- };
5794
+ const contents = {};
5923
5795
  if (output["StackResourceDetail"] !== undefined) {
5924
5796
  contents.StackResourceDetail = deserializeAws_queryStackResourceDetail(output["StackResourceDetail"], context);
5925
5797
  }
5926
5798
  return contents;
5927
5799
  };
5928
5800
  const deserializeAws_queryDescribeStackResourcesOutput = (output, context) => {
5929
- const contents = {
5930
- StackResources: undefined,
5931
- };
5801
+ const contents = {};
5932
5802
  if (output.StackResources === "") {
5933
5803
  contents.StackResources = [];
5934
5804
  }
@@ -5938,28 +5808,21 @@ const deserializeAws_queryDescribeStackResourcesOutput = (output, context) => {
5938
5808
  return contents;
5939
5809
  };
5940
5810
  const deserializeAws_queryDescribeStackSetOperationOutput = (output, context) => {
5941
- const contents = {
5942
- StackSetOperation: undefined,
5943
- };
5811
+ const contents = {};
5944
5812
  if (output["StackSetOperation"] !== undefined) {
5945
5813
  contents.StackSetOperation = deserializeAws_queryStackSetOperation(output["StackSetOperation"], context);
5946
5814
  }
5947
5815
  return contents;
5948
5816
  };
5949
5817
  const deserializeAws_queryDescribeStackSetOutput = (output, context) => {
5950
- const contents = {
5951
- StackSet: undefined,
5952
- };
5818
+ const contents = {};
5953
5819
  if (output["StackSet"] !== undefined) {
5954
5820
  contents.StackSet = deserializeAws_queryStackSet(output["StackSet"], context);
5955
5821
  }
5956
5822
  return contents;
5957
5823
  };
5958
5824
  const deserializeAws_queryDescribeStacksOutput = (output, context) => {
5959
- const contents = {
5960
- Stacks: undefined,
5961
- NextToken: undefined,
5962
- };
5825
+ const contents = {};
5963
5826
  if (output.Stacks === "") {
5964
5827
  contents.Stacks = [];
5965
5828
  }
@@ -5972,35 +5835,7 @@ const deserializeAws_queryDescribeStacksOutput = (output, context) => {
5972
5835
  return contents;
5973
5836
  };
5974
5837
  const deserializeAws_queryDescribeTypeOutput = (output, context) => {
5975
- const contents = {
5976
- Arn: undefined,
5977
- Type: undefined,
5978
- TypeName: undefined,
5979
- DefaultVersionId: undefined,
5980
- IsDefaultVersion: undefined,
5981
- TypeTestsStatus: undefined,
5982
- TypeTestsStatusDescription: undefined,
5983
- Description: undefined,
5984
- Schema: undefined,
5985
- ProvisioningType: undefined,
5986
- DeprecatedStatus: undefined,
5987
- LoggingConfig: undefined,
5988
- RequiredActivatedTypes: undefined,
5989
- ExecutionRoleArn: undefined,
5990
- Visibility: undefined,
5991
- SourceUrl: undefined,
5992
- DocumentationUrl: undefined,
5993
- LastUpdated: undefined,
5994
- TimeCreated: undefined,
5995
- ConfigurationSchema: undefined,
5996
- PublisherId: undefined,
5997
- OriginalTypeName: undefined,
5998
- OriginalTypeArn: undefined,
5999
- PublicVersionNumber: undefined,
6000
- LatestPublicVersion: undefined,
6001
- IsActivated: undefined,
6002
- AutoUpdate: undefined,
6003
- };
5838
+ const contents = {};
6004
5839
  if (output["Arn"] !== undefined) {
6005
5840
  contents.Arn = __expectString(output["Arn"]);
6006
5841
  }
@@ -6089,12 +5924,7 @@ const deserializeAws_queryDescribeTypeOutput = (output, context) => {
6089
5924
  return contents;
6090
5925
  };
6091
5926
  const deserializeAws_queryDescribeTypeRegistrationOutput = (output, context) => {
6092
- const contents = {
6093
- ProgressStatus: undefined,
6094
- Description: undefined,
6095
- TypeArn: undefined,
6096
- TypeVersionArn: undefined,
6097
- };
5927
+ const contents = {};
6098
5928
  if (output["ProgressStatus"] !== undefined) {
6099
5929
  contents.ProgressStatus = __expectString(output["ProgressStatus"]);
6100
5930
  }
@@ -6110,36 +5940,28 @@ const deserializeAws_queryDescribeTypeRegistrationOutput = (output, context) =>
6110
5940
  return contents;
6111
5941
  };
6112
5942
  const deserializeAws_queryDetectStackDriftOutput = (output, context) => {
6113
- const contents = {
6114
- StackDriftDetectionId: undefined,
6115
- };
5943
+ const contents = {};
6116
5944
  if (output["StackDriftDetectionId"] !== undefined) {
6117
5945
  contents.StackDriftDetectionId = __expectString(output["StackDriftDetectionId"]);
6118
5946
  }
6119
5947
  return contents;
6120
5948
  };
6121
5949
  const deserializeAws_queryDetectStackResourceDriftOutput = (output, context) => {
6122
- const contents = {
6123
- StackResourceDrift: undefined,
6124
- };
5950
+ const contents = {};
6125
5951
  if (output["StackResourceDrift"] !== undefined) {
6126
5952
  contents.StackResourceDrift = deserializeAws_queryStackResourceDrift(output["StackResourceDrift"], context);
6127
5953
  }
6128
5954
  return contents;
6129
5955
  };
6130
5956
  const deserializeAws_queryDetectStackSetDriftOutput = (output, context) => {
6131
- const contents = {
6132
- OperationId: undefined,
6133
- };
5957
+ const contents = {};
6134
5958
  if (output["OperationId"] !== undefined) {
6135
5959
  contents.OperationId = __expectString(output["OperationId"]);
6136
5960
  }
6137
5961
  return contents;
6138
5962
  };
6139
5963
  const deserializeAws_queryEstimateTemplateCostOutput = (output, context) => {
6140
- const contents = {
6141
- Url: undefined,
6142
- };
5964
+ const contents = {};
6143
5965
  if (output["Url"] !== undefined) {
6144
5966
  contents.Url = __expectString(output["Url"]);
6145
5967
  }
@@ -6150,11 +5972,7 @@ const deserializeAws_queryExecuteChangeSetOutput = (output, context) => {
6150
5972
  return contents;
6151
5973
  };
6152
5974
  const deserializeAws_queryExport = (output, context) => {
6153
- const contents = {
6154
- ExportingStackId: undefined,
6155
- Name: undefined,
6156
- Value: undefined,
6157
- };
5975
+ const contents = {};
6158
5976
  if (output["ExportingStackId"] !== undefined) {
6159
5977
  contents.ExportingStackId = __expectString(output["ExportingStackId"]);
6160
5978
  }
@@ -6174,19 +5992,14 @@ const deserializeAws_queryExports = (output, context) => {
6174
5992
  });
6175
5993
  };
6176
5994
  const deserializeAws_queryGetStackPolicyOutput = (output, context) => {
6177
- const contents = {
6178
- StackPolicyBody: undefined,
6179
- };
5995
+ const contents = {};
6180
5996
  if (output["StackPolicyBody"] !== undefined) {
6181
5997
  contents.StackPolicyBody = __expectString(output["StackPolicyBody"]);
6182
5998
  }
6183
5999
  return contents;
6184
6000
  };
6185
6001
  const deserializeAws_queryGetTemplateOutput = (output, context) => {
6186
- const contents = {
6187
- TemplateBody: undefined,
6188
- StagesAvailable: undefined,
6189
- };
6002
+ const contents = {};
6190
6003
  if (output["TemplateBody"] !== undefined) {
6191
6004
  contents.TemplateBody = __expectString(output["TemplateBody"]);
6192
6005
  }
@@ -6199,17 +6012,7 @@ const deserializeAws_queryGetTemplateOutput = (output, context) => {
6199
6012
  return contents;
6200
6013
  };
6201
6014
  const deserializeAws_queryGetTemplateSummaryOutput = (output, context) => {
6202
- const contents = {
6203
- Parameters: undefined,
6204
- Description: undefined,
6205
- Capabilities: undefined,
6206
- CapabilitiesReason: undefined,
6207
- ResourceTypes: undefined,
6208
- Version: undefined,
6209
- Metadata: undefined,
6210
- DeclaredTransforms: undefined,
6211
- ResourceIdentifierSummaries: undefined,
6212
- };
6015
+ const contents = {};
6213
6016
  if (output.Parameters === "") {
6214
6017
  contents.Parameters = [];
6215
6018
  }
@@ -6263,64 +6066,49 @@ const deserializeAws_queryImports = (output, context) => {
6263
6066
  });
6264
6067
  };
6265
6068
  const deserializeAws_queryImportStacksToStackSetOutput = (output, context) => {
6266
- const contents = {
6267
- OperationId: undefined,
6268
- };
6069
+ const contents = {};
6269
6070
  if (output["OperationId"] !== undefined) {
6270
6071
  contents.OperationId = __expectString(output["OperationId"]);
6271
6072
  }
6272
6073
  return contents;
6273
6074
  };
6274
6075
  const deserializeAws_queryInsufficientCapabilitiesException = (output, context) => {
6275
- const contents = {
6276
- Message: undefined,
6277
- };
6076
+ const contents = {};
6278
6077
  if (output["Message"] !== undefined) {
6279
6078
  contents.Message = __expectString(output["Message"]);
6280
6079
  }
6281
6080
  return contents;
6282
6081
  };
6283
6082
  const deserializeAws_queryInvalidChangeSetStatusException = (output, context) => {
6284
- const contents = {
6285
- Message: undefined,
6286
- };
6083
+ const contents = {};
6287
6084
  if (output["Message"] !== undefined) {
6288
6085
  contents.Message = __expectString(output["Message"]);
6289
6086
  }
6290
6087
  return contents;
6291
6088
  };
6292
6089
  const deserializeAws_queryInvalidOperationException = (output, context) => {
6293
- const contents = {
6294
- Message: undefined,
6295
- };
6090
+ const contents = {};
6296
6091
  if (output["Message"] !== undefined) {
6297
6092
  contents.Message = __expectString(output["Message"]);
6298
6093
  }
6299
6094
  return contents;
6300
6095
  };
6301
6096
  const deserializeAws_queryInvalidStateTransitionException = (output, context) => {
6302
- const contents = {
6303
- Message: undefined,
6304
- };
6097
+ const contents = {};
6305
6098
  if (output["Message"] !== undefined) {
6306
6099
  contents.Message = __expectString(output["Message"]);
6307
6100
  }
6308
6101
  return contents;
6309
6102
  };
6310
6103
  const deserializeAws_queryLimitExceededException = (output, context) => {
6311
- const contents = {
6312
- Message: undefined,
6313
- };
6104
+ const contents = {};
6314
6105
  if (output["Message"] !== undefined) {
6315
6106
  contents.Message = __expectString(output["Message"]);
6316
6107
  }
6317
6108
  return contents;
6318
6109
  };
6319
6110
  const deserializeAws_queryListChangeSetsOutput = (output, context) => {
6320
- const contents = {
6321
- Summaries: undefined,
6322
- NextToken: undefined,
6323
- };
6111
+ const contents = {};
6324
6112
  if (output.Summaries === "") {
6325
6113
  contents.Summaries = [];
6326
6114
  }
@@ -6333,10 +6121,7 @@ const deserializeAws_queryListChangeSetsOutput = (output, context) => {
6333
6121
  return contents;
6334
6122
  };
6335
6123
  const deserializeAws_queryListExportsOutput = (output, context) => {
6336
- const contents = {
6337
- Exports: undefined,
6338
- NextToken: undefined,
6339
- };
6124
+ const contents = {};
6340
6125
  if (output.Exports === "") {
6341
6126
  contents.Exports = [];
6342
6127
  }
@@ -6349,10 +6134,7 @@ const deserializeAws_queryListExportsOutput = (output, context) => {
6349
6134
  return contents;
6350
6135
  };
6351
6136
  const deserializeAws_queryListImportsOutput = (output, context) => {
6352
- const contents = {
6353
- Imports: undefined,
6354
- NextToken: undefined,
6355
- };
6137
+ const contents = {};
6356
6138
  if (output.Imports === "") {
6357
6139
  contents.Imports = [];
6358
6140
  }
@@ -6365,10 +6147,7 @@ const deserializeAws_queryListImportsOutput = (output, context) => {
6365
6147
  return contents;
6366
6148
  };
6367
6149
  const deserializeAws_queryListStackInstancesOutput = (output, context) => {
6368
- const contents = {
6369
- Summaries: undefined,
6370
- NextToken: undefined,
6371
- };
6150
+ const contents = {};
6372
6151
  if (output.Summaries === "") {
6373
6152
  contents.Summaries = [];
6374
6153
  }
@@ -6381,10 +6160,7 @@ const deserializeAws_queryListStackInstancesOutput = (output, context) => {
6381
6160
  return contents;
6382
6161
  };
6383
6162
  const deserializeAws_queryListStackResourcesOutput = (output, context) => {
6384
- const contents = {
6385
- StackResourceSummaries: undefined,
6386
- NextToken: undefined,
6387
- };
6163
+ const contents = {};
6388
6164
  if (output.StackResourceSummaries === "") {
6389
6165
  contents.StackResourceSummaries = [];
6390
6166
  }
@@ -6398,10 +6174,7 @@ const deserializeAws_queryListStackResourcesOutput = (output, context) => {
6398
6174
  return contents;
6399
6175
  };
6400
6176
  const deserializeAws_queryListStackSetOperationResultsOutput = (output, context) => {
6401
- const contents = {
6402
- Summaries: undefined,
6403
- NextToken: undefined,
6404
- };
6177
+ const contents = {};
6405
6178
  if (output.Summaries === "") {
6406
6179
  contents.Summaries = [];
6407
6180
  }
@@ -6414,10 +6187,7 @@ const deserializeAws_queryListStackSetOperationResultsOutput = (output, context)
6414
6187
  return contents;
6415
6188
  };
6416
6189
  const deserializeAws_queryListStackSetOperationsOutput = (output, context) => {
6417
- const contents = {
6418
- Summaries: undefined,
6419
- NextToken: undefined,
6420
- };
6190
+ const contents = {};
6421
6191
  if (output.Summaries === "") {
6422
6192
  contents.Summaries = [];
6423
6193
  }
@@ -6430,10 +6200,7 @@ const deserializeAws_queryListStackSetOperationsOutput = (output, context) => {
6430
6200
  return contents;
6431
6201
  };
6432
6202
  const deserializeAws_queryListStackSetsOutput = (output, context) => {
6433
- const contents = {
6434
- Summaries: undefined,
6435
- NextToken: undefined,
6436
- };
6203
+ const contents = {};
6437
6204
  if (output.Summaries === "") {
6438
6205
  contents.Summaries = [];
6439
6206
  }
@@ -6446,10 +6213,7 @@ const deserializeAws_queryListStackSetsOutput = (output, context) => {
6446
6213
  return contents;
6447
6214
  };
6448
6215
  const deserializeAws_queryListStacksOutput = (output, context) => {
6449
- const contents = {
6450
- StackSummaries: undefined,
6451
- NextToken: undefined,
6452
- };
6216
+ const contents = {};
6453
6217
  if (output.StackSummaries === "") {
6454
6218
  contents.StackSummaries = [];
6455
6219
  }
@@ -6462,10 +6226,7 @@ const deserializeAws_queryListStacksOutput = (output, context) => {
6462
6226
  return contents;
6463
6227
  };
6464
6228
  const deserializeAws_queryListTypeRegistrationsOutput = (output, context) => {
6465
- const contents = {
6466
- RegistrationTokenList: undefined,
6467
- NextToken: undefined,
6468
- };
6229
+ const contents = {};
6469
6230
  if (output.RegistrationTokenList === "") {
6470
6231
  contents.RegistrationTokenList = [];
6471
6232
  }
@@ -6478,10 +6239,7 @@ const deserializeAws_queryListTypeRegistrationsOutput = (output, context) => {
6478
6239
  return contents;
6479
6240
  };
6480
6241
  const deserializeAws_queryListTypesOutput = (output, context) => {
6481
- const contents = {
6482
- TypeSummaries: undefined,
6483
- NextToken: undefined,
6484
- };
6242
+ const contents = {};
6485
6243
  if (output.TypeSummaries === "") {
6486
6244
  contents.TypeSummaries = [];
6487
6245
  }
@@ -6494,10 +6252,7 @@ const deserializeAws_queryListTypesOutput = (output, context) => {
6494
6252
  return contents;
6495
6253
  };
6496
6254
  const deserializeAws_queryListTypeVersionsOutput = (output, context) => {
6497
- const contents = {
6498
- TypeVersionSummaries: undefined,
6499
- NextToken: undefined,
6500
- };
6255
+ const contents = {};
6501
6256
  if (output.TypeVersionSummaries === "") {
6502
6257
  contents.TypeVersionSummaries = [];
6503
6258
  }
@@ -6510,10 +6265,7 @@ const deserializeAws_queryListTypeVersionsOutput = (output, context) => {
6510
6265
  return contents;
6511
6266
  };
6512
6267
  const deserializeAws_queryLoggingConfig = (output, context) => {
6513
- const contents = {
6514
- LogRoleArn: undefined,
6515
- LogGroupName: undefined,
6516
- };
6268
+ const contents = {};
6517
6269
  if (output["LogRoleArn"] !== undefined) {
6518
6270
  contents.LogRoleArn = __expectString(output["LogRoleArn"]);
6519
6271
  }
@@ -6530,19 +6282,14 @@ const deserializeAws_queryLogicalResourceIds = (output, context) => {
6530
6282
  });
6531
6283
  };
6532
6284
  const deserializeAws_queryManagedExecution = (output, context) => {
6533
- const contents = {
6534
- Active: undefined,
6535
- };
6285
+ const contents = {};
6536
6286
  if (output["Active"] !== undefined) {
6537
6287
  contents.Active = __parseBoolean(output["Active"]);
6538
6288
  }
6539
6289
  return contents;
6540
6290
  };
6541
6291
  const deserializeAws_queryModuleInfo = (output, context) => {
6542
- const contents = {
6543
- TypeHierarchy: undefined,
6544
- LogicalIdHierarchy: undefined,
6545
- };
6292
+ const contents = {};
6546
6293
  if (output["TypeHierarchy"] !== undefined) {
6547
6294
  contents.TypeHierarchy = __expectString(output["TypeHierarchy"]);
6548
6295
  }
@@ -6552,9 +6299,7 @@ const deserializeAws_queryModuleInfo = (output, context) => {
6552
6299
  return contents;
6553
6300
  };
6554
6301
  const deserializeAws_queryNameAlreadyExistsException = (output, context) => {
6555
- const contents = {
6556
- Message: undefined,
6557
- };
6302
+ const contents = {};
6558
6303
  if (output["Message"] !== undefined) {
6559
6304
  contents.Message = __expectString(output["Message"]);
6560
6305
  }
@@ -6568,36 +6313,28 @@ const deserializeAws_queryNotificationARNs = (output, context) => {
6568
6313
  });
6569
6314
  };
6570
6315
  const deserializeAws_queryOperationIdAlreadyExistsException = (output, context) => {
6571
- const contents = {
6572
- Message: undefined,
6573
- };
6316
+ const contents = {};
6574
6317
  if (output["Message"] !== undefined) {
6575
6318
  contents.Message = __expectString(output["Message"]);
6576
6319
  }
6577
6320
  return contents;
6578
6321
  };
6579
6322
  const deserializeAws_queryOperationInProgressException = (output, context) => {
6580
- const contents = {
6581
- Message: undefined,
6582
- };
6323
+ const contents = {};
6583
6324
  if (output["Message"] !== undefined) {
6584
6325
  contents.Message = __expectString(output["Message"]);
6585
6326
  }
6586
6327
  return contents;
6587
6328
  };
6588
6329
  const deserializeAws_queryOperationNotFoundException = (output, context) => {
6589
- const contents = {
6590
- Message: undefined,
6591
- };
6330
+ const contents = {};
6592
6331
  if (output["Message"] !== undefined) {
6593
6332
  contents.Message = __expectString(output["Message"]);
6594
6333
  }
6595
6334
  return contents;
6596
6335
  };
6597
6336
  const deserializeAws_queryOperationStatusCheckFailedException = (output, context) => {
6598
- const contents = {
6599
- Message: undefined,
6600
- };
6337
+ const contents = {};
6601
6338
  if (output["Message"] !== undefined) {
6602
6339
  contents.Message = __expectString(output["Message"]);
6603
6340
  }
@@ -6611,12 +6348,7 @@ const deserializeAws_queryOrganizationalUnitIdList = (output, context) => {
6611
6348
  });
6612
6349
  };
6613
6350
  const deserializeAws_queryOutput = (output, context) => {
6614
- const contents = {
6615
- OutputKey: undefined,
6616
- OutputValue: undefined,
6617
- Description: undefined,
6618
- ExportName: undefined,
6619
- };
6351
+ const contents = {};
6620
6352
  if (output["OutputKey"] !== undefined) {
6621
6353
  contents.OutputKey = __expectString(output["OutputKey"]);
6622
6354
  }
@@ -6639,12 +6371,7 @@ const deserializeAws_queryOutputs = (output, context) => {
6639
6371
  });
6640
6372
  };
6641
6373
  const deserializeAws_queryParameter = (output, context) => {
6642
- const contents = {
6643
- ParameterKey: undefined,
6644
- ParameterValue: undefined,
6645
- UsePreviousValue: undefined,
6646
- ResolvedValue: undefined,
6647
- };
6374
+ const contents = {};
6648
6375
  if (output["ParameterKey"] !== undefined) {
6649
6376
  contents.ParameterKey = __expectString(output["ParameterKey"]);
6650
6377
  }
@@ -6660,9 +6387,7 @@ const deserializeAws_queryParameter = (output, context) => {
6660
6387
  return contents;
6661
6388
  };
6662
6389
  const deserializeAws_queryParameterConstraints = (output, context) => {
6663
- const contents = {
6664
- AllowedValues: undefined,
6665
- };
6390
+ const contents = {};
6666
6391
  if (output.AllowedValues === "") {
6667
6392
  contents.AllowedValues = [];
6668
6393
  }
@@ -6672,14 +6397,7 @@ const deserializeAws_queryParameterConstraints = (output, context) => {
6672
6397
  return contents;
6673
6398
  };
6674
6399
  const deserializeAws_queryParameterDeclaration = (output, context) => {
6675
- const contents = {
6676
- ParameterKey: undefined,
6677
- DefaultValue: undefined,
6678
- ParameterType: undefined,
6679
- NoEcho: undefined,
6680
- Description: undefined,
6681
- ParameterConstraints: undefined,
6682
- };
6400
+ const contents = {};
6683
6401
  if (output["ParameterKey"] !== undefined) {
6684
6402
  contents.ParameterKey = __expectString(output["ParameterKey"]);
6685
6403
  }
@@ -6722,10 +6440,7 @@ const deserializeAws_queryPhysicalResourceIdContext = (output, context) => {
6722
6440
  });
6723
6441
  };
6724
6442
  const deserializeAws_queryPhysicalResourceIdContextKeyValuePair = (output, context) => {
6725
- const contents = {
6726
- Key: undefined,
6727
- Value: undefined,
6728
- };
6443
+ const contents = {};
6729
6444
  if (output["Key"] !== undefined) {
6730
6445
  contents.Key = __expectString(output["Key"]);
6731
6446
  }
@@ -6735,12 +6450,7 @@ const deserializeAws_queryPhysicalResourceIdContextKeyValuePair = (output, conte
6735
6450
  return contents;
6736
6451
  };
6737
6452
  const deserializeAws_queryPropertyDifference = (output, context) => {
6738
- const contents = {
6739
- PropertyPath: undefined,
6740
- ExpectedValue: undefined,
6741
- ActualValue: undefined,
6742
- DifferenceType: undefined,
6743
- };
6453
+ const contents = {};
6744
6454
  if (output["PropertyPath"] !== undefined) {
6745
6455
  contents.PropertyPath = __expectString(output["PropertyPath"]);
6746
6456
  }
@@ -6763,9 +6473,7 @@ const deserializeAws_queryPropertyDifferences = (output, context) => {
6763
6473
  });
6764
6474
  };
6765
6475
  const deserializeAws_queryPublishTypeOutput = (output, context) => {
6766
- const contents = {
6767
- PublicTypeArn: undefined,
6768
- };
6476
+ const contents = {};
6769
6477
  if (output["PublicTypeArn"] !== undefined) {
6770
6478
  contents.PublicTypeArn = __expectString(output["PublicTypeArn"]);
6771
6479
  }
@@ -6783,18 +6491,14 @@ const deserializeAws_queryRegionList = (output, context) => {
6783
6491
  });
6784
6492
  };
6785
6493
  const deserializeAws_queryRegisterPublisherOutput = (output, context) => {
6786
- const contents = {
6787
- PublisherId: undefined,
6788
- };
6494
+ const contents = {};
6789
6495
  if (output["PublisherId"] !== undefined) {
6790
6496
  contents.PublisherId = __expectString(output["PublisherId"]);
6791
6497
  }
6792
6498
  return contents;
6793
6499
  };
6794
6500
  const deserializeAws_queryRegisterTypeOutput = (output, context) => {
6795
- const contents = {
6796
- RegistrationToken: undefined,
6797
- };
6501
+ const contents = {};
6798
6502
  if (output["RegistrationToken"] !== undefined) {
6799
6503
  contents.RegistrationToken = __expectString(output["RegistrationToken"]);
6800
6504
  }
@@ -6808,12 +6512,7 @@ const deserializeAws_queryRegistrationTokenList = (output, context) => {
6808
6512
  });
6809
6513
  };
6810
6514
  const deserializeAws_queryRequiredActivatedType = (output, context) => {
6811
- const contents = {
6812
- TypeNameAlias: undefined,
6813
- OriginalTypeName: undefined,
6814
- PublisherId: undefined,
6815
- SupportedMajorVersions: undefined,
6816
- };
6515
+ const contents = {};
6817
6516
  if (output["TypeNameAlias"] !== undefined) {
6818
6517
  contents.TypeNameAlias = __expectString(output["TypeNameAlias"]);
6819
6518
  }
@@ -6840,17 +6539,7 @@ const deserializeAws_queryRequiredActivatedTypes = (output, context) => {
6840
6539
  });
6841
6540
  };
6842
6541
  const deserializeAws_queryResourceChange = (output, context) => {
6843
- const contents = {
6844
- Action: undefined,
6845
- LogicalResourceId: undefined,
6846
- PhysicalResourceId: undefined,
6847
- ResourceType: undefined,
6848
- Replacement: undefined,
6849
- Scope: undefined,
6850
- Details: undefined,
6851
- ChangeSetId: undefined,
6852
- ModuleInfo: undefined,
6853
- };
6542
+ const contents = {};
6854
6543
  if (output["Action"] !== undefined) {
6855
6544
  contents.Action = __expectString(output["Action"]);
6856
6545
  }
@@ -6887,12 +6576,7 @@ const deserializeAws_queryResourceChange = (output, context) => {
6887
6576
  return contents;
6888
6577
  };
6889
6578
  const deserializeAws_queryResourceChangeDetail = (output, context) => {
6890
- const contents = {
6891
- Target: undefined,
6892
- Evaluation: undefined,
6893
- ChangeSource: undefined,
6894
- CausingEntity: undefined,
6895
- };
6579
+ const contents = {};
6896
6580
  if (output["Target"] !== undefined) {
6897
6581
  contents.Target = deserializeAws_queryResourceTargetDefinition(output["Target"], context);
6898
6582
  }
@@ -6929,11 +6613,7 @@ const deserializeAws_queryResourceIdentifierSummaries = (output, context) => {
6929
6613
  });
6930
6614
  };
6931
6615
  const deserializeAws_queryResourceIdentifierSummary = (output, context) => {
6932
- const contents = {
6933
- ResourceType: undefined,
6934
- LogicalResourceIds: undefined,
6935
- ResourceIdentifiers: undefined,
6936
- };
6616
+ const contents = {};
6937
6617
  if (output["ResourceType"] !== undefined) {
6938
6618
  contents.ResourceType = __expectString(output["ResourceType"]);
6939
6619
  }
@@ -6952,11 +6632,7 @@ const deserializeAws_queryResourceIdentifierSummary = (output, context) => {
6952
6632
  return contents;
6953
6633
  };
6954
6634
  const deserializeAws_queryResourceTargetDefinition = (output, context) => {
6955
- const contents = {
6956
- Attribute: undefined,
6957
- Name: undefined,
6958
- RequiresRecreation: undefined,
6959
- };
6635
+ const contents = {};
6960
6636
  if (output["Attribute"] !== undefined) {
6961
6637
  contents.Attribute = __expectString(output["Attribute"]);
6962
6638
  }
@@ -6976,10 +6652,7 @@ const deserializeAws_queryResourceTypes = (output, context) => {
6976
6652
  });
6977
6653
  };
6978
6654
  const deserializeAws_queryRollbackConfiguration = (output, context) => {
6979
- const contents = {
6980
- RollbackTriggers: undefined,
6981
- MonitoringTimeInMinutes: undefined,
6982
- };
6655
+ const contents = {};
6983
6656
  if (output.RollbackTriggers === "") {
6984
6657
  contents.RollbackTriggers = [];
6985
6658
  }
@@ -6992,19 +6665,14 @@ const deserializeAws_queryRollbackConfiguration = (output, context) => {
6992
6665
  return contents;
6993
6666
  };
6994
6667
  const deserializeAws_queryRollbackStackOutput = (output, context) => {
6995
- const contents = {
6996
- StackId: undefined,
6997
- };
6668
+ const contents = {};
6998
6669
  if (output["StackId"] !== undefined) {
6999
6670
  contents.StackId = __expectString(output["StackId"]);
7000
6671
  }
7001
6672
  return contents;
7002
6673
  };
7003
6674
  const deserializeAws_queryRollbackTrigger = (output, context) => {
7004
- const contents = {
7005
- Arn: undefined,
7006
- Type: undefined,
7007
- };
6675
+ const contents = {};
7008
6676
  if (output["Arn"] !== undefined) {
7009
6677
  contents.Arn = __expectString(output["Arn"]);
7010
6678
  }
@@ -7028,9 +6696,7 @@ const deserializeAws_queryScope = (output, context) => {
7028
6696
  });
7029
6697
  };
7030
6698
  const deserializeAws_querySetTypeConfigurationOutput = (output, context) => {
7031
- const contents = {
7032
- ConfigurationArn: undefined,
7033
- };
6699
+ const contents = {};
7034
6700
  if (output["ConfigurationArn"] !== undefined) {
7035
6701
  contents.ConfigurationArn = __expectString(output["ConfigurationArn"]);
7036
6702
  }
@@ -7041,30 +6707,7 @@ const deserializeAws_querySetTypeDefaultVersionOutput = (output, context) => {
7041
6707
  return contents;
7042
6708
  };
7043
6709
  const deserializeAws_queryStack = (output, context) => {
7044
- const contents = {
7045
- StackId: undefined,
7046
- StackName: undefined,
7047
- ChangeSetId: undefined,
7048
- Description: undefined,
7049
- Parameters: undefined,
7050
- CreationTime: undefined,
7051
- DeletionTime: undefined,
7052
- LastUpdatedTime: undefined,
7053
- RollbackConfiguration: undefined,
7054
- StackStatus: undefined,
7055
- StackStatusReason: undefined,
7056
- DisableRollback: undefined,
7057
- NotificationARNs: undefined,
7058
- TimeoutInMinutes: undefined,
7059
- Capabilities: undefined,
7060
- Outputs: undefined,
7061
- RoleARN: undefined,
7062
- Tags: undefined,
7063
- EnableTerminationProtection: undefined,
7064
- ParentId: undefined,
7065
- RootId: undefined,
7066
- DriftInformation: undefined,
7067
- };
6710
+ const contents = {};
7068
6711
  if (output["StackId"] !== undefined) {
7069
6712
  contents.StackId = __expectString(output["StackId"]);
7070
6713
  }
@@ -7149,10 +6792,7 @@ const deserializeAws_queryStack = (output, context) => {
7149
6792
  return contents;
7150
6793
  };
7151
6794
  const deserializeAws_queryStackDriftInformation = (output, context) => {
7152
- const contents = {
7153
- StackDriftStatus: undefined,
7154
- LastCheckTimestamp: undefined,
7155
- };
6795
+ const contents = {};
7156
6796
  if (output["StackDriftStatus"] !== undefined) {
7157
6797
  contents.StackDriftStatus = __expectString(output["StackDriftStatus"]);
7158
6798
  }
@@ -7162,10 +6802,7 @@ const deserializeAws_queryStackDriftInformation = (output, context) => {
7162
6802
  return contents;
7163
6803
  };
7164
6804
  const deserializeAws_queryStackDriftInformationSummary = (output, context) => {
7165
- const contents = {
7166
- StackDriftStatus: undefined,
7167
- LastCheckTimestamp: undefined,
7168
- };
6805
+ const contents = {};
7169
6806
  if (output["StackDriftStatus"] !== undefined) {
7170
6807
  contents.StackDriftStatus = __expectString(output["StackDriftStatus"]);
7171
6808
  }
@@ -7175,24 +6812,7 @@ const deserializeAws_queryStackDriftInformationSummary = (output, context) => {
7175
6812
  return contents;
7176
6813
  };
7177
6814
  const deserializeAws_queryStackEvent = (output, context) => {
7178
- const contents = {
7179
- StackId: undefined,
7180
- EventId: undefined,
7181
- StackName: undefined,
7182
- LogicalResourceId: undefined,
7183
- PhysicalResourceId: undefined,
7184
- ResourceType: undefined,
7185
- Timestamp: undefined,
7186
- ResourceStatus: undefined,
7187
- ResourceStatusReason: undefined,
7188
- ResourceProperties: undefined,
7189
- ClientRequestToken: undefined,
7190
- HookType: undefined,
7191
- HookStatus: undefined,
7192
- HookStatusReason: undefined,
7193
- HookInvocationPoint: undefined,
7194
- HookFailureMode: undefined,
7195
- };
6815
+ const contents = {};
7196
6816
  if (output["StackId"] !== undefined) {
7197
6817
  contents.StackId = __expectString(output["StackId"]);
7198
6818
  }
@@ -7251,20 +6871,7 @@ const deserializeAws_queryStackEvents = (output, context) => {
7251
6871
  });
7252
6872
  };
7253
6873
  const deserializeAws_queryStackInstance = (output, context) => {
7254
- const contents = {
7255
- StackSetId: undefined,
7256
- Region: undefined,
7257
- Account: undefined,
7258
- StackId: undefined,
7259
- ParameterOverrides: undefined,
7260
- Status: undefined,
7261
- StackInstanceStatus: undefined,
7262
- StatusReason: undefined,
7263
- OrganizationalUnitId: undefined,
7264
- DriftStatus: undefined,
7265
- LastDriftCheckTimestamp: undefined,
7266
- LastOperationId: undefined,
7267
- };
6874
+ const contents = {};
7268
6875
  if (output["StackSetId"] !== undefined) {
7269
6876
  contents.StackSetId = __expectString(output["StackSetId"]);
7270
6877
  }
@@ -7307,18 +6914,14 @@ const deserializeAws_queryStackInstance = (output, context) => {
7307
6914
  return contents;
7308
6915
  };
7309
6916
  const deserializeAws_queryStackInstanceComprehensiveStatus = (output, context) => {
7310
- const contents = {
7311
- DetailedStatus: undefined,
7312
- };
6917
+ const contents = {};
7313
6918
  if (output["DetailedStatus"] !== undefined) {
7314
6919
  contents.DetailedStatus = __expectString(output["DetailedStatus"]);
7315
6920
  }
7316
6921
  return contents;
7317
6922
  };
7318
6923
  const deserializeAws_queryStackInstanceNotFoundException = (output, context) => {
7319
- const contents = {
7320
- Message: undefined,
7321
- };
6924
+ const contents = {};
7322
6925
  if (output["Message"] !== undefined) {
7323
6926
  contents.Message = __expectString(output["Message"]);
7324
6927
  }
@@ -7332,19 +6935,7 @@ const deserializeAws_queryStackInstanceSummaries = (output, context) => {
7332
6935
  });
7333
6936
  };
7334
6937
  const deserializeAws_queryStackInstanceSummary = (output, context) => {
7335
- const contents = {
7336
- StackSetId: undefined,
7337
- Region: undefined,
7338
- Account: undefined,
7339
- StackId: undefined,
7340
- Status: undefined,
7341
- StatusReason: undefined,
7342
- StackInstanceStatus: undefined,
7343
- OrganizationalUnitId: undefined,
7344
- DriftStatus: undefined,
7345
- LastDriftCheckTimestamp: undefined,
7346
- LastOperationId: undefined,
7347
- };
6938
+ const contents = {};
7348
6939
  if (output["StackSetId"] !== undefined) {
7349
6940
  contents.StackSetId = __expectString(output["StackSetId"]);
7350
6941
  }
@@ -7381,28 +6972,14 @@ const deserializeAws_queryStackInstanceSummary = (output, context) => {
7381
6972
  return contents;
7382
6973
  };
7383
6974
  const deserializeAws_queryStackNotFoundException = (output, context) => {
7384
- const contents = {
7385
- Message: undefined,
7386
- };
6975
+ const contents = {};
7387
6976
  if (output["Message"] !== undefined) {
7388
6977
  contents.Message = __expectString(output["Message"]);
7389
6978
  }
7390
6979
  return contents;
7391
6980
  };
7392
6981
  const deserializeAws_queryStackResource = (output, context) => {
7393
- const contents = {
7394
- StackName: undefined,
7395
- StackId: undefined,
7396
- LogicalResourceId: undefined,
7397
- PhysicalResourceId: undefined,
7398
- ResourceType: undefined,
7399
- Timestamp: undefined,
7400
- ResourceStatus: undefined,
7401
- ResourceStatusReason: undefined,
7402
- Description: undefined,
7403
- DriftInformation: undefined,
7404
- ModuleInfo: undefined,
7405
- };
6982
+ const contents = {};
7406
6983
  if (output["StackName"] !== undefined) {
7407
6984
  contents.StackName = __expectString(output["StackName"]);
7408
6985
  }
@@ -7439,20 +7016,7 @@ const deserializeAws_queryStackResource = (output, context) => {
7439
7016
  return contents;
7440
7017
  };
7441
7018
  const deserializeAws_queryStackResourceDetail = (output, context) => {
7442
- const contents = {
7443
- StackName: undefined,
7444
- StackId: undefined,
7445
- LogicalResourceId: undefined,
7446
- PhysicalResourceId: undefined,
7447
- ResourceType: undefined,
7448
- LastUpdatedTimestamp: undefined,
7449
- ResourceStatus: undefined,
7450
- ResourceStatusReason: undefined,
7451
- Description: undefined,
7452
- Metadata: undefined,
7453
- DriftInformation: undefined,
7454
- ModuleInfo: undefined,
7455
- };
7019
+ const contents = {};
7456
7020
  if (output["StackName"] !== undefined) {
7457
7021
  contents.StackName = __expectString(output["StackName"]);
7458
7022
  }
@@ -7492,19 +7056,7 @@ const deserializeAws_queryStackResourceDetail = (output, context) => {
7492
7056
  return contents;
7493
7057
  };
7494
7058
  const deserializeAws_queryStackResourceDrift = (output, context) => {
7495
- const contents = {
7496
- StackId: undefined,
7497
- LogicalResourceId: undefined,
7498
- PhysicalResourceId: undefined,
7499
- PhysicalResourceIdContext: undefined,
7500
- ResourceType: undefined,
7501
- ExpectedProperties: undefined,
7502
- ActualProperties: undefined,
7503
- PropertyDifferences: undefined,
7504
- StackResourceDriftStatus: undefined,
7505
- Timestamp: undefined,
7506
- ModuleInfo: undefined,
7507
- };
7059
+ const contents = {};
7508
7060
  if (output["StackId"] !== undefined) {
7509
7061
  contents.StackId = __expectString(output["StackId"]);
7510
7062
  }
@@ -7548,10 +7100,7 @@ const deserializeAws_queryStackResourceDrift = (output, context) => {
7548
7100
  return contents;
7549
7101
  };
7550
7102
  const deserializeAws_queryStackResourceDriftInformation = (output, context) => {
7551
- const contents = {
7552
- StackResourceDriftStatus: undefined,
7553
- LastCheckTimestamp: undefined,
7554
- };
7103
+ const contents = {};
7555
7104
  if (output["StackResourceDriftStatus"] !== undefined) {
7556
7105
  contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
7557
7106
  }
@@ -7561,10 +7110,7 @@ const deserializeAws_queryStackResourceDriftInformation = (output, context) => {
7561
7110
  return contents;
7562
7111
  };
7563
7112
  const deserializeAws_queryStackResourceDriftInformationSummary = (output, context) => {
7564
- const contents = {
7565
- StackResourceDriftStatus: undefined,
7566
- LastCheckTimestamp: undefined,
7567
- };
7113
+ const contents = {};
7568
7114
  if (output["StackResourceDriftStatus"] !== undefined) {
7569
7115
  contents.StackResourceDriftStatus = __expectString(output["StackResourceDriftStatus"]);
7570
7116
  }
@@ -7595,16 +7141,7 @@ const deserializeAws_queryStackResourceSummaries = (output, context) => {
7595
7141
  });
7596
7142
  };
7597
7143
  const deserializeAws_queryStackResourceSummary = (output, context) => {
7598
- const contents = {
7599
- LogicalResourceId: undefined,
7600
- PhysicalResourceId: undefined,
7601
- ResourceType: undefined,
7602
- LastUpdatedTimestamp: undefined,
7603
- ResourceStatus: undefined,
7604
- ResourceStatusReason: undefined,
7605
- DriftInformation: undefined,
7606
- ModuleInfo: undefined,
7607
- };
7144
+ const contents = {};
7608
7145
  if (output["LogicalResourceId"] !== undefined) {
7609
7146
  contents.LogicalResourceId = __expectString(output["LogicalResourceId"]);
7610
7147
  }
@@ -7639,25 +7176,7 @@ const deserializeAws_queryStacks = (output, context) => {
7639
7176
  });
7640
7177
  };
7641
7178
  const deserializeAws_queryStackSet = (output, context) => {
7642
- const contents = {
7643
- StackSetName: undefined,
7644
- StackSetId: undefined,
7645
- Description: undefined,
7646
- Status: undefined,
7647
- TemplateBody: undefined,
7648
- Parameters: undefined,
7649
- Capabilities: undefined,
7650
- Tags: undefined,
7651
- StackSetARN: undefined,
7652
- AdministrationRoleARN: undefined,
7653
- ExecutionRoleName: undefined,
7654
- StackSetDriftDetectionDetails: undefined,
7655
- AutoDeployment: undefined,
7656
- PermissionModel: undefined,
7657
- OrganizationalUnitIds: undefined,
7658
- ManagedExecution: undefined,
7659
- Regions: undefined,
7660
- };
7179
+ const contents = {};
7661
7180
  if (output["StackSetName"] !== undefined) {
7662
7181
  contents.StackSetName = __expectString(output["StackSetName"]);
7663
7182
  }
@@ -7727,16 +7246,7 @@ const deserializeAws_queryStackSet = (output, context) => {
7727
7246
  return contents;
7728
7247
  };
7729
7248
  const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
7730
- const contents = {
7731
- DriftStatus: undefined,
7732
- DriftDetectionStatus: undefined,
7733
- LastDriftCheckTimestamp: undefined,
7734
- TotalStackInstancesCount: undefined,
7735
- DriftedStackInstancesCount: undefined,
7736
- InSyncStackInstancesCount: undefined,
7737
- InProgressStackInstancesCount: undefined,
7738
- FailedStackInstancesCount: undefined,
7739
- };
7249
+ const contents = {};
7740
7250
  if (output["DriftStatus"] !== undefined) {
7741
7251
  contents.DriftStatus = __expectString(output["DriftStatus"]);
7742
7252
  }
@@ -7764,40 +7274,21 @@ const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
7764
7274
  return contents;
7765
7275
  };
7766
7276
  const deserializeAws_queryStackSetNotEmptyException = (output, context) => {
7767
- const contents = {
7768
- Message: undefined,
7769
- };
7277
+ const contents = {};
7770
7278
  if (output["Message"] !== undefined) {
7771
7279
  contents.Message = __expectString(output["Message"]);
7772
7280
  }
7773
7281
  return contents;
7774
7282
  };
7775
7283
  const deserializeAws_queryStackSetNotFoundException = (output, context) => {
7776
- const contents = {
7777
- Message: undefined,
7778
- };
7284
+ const contents = {};
7779
7285
  if (output["Message"] !== undefined) {
7780
7286
  contents.Message = __expectString(output["Message"]);
7781
7287
  }
7782
7288
  return contents;
7783
7289
  };
7784
7290
  const deserializeAws_queryStackSetOperation = (output, context) => {
7785
- const contents = {
7786
- OperationId: undefined,
7787
- StackSetId: undefined,
7788
- Action: undefined,
7789
- Status: undefined,
7790
- OperationPreferences: undefined,
7791
- RetainStacks: undefined,
7792
- AdministrationRoleARN: undefined,
7793
- ExecutionRoleName: undefined,
7794
- CreationTimestamp: undefined,
7795
- EndTimestamp: undefined,
7796
- DeploymentTargets: undefined,
7797
- StackSetDriftDetectionDetails: undefined,
7798
- StatusReason: undefined,
7799
- StatusDetails: undefined,
7800
- };
7291
+ const contents = {};
7801
7292
  if (output["OperationId"] !== undefined) {
7802
7293
  contents.OperationId = __expectString(output["OperationId"]);
7803
7294
  }
@@ -7843,14 +7334,7 @@ const deserializeAws_queryStackSetOperation = (output, context) => {
7843
7334
  return contents;
7844
7335
  };
7845
7336
  const deserializeAws_queryStackSetOperationPreferences = (output, context) => {
7846
- const contents = {
7847
- RegionConcurrencyType: undefined,
7848
- RegionOrder: undefined,
7849
- FailureToleranceCount: undefined,
7850
- FailureTolerancePercentage: undefined,
7851
- MaxConcurrentCount: undefined,
7852
- MaxConcurrentPercentage: undefined,
7853
- };
7337
+ const contents = {};
7854
7338
  if (output["RegionConcurrencyType"] !== undefined) {
7855
7339
  contents.RegionConcurrencyType = __expectString(output["RegionConcurrencyType"]);
7856
7340
  }
@@ -7882,14 +7366,7 @@ const deserializeAws_queryStackSetOperationResultSummaries = (output, context) =
7882
7366
  });
7883
7367
  };
7884
7368
  const deserializeAws_queryStackSetOperationResultSummary = (output, context) => {
7885
- const contents = {
7886
- Account: undefined,
7887
- Region: undefined,
7888
- Status: undefined,
7889
- StatusReason: undefined,
7890
- AccountGateResult: undefined,
7891
- OrganizationalUnitId: undefined,
7892
- };
7369
+ const contents = {};
7893
7370
  if (output["Account"] !== undefined) {
7894
7371
  contents.Account = __expectString(output["Account"]);
7895
7372
  }
@@ -7911,9 +7388,7 @@ const deserializeAws_queryStackSetOperationResultSummary = (output, context) =>
7911
7388
  return contents;
7912
7389
  };
7913
7390
  const deserializeAws_queryStackSetOperationStatusDetails = (output, context) => {
7914
- const contents = {
7915
- FailedStackInstancesCount: undefined,
7916
- };
7391
+ const contents = {};
7917
7392
  if (output["FailedStackInstancesCount"] !== undefined) {
7918
7393
  contents.FailedStackInstancesCount = __strictParseInt32(output["FailedStackInstancesCount"]);
7919
7394
  }
@@ -7927,16 +7402,7 @@ const deserializeAws_queryStackSetOperationSummaries = (output, context) => {
7927
7402
  });
7928
7403
  };
7929
7404
  const deserializeAws_queryStackSetOperationSummary = (output, context) => {
7930
- const contents = {
7931
- OperationId: undefined,
7932
- Action: undefined,
7933
- Status: undefined,
7934
- CreationTimestamp: undefined,
7935
- EndTimestamp: undefined,
7936
- StatusReason: undefined,
7937
- StatusDetails: undefined,
7938
- OperationPreferences: undefined,
7939
- };
7405
+ const contents = {};
7940
7406
  if (output["OperationId"] !== undefined) {
7941
7407
  contents.OperationId = __expectString(output["OperationId"]);
7942
7408
  }
@@ -7971,17 +7437,7 @@ const deserializeAws_queryStackSetSummaries = (output, context) => {
7971
7437
  });
7972
7438
  };
7973
7439
  const deserializeAws_queryStackSetSummary = (output, context) => {
7974
- const contents = {
7975
- StackSetName: undefined,
7976
- StackSetId: undefined,
7977
- Description: undefined,
7978
- Status: undefined,
7979
- AutoDeployment: undefined,
7980
- PermissionModel: undefined,
7981
- DriftStatus: undefined,
7982
- LastDriftCheckTimestamp: undefined,
7983
- ManagedExecution: undefined,
7984
- };
7440
+ const contents = {};
7985
7441
  if (output["StackSetName"] !== undefined) {
7986
7442
  contents.StackSetName = __expectString(output["StackSetName"]);
7987
7443
  }
@@ -8019,19 +7475,7 @@ const deserializeAws_queryStackSummaries = (output, context) => {
8019
7475
  });
8020
7476
  };
8021
7477
  const deserializeAws_queryStackSummary = (output, context) => {
8022
- const contents = {
8023
- StackId: undefined,
8024
- StackName: undefined,
8025
- TemplateDescription: undefined,
8026
- CreationTime: undefined,
8027
- LastUpdatedTime: undefined,
8028
- DeletionTime: undefined,
8029
- StackStatus: undefined,
8030
- StackStatusReason: undefined,
8031
- ParentId: undefined,
8032
- RootId: undefined,
8033
- DriftInformation: undefined,
8034
- };
7478
+ const contents = {};
8035
7479
  if (output["StackId"] !== undefined) {
8036
7480
  contents.StackId = __expectString(output["StackId"]);
8037
7481
  }
@@ -8075,9 +7519,7 @@ const deserializeAws_queryStageList = (output, context) => {
8075
7519
  });
8076
7520
  };
8077
7521
  const deserializeAws_queryStaleRequestException = (output, context) => {
8078
- const contents = {
8079
- Message: undefined,
8080
- };
7522
+ const contents = {};
8081
7523
  if (output["Message"] !== undefined) {
8082
7524
  contents.Message = __expectString(output["Message"]);
8083
7525
  }
@@ -8095,10 +7537,7 @@ const deserializeAws_querySupportedMajorVersions = (output, context) => {
8095
7537
  });
8096
7538
  };
8097
7539
  const deserializeAws_queryTag = (output, context) => {
8098
- const contents = {
8099
- Key: undefined,
8100
- Value: undefined,
8101
- };
7540
+ const contents = {};
8102
7541
  if (output["Key"] !== undefined) {
8103
7542
  contents.Key = __expectString(output["Key"]);
8104
7543
  }
@@ -8115,12 +7554,7 @@ const deserializeAws_queryTags = (output, context) => {
8115
7554
  });
8116
7555
  };
8117
7556
  const deserializeAws_queryTemplateParameter = (output, context) => {
8118
- const contents = {
8119
- ParameterKey: undefined,
8120
- DefaultValue: undefined,
8121
- NoEcho: undefined,
8122
- Description: undefined,
8123
- };
7557
+ const contents = {};
8124
7558
  if (output["ParameterKey"] !== undefined) {
8125
7559
  contents.ParameterKey = __expectString(output["ParameterKey"]);
8126
7560
  }
@@ -8143,18 +7577,14 @@ const deserializeAws_queryTemplateParameters = (output, context) => {
8143
7577
  });
8144
7578
  };
8145
7579
  const deserializeAws_queryTestTypeOutput = (output, context) => {
8146
- const contents = {
8147
- TypeVersionArn: undefined,
8148
- };
7580
+ const contents = {};
8149
7581
  if (output["TypeVersionArn"] !== undefined) {
8150
7582
  contents.TypeVersionArn = __expectString(output["TypeVersionArn"]);
8151
7583
  }
8152
7584
  return contents;
8153
7585
  };
8154
7586
  const deserializeAws_queryTokenAlreadyExistsException = (output, context) => {
8155
- const contents = {
8156
- Message: undefined,
8157
- };
7587
+ const contents = {};
8158
7588
  if (output["Message"] !== undefined) {
8159
7589
  contents.Message = __expectString(output["Message"]);
8160
7590
  }
@@ -8168,15 +7598,7 @@ const deserializeAws_queryTransformsList = (output, context) => {
8168
7598
  });
8169
7599
  };
8170
7600
  const deserializeAws_queryTypeConfigurationDetails = (output, context) => {
8171
- const contents = {
8172
- Arn: undefined,
8173
- Alias: undefined,
8174
- Configuration: undefined,
8175
- LastUpdated: undefined,
8176
- TypeArn: undefined,
8177
- TypeName: undefined,
8178
- IsDefaultConfiguration: undefined,
8179
- };
7601
+ const contents = {};
8180
7602
  if (output["Arn"] !== undefined) {
8181
7603
  contents.Arn = __expectString(output["Arn"]);
8182
7604
  }
@@ -8208,13 +7630,7 @@ const deserializeAws_queryTypeConfigurationDetailsList = (output, context) => {
8208
7630
  });
8209
7631
  };
8210
7632
  const deserializeAws_queryTypeConfigurationIdentifier = (output, context) => {
8211
- const contents = {
8212
- TypeArn: undefined,
8213
- TypeConfigurationAlias: undefined,
8214
- TypeConfigurationArn: undefined,
8215
- Type: undefined,
8216
- TypeName: undefined,
8217
- };
7633
+ const contents = {};
8218
7634
  if (output["TypeArn"] !== undefined) {
8219
7635
  contents.TypeArn = __expectString(output["TypeArn"]);
8220
7636
  }
@@ -8233,18 +7649,14 @@ const deserializeAws_queryTypeConfigurationIdentifier = (output, context) => {
8233
7649
  return contents;
8234
7650
  };
8235
7651
  const deserializeAws_queryTypeConfigurationNotFoundException = (output, context) => {
8236
- const contents = {
8237
- Message: undefined,
8238
- };
7652
+ const contents = {};
8239
7653
  if (output["Message"] !== undefined) {
8240
7654
  contents.Message = __expectString(output["Message"]);
8241
7655
  }
8242
7656
  return contents;
8243
7657
  };
8244
7658
  const deserializeAws_queryTypeNotFoundException = (output, context) => {
8245
- const contents = {
8246
- Message: undefined,
8247
- };
7659
+ const contents = {};
8248
7660
  if (output["Message"] !== undefined) {
8249
7661
  contents.Message = __expectString(output["Message"]);
8250
7662
  }
@@ -8258,21 +7670,7 @@ const deserializeAws_queryTypeSummaries = (output, context) => {
8258
7670
  });
8259
7671
  };
8260
7672
  const deserializeAws_queryTypeSummary = (output, context) => {
8261
- const contents = {
8262
- Type: undefined,
8263
- TypeName: undefined,
8264
- DefaultVersionId: undefined,
8265
- TypeArn: undefined,
8266
- LastUpdated: undefined,
8267
- Description: undefined,
8268
- PublisherId: undefined,
8269
- OriginalTypeName: undefined,
8270
- PublicVersionNumber: undefined,
8271
- LatestPublicVersion: undefined,
8272
- PublisherIdentity: undefined,
8273
- PublisherName: undefined,
8274
- IsActivated: undefined,
8275
- };
7673
+ const contents = {};
8276
7674
  if (output["Type"] !== undefined) {
8277
7675
  contents.Type = __expectString(output["Type"]);
8278
7676
  }
@@ -8322,16 +7720,7 @@ const deserializeAws_queryTypeVersionSummaries = (output, context) => {
8322
7720
  });
8323
7721
  };
8324
7722
  const deserializeAws_queryTypeVersionSummary = (output, context) => {
8325
- const contents = {
8326
- Type: undefined,
8327
- TypeName: undefined,
8328
- VersionId: undefined,
8329
- IsDefaultVersion: undefined,
8330
- Arn: undefined,
8331
- TimeCreated: undefined,
8332
- Description: undefined,
8333
- PublicVersionNumber: undefined,
8334
- };
7723
+ const contents = {};
8335
7724
  if (output["Type"] !== undefined) {
8336
7725
  contents.Type = __expectString(output["Type"]);
8337
7726
  }
@@ -8366,49 +7755,35 @@ const deserializeAws_queryUnprocessedTypeConfigurations = (output, context) => {
8366
7755
  });
8367
7756
  };
8368
7757
  const deserializeAws_queryUpdateStackInstancesOutput = (output, context) => {
8369
- const contents = {
8370
- OperationId: undefined,
8371
- };
7758
+ const contents = {};
8372
7759
  if (output["OperationId"] !== undefined) {
8373
7760
  contents.OperationId = __expectString(output["OperationId"]);
8374
7761
  }
8375
7762
  return contents;
8376
7763
  };
8377
7764
  const deserializeAws_queryUpdateStackOutput = (output, context) => {
8378
- const contents = {
8379
- StackId: undefined,
8380
- };
7765
+ const contents = {};
8381
7766
  if (output["StackId"] !== undefined) {
8382
7767
  contents.StackId = __expectString(output["StackId"]);
8383
7768
  }
8384
7769
  return contents;
8385
7770
  };
8386
7771
  const deserializeAws_queryUpdateStackSetOutput = (output, context) => {
8387
- const contents = {
8388
- OperationId: undefined,
8389
- };
7772
+ const contents = {};
8390
7773
  if (output["OperationId"] !== undefined) {
8391
7774
  contents.OperationId = __expectString(output["OperationId"]);
8392
7775
  }
8393
7776
  return contents;
8394
7777
  };
8395
7778
  const deserializeAws_queryUpdateTerminationProtectionOutput = (output, context) => {
8396
- const contents = {
8397
- StackId: undefined,
8398
- };
7779
+ const contents = {};
8399
7780
  if (output["StackId"] !== undefined) {
8400
7781
  contents.StackId = __expectString(output["StackId"]);
8401
7782
  }
8402
7783
  return contents;
8403
7784
  };
8404
7785
  const deserializeAws_queryValidateTemplateOutput = (output, context) => {
8405
- const contents = {
8406
- Parameters: undefined,
8407
- Description: undefined,
8408
- Capabilities: undefined,
8409
- CapabilitiesReason: undefined,
8410
- DeclaredTransforms: undefined,
8411
- };
7786
+ const contents = {};
8412
7787
  if (output.Parameters === "") {
8413
7788
  contents.Parameters = [];
8414
7789
  }