@aws-sdk/client-ssm 3.121.0 → 3.127.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.
@@ -10964,14 +10964,13 @@ var serializeAws_json1_1Accounts = function (input, context) {
10964
10964
  });
10965
10965
  };
10966
10966
  var serializeAws_json1_1AddTagsToResourceRequest = function (input, context) {
10967
- return __assign(__assign(__assign({}, (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
10967
+ return __assign(__assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
10968
10968
  };
10969
10969
  var serializeAws_json1_1AssociateOpsItemRelatedItemRequest = function (input, context) {
10970
- return __assign(__assign(__assign(__assign({}, (input.AssociationType !== undefined &&
10971
- input.AssociationType !== null && { AssociationType: input.AssociationType })), (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.ResourceUri !== undefined && input.ResourceUri !== null && { ResourceUri: input.ResourceUri }));
10970
+ return __assign(__assign(__assign(__assign({}, (input.AssociationType != null && { AssociationType: input.AssociationType })), (input.OpsItemId != null && { OpsItemId: input.OpsItemId })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.ResourceUri != null && { ResourceUri: input.ResourceUri }));
10972
10971
  };
10973
10972
  var serializeAws_json1_1AssociationExecutionFilter = function (input, context) {
10974
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
10973
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
10975
10974
  };
10976
10975
  var serializeAws_json1_1AssociationExecutionFilterList = function (input, context) {
10977
10976
  return input
@@ -10984,7 +10983,7 @@ var serializeAws_json1_1AssociationExecutionFilterList = function (input, contex
10984
10983
  });
10985
10984
  };
10986
10985
  var serializeAws_json1_1AssociationExecutionTargetsFilter = function (input, context) {
10987
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
10986
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
10988
10987
  };
10989
10988
  var serializeAws_json1_1AssociationExecutionTargetsFilterList = function (input, context) {
10990
10989
  return input
@@ -10997,7 +10996,7 @@ var serializeAws_json1_1AssociationExecutionTargetsFilterList = function (input,
10997
10996
  });
10998
10997
  };
10999
10998
  var serializeAws_json1_1AssociationFilter = function (input, context) {
11000
- return __assign(__assign({}, (input.key !== undefined && input.key !== null && { key: input.key })), (input.value !== undefined && input.value !== null && { value: input.value }));
10999
+ return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
11001
11000
  };
11002
11001
  var serializeAws_json1_1AssociationFilterList = function (input, context) {
11003
11002
  return input
@@ -11020,12 +11019,10 @@ var serializeAws_json1_1AssociationIdList = function (input, context) {
11020
11019
  });
11021
11020
  };
11022
11021
  var serializeAws_json1_1AssociationStatus = function (input, context) {
11023
- return __assign(__assign(__assign(__assign({}, (input.AdditionalInfo !== undefined &&
11024
- input.AdditionalInfo !== null && { AdditionalInfo: input.AdditionalInfo })), (input.Date !== undefined && input.Date !== null && { Date: Math.round(input.Date.getTime() / 1000) })), (input.Message !== undefined && input.Message !== null && { Message: input.Message })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
11022
+ return __assign(__assign(__assign(__assign({}, (input.AdditionalInfo != null && { AdditionalInfo: input.AdditionalInfo })), (input.Date != null && { Date: Math.round(input.Date.getTime() / 1000) })), (input.Message != null && { Message: input.Message })), (input.Name != null && { Name: input.Name }));
11025
11023
  };
11026
11024
  var serializeAws_json1_1AttachmentsSource = function (input, context) {
11027
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
11028
- input.Values !== null && { Values: serializeAws_json1_1AttachmentsSourceValues(input.Values, context) }));
11025
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1AttachmentsSourceValues(input.Values, context) }));
11029
11026
  };
11030
11027
  var serializeAws_json1_1AttachmentsSourceList = function (input, context) {
11031
11028
  return input
@@ -11048,8 +11045,7 @@ var serializeAws_json1_1AttachmentsSourceValues = function (input, context) {
11048
11045
  });
11049
11046
  };
11050
11047
  var serializeAws_json1_1AutomationExecutionFilter = function (input, context) {
11051
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
11052
- input.Values !== null && {
11048
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && {
11053
11049
  Values: serializeAws_json1_1AutomationExecutionFilterValueList(input.Values, context),
11054
11050
  }));
11055
11051
  };
@@ -11094,28 +11090,19 @@ var serializeAws_json1_1AutomationParameterValueList = function (input, context)
11094
11090
  });
11095
11091
  };
11096
11092
  var serializeAws_json1_1BaselineOverride = function (input, context) {
11097
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApprovalRules !== undefined &&
11098
- input.ApprovalRules !== null && {
11093
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApprovalRules != null && {
11099
11094
  ApprovalRules: serializeAws_json1_1PatchRuleGroup(input.ApprovalRules, context),
11100
- })), (input.ApprovedPatches !== undefined &&
11101
- input.ApprovedPatches !== null && {
11095
+ })), (input.ApprovedPatches != null && {
11102
11096
  ApprovedPatches: serializeAws_json1_1PatchIdList(input.ApprovedPatches, context),
11103
- })), (input.ApprovedPatchesComplianceLevel !== undefined &&
11104
- input.ApprovedPatchesComplianceLevel !== null && {
11097
+ })), (input.ApprovedPatchesComplianceLevel != null && {
11105
11098
  ApprovedPatchesComplianceLevel: input.ApprovedPatchesComplianceLevel,
11106
- })), (input.ApprovedPatchesEnableNonSecurity !== undefined &&
11107
- input.ApprovedPatchesEnableNonSecurity !== null && {
11099
+ })), (input.ApprovedPatchesEnableNonSecurity != null && {
11108
11100
  ApprovedPatchesEnableNonSecurity: input.ApprovedPatchesEnableNonSecurity,
11109
- })), (input.GlobalFilters !== undefined &&
11110
- input.GlobalFilters !== null && {
11101
+ })), (input.GlobalFilters != null && {
11111
11102
  GlobalFilters: serializeAws_json1_1PatchFilterGroup(input.GlobalFilters, context),
11112
- })), (input.OperatingSystem !== undefined &&
11113
- input.OperatingSystem !== null && { OperatingSystem: input.OperatingSystem })), (input.RejectedPatches !== undefined &&
11114
- input.RejectedPatches !== null && {
11103
+ })), (input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem })), (input.RejectedPatches != null && {
11115
11104
  RejectedPatches: serializeAws_json1_1PatchIdList(input.RejectedPatches, context),
11116
- })), (input.RejectedPatchesAction !== undefined &&
11117
- input.RejectedPatchesAction !== null && { RejectedPatchesAction: input.RejectedPatchesAction })), (input.Sources !== undefined &&
11118
- input.Sources !== null && { Sources: serializeAws_json1_1PatchSourceList(input.Sources, context) }));
11105
+ })), (input.RejectedPatchesAction != null && { RejectedPatchesAction: input.RejectedPatchesAction })), (input.Sources != null && { Sources: serializeAws_json1_1PatchSourceList(input.Sources, context) }));
11119
11106
  };
11120
11107
  var serializeAws_json1_1CalendarNameOrARNList = function (input, context) {
11121
11108
  return input
@@ -11128,20 +11115,16 @@ var serializeAws_json1_1CalendarNameOrARNList = function (input, context) {
11128
11115
  });
11129
11116
  };
11130
11117
  var serializeAws_json1_1CancelCommandRequest = function (input, context) {
11131
- return __assign(__assign({}, (input.CommandId !== undefined && input.CommandId !== null && { CommandId: input.CommandId })), (input.InstanceIds !== undefined &&
11132
- input.InstanceIds !== null && { InstanceIds: serializeAws_json1_1InstanceIdList(input.InstanceIds, context) }));
11118
+ return __assign(__assign({}, (input.CommandId != null && { CommandId: input.CommandId })), (input.InstanceIds != null && { InstanceIds: serializeAws_json1_1InstanceIdList(input.InstanceIds, context) }));
11133
11119
  };
11134
11120
  var serializeAws_json1_1CancelMaintenanceWindowExecutionRequest = function (input, context) {
11135
- return __assign({}, (input.WindowExecutionId !== undefined &&
11136
- input.WindowExecutionId !== null && { WindowExecutionId: input.WindowExecutionId }));
11121
+ return __assign({}, (input.WindowExecutionId != null && { WindowExecutionId: input.WindowExecutionId }));
11137
11122
  };
11138
11123
  var serializeAws_json1_1CloudWatchOutputConfig = function (input, context) {
11139
- return __assign(__assign({}, (input.CloudWatchLogGroupName !== undefined &&
11140
- input.CloudWatchLogGroupName !== null && { CloudWatchLogGroupName: input.CloudWatchLogGroupName })), (input.CloudWatchOutputEnabled !== undefined &&
11141
- input.CloudWatchOutputEnabled !== null && { CloudWatchOutputEnabled: input.CloudWatchOutputEnabled }));
11124
+ return __assign(__assign({}, (input.CloudWatchLogGroupName != null && { CloudWatchLogGroupName: input.CloudWatchLogGroupName })), (input.CloudWatchOutputEnabled != null && { CloudWatchOutputEnabled: input.CloudWatchOutputEnabled }));
11142
11125
  };
11143
11126
  var serializeAws_json1_1CommandFilter = function (input, context) {
11144
- return __assign(__assign({}, (input.key !== undefined && input.key !== null && { key: input.key })), (input.value !== undefined && input.value !== null && { value: input.value }));
11127
+ return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
11145
11128
  };
11146
11129
  var serializeAws_json1_1CommandFilterList = function (input, context) {
11147
11130
  return input
@@ -11154,8 +11137,7 @@ var serializeAws_json1_1CommandFilterList = function (input, context) {
11154
11137
  });
11155
11138
  };
11156
11139
  var serializeAws_json1_1ComplianceExecutionSummary = function (input, context) {
11157
- return __assign(__assign(__assign({}, (input.ExecutionId !== undefined && input.ExecutionId !== null && { ExecutionId: input.ExecutionId })), (input.ExecutionTime !== undefined &&
11158
- input.ExecutionTime !== null && { ExecutionTime: Math.round(input.ExecutionTime.getTime() / 1000) })), (input.ExecutionType !== undefined && input.ExecutionType !== null && { ExecutionType: input.ExecutionType }));
11140
+ return __assign(__assign(__assign({}, (input.ExecutionId != null && { ExecutionId: input.ExecutionId })), (input.ExecutionTime != null && { ExecutionTime: Math.round(input.ExecutionTime.getTime() / 1000) })), (input.ExecutionType != null && { ExecutionType: input.ExecutionType }));
11159
11141
  };
11160
11142
  var serializeAws_json1_1ComplianceItemDetails = function (input, context) {
11161
11143
  return Object.entries(input).reduce(function (acc, _a) {
@@ -11168,8 +11150,7 @@ var serializeAws_json1_1ComplianceItemDetails = function (input, context) {
11168
11150
  }, {});
11169
11151
  };
11170
11152
  var serializeAws_json1_1ComplianceItemEntry = function (input, context) {
11171
- return __assign(__assign(__assign(__assign(__assign({}, (input.Details !== undefined &&
11172
- input.Details !== null && { Details: serializeAws_json1_1ComplianceItemDetails(input.Details, context) })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.Severity !== undefined && input.Severity !== null && { Severity: input.Severity })), (input.Status !== undefined && input.Status !== null && { Status: input.Status })), (input.Title !== undefined && input.Title !== null && { Title: input.Title }));
11153
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Details != null && { Details: serializeAws_json1_1ComplianceItemDetails(input.Details, context) })), (input.Id != null && { Id: input.Id })), (input.Severity != null && { Severity: input.Severity })), (input.Status != null && { Status: input.Status })), (input.Title != null && { Title: input.Title }));
11173
11154
  };
11174
11155
  var serializeAws_json1_1ComplianceItemEntryList = function (input, context) {
11175
11156
  return input
@@ -11202,8 +11183,7 @@ var serializeAws_json1_1ComplianceResourceTypeList = function (input, context) {
11202
11183
  });
11203
11184
  };
11204
11185
  var serializeAws_json1_1ComplianceStringFilter = function (input, context) {
11205
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Values !== undefined &&
11206
- input.Values !== null && { Values: serializeAws_json1_1ComplianceStringFilterValueList(input.Values, context) }));
11186
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Values != null && { Values: serializeAws_json1_1ComplianceStringFilterValueList(input.Values, context) }));
11207
11187
  };
11208
11188
  var serializeAws_json1_1ComplianceStringFilterList = function (input, context) {
11209
11189
  return input
@@ -11226,17 +11206,12 @@ var serializeAws_json1_1ComplianceStringFilterValueList = function (input, conte
11226
11206
  });
11227
11207
  };
11228
11208
  var serializeAws_json1_1CreateActivationRequest = function (input, context) {
11229
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DefaultInstanceName !== undefined &&
11230
- input.DefaultInstanceName !== null && { DefaultInstanceName: input.DefaultInstanceName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.ExpirationDate !== undefined &&
11231
- input.ExpirationDate !== null && { ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000) })), (input.IamRole !== undefined && input.IamRole !== null && { IamRole: input.IamRole })), (input.RegistrationLimit !== undefined &&
11232
- input.RegistrationLimit !== null && { RegistrationLimit: input.RegistrationLimit })), (input.RegistrationMetadata !== undefined &&
11233
- input.RegistrationMetadata !== null && {
11209
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DefaultInstanceName != null && { DefaultInstanceName: input.DefaultInstanceName })), (input.Description != null && { Description: input.Description })), (input.ExpirationDate != null && { ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000) })), (input.IamRole != null && { IamRole: input.IamRole })), (input.RegistrationLimit != null && { RegistrationLimit: input.RegistrationLimit })), (input.RegistrationMetadata != null && {
11234
11210
  RegistrationMetadata: serializeAws_json1_1RegistrationMetadataList(input.RegistrationMetadata, context),
11235
- })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11211
+ })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11236
11212
  };
11237
11213
  var serializeAws_json1_1CreateAssociationBatchRequest = function (input, context) {
11238
- return __assign({}, (input.Entries !== undefined &&
11239
- input.Entries !== null && {
11214
+ return __assign({}, (input.Entries != null && {
11240
11215
  Entries: serializeAws_json1_1CreateAssociationBatchRequestEntries(input.Entries, context),
11241
11216
  }));
11242
11217
  };
@@ -11251,177 +11226,116 @@ var serializeAws_json1_1CreateAssociationBatchRequestEntries = function (input,
11251
11226
  });
11252
11227
  };
11253
11228
  var serializeAws_json1_1CreateAssociationBatchRequestEntry = function (input, context) {
11254
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
11255
- input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName !== undefined &&
11256
- input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName !== undefined &&
11257
- input.AutomationTargetParameterName !== null && {
11229
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval != null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName != null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName != null && {
11258
11230
  AutomationTargetParameterName: input.AutomationTargetParameterName,
11259
- })), (input.CalendarNames !== undefined &&
11260
- input.CalendarNames !== null && {
11231
+ })), (input.CalendarNames != null && {
11261
11232
  CalendarNames: serializeAws_json1_1CalendarNameOrARNList(input.CalendarNames, context),
11262
- })), (input.ComplianceSeverity !== undefined &&
11263
- input.ComplianceSeverity !== null && { ComplianceSeverity: input.ComplianceSeverity })), (input.DocumentVersion !== undefined &&
11264
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxConcurrency !== undefined &&
11265
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OutputLocation !== undefined &&
11266
- input.OutputLocation !== null && {
11233
+ })), (input.ComplianceSeverity != null && { ComplianceSeverity: input.ComplianceSeverity })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Name != null && { Name: input.Name })), (input.OutputLocation != null && {
11267
11234
  OutputLocation: serializeAws_json1_1InstanceAssociationOutputLocation(input.OutputLocation, context),
11268
- })), (input.Parameters !== undefined &&
11269
- input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression !== undefined &&
11270
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset !== undefined &&
11271
- input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance !== undefined &&
11272
- input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
11273
- input.TargetLocations !== null && {
11235
+ })), (input.Parameters != null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance != null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations != null && {
11274
11236
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
11275
- })), (input.TargetMaps !== undefined &&
11276
- input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets !== undefined &&
11277
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11237
+ })), (input.TargetMaps != null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11278
11238
  };
11279
11239
  var serializeAws_json1_1CreateAssociationRequest = function (input, context) {
11280
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
11281
- input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName !== undefined &&
11282
- input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName !== undefined &&
11283
- input.AutomationTargetParameterName !== null && {
11240
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval != null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName != null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName != null && {
11284
11241
  AutomationTargetParameterName: input.AutomationTargetParameterName,
11285
- })), (input.CalendarNames !== undefined &&
11286
- input.CalendarNames !== null && {
11242
+ })), (input.CalendarNames != null && {
11287
11243
  CalendarNames: serializeAws_json1_1CalendarNameOrARNList(input.CalendarNames, context),
11288
- })), (input.ComplianceSeverity !== undefined &&
11289
- input.ComplianceSeverity !== null && { ComplianceSeverity: input.ComplianceSeverity })), (input.DocumentVersion !== undefined &&
11290
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxConcurrency !== undefined &&
11291
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OutputLocation !== undefined &&
11292
- input.OutputLocation !== null && {
11244
+ })), (input.ComplianceSeverity != null && { ComplianceSeverity: input.ComplianceSeverity })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Name != null && { Name: input.Name })), (input.OutputLocation != null && {
11293
11245
  OutputLocation: serializeAws_json1_1InstanceAssociationOutputLocation(input.OutputLocation, context),
11294
- })), (input.Parameters !== undefined &&
11295
- input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression !== undefined &&
11296
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset !== undefined &&
11297
- input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance !== undefined &&
11298
- input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
11299
- input.TargetLocations !== null && {
11246
+ })), (input.Parameters != null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance != null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations != null && {
11300
11247
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
11301
- })), (input.TargetMaps !== undefined &&
11302
- input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets !== undefined &&
11303
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11248
+ })), (input.TargetMaps != null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11304
11249
  };
11305
11250
  var serializeAws_json1_1CreateDocumentRequest = function (input, context) {
11306
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attachments !== undefined &&
11307
- input.Attachments !== null && {
11251
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attachments != null && {
11308
11252
  Attachments: serializeAws_json1_1AttachmentsSourceList(input.Attachments, context),
11309
- })), (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DocumentFormat !== undefined &&
11310
- input.DocumentFormat !== null && { DocumentFormat: input.DocumentFormat })), (input.DocumentType !== undefined && input.DocumentType !== null && { DocumentType: input.DocumentType })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Requires !== undefined &&
11311
- input.Requires !== null && { Requires: serializeAws_json1_1DocumentRequiresList(input.Requires, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetType !== undefined && input.TargetType !== null && { TargetType: input.TargetType })), (input.VersionName !== undefined && input.VersionName !== null && { VersionName: input.VersionName }));
11253
+ })), (input.Content != null && { Content: input.Content })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DocumentFormat != null && { DocumentFormat: input.DocumentFormat })), (input.DocumentType != null && { DocumentType: input.DocumentType })), (input.Name != null && { Name: input.Name })), (input.Requires != null && { Requires: serializeAws_json1_1DocumentRequiresList(input.Requires, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetType != null && { TargetType: input.TargetType })), (input.VersionName != null && { VersionName: input.VersionName }));
11312
11254
  };
11313
11255
  var serializeAws_json1_1CreateMaintenanceWindowRequest = function (input, context) {
11314
11256
  var _a;
11315
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowUnassociatedTargets !== undefined &&
11316
- input.AllowUnassociatedTargets !== null && { AllowUnassociatedTargets: input.AllowUnassociatedTargets })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Cutoff !== undefined && input.Cutoff !== null && { Cutoff: input.Cutoff })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Duration !== undefined && input.Duration !== null && { Duration: input.Duration })), (input.EndDate !== undefined && input.EndDate !== null && { EndDate: input.EndDate })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Schedule !== undefined && input.Schedule !== null && { Schedule: input.Schedule })), (input.ScheduleOffset !== undefined &&
11317
- input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.ScheduleTimezone !== undefined &&
11318
- input.ScheduleTimezone !== null && { ScheduleTimezone: input.ScheduleTimezone })), (input.StartDate !== undefined && input.StartDate !== null && { StartDate: input.StartDate })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11257
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowUnassociatedTargets != null && { AllowUnassociatedTargets: input.AllowUnassociatedTargets })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Cutoff != null && { Cutoff: input.Cutoff })), (input.Description != null && { Description: input.Description })), (input.Duration != null && { Duration: input.Duration })), (input.EndDate != null && { EndDate: input.EndDate })), (input.Name != null && { Name: input.Name })), (input.Schedule != null && { Schedule: input.Schedule })), (input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset })), (input.ScheduleTimezone != null && { ScheduleTimezone: input.ScheduleTimezone })), (input.StartDate != null && { StartDate: input.StartDate })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11319
11258
  };
11320
11259
  var serializeAws_json1_1CreateOpsItemRequest = function (input, context) {
11321
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActualEndTime !== undefined &&
11322
- input.ActualEndTime !== null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) })), (input.ActualStartTime !== undefined &&
11323
- input.ActualStartTime !== null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) })), (input.Category !== undefined && input.Category !== null && { Category: input.Category })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Notifications !== undefined &&
11324
- input.Notifications !== null && {
11260
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) })), (input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) })), (input.Category != null && { Category: input.Category })), (input.Description != null && { Description: input.Description })), (input.Notifications != null && {
11325
11261
  Notifications: serializeAws_json1_1OpsItemNotifications(input.Notifications, context),
11326
- })), (input.OperationalData !== undefined &&
11327
- input.OperationalData !== null && {
11262
+ })), (input.OperationalData != null && {
11328
11263
  OperationalData: serializeAws_json1_1OpsItemOperationalData(input.OperationalData, context),
11329
- })), (input.OpsItemType !== undefined && input.OpsItemType !== null && { OpsItemType: input.OpsItemType })), (input.PlannedEndTime !== undefined &&
11330
- input.PlannedEndTime !== null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) })), (input.PlannedStartTime !== undefined &&
11331
- input.PlannedStartTime !== null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.RelatedOpsItems !== undefined &&
11332
- input.RelatedOpsItems !== null && {
11264
+ })), (input.OpsItemType != null && { OpsItemType: input.OpsItemType })), (input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) })), (input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) })), (input.Priority != null && { Priority: input.Priority })), (input.RelatedOpsItems != null && {
11333
11265
  RelatedOpsItems: serializeAws_json1_1RelatedOpsItems(input.RelatedOpsItems, context),
11334
- })), (input.Severity !== undefined && input.Severity !== null && { Severity: input.Severity })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Title !== undefined && input.Title !== null && { Title: input.Title }));
11266
+ })), (input.Severity != null && { Severity: input.Severity })), (input.Source != null && { Source: input.Source })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Title != null && { Title: input.Title }));
11335
11267
  };
11336
11268
  var serializeAws_json1_1CreateOpsMetadataRequest = function (input, context) {
11337
- return __assign(__assign(__assign({}, (input.Metadata !== undefined &&
11338
- input.Metadata !== null && { Metadata: serializeAws_json1_1MetadataMap(input.Metadata, context) })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11269
+ return __assign(__assign(__assign({}, (input.Metadata != null && { Metadata: serializeAws_json1_1MetadataMap(input.Metadata, context) })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11339
11270
  };
11340
11271
  var serializeAws_json1_1CreatePatchBaselineRequest = function (input, context) {
11341
11272
  var _a;
11342
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApprovalRules !== undefined &&
11343
- input.ApprovalRules !== null && {
11273
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApprovalRules != null && {
11344
11274
  ApprovalRules: serializeAws_json1_1PatchRuleGroup(input.ApprovalRules, context),
11345
- })), (input.ApprovedPatches !== undefined &&
11346
- input.ApprovedPatches !== null && {
11275
+ })), (input.ApprovedPatches != null && {
11347
11276
  ApprovedPatches: serializeAws_json1_1PatchIdList(input.ApprovedPatches, context),
11348
- })), (input.ApprovedPatchesComplianceLevel !== undefined &&
11349
- input.ApprovedPatchesComplianceLevel !== null && {
11277
+ })), (input.ApprovedPatchesComplianceLevel != null && {
11350
11278
  ApprovedPatchesComplianceLevel: input.ApprovedPatchesComplianceLevel,
11351
- })), (input.ApprovedPatchesEnableNonSecurity !== undefined &&
11352
- input.ApprovedPatchesEnableNonSecurity !== null && {
11279
+ })), (input.ApprovedPatchesEnableNonSecurity != null && {
11353
11280
  ApprovedPatchesEnableNonSecurity: input.ApprovedPatchesEnableNonSecurity,
11354
- })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.GlobalFilters !== undefined &&
11355
- input.GlobalFilters !== null && {
11281
+ })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Description != null && { Description: input.Description })), (input.GlobalFilters != null && {
11356
11282
  GlobalFilters: serializeAws_json1_1PatchFilterGroup(input.GlobalFilters, context),
11357
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OperatingSystem !== undefined &&
11358
- input.OperatingSystem !== null && { OperatingSystem: input.OperatingSystem })), (input.RejectedPatches !== undefined &&
11359
- input.RejectedPatches !== null && {
11283
+ })), (input.Name != null && { Name: input.Name })), (input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem })), (input.RejectedPatches != null && {
11360
11284
  RejectedPatches: serializeAws_json1_1PatchIdList(input.RejectedPatches, context),
11361
- })), (input.RejectedPatchesAction !== undefined &&
11362
- input.RejectedPatchesAction !== null && { RejectedPatchesAction: input.RejectedPatchesAction })), (input.Sources !== undefined &&
11363
- input.Sources !== null && { Sources: serializeAws_json1_1PatchSourceList(input.Sources, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11285
+ })), (input.RejectedPatchesAction != null && { RejectedPatchesAction: input.RejectedPatchesAction })), (input.Sources != null && { Sources: serializeAws_json1_1PatchSourceList(input.Sources, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
11364
11286
  };
11365
11287
  var serializeAws_json1_1CreateResourceDataSyncRequest = function (input, context) {
11366
- return __assign(__assign(__assign(__assign({}, (input.S3Destination !== undefined &&
11367
- input.S3Destination !== null && {
11288
+ return __assign(__assign(__assign(__assign({}, (input.S3Destination != null && {
11368
11289
  S3Destination: serializeAws_json1_1ResourceDataSyncS3Destination(input.S3Destination, context),
11369
- })), (input.SyncName !== undefined && input.SyncName !== null && { SyncName: input.SyncName })), (input.SyncSource !== undefined &&
11370
- input.SyncSource !== null && {
11290
+ })), (input.SyncName != null && { SyncName: input.SyncName })), (input.SyncSource != null && {
11371
11291
  SyncSource: serializeAws_json1_1ResourceDataSyncSource(input.SyncSource, context),
11372
- })), (input.SyncType !== undefined && input.SyncType !== null && { SyncType: input.SyncType }));
11292
+ })), (input.SyncType != null && { SyncType: input.SyncType }));
11373
11293
  };
11374
11294
  var serializeAws_json1_1DeleteActivationRequest = function (input, context) {
11375
- return __assign({}, (input.ActivationId !== undefined && input.ActivationId !== null && { ActivationId: input.ActivationId }));
11295
+ return __assign({}, (input.ActivationId != null && { ActivationId: input.ActivationId }));
11376
11296
  };
11377
11297
  var serializeAws_json1_1DeleteAssociationRequest = function (input, context) {
11378
- return __assign(__assign(__assign({}, (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
11298
+ return __assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.Name != null && { Name: input.Name }));
11379
11299
  };
11380
11300
  var serializeAws_json1_1DeleteDocumentRequest = function (input, context) {
11381
- return __assign(__assign(__assign(__assign({}, (input.DocumentVersion !== undefined &&
11382
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Force !== undefined && input.Force !== null && { Force: input.Force })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.VersionName !== undefined && input.VersionName !== null && { VersionName: input.VersionName }));
11301
+ return __assign(__assign(__assign(__assign({}, (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Force != null && { Force: input.Force })), (input.Name != null && { Name: input.Name })), (input.VersionName != null && { VersionName: input.VersionName }));
11383
11302
  };
11384
11303
  var serializeAws_json1_1DeleteInventoryRequest = function (input, context) {
11385
11304
  var _a;
11386
- return __assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DryRun !== undefined && input.DryRun !== null && { DryRun: input.DryRun })), (input.SchemaDeleteOption !== undefined &&
11387
- input.SchemaDeleteOption !== null && { SchemaDeleteOption: input.SchemaDeleteOption })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
11305
+ return __assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DryRun != null && { DryRun: input.DryRun })), (input.SchemaDeleteOption != null && { SchemaDeleteOption: input.SchemaDeleteOption })), (input.TypeName != null && { TypeName: input.TypeName }));
11388
11306
  };
11389
11307
  var serializeAws_json1_1DeleteMaintenanceWindowRequest = function (input, context) {
11390
- return __assign({}, (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
11308
+ return __assign({}, (input.WindowId != null && { WindowId: input.WindowId }));
11391
11309
  };
11392
11310
  var serializeAws_json1_1DeleteOpsMetadataRequest = function (input, context) {
11393
- return __assign({}, (input.OpsMetadataArn !== undefined &&
11394
- input.OpsMetadataArn !== null && { OpsMetadataArn: input.OpsMetadataArn }));
11311
+ return __assign({}, (input.OpsMetadataArn != null && { OpsMetadataArn: input.OpsMetadataArn }));
11395
11312
  };
11396
11313
  var serializeAws_json1_1DeleteParameterRequest = function (input, context) {
11397
- return __assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
11314
+ return __assign({}, (input.Name != null && { Name: input.Name }));
11398
11315
  };
11399
11316
  var serializeAws_json1_1DeleteParametersRequest = function (input, context) {
11400
- return __assign({}, (input.Names !== undefined &&
11401
- input.Names !== null && { Names: serializeAws_json1_1ParameterNameList(input.Names, context) }));
11317
+ return __assign({}, (input.Names != null && { Names: serializeAws_json1_1ParameterNameList(input.Names, context) }));
11402
11318
  };
11403
11319
  var serializeAws_json1_1DeletePatchBaselineRequest = function (input, context) {
11404
- return __assign({}, (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId }));
11320
+ return __assign({}, (input.BaselineId != null && { BaselineId: input.BaselineId }));
11405
11321
  };
11406
11322
  var serializeAws_json1_1DeleteResourceDataSyncRequest = function (input, context) {
11407
- return __assign(__assign({}, (input.SyncName !== undefined && input.SyncName !== null && { SyncName: input.SyncName })), (input.SyncType !== undefined && input.SyncType !== null && { SyncType: input.SyncType }));
11323
+ return __assign(__assign({}, (input.SyncName != null && { SyncName: input.SyncName })), (input.SyncType != null && { SyncType: input.SyncType }));
11408
11324
  };
11409
11325
  var serializeAws_json1_1DeregisterManagedInstanceRequest = function (input, context) {
11410
- return __assign({}, (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }));
11326
+ return __assign({}, (input.InstanceId != null && { InstanceId: input.InstanceId }));
11411
11327
  };
11412
11328
  var serializeAws_json1_1DeregisterPatchBaselineForPatchGroupRequest = function (input, context) {
11413
- return __assign(__assign({}, (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId })), (input.PatchGroup !== undefined && input.PatchGroup !== null && { PatchGroup: input.PatchGroup }));
11329
+ return __assign(__assign({}, (input.BaselineId != null && { BaselineId: input.BaselineId })), (input.PatchGroup != null && { PatchGroup: input.PatchGroup }));
11414
11330
  };
11415
11331
  var serializeAws_json1_1DeregisterTargetFromMaintenanceWindowRequest = function (input, context) {
11416
- return __assign(__assign(__assign({}, (input.Safe !== undefined && input.Safe !== null && { Safe: input.Safe })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId })), (input.WindowTargetId !== undefined &&
11417
- input.WindowTargetId !== null && { WindowTargetId: input.WindowTargetId }));
11332
+ return __assign(__assign(__assign({}, (input.Safe != null && { Safe: input.Safe })), (input.WindowId != null && { WindowId: input.WindowId })), (input.WindowTargetId != null && { WindowTargetId: input.WindowTargetId }));
11418
11333
  };
11419
11334
  var serializeAws_json1_1DeregisterTaskFromMaintenanceWindowRequest = function (input, context) {
11420
- return __assign(__assign({}, (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId })), (input.WindowTaskId !== undefined && input.WindowTaskId !== null && { WindowTaskId: input.WindowTaskId }));
11335
+ return __assign(__assign({}, (input.WindowId != null && { WindowId: input.WindowId })), (input.WindowTaskId != null && { WindowTaskId: input.WindowTaskId }));
11421
11336
  };
11422
11337
  var serializeAws_json1_1DescribeActivationsFilter = function (input, context) {
11423
- return __assign(__assign({}, (input.FilterKey !== undefined && input.FilterKey !== null && { FilterKey: input.FilterKey })), (input.FilterValues !== undefined &&
11424
- input.FilterValues !== null && { FilterValues: serializeAws_json1_1StringList(input.FilterValues, context) }));
11338
+ return __assign(__assign({}, (input.FilterKey != null && { FilterKey: input.FilterKey })), (input.FilterValues != null && { FilterValues: serializeAws_json1_1StringList(input.FilterValues, context) }));
11425
11339
  };
11426
11340
  var serializeAws_json1_1DescribeActivationsFilterList = function (input, context) {
11427
11341
  return input
@@ -11434,151 +11348,122 @@ var serializeAws_json1_1DescribeActivationsFilterList = function (input, context
11434
11348
  });
11435
11349
  };
11436
11350
  var serializeAws_json1_1DescribeActivationsRequest = function (input, context) {
11437
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11438
- input.Filters !== null && { Filters: serializeAws_json1_1DescribeActivationsFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11351
+ return __assign(__assign(__assign({}, (input.Filters != null && {
11352
+ Filters: serializeAws_json1_1DescribeActivationsFilterList(input.Filters, context),
11353
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11439
11354
  };
11440
11355
  var serializeAws_json1_1DescribeAssociationExecutionsRequest = function (input, context) {
11441
- return __assign(__assign(__assign(__assign({}, (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.Filters !== undefined &&
11442
- input.Filters !== null && {
11356
+ return __assign(__assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.Filters != null && {
11443
11357
  Filters: serializeAws_json1_1AssociationExecutionFilterList(input.Filters, context),
11444
- })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11358
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11445
11359
  };
11446
11360
  var serializeAws_json1_1DescribeAssociationExecutionTargetsRequest = function (input, context) {
11447
- return __assign(__assign(__assign(__assign(__assign({}, (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.ExecutionId !== undefined && input.ExecutionId !== null && { ExecutionId: input.ExecutionId })), (input.Filters !== undefined &&
11448
- input.Filters !== null && {
11361
+ return __assign(__assign(__assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.ExecutionId != null && { ExecutionId: input.ExecutionId })), (input.Filters != null && {
11449
11362
  Filters: serializeAws_json1_1AssociationExecutionTargetsFilterList(input.Filters, context),
11450
- })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11363
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11451
11364
  };
11452
11365
  var serializeAws_json1_1DescribeAssociationRequest = function (input, context) {
11453
- return __assign(__assign(__assign(__assign({}, (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.AssociationVersion !== undefined &&
11454
- input.AssociationVersion !== null && { AssociationVersion: input.AssociationVersion })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
11366
+ return __assign(__assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.AssociationVersion != null && { AssociationVersion: input.AssociationVersion })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.Name != null && { Name: input.Name }));
11455
11367
  };
11456
11368
  var serializeAws_json1_1DescribeAutomationExecutionsRequest = function (input, context) {
11457
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11458
- input.Filters !== null && { Filters: serializeAws_json1_1AutomationExecutionFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11369
+ return __assign(__assign(__assign({}, (input.Filters != null && {
11370
+ Filters: serializeAws_json1_1AutomationExecutionFilterList(input.Filters, context),
11371
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11459
11372
  };
11460
11373
  var serializeAws_json1_1DescribeAutomationStepExecutionsRequest = function (input, context) {
11461
- return __assign(__assign(__assign(__assign(__assign({}, (input.AutomationExecutionId !== undefined &&
11462
- input.AutomationExecutionId !== null && { AutomationExecutionId: input.AutomationExecutionId })), (input.Filters !== undefined &&
11463
- input.Filters !== null && { Filters: serializeAws_json1_1StepExecutionFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ReverseOrder !== undefined && input.ReverseOrder !== null && { ReverseOrder: input.ReverseOrder }));
11374
+ return __assign(__assign(__assign(__assign(__assign({}, (input.AutomationExecutionId != null && { AutomationExecutionId: input.AutomationExecutionId })), (input.Filters != null && { Filters: serializeAws_json1_1StepExecutionFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ReverseOrder != null && { ReverseOrder: input.ReverseOrder }));
11464
11375
  };
11465
11376
  var serializeAws_json1_1DescribeAvailablePatchesRequest = function (input, context) {
11466
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11467
- input.Filters !== null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11377
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11468
11378
  };
11469
11379
  var serializeAws_json1_1DescribeDocumentPermissionRequest = function (input, context) {
11470
- return __assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.PermissionType !== undefined &&
11471
- input.PermissionType !== null && { PermissionType: input.PermissionType }));
11380
+ return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PermissionType != null && { PermissionType: input.PermissionType }));
11472
11381
  };
11473
11382
  var serializeAws_json1_1DescribeDocumentRequest = function (input, context) {
11474
- return __assign(__assign(__assign({}, (input.DocumentVersion !== undefined &&
11475
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.VersionName !== undefined && input.VersionName !== null && { VersionName: input.VersionName }));
11383
+ return __assign(__assign(__assign({}, (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Name != null && { Name: input.Name })), (input.VersionName != null && { VersionName: input.VersionName }));
11476
11384
  };
11477
11385
  var serializeAws_json1_1DescribeEffectiveInstanceAssociationsRequest = function (input, context) {
11478
- return __assign(__assign(__assign({}, (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11386
+ return __assign(__assign(__assign({}, (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11479
11387
  };
11480
11388
  var serializeAws_json1_1DescribeEffectivePatchesForPatchBaselineRequest = function (input, context) {
11481
- return __assign(__assign(__assign({}, (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11389
+ return __assign(__assign(__assign({}, (input.BaselineId != null && { BaselineId: input.BaselineId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11482
11390
  };
11483
11391
  var serializeAws_json1_1DescribeInstanceAssociationsStatusRequest = function (input, context) {
11484
- return __assign(__assign(__assign({}, (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11392
+ return __assign(__assign(__assign({}, (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11485
11393
  };
11486
11394
  var serializeAws_json1_1DescribeInstanceInformationRequest = function (input, context) {
11487
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11488
- input.Filters !== null && {
11395
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && {
11489
11396
  Filters: serializeAws_json1_1InstanceInformationStringFilterList(input.Filters, context),
11490
- })), (input.InstanceInformationFilterList !== undefined &&
11491
- input.InstanceInformationFilterList !== null && {
11397
+ })), (input.InstanceInformationFilterList != null && {
11492
11398
  InstanceInformationFilterList: serializeAws_json1_1InstanceInformationFilterList(input.InstanceInformationFilterList, context),
11493
- })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11399
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11494
11400
  };
11495
11401
  var serializeAws_json1_1DescribeInstancePatchesRequest = function (input, context) {
11496
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11497
- input.Filters !== null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11402
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11498
11403
  };
11499
11404
  var serializeAws_json1_1DescribeInstancePatchStatesForPatchGroupRequest = function (input, context) {
11500
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11501
- input.Filters !== null && { Filters: serializeAws_json1_1InstancePatchStateFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.PatchGroup !== undefined && input.PatchGroup !== null && { PatchGroup: input.PatchGroup }));
11405
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1InstancePatchStateFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PatchGroup != null && { PatchGroup: input.PatchGroup }));
11502
11406
  };
11503
11407
  var serializeAws_json1_1DescribeInstancePatchStatesRequest = function (input, context) {
11504
- return __assign(__assign(__assign({}, (input.InstanceIds !== undefined &&
11505
- input.InstanceIds !== null && { InstanceIds: serializeAws_json1_1InstanceIdList(input.InstanceIds, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11408
+ return __assign(__assign(__assign({}, (input.InstanceIds != null && { InstanceIds: serializeAws_json1_1InstanceIdList(input.InstanceIds, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11506
11409
  };
11507
11410
  var serializeAws_json1_1DescribeInventoryDeletionsRequest = function (input, context) {
11508
- return __assign(__assign(__assign({}, (input.DeletionId !== undefined && input.DeletionId !== null && { DeletionId: input.DeletionId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11411
+ return __assign(__assign(__assign({}, (input.DeletionId != null && { DeletionId: input.DeletionId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11509
11412
  };
11510
11413
  var serializeAws_json1_1DescribeMaintenanceWindowExecutionsRequest = function (input, context) {
11511
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11512
- input.Filters !== null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
11414
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.WindowId != null && { WindowId: input.WindowId }));
11513
11415
  };
11514
11416
  var serializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsRequest = function (input, context) {
11515
- return __assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11516
- input.Filters !== null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.TaskId !== undefined && input.TaskId !== null && { TaskId: input.TaskId })), (input.WindowExecutionId !== undefined &&
11517
- input.WindowExecutionId !== null && { WindowExecutionId: input.WindowExecutionId }));
11417
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TaskId != null && { TaskId: input.TaskId })), (input.WindowExecutionId != null && { WindowExecutionId: input.WindowExecutionId }));
11518
11418
  };
11519
11419
  var serializeAws_json1_1DescribeMaintenanceWindowExecutionTasksRequest = function (input, context) {
11520
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11521
- input.Filters !== null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.WindowExecutionId !== undefined &&
11522
- input.WindowExecutionId !== null && { WindowExecutionId: input.WindowExecutionId }));
11420
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.WindowExecutionId != null && { WindowExecutionId: input.WindowExecutionId }));
11523
11421
  };
11524
11422
  var serializeAws_json1_1DescribeMaintenanceWindowScheduleRequest = function (input, context) {
11525
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11526
- input.Filters !== null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.Targets !== undefined &&
11527
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
11423
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.WindowId != null && { WindowId: input.WindowId }));
11528
11424
  };
11529
11425
  var serializeAws_json1_1DescribeMaintenanceWindowsForTargetRequest = function (input, context) {
11530
- return __assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.Targets !== undefined &&
11531
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11426
+ return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11532
11427
  };
11533
11428
  var serializeAws_json1_1DescribeMaintenanceWindowsRequest = function (input, context) {
11534
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11535
- input.Filters !== null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11429
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11536
11430
  };
11537
11431
  var serializeAws_json1_1DescribeMaintenanceWindowTargetsRequest = function (input, context) {
11538
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11539
- input.Filters !== null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
11432
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.WindowId != null && { WindowId: input.WindowId }));
11540
11433
  };
11541
11434
  var serializeAws_json1_1DescribeMaintenanceWindowTasksRequest = function (input, context) {
11542
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11543
- input.Filters !== null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
11435
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1MaintenanceWindowFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.WindowId != null && { WindowId: input.WindowId }));
11544
11436
  };
11545
11437
  var serializeAws_json1_1DescribeOpsItemsRequest = function (input, context) {
11546
- return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OpsItemFilters !== undefined &&
11547
- input.OpsItemFilters !== null && {
11438
+ return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OpsItemFilters != null && {
11548
11439
  OpsItemFilters: serializeAws_json1_1OpsItemFilters(input.OpsItemFilters, context),
11549
11440
  }));
11550
11441
  };
11551
11442
  var serializeAws_json1_1DescribeParametersRequest = function (input, context) {
11552
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11553
- input.Filters !== null && { Filters: serializeAws_json1_1ParametersFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ParameterFilters !== undefined &&
11554
- input.ParameterFilters !== null && {
11443
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1ParametersFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterFilters != null && {
11555
11444
  ParameterFilters: serializeAws_json1_1ParameterStringFilterList(input.ParameterFilters, context),
11556
11445
  }));
11557
11446
  };
11558
11447
  var serializeAws_json1_1DescribePatchBaselinesRequest = function (input, context) {
11559
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11560
- input.Filters !== null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11448
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11561
11449
  };
11562
11450
  var serializeAws_json1_1DescribePatchGroupsRequest = function (input, context) {
11563
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11564
- input.Filters !== null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11451
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1PatchOrchestratorFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11565
11452
  };
11566
11453
  var serializeAws_json1_1DescribePatchGroupStateRequest = function (input, context) {
11567
- return __assign({}, (input.PatchGroup !== undefined && input.PatchGroup !== null && { PatchGroup: input.PatchGroup }));
11454
+ return __assign({}, (input.PatchGroup != null && { PatchGroup: input.PatchGroup }));
11568
11455
  };
11569
11456
  var serializeAws_json1_1DescribePatchPropertiesRequest = function (input, context) {
11570
- return __assign(__assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OperatingSystem !== undefined &&
11571
- input.OperatingSystem !== null && { OperatingSystem: input.OperatingSystem })), (input.PatchSet !== undefined && input.PatchSet !== null && { PatchSet: input.PatchSet })), (input.Property !== undefined && input.Property !== null && { Property: input.Property }));
11457
+ return __assign(__assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem })), (input.PatchSet != null && { PatchSet: input.PatchSet })), (input.Property != null && { Property: input.Property }));
11572
11458
  };
11573
11459
  var serializeAws_json1_1DescribeSessionsRequest = function (input, context) {
11574
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11575
- input.Filters !== null && { Filters: serializeAws_json1_1SessionFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.State !== undefined && input.State !== null && { State: input.State }));
11460
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1SessionFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.State != null && { State: input.State }));
11576
11461
  };
11577
11462
  var serializeAws_json1_1DisassociateOpsItemRelatedItemRequest = function (input, context) {
11578
- return __assign(__assign({}, (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId }));
11463
+ return __assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.OpsItemId != null && { OpsItemId: input.OpsItemId }));
11579
11464
  };
11580
11465
  var serializeAws_json1_1DocumentFilter = function (input, context) {
11581
- return __assign(__assign({}, (input.key !== undefined && input.key !== null && { key: input.key })), (input.value !== undefined && input.value !== null && { value: input.value }));
11466
+ return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
11582
11467
  };
11583
11468
  var serializeAws_json1_1DocumentFilterList = function (input, context) {
11584
11469
  return input
@@ -11591,8 +11476,7 @@ var serializeAws_json1_1DocumentFilterList = function (input, context) {
11591
11476
  });
11592
11477
  };
11593
11478
  var serializeAws_json1_1DocumentKeyValuesFilter = function (input, context) {
11594
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
11595
- input.Values !== null && { Values: serializeAws_json1_1DocumentKeyValuesFilterValues(input.Values, context) }));
11479
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1DocumentKeyValuesFilterValues(input.Values, context) }));
11596
11480
  };
11597
11481
  var serializeAws_json1_1DocumentKeyValuesFilterList = function (input, context) {
11598
11482
  return input
@@ -11615,7 +11499,7 @@ var serializeAws_json1_1DocumentKeyValuesFilterValues = function (input, context
11615
11499
  });
11616
11500
  };
11617
11501
  var serializeAws_json1_1DocumentRequires = function (input, context) {
11618
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
11502
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Version != null && { Version: input.Version }));
11619
11503
  };
11620
11504
  var serializeAws_json1_1DocumentRequiresList = function (input, context) {
11621
11505
  return input
@@ -11638,122 +11522,99 @@ var serializeAws_json1_1DocumentReviewCommentList = function (input, context) {
11638
11522
  });
11639
11523
  };
11640
11524
  var serializeAws_json1_1DocumentReviewCommentSource = function (input, context) {
11641
- return __assign(__assign({}, (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
11525
+ return __assign(__assign({}, (input.Content != null && { Content: input.Content })), (input.Type != null && { Type: input.Type }));
11642
11526
  };
11643
11527
  var serializeAws_json1_1DocumentReviews = function (input, context) {
11644
- return __assign(__assign({}, (input.Action !== undefined && input.Action !== null && { Action: input.Action })), (input.Comment !== undefined &&
11645
- input.Comment !== null && { Comment: serializeAws_json1_1DocumentReviewCommentList(input.Comment, context) }));
11528
+ return __assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Comment != null && { Comment: serializeAws_json1_1DocumentReviewCommentList(input.Comment, context) }));
11646
11529
  };
11647
11530
  var serializeAws_json1_1GetAutomationExecutionRequest = function (input, context) {
11648
- return __assign({}, (input.AutomationExecutionId !== undefined &&
11649
- input.AutomationExecutionId !== null && { AutomationExecutionId: input.AutomationExecutionId }));
11531
+ return __assign({}, (input.AutomationExecutionId != null && { AutomationExecutionId: input.AutomationExecutionId }));
11650
11532
  };
11651
11533
  var serializeAws_json1_1GetCalendarStateRequest = function (input, context) {
11652
- return __assign(__assign({}, (input.AtTime !== undefined && input.AtTime !== null && { AtTime: input.AtTime })), (input.CalendarNames !== undefined &&
11653
- input.CalendarNames !== null && {
11534
+ return __assign(__assign({}, (input.AtTime != null && { AtTime: input.AtTime })), (input.CalendarNames != null && {
11654
11535
  CalendarNames: serializeAws_json1_1CalendarNameOrARNList(input.CalendarNames, context),
11655
11536
  }));
11656
11537
  };
11657
11538
  var serializeAws_json1_1GetCommandInvocationRequest = function (input, context) {
11658
- return __assign(__assign(__assign({}, (input.CommandId !== undefined && input.CommandId !== null && { CommandId: input.CommandId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.PluginName !== undefined && input.PluginName !== null && { PluginName: input.PluginName }));
11539
+ return __assign(__assign(__assign({}, (input.CommandId != null && { CommandId: input.CommandId })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.PluginName != null && { PluginName: input.PluginName }));
11659
11540
  };
11660
11541
  var serializeAws_json1_1GetConnectionStatusRequest = function (input, context) {
11661
- return __assign({}, (input.Target !== undefined && input.Target !== null && { Target: input.Target }));
11542
+ return __assign({}, (input.Target != null && { Target: input.Target }));
11662
11543
  };
11663
11544
  var serializeAws_json1_1GetDefaultPatchBaselineRequest = function (input, context) {
11664
- return __assign({}, (input.OperatingSystem !== undefined &&
11665
- input.OperatingSystem !== null && { OperatingSystem: input.OperatingSystem }));
11545
+ return __assign({}, (input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem }));
11666
11546
  };
11667
11547
  var serializeAws_json1_1GetDeployablePatchSnapshotForInstanceRequest = function (input, context) {
11668
- return __assign(__assign(__assign({}, (input.BaselineOverride !== undefined &&
11669
- input.BaselineOverride !== null && {
11548
+ return __assign(__assign(__assign({}, (input.BaselineOverride != null && {
11670
11549
  BaselineOverride: serializeAws_json1_1BaselineOverride(input.BaselineOverride, context),
11671
- })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }));
11550
+ })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.SnapshotId != null && { SnapshotId: input.SnapshotId }));
11672
11551
  };
11673
11552
  var serializeAws_json1_1GetDocumentRequest = function (input, context) {
11674
- return __assign(__assign(__assign(__assign({}, (input.DocumentFormat !== undefined &&
11675
- input.DocumentFormat !== null && { DocumentFormat: input.DocumentFormat })), (input.DocumentVersion !== undefined &&
11676
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.VersionName !== undefined && input.VersionName !== null && { VersionName: input.VersionName }));
11553
+ return __assign(__assign(__assign(__assign({}, (input.DocumentFormat != null && { DocumentFormat: input.DocumentFormat })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Name != null && { Name: input.Name })), (input.VersionName != null && { VersionName: input.VersionName }));
11677
11554
  };
11678
11555
  var serializeAws_json1_1GetInventoryRequest = function (input, context) {
11679
- return __assign(__assign(__assign(__assign(__assign({}, (input.Aggregators !== undefined &&
11680
- input.Aggregators !== null && {
11556
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Aggregators != null && {
11681
11557
  Aggregators: serializeAws_json1_1InventoryAggregatorList(input.Aggregators, context),
11682
- })), (input.Filters !== undefined &&
11683
- input.Filters !== null && { Filters: serializeAws_json1_1InventoryFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResultAttributes !== undefined &&
11684
- input.ResultAttributes !== null && {
11558
+ })), (input.Filters != null && { Filters: serializeAws_json1_1InventoryFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResultAttributes != null && {
11685
11559
  ResultAttributes: serializeAws_json1_1ResultAttributeList(input.ResultAttributes, context),
11686
11560
  }));
11687
11561
  };
11688
11562
  var serializeAws_json1_1GetInventorySchemaRequest = function (input, context) {
11689
- return __assign(__assign(__assign(__assign(__assign({}, (input.Aggregator !== undefined && input.Aggregator !== null && { Aggregator: input.Aggregator })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SubType !== undefined && input.SubType !== null && { SubType: input.SubType })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
11563
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Aggregator != null && { Aggregator: input.Aggregator })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SubType != null && { SubType: input.SubType })), (input.TypeName != null && { TypeName: input.TypeName }));
11690
11564
  };
11691
11565
  var serializeAws_json1_1GetMaintenanceWindowExecutionRequest = function (input, context) {
11692
- return __assign({}, (input.WindowExecutionId !== undefined &&
11693
- input.WindowExecutionId !== null && { WindowExecutionId: input.WindowExecutionId }));
11566
+ return __assign({}, (input.WindowExecutionId != null && { WindowExecutionId: input.WindowExecutionId }));
11694
11567
  };
11695
11568
  var serializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationRequest = function (input, context) {
11696
- return __assign(__assign(__assign({}, (input.InvocationId !== undefined && input.InvocationId !== null && { InvocationId: input.InvocationId })), (input.TaskId !== undefined && input.TaskId !== null && { TaskId: input.TaskId })), (input.WindowExecutionId !== undefined &&
11697
- input.WindowExecutionId !== null && { WindowExecutionId: input.WindowExecutionId }));
11569
+ return __assign(__assign(__assign({}, (input.InvocationId != null && { InvocationId: input.InvocationId })), (input.TaskId != null && { TaskId: input.TaskId })), (input.WindowExecutionId != null && { WindowExecutionId: input.WindowExecutionId }));
11698
11570
  };
11699
11571
  var serializeAws_json1_1GetMaintenanceWindowExecutionTaskRequest = function (input, context) {
11700
- return __assign(__assign({}, (input.TaskId !== undefined && input.TaskId !== null && { TaskId: input.TaskId })), (input.WindowExecutionId !== undefined &&
11701
- input.WindowExecutionId !== null && { WindowExecutionId: input.WindowExecutionId }));
11572
+ return __assign(__assign({}, (input.TaskId != null && { TaskId: input.TaskId })), (input.WindowExecutionId != null && { WindowExecutionId: input.WindowExecutionId }));
11702
11573
  };
11703
11574
  var serializeAws_json1_1GetMaintenanceWindowRequest = function (input, context) {
11704
- return __assign({}, (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
11575
+ return __assign({}, (input.WindowId != null && { WindowId: input.WindowId }));
11705
11576
  };
11706
11577
  var serializeAws_json1_1GetMaintenanceWindowTaskRequest = function (input, context) {
11707
- return __assign(__assign({}, (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId })), (input.WindowTaskId !== undefined && input.WindowTaskId !== null && { WindowTaskId: input.WindowTaskId }));
11578
+ return __assign(__assign({}, (input.WindowId != null && { WindowId: input.WindowId })), (input.WindowTaskId != null && { WindowTaskId: input.WindowTaskId }));
11708
11579
  };
11709
11580
  var serializeAws_json1_1GetOpsItemRequest = function (input, context) {
11710
- return __assign({}, (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId }));
11581
+ return __assign({}, (input.OpsItemId != null && { OpsItemId: input.OpsItemId }));
11711
11582
  };
11712
11583
  var serializeAws_json1_1GetOpsMetadataRequest = function (input, context) {
11713
- return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OpsMetadataArn !== undefined &&
11714
- input.OpsMetadataArn !== null && { OpsMetadataArn: input.OpsMetadataArn }));
11584
+ return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OpsMetadataArn != null && { OpsMetadataArn: input.OpsMetadataArn }));
11715
11585
  };
11716
11586
  var serializeAws_json1_1GetOpsSummaryRequest = function (input, context) {
11717
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Aggregators !== undefined &&
11718
- input.Aggregators !== null && { Aggregators: serializeAws_json1_1OpsAggregatorList(input.Aggregators, context) })), (input.Filters !== undefined &&
11719
- input.Filters !== null && { Filters: serializeAws_json1_1OpsFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResultAttributes !== undefined &&
11720
- input.ResultAttributes !== null && {
11587
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Aggregators != null && {
11588
+ Aggregators: serializeAws_json1_1OpsAggregatorList(input.Aggregators, context),
11589
+ })), (input.Filters != null && { Filters: serializeAws_json1_1OpsFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResultAttributes != null && {
11721
11590
  ResultAttributes: serializeAws_json1_1OpsResultAttributeList(input.ResultAttributes, context),
11722
- })), (input.SyncName !== undefined && input.SyncName !== null && { SyncName: input.SyncName }));
11591
+ })), (input.SyncName != null && { SyncName: input.SyncName }));
11723
11592
  };
11724
11593
  var serializeAws_json1_1GetParameterHistoryRequest = function (input, context) {
11725
- return __assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.WithDecryption !== undefined &&
11726
- input.WithDecryption !== null && { WithDecryption: input.WithDecryption }));
11594
+ return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.WithDecryption != null && { WithDecryption: input.WithDecryption }));
11727
11595
  };
11728
11596
  var serializeAws_json1_1GetParameterRequest = function (input, context) {
11729
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.WithDecryption !== undefined &&
11730
- input.WithDecryption !== null && { WithDecryption: input.WithDecryption }));
11597
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.WithDecryption != null && { WithDecryption: input.WithDecryption }));
11731
11598
  };
11732
11599
  var serializeAws_json1_1GetParametersByPathRequest = function (input, context) {
11733
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ParameterFilters !== undefined &&
11734
- input.ParameterFilters !== null && {
11600
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterFilters != null && {
11735
11601
  ParameterFilters: serializeAws_json1_1ParameterStringFilterList(input.ParameterFilters, context),
11736
- })), (input.Path !== undefined && input.Path !== null && { Path: input.Path })), (input.Recursive !== undefined && input.Recursive !== null && { Recursive: input.Recursive })), (input.WithDecryption !== undefined &&
11737
- input.WithDecryption !== null && { WithDecryption: input.WithDecryption }));
11602
+ })), (input.Path != null && { Path: input.Path })), (input.Recursive != null && { Recursive: input.Recursive })), (input.WithDecryption != null && { WithDecryption: input.WithDecryption }));
11738
11603
  };
11739
11604
  var serializeAws_json1_1GetParametersRequest = function (input, context) {
11740
- return __assign(__assign({}, (input.Names !== undefined &&
11741
- input.Names !== null && { Names: serializeAws_json1_1ParameterNameList(input.Names, context) })), (input.WithDecryption !== undefined &&
11742
- input.WithDecryption !== null && { WithDecryption: input.WithDecryption }));
11605
+ return __assign(__assign({}, (input.Names != null && { Names: serializeAws_json1_1ParameterNameList(input.Names, context) })), (input.WithDecryption != null && { WithDecryption: input.WithDecryption }));
11743
11606
  };
11744
11607
  var serializeAws_json1_1GetPatchBaselineForPatchGroupRequest = function (input, context) {
11745
- return __assign(__assign({}, (input.OperatingSystem !== undefined &&
11746
- input.OperatingSystem !== null && { OperatingSystem: input.OperatingSystem })), (input.PatchGroup !== undefined && input.PatchGroup !== null && { PatchGroup: input.PatchGroup }));
11608
+ return __assign(__assign({}, (input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem })), (input.PatchGroup != null && { PatchGroup: input.PatchGroup }));
11747
11609
  };
11748
11610
  var serializeAws_json1_1GetPatchBaselineRequest = function (input, context) {
11749
- return __assign({}, (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId }));
11611
+ return __assign({}, (input.BaselineId != null && { BaselineId: input.BaselineId }));
11750
11612
  };
11751
11613
  var serializeAws_json1_1GetServiceSettingRequest = function (input, context) {
11752
- return __assign({}, (input.SettingId !== undefined && input.SettingId !== null && { SettingId: input.SettingId }));
11614
+ return __assign({}, (input.SettingId != null && { SettingId: input.SettingId }));
11753
11615
  };
11754
11616
  var serializeAws_json1_1InstanceAssociationOutputLocation = function (input, context) {
11755
- return __assign({}, (input.S3Location !== undefined &&
11756
- input.S3Location !== null && { S3Location: serializeAws_json1_1S3OutputLocation(input.S3Location, context) }));
11617
+ return __assign({}, (input.S3Location != null && { S3Location: serializeAws_json1_1S3OutputLocation(input.S3Location, context) }));
11757
11618
  };
11758
11619
  var serializeAws_json1_1InstanceIdList = function (input, context) {
11759
11620
  return input
@@ -11766,8 +11627,7 @@ var serializeAws_json1_1InstanceIdList = function (input, context) {
11766
11627
  });
11767
11628
  };
11768
11629
  var serializeAws_json1_1InstanceInformationFilter = function (input, context) {
11769
- return __assign(__assign({}, (input.key !== undefined && input.key !== null && { key: input.key })), (input.valueSet !== undefined &&
11770
- input.valueSet !== null && {
11630
+ return __assign(__assign({}, (input.key != null && { key: input.key })), (input.valueSet != null && {
11771
11631
  valueSet: serializeAws_json1_1InstanceInformationFilterValueSet(input.valueSet, context),
11772
11632
  }));
11773
11633
  };
@@ -11792,8 +11652,7 @@ var serializeAws_json1_1InstanceInformationFilterValueSet = function (input, con
11792
11652
  });
11793
11653
  };
11794
11654
  var serializeAws_json1_1InstanceInformationStringFilter = function (input, context) {
11795
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
11796
- input.Values !== null && {
11655
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && {
11797
11656
  Values: serializeAws_json1_1InstanceInformationFilterValueSet(input.Values, context),
11798
11657
  }));
11799
11658
  };
@@ -11808,8 +11667,7 @@ var serializeAws_json1_1InstanceInformationStringFilterList = function (input, c
11808
11667
  });
11809
11668
  };
11810
11669
  var serializeAws_json1_1InstancePatchStateFilter = function (input, context) {
11811
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Values !== undefined &&
11812
- input.Values !== null && { Values: serializeAws_json1_1InstancePatchStateFilterValues(input.Values, context) }));
11670
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Values != null && { Values: serializeAws_json1_1InstancePatchStateFilterValues(input.Values, context) }));
11813
11671
  };
11814
11672
  var serializeAws_json1_1InstancePatchStateFilterList = function (input, context) {
11815
11673
  return input
@@ -11832,11 +11690,9 @@ var serializeAws_json1_1InstancePatchStateFilterValues = function (input, contex
11832
11690
  });
11833
11691
  };
11834
11692
  var serializeAws_json1_1InventoryAggregator = function (input, context) {
11835
- return __assign(__assign(__assign({}, (input.Aggregators !== undefined &&
11836
- input.Aggregators !== null && {
11693
+ return __assign(__assign(__assign({}, (input.Aggregators != null && {
11837
11694
  Aggregators: serializeAws_json1_1InventoryAggregatorList(input.Aggregators, context),
11838
- })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.Groups !== undefined &&
11839
- input.Groups !== null && { Groups: serializeAws_json1_1InventoryGroupList(input.Groups, context) }));
11695
+ })), (input.Expression != null && { Expression: input.Expression })), (input.Groups != null && { Groups: serializeAws_json1_1InventoryGroupList(input.Groups, context) }));
11840
11696
  };
11841
11697
  var serializeAws_json1_1InventoryAggregatorList = function (input, context) {
11842
11698
  return input
@@ -11849,8 +11705,7 @@ var serializeAws_json1_1InventoryAggregatorList = function (input, context) {
11849
11705
  });
11850
11706
  };
11851
11707
  var serializeAws_json1_1InventoryFilter = function (input, context) {
11852
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Values !== undefined &&
11853
- input.Values !== null && { Values: serializeAws_json1_1InventoryFilterValueList(input.Values, context) }));
11708
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Values != null && { Values: serializeAws_json1_1InventoryFilterValueList(input.Values, context) }));
11854
11709
  };
11855
11710
  var serializeAws_json1_1InventoryFilterList = function (input, context) {
11856
11711
  return input
@@ -11873,8 +11728,7 @@ var serializeAws_json1_1InventoryFilterValueList = function (input, context) {
11873
11728
  });
11874
11729
  };
11875
11730
  var serializeAws_json1_1InventoryGroup = function (input, context) {
11876
- return __assign(__assign({}, (input.Filters !== undefined &&
11877
- input.Filters !== null && { Filters: serializeAws_json1_1InventoryFilterList(input.Filters, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
11731
+ return __assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1InventoryFilterList(input.Filters, context) })), (input.Name != null && { Name: input.Name }));
11878
11732
  };
11879
11733
  var serializeAws_json1_1InventoryGroupList = function (input, context) {
11880
11734
  return input
@@ -11887,9 +11741,7 @@ var serializeAws_json1_1InventoryGroupList = function (input, context) {
11887
11741
  });
11888
11742
  };
11889
11743
  var serializeAws_json1_1InventoryItem = function (input, context) {
11890
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CaptureTime !== undefined && input.CaptureTime !== null && { CaptureTime: input.CaptureTime })), (input.Content !== undefined &&
11891
- input.Content !== null && { Content: serializeAws_json1_1InventoryItemEntryList(input.Content, context) })), (input.ContentHash !== undefined && input.ContentHash !== null && { ContentHash: input.ContentHash })), (input.Context !== undefined &&
11892
- input.Context !== null && { Context: serializeAws_json1_1InventoryItemContentContext(input.Context, context) })), (input.SchemaVersion !== undefined && input.SchemaVersion !== null && { SchemaVersion: input.SchemaVersion })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
11744
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CaptureTime != null && { CaptureTime: input.CaptureTime })), (input.Content != null && { Content: serializeAws_json1_1InventoryItemEntryList(input.Content, context) })), (input.ContentHash != null && { ContentHash: input.ContentHash })), (input.Context != null && { Context: serializeAws_json1_1InventoryItemContentContext(input.Context, context) })), (input.SchemaVersion != null && { SchemaVersion: input.SchemaVersion })), (input.TypeName != null && { TypeName: input.TypeName }));
11893
11745
  };
11894
11746
  var serializeAws_json1_1InventoryItemContentContext = function (input, context) {
11895
11747
  return Object.entries(input).reduce(function (acc, _a) {
@@ -11942,94 +11794,74 @@ var serializeAws_json1_1KeyList = function (input, context) {
11942
11794
  });
11943
11795
  };
11944
11796
  var serializeAws_json1_1LabelParameterVersionRequest = function (input, context) {
11945
- return __assign(__assign(__assign({}, (input.Labels !== undefined &&
11946
- input.Labels !== null && { Labels: serializeAws_json1_1ParameterLabelList(input.Labels, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParameterVersion !== undefined &&
11947
- input.ParameterVersion !== null && { ParameterVersion: input.ParameterVersion }));
11797
+ return __assign(__assign(__assign({}, (input.Labels != null && { Labels: serializeAws_json1_1ParameterLabelList(input.Labels, context) })), (input.Name != null && { Name: input.Name })), (input.ParameterVersion != null && { ParameterVersion: input.ParameterVersion }));
11948
11798
  };
11949
11799
  var serializeAws_json1_1ListAssociationsRequest = function (input, context) {
11950
- return __assign(__assign(__assign({}, (input.AssociationFilterList !== undefined &&
11951
- input.AssociationFilterList !== null && {
11800
+ return __assign(__assign(__assign({}, (input.AssociationFilterList != null && {
11952
11801
  AssociationFilterList: serializeAws_json1_1AssociationFilterList(input.AssociationFilterList, context),
11953
- })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11802
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11954
11803
  };
11955
11804
  var serializeAws_json1_1ListAssociationVersionsRequest = function (input, context) {
11956
- return __assign(__assign(__assign({}, (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11805
+ return __assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11957
11806
  };
11958
11807
  var serializeAws_json1_1ListCommandInvocationsRequest = function (input, context) {
11959
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommandId !== undefined && input.CommandId !== null && { CommandId: input.CommandId })), (input.Details !== undefined && input.Details !== null && { Details: input.Details })), (input.Filters !== undefined &&
11960
- input.Filters !== null && { Filters: serializeAws_json1_1CommandFilterList(input.Filters, context) })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11808
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommandId != null && { CommandId: input.CommandId })), (input.Details != null && { Details: input.Details })), (input.Filters != null && { Filters: serializeAws_json1_1CommandFilterList(input.Filters, context) })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11961
11809
  };
11962
11810
  var serializeAws_json1_1ListCommandsRequest = function (input, context) {
11963
- return __assign(__assign(__assign(__assign(__assign({}, (input.CommandId !== undefined && input.CommandId !== null && { CommandId: input.CommandId })), (input.Filters !== undefined &&
11964
- input.Filters !== null && { Filters: serializeAws_json1_1CommandFilterList(input.Filters, context) })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11811
+ return __assign(__assign(__assign(__assign(__assign({}, (input.CommandId != null && { CommandId: input.CommandId })), (input.Filters != null && { Filters: serializeAws_json1_1CommandFilterList(input.Filters, context) })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11965
11812
  };
11966
11813
  var serializeAws_json1_1ListComplianceItemsRequest = function (input, context) {
11967
- return __assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11968
- input.Filters !== null && { Filters: serializeAws_json1_1ComplianceStringFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceIds !== undefined &&
11969
- input.ResourceIds !== null && {
11814
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1ComplianceStringFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceIds != null && {
11970
11815
  ResourceIds: serializeAws_json1_1ComplianceResourceIdList(input.ResourceIds, context),
11971
- })), (input.ResourceTypes !== undefined &&
11972
- input.ResourceTypes !== null && {
11816
+ })), (input.ResourceTypes != null && {
11973
11817
  ResourceTypes: serializeAws_json1_1ComplianceResourceTypeList(input.ResourceTypes, context),
11974
11818
  }));
11975
11819
  };
11976
11820
  var serializeAws_json1_1ListComplianceSummariesRequest = function (input, context) {
11977
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
11978
- input.Filters !== null && { Filters: serializeAws_json1_1ComplianceStringFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11821
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1ComplianceStringFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11979
11822
  };
11980
11823
  var serializeAws_json1_1ListDocumentMetadataHistoryRequest = function (input, context) {
11981
- return __assign(__assign(__assign(__assign(__assign({}, (input.DocumentVersion !== undefined &&
11982
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11824
+ return __assign(__assign(__assign(__assign(__assign({}, (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Metadata != null && { Metadata: input.Metadata })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken }));
11983
11825
  };
11984
11826
  var serializeAws_json1_1ListDocumentsRequest = function (input, context) {
11985
- return __assign(__assign(__assign(__assign({}, (input.DocumentFilterList !== undefined &&
11986
- input.DocumentFilterList !== null && {
11827
+ return __assign(__assign(__assign(__assign({}, (input.DocumentFilterList != null && {
11987
11828
  DocumentFilterList: serializeAws_json1_1DocumentFilterList(input.DocumentFilterList, context),
11988
- })), (input.Filters !== undefined &&
11989
- input.Filters !== null && { Filters: serializeAws_json1_1DocumentKeyValuesFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11829
+ })), (input.Filters != null && { Filters: serializeAws_json1_1DocumentKeyValuesFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
11990
11830
  };
11991
11831
  var serializeAws_json1_1ListDocumentVersionsRequest = function (input, context) {
11992
- return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11832
+ return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken }));
11993
11833
  };
11994
11834
  var serializeAws_json1_1ListInventoryEntriesRequest = function (input, context) {
11995
- return __assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
11996
- input.Filters !== null && { Filters: serializeAws_json1_1InventoryFilterList(input.Filters, context) })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
11835
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1InventoryFilterList(input.Filters, context) })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TypeName != null && { TypeName: input.TypeName }));
11997
11836
  };
11998
11837
  var serializeAws_json1_1ListOpsItemEventsRequest = function (input, context) {
11999
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
12000
- input.Filters !== null && { Filters: serializeAws_json1_1OpsItemEventFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11838
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1OpsItemEventFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
12001
11839
  };
12002
11840
  var serializeAws_json1_1ListOpsItemRelatedItemsRequest = function (input, context) {
12003
- return __assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
12004
- input.Filters !== null && { Filters: serializeAws_json1_1OpsItemRelatedItemsFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId }));
11841
+ return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1OpsItemRelatedItemsFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OpsItemId != null && { OpsItemId: input.OpsItemId }));
12005
11842
  };
12006
11843
  var serializeAws_json1_1ListOpsMetadataRequest = function (input, context) {
12007
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
12008
- input.Filters !== null && { Filters: serializeAws_json1_1OpsMetadataFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11844
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1OpsMetadataFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
12009
11845
  };
12010
11846
  var serializeAws_json1_1ListResourceComplianceSummariesRequest = function (input, context) {
12011
- return __assign(__assign(__assign({}, (input.Filters !== undefined &&
12012
- input.Filters !== null && { Filters: serializeAws_json1_1ComplianceStringFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
11847
+ return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1ComplianceStringFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
12013
11848
  };
12014
11849
  var serializeAws_json1_1ListResourceDataSyncRequest = function (input, context) {
12015
- return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SyncType !== undefined && input.SyncType !== null && { SyncType: input.SyncType }));
11850
+ return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SyncType != null && { SyncType: input.SyncType }));
12016
11851
  };
12017
11852
  var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
12018
- return __assign(__assign({}, (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType }));
11853
+ return __assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
12019
11854
  };
12020
11855
  var serializeAws_json1_1LoggingInfo = function (input, context) {
12021
- return __assign(__assign(__assign({}, (input.S3BucketName !== undefined && input.S3BucketName !== null && { S3BucketName: input.S3BucketName })), (input.S3KeyPrefix !== undefined && input.S3KeyPrefix !== null && { S3KeyPrefix: input.S3KeyPrefix })), (input.S3Region !== undefined && input.S3Region !== null && { S3Region: input.S3Region }));
11856
+ return __assign(__assign(__assign({}, (input.S3BucketName != null && { S3BucketName: input.S3BucketName })), (input.S3KeyPrefix != null && { S3KeyPrefix: input.S3KeyPrefix })), (input.S3Region != null && { S3Region: input.S3Region }));
12022
11857
  };
12023
11858
  var serializeAws_json1_1MaintenanceWindowAutomationParameters = function (input, context) {
12024
- return __assign(__assign({}, (input.DocumentVersion !== undefined &&
12025
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Parameters !== undefined &&
12026
- input.Parameters !== null && {
11859
+ return __assign(__assign({}, (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Parameters != null && {
12027
11860
  Parameters: serializeAws_json1_1AutomationParameterMap(input.Parameters, context),
12028
11861
  }));
12029
11862
  };
12030
11863
  var serializeAws_json1_1MaintenanceWindowFilter = function (input, context) {
12031
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12032
- input.Values !== null && { Values: serializeAws_json1_1MaintenanceWindowFilterValues(input.Values, context) }));
11864
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1MaintenanceWindowFilterValues(input.Values, context) }));
12033
11865
  };
12034
11866
  var serializeAws_json1_1MaintenanceWindowFilterList = function (input, context) {
12035
11867
  return input
@@ -12052,39 +11884,26 @@ var serializeAws_json1_1MaintenanceWindowFilterValues = function (input, context
12052
11884
  });
12053
11885
  };
12054
11886
  var serializeAws_json1_1MaintenanceWindowLambdaParameters = function (input, context) {
12055
- return __assign(__assign(__assign({}, (input.ClientContext !== undefined && input.ClientContext !== null && { ClientContext: input.ClientContext })), (input.Payload !== undefined && input.Payload !== null && { Payload: context.base64Encoder(input.Payload) })), (input.Qualifier !== undefined && input.Qualifier !== null && { Qualifier: input.Qualifier }));
11887
+ return __assign(__assign(__assign({}, (input.ClientContext != null && { ClientContext: input.ClientContext })), (input.Payload != null && { Payload: context.base64Encoder(input.Payload) })), (input.Qualifier != null && { Qualifier: input.Qualifier }));
12056
11888
  };
12057
11889
  var serializeAws_json1_1MaintenanceWindowRunCommandParameters = function (input, context) {
12058
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchOutputConfig !== undefined &&
12059
- input.CloudWatchOutputConfig !== null && {
11890
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchOutputConfig != null && {
12060
11891
  CloudWatchOutputConfig: serializeAws_json1_1CloudWatchOutputConfig(input.CloudWatchOutputConfig, context),
12061
- })), (input.Comment !== undefined && input.Comment !== null && { Comment: input.Comment })), (input.DocumentHash !== undefined && input.DocumentHash !== null && { DocumentHash: input.DocumentHash })), (input.DocumentHashType !== undefined &&
12062
- input.DocumentHashType !== null && { DocumentHashType: input.DocumentHashType })), (input.DocumentVersion !== undefined &&
12063
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.NotificationConfig !== undefined &&
12064
- input.NotificationConfig !== null && {
11892
+ })), (input.Comment != null && { Comment: input.Comment })), (input.DocumentHash != null && { DocumentHash: input.DocumentHash })), (input.DocumentHashType != null && { DocumentHashType: input.DocumentHashType })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.NotificationConfig != null && {
12065
11893
  NotificationConfig: serializeAws_json1_1NotificationConfig(input.NotificationConfig, context),
12066
- })), (input.OutputS3BucketName !== undefined &&
12067
- input.OutputS3BucketName !== null && { OutputS3BucketName: input.OutputS3BucketName })), (input.OutputS3KeyPrefix !== undefined &&
12068
- input.OutputS3KeyPrefix !== null && { OutputS3KeyPrefix: input.OutputS3KeyPrefix })), (input.Parameters !== undefined &&
12069
- input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ServiceRoleArn !== undefined &&
12070
- input.ServiceRoleArn !== null && { ServiceRoleArn: input.ServiceRoleArn })), (input.TimeoutSeconds !== undefined &&
12071
- input.TimeoutSeconds !== null && { TimeoutSeconds: input.TimeoutSeconds }));
11894
+ })), (input.OutputS3BucketName != null && { OutputS3BucketName: input.OutputS3BucketName })), (input.OutputS3KeyPrefix != null && { OutputS3KeyPrefix: input.OutputS3KeyPrefix })), (input.Parameters != null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ServiceRoleArn != null && { ServiceRoleArn: input.ServiceRoleArn })), (input.TimeoutSeconds != null && { TimeoutSeconds: input.TimeoutSeconds }));
12072
11895
  };
12073
11896
  var serializeAws_json1_1MaintenanceWindowStepFunctionsParameters = function (input, context) {
12074
- return __assign(__assign({}, (input.Input !== undefined && input.Input !== null && { Input: input.Input })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
11897
+ return __assign(__assign({}, (input.Input != null && { Input: input.Input })), (input.Name != null && { Name: input.Name }));
12075
11898
  };
12076
11899
  var serializeAws_json1_1MaintenanceWindowTaskInvocationParameters = function (input, context) {
12077
- return __assign(__assign(__assign(__assign({}, (input.Automation !== undefined &&
12078
- input.Automation !== null && {
11900
+ return __assign(__assign(__assign(__assign({}, (input.Automation != null && {
12079
11901
  Automation: serializeAws_json1_1MaintenanceWindowAutomationParameters(input.Automation, context),
12080
- })), (input.Lambda !== undefined &&
12081
- input.Lambda !== null && {
11902
+ })), (input.Lambda != null && {
12082
11903
  Lambda: serializeAws_json1_1MaintenanceWindowLambdaParameters(input.Lambda, context),
12083
- })), (input.RunCommand !== undefined &&
12084
- input.RunCommand !== null && {
11904
+ })), (input.RunCommand != null && {
12085
11905
  RunCommand: serializeAws_json1_1MaintenanceWindowRunCommandParameters(input.RunCommand, context),
12086
- })), (input.StepFunctions !== undefined &&
12087
- input.StepFunctions !== null && {
11906
+ })), (input.StepFunctions != null && {
12088
11907
  StepFunctions: serializeAws_json1_1MaintenanceWindowStepFunctionsParameters(input.StepFunctions, context),
12089
11908
  }));
12090
11909
  };
@@ -12099,8 +11918,7 @@ var serializeAws_json1_1MaintenanceWindowTaskParameters = function (input, conte
12099
11918
  }, {});
12100
11919
  };
12101
11920
  var serializeAws_json1_1MaintenanceWindowTaskParameterValueExpression = function (input, context) {
12102
- return __assign({}, (input.Values !== undefined &&
12103
- input.Values !== null && {
11921
+ return __assign({}, (input.Values != null && {
12104
11922
  Values: serializeAws_json1_1MaintenanceWindowTaskParameterValueList(input.Values, context),
12105
11923
  }));
12106
11924
  };
@@ -12135,26 +11953,19 @@ var serializeAws_json1_1MetadataMap = function (input, context) {
12135
11953
  }, {});
12136
11954
  };
12137
11955
  var serializeAws_json1_1MetadataValue = function (input, context) {
12138
- return __assign({}, (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
11956
+ return __assign({}, (input.Value != null && { Value: input.Value }));
12139
11957
  };
12140
11958
  var serializeAws_json1_1ModifyDocumentPermissionRequest = function (input, context) {
12141
- return __assign(__assign(__assign(__assign(__assign({}, (input.AccountIdsToAdd !== undefined &&
12142
- input.AccountIdsToAdd !== null && {
11959
+ return __assign(__assign(__assign(__assign(__assign({}, (input.AccountIdsToAdd != null && {
12143
11960
  AccountIdsToAdd: serializeAws_json1_1AccountIdList(input.AccountIdsToAdd, context),
12144
- })), (input.AccountIdsToRemove !== undefined &&
12145
- input.AccountIdsToRemove !== null && {
11961
+ })), (input.AccountIdsToRemove != null && {
12146
11962
  AccountIdsToRemove: serializeAws_json1_1AccountIdList(input.AccountIdsToRemove, context),
12147
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PermissionType !== undefined &&
12148
- input.PermissionType !== null && { PermissionType: input.PermissionType })), (input.SharedDocumentVersion !== undefined &&
12149
- input.SharedDocumentVersion !== null && { SharedDocumentVersion: input.SharedDocumentVersion }));
11963
+ })), (input.Name != null && { Name: input.Name })), (input.PermissionType != null && { PermissionType: input.PermissionType })), (input.SharedDocumentVersion != null && { SharedDocumentVersion: input.SharedDocumentVersion }));
12150
11964
  };
12151
11965
  var serializeAws_json1_1NotificationConfig = function (input, context) {
12152
- return __assign(__assign(__assign({}, (input.NotificationArn !== undefined &&
12153
- input.NotificationArn !== null && { NotificationArn: input.NotificationArn })), (input.NotificationEvents !== undefined &&
12154
- input.NotificationEvents !== null && {
11966
+ return __assign(__assign(__assign({}, (input.NotificationArn != null && { NotificationArn: input.NotificationArn })), (input.NotificationEvents != null && {
12155
11967
  NotificationEvents: serializeAws_json1_1NotificationEventList(input.NotificationEvents, context),
12156
- })), (input.NotificationType !== undefined &&
12157
- input.NotificationType !== null && { NotificationType: input.NotificationType }));
11968
+ })), (input.NotificationType != null && { NotificationType: input.NotificationType }));
12158
11969
  };
12159
11970
  var serializeAws_json1_1NotificationEventList = function (input, context) {
12160
11971
  return input
@@ -12167,11 +11978,9 @@ var serializeAws_json1_1NotificationEventList = function (input, context) {
12167
11978
  });
12168
11979
  };
12169
11980
  var serializeAws_json1_1OpsAggregator = function (input, context) {
12170
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AggregatorType !== undefined &&
12171
- input.AggregatorType !== null && { AggregatorType: input.AggregatorType })), (input.Aggregators !== undefined &&
12172
- input.Aggregators !== null && { Aggregators: serializeAws_json1_1OpsAggregatorList(input.Aggregators, context) })), (input.AttributeName !== undefined && input.AttributeName !== null && { AttributeName: input.AttributeName })), (input.Filters !== undefined &&
12173
- input.Filters !== null && { Filters: serializeAws_json1_1OpsFilterList(input.Filters, context) })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName })), (input.Values !== undefined &&
12174
- input.Values !== null && { Values: serializeAws_json1_1OpsAggregatorValueMap(input.Values, context) }));
11981
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AggregatorType != null && { AggregatorType: input.AggregatorType })), (input.Aggregators != null && {
11982
+ Aggregators: serializeAws_json1_1OpsAggregatorList(input.Aggregators, context),
11983
+ })), (input.AttributeName != null && { AttributeName: input.AttributeName })), (input.Filters != null && { Filters: serializeAws_json1_1OpsFilterList(input.Filters, context) })), (input.TypeName != null && { TypeName: input.TypeName })), (input.Values != null && { Values: serializeAws_json1_1OpsAggregatorValueMap(input.Values, context) }));
12175
11984
  };
12176
11985
  var serializeAws_json1_1OpsAggregatorList = function (input, context) {
12177
11986
  return input
@@ -12194,8 +12003,7 @@ var serializeAws_json1_1OpsAggregatorValueMap = function (input, context) {
12194
12003
  }, {});
12195
12004
  };
12196
12005
  var serializeAws_json1_1OpsFilter = function (input, context) {
12197
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Values !== undefined &&
12198
- input.Values !== null && { Values: serializeAws_json1_1OpsFilterValueList(input.Values, context) }));
12006
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Values != null && { Values: serializeAws_json1_1OpsFilterValueList(input.Values, context) }));
12199
12007
  };
12200
12008
  var serializeAws_json1_1OpsFilterList = function (input, context) {
12201
12009
  return input
@@ -12218,11 +12026,10 @@ var serializeAws_json1_1OpsFilterValueList = function (input, context) {
12218
12026
  });
12219
12027
  };
12220
12028
  var serializeAws_json1_1OpsItemDataValue = function (input, context) {
12221
- return __assign(__assign({}, (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
12029
+ return __assign(__assign({}, (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
12222
12030
  };
12223
12031
  var serializeAws_json1_1OpsItemEventFilter = function (input, context) {
12224
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Values !== undefined &&
12225
- input.Values !== null && { Values: serializeAws_json1_1OpsItemEventFilterValues(input.Values, context) }));
12032
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1OpsItemEventFilterValues(input.Values, context) }));
12226
12033
  };
12227
12034
  var serializeAws_json1_1OpsItemEventFilters = function (input, context) {
12228
12035
  return input
@@ -12245,8 +12052,7 @@ var serializeAws_json1_1OpsItemEventFilterValues = function (input, context) {
12245
12052
  });
12246
12053
  };
12247
12054
  var serializeAws_json1_1OpsItemFilter = function (input, context) {
12248
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Values !== undefined &&
12249
- input.Values !== null && { Values: serializeAws_json1_1OpsItemFilterValues(input.Values, context) }));
12055
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1OpsItemFilterValues(input.Values, context) }));
12250
12056
  };
12251
12057
  var serializeAws_json1_1OpsItemFilters = function (input, context) {
12252
12058
  return input
@@ -12269,7 +12075,7 @@ var serializeAws_json1_1OpsItemFilterValues = function (input, context) {
12269
12075
  });
12270
12076
  };
12271
12077
  var serializeAws_json1_1OpsItemNotification = function (input, context) {
12272
- return __assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }));
12078
+ return __assign({}, (input.Arn != null && { Arn: input.Arn }));
12273
12079
  };
12274
12080
  var serializeAws_json1_1OpsItemNotifications = function (input, context) {
12275
12081
  return input
@@ -12302,8 +12108,7 @@ var serializeAws_json1_1OpsItemOpsDataKeysList = function (input, context) {
12302
12108
  });
12303
12109
  };
12304
12110
  var serializeAws_json1_1OpsItemRelatedItemsFilter = function (input, context) {
12305
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Values !== undefined &&
12306
- input.Values !== null && { Values: serializeAws_json1_1OpsItemRelatedItemsFilterValues(input.Values, context) }));
12111
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1OpsItemRelatedItemsFilterValues(input.Values, context) }));
12307
12112
  };
12308
12113
  var serializeAws_json1_1OpsItemRelatedItemsFilters = function (input, context) {
12309
12114
  return input
@@ -12326,8 +12131,7 @@ var serializeAws_json1_1OpsItemRelatedItemsFilterValues = function (input, conte
12326
12131
  });
12327
12132
  };
12328
12133
  var serializeAws_json1_1OpsMetadataFilter = function (input, context) {
12329
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12330
- input.Values !== null && { Values: serializeAws_json1_1OpsMetadataFilterValueList(input.Values, context) }));
12134
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1OpsMetadataFilterValueList(input.Values, context) }));
12331
12135
  };
12332
12136
  var serializeAws_json1_1OpsMetadataFilterList = function (input, context) {
12333
12137
  return input
@@ -12350,7 +12154,7 @@ var serializeAws_json1_1OpsMetadataFilterValueList = function (input, context) {
12350
12154
  });
12351
12155
  };
12352
12156
  var serializeAws_json1_1OpsResultAttribute = function (input, context) {
12353
- return __assign({}, (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
12157
+ return __assign({}, (input.TypeName != null && { TypeName: input.TypeName }));
12354
12158
  };
12355
12159
  var serializeAws_json1_1OpsResultAttributeList = function (input, context) {
12356
12160
  return input
@@ -12393,8 +12197,7 @@ var serializeAws_json1_1Parameters = function (input, context) {
12393
12197
  }, {});
12394
12198
  };
12395
12199
  var serializeAws_json1_1ParametersFilter = function (input, context) {
12396
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12397
- input.Values !== null && { Values: serializeAws_json1_1ParametersFilterValueList(input.Values, context) }));
12200
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1ParametersFilterValueList(input.Values, context) }));
12398
12201
  };
12399
12202
  var serializeAws_json1_1ParametersFilterList = function (input, context) {
12400
12203
  return input
@@ -12417,8 +12220,7 @@ var serializeAws_json1_1ParametersFilterValueList = function (input, context) {
12417
12220
  });
12418
12221
  };
12419
12222
  var serializeAws_json1_1ParameterStringFilter = function (input, context) {
12420
- return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Option !== undefined && input.Option !== null && { Option: input.Option })), (input.Values !== undefined &&
12421
- input.Values !== null && { Values: serializeAws_json1_1ParameterStringFilterValueList(input.Values, context) }));
12223
+ return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Option != null && { Option: input.Option })), (input.Values != null && { Values: serializeAws_json1_1ParameterStringFilterValueList(input.Values, context) }));
12422
12224
  };
12423
12225
  var serializeAws_json1_1ParameterStringFilterList = function (input, context) {
12424
12226
  return input
@@ -12451,12 +12253,10 @@ var serializeAws_json1_1ParameterValueList = function (input, context) {
12451
12253
  });
12452
12254
  };
12453
12255
  var serializeAws_json1_1PatchFilter = function (input, context) {
12454
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12455
- input.Values !== null && { Values: serializeAws_json1_1PatchFilterValueList(input.Values, context) }));
12256
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1PatchFilterValueList(input.Values, context) }));
12456
12257
  };
12457
12258
  var serializeAws_json1_1PatchFilterGroup = function (input, context) {
12458
- return __assign({}, (input.PatchFilters !== undefined &&
12459
- input.PatchFilters !== null && {
12259
+ return __assign({}, (input.PatchFilters != null && {
12460
12260
  PatchFilters: serializeAws_json1_1PatchFilterList(input.PatchFilters, context),
12461
12261
  }));
12462
12262
  };
@@ -12491,8 +12291,7 @@ var serializeAws_json1_1PatchIdList = function (input, context) {
12491
12291
  });
12492
12292
  };
12493
12293
  var serializeAws_json1_1PatchOrchestratorFilter = function (input, context) {
12494
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12495
- input.Values !== null && { Values: serializeAws_json1_1PatchOrchestratorFilterValues(input.Values, context) }));
12294
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1PatchOrchestratorFilterValues(input.Values, context) }));
12496
12295
  };
12497
12296
  var serializeAws_json1_1PatchOrchestratorFilterList = function (input, context) {
12498
12297
  return input
@@ -12515,18 +12314,12 @@ var serializeAws_json1_1PatchOrchestratorFilterValues = function (input, context
12515
12314
  });
12516
12315
  };
12517
12316
  var serializeAws_json1_1PatchRule = function (input, context) {
12518
- return __assign(__assign(__assign(__assign(__assign({}, (input.ApproveAfterDays !== undefined &&
12519
- input.ApproveAfterDays !== null && { ApproveAfterDays: input.ApproveAfterDays })), (input.ApproveUntilDate !== undefined &&
12520
- input.ApproveUntilDate !== null && { ApproveUntilDate: input.ApproveUntilDate })), (input.ComplianceLevel !== undefined &&
12521
- input.ComplianceLevel !== null && { ComplianceLevel: input.ComplianceLevel })), (input.EnableNonSecurity !== undefined &&
12522
- input.EnableNonSecurity !== null && { EnableNonSecurity: input.EnableNonSecurity })), (input.PatchFilterGroup !== undefined &&
12523
- input.PatchFilterGroup !== null && {
12317
+ return __assign(__assign(__assign(__assign(__assign({}, (input.ApproveAfterDays != null && { ApproveAfterDays: input.ApproveAfterDays })), (input.ApproveUntilDate != null && { ApproveUntilDate: input.ApproveUntilDate })), (input.ComplianceLevel != null && { ComplianceLevel: input.ComplianceLevel })), (input.EnableNonSecurity != null && { EnableNonSecurity: input.EnableNonSecurity })), (input.PatchFilterGroup != null && {
12524
12318
  PatchFilterGroup: serializeAws_json1_1PatchFilterGroup(input.PatchFilterGroup, context),
12525
12319
  }));
12526
12320
  };
12527
12321
  var serializeAws_json1_1PatchRuleGroup = function (input, context) {
12528
- return __assign({}, (input.PatchRules !== undefined &&
12529
- input.PatchRules !== null && { PatchRules: serializeAws_json1_1PatchRuleList(input.PatchRules, context) }));
12322
+ return __assign({}, (input.PatchRules != null && { PatchRules: serializeAws_json1_1PatchRuleList(input.PatchRules, context) }));
12530
12323
  };
12531
12324
  var serializeAws_json1_1PatchRuleList = function (input, context) {
12532
12325
  return input
@@ -12539,8 +12332,7 @@ var serializeAws_json1_1PatchRuleList = function (input, context) {
12539
12332
  });
12540
12333
  };
12541
12334
  var serializeAws_json1_1PatchSource = function (input, context) {
12542
- return __assign(__assign(__assign({}, (input.Configuration !== undefined && input.Configuration !== null && { Configuration: input.Configuration })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Products !== undefined &&
12543
- input.Products !== null && { Products: serializeAws_json1_1PatchSourceProductList(input.Products, context) }));
12335
+ return __assign(__assign(__assign({}, (input.Configuration != null && { Configuration: input.Configuration })), (input.Name != null && { Name: input.Name })), (input.Products != null && { Products: serializeAws_json1_1PatchSourceProductList(input.Products, context) }));
12544
12336
  };
12545
12337
  var serializeAws_json1_1PatchSourceList = function (input, context) {
12546
12338
  return input
@@ -12563,21 +12355,15 @@ var serializeAws_json1_1PatchSourceProductList = function (input, context) {
12563
12355
  });
12564
12356
  };
12565
12357
  var serializeAws_json1_1PutComplianceItemsRequest = function (input, context) {
12566
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComplianceType !== undefined &&
12567
- input.ComplianceType !== null && { ComplianceType: input.ComplianceType })), (input.ExecutionSummary !== undefined &&
12568
- input.ExecutionSummary !== null && {
12358
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComplianceType != null && { ComplianceType: input.ComplianceType })), (input.ExecutionSummary != null && {
12569
12359
  ExecutionSummary: serializeAws_json1_1ComplianceExecutionSummary(input.ExecutionSummary, context),
12570
- })), (input.ItemContentHash !== undefined &&
12571
- input.ItemContentHash !== null && { ItemContentHash: input.ItemContentHash })), (input.Items !== undefined &&
12572
- input.Items !== null && { Items: serializeAws_json1_1ComplianceItemEntryList(input.Items, context) })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.UploadType !== undefined && input.UploadType !== null && { UploadType: input.UploadType }));
12360
+ })), (input.ItemContentHash != null && { ItemContentHash: input.ItemContentHash })), (input.Items != null && { Items: serializeAws_json1_1ComplianceItemEntryList(input.Items, context) })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.UploadType != null && { UploadType: input.UploadType }));
12573
12361
  };
12574
12362
  var serializeAws_json1_1PutInventoryRequest = function (input, context) {
12575
- return __assign(__assign({}, (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.Items !== undefined &&
12576
- input.Items !== null && { Items: serializeAws_json1_1InventoryItemList(input.Items, context) }));
12363
+ return __assign(__assign({}, (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.Items != null && { Items: serializeAws_json1_1InventoryItemList(input.Items, context) }));
12577
12364
  };
12578
12365
  var serializeAws_json1_1PutParameterRequest = function (input, context) {
12579
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowedPattern !== undefined &&
12580
- input.AllowedPattern !== null && { AllowedPattern: input.AllowedPattern })), (input.DataType !== undefined && input.DataType !== null && { DataType: input.DataType })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Overwrite !== undefined && input.Overwrite !== null && { Overwrite: input.Overwrite })), (input.Policies !== undefined && input.Policies !== null && { Policies: input.Policies })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Tier !== undefined && input.Tier !== null && { Tier: input.Tier })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
12366
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowedPattern != null && { AllowedPattern: input.AllowedPattern })), (input.DataType != null && { DataType: input.DataType })), (input.Description != null && { Description: input.Description })), (input.KeyId != null && { KeyId: input.KeyId })), (input.Name != null && { Name: input.Name })), (input.Overwrite != null && { Overwrite: input.Overwrite })), (input.Policies != null && { Policies: input.Policies })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Tier != null && { Tier: input.Tier })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
12581
12367
  };
12582
12368
  var serializeAws_json1_1Regions = function (input, context) {
12583
12369
  return input
@@ -12590,34 +12376,25 @@ var serializeAws_json1_1Regions = function (input, context) {
12590
12376
  });
12591
12377
  };
12592
12378
  var serializeAws_json1_1RegisterDefaultPatchBaselineRequest = function (input, context) {
12593
- return __assign({}, (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId }));
12379
+ return __assign({}, (input.BaselineId != null && { BaselineId: input.BaselineId }));
12594
12380
  };
12595
12381
  var serializeAws_json1_1RegisterPatchBaselineForPatchGroupRequest = function (input, context) {
12596
- return __assign(__assign({}, (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId })), (input.PatchGroup !== undefined && input.PatchGroup !== null && { PatchGroup: input.PatchGroup }));
12382
+ return __assign(__assign({}, (input.BaselineId != null && { BaselineId: input.BaselineId })), (input.PatchGroup != null && { PatchGroup: input.PatchGroup }));
12597
12383
  };
12598
12384
  var serializeAws_json1_1RegisterTargetWithMaintenanceWindowRequest = function (input, context) {
12599
12385
  var _a;
12600
- return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OwnerInformation !== undefined &&
12601
- input.OwnerInformation !== null && { OwnerInformation: input.OwnerInformation })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.Targets !== undefined &&
12602
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
12386
+ return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.OwnerInformation != null && { OwnerInformation: input.OwnerInformation })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.WindowId != null && { WindowId: input.WindowId }));
12603
12387
  };
12604
12388
  var serializeAws_json1_1RegisterTaskWithMaintenanceWindowRequest = function (input, context) {
12605
12389
  var _a;
12606
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.CutoffBehavior !== undefined &&
12607
- input.CutoffBehavior !== null && { CutoffBehavior: input.CutoffBehavior })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.LoggingInfo !== undefined &&
12608
- input.LoggingInfo !== null && { LoggingInfo: serializeAws_json1_1LoggingInfo(input.LoggingInfo, context) })), (input.MaxConcurrency !== undefined &&
12609
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.ServiceRoleArn !== undefined &&
12610
- input.ServiceRoleArn !== null && { ServiceRoleArn: input.ServiceRoleArn })), (input.Targets !== undefined &&
12611
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.TaskArn !== undefined && input.TaskArn !== null && { TaskArn: input.TaskArn })), (input.TaskInvocationParameters !== undefined &&
12612
- input.TaskInvocationParameters !== null && {
12390
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.CutoffBehavior != null && { CutoffBehavior: input.CutoffBehavior })), (input.Description != null && { Description: input.Description })), (input.LoggingInfo != null && { LoggingInfo: serializeAws_json1_1LoggingInfo(input.LoggingInfo, context) })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Name != null && { Name: input.Name })), (input.Priority != null && { Priority: input.Priority })), (input.ServiceRoleArn != null && { ServiceRoleArn: input.ServiceRoleArn })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.TaskArn != null && { TaskArn: input.TaskArn })), (input.TaskInvocationParameters != null && {
12613
12391
  TaskInvocationParameters: serializeAws_json1_1MaintenanceWindowTaskInvocationParameters(input.TaskInvocationParameters, context),
12614
- })), (input.TaskParameters !== undefined &&
12615
- input.TaskParameters !== null && {
12392
+ })), (input.TaskParameters != null && {
12616
12393
  TaskParameters: serializeAws_json1_1MaintenanceWindowTaskParameters(input.TaskParameters, context),
12617
- })), (input.TaskType !== undefined && input.TaskType !== null && { TaskType: input.TaskType })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
12394
+ })), (input.TaskType != null && { TaskType: input.TaskType })), (input.WindowId != null && { WindowId: input.WindowId }));
12618
12395
  };
12619
12396
  var serializeAws_json1_1RegistrationMetadataItem = function (input, context) {
12620
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
12397
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
12621
12398
  };
12622
12399
  var serializeAws_json1_1RegistrationMetadataList = function (input, context) {
12623
12400
  return input
@@ -12630,7 +12407,7 @@ var serializeAws_json1_1RegistrationMetadataList = function (input, context) {
12630
12407
  });
12631
12408
  };
12632
12409
  var serializeAws_json1_1RelatedOpsItem = function (input, context) {
12633
- return __assign({}, (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId }));
12410
+ return __assign({}, (input.OpsItemId != null && { OpsItemId: input.OpsItemId }));
12634
12411
  };
12635
12412
  var serializeAws_json1_1RelatedOpsItems = function (input, context) {
12636
12413
  return input
@@ -12643,26 +12420,21 @@ var serializeAws_json1_1RelatedOpsItems = function (input, context) {
12643
12420
  });
12644
12421
  };
12645
12422
  var serializeAws_json1_1RemoveTagsFromResourceRequest = function (input, context) {
12646
- return __assign(__assign(__assign({}, (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.TagKeys !== undefined &&
12647
- input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
12423
+ return __assign(__assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
12648
12424
  };
12649
12425
  var serializeAws_json1_1ResetServiceSettingRequest = function (input, context) {
12650
- return __assign({}, (input.SettingId !== undefined && input.SettingId !== null && { SettingId: input.SettingId }));
12426
+ return __assign({}, (input.SettingId != null && { SettingId: input.SettingId }));
12651
12427
  };
12652
12428
  var serializeAws_json1_1ResourceDataSyncAwsOrganizationsSource = function (input, context) {
12653
- return __assign(__assign({}, (input.OrganizationSourceType !== undefined &&
12654
- input.OrganizationSourceType !== null && { OrganizationSourceType: input.OrganizationSourceType })), (input.OrganizationalUnits !== undefined &&
12655
- input.OrganizationalUnits !== null && {
12429
+ return __assign(__assign({}, (input.OrganizationSourceType != null && { OrganizationSourceType: input.OrganizationSourceType })), (input.OrganizationalUnits != null && {
12656
12430
  OrganizationalUnits: serializeAws_json1_1ResourceDataSyncOrganizationalUnitList(input.OrganizationalUnits, context),
12657
12431
  }));
12658
12432
  };
12659
12433
  var serializeAws_json1_1ResourceDataSyncDestinationDataSharing = function (input, context) {
12660
- return __assign({}, (input.DestinationDataSharingType !== undefined &&
12661
- input.DestinationDataSharingType !== null && { DestinationDataSharingType: input.DestinationDataSharingType }));
12434
+ return __assign({}, (input.DestinationDataSharingType != null && { DestinationDataSharingType: input.DestinationDataSharingType }));
12662
12435
  };
12663
12436
  var serializeAws_json1_1ResourceDataSyncOrganizationalUnit = function (input, context) {
12664
- return __assign({}, (input.OrganizationalUnitId !== undefined &&
12665
- input.OrganizationalUnitId !== null && { OrganizationalUnitId: input.OrganizationalUnitId }));
12437
+ return __assign({}, (input.OrganizationalUnitId != null && { OrganizationalUnitId: input.OrganizationalUnitId }));
12666
12438
  };
12667
12439
  var serializeAws_json1_1ResourceDataSyncOrganizationalUnitList = function (input, context) {
12668
12440
  return input
@@ -12675,21 +12447,16 @@ var serializeAws_json1_1ResourceDataSyncOrganizationalUnitList = function (input
12675
12447
  });
12676
12448
  };
12677
12449
  var serializeAws_json1_1ResourceDataSyncS3Destination = function (input, context) {
12678
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AWSKMSKeyARN !== undefined && input.AWSKMSKeyARN !== null && { AWSKMSKeyARN: input.AWSKMSKeyARN })), (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.DestinationDataSharing !== undefined &&
12679
- input.DestinationDataSharing !== null && {
12450
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AWSKMSKeyARN != null && { AWSKMSKeyARN: input.AWSKMSKeyARN })), (input.BucketName != null && { BucketName: input.BucketName })), (input.DestinationDataSharing != null && {
12680
12451
  DestinationDataSharing: serializeAws_json1_1ResourceDataSyncDestinationDataSharing(input.DestinationDataSharing, context),
12681
- })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix })), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.SyncFormat !== undefined && input.SyncFormat !== null && { SyncFormat: input.SyncFormat }));
12452
+ })), (input.Prefix != null && { Prefix: input.Prefix })), (input.Region != null && { Region: input.Region })), (input.SyncFormat != null && { SyncFormat: input.SyncFormat }));
12682
12453
  };
12683
12454
  var serializeAws_json1_1ResourceDataSyncSource = function (input, context) {
12684
- return __assign(__assign(__assign(__assign(__assign({}, (input.AwsOrganizationsSource !== undefined &&
12685
- input.AwsOrganizationsSource !== null && {
12455
+ return __assign(__assign(__assign(__assign(__assign({}, (input.AwsOrganizationsSource != null && {
12686
12456
  AwsOrganizationsSource: serializeAws_json1_1ResourceDataSyncAwsOrganizationsSource(input.AwsOrganizationsSource, context),
12687
- })), (input.EnableAllOpsDataSources !== undefined &&
12688
- input.EnableAllOpsDataSources !== null && { EnableAllOpsDataSources: input.EnableAllOpsDataSources })), (input.IncludeFutureRegions !== undefined &&
12689
- input.IncludeFutureRegions !== null && { IncludeFutureRegions: input.IncludeFutureRegions })), (input.SourceRegions !== undefined &&
12690
- input.SourceRegions !== null && {
12457
+ })), (input.EnableAllOpsDataSources != null && { EnableAllOpsDataSources: input.EnableAllOpsDataSources })), (input.IncludeFutureRegions != null && { IncludeFutureRegions: input.IncludeFutureRegions })), (input.SourceRegions != null && {
12691
12458
  SourceRegions: serializeAws_json1_1ResourceDataSyncSourceRegionList(input.SourceRegions, context),
12692
- })), (input.SourceType !== undefined && input.SourceType !== null && { SourceType: input.SourceType }));
12459
+ })), (input.SourceType != null && { SourceType: input.SourceType }));
12693
12460
  };
12694
12461
  var serializeAws_json1_1ResourceDataSyncSourceRegionList = function (input, context) {
12695
12462
  return input
@@ -12702,7 +12469,7 @@ var serializeAws_json1_1ResourceDataSyncSourceRegionList = function (input, cont
12702
12469
  });
12703
12470
  };
12704
12471
  var serializeAws_json1_1ResultAttribute = function (input, context) {
12705
- return __assign({}, (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
12472
+ return __assign({}, (input.TypeName != null && { TypeName: input.TypeName }));
12706
12473
  };
12707
12474
  var serializeAws_json1_1ResultAttributeList = function (input, context) {
12708
12475
  return input
@@ -12715,21 +12482,14 @@ var serializeAws_json1_1ResultAttributeList = function (input, context) {
12715
12482
  });
12716
12483
  };
12717
12484
  var serializeAws_json1_1ResumeSessionRequest = function (input, context) {
12718
- return __assign({}, (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
12485
+ return __assign({}, (input.SessionId != null && { SessionId: input.SessionId }));
12719
12486
  };
12720
12487
  var serializeAws_json1_1Runbook = function (input, context) {
12721
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
12722
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency !== undefined &&
12723
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Parameters !== undefined &&
12724
- input.Parameters !== null && {
12488
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DocumentName != null && { DocumentName: input.DocumentName })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Parameters != null && {
12725
12489
  Parameters: serializeAws_json1_1AutomationParameterMap(input.Parameters, context),
12726
- })), (input.TargetLocations !== undefined &&
12727
- input.TargetLocations !== null && {
12490
+ })), (input.TargetLocations != null && {
12728
12491
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
12729
- })), (input.TargetMaps !== undefined &&
12730
- input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.TargetParameterName !== undefined &&
12731
- input.TargetParameterName !== null && { TargetParameterName: input.TargetParameterName })), (input.Targets !== undefined &&
12732
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
12492
+ })), (input.TargetMaps != null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.TargetParameterName != null && { TargetParameterName: input.TargetParameterName })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
12733
12493
  };
12734
12494
  var serializeAws_json1_1Runbooks = function (input, context) {
12735
12495
  return input
@@ -12742,38 +12502,20 @@ var serializeAws_json1_1Runbooks = function (input, context) {
12742
12502
  });
12743
12503
  };
12744
12504
  var serializeAws_json1_1S3OutputLocation = function (input, context) {
12745
- return __assign(__assign(__assign({}, (input.OutputS3BucketName !== undefined &&
12746
- input.OutputS3BucketName !== null && { OutputS3BucketName: input.OutputS3BucketName })), (input.OutputS3KeyPrefix !== undefined &&
12747
- input.OutputS3KeyPrefix !== null && { OutputS3KeyPrefix: input.OutputS3KeyPrefix })), (input.OutputS3Region !== undefined &&
12748
- input.OutputS3Region !== null && { OutputS3Region: input.OutputS3Region }));
12505
+ return __assign(__assign(__assign({}, (input.OutputS3BucketName != null && { OutputS3BucketName: input.OutputS3BucketName })), (input.OutputS3KeyPrefix != null && { OutputS3KeyPrefix: input.OutputS3KeyPrefix })), (input.OutputS3Region != null && { OutputS3Region: input.OutputS3Region }));
12749
12506
  };
12750
12507
  var serializeAws_json1_1SendAutomationSignalRequest = function (input, context) {
12751
- return __assign(__assign(__assign({}, (input.AutomationExecutionId !== undefined &&
12752
- input.AutomationExecutionId !== null && { AutomationExecutionId: input.AutomationExecutionId })), (input.Payload !== undefined &&
12753
- input.Payload !== null && { Payload: serializeAws_json1_1AutomationParameterMap(input.Payload, context) })), (input.SignalType !== undefined && input.SignalType !== null && { SignalType: input.SignalType }));
12508
+ return __assign(__assign(__assign({}, (input.AutomationExecutionId != null && { AutomationExecutionId: input.AutomationExecutionId })), (input.Payload != null && { Payload: serializeAws_json1_1AutomationParameterMap(input.Payload, context) })), (input.SignalType != null && { SignalType: input.SignalType }));
12754
12509
  };
12755
12510
  var serializeAws_json1_1SendCommandRequest = function (input, context) {
12756
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchOutputConfig !== undefined &&
12757
- input.CloudWatchOutputConfig !== null && {
12511
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchOutputConfig != null && {
12758
12512
  CloudWatchOutputConfig: serializeAws_json1_1CloudWatchOutputConfig(input.CloudWatchOutputConfig, context),
12759
- })), (input.Comment !== undefined && input.Comment !== null && { Comment: input.Comment })), (input.DocumentHash !== undefined && input.DocumentHash !== null && { DocumentHash: input.DocumentHash })), (input.DocumentHashType !== undefined &&
12760
- input.DocumentHashType !== null && { DocumentHashType: input.DocumentHashType })), (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
12761
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.InstanceIds !== undefined &&
12762
- input.InstanceIds !== null && { InstanceIds: serializeAws_json1_1InstanceIdList(input.InstanceIds, context) })), (input.MaxConcurrency !== undefined &&
12763
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.NotificationConfig !== undefined &&
12764
- input.NotificationConfig !== null && {
12513
+ })), (input.Comment != null && { Comment: input.Comment })), (input.DocumentHash != null && { DocumentHash: input.DocumentHash })), (input.DocumentHashType != null && { DocumentHashType: input.DocumentHashType })), (input.DocumentName != null && { DocumentName: input.DocumentName })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.InstanceIds != null && { InstanceIds: serializeAws_json1_1InstanceIdList(input.InstanceIds, context) })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.NotificationConfig != null && {
12765
12514
  NotificationConfig: serializeAws_json1_1NotificationConfig(input.NotificationConfig, context),
12766
- })), (input.OutputS3BucketName !== undefined &&
12767
- input.OutputS3BucketName !== null && { OutputS3BucketName: input.OutputS3BucketName })), (input.OutputS3KeyPrefix !== undefined &&
12768
- input.OutputS3KeyPrefix !== null && { OutputS3KeyPrefix: input.OutputS3KeyPrefix })), (input.OutputS3Region !== undefined &&
12769
- input.OutputS3Region !== null && { OutputS3Region: input.OutputS3Region })), (input.Parameters !== undefined &&
12770
- input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ServiceRoleArn !== undefined &&
12771
- input.ServiceRoleArn !== null && { ServiceRoleArn: input.ServiceRoleArn })), (input.Targets !== undefined &&
12772
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.TimeoutSeconds !== undefined &&
12773
- input.TimeoutSeconds !== null && { TimeoutSeconds: input.TimeoutSeconds }));
12515
+ })), (input.OutputS3BucketName != null && { OutputS3BucketName: input.OutputS3BucketName })), (input.OutputS3KeyPrefix != null && { OutputS3KeyPrefix: input.OutputS3KeyPrefix })), (input.OutputS3Region != null && { OutputS3Region: input.OutputS3Region })), (input.Parameters != null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ServiceRoleArn != null && { ServiceRoleArn: input.ServiceRoleArn })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.TimeoutSeconds != null && { TimeoutSeconds: input.TimeoutSeconds }));
12774
12516
  };
12775
12517
  var serializeAws_json1_1SessionFilter = function (input, context) {
12776
- return __assign(__assign({}, (input.key !== undefined && input.key !== null && { key: input.key })), (input.value !== undefined && input.value !== null && { value: input.value }));
12518
+ return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
12777
12519
  };
12778
12520
  var serializeAws_json1_1SessionFilterList = function (input, context) {
12779
12521
  return input
@@ -12806,45 +12548,29 @@ var serializeAws_json1_1SessionManagerParameterValueList = function (input, cont
12806
12548
  });
12807
12549
  };
12808
12550
  var serializeAws_json1_1StartAssociationsOnceRequest = function (input, context) {
12809
- return __assign({}, (input.AssociationIds !== undefined &&
12810
- input.AssociationIds !== null && {
12551
+ return __assign({}, (input.AssociationIds != null && {
12811
12552
  AssociationIds: serializeAws_json1_1AssociationIdList(input.AssociationIds, context),
12812
12553
  }));
12813
12554
  };
12814
12555
  var serializeAws_json1_1StartAutomationExecutionRequest = function (input, context) {
12815
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClientToken !== undefined && input.ClientToken !== null && { ClientToken: input.ClientToken })), (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
12816
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency !== undefined &&
12817
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.Parameters !== undefined &&
12818
- input.Parameters !== null && {
12556
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClientToken != null && { ClientToken: input.ClientToken })), (input.DocumentName != null && { DocumentName: input.DocumentName })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Mode != null && { Mode: input.Mode })), (input.Parameters != null && {
12819
12557
  Parameters: serializeAws_json1_1AutomationParameterMap(input.Parameters, context),
12820
- })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetLocations !== undefined &&
12821
- input.TargetLocations !== null && {
12558
+ })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetLocations != null && {
12822
12559
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
12823
- })), (input.TargetMaps !== undefined &&
12824
- input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.TargetParameterName !== undefined &&
12825
- input.TargetParameterName !== null && { TargetParameterName: input.TargetParameterName })), (input.Targets !== undefined &&
12826
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
12560
+ })), (input.TargetMaps != null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.TargetParameterName != null && { TargetParameterName: input.TargetParameterName })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
12827
12561
  };
12828
12562
  var serializeAws_json1_1StartChangeRequestExecutionRequest = function (input, context) {
12829
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoApprove !== undefined && input.AutoApprove !== null && { AutoApprove: input.AutoApprove })), (input.ChangeDetails !== undefined && input.ChangeDetails !== null && { ChangeDetails: input.ChangeDetails })), (input.ChangeRequestName !== undefined &&
12830
- input.ChangeRequestName !== null && { ChangeRequestName: input.ChangeRequestName })), (input.ClientToken !== undefined && input.ClientToken !== null && { ClientToken: input.ClientToken })), (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
12831
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Parameters !== undefined &&
12832
- input.Parameters !== null && {
12563
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoApprove != null && { AutoApprove: input.AutoApprove })), (input.ChangeDetails != null && { ChangeDetails: input.ChangeDetails })), (input.ChangeRequestName != null && { ChangeRequestName: input.ChangeRequestName })), (input.ClientToken != null && { ClientToken: input.ClientToken })), (input.DocumentName != null && { DocumentName: input.DocumentName })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Parameters != null && {
12833
12564
  Parameters: serializeAws_json1_1AutomationParameterMap(input.Parameters, context),
12834
- })), (input.Runbooks !== undefined &&
12835
- input.Runbooks !== null && { Runbooks: serializeAws_json1_1Runbooks(input.Runbooks, context) })), (input.ScheduledEndTime !== undefined &&
12836
- input.ScheduledEndTime !== null && { ScheduledEndTime: Math.round(input.ScheduledEndTime.getTime() / 1000) })), (input.ScheduledTime !== undefined &&
12837
- input.ScheduledTime !== null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
12565
+ })), (input.Runbooks != null && { Runbooks: serializeAws_json1_1Runbooks(input.Runbooks, context) })), (input.ScheduledEndTime != null && { ScheduledEndTime: Math.round(input.ScheduledEndTime.getTime() / 1000) })), (input.ScheduledTime != null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
12838
12566
  };
12839
12567
  var serializeAws_json1_1StartSessionRequest = function (input, context) {
12840
- return __assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.Parameters !== undefined &&
12841
- input.Parameters !== null && {
12568
+ return __assign(__assign(__assign(__assign({}, (input.DocumentName != null && { DocumentName: input.DocumentName })), (input.Parameters != null && {
12842
12569
  Parameters: serializeAws_json1_1SessionManagerParameters(input.Parameters, context),
12843
- })), (input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason })), (input.Target !== undefined && input.Target !== null && { Target: input.Target }));
12570
+ })), (input.Reason != null && { Reason: input.Reason })), (input.Target != null && { Target: input.Target }));
12844
12571
  };
12845
12572
  var serializeAws_json1_1StepExecutionFilter = function (input, context) {
12846
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12847
- input.Values !== null && { Values: serializeAws_json1_1StepExecutionFilterValueList(input.Values, context) }));
12573
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1StepExecutionFilterValueList(input.Values, context) }));
12848
12574
  };
12849
12575
  var serializeAws_json1_1StepExecutionFilterList = function (input, context) {
12850
12576
  return input
@@ -12867,8 +12593,7 @@ var serializeAws_json1_1StepExecutionFilterValueList = function (input, context)
12867
12593
  });
12868
12594
  };
12869
12595
  var serializeAws_json1_1StopAutomationExecutionRequest = function (input, context) {
12870
- return __assign(__assign({}, (input.AutomationExecutionId !== undefined &&
12871
- input.AutomationExecutionId !== null && { AutomationExecutionId: input.AutomationExecutionId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
12596
+ return __assign(__assign({}, (input.AutomationExecutionId != null && { AutomationExecutionId: input.AutomationExecutionId })), (input.Type != null && { Type: input.Type }));
12872
12597
  };
12873
12598
  var serializeAws_json1_1StringList = function (input, context) {
12874
12599
  return input
@@ -12881,7 +12606,7 @@ var serializeAws_json1_1StringList = function (input, context) {
12881
12606
  });
12882
12607
  };
12883
12608
  var serializeAws_json1_1Tag = function (input, context) {
12884
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
12609
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
12885
12610
  };
12886
12611
  var serializeAws_json1_1TagList = function (input, context) {
12887
12612
  return input
@@ -12894,18 +12619,12 @@ var serializeAws_json1_1TagList = function (input, context) {
12894
12619
  });
12895
12620
  };
12896
12621
  var serializeAws_json1_1Target = function (input, context) {
12897
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
12898
- input.Values !== null && { Values: serializeAws_json1_1TargetValues(input.Values, context) }));
12622
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1TargetValues(input.Values, context) }));
12899
12623
  };
12900
12624
  var serializeAws_json1_1TargetLocation = function (input, context) {
12901
- return __assign(__assign(__assign(__assign(__assign({}, (input.Accounts !== undefined &&
12902
- input.Accounts !== null && { Accounts: serializeAws_json1_1Accounts(input.Accounts, context) })), (input.ExecutionRoleName !== undefined &&
12903
- input.ExecutionRoleName !== null && { ExecutionRoleName: input.ExecutionRoleName })), (input.Regions !== undefined &&
12904
- input.Regions !== null && { Regions: serializeAws_json1_1Regions(input.Regions, context) })), (input.TargetLocationMaxConcurrency !== undefined &&
12905
- input.TargetLocationMaxConcurrency !== null && {
12625
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Accounts != null && { Accounts: serializeAws_json1_1Accounts(input.Accounts, context) })), (input.ExecutionRoleName != null && { ExecutionRoleName: input.ExecutionRoleName })), (input.Regions != null && { Regions: serializeAws_json1_1Regions(input.Regions, context) })), (input.TargetLocationMaxConcurrency != null && {
12906
12626
  TargetLocationMaxConcurrency: input.TargetLocationMaxConcurrency,
12907
- })), (input.TargetLocationMaxErrors !== undefined &&
12908
- input.TargetLocationMaxErrors !== null && { TargetLocationMaxErrors: input.TargetLocationMaxErrors }));
12627
+ })), (input.TargetLocationMaxErrors != null && { TargetLocationMaxErrors: input.TargetLocationMaxErrors }));
12909
12628
  };
12910
12629
  var serializeAws_json1_1TargetLocations = function (input, context) {
12911
12630
  return input
@@ -12968,154 +12687,96 @@ var serializeAws_json1_1TargetValues = function (input, context) {
12968
12687
  });
12969
12688
  };
12970
12689
  var serializeAws_json1_1TerminateSessionRequest = function (input, context) {
12971
- return __assign({}, (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
12690
+ return __assign({}, (input.SessionId != null && { SessionId: input.SessionId }));
12972
12691
  };
12973
12692
  var serializeAws_json1_1UnlabelParameterVersionRequest = function (input, context) {
12974
- return __assign(__assign(__assign({}, (input.Labels !== undefined &&
12975
- input.Labels !== null && { Labels: serializeAws_json1_1ParameterLabelList(input.Labels, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParameterVersion !== undefined &&
12976
- input.ParameterVersion !== null && { ParameterVersion: input.ParameterVersion }));
12693
+ return __assign(__assign(__assign({}, (input.Labels != null && { Labels: serializeAws_json1_1ParameterLabelList(input.Labels, context) })), (input.Name != null && { Name: input.Name })), (input.ParameterVersion != null && { ParameterVersion: input.ParameterVersion }));
12977
12694
  };
12978
12695
  var serializeAws_json1_1UpdateAssociationRequest = function (input, context) {
12979
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
12980
- input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.AssociationName !== undefined &&
12981
- input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AssociationVersion !== undefined &&
12982
- input.AssociationVersion !== null && { AssociationVersion: input.AssociationVersion })), (input.AutomationTargetParameterName !== undefined &&
12983
- input.AutomationTargetParameterName !== null && {
12696
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval != null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationId != null && { AssociationId: input.AssociationId })), (input.AssociationName != null && { AssociationName: input.AssociationName })), (input.AssociationVersion != null && { AssociationVersion: input.AssociationVersion })), (input.AutomationTargetParameterName != null && {
12984
12697
  AutomationTargetParameterName: input.AutomationTargetParameterName,
12985
- })), (input.CalendarNames !== undefined &&
12986
- input.CalendarNames !== null && {
12698
+ })), (input.CalendarNames != null && {
12987
12699
  CalendarNames: serializeAws_json1_1CalendarNameOrARNList(input.CalendarNames, context),
12988
- })), (input.ComplianceSeverity !== undefined &&
12989
- input.ComplianceSeverity !== null && { ComplianceSeverity: input.ComplianceSeverity })), (input.DocumentVersion !== undefined &&
12990
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency !== undefined &&
12991
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OutputLocation !== undefined &&
12992
- input.OutputLocation !== null && {
12700
+ })), (input.ComplianceSeverity != null && { ComplianceSeverity: input.ComplianceSeverity })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Name != null && { Name: input.Name })), (input.OutputLocation != null && {
12993
12701
  OutputLocation: serializeAws_json1_1InstanceAssociationOutputLocation(input.OutputLocation, context),
12994
- })), (input.Parameters !== undefined &&
12995
- input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression !== undefined &&
12996
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset !== undefined &&
12997
- input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance !== undefined &&
12998
- input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
12999
- input.TargetLocations !== null && {
12702
+ })), (input.Parameters != null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance != null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations != null && {
13000
12703
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
13001
- })), (input.TargetMaps !== undefined &&
13002
- input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets !== undefined &&
13003
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
12704
+ })), (input.TargetMaps != null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
13004
12705
  };
13005
12706
  var serializeAws_json1_1UpdateAssociationStatusRequest = function (input, context) {
13006
- return __assign(__assign(__assign({}, (input.AssociationStatus !== undefined &&
13007
- input.AssociationStatus !== null && {
12707
+ return __assign(__assign(__assign({}, (input.AssociationStatus != null && {
13008
12708
  AssociationStatus: serializeAws_json1_1AssociationStatus(input.AssociationStatus, context),
13009
- })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
12709
+ })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.Name != null && { Name: input.Name }));
13010
12710
  };
13011
12711
  var serializeAws_json1_1UpdateDocumentDefaultVersionRequest = function (input, context) {
13012
- return __assign(__assign({}, (input.DocumentVersion !== undefined &&
13013
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
12712
+ return __assign(__assign({}, (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Name != null && { Name: input.Name }));
13014
12713
  };
13015
12714
  var serializeAws_json1_1UpdateDocumentMetadataRequest = function (input, context) {
13016
- return __assign(__assign(__assign({}, (input.DocumentReviews !== undefined &&
13017
- input.DocumentReviews !== null && {
12715
+ return __assign(__assign(__assign({}, (input.DocumentReviews != null && {
13018
12716
  DocumentReviews: serializeAws_json1_1DocumentReviews(input.DocumentReviews, context),
13019
- })), (input.DocumentVersion !== undefined &&
13020
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
12717
+ })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Name != null && { Name: input.Name }));
13021
12718
  };
13022
12719
  var serializeAws_json1_1UpdateDocumentRequest = function (input, context) {
13023
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attachments !== undefined &&
13024
- input.Attachments !== null && {
12720
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attachments != null && {
13025
12721
  Attachments: serializeAws_json1_1AttachmentsSourceList(input.Attachments, context),
13026
- })), (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DocumentFormat !== undefined &&
13027
- input.DocumentFormat !== null && { DocumentFormat: input.DocumentFormat })), (input.DocumentVersion !== undefined &&
13028
- input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.TargetType !== undefined && input.TargetType !== null && { TargetType: input.TargetType })), (input.VersionName !== undefined && input.VersionName !== null && { VersionName: input.VersionName }));
12722
+ })), (input.Content != null && { Content: input.Content })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DocumentFormat != null && { DocumentFormat: input.DocumentFormat })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion })), (input.Name != null && { Name: input.Name })), (input.TargetType != null && { TargetType: input.TargetType })), (input.VersionName != null && { VersionName: input.VersionName }));
13029
12723
  };
13030
12724
  var serializeAws_json1_1UpdateMaintenanceWindowRequest = function (input, context) {
13031
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowUnassociatedTargets !== undefined &&
13032
- input.AllowUnassociatedTargets !== null && { AllowUnassociatedTargets: input.AllowUnassociatedTargets })), (input.Cutoff !== undefined && input.Cutoff !== null && { Cutoff: input.Cutoff })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Duration !== undefined && input.Duration !== null && { Duration: input.Duration })), (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.EndDate !== undefined && input.EndDate !== null && { EndDate: input.EndDate })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Replace !== undefined && input.Replace !== null && { Replace: input.Replace })), (input.Schedule !== undefined && input.Schedule !== null && { Schedule: input.Schedule })), (input.ScheduleOffset !== undefined &&
13033
- input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.ScheduleTimezone !== undefined &&
13034
- input.ScheduleTimezone !== null && { ScheduleTimezone: input.ScheduleTimezone })), (input.StartDate !== undefined && input.StartDate !== null && { StartDate: input.StartDate })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
12725
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowUnassociatedTargets != null && { AllowUnassociatedTargets: input.AllowUnassociatedTargets })), (input.Cutoff != null && { Cutoff: input.Cutoff })), (input.Description != null && { Description: input.Description })), (input.Duration != null && { Duration: input.Duration })), (input.Enabled != null && { Enabled: input.Enabled })), (input.EndDate != null && { EndDate: input.EndDate })), (input.Name != null && { Name: input.Name })), (input.Replace != null && { Replace: input.Replace })), (input.Schedule != null && { Schedule: input.Schedule })), (input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset })), (input.ScheduleTimezone != null && { ScheduleTimezone: input.ScheduleTimezone })), (input.StartDate != null && { StartDate: input.StartDate })), (input.WindowId != null && { WindowId: input.WindowId }));
13035
12726
  };
13036
12727
  var serializeAws_json1_1UpdateMaintenanceWindowTargetRequest = function (input, context) {
13037
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OwnerInformation !== undefined &&
13038
- input.OwnerInformation !== null && { OwnerInformation: input.OwnerInformation })), (input.Replace !== undefined && input.Replace !== null && { Replace: input.Replace })), (input.Targets !== undefined &&
13039
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId })), (input.WindowTargetId !== undefined &&
13040
- input.WindowTargetId !== null && { WindowTargetId: input.WindowTargetId }));
12728
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.OwnerInformation != null && { OwnerInformation: input.OwnerInformation })), (input.Replace != null && { Replace: input.Replace })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.WindowId != null && { WindowId: input.WindowId })), (input.WindowTargetId != null && { WindowTargetId: input.WindowTargetId }));
13041
12729
  };
13042
12730
  var serializeAws_json1_1UpdateMaintenanceWindowTaskRequest = function (input, context) {
13043
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CutoffBehavior !== undefined &&
13044
- input.CutoffBehavior !== null && { CutoffBehavior: input.CutoffBehavior })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.LoggingInfo !== undefined &&
13045
- input.LoggingInfo !== null && { LoggingInfo: serializeAws_json1_1LoggingInfo(input.LoggingInfo, context) })), (input.MaxConcurrency !== undefined &&
13046
- input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.Replace !== undefined && input.Replace !== null && { Replace: input.Replace })), (input.ServiceRoleArn !== undefined &&
13047
- input.ServiceRoleArn !== null && { ServiceRoleArn: input.ServiceRoleArn })), (input.Targets !== undefined &&
13048
- input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.TaskArn !== undefined && input.TaskArn !== null && { TaskArn: input.TaskArn })), (input.TaskInvocationParameters !== undefined &&
13049
- input.TaskInvocationParameters !== null && {
12731
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CutoffBehavior != null && { CutoffBehavior: input.CutoffBehavior })), (input.Description != null && { Description: input.Description })), (input.LoggingInfo != null && { LoggingInfo: serializeAws_json1_1LoggingInfo(input.LoggingInfo, context) })), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors != null && { MaxErrors: input.MaxErrors })), (input.Name != null && { Name: input.Name })), (input.Priority != null && { Priority: input.Priority })), (input.Replace != null && { Replace: input.Replace })), (input.ServiceRoleArn != null && { ServiceRoleArn: input.ServiceRoleArn })), (input.Targets != null && { Targets: serializeAws_json1_1Targets(input.Targets, context) })), (input.TaskArn != null && { TaskArn: input.TaskArn })), (input.TaskInvocationParameters != null && {
13050
12732
  TaskInvocationParameters: serializeAws_json1_1MaintenanceWindowTaskInvocationParameters(input.TaskInvocationParameters, context),
13051
- })), (input.TaskParameters !== undefined &&
13052
- input.TaskParameters !== null && {
12733
+ })), (input.TaskParameters != null && {
13053
12734
  TaskParameters: serializeAws_json1_1MaintenanceWindowTaskParameters(input.TaskParameters, context),
13054
- })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId })), (input.WindowTaskId !== undefined && input.WindowTaskId !== null && { WindowTaskId: input.WindowTaskId }));
12735
+ })), (input.WindowId != null && { WindowId: input.WindowId })), (input.WindowTaskId != null && { WindowTaskId: input.WindowTaskId }));
13055
12736
  };
13056
12737
  var serializeAws_json1_1UpdateManagedInstanceRoleRequest = function (input, context) {
13057
- return __assign(__assign({}, (input.IamRole !== undefined && input.IamRole !== null && { IamRole: input.IamRole })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }));
12738
+ return __assign(__assign({}, (input.IamRole != null && { IamRole: input.IamRole })), (input.InstanceId != null && { InstanceId: input.InstanceId }));
13058
12739
  };
13059
12740
  var serializeAws_json1_1UpdateOpsItemRequest = function (input, context) {
13060
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActualEndTime !== undefined &&
13061
- input.ActualEndTime !== null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) })), (input.ActualStartTime !== undefined &&
13062
- input.ActualStartTime !== null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) })), (input.Category !== undefined && input.Category !== null && { Category: input.Category })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Notifications !== undefined &&
13063
- input.Notifications !== null && {
12741
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) })), (input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) })), (input.Category != null && { Category: input.Category })), (input.Description != null && { Description: input.Description })), (input.Notifications != null && {
13064
12742
  Notifications: serializeAws_json1_1OpsItemNotifications(input.Notifications, context),
13065
- })), (input.OperationalData !== undefined &&
13066
- input.OperationalData !== null && {
12743
+ })), (input.OperationalData != null && {
13067
12744
  OperationalData: serializeAws_json1_1OpsItemOperationalData(input.OperationalData, context),
13068
- })), (input.OperationalDataToDelete !== undefined &&
13069
- input.OperationalDataToDelete !== null && {
12745
+ })), (input.OperationalDataToDelete != null && {
13070
12746
  OperationalDataToDelete: serializeAws_json1_1OpsItemOpsDataKeysList(input.OperationalDataToDelete, context),
13071
- })), (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId })), (input.PlannedEndTime !== undefined &&
13072
- input.PlannedEndTime !== null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) })), (input.PlannedStartTime !== undefined &&
13073
- input.PlannedStartTime !== null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.RelatedOpsItems !== undefined &&
13074
- input.RelatedOpsItems !== null && {
12747
+ })), (input.OpsItemId != null && { OpsItemId: input.OpsItemId })), (input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) })), (input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) })), (input.Priority != null && { Priority: input.Priority })), (input.RelatedOpsItems != null && {
13075
12748
  RelatedOpsItems: serializeAws_json1_1RelatedOpsItems(input.RelatedOpsItems, context),
13076
- })), (input.Severity !== undefined && input.Severity !== null && { Severity: input.Severity })), (input.Status !== undefined && input.Status !== null && { Status: input.Status })), (input.Title !== undefined && input.Title !== null && { Title: input.Title }));
12749
+ })), (input.Severity != null && { Severity: input.Severity })), (input.Status != null && { Status: input.Status })), (input.Title != null && { Title: input.Title }));
13077
12750
  };
13078
12751
  var serializeAws_json1_1UpdateOpsMetadataRequest = function (input, context) {
13079
- return __assign(__assign(__assign({}, (input.KeysToDelete !== undefined &&
13080
- input.KeysToDelete !== null && {
12752
+ return __assign(__assign(__assign({}, (input.KeysToDelete != null && {
13081
12753
  KeysToDelete: serializeAws_json1_1MetadataKeysToDeleteList(input.KeysToDelete, context),
13082
- })), (input.MetadataToUpdate !== undefined &&
13083
- input.MetadataToUpdate !== null && {
12754
+ })), (input.MetadataToUpdate != null && {
13084
12755
  MetadataToUpdate: serializeAws_json1_1MetadataMap(input.MetadataToUpdate, context),
13085
- })), (input.OpsMetadataArn !== undefined &&
13086
- input.OpsMetadataArn !== null && { OpsMetadataArn: input.OpsMetadataArn }));
12756
+ })), (input.OpsMetadataArn != null && { OpsMetadataArn: input.OpsMetadataArn }));
13087
12757
  };
13088
12758
  var serializeAws_json1_1UpdatePatchBaselineRequest = function (input, context) {
13089
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApprovalRules !== undefined &&
13090
- input.ApprovalRules !== null && {
12759
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApprovalRules != null && {
13091
12760
  ApprovalRules: serializeAws_json1_1PatchRuleGroup(input.ApprovalRules, context),
13092
- })), (input.ApprovedPatches !== undefined &&
13093
- input.ApprovedPatches !== null && {
12761
+ })), (input.ApprovedPatches != null && {
13094
12762
  ApprovedPatches: serializeAws_json1_1PatchIdList(input.ApprovedPatches, context),
13095
- })), (input.ApprovedPatchesComplianceLevel !== undefined &&
13096
- input.ApprovedPatchesComplianceLevel !== null && {
12763
+ })), (input.ApprovedPatchesComplianceLevel != null && {
13097
12764
  ApprovedPatchesComplianceLevel: input.ApprovedPatchesComplianceLevel,
13098
- })), (input.ApprovedPatchesEnableNonSecurity !== undefined &&
13099
- input.ApprovedPatchesEnableNonSecurity !== null && {
12765
+ })), (input.ApprovedPatchesEnableNonSecurity != null && {
13100
12766
  ApprovedPatchesEnableNonSecurity: input.ApprovedPatchesEnableNonSecurity,
13101
- })), (input.BaselineId !== undefined && input.BaselineId !== null && { BaselineId: input.BaselineId })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.GlobalFilters !== undefined &&
13102
- input.GlobalFilters !== null && {
12767
+ })), (input.BaselineId != null && { BaselineId: input.BaselineId })), (input.Description != null && { Description: input.Description })), (input.GlobalFilters != null && {
13103
12768
  GlobalFilters: serializeAws_json1_1PatchFilterGroup(input.GlobalFilters, context),
13104
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RejectedPatches !== undefined &&
13105
- input.RejectedPatches !== null && {
12769
+ })), (input.Name != null && { Name: input.Name })), (input.RejectedPatches != null && {
13106
12770
  RejectedPatches: serializeAws_json1_1PatchIdList(input.RejectedPatches, context),
13107
- })), (input.RejectedPatchesAction !== undefined &&
13108
- input.RejectedPatchesAction !== null && { RejectedPatchesAction: input.RejectedPatchesAction })), (input.Replace !== undefined && input.Replace !== null && { Replace: input.Replace })), (input.Sources !== undefined &&
13109
- input.Sources !== null && { Sources: serializeAws_json1_1PatchSourceList(input.Sources, context) }));
12771
+ })), (input.RejectedPatchesAction != null && { RejectedPatchesAction: input.RejectedPatchesAction })), (input.Replace != null && { Replace: input.Replace })), (input.Sources != null && { Sources: serializeAws_json1_1PatchSourceList(input.Sources, context) }));
13110
12772
  };
13111
12773
  var serializeAws_json1_1UpdateResourceDataSyncRequest = function (input, context) {
13112
- return __assign(__assign(__assign({}, (input.SyncName !== undefined && input.SyncName !== null && { SyncName: input.SyncName })), (input.SyncSource !== undefined &&
13113
- input.SyncSource !== null && {
12774
+ return __assign(__assign(__assign({}, (input.SyncName != null && { SyncName: input.SyncName })), (input.SyncSource != null && {
13114
12775
  SyncSource: serializeAws_json1_1ResourceDataSyncSource(input.SyncSource, context),
13115
- })), (input.SyncType !== undefined && input.SyncType !== null && { SyncType: input.SyncType }));
12776
+ })), (input.SyncType != null && { SyncType: input.SyncType }));
13116
12777
  };
13117
12778
  var serializeAws_json1_1UpdateServiceSettingRequest = function (input, context) {
13118
- return __assign(__assign({}, (input.SettingId !== undefined && input.SettingId !== null && { SettingId: input.SettingId })), (input.SettingValue !== undefined && input.SettingValue !== null && { SettingValue: input.SettingValue }));
12779
+ return __assign(__assign({}, (input.SettingId != null && { SettingId: input.SettingId })), (input.SettingValue != null && { SettingValue: input.SettingValue }));
13119
12780
  };
13120
12781
  var deserializeAws_json1_1AccountIdList = function (output, context) {
13121
12782
  var retVal = (output || [])
@@ -13159,21 +12820,19 @@ var deserializeAws_json1_1AccountSharingInfoList = function (output, context) {
13159
12820
  var deserializeAws_json1_1Activation = function (output, context) {
13160
12821
  return {
13161
12822
  ActivationId: __expectString(output.ActivationId),
13162
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
12823
+ CreatedDate: output.CreatedDate != null
13163
12824
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
13164
12825
  : undefined,
13165
12826
  DefaultInstanceName: __expectString(output.DefaultInstanceName),
13166
12827
  Description: __expectString(output.Description),
13167
- ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
12828
+ ExpirationDate: output.ExpirationDate != null
13168
12829
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationDate)))
13169
12830
  : undefined,
13170
12831
  Expired: __expectBoolean(output.Expired),
13171
12832
  IamRole: __expectString(output.IamRole),
13172
12833
  RegistrationLimit: __expectInt32(output.RegistrationLimit),
13173
12834
  RegistrationsCount: __expectInt32(output.RegistrationsCount),
13174
- Tags: output.Tags !== undefined && output.Tags !== null
13175
- ? deserializeAws_json1_1TagList(output.Tags, context)
13176
- : undefined,
12835
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
13177
12836
  };
13178
12837
  };
13179
12838
  var deserializeAws_json1_1ActivationList = function (output, context) {
@@ -13210,21 +12869,15 @@ var deserializeAws_json1_1Association = function (output, context) {
13210
12869
  AssociationVersion: __expectString(output.AssociationVersion),
13211
12870
  DocumentVersion: __expectString(output.DocumentVersion),
13212
12871
  InstanceId: __expectString(output.InstanceId),
13213
- LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
12872
+ LastExecutionDate: output.LastExecutionDate != null
13214
12873
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
13215
12874
  : undefined,
13216
12875
  Name: __expectString(output.Name),
13217
- Overview: output.Overview !== undefined && output.Overview !== null
13218
- ? deserializeAws_json1_1AssociationOverview(output.Overview, context)
13219
- : undefined,
12876
+ Overview: output.Overview != null ? deserializeAws_json1_1AssociationOverview(output.Overview, context) : undefined,
13220
12877
  ScheduleExpression: __expectString(output.ScheduleExpression),
13221
12878
  ScheduleOffset: __expectInt32(output.ScheduleOffset),
13222
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
13223
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
13224
- : undefined,
13225
- Targets: output.Targets !== undefined && output.Targets !== null
13226
- ? deserializeAws_json1_1Targets(output.Targets, context)
13227
- : undefined,
12879
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
12880
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13228
12881
  };
13229
12882
  };
13230
12883
  var deserializeAws_json1_1AssociationAlreadyExists = function (output, context) {
@@ -13237,51 +12890,39 @@ var deserializeAws_json1_1AssociationDescription = function (output, context) {
13237
12890
  AssociationName: __expectString(output.AssociationName),
13238
12891
  AssociationVersion: __expectString(output.AssociationVersion),
13239
12892
  AutomationTargetParameterName: __expectString(output.AutomationTargetParameterName),
13240
- CalendarNames: output.CalendarNames !== undefined && output.CalendarNames !== null
12893
+ CalendarNames: output.CalendarNames != null
13241
12894
  ? deserializeAws_json1_1CalendarNameOrARNList(output.CalendarNames, context)
13242
12895
  : undefined,
13243
12896
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
13244
- Date: output.Date !== undefined && output.Date !== null
13245
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
13246
- : undefined,
12897
+ Date: output.Date != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date))) : undefined,
13247
12898
  DocumentVersion: __expectString(output.DocumentVersion),
13248
12899
  InstanceId: __expectString(output.InstanceId),
13249
- LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
12900
+ LastExecutionDate: output.LastExecutionDate != null
13250
12901
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
13251
12902
  : undefined,
13252
- LastSuccessfulExecutionDate: output.LastSuccessfulExecutionDate !== undefined && output.LastSuccessfulExecutionDate !== null
12903
+ LastSuccessfulExecutionDate: output.LastSuccessfulExecutionDate != null
13253
12904
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulExecutionDate)))
13254
12905
  : undefined,
13255
- LastUpdateAssociationDate: output.LastUpdateAssociationDate !== undefined && output.LastUpdateAssociationDate !== null
12906
+ LastUpdateAssociationDate: output.LastUpdateAssociationDate != null
13256
12907
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateAssociationDate)))
13257
12908
  : undefined,
13258
12909
  MaxConcurrency: __expectString(output.MaxConcurrency),
13259
12910
  MaxErrors: __expectString(output.MaxErrors),
13260
12911
  Name: __expectString(output.Name),
13261
- OutputLocation: output.OutputLocation !== undefined && output.OutputLocation !== null
12912
+ OutputLocation: output.OutputLocation != null
13262
12913
  ? deserializeAws_json1_1InstanceAssociationOutputLocation(output.OutputLocation, context)
13263
12914
  : undefined,
13264
- Overview: output.Overview !== undefined && output.Overview !== null
13265
- ? deserializeAws_json1_1AssociationOverview(output.Overview, context)
13266
- : undefined,
13267
- Parameters: output.Parameters !== undefined && output.Parameters !== null
13268
- ? deserializeAws_json1_1Parameters(output.Parameters, context)
13269
- : undefined,
12915
+ Overview: output.Overview != null ? deserializeAws_json1_1AssociationOverview(output.Overview, context) : undefined,
12916
+ Parameters: output.Parameters != null ? deserializeAws_json1_1Parameters(output.Parameters, context) : undefined,
13270
12917
  ScheduleExpression: __expectString(output.ScheduleExpression),
13271
12918
  ScheduleOffset: __expectInt32(output.ScheduleOffset),
13272
- Status: output.Status !== undefined && output.Status !== null
13273
- ? deserializeAws_json1_1AssociationStatus(output.Status, context)
13274
- : undefined,
12919
+ Status: output.Status != null ? deserializeAws_json1_1AssociationStatus(output.Status, context) : undefined,
13275
12920
  SyncCompliance: __expectString(output.SyncCompliance),
13276
- TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
12921
+ TargetLocations: output.TargetLocations != null
13277
12922
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
13278
12923
  : undefined,
13279
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
13280
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
13281
- : undefined,
13282
- Targets: output.Targets !== undefined && output.Targets !== null
13283
- ? deserializeAws_json1_1Targets(output.Targets, context)
13284
- : undefined,
12924
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
12925
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13285
12926
  };
13286
12927
  };
13287
12928
  var deserializeAws_json1_1AssociationDescriptionList = function (output, context) {
@@ -13304,12 +12945,12 @@ var deserializeAws_json1_1AssociationExecution = function (output, context) {
13304
12945
  return {
13305
12946
  AssociationId: __expectString(output.AssociationId),
13306
12947
  AssociationVersion: __expectString(output.AssociationVersion),
13307
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
12948
+ CreatedTime: output.CreatedTime != null
13308
12949
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
13309
12950
  : undefined,
13310
12951
  DetailedStatus: __expectString(output.DetailedStatus),
13311
12952
  ExecutionId: __expectString(output.ExecutionId),
13312
- LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
12953
+ LastExecutionDate: output.LastExecutionDate != null
13313
12954
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
13314
12955
  : undefined,
13315
12956
  ResourceCountByStatus: __expectString(output.ResourceCountByStatus),
@@ -13338,12 +12979,10 @@ var deserializeAws_json1_1AssociationExecutionTarget = function (output, context
13338
12979
  AssociationVersion: __expectString(output.AssociationVersion),
13339
12980
  DetailedStatus: __expectString(output.DetailedStatus),
13340
12981
  ExecutionId: __expectString(output.ExecutionId),
13341
- LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
12982
+ LastExecutionDate: output.LastExecutionDate != null
13342
12983
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
13343
12984
  : undefined,
13344
- OutputSource: output.OutputSource !== undefined && output.OutputSource !== null
13345
- ? deserializeAws_json1_1OutputSource(output.OutputSource, context)
13346
- : undefined,
12985
+ OutputSource: output.OutputSource != null ? deserializeAws_json1_1OutputSource(output.OutputSource, context) : undefined,
13347
12986
  ResourceId: __expectString(output.ResourceId),
13348
12987
  ResourceType: __expectString(output.ResourceType),
13349
12988
  Status: __expectString(output.Status),
@@ -13376,7 +13015,7 @@ var deserializeAws_json1_1AssociationList = function (output, context) {
13376
13015
  };
13377
13016
  var deserializeAws_json1_1AssociationOverview = function (output, context) {
13378
13017
  return {
13379
- AssociationStatusAggregatedCount: output.AssociationStatusAggregatedCount !== undefined && output.AssociationStatusAggregatedCount !== null
13018
+ AssociationStatusAggregatedCount: output.AssociationStatusAggregatedCount != null
13380
13019
  ? deserializeAws_json1_1AssociationStatusAggregatedCount(output.AssociationStatusAggregatedCount, context)
13381
13020
  : undefined,
13382
13021
  DetailedStatus: __expectString(output.DetailedStatus),
@@ -13386,9 +13025,7 @@ var deserializeAws_json1_1AssociationOverview = function (output, context) {
13386
13025
  var deserializeAws_json1_1AssociationStatus = function (output, context) {
13387
13026
  return {
13388
13027
  AdditionalInfo: __expectString(output.AdditionalInfo),
13389
- Date: output.Date !== undefined && output.Date !== null
13390
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
13391
- : undefined,
13028
+ Date: output.Date != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date))) : undefined,
13392
13029
  Message: __expectString(output.Message),
13393
13030
  Name: __expectString(output.Name),
13394
13031
  };
@@ -13409,35 +13046,29 @@ var deserializeAws_json1_1AssociationVersionInfo = function (output, context) {
13409
13046
  AssociationId: __expectString(output.AssociationId),
13410
13047
  AssociationName: __expectString(output.AssociationName),
13411
13048
  AssociationVersion: __expectString(output.AssociationVersion),
13412
- CalendarNames: output.CalendarNames !== undefined && output.CalendarNames !== null
13049
+ CalendarNames: output.CalendarNames != null
13413
13050
  ? deserializeAws_json1_1CalendarNameOrARNList(output.CalendarNames, context)
13414
13051
  : undefined,
13415
13052
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
13416
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
13053
+ CreatedDate: output.CreatedDate != null
13417
13054
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
13418
13055
  : undefined,
13419
13056
  DocumentVersion: __expectString(output.DocumentVersion),
13420
13057
  MaxConcurrency: __expectString(output.MaxConcurrency),
13421
13058
  MaxErrors: __expectString(output.MaxErrors),
13422
13059
  Name: __expectString(output.Name),
13423
- OutputLocation: output.OutputLocation !== undefined && output.OutputLocation !== null
13060
+ OutputLocation: output.OutputLocation != null
13424
13061
  ? deserializeAws_json1_1InstanceAssociationOutputLocation(output.OutputLocation, context)
13425
13062
  : undefined,
13426
- Parameters: output.Parameters !== undefined && output.Parameters !== null
13427
- ? deserializeAws_json1_1Parameters(output.Parameters, context)
13428
- : undefined,
13063
+ Parameters: output.Parameters != null ? deserializeAws_json1_1Parameters(output.Parameters, context) : undefined,
13429
13064
  ScheduleExpression: __expectString(output.ScheduleExpression),
13430
13065
  ScheduleOffset: __expectInt32(output.ScheduleOffset),
13431
13066
  SyncCompliance: __expectString(output.SyncCompliance),
13432
- TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
13067
+ TargetLocations: output.TargetLocations != null
13433
13068
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
13434
13069
  : undefined,
13435
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
13436
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
13437
- : undefined,
13438
- Targets: output.Targets !== undefined && output.Targets !== null
13439
- ? deserializeAws_json1_1Targets(output.Targets, context)
13440
- : undefined,
13070
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
13071
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13441
13072
  };
13442
13073
  };
13443
13074
  var deserializeAws_json1_1AssociationVersionLimitExceeded = function (output, context) {
@@ -13519,10 +13150,10 @@ var deserializeAws_json1_1AutomationExecution = function (output, context) {
13519
13150
  DocumentName: __expectString(output.DocumentName),
13520
13151
  DocumentVersion: __expectString(output.DocumentVersion),
13521
13152
  ExecutedBy: __expectString(output.ExecutedBy),
13522
- ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
13153
+ ExecutionEndTime: output.ExecutionEndTime != null
13523
13154
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
13524
13155
  : undefined,
13525
- ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
13156
+ ExecutionStartTime: output.ExecutionStartTime != null
13526
13157
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
13527
13158
  : undefined,
13528
13159
  FailureMessage: __expectString(output.FailureMessage),
@@ -13530,40 +13161,30 @@ var deserializeAws_json1_1AutomationExecution = function (output, context) {
13530
13161
  MaxErrors: __expectString(output.MaxErrors),
13531
13162
  Mode: __expectString(output.Mode),
13532
13163
  OpsItemId: __expectString(output.OpsItemId),
13533
- Outputs: output.Outputs !== undefined && output.Outputs !== null
13534
- ? deserializeAws_json1_1AutomationParameterMap(output.Outputs, context)
13535
- : undefined,
13536
- Parameters: output.Parameters !== undefined && output.Parameters !== null
13537
- ? deserializeAws_json1_1AutomationParameterMap(output.Parameters, context)
13538
- : undefined,
13164
+ Outputs: output.Outputs != null ? deserializeAws_json1_1AutomationParameterMap(output.Outputs, context) : undefined,
13165
+ Parameters: output.Parameters != null ? deserializeAws_json1_1AutomationParameterMap(output.Parameters, context) : undefined,
13539
13166
  ParentAutomationExecutionId: __expectString(output.ParentAutomationExecutionId),
13540
- ProgressCounters: output.ProgressCounters !== undefined && output.ProgressCounters !== null
13167
+ ProgressCounters: output.ProgressCounters != null
13541
13168
  ? deserializeAws_json1_1ProgressCounters(output.ProgressCounters, context)
13542
13169
  : undefined,
13543
- ResolvedTargets: output.ResolvedTargets !== undefined && output.ResolvedTargets !== null
13170
+ ResolvedTargets: output.ResolvedTargets != null
13544
13171
  ? deserializeAws_json1_1ResolvedTargets(output.ResolvedTargets, context)
13545
13172
  : undefined,
13546
- Runbooks: output.Runbooks !== undefined && output.Runbooks !== null
13547
- ? deserializeAws_json1_1Runbooks(output.Runbooks, context)
13548
- : undefined,
13549
- ScheduledTime: output.ScheduledTime !== undefined && output.ScheduledTime !== null
13173
+ Runbooks: output.Runbooks != null ? deserializeAws_json1_1Runbooks(output.Runbooks, context) : undefined,
13174
+ ScheduledTime: output.ScheduledTime != null
13550
13175
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledTime)))
13551
13176
  : undefined,
13552
- StepExecutions: output.StepExecutions !== undefined && output.StepExecutions !== null
13177
+ StepExecutions: output.StepExecutions != null
13553
13178
  ? deserializeAws_json1_1StepExecutionList(output.StepExecutions, context)
13554
13179
  : undefined,
13555
13180
  StepExecutionsTruncated: __expectBoolean(output.StepExecutionsTruncated),
13556
13181
  Target: __expectString(output.Target),
13557
- TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
13182
+ TargetLocations: output.TargetLocations != null
13558
13183
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
13559
13184
  : undefined,
13560
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
13561
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
13562
- : undefined,
13185
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
13563
13186
  TargetParameterName: __expectString(output.TargetParameterName),
13564
- Targets: output.Targets !== undefined && output.Targets !== null
13565
- ? deserializeAws_json1_1Targets(output.Targets, context)
13566
- : undefined,
13187
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13567
13188
  };
13568
13189
  };
13569
13190
  var deserializeAws_json1_1AutomationExecutionLimitExceededException = function (output, context) {
@@ -13584,10 +13205,10 @@ var deserializeAws_json1_1AutomationExecutionMetadata = function (output, contex
13584
13205
  DocumentName: __expectString(output.DocumentName),
13585
13206
  DocumentVersion: __expectString(output.DocumentVersion),
13586
13207
  ExecutedBy: __expectString(output.ExecutedBy),
13587
- ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
13208
+ ExecutionEndTime: output.ExecutionEndTime != null
13588
13209
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
13589
13210
  : undefined,
13590
- ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
13211
+ ExecutionStartTime: output.ExecutionStartTime != null
13591
13212
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
13592
13213
  : undefined,
13593
13214
  FailureMessage: __expectString(output.FailureMessage),
@@ -13596,27 +13217,19 @@ var deserializeAws_json1_1AutomationExecutionMetadata = function (output, contex
13596
13217
  MaxErrors: __expectString(output.MaxErrors),
13597
13218
  Mode: __expectString(output.Mode),
13598
13219
  OpsItemId: __expectString(output.OpsItemId),
13599
- Outputs: output.Outputs !== undefined && output.Outputs !== null
13600
- ? deserializeAws_json1_1AutomationParameterMap(output.Outputs, context)
13601
- : undefined,
13220
+ Outputs: output.Outputs != null ? deserializeAws_json1_1AutomationParameterMap(output.Outputs, context) : undefined,
13602
13221
  ParentAutomationExecutionId: __expectString(output.ParentAutomationExecutionId),
13603
- ResolvedTargets: output.ResolvedTargets !== undefined && output.ResolvedTargets !== null
13222
+ ResolvedTargets: output.ResolvedTargets != null
13604
13223
  ? deserializeAws_json1_1ResolvedTargets(output.ResolvedTargets, context)
13605
13224
  : undefined,
13606
- Runbooks: output.Runbooks !== undefined && output.Runbooks !== null
13607
- ? deserializeAws_json1_1Runbooks(output.Runbooks, context)
13608
- : undefined,
13609
- ScheduledTime: output.ScheduledTime !== undefined && output.ScheduledTime !== null
13225
+ Runbooks: output.Runbooks != null ? deserializeAws_json1_1Runbooks(output.Runbooks, context) : undefined,
13226
+ ScheduledTime: output.ScheduledTime != null
13610
13227
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledTime)))
13611
13228
  : undefined,
13612
13229
  Target: __expectString(output.Target),
13613
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
13614
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
13615
- : undefined,
13230
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
13616
13231
  TargetParameterName: __expectString(output.TargetParameterName),
13617
- Targets: output.Targets !== undefined && output.Targets !== null
13618
- ? deserializeAws_json1_1Targets(output.Targets, context)
13619
- : undefined,
13232
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13620
13233
  };
13621
13234
  };
13622
13235
  var deserializeAws_json1_1AutomationExecutionMetadataList = function (output, context) {
@@ -13710,7 +13323,7 @@ var deserializeAws_json1_1CloudWatchOutputConfig = function (output, context) {
13710
13323
  };
13711
13324
  var deserializeAws_json1_1Command = function (output, context) {
13712
13325
  return {
13713
- CloudWatchOutputConfig: output.CloudWatchOutputConfig !== undefined && output.CloudWatchOutputConfig !== null
13326
+ CloudWatchOutputConfig: output.CloudWatchOutputConfig != null
13714
13327
  ? deserializeAws_json1_1CloudWatchOutputConfig(output.CloudWatchOutputConfig, context)
13715
13328
  : undefined,
13716
13329
  CommandId: __expectString(output.CommandId),
@@ -13720,43 +13333,37 @@ var deserializeAws_json1_1Command = function (output, context) {
13720
13333
  DocumentName: __expectString(output.DocumentName),
13721
13334
  DocumentVersion: __expectString(output.DocumentVersion),
13722
13335
  ErrorCount: __expectInt32(output.ErrorCount),
13723
- ExpiresAfter: output.ExpiresAfter !== undefined && output.ExpiresAfter !== null
13336
+ ExpiresAfter: output.ExpiresAfter != null
13724
13337
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpiresAfter)))
13725
13338
  : undefined,
13726
- InstanceIds: output.InstanceIds !== undefined && output.InstanceIds !== null
13727
- ? deserializeAws_json1_1InstanceIdList(output.InstanceIds, context)
13728
- : undefined,
13339
+ InstanceIds: output.InstanceIds != null ? deserializeAws_json1_1InstanceIdList(output.InstanceIds, context) : undefined,
13729
13340
  MaxConcurrency: __expectString(output.MaxConcurrency),
13730
13341
  MaxErrors: __expectString(output.MaxErrors),
13731
- NotificationConfig: output.NotificationConfig !== undefined && output.NotificationConfig !== null
13342
+ NotificationConfig: output.NotificationConfig != null
13732
13343
  ? deserializeAws_json1_1NotificationConfig(output.NotificationConfig, context)
13733
13344
  : undefined,
13734
13345
  OutputS3BucketName: __expectString(output.OutputS3BucketName),
13735
13346
  OutputS3KeyPrefix: __expectString(output.OutputS3KeyPrefix),
13736
13347
  OutputS3Region: __expectString(output.OutputS3Region),
13737
- Parameters: output.Parameters !== undefined && output.Parameters !== null
13738
- ? deserializeAws_json1_1Parameters(output.Parameters, context)
13739
- : undefined,
13740
- RequestedDateTime: output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
13348
+ Parameters: output.Parameters != null ? deserializeAws_json1_1Parameters(output.Parameters, context) : undefined,
13349
+ RequestedDateTime: output.RequestedDateTime != null
13741
13350
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestedDateTime)))
13742
13351
  : undefined,
13743
13352
  ServiceRole: __expectString(output.ServiceRole),
13744
13353
  Status: __expectString(output.Status),
13745
13354
  StatusDetails: __expectString(output.StatusDetails),
13746
13355
  TargetCount: __expectInt32(output.TargetCount),
13747
- Targets: output.Targets !== undefined && output.Targets !== null
13748
- ? deserializeAws_json1_1Targets(output.Targets, context)
13749
- : undefined,
13356
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13750
13357
  TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
13751
13358
  };
13752
13359
  };
13753
13360
  var deserializeAws_json1_1CommandInvocation = function (output, context) {
13754
13361
  return {
13755
- CloudWatchOutputConfig: output.CloudWatchOutputConfig !== undefined && output.CloudWatchOutputConfig !== null
13362
+ CloudWatchOutputConfig: output.CloudWatchOutputConfig != null
13756
13363
  ? deserializeAws_json1_1CloudWatchOutputConfig(output.CloudWatchOutputConfig, context)
13757
13364
  : undefined,
13758
13365
  CommandId: __expectString(output.CommandId),
13759
- CommandPlugins: output.CommandPlugins !== undefined && output.CommandPlugins !== null
13366
+ CommandPlugins: output.CommandPlugins != null
13760
13367
  ? deserializeAws_json1_1CommandPluginList(output.CommandPlugins, context)
13761
13368
  : undefined,
13762
13369
  Comment: __expectString(output.Comment),
@@ -13764,10 +13371,10 @@ var deserializeAws_json1_1CommandInvocation = function (output, context) {
13764
13371
  DocumentVersion: __expectString(output.DocumentVersion),
13765
13372
  InstanceId: __expectString(output.InstanceId),
13766
13373
  InstanceName: __expectString(output.InstanceName),
13767
- NotificationConfig: output.NotificationConfig !== undefined && output.NotificationConfig !== null
13374
+ NotificationConfig: output.NotificationConfig != null
13768
13375
  ? deserializeAws_json1_1NotificationConfig(output.NotificationConfig, context)
13769
13376
  : undefined,
13770
- RequestedDateTime: output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
13377
+ RequestedDateTime: output.RequestedDateTime != null
13771
13378
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestedDateTime)))
13772
13379
  : undefined,
13773
13380
  ServiceRole: __expectString(output.ServiceRole),
@@ -13808,10 +13415,10 @@ var deserializeAws_json1_1CommandPlugin = function (output, context) {
13808
13415
  OutputS3KeyPrefix: __expectString(output.OutputS3KeyPrefix),
13809
13416
  OutputS3Region: __expectString(output.OutputS3Region),
13810
13417
  ResponseCode: __expectInt32(output.ResponseCode),
13811
- ResponseFinishDateTime: output.ResponseFinishDateTime !== undefined && output.ResponseFinishDateTime !== null
13418
+ ResponseFinishDateTime: output.ResponseFinishDateTime != null
13812
13419
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResponseFinishDateTime)))
13813
13420
  : undefined,
13814
- ResponseStartDateTime: output.ResponseStartDateTime !== undefined && output.ResponseStartDateTime !== null
13421
+ ResponseStartDateTime: output.ResponseStartDateTime != null
13815
13422
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResponseStartDateTime)))
13816
13423
  : undefined,
13817
13424
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
@@ -13834,7 +13441,7 @@ var deserializeAws_json1_1CommandPluginList = function (output, context) {
13834
13441
  var deserializeAws_json1_1ComplianceExecutionSummary = function (output, context) {
13835
13442
  return {
13836
13443
  ExecutionId: __expectString(output.ExecutionId),
13837
- ExecutionTime: output.ExecutionTime !== undefined && output.ExecutionTime !== null
13444
+ ExecutionTime: output.ExecutionTime != null
13838
13445
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionTime)))
13839
13446
  : undefined,
13840
13447
  ExecutionType: __expectString(output.ExecutionType),
@@ -13843,10 +13450,8 @@ var deserializeAws_json1_1ComplianceExecutionSummary = function (output, context
13843
13450
  var deserializeAws_json1_1ComplianceItem = function (output, context) {
13844
13451
  return {
13845
13452
  ComplianceType: __expectString(output.ComplianceType),
13846
- Details: output.Details !== undefined && output.Details !== null
13847
- ? deserializeAws_json1_1ComplianceItemDetails(output.Details, context)
13848
- : undefined,
13849
- ExecutionSummary: output.ExecutionSummary !== undefined && output.ExecutionSummary !== null
13453
+ Details: output.Details != null ? deserializeAws_json1_1ComplianceItemDetails(output.Details, context) : undefined,
13454
+ ExecutionSummary: output.ExecutionSummary != null
13850
13455
  ? deserializeAws_json1_1ComplianceExecutionSummary(output.ExecutionSummary, context)
13851
13456
  : undefined,
13852
13457
  Id: __expectString(output.Id),
@@ -13881,10 +13486,10 @@ var deserializeAws_json1_1ComplianceItemList = function (output, context) {
13881
13486
  var deserializeAws_json1_1ComplianceSummaryItem = function (output, context) {
13882
13487
  return {
13883
13488
  ComplianceType: __expectString(output.ComplianceType),
13884
- CompliantSummary: output.CompliantSummary !== undefined && output.CompliantSummary !== null
13489
+ CompliantSummary: output.CompliantSummary != null
13885
13490
  ? deserializeAws_json1_1CompliantSummary(output.CompliantSummary, context)
13886
13491
  : undefined,
13887
- NonCompliantSummary: output.NonCompliantSummary !== undefined && output.NonCompliantSummary !== null
13492
+ NonCompliantSummary: output.NonCompliantSummary != null
13888
13493
  ? deserializeAws_json1_1NonCompliantSummary(output.NonCompliantSummary, context)
13889
13494
  : undefined,
13890
13495
  };
@@ -13908,7 +13513,7 @@ var deserializeAws_json1_1ComplianceTypeCountLimitExceededException = function (
13908
13513
  var deserializeAws_json1_1CompliantSummary = function (output, context) {
13909
13514
  return {
13910
13515
  CompliantCount: __expectInt32(output.CompliantCount),
13911
- SeveritySummary: output.SeveritySummary !== undefined && output.SeveritySummary !== null
13516
+ SeveritySummary: output.SeveritySummary != null
13912
13517
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
13913
13518
  : undefined,
13914
13519
  };
@@ -13924,7 +13529,7 @@ var deserializeAws_json1_1CreateAssociationBatchRequestEntry = function (output,
13924
13529
  ApplyOnlyAtCronInterval: __expectBoolean(output.ApplyOnlyAtCronInterval),
13925
13530
  AssociationName: __expectString(output.AssociationName),
13926
13531
  AutomationTargetParameterName: __expectString(output.AutomationTargetParameterName),
13927
- CalendarNames: output.CalendarNames !== undefined && output.CalendarNames !== null
13532
+ CalendarNames: output.CalendarNames != null
13928
13533
  ? deserializeAws_json1_1CalendarNameOrARNList(output.CalendarNames, context)
13929
13534
  : undefined,
13930
13535
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
@@ -13933,46 +13538,38 @@ var deserializeAws_json1_1CreateAssociationBatchRequestEntry = function (output,
13933
13538
  MaxConcurrency: __expectString(output.MaxConcurrency),
13934
13539
  MaxErrors: __expectString(output.MaxErrors),
13935
13540
  Name: __expectString(output.Name),
13936
- OutputLocation: output.OutputLocation !== undefined && output.OutputLocation !== null
13541
+ OutputLocation: output.OutputLocation != null
13937
13542
  ? deserializeAws_json1_1InstanceAssociationOutputLocation(output.OutputLocation, context)
13938
13543
  : undefined,
13939
- Parameters: output.Parameters !== undefined && output.Parameters !== null
13940
- ? deserializeAws_json1_1Parameters(output.Parameters, context)
13941
- : undefined,
13544
+ Parameters: output.Parameters != null ? deserializeAws_json1_1Parameters(output.Parameters, context) : undefined,
13942
13545
  ScheduleExpression: __expectString(output.ScheduleExpression),
13943
13546
  ScheduleOffset: __expectInt32(output.ScheduleOffset),
13944
13547
  SyncCompliance: __expectString(output.SyncCompliance),
13945
- TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
13548
+ TargetLocations: output.TargetLocations != null
13946
13549
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
13947
13550
  : undefined,
13948
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
13949
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
13950
- : undefined,
13951
- Targets: output.Targets !== undefined && output.Targets !== null
13952
- ? deserializeAws_json1_1Targets(output.Targets, context)
13953
- : undefined,
13551
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
13552
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
13954
13553
  };
13955
13554
  };
13956
13555
  var deserializeAws_json1_1CreateAssociationBatchResult = function (output, context) {
13957
13556
  return {
13958
- Failed: output.Failed !== undefined && output.Failed !== null
13959
- ? deserializeAws_json1_1FailedCreateAssociationList(output.Failed, context)
13960
- : undefined,
13961
- Successful: output.Successful !== undefined && output.Successful !== null
13557
+ Failed: output.Failed != null ? deserializeAws_json1_1FailedCreateAssociationList(output.Failed, context) : undefined,
13558
+ Successful: output.Successful != null
13962
13559
  ? deserializeAws_json1_1AssociationDescriptionList(output.Successful, context)
13963
13560
  : undefined,
13964
13561
  };
13965
13562
  };
13966
13563
  var deserializeAws_json1_1CreateAssociationResult = function (output, context) {
13967
13564
  return {
13968
- AssociationDescription: output.AssociationDescription !== undefined && output.AssociationDescription !== null
13565
+ AssociationDescription: output.AssociationDescription != null
13969
13566
  ? deserializeAws_json1_1AssociationDescription(output.AssociationDescription, context)
13970
13567
  : undefined,
13971
13568
  };
13972
13569
  };
13973
13570
  var deserializeAws_json1_1CreateDocumentResult = function (output, context) {
13974
13571
  return {
13975
- DocumentDescription: output.DocumentDescription !== undefined && output.DocumentDescription !== null
13572
+ DocumentDescription: output.DocumentDescription != null
13976
13573
  ? deserializeAws_json1_1DocumentDescription(output.DocumentDescription, context)
13977
13574
  : undefined,
13978
13575
  };
@@ -14017,7 +13614,7 @@ var deserializeAws_json1_1DeleteDocumentResult = function (output, context) {
14017
13614
  var deserializeAws_json1_1DeleteInventoryResult = function (output, context) {
14018
13615
  return {
14019
13616
  DeletionId: __expectString(output.DeletionId),
14020
- DeletionSummary: output.DeletionSummary !== undefined && output.DeletionSummary !== null
13617
+ DeletionSummary: output.DeletionSummary != null
14021
13618
  ? deserializeAws_json1_1InventoryDeletionSummary(output.DeletionSummary, context)
14022
13619
  : undefined,
14023
13620
  TypeName: __expectString(output.TypeName),
@@ -14036,10 +13633,10 @@ var deserializeAws_json1_1DeleteParameterResult = function (output, context) {
14036
13633
  };
14037
13634
  var deserializeAws_json1_1DeleteParametersResult = function (output, context) {
14038
13635
  return {
14039
- DeletedParameters: output.DeletedParameters !== undefined && output.DeletedParameters !== null
13636
+ DeletedParameters: output.DeletedParameters != null
14040
13637
  ? deserializeAws_json1_1ParameterNameList(output.DeletedParameters, context)
14041
13638
  : undefined,
14042
- InvalidParameters: output.InvalidParameters !== undefined && output.InvalidParameters !== null
13639
+ InvalidParameters: output.InvalidParameters != null
14043
13640
  ? deserializeAws_json1_1ParameterNameList(output.InvalidParameters, context)
14044
13641
  : undefined,
14045
13642
  };
@@ -14075,15 +13672,13 @@ var deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowResult = function (
14075
13672
  };
14076
13673
  var deserializeAws_json1_1DescribeActivationsResult = function (output, context) {
14077
13674
  return {
14078
- ActivationList: output.ActivationList !== undefined && output.ActivationList !== null
14079
- ? deserializeAws_json1_1ActivationList(output.ActivationList, context)
14080
- : undefined,
13675
+ ActivationList: output.ActivationList != null ? deserializeAws_json1_1ActivationList(output.ActivationList, context) : undefined,
14081
13676
  NextToken: __expectString(output.NextToken),
14082
13677
  };
14083
13678
  };
14084
13679
  var deserializeAws_json1_1DescribeAssociationExecutionsResult = function (output, context) {
14085
13680
  return {
14086
- AssociationExecutions: output.AssociationExecutions !== undefined && output.AssociationExecutions !== null
13681
+ AssociationExecutions: output.AssociationExecutions != null
14087
13682
  ? deserializeAws_json1_1AssociationExecutionsList(output.AssociationExecutions, context)
14088
13683
  : undefined,
14089
13684
  NextToken: __expectString(output.NextToken),
@@ -14091,7 +13686,7 @@ var deserializeAws_json1_1DescribeAssociationExecutionsResult = function (output
14091
13686
  };
14092
13687
  var deserializeAws_json1_1DescribeAssociationExecutionTargetsResult = function (output, context) {
14093
13688
  return {
14094
- AssociationExecutionTargets: output.AssociationExecutionTargets !== undefined && output.AssociationExecutionTargets !== null
13689
+ AssociationExecutionTargets: output.AssociationExecutionTargets != null
14095
13690
  ? deserializeAws_json1_1AssociationExecutionTargetsList(output.AssociationExecutionTargets, context)
14096
13691
  : undefined,
14097
13692
  NextToken: __expectString(output.NextToken),
@@ -14099,14 +13694,14 @@ var deserializeAws_json1_1DescribeAssociationExecutionTargetsResult = function (
14099
13694
  };
14100
13695
  var deserializeAws_json1_1DescribeAssociationResult = function (output, context) {
14101
13696
  return {
14102
- AssociationDescription: output.AssociationDescription !== undefined && output.AssociationDescription !== null
13697
+ AssociationDescription: output.AssociationDescription != null
14103
13698
  ? deserializeAws_json1_1AssociationDescription(output.AssociationDescription, context)
14104
13699
  : undefined,
14105
13700
  };
14106
13701
  };
14107
13702
  var deserializeAws_json1_1DescribeAutomationExecutionsResult = function (output, context) {
14108
13703
  return {
14109
- AutomationExecutionMetadataList: output.AutomationExecutionMetadataList !== undefined && output.AutomationExecutionMetadataList !== null
13704
+ AutomationExecutionMetadataList: output.AutomationExecutionMetadataList != null
14110
13705
  ? deserializeAws_json1_1AutomationExecutionMetadataList(output.AutomationExecutionMetadataList, context)
14111
13706
  : undefined,
14112
13707
  NextToken: __expectString(output.NextToken),
@@ -14115,7 +13710,7 @@ var deserializeAws_json1_1DescribeAutomationExecutionsResult = function (output,
14115
13710
  var deserializeAws_json1_1DescribeAutomationStepExecutionsResult = function (output, context) {
14116
13711
  return {
14117
13712
  NextToken: __expectString(output.NextToken),
14118
- StepExecutions: output.StepExecutions !== undefined && output.StepExecutions !== null
13713
+ StepExecutions: output.StepExecutions != null
14119
13714
  ? deserializeAws_json1_1StepExecutionList(output.StepExecutions, context)
14120
13715
  : undefined,
14121
13716
  };
@@ -14123,17 +13718,13 @@ var deserializeAws_json1_1DescribeAutomationStepExecutionsResult = function (out
14123
13718
  var deserializeAws_json1_1DescribeAvailablePatchesResult = function (output, context) {
14124
13719
  return {
14125
13720
  NextToken: __expectString(output.NextToken),
14126
- Patches: output.Patches !== undefined && output.Patches !== null
14127
- ? deserializeAws_json1_1PatchList(output.Patches, context)
14128
- : undefined,
13721
+ Patches: output.Patches != null ? deserializeAws_json1_1PatchList(output.Patches, context) : undefined,
14129
13722
  };
14130
13723
  };
14131
13724
  var deserializeAws_json1_1DescribeDocumentPermissionResponse = function (output, context) {
14132
13725
  return {
14133
- AccountIds: output.AccountIds !== undefined && output.AccountIds !== null
14134
- ? deserializeAws_json1_1AccountIdList(output.AccountIds, context)
14135
- : undefined,
14136
- AccountSharingInfoList: output.AccountSharingInfoList !== undefined && output.AccountSharingInfoList !== null
13726
+ AccountIds: output.AccountIds != null ? deserializeAws_json1_1AccountIdList(output.AccountIds, context) : undefined,
13727
+ AccountSharingInfoList: output.AccountSharingInfoList != null
14137
13728
  ? deserializeAws_json1_1AccountSharingInfoList(output.AccountSharingInfoList, context)
14138
13729
  : undefined,
14139
13730
  NextToken: __expectString(output.NextToken),
@@ -14141,14 +13732,12 @@ var deserializeAws_json1_1DescribeDocumentPermissionResponse = function (output,
14141
13732
  };
14142
13733
  var deserializeAws_json1_1DescribeDocumentResult = function (output, context) {
14143
13734
  return {
14144
- Document: output.Document !== undefined && output.Document !== null
14145
- ? deserializeAws_json1_1DocumentDescription(output.Document, context)
14146
- : undefined,
13735
+ Document: output.Document != null ? deserializeAws_json1_1DocumentDescription(output.Document, context) : undefined,
14147
13736
  };
14148
13737
  };
14149
13738
  var deserializeAws_json1_1DescribeEffectiveInstanceAssociationsResult = function (output, context) {
14150
13739
  return {
14151
- Associations: output.Associations !== undefined && output.Associations !== null
13740
+ Associations: output.Associations != null
14152
13741
  ? deserializeAws_json1_1InstanceAssociationList(output.Associations, context)
14153
13742
  : undefined,
14154
13743
  NextToken: __expectString(output.NextToken),
@@ -14156,7 +13745,7 @@ var deserializeAws_json1_1DescribeEffectiveInstanceAssociationsResult = function
14156
13745
  };
14157
13746
  var deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineResult = function (output, context) {
14158
13747
  return {
14159
- EffectivePatches: output.EffectivePatches !== undefined && output.EffectivePatches !== null
13748
+ EffectivePatches: output.EffectivePatches != null
14160
13749
  ? deserializeAws_json1_1EffectivePatchList(output.EffectivePatches, context)
14161
13750
  : undefined,
14162
13751
  NextToken: __expectString(output.NextToken),
@@ -14164,7 +13753,7 @@ var deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineResult = funct
14164
13753
  };
14165
13754
  var deserializeAws_json1_1DescribeInstanceAssociationsStatusResult = function (output, context) {
14166
13755
  return {
14167
- InstanceAssociationStatusInfos: output.InstanceAssociationStatusInfos !== undefined && output.InstanceAssociationStatusInfos !== null
13756
+ InstanceAssociationStatusInfos: output.InstanceAssociationStatusInfos != null
14168
13757
  ? deserializeAws_json1_1InstanceAssociationStatusInfos(output.InstanceAssociationStatusInfos, context)
14169
13758
  : undefined,
14170
13759
  NextToken: __expectString(output.NextToken),
@@ -14172,7 +13761,7 @@ var deserializeAws_json1_1DescribeInstanceAssociationsStatusResult = function (o
14172
13761
  };
14173
13762
  var deserializeAws_json1_1DescribeInstanceInformationResult = function (output, context) {
14174
13763
  return {
14175
- InstanceInformationList: output.InstanceInformationList !== undefined && output.InstanceInformationList !== null
13764
+ InstanceInformationList: output.InstanceInformationList != null
14176
13765
  ? deserializeAws_json1_1InstanceInformationList(output.InstanceInformationList, context)
14177
13766
  : undefined,
14178
13767
  NextToken: __expectString(output.NextToken),
@@ -14181,14 +13770,12 @@ var deserializeAws_json1_1DescribeInstanceInformationResult = function (output,
14181
13770
  var deserializeAws_json1_1DescribeInstancePatchesResult = function (output, context) {
14182
13771
  return {
14183
13772
  NextToken: __expectString(output.NextToken),
14184
- Patches: output.Patches !== undefined && output.Patches !== null
14185
- ? deserializeAws_json1_1PatchComplianceDataList(output.Patches, context)
14186
- : undefined,
13773
+ Patches: output.Patches != null ? deserializeAws_json1_1PatchComplianceDataList(output.Patches, context) : undefined,
14187
13774
  };
14188
13775
  };
14189
13776
  var deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupResult = function (output, context) {
14190
13777
  return {
14191
- InstancePatchStates: output.InstancePatchStates !== undefined && output.InstancePatchStates !== null
13778
+ InstancePatchStates: output.InstancePatchStates != null
14192
13779
  ? deserializeAws_json1_1InstancePatchStatesList(output.InstancePatchStates, context)
14193
13780
  : undefined,
14194
13781
  NextToken: __expectString(output.NextToken),
@@ -14196,7 +13783,7 @@ var deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupResult = funct
14196
13783
  };
14197
13784
  var deserializeAws_json1_1DescribeInstancePatchStatesResult = function (output, context) {
14198
13785
  return {
14199
- InstancePatchStates: output.InstancePatchStates !== undefined && output.InstancePatchStates !== null
13786
+ InstancePatchStates: output.InstancePatchStates != null
14200
13787
  ? deserializeAws_json1_1InstancePatchStateList(output.InstancePatchStates, context)
14201
13788
  : undefined,
14202
13789
  NextToken: __expectString(output.NextToken),
@@ -14204,7 +13791,7 @@ var deserializeAws_json1_1DescribeInstancePatchStatesResult = function (output,
14204
13791
  };
14205
13792
  var deserializeAws_json1_1DescribeInventoryDeletionsResult = function (output, context) {
14206
13793
  return {
14207
- InventoryDeletions: output.InventoryDeletions !== undefined && output.InventoryDeletions !== null
13794
+ InventoryDeletions: output.InventoryDeletions != null
14208
13795
  ? deserializeAws_json1_1InventoryDeletionsList(output.InventoryDeletions, context)
14209
13796
  : undefined,
14210
13797
  NextToken: __expectString(output.NextToken),
@@ -14213,7 +13800,7 @@ var deserializeAws_json1_1DescribeInventoryDeletionsResult = function (output, c
14213
13800
  var deserializeAws_json1_1DescribeMaintenanceWindowExecutionsResult = function (output, context) {
14214
13801
  return {
14215
13802
  NextToken: __expectString(output.NextToken),
14216
- WindowExecutions: output.WindowExecutions !== undefined && output.WindowExecutions !== null
13803
+ WindowExecutions: output.WindowExecutions != null
14217
13804
  ? deserializeAws_json1_1MaintenanceWindowExecutionList(output.WindowExecutions, context)
14218
13805
  : undefined,
14219
13806
  };
@@ -14221,8 +13808,7 @@ var deserializeAws_json1_1DescribeMaintenanceWindowExecutionsResult = function (
14221
13808
  var deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsResult = function (output, context) {
14222
13809
  return {
14223
13810
  NextToken: __expectString(output.NextToken),
14224
- WindowExecutionTaskInvocationIdentities: output.WindowExecutionTaskInvocationIdentities !== undefined &&
14225
- output.WindowExecutionTaskInvocationIdentities !== null
13811
+ WindowExecutionTaskInvocationIdentities: output.WindowExecutionTaskInvocationIdentities != null
14226
13812
  ? deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentityList(output.WindowExecutionTaskInvocationIdentities, context)
14227
13813
  : undefined,
14228
13814
  };
@@ -14230,7 +13816,7 @@ var deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsResul
14230
13816
  var deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksResult = function (output, context) {
14231
13817
  return {
14232
13818
  NextToken: __expectString(output.NextToken),
14233
- WindowExecutionTaskIdentities: output.WindowExecutionTaskIdentities !== undefined && output.WindowExecutionTaskIdentities !== null
13819
+ WindowExecutionTaskIdentities: output.WindowExecutionTaskIdentities != null
14234
13820
  ? deserializeAws_json1_1MaintenanceWindowExecutionTaskIdentityList(output.WindowExecutionTaskIdentities, context)
14235
13821
  : undefined,
14236
13822
  };
@@ -14238,7 +13824,7 @@ var deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksResult = functi
14238
13824
  var deserializeAws_json1_1DescribeMaintenanceWindowScheduleResult = function (output, context) {
14239
13825
  return {
14240
13826
  NextToken: __expectString(output.NextToken),
14241
- ScheduledWindowExecutions: output.ScheduledWindowExecutions !== undefined && output.ScheduledWindowExecutions !== null
13827
+ ScheduledWindowExecutions: output.ScheduledWindowExecutions != null
14242
13828
  ? deserializeAws_json1_1ScheduledWindowExecutionList(output.ScheduledWindowExecutions, context)
14243
13829
  : undefined,
14244
13830
  };
@@ -14246,7 +13832,7 @@ var deserializeAws_json1_1DescribeMaintenanceWindowScheduleResult = function (ou
14246
13832
  var deserializeAws_json1_1DescribeMaintenanceWindowsForTargetResult = function (output, context) {
14247
13833
  return {
14248
13834
  NextToken: __expectString(output.NextToken),
14249
- WindowIdentities: output.WindowIdentities !== undefined && output.WindowIdentities !== null
13835
+ WindowIdentities: output.WindowIdentities != null
14250
13836
  ? deserializeAws_json1_1MaintenanceWindowsForTargetList(output.WindowIdentities, context)
14251
13837
  : undefined,
14252
13838
  };
@@ -14254,7 +13840,7 @@ var deserializeAws_json1_1DescribeMaintenanceWindowsForTargetResult = function (
14254
13840
  var deserializeAws_json1_1DescribeMaintenanceWindowsResult = function (output, context) {
14255
13841
  return {
14256
13842
  NextToken: __expectString(output.NextToken),
14257
- WindowIdentities: output.WindowIdentities !== undefined && output.WindowIdentities !== null
13843
+ WindowIdentities: output.WindowIdentities != null
14258
13844
  ? deserializeAws_json1_1MaintenanceWindowIdentityList(output.WindowIdentities, context)
14259
13845
  : undefined,
14260
13846
  };
@@ -14262,23 +13848,19 @@ var deserializeAws_json1_1DescribeMaintenanceWindowsResult = function (output, c
14262
13848
  var deserializeAws_json1_1DescribeMaintenanceWindowTargetsResult = function (output, context) {
14263
13849
  return {
14264
13850
  NextToken: __expectString(output.NextToken),
14265
- Targets: output.Targets !== undefined && output.Targets !== null
14266
- ? deserializeAws_json1_1MaintenanceWindowTargetList(output.Targets, context)
14267
- : undefined,
13851
+ Targets: output.Targets != null ? deserializeAws_json1_1MaintenanceWindowTargetList(output.Targets, context) : undefined,
14268
13852
  };
14269
13853
  };
14270
13854
  var deserializeAws_json1_1DescribeMaintenanceWindowTasksResult = function (output, context) {
14271
13855
  return {
14272
13856
  NextToken: __expectString(output.NextToken),
14273
- Tasks: output.Tasks !== undefined && output.Tasks !== null
14274
- ? deserializeAws_json1_1MaintenanceWindowTaskList(output.Tasks, context)
14275
- : undefined,
13857
+ Tasks: output.Tasks != null ? deserializeAws_json1_1MaintenanceWindowTaskList(output.Tasks, context) : undefined,
14276
13858
  };
14277
13859
  };
14278
13860
  var deserializeAws_json1_1DescribeOpsItemsResponse = function (output, context) {
14279
13861
  return {
14280
13862
  NextToken: __expectString(output.NextToken),
14281
- OpsItemSummaries: output.OpsItemSummaries !== undefined && output.OpsItemSummaries !== null
13863
+ OpsItemSummaries: output.OpsItemSummaries != null
14282
13864
  ? deserializeAws_json1_1OpsItemSummaries(output.OpsItemSummaries, context)
14283
13865
  : undefined,
14284
13866
  };
@@ -14286,14 +13868,12 @@ var deserializeAws_json1_1DescribeOpsItemsResponse = function (output, context)
14286
13868
  var deserializeAws_json1_1DescribeParametersResult = function (output, context) {
14287
13869
  return {
14288
13870
  NextToken: __expectString(output.NextToken),
14289
- Parameters: output.Parameters !== undefined && output.Parameters !== null
14290
- ? deserializeAws_json1_1ParameterMetadataList(output.Parameters, context)
14291
- : undefined,
13871
+ Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterMetadataList(output.Parameters, context) : undefined,
14292
13872
  };
14293
13873
  };
14294
13874
  var deserializeAws_json1_1DescribePatchBaselinesResult = function (output, context) {
14295
13875
  return {
14296
- BaselineIdentities: output.BaselineIdentities !== undefined && output.BaselineIdentities !== null
13876
+ BaselineIdentities: output.BaselineIdentities != null
14297
13877
  ? deserializeAws_json1_1PatchBaselineIdentityList(output.BaselineIdentities, context)
14298
13878
  : undefined,
14299
13879
  NextToken: __expectString(output.NextToken),
@@ -14301,7 +13881,7 @@ var deserializeAws_json1_1DescribePatchBaselinesResult = function (output, conte
14301
13881
  };
14302
13882
  var deserializeAws_json1_1DescribePatchGroupsResult = function (output, context) {
14303
13883
  return {
14304
- Mappings: output.Mappings !== undefined && output.Mappings !== null
13884
+ Mappings: output.Mappings != null
14305
13885
  ? deserializeAws_json1_1PatchGroupPatchBaselineMappingList(output.Mappings, context)
14306
13886
  : undefined,
14307
13887
  NextToken: __expectString(output.NextToken),
@@ -14326,17 +13906,13 @@ var deserializeAws_json1_1DescribePatchGroupStateResult = function (output, cont
14326
13906
  var deserializeAws_json1_1DescribePatchPropertiesResult = function (output, context) {
14327
13907
  return {
14328
13908
  NextToken: __expectString(output.NextToken),
14329
- Properties: output.Properties !== undefined && output.Properties !== null
14330
- ? deserializeAws_json1_1PatchPropertiesList(output.Properties, context)
14331
- : undefined,
13909
+ Properties: output.Properties != null ? deserializeAws_json1_1PatchPropertiesList(output.Properties, context) : undefined,
14332
13910
  };
14333
13911
  };
14334
13912
  var deserializeAws_json1_1DescribeSessionsResponse = function (output, context) {
14335
13913
  return {
14336
13914
  NextToken: __expectString(output.NextToken),
14337
- Sessions: output.Sessions !== undefined && output.Sessions !== null
14338
- ? deserializeAws_json1_1SessionList(output.Sessions, context)
14339
- : undefined,
13915
+ Sessions: output.Sessions != null ? deserializeAws_json1_1SessionList(output.Sessions, context) : undefined,
14340
13916
  };
14341
13917
  };
14342
13918
  var deserializeAws_json1_1DisassociateOpsItemRelatedItemResponse = function (output, context) {
@@ -14357,17 +13933,13 @@ var deserializeAws_json1_1DocumentDefaultVersionDescription = function (output,
14357
13933
  var deserializeAws_json1_1DocumentDescription = function (output, context) {
14358
13934
  return {
14359
13935
  ApprovedVersion: __expectString(output.ApprovedVersion),
14360
- AttachmentsInformation: output.AttachmentsInformation !== undefined && output.AttachmentsInformation !== null
13936
+ AttachmentsInformation: output.AttachmentsInformation != null
14361
13937
  ? deserializeAws_json1_1AttachmentInformationList(output.AttachmentsInformation, context)
14362
13938
  : undefined,
14363
13939
  Author: __expectString(output.Author),
14364
- Category: output.Category !== undefined && output.Category !== null
14365
- ? deserializeAws_json1_1CategoryList(output.Category, context)
14366
- : undefined,
14367
- CategoryEnum: output.CategoryEnum !== undefined && output.CategoryEnum !== null
14368
- ? deserializeAws_json1_1CategoryEnumList(output.CategoryEnum, context)
14369
- : undefined,
14370
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
13940
+ Category: output.Category != null ? deserializeAws_json1_1CategoryList(output.Category, context) : undefined,
13941
+ CategoryEnum: output.CategoryEnum != null ? deserializeAws_json1_1CategoryEnumList(output.CategoryEnum, context) : undefined,
13942
+ CreatedDate: output.CreatedDate != null
14371
13943
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
14372
13944
  : undefined,
14373
13945
  DefaultVersion: __expectString(output.DefaultVersion),
@@ -14381,17 +13953,11 @@ var deserializeAws_json1_1DocumentDescription = function (output, context) {
14381
13953
  LatestVersion: __expectString(output.LatestVersion),
14382
13954
  Name: __expectString(output.Name),
14383
13955
  Owner: __expectString(output.Owner),
14384
- Parameters: output.Parameters !== undefined && output.Parameters !== null
14385
- ? deserializeAws_json1_1DocumentParameterList(output.Parameters, context)
14386
- : undefined,
13956
+ Parameters: output.Parameters != null ? deserializeAws_json1_1DocumentParameterList(output.Parameters, context) : undefined,
14387
13957
  PendingReviewVersion: __expectString(output.PendingReviewVersion),
14388
- PlatformTypes: output.PlatformTypes !== undefined && output.PlatformTypes !== null
14389
- ? deserializeAws_json1_1PlatformTypeList(output.PlatformTypes, context)
14390
- : undefined,
14391
- Requires: output.Requires !== undefined && output.Requires !== null
14392
- ? deserializeAws_json1_1DocumentRequiresList(output.Requires, context)
14393
- : undefined,
14394
- ReviewInformation: output.ReviewInformation !== undefined && output.ReviewInformation !== null
13958
+ PlatformTypes: output.PlatformTypes != null ? deserializeAws_json1_1PlatformTypeList(output.PlatformTypes, context) : undefined,
13959
+ Requires: output.Requires != null ? deserializeAws_json1_1DocumentRequiresList(output.Requires, context) : undefined,
13960
+ ReviewInformation: output.ReviewInformation != null
14395
13961
  ? deserializeAws_json1_1ReviewInformationList(output.ReviewInformation, context)
14396
13962
  : undefined,
14397
13963
  ReviewStatus: __expectString(output.ReviewStatus),
@@ -14399,9 +13965,7 @@ var deserializeAws_json1_1DocumentDescription = function (output, context) {
14399
13965
  Sha1: __expectString(output.Sha1),
14400
13966
  Status: __expectString(output.Status),
14401
13967
  StatusInformation: __expectString(output.StatusInformation),
14402
- Tags: output.Tags !== undefined && output.Tags !== null
14403
- ? deserializeAws_json1_1TagList(output.Tags, context)
14404
- : undefined,
13968
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
14405
13969
  TargetType: __expectString(output.TargetType),
14406
13970
  VersionName: __expectString(output.VersionName),
14407
13971
  };
@@ -14409,7 +13973,7 @@ var deserializeAws_json1_1DocumentDescription = function (output, context) {
14409
13973
  var deserializeAws_json1_1DocumentIdentifier = function (output, context) {
14410
13974
  return {
14411
13975
  Author: __expectString(output.Author),
14412
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
13976
+ CreatedDate: output.CreatedDate != null
14413
13977
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
14414
13978
  : undefined,
14415
13979
  DisplayName: __expectString(output.DisplayName),
@@ -14418,17 +13982,11 @@ var deserializeAws_json1_1DocumentIdentifier = function (output, context) {
14418
13982
  DocumentVersion: __expectString(output.DocumentVersion),
14419
13983
  Name: __expectString(output.Name),
14420
13984
  Owner: __expectString(output.Owner),
14421
- PlatformTypes: output.PlatformTypes !== undefined && output.PlatformTypes !== null
14422
- ? deserializeAws_json1_1PlatformTypeList(output.PlatformTypes, context)
14423
- : undefined,
14424
- Requires: output.Requires !== undefined && output.Requires !== null
14425
- ? deserializeAws_json1_1DocumentRequiresList(output.Requires, context)
14426
- : undefined,
13985
+ PlatformTypes: output.PlatformTypes != null ? deserializeAws_json1_1PlatformTypeList(output.PlatformTypes, context) : undefined,
13986
+ Requires: output.Requires != null ? deserializeAws_json1_1DocumentRequiresList(output.Requires, context) : undefined,
14427
13987
  ReviewStatus: __expectString(output.ReviewStatus),
14428
13988
  SchemaVersion: __expectString(output.SchemaVersion),
14429
- Tags: output.Tags !== undefined && output.Tags !== null
14430
- ? deserializeAws_json1_1TagList(output.Tags, context)
14431
- : undefined,
13989
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
14432
13990
  TargetType: __expectString(output.TargetType),
14433
13991
  VersionName: __expectString(output.VersionName),
14434
13992
  };
@@ -14451,7 +14009,7 @@ var deserializeAws_json1_1DocumentLimitExceeded = function (output, context) {
14451
14009
  };
14452
14010
  var deserializeAws_json1_1DocumentMetadataResponseInfo = function (output, context) {
14453
14011
  return {
14454
- ReviewerResponse: output.ReviewerResponse !== undefined && output.ReviewerResponse !== null
14012
+ ReviewerResponse: output.ReviewerResponse != null
14455
14013
  ? deserializeAws_json1_1DocumentReviewerResponseList(output.ReviewerResponse, context)
14456
14014
  : undefined,
14457
14015
  };
@@ -14527,22 +14085,18 @@ var deserializeAws_json1_1DocumentReviewerResponseList = function (output, conte
14527
14085
  };
14528
14086
  var deserializeAws_json1_1DocumentReviewerResponseSource = function (output, context) {
14529
14087
  return {
14530
- Comment: output.Comment !== undefined && output.Comment !== null
14531
- ? deserializeAws_json1_1DocumentReviewCommentList(output.Comment, context)
14532
- : undefined,
14533
- CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
14534
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
14535
- : undefined,
14088
+ Comment: output.Comment != null ? deserializeAws_json1_1DocumentReviewCommentList(output.Comment, context) : undefined,
14089
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
14536
14090
  ReviewStatus: __expectString(output.ReviewStatus),
14537
14091
  Reviewer: __expectString(output.Reviewer),
14538
- UpdatedTime: output.UpdatedTime !== undefined && output.UpdatedTime !== null
14092
+ UpdatedTime: output.UpdatedTime != null
14539
14093
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
14540
14094
  : undefined,
14541
14095
  };
14542
14096
  };
14543
14097
  var deserializeAws_json1_1DocumentVersionInfo = function (output, context) {
14544
14098
  return {
14545
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
14099
+ CreatedDate: output.CreatedDate != null
14546
14100
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
14547
14101
  : undefined,
14548
14102
  DisplayName: __expectString(output.DisplayName),
@@ -14592,12 +14146,8 @@ var deserializeAws_json1_1DuplicateInstanceId = function (output, context) {
14592
14146
  };
14593
14147
  var deserializeAws_json1_1EffectivePatch = function (output, context) {
14594
14148
  return {
14595
- Patch: output.Patch !== undefined && output.Patch !== null
14596
- ? deserializeAws_json1_1Patch(output.Patch, context)
14597
- : undefined,
14598
- PatchStatus: output.PatchStatus !== undefined && output.PatchStatus !== null
14599
- ? deserializeAws_json1_1PatchStatus(output.PatchStatus, context)
14600
- : undefined,
14149
+ Patch: output.Patch != null ? deserializeAws_json1_1Patch(output.Patch, context) : undefined,
14150
+ PatchStatus: output.PatchStatus != null ? deserializeAws_json1_1PatchStatus(output.PatchStatus, context) : undefined,
14601
14151
  };
14602
14152
  };
14603
14153
  var deserializeAws_json1_1EffectivePatchList = function (output, context) {
@@ -14613,7 +14163,7 @@ var deserializeAws_json1_1EffectivePatchList = function (output, context) {
14613
14163
  };
14614
14164
  var deserializeAws_json1_1FailedCreateAssociation = function (output, context) {
14615
14165
  return {
14616
- Entry: output.Entry !== undefined && output.Entry !== null
14166
+ Entry: output.Entry != null
14617
14167
  ? deserializeAws_json1_1CreateAssociationBatchRequestEntry(output.Entry, context)
14618
14168
  : undefined,
14619
14169
  Fault: __expectString(output.Fault),
@@ -14633,9 +14183,7 @@ var deserializeAws_json1_1FailedCreateAssociationList = function (output, contex
14633
14183
  };
14634
14184
  var deserializeAws_json1_1FailureDetails = function (output, context) {
14635
14185
  return {
14636
- Details: output.Details !== undefined && output.Details !== null
14637
- ? deserializeAws_json1_1AutomationParameterMap(output.Details, context)
14638
- : undefined,
14186
+ Details: output.Details != null ? deserializeAws_json1_1AutomationParameterMap(output.Details, context) : undefined,
14639
14187
  FailureStage: __expectString(output.FailureStage),
14640
14188
  FailureType: __expectString(output.FailureType),
14641
14189
  };
@@ -14647,7 +14195,7 @@ var deserializeAws_json1_1FeatureNotAvailableException = function (output, conte
14647
14195
  };
14648
14196
  var deserializeAws_json1_1GetAutomationExecutionResult = function (output, context) {
14649
14197
  return {
14650
- AutomationExecution: output.AutomationExecution !== undefined && output.AutomationExecution !== null
14198
+ AutomationExecution: output.AutomationExecution != null
14651
14199
  ? deserializeAws_json1_1AutomationExecution(output.AutomationExecution, context)
14652
14200
  : undefined,
14653
14201
  };
@@ -14661,7 +14209,7 @@ var deserializeAws_json1_1GetCalendarStateResponse = function (output, context)
14661
14209
  };
14662
14210
  var deserializeAws_json1_1GetCommandInvocationResult = function (output, context) {
14663
14211
  return {
14664
- CloudWatchOutputConfig: output.CloudWatchOutputConfig !== undefined && output.CloudWatchOutputConfig !== null
14212
+ CloudWatchOutputConfig: output.CloudWatchOutputConfig != null
14665
14213
  ? deserializeAws_json1_1CloudWatchOutputConfig(output.CloudWatchOutputConfig, context)
14666
14214
  : undefined,
14667
14215
  CommandId: __expectString(output.CommandId),
@@ -14704,11 +14252,11 @@ var deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceResult = function
14704
14252
  };
14705
14253
  var deserializeAws_json1_1GetDocumentResult = function (output, context) {
14706
14254
  return {
14707
- AttachmentsContent: output.AttachmentsContent !== undefined && output.AttachmentsContent !== null
14255
+ AttachmentsContent: output.AttachmentsContent != null
14708
14256
  ? deserializeAws_json1_1AttachmentContentList(output.AttachmentsContent, context)
14709
14257
  : undefined,
14710
14258
  Content: __expectString(output.Content),
14711
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
14259
+ CreatedDate: output.CreatedDate != null
14712
14260
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
14713
14261
  : undefined,
14714
14262
  DisplayName: __expectString(output.DisplayName),
@@ -14716,9 +14264,7 @@ var deserializeAws_json1_1GetDocumentResult = function (output, context) {
14716
14264
  DocumentType: __expectString(output.DocumentType),
14717
14265
  DocumentVersion: __expectString(output.DocumentVersion),
14718
14266
  Name: __expectString(output.Name),
14719
- Requires: output.Requires !== undefined && output.Requires !== null
14720
- ? deserializeAws_json1_1DocumentRequiresList(output.Requires, context)
14721
- : undefined,
14267
+ Requires: output.Requires != null ? deserializeAws_json1_1DocumentRequiresList(output.Requires, context) : undefined,
14722
14268
  ReviewStatus: __expectString(output.ReviewStatus),
14723
14269
  Status: __expectString(output.Status),
14724
14270
  StatusInformation: __expectString(output.StatusInformation),
@@ -14727,31 +14273,23 @@ var deserializeAws_json1_1GetDocumentResult = function (output, context) {
14727
14273
  };
14728
14274
  var deserializeAws_json1_1GetInventoryResult = function (output, context) {
14729
14275
  return {
14730
- Entities: output.Entities !== undefined && output.Entities !== null
14731
- ? deserializeAws_json1_1InventoryResultEntityList(output.Entities, context)
14732
- : undefined,
14276
+ Entities: output.Entities != null ? deserializeAws_json1_1InventoryResultEntityList(output.Entities, context) : undefined,
14733
14277
  NextToken: __expectString(output.NextToken),
14734
14278
  };
14735
14279
  };
14736
14280
  var deserializeAws_json1_1GetInventorySchemaResult = function (output, context) {
14737
14281
  return {
14738
14282
  NextToken: __expectString(output.NextToken),
14739
- Schemas: output.Schemas !== undefined && output.Schemas !== null
14740
- ? deserializeAws_json1_1InventoryItemSchemaResultList(output.Schemas, context)
14741
- : undefined,
14283
+ Schemas: output.Schemas != null ? deserializeAws_json1_1InventoryItemSchemaResultList(output.Schemas, context) : undefined,
14742
14284
  };
14743
14285
  };
14744
14286
  var deserializeAws_json1_1GetMaintenanceWindowExecutionResult = function (output, context) {
14745
14287
  return {
14746
- EndTime: output.EndTime !== undefined && output.EndTime !== null
14747
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
14748
- : undefined,
14749
- StartTime: output.StartTime !== undefined && output.StartTime !== null
14750
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
14751
- : undefined,
14288
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
14289
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
14752
14290
  Status: __expectString(output.Status),
14753
14291
  StatusDetails: __expectString(output.StatusDetails),
14754
- TaskIds: output.TaskIds !== undefined && output.TaskIds !== null
14292
+ TaskIds: output.TaskIds != null
14755
14293
  ? deserializeAws_json1_1MaintenanceWindowExecutionTaskIdList(output.TaskIds, context)
14756
14294
  : undefined,
14757
14295
  WindowExecutionId: __expectString(output.WindowExecutionId),
@@ -14759,16 +14297,12 @@ var deserializeAws_json1_1GetMaintenanceWindowExecutionResult = function (output
14759
14297
  };
14760
14298
  var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult = function (output, context) {
14761
14299
  return {
14762
- EndTime: output.EndTime !== undefined && output.EndTime !== null
14763
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
14764
- : undefined,
14300
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
14765
14301
  ExecutionId: __expectString(output.ExecutionId),
14766
14302
  InvocationId: __expectString(output.InvocationId),
14767
14303
  OwnerInformation: __expectString(output.OwnerInformation),
14768
14304
  Parameters: __expectString(output.Parameters),
14769
- StartTime: output.StartTime !== undefined && output.StartTime !== null
14770
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
14771
- : undefined,
14305
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
14772
14306
  Status: __expectString(output.Status),
14773
14307
  StatusDetails: __expectString(output.StatusDetails),
14774
14308
  TaskExecutionId: __expectString(output.TaskExecutionId),
@@ -14779,21 +14313,17 @@ var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult = fu
14779
14313
  };
14780
14314
  var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskResult = function (output, context) {
14781
14315
  return {
14782
- EndTime: output.EndTime !== undefined && output.EndTime !== null
14783
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
14784
- : undefined,
14316
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
14785
14317
  MaxConcurrency: __expectString(output.MaxConcurrency),
14786
14318
  MaxErrors: __expectString(output.MaxErrors),
14787
14319
  Priority: __expectInt32(output.Priority),
14788
14320
  ServiceRole: __expectString(output.ServiceRole),
14789
- StartTime: output.StartTime !== undefined && output.StartTime !== null
14790
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
14791
- : undefined,
14321
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
14792
14322
  Status: __expectString(output.Status),
14793
14323
  StatusDetails: __expectString(output.StatusDetails),
14794
14324
  TaskArn: __expectString(output.TaskArn),
14795
14325
  TaskExecutionId: __expectString(output.TaskExecutionId),
14796
- TaskParameters: output.TaskParameters !== undefined && output.TaskParameters !== null
14326
+ TaskParameters: output.TaskParameters != null
14797
14327
  ? deserializeAws_json1_1MaintenanceWindowTaskParametersList(output.TaskParameters, context)
14798
14328
  : undefined,
14799
14329
  Type: __expectString(output.Type),
@@ -14803,7 +14333,7 @@ var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskResult = function (ou
14803
14333
  var deserializeAws_json1_1GetMaintenanceWindowResult = function (output, context) {
14804
14334
  return {
14805
14335
  AllowUnassociatedTargets: __expectBoolean(output.AllowUnassociatedTargets),
14806
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
14336
+ CreatedDate: output.CreatedDate != null
14807
14337
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
14808
14338
  : undefined,
14809
14339
  Cutoff: __expectInt32(output.Cutoff),
@@ -14811,7 +14341,7 @@ var deserializeAws_json1_1GetMaintenanceWindowResult = function (output, context
14811
14341
  Duration: __expectInt32(output.Duration),
14812
14342
  Enabled: __expectBoolean(output.Enabled),
14813
14343
  EndDate: __expectString(output.EndDate),
14814
- ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
14344
+ ModifiedDate: output.ModifiedDate != null
14815
14345
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
14816
14346
  : undefined,
14817
14347
  Name: __expectString(output.Name),
@@ -14827,22 +14357,18 @@ var deserializeAws_json1_1GetMaintenanceWindowTaskResult = function (output, con
14827
14357
  return {
14828
14358
  CutoffBehavior: __expectString(output.CutoffBehavior),
14829
14359
  Description: __expectString(output.Description),
14830
- LoggingInfo: output.LoggingInfo !== undefined && output.LoggingInfo !== null
14831
- ? deserializeAws_json1_1LoggingInfo(output.LoggingInfo, context)
14832
- : undefined,
14360
+ LoggingInfo: output.LoggingInfo != null ? deserializeAws_json1_1LoggingInfo(output.LoggingInfo, context) : undefined,
14833
14361
  MaxConcurrency: __expectString(output.MaxConcurrency),
14834
14362
  MaxErrors: __expectString(output.MaxErrors),
14835
14363
  Name: __expectString(output.Name),
14836
14364
  Priority: __expectInt32(output.Priority),
14837
14365
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
14838
- Targets: output.Targets !== undefined && output.Targets !== null
14839
- ? deserializeAws_json1_1Targets(output.Targets, context)
14840
- : undefined,
14366
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
14841
14367
  TaskArn: __expectString(output.TaskArn),
14842
- TaskInvocationParameters: output.TaskInvocationParameters !== undefined && output.TaskInvocationParameters !== null
14368
+ TaskInvocationParameters: output.TaskInvocationParameters != null
14843
14369
  ? deserializeAws_json1_1MaintenanceWindowTaskInvocationParameters(output.TaskInvocationParameters, context)
14844
14370
  : undefined,
14845
- TaskParameters: output.TaskParameters !== undefined && output.TaskParameters !== null
14371
+ TaskParameters: output.TaskParameters != null
14846
14372
  ? deserializeAws_json1_1MaintenanceWindowTaskParameters(output.TaskParameters, context)
14847
14373
  : undefined,
14848
14374
  TaskType: __expectString(output.TaskType),
@@ -14852,59 +14378,45 @@ var deserializeAws_json1_1GetMaintenanceWindowTaskResult = function (output, con
14852
14378
  };
14853
14379
  var deserializeAws_json1_1GetOpsItemResponse = function (output, context) {
14854
14380
  return {
14855
- OpsItem: output.OpsItem !== undefined && output.OpsItem !== null
14856
- ? deserializeAws_json1_1OpsItem(output.OpsItem, context)
14857
- : undefined,
14381
+ OpsItem: output.OpsItem != null ? deserializeAws_json1_1OpsItem(output.OpsItem, context) : undefined,
14858
14382
  };
14859
14383
  };
14860
14384
  var deserializeAws_json1_1GetOpsMetadataResult = function (output, context) {
14861
14385
  return {
14862
- Metadata: output.Metadata !== undefined && output.Metadata !== null
14863
- ? deserializeAws_json1_1MetadataMap(output.Metadata, context)
14864
- : undefined,
14386
+ Metadata: output.Metadata != null ? deserializeAws_json1_1MetadataMap(output.Metadata, context) : undefined,
14865
14387
  NextToken: __expectString(output.NextToken),
14866
14388
  ResourceId: __expectString(output.ResourceId),
14867
14389
  };
14868
14390
  };
14869
14391
  var deserializeAws_json1_1GetOpsSummaryResult = function (output, context) {
14870
14392
  return {
14871
- Entities: output.Entities !== undefined && output.Entities !== null
14872
- ? deserializeAws_json1_1OpsEntityList(output.Entities, context)
14873
- : undefined,
14393
+ Entities: output.Entities != null ? deserializeAws_json1_1OpsEntityList(output.Entities, context) : undefined,
14874
14394
  NextToken: __expectString(output.NextToken),
14875
14395
  };
14876
14396
  };
14877
14397
  var deserializeAws_json1_1GetParameterHistoryResult = function (output, context) {
14878
14398
  return {
14879
14399
  NextToken: __expectString(output.NextToken),
14880
- Parameters: output.Parameters !== undefined && output.Parameters !== null
14881
- ? deserializeAws_json1_1ParameterHistoryList(output.Parameters, context)
14882
- : undefined,
14400
+ Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterHistoryList(output.Parameters, context) : undefined,
14883
14401
  };
14884
14402
  };
14885
14403
  var deserializeAws_json1_1GetParameterResult = function (output, context) {
14886
14404
  return {
14887
- Parameter: output.Parameter !== undefined && output.Parameter !== null
14888
- ? deserializeAws_json1_1Parameter(output.Parameter, context)
14889
- : undefined,
14405
+ Parameter: output.Parameter != null ? deserializeAws_json1_1Parameter(output.Parameter, context) : undefined,
14890
14406
  };
14891
14407
  };
14892
14408
  var deserializeAws_json1_1GetParametersByPathResult = function (output, context) {
14893
14409
  return {
14894
14410
  NextToken: __expectString(output.NextToken),
14895
- Parameters: output.Parameters !== undefined && output.Parameters !== null
14896
- ? deserializeAws_json1_1ParameterList(output.Parameters, context)
14897
- : undefined,
14411
+ Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterList(output.Parameters, context) : undefined,
14898
14412
  };
14899
14413
  };
14900
14414
  var deserializeAws_json1_1GetParametersResult = function (output, context) {
14901
14415
  return {
14902
- InvalidParameters: output.InvalidParameters !== undefined && output.InvalidParameters !== null
14416
+ InvalidParameters: output.InvalidParameters != null
14903
14417
  ? deserializeAws_json1_1ParameterNameList(output.InvalidParameters, context)
14904
14418
  : undefined,
14905
- Parameters: output.Parameters !== undefined && output.Parameters !== null
14906
- ? deserializeAws_json1_1ParameterList(output.Parameters, context)
14907
- : undefined,
14419
+ Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterList(output.Parameters, context) : undefined,
14908
14420
  };
14909
14421
  };
14910
14422
  var deserializeAws_json1_1GetPatchBaselineForPatchGroupResult = function (output, context) {
@@ -14916,44 +14428,30 @@ var deserializeAws_json1_1GetPatchBaselineForPatchGroupResult = function (output
14916
14428
  };
14917
14429
  var deserializeAws_json1_1GetPatchBaselineResult = function (output, context) {
14918
14430
  return {
14919
- ApprovalRules: output.ApprovalRules !== undefined && output.ApprovalRules !== null
14920
- ? deserializeAws_json1_1PatchRuleGroup(output.ApprovalRules, context)
14921
- : undefined,
14922
- ApprovedPatches: output.ApprovedPatches !== undefined && output.ApprovedPatches !== null
14923
- ? deserializeAws_json1_1PatchIdList(output.ApprovedPatches, context)
14924
- : undefined,
14431
+ ApprovalRules: output.ApprovalRules != null ? deserializeAws_json1_1PatchRuleGroup(output.ApprovalRules, context) : undefined,
14432
+ ApprovedPatches: output.ApprovedPatches != null ? deserializeAws_json1_1PatchIdList(output.ApprovedPatches, context) : undefined,
14925
14433
  ApprovedPatchesComplianceLevel: __expectString(output.ApprovedPatchesComplianceLevel),
14926
14434
  ApprovedPatchesEnableNonSecurity: __expectBoolean(output.ApprovedPatchesEnableNonSecurity),
14927
14435
  BaselineId: __expectString(output.BaselineId),
14928
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
14436
+ CreatedDate: output.CreatedDate != null
14929
14437
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
14930
14438
  : undefined,
14931
14439
  Description: __expectString(output.Description),
14932
- GlobalFilters: output.GlobalFilters !== undefined && output.GlobalFilters !== null
14933
- ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context)
14934
- : undefined,
14935
- ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
14440
+ GlobalFilters: output.GlobalFilters != null ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context) : undefined,
14441
+ ModifiedDate: output.ModifiedDate != null
14936
14442
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
14937
14443
  : undefined,
14938
14444
  Name: __expectString(output.Name),
14939
14445
  OperatingSystem: __expectString(output.OperatingSystem),
14940
- PatchGroups: output.PatchGroups !== undefined && output.PatchGroups !== null
14941
- ? deserializeAws_json1_1PatchGroupList(output.PatchGroups, context)
14942
- : undefined,
14943
- RejectedPatches: output.RejectedPatches !== undefined && output.RejectedPatches !== null
14944
- ? deserializeAws_json1_1PatchIdList(output.RejectedPatches, context)
14945
- : undefined,
14446
+ PatchGroups: output.PatchGroups != null ? deserializeAws_json1_1PatchGroupList(output.PatchGroups, context) : undefined,
14447
+ RejectedPatches: output.RejectedPatches != null ? deserializeAws_json1_1PatchIdList(output.RejectedPatches, context) : undefined,
14946
14448
  RejectedPatchesAction: __expectString(output.RejectedPatchesAction),
14947
- Sources: output.Sources !== undefined && output.Sources !== null
14948
- ? deserializeAws_json1_1PatchSourceList(output.Sources, context)
14949
- : undefined,
14449
+ Sources: output.Sources != null ? deserializeAws_json1_1PatchSourceList(output.Sources, context) : undefined,
14950
14450
  };
14951
14451
  };
14952
14452
  var deserializeAws_json1_1GetServiceSettingResult = function (output, context) {
14953
14453
  return {
14954
- ServiceSetting: output.ServiceSetting !== undefined && output.ServiceSetting !== null
14955
- ? deserializeAws_json1_1ServiceSetting(output.ServiceSetting, context)
14956
- : undefined,
14454
+ ServiceSetting: output.ServiceSetting != null ? deserializeAws_json1_1ServiceSetting(output.ServiceSetting, context) : undefined,
14957
14455
  };
14958
14456
  };
14959
14457
  var deserializeAws_json1_1HierarchyLevelLimitExceededException = function (output, context) {
@@ -14979,8 +14477,7 @@ var deserializeAws_json1_1IncompatiblePolicyException = function (output, contex
14979
14477
  var deserializeAws_json1_1InstanceAggregatedAssociationOverview = function (output, context) {
14980
14478
  return {
14981
14479
  DetailedStatus: __expectString(output.DetailedStatus),
14982
- InstanceAssociationStatusAggregatedCount: output.InstanceAssociationStatusAggregatedCount !== undefined &&
14983
- output.InstanceAssociationStatusAggregatedCount !== null
14480
+ InstanceAssociationStatusAggregatedCount: output.InstanceAssociationStatusAggregatedCount != null
14984
14481
  ? deserializeAws_json1_1InstanceAssociationStatusAggregatedCount(output.InstanceAssociationStatusAggregatedCount, context)
14985
14482
  : undefined,
14986
14483
  };
@@ -15006,16 +14503,12 @@ var deserializeAws_json1_1InstanceAssociationList = function (output, context) {
15006
14503
  };
15007
14504
  var deserializeAws_json1_1InstanceAssociationOutputLocation = function (output, context) {
15008
14505
  return {
15009
- S3Location: output.S3Location !== undefined && output.S3Location !== null
15010
- ? deserializeAws_json1_1S3OutputLocation(output.S3Location, context)
15011
- : undefined,
14506
+ S3Location: output.S3Location != null ? deserializeAws_json1_1S3OutputLocation(output.S3Location, context) : undefined,
15012
14507
  };
15013
14508
  };
15014
14509
  var deserializeAws_json1_1InstanceAssociationOutputUrl = function (output, context) {
15015
14510
  return {
15016
- S3OutputUrl: output.S3OutputUrl !== undefined && output.S3OutputUrl !== null
15017
- ? deserializeAws_json1_1S3OutputUrl(output.S3OutputUrl, context)
15018
- : undefined,
14511
+ S3OutputUrl: output.S3OutputUrl != null ? deserializeAws_json1_1S3OutputUrl(output.S3OutputUrl, context) : undefined,
15019
14512
  };
15020
14513
  };
15021
14514
  var deserializeAws_json1_1InstanceAssociationStatusAggregatedCount = function (output, context) {
@@ -15036,13 +14529,13 @@ var deserializeAws_json1_1InstanceAssociationStatusInfo = function (output, cont
15036
14529
  DetailedStatus: __expectString(output.DetailedStatus),
15037
14530
  DocumentVersion: __expectString(output.DocumentVersion),
15038
14531
  ErrorCode: __expectString(output.ErrorCode),
15039
- ExecutionDate: output.ExecutionDate !== undefined && output.ExecutionDate !== null
14532
+ ExecutionDate: output.ExecutionDate != null
15040
14533
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionDate)))
15041
14534
  : undefined,
15042
14535
  ExecutionSummary: __expectString(output.ExecutionSummary),
15043
14536
  InstanceId: __expectString(output.InstanceId),
15044
14537
  Name: __expectString(output.Name),
15045
- OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
14538
+ OutputUrl: output.OutputUrl != null
15046
14539
  ? deserializeAws_json1_1InstanceAssociationOutputUrl(output.OutputUrl, context)
15047
14540
  : undefined,
15048
14541
  Status: __expectString(output.Status),
@@ -15074,7 +14567,7 @@ var deserializeAws_json1_1InstanceInformation = function (output, context) {
15074
14567
  return {
15075
14568
  ActivationId: __expectString(output.ActivationId),
15076
14569
  AgentVersion: __expectString(output.AgentVersion),
15077
- AssociationOverview: output.AssociationOverview !== undefined && output.AssociationOverview !== null
14570
+ AssociationOverview: output.AssociationOverview != null
15078
14571
  ? deserializeAws_json1_1InstanceAggregatedAssociationOverview(output.AssociationOverview, context)
15079
14572
  : undefined,
15080
14573
  AssociationStatus: __expectString(output.AssociationStatus),
@@ -15083,14 +14576,13 @@ var deserializeAws_json1_1InstanceInformation = function (output, context) {
15083
14576
  IamRole: __expectString(output.IamRole),
15084
14577
  InstanceId: __expectString(output.InstanceId),
15085
14578
  IsLatestVersion: __expectBoolean(output.IsLatestVersion),
15086
- LastAssociationExecutionDate: output.LastAssociationExecutionDate !== undefined && output.LastAssociationExecutionDate !== null
14579
+ LastAssociationExecutionDate: output.LastAssociationExecutionDate != null
15087
14580
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAssociationExecutionDate)))
15088
14581
  : undefined,
15089
- LastPingDateTime: output.LastPingDateTime !== undefined && output.LastPingDateTime !== null
14582
+ LastPingDateTime: output.LastPingDateTime != null
15090
14583
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPingDateTime)))
15091
14584
  : undefined,
15092
- LastSuccessfulAssociationExecutionDate: output.LastSuccessfulAssociationExecutionDate !== undefined &&
15093
- output.LastSuccessfulAssociationExecutionDate !== null
14585
+ LastSuccessfulAssociationExecutionDate: output.LastSuccessfulAssociationExecutionDate != null
15094
14586
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulAssociationExecutionDate)))
15095
14587
  : undefined,
15096
14588
  Name: __expectString(output.Name),
@@ -15098,7 +14590,7 @@ var deserializeAws_json1_1InstanceInformation = function (output, context) {
15098
14590
  PlatformName: __expectString(output.PlatformName),
15099
14591
  PlatformType: __expectString(output.PlatformType),
15100
14592
  PlatformVersion: __expectString(output.PlatformVersion),
15101
- RegistrationDate: output.RegistrationDate !== undefined && output.RegistrationDate !== null
14593
+ RegistrationDate: output.RegistrationDate != null
15102
14594
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RegistrationDate)))
15103
14595
  : undefined,
15104
14596
  ResourceType: __expectString(output.ResourceType),
@@ -15128,16 +14620,16 @@ var deserializeAws_json1_1InstancePatchState = function (output, context) {
15128
14620
  InstalledPendingRebootCount: __expectInt32(output.InstalledPendingRebootCount),
15129
14621
  InstalledRejectedCount: __expectInt32(output.InstalledRejectedCount),
15130
14622
  InstanceId: __expectString(output.InstanceId),
15131
- LastNoRebootInstallOperationTime: output.LastNoRebootInstallOperationTime !== undefined && output.LastNoRebootInstallOperationTime !== null
14623
+ LastNoRebootInstallOperationTime: output.LastNoRebootInstallOperationTime != null
15132
14624
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastNoRebootInstallOperationTime)))
15133
14625
  : undefined,
15134
14626
  MissingCount: __expectInt32(output.MissingCount),
15135
14627
  NotApplicableCount: __expectInt32(output.NotApplicableCount),
15136
14628
  Operation: __expectString(output.Operation),
15137
- OperationEndTime: output.OperationEndTime !== undefined && output.OperationEndTime !== null
14629
+ OperationEndTime: output.OperationEndTime != null
15138
14630
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OperationEndTime)))
15139
14631
  : undefined,
15140
- OperationStartTime: output.OperationStartTime !== undefined && output.OperationStartTime !== null
14632
+ OperationStartTime: output.OperationStartTime != null
15141
14633
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OperationStartTime)))
15142
14634
  : undefined,
15143
14635
  OtherNonCompliantCount: __expectInt32(output.OtherNonCompliantCount),
@@ -15417,15 +14909,15 @@ var deserializeAws_json1_1InventoryDeletionsList = function (output, context) {
15417
14909
  var deserializeAws_json1_1InventoryDeletionStatusItem = function (output, context) {
15418
14910
  return {
15419
14911
  DeletionId: __expectString(output.DeletionId),
15420
- DeletionStartTime: output.DeletionStartTime !== undefined && output.DeletionStartTime !== null
14912
+ DeletionStartTime: output.DeletionStartTime != null
15421
14913
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletionStartTime)))
15422
14914
  : undefined,
15423
- DeletionSummary: output.DeletionSummary !== undefined && output.DeletionSummary !== null
14915
+ DeletionSummary: output.DeletionSummary != null
15424
14916
  ? deserializeAws_json1_1InventoryDeletionSummary(output.DeletionSummary, context)
15425
14917
  : undefined,
15426
14918
  LastStatus: __expectString(output.LastStatus),
15427
14919
  LastStatusMessage: __expectString(output.LastStatusMessage),
15428
- LastStatusUpdateTime: output.LastStatusUpdateTime !== undefined && output.LastStatusUpdateTime !== null
14920
+ LastStatusUpdateTime: output.LastStatusUpdateTime != null
15429
14921
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastStatusUpdateTime)))
15430
14922
  : undefined,
15431
14923
  TypeName: __expectString(output.TypeName),
@@ -15434,7 +14926,7 @@ var deserializeAws_json1_1InventoryDeletionStatusItem = function (output, contex
15434
14926
  var deserializeAws_json1_1InventoryDeletionSummary = function (output, context) {
15435
14927
  return {
15436
14928
  RemainingCount: __expectInt32(output.RemainingCount),
15437
- SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
14929
+ SummaryItems: output.SummaryItems != null
15438
14930
  ? deserializeAws_json1_1InventoryDeletionSummaryItems(output.SummaryItems, context)
15439
14931
  : undefined,
15440
14932
  TotalCount: __expectInt32(output.TotalCount),
@@ -15498,7 +14990,7 @@ var deserializeAws_json1_1InventoryItemEntryList = function (output, context) {
15498
14990
  };
15499
14991
  var deserializeAws_json1_1InventoryItemSchema = function (output, context) {
15500
14992
  return {
15501
- Attributes: output.Attributes !== undefined && output.Attributes !== null
14993
+ Attributes: output.Attributes != null
15502
14994
  ? deserializeAws_json1_1InventoryItemAttributeList(output.Attributes, context)
15503
14995
  : undefined,
15504
14996
  DisplayName: __expectString(output.DisplayName),
@@ -15519,9 +15011,7 @@ var deserializeAws_json1_1InventoryItemSchemaResultList = function (output, cont
15519
15011
  };
15520
15012
  var deserializeAws_json1_1InventoryResultEntity = function (output, context) {
15521
15013
  return {
15522
- Data: output.Data !== undefined && output.Data !== null
15523
- ? deserializeAws_json1_1InventoryResultItemMap(output.Data, context)
15524
- : undefined,
15014
+ Data: output.Data != null ? deserializeAws_json1_1InventoryResultItemMap(output.Data, context) : undefined,
15525
15015
  Id: __expectString(output.Id),
15526
15016
  };
15527
15017
  };
@@ -15539,9 +15029,7 @@ var deserializeAws_json1_1InventoryResultEntityList = function (output, context)
15539
15029
  var deserializeAws_json1_1InventoryResultItem = function (output, context) {
15540
15030
  return {
15541
15031
  CaptureTime: __expectString(output.CaptureTime),
15542
- Content: output.Content !== undefined && output.Content !== null
15543
- ? deserializeAws_json1_1InventoryItemEntryList(output.Content, context)
15544
- : undefined,
15032
+ Content: output.Content != null ? deserializeAws_json1_1InventoryItemEntryList(output.Content, context) : undefined,
15545
15033
  ContentHash: __expectString(output.ContentHash),
15546
15034
  SchemaVersion: __expectString(output.SchemaVersion),
15547
15035
  TypeName: __expectString(output.TypeName),
@@ -15574,7 +15062,7 @@ var deserializeAws_json1_1ItemSizeLimitExceededException = function (output, con
15574
15062
  };
15575
15063
  var deserializeAws_json1_1LabelParameterVersionResult = function (output, context) {
15576
15064
  return {
15577
- InvalidLabels: output.InvalidLabels !== undefined && output.InvalidLabels !== null
15065
+ InvalidLabels: output.InvalidLabels != null
15578
15066
  ? deserializeAws_json1_1ParameterLabelList(output.InvalidLabels, context)
15579
15067
  : undefined,
15580
15068
  ParameterVersion: __expectLong(output.ParameterVersion),
@@ -15582,15 +15070,13 @@ var deserializeAws_json1_1LabelParameterVersionResult = function (output, contex
15582
15070
  };
15583
15071
  var deserializeAws_json1_1ListAssociationsResult = function (output, context) {
15584
15072
  return {
15585
- Associations: output.Associations !== undefined && output.Associations !== null
15586
- ? deserializeAws_json1_1AssociationList(output.Associations, context)
15587
- : undefined,
15073
+ Associations: output.Associations != null ? deserializeAws_json1_1AssociationList(output.Associations, context) : undefined,
15588
15074
  NextToken: __expectString(output.NextToken),
15589
15075
  };
15590
15076
  };
15591
15077
  var deserializeAws_json1_1ListAssociationVersionsResult = function (output, context) {
15592
15078
  return {
15593
- AssociationVersions: output.AssociationVersions !== undefined && output.AssociationVersions !== null
15079
+ AssociationVersions: output.AssociationVersions != null
15594
15080
  ? deserializeAws_json1_1AssociationVersionList(output.AssociationVersions, context)
15595
15081
  : undefined,
15596
15082
  NextToken: __expectString(output.NextToken),
@@ -15598,7 +15084,7 @@ var deserializeAws_json1_1ListAssociationVersionsResult = function (output, cont
15598
15084
  };
15599
15085
  var deserializeAws_json1_1ListCommandInvocationsResult = function (output, context) {
15600
15086
  return {
15601
- CommandInvocations: output.CommandInvocations !== undefined && output.CommandInvocations !== null
15087
+ CommandInvocations: output.CommandInvocations != null
15602
15088
  ? deserializeAws_json1_1CommandInvocationList(output.CommandInvocations, context)
15603
15089
  : undefined,
15604
15090
  NextToken: __expectString(output.NextToken),
@@ -15606,15 +15092,13 @@ var deserializeAws_json1_1ListCommandInvocationsResult = function (output, conte
15606
15092
  };
15607
15093
  var deserializeAws_json1_1ListCommandsResult = function (output, context) {
15608
15094
  return {
15609
- Commands: output.Commands !== undefined && output.Commands !== null
15610
- ? deserializeAws_json1_1CommandList(output.Commands, context)
15611
- : undefined,
15095
+ Commands: output.Commands != null ? deserializeAws_json1_1CommandList(output.Commands, context) : undefined,
15612
15096
  NextToken: __expectString(output.NextToken),
15613
15097
  };
15614
15098
  };
15615
15099
  var deserializeAws_json1_1ListComplianceItemsResult = function (output, context) {
15616
15100
  return {
15617
- ComplianceItems: output.ComplianceItems !== undefined && output.ComplianceItems !== null
15101
+ ComplianceItems: output.ComplianceItems != null
15618
15102
  ? deserializeAws_json1_1ComplianceItemList(output.ComplianceItems, context)
15619
15103
  : undefined,
15620
15104
  NextToken: __expectString(output.NextToken),
@@ -15622,7 +15106,7 @@ var deserializeAws_json1_1ListComplianceItemsResult = function (output, context)
15622
15106
  };
15623
15107
  var deserializeAws_json1_1ListComplianceSummariesResult = function (output, context) {
15624
15108
  return {
15625
- ComplianceSummaryItems: output.ComplianceSummaryItems !== undefined && output.ComplianceSummaryItems !== null
15109
+ ComplianceSummaryItems: output.ComplianceSummaryItems != null
15626
15110
  ? deserializeAws_json1_1ComplianceSummaryItemList(output.ComplianceSummaryItems, context)
15627
15111
  : undefined,
15628
15112
  NextToken: __expectString(output.NextToken),
@@ -15632,7 +15116,7 @@ var deserializeAws_json1_1ListDocumentMetadataHistoryResponse = function (output
15632
15116
  return {
15633
15117
  Author: __expectString(output.Author),
15634
15118
  DocumentVersion: __expectString(output.DocumentVersion),
15635
- Metadata: output.Metadata !== undefined && output.Metadata !== null
15119
+ Metadata: output.Metadata != null
15636
15120
  ? deserializeAws_json1_1DocumentMetadataResponseInfo(output.Metadata, context)
15637
15121
  : undefined,
15638
15122
  Name: __expectString(output.Name),
@@ -15641,7 +15125,7 @@ var deserializeAws_json1_1ListDocumentMetadataHistoryResponse = function (output
15641
15125
  };
15642
15126
  var deserializeAws_json1_1ListDocumentsResult = function (output, context) {
15643
15127
  return {
15644
- DocumentIdentifiers: output.DocumentIdentifiers !== undefined && output.DocumentIdentifiers !== null
15128
+ DocumentIdentifiers: output.DocumentIdentifiers != null
15645
15129
  ? deserializeAws_json1_1DocumentIdentifierList(output.DocumentIdentifiers, context)
15646
15130
  : undefined,
15647
15131
  NextToken: __expectString(output.NextToken),
@@ -15649,7 +15133,7 @@ var deserializeAws_json1_1ListDocumentsResult = function (output, context) {
15649
15133
  };
15650
15134
  var deserializeAws_json1_1ListDocumentVersionsResult = function (output, context) {
15651
15135
  return {
15652
- DocumentVersions: output.DocumentVersions !== undefined && output.DocumentVersions !== null
15136
+ DocumentVersions: output.DocumentVersions != null
15653
15137
  ? deserializeAws_json1_1DocumentVersionList(output.DocumentVersions, context)
15654
15138
  : undefined,
15655
15139
  NextToken: __expectString(output.NextToken),
@@ -15658,9 +15142,7 @@ var deserializeAws_json1_1ListDocumentVersionsResult = function (output, context
15658
15142
  var deserializeAws_json1_1ListInventoryEntriesResult = function (output, context) {
15659
15143
  return {
15660
15144
  CaptureTime: __expectString(output.CaptureTime),
15661
- Entries: output.Entries !== undefined && output.Entries !== null
15662
- ? deserializeAws_json1_1InventoryItemEntryList(output.Entries, context)
15663
- : undefined,
15145
+ Entries: output.Entries != null ? deserializeAws_json1_1InventoryItemEntryList(output.Entries, context) : undefined,
15664
15146
  InstanceId: __expectString(output.InstanceId),
15665
15147
  NextToken: __expectString(output.NextToken),
15666
15148
  SchemaVersion: __expectString(output.SchemaVersion),
@@ -15670,15 +15152,13 @@ var deserializeAws_json1_1ListInventoryEntriesResult = function (output, context
15670
15152
  var deserializeAws_json1_1ListOpsItemEventsResponse = function (output, context) {
15671
15153
  return {
15672
15154
  NextToken: __expectString(output.NextToken),
15673
- Summaries: output.Summaries !== undefined && output.Summaries !== null
15674
- ? deserializeAws_json1_1OpsItemEventSummaries(output.Summaries, context)
15675
- : undefined,
15155
+ Summaries: output.Summaries != null ? deserializeAws_json1_1OpsItemEventSummaries(output.Summaries, context) : undefined,
15676
15156
  };
15677
15157
  };
15678
15158
  var deserializeAws_json1_1ListOpsItemRelatedItemsResponse = function (output, context) {
15679
15159
  return {
15680
15160
  NextToken: __expectString(output.NextToken),
15681
- Summaries: output.Summaries !== undefined && output.Summaries !== null
15161
+ Summaries: output.Summaries != null
15682
15162
  ? deserializeAws_json1_1OpsItemRelatedItemSummaries(output.Summaries, context)
15683
15163
  : undefined,
15684
15164
  };
@@ -15686,7 +15166,7 @@ var deserializeAws_json1_1ListOpsItemRelatedItemsResponse = function (output, co
15686
15166
  var deserializeAws_json1_1ListOpsMetadataResult = function (output, context) {
15687
15167
  return {
15688
15168
  NextToken: __expectString(output.NextToken),
15689
- OpsMetadataList: output.OpsMetadataList !== undefined && output.OpsMetadataList !== null
15169
+ OpsMetadataList: output.OpsMetadataList != null
15690
15170
  ? deserializeAws_json1_1OpsMetadataList(output.OpsMetadataList, context)
15691
15171
  : undefined,
15692
15172
  };
@@ -15694,7 +15174,7 @@ var deserializeAws_json1_1ListOpsMetadataResult = function (output, context) {
15694
15174
  var deserializeAws_json1_1ListResourceComplianceSummariesResult = function (output, context) {
15695
15175
  return {
15696
15176
  NextToken: __expectString(output.NextToken),
15697
- ResourceComplianceSummaryItems: output.ResourceComplianceSummaryItems !== undefined && output.ResourceComplianceSummaryItems !== null
15177
+ ResourceComplianceSummaryItems: output.ResourceComplianceSummaryItems != null
15698
15178
  ? deserializeAws_json1_1ResourceComplianceSummaryItemList(output.ResourceComplianceSummaryItems, context)
15699
15179
  : undefined,
15700
15180
  };
@@ -15702,16 +15182,14 @@ var deserializeAws_json1_1ListResourceComplianceSummariesResult = function (outp
15702
15182
  var deserializeAws_json1_1ListResourceDataSyncResult = function (output, context) {
15703
15183
  return {
15704
15184
  NextToken: __expectString(output.NextToken),
15705
- ResourceDataSyncItems: output.ResourceDataSyncItems !== undefined && output.ResourceDataSyncItems !== null
15185
+ ResourceDataSyncItems: output.ResourceDataSyncItems != null
15706
15186
  ? deserializeAws_json1_1ResourceDataSyncItemList(output.ResourceDataSyncItems, context)
15707
15187
  : undefined,
15708
15188
  };
15709
15189
  };
15710
15190
  var deserializeAws_json1_1ListTagsForResourceResult = function (output, context) {
15711
15191
  return {
15712
- TagList: output.TagList !== undefined && output.TagList !== null
15713
- ? deserializeAws_json1_1TagList(output.TagList, context)
15714
- : undefined,
15192
+ TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
15715
15193
  };
15716
15194
  };
15717
15195
  var deserializeAws_json1_1LoggingInfo = function (output, context) {
@@ -15724,19 +15202,13 @@ var deserializeAws_json1_1LoggingInfo = function (output, context) {
15724
15202
  var deserializeAws_json1_1MaintenanceWindowAutomationParameters = function (output, context) {
15725
15203
  return {
15726
15204
  DocumentVersion: __expectString(output.DocumentVersion),
15727
- Parameters: output.Parameters !== undefined && output.Parameters !== null
15728
- ? deserializeAws_json1_1AutomationParameterMap(output.Parameters, context)
15729
- : undefined,
15205
+ Parameters: output.Parameters != null ? deserializeAws_json1_1AutomationParameterMap(output.Parameters, context) : undefined,
15730
15206
  };
15731
15207
  };
15732
15208
  var deserializeAws_json1_1MaintenanceWindowExecution = function (output, context) {
15733
15209
  return {
15734
- EndTime: output.EndTime !== undefined && output.EndTime !== null
15735
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
15736
- : undefined,
15737
- StartTime: output.StartTime !== undefined && output.StartTime !== null
15738
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
15739
- : undefined,
15210
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
15211
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
15740
15212
  Status: __expectString(output.Status),
15741
15213
  StatusDetails: __expectString(output.StatusDetails),
15742
15214
  WindowExecutionId: __expectString(output.WindowExecutionId),
@@ -15756,12 +15228,8 @@ var deserializeAws_json1_1MaintenanceWindowExecutionList = function (output, con
15756
15228
  };
15757
15229
  var deserializeAws_json1_1MaintenanceWindowExecutionTaskIdentity = function (output, context) {
15758
15230
  return {
15759
- EndTime: output.EndTime !== undefined && output.EndTime !== null
15760
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
15761
- : undefined,
15762
- StartTime: output.StartTime !== undefined && output.StartTime !== null
15763
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
15764
- : undefined,
15231
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
15232
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
15765
15233
  Status: __expectString(output.Status),
15766
15234
  StatusDetails: __expectString(output.StatusDetails),
15767
15235
  TaskArn: __expectString(output.TaskArn),
@@ -15794,16 +15262,12 @@ var deserializeAws_json1_1MaintenanceWindowExecutionTaskIdList = function (outpu
15794
15262
  };
15795
15263
  var deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentity = function (output, context) {
15796
15264
  return {
15797
- EndTime: output.EndTime !== undefined && output.EndTime !== null
15798
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
15799
- : undefined,
15265
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
15800
15266
  ExecutionId: __expectString(output.ExecutionId),
15801
15267
  InvocationId: __expectString(output.InvocationId),
15802
15268
  OwnerInformation: __expectString(output.OwnerInformation),
15803
15269
  Parameters: __expectString(output.Parameters),
15804
- StartTime: output.StartTime !== undefined && output.StartTime !== null
15805
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
15806
- : undefined,
15270
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
15807
15271
  Status: __expectString(output.Status),
15808
15272
  StatusDetails: __expectString(output.StatusDetails),
15809
15273
  TaskExecutionId: __expectString(output.TaskExecutionId),
@@ -15859,27 +15323,25 @@ var deserializeAws_json1_1MaintenanceWindowIdentityList = function (output, cont
15859
15323
  var deserializeAws_json1_1MaintenanceWindowLambdaParameters = function (output, context) {
15860
15324
  return {
15861
15325
  ClientContext: __expectString(output.ClientContext),
15862
- Payload: output.Payload !== undefined && output.Payload !== null ? context.base64Decoder(output.Payload) : undefined,
15326
+ Payload: output.Payload != null ? context.base64Decoder(output.Payload) : undefined,
15863
15327
  Qualifier: __expectString(output.Qualifier),
15864
15328
  };
15865
15329
  };
15866
15330
  var deserializeAws_json1_1MaintenanceWindowRunCommandParameters = function (output, context) {
15867
15331
  return {
15868
- CloudWatchOutputConfig: output.CloudWatchOutputConfig !== undefined && output.CloudWatchOutputConfig !== null
15332
+ CloudWatchOutputConfig: output.CloudWatchOutputConfig != null
15869
15333
  ? deserializeAws_json1_1CloudWatchOutputConfig(output.CloudWatchOutputConfig, context)
15870
15334
  : undefined,
15871
15335
  Comment: __expectString(output.Comment),
15872
15336
  DocumentHash: __expectString(output.DocumentHash),
15873
15337
  DocumentHashType: __expectString(output.DocumentHashType),
15874
15338
  DocumentVersion: __expectString(output.DocumentVersion),
15875
- NotificationConfig: output.NotificationConfig !== undefined && output.NotificationConfig !== null
15339
+ NotificationConfig: output.NotificationConfig != null
15876
15340
  ? deserializeAws_json1_1NotificationConfig(output.NotificationConfig, context)
15877
15341
  : undefined,
15878
15342
  OutputS3BucketName: __expectString(output.OutputS3BucketName),
15879
15343
  OutputS3KeyPrefix: __expectString(output.OutputS3KeyPrefix),
15880
- Parameters: output.Parameters !== undefined && output.Parameters !== null
15881
- ? deserializeAws_json1_1Parameters(output.Parameters, context)
15882
- : undefined,
15344
+ Parameters: output.Parameters != null ? deserializeAws_json1_1Parameters(output.Parameters, context) : undefined,
15883
15345
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
15884
15346
  TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
15885
15347
  };
@@ -15907,9 +15369,7 @@ var deserializeAws_json1_1MaintenanceWindowTarget = function (output, context) {
15907
15369
  Name: __expectString(output.Name),
15908
15370
  OwnerInformation: __expectString(output.OwnerInformation),
15909
15371
  ResourceType: __expectString(output.ResourceType),
15910
- Targets: output.Targets !== undefined && output.Targets !== null
15911
- ? deserializeAws_json1_1Targets(output.Targets, context)
15912
- : undefined,
15372
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
15913
15373
  WindowId: __expectString(output.WindowId),
15914
15374
  WindowTargetId: __expectString(output.WindowTargetId),
15915
15375
  };
@@ -15929,19 +15389,15 @@ var deserializeAws_json1_1MaintenanceWindowTask = function (output, context) {
15929
15389
  return {
15930
15390
  CutoffBehavior: __expectString(output.CutoffBehavior),
15931
15391
  Description: __expectString(output.Description),
15932
- LoggingInfo: output.LoggingInfo !== undefined && output.LoggingInfo !== null
15933
- ? deserializeAws_json1_1LoggingInfo(output.LoggingInfo, context)
15934
- : undefined,
15392
+ LoggingInfo: output.LoggingInfo != null ? deserializeAws_json1_1LoggingInfo(output.LoggingInfo, context) : undefined,
15935
15393
  MaxConcurrency: __expectString(output.MaxConcurrency),
15936
15394
  MaxErrors: __expectString(output.MaxErrors),
15937
15395
  Name: __expectString(output.Name),
15938
15396
  Priority: __expectInt32(output.Priority),
15939
15397
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
15940
- Targets: output.Targets !== undefined && output.Targets !== null
15941
- ? deserializeAws_json1_1Targets(output.Targets, context)
15942
- : undefined,
15398
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
15943
15399
  TaskArn: __expectString(output.TaskArn),
15944
- TaskParameters: output.TaskParameters !== undefined && output.TaskParameters !== null
15400
+ TaskParameters: output.TaskParameters != null
15945
15401
  ? deserializeAws_json1_1MaintenanceWindowTaskParameters(output.TaskParameters, context)
15946
15402
  : undefined,
15947
15403
  Type: __expectString(output.Type),
@@ -15951,16 +15407,16 @@ var deserializeAws_json1_1MaintenanceWindowTask = function (output, context) {
15951
15407
  };
15952
15408
  var deserializeAws_json1_1MaintenanceWindowTaskInvocationParameters = function (output, context) {
15953
15409
  return {
15954
- Automation: output.Automation !== undefined && output.Automation !== null
15410
+ Automation: output.Automation != null
15955
15411
  ? deserializeAws_json1_1MaintenanceWindowAutomationParameters(output.Automation, context)
15956
15412
  : undefined,
15957
- Lambda: output.Lambda !== undefined && output.Lambda !== null
15413
+ Lambda: output.Lambda != null
15958
15414
  ? deserializeAws_json1_1MaintenanceWindowLambdaParameters(output.Lambda, context)
15959
15415
  : undefined,
15960
- RunCommand: output.RunCommand !== undefined && output.RunCommand !== null
15416
+ RunCommand: output.RunCommand != null
15961
15417
  ? deserializeAws_json1_1MaintenanceWindowRunCommandParameters(output.RunCommand, context)
15962
15418
  : undefined,
15963
- StepFunctions: output.StepFunctions !== undefined && output.StepFunctions !== null
15419
+ StepFunctions: output.StepFunctions != null
15964
15420
  ? deserializeAws_json1_1MaintenanceWindowStepFunctionsParameters(output.StepFunctions, context)
15965
15421
  : undefined,
15966
15422
  };
@@ -15999,7 +15455,7 @@ var deserializeAws_json1_1MaintenanceWindowTaskParametersList = function (output
15999
15455
  };
16000
15456
  var deserializeAws_json1_1MaintenanceWindowTaskParameterValueExpression = function (output, context) {
16001
15457
  return {
16002
- Values: output.Values !== undefined && output.Values !== null
15458
+ Values: output.Values != null
16003
15459
  ? deserializeAws_json1_1MaintenanceWindowTaskParameterValueList(output.Values, context)
16004
15460
  : undefined,
16005
15461
  };
@@ -16041,7 +15497,7 @@ var deserializeAws_json1_1ModifyDocumentPermissionResponse = function (output, c
16041
15497
  var deserializeAws_json1_1NonCompliantSummary = function (output, context) {
16042
15498
  return {
16043
15499
  NonCompliantCount: __expectInt32(output.NonCompliantCount),
16044
- SeveritySummary: output.SeveritySummary !== undefined && output.SeveritySummary !== null
15500
+ SeveritySummary: output.SeveritySummary != null
16045
15501
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
16046
15502
  : undefined,
16047
15503
  };
@@ -16059,7 +15515,7 @@ var deserializeAws_json1_1NormalStringMap = function (output, context) {
16059
15515
  var deserializeAws_json1_1NotificationConfig = function (output, context) {
16060
15516
  return {
16061
15517
  NotificationArn: __expectString(output.NotificationArn),
16062
- NotificationEvents: output.NotificationEvents !== undefined && output.NotificationEvents !== null
15518
+ NotificationEvents: output.NotificationEvents != null
16063
15519
  ? deserializeAws_json1_1NotificationEventList(output.NotificationEvents, context)
16064
15520
  : undefined,
16065
15521
  NotificationType: __expectString(output.NotificationType),
@@ -16078,18 +15534,14 @@ var deserializeAws_json1_1NotificationEventList = function (output, context) {
16078
15534
  };
16079
15535
  var deserializeAws_json1_1OpsEntity = function (output, context) {
16080
15536
  return {
16081
- Data: output.Data !== undefined && output.Data !== null
16082
- ? deserializeAws_json1_1OpsEntityItemMap(output.Data, context)
16083
- : undefined,
15537
+ Data: output.Data != null ? deserializeAws_json1_1OpsEntityItemMap(output.Data, context) : undefined,
16084
15538
  Id: __expectString(output.Id),
16085
15539
  };
16086
15540
  };
16087
15541
  var deserializeAws_json1_1OpsEntityItem = function (output, context) {
16088
15542
  return {
16089
15543
  CaptureTime: __expectString(output.CaptureTime),
16090
- Content: output.Content !== undefined && output.Content !== null
16091
- ? deserializeAws_json1_1OpsEntityItemEntryList(output.Content, context)
16092
- : undefined,
15544
+ Content: output.Content != null ? deserializeAws_json1_1OpsEntityItemEntryList(output.Content, context) : undefined,
16093
15545
  };
16094
15546
  };
16095
15547
  var deserializeAws_json1_1OpsEntityItemEntry = function (output, context) {
@@ -16136,38 +15588,38 @@ var deserializeAws_json1_1OpsEntityList = function (output, context) {
16136
15588
  };
16137
15589
  var deserializeAws_json1_1OpsItem = function (output, context) {
16138
15590
  return {
16139
- ActualEndTime: output.ActualEndTime !== undefined && output.ActualEndTime !== null
15591
+ ActualEndTime: output.ActualEndTime != null
16140
15592
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualEndTime)))
16141
15593
  : undefined,
16142
- ActualStartTime: output.ActualStartTime !== undefined && output.ActualStartTime !== null
15594
+ ActualStartTime: output.ActualStartTime != null
16143
15595
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualStartTime)))
16144
15596
  : undefined,
16145
15597
  Category: __expectString(output.Category),
16146
15598
  CreatedBy: __expectString(output.CreatedBy),
16147
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
15599
+ CreatedTime: output.CreatedTime != null
16148
15600
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
16149
15601
  : undefined,
16150
15602
  Description: __expectString(output.Description),
16151
15603
  LastModifiedBy: __expectString(output.LastModifiedBy),
16152
- LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
15604
+ LastModifiedTime: output.LastModifiedTime != null
16153
15605
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
16154
15606
  : undefined,
16155
- Notifications: output.Notifications !== undefined && output.Notifications !== null
15607
+ Notifications: output.Notifications != null
16156
15608
  ? deserializeAws_json1_1OpsItemNotifications(output.Notifications, context)
16157
15609
  : undefined,
16158
- OperationalData: output.OperationalData !== undefined && output.OperationalData !== null
15610
+ OperationalData: output.OperationalData != null
16159
15611
  ? deserializeAws_json1_1OpsItemOperationalData(output.OperationalData, context)
16160
15612
  : undefined,
16161
15613
  OpsItemId: __expectString(output.OpsItemId),
16162
15614
  OpsItemType: __expectString(output.OpsItemType),
16163
- PlannedEndTime: output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
15615
+ PlannedEndTime: output.PlannedEndTime != null
16164
15616
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedEndTime)))
16165
15617
  : undefined,
16166
- PlannedStartTime: output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
15618
+ PlannedStartTime: output.PlannedStartTime != null
16167
15619
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedStartTime)))
16168
15620
  : undefined,
16169
15621
  Priority: __expectInt32(output.Priority),
16170
- RelatedOpsItems: output.RelatedOpsItems !== undefined && output.RelatedOpsItems !== null
15622
+ RelatedOpsItems: output.RelatedOpsItems != null
16171
15623
  ? deserializeAws_json1_1RelatedOpsItems(output.RelatedOpsItems, context)
16172
15624
  : undefined,
16173
15625
  Severity: __expectString(output.Severity),
@@ -16202,10 +15654,8 @@ var deserializeAws_json1_1OpsItemEventSummaries = function (output, context) {
16202
15654
  };
16203
15655
  var deserializeAws_json1_1OpsItemEventSummary = function (output, context) {
16204
15656
  return {
16205
- CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
16206
- ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context)
16207
- : undefined,
16208
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
15657
+ CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context) : undefined,
15658
+ CreatedTime: output.CreatedTime != null
16209
15659
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
16210
15660
  : undefined,
16211
15661
  Detail: __expectString(output.Detail),
@@ -16223,7 +15673,7 @@ var deserializeAws_json1_1OpsItemIdentity = function (output, context) {
16223
15673
  var deserializeAws_json1_1OpsItemInvalidParameterException = function (output, context) {
16224
15674
  return {
16225
15675
  Message: __expectString(output.Message),
16226
- ParameterNames: output.ParameterNames !== undefined && output.ParameterNames !== null
15676
+ ParameterNames: output.ParameterNames != null
16227
15677
  ? deserializeAws_json1_1OpsItemParameterNamesList(output.ParameterNames, context)
16228
15678
  : undefined,
16229
15679
  };
@@ -16233,7 +15683,7 @@ var deserializeAws_json1_1OpsItemLimitExceededException = function (output, cont
16233
15683
  Limit: __expectInt32(output.Limit),
16234
15684
  LimitType: __expectString(output.LimitType),
16235
15685
  Message: __expectString(output.Message),
16236
- ResourceTypes: output.ResourceTypes !== undefined && output.ResourceTypes !== null
15686
+ ResourceTypes: output.ResourceTypes != null
16237
15687
  ? deserializeAws_json1_1OpsItemParameterNamesList(output.ResourceTypes, context)
16238
15688
  : undefined,
16239
15689
  };
@@ -16307,16 +15757,12 @@ var deserializeAws_json1_1OpsItemRelatedItemSummary = function (output, context)
16307
15757
  return {
16308
15758
  AssociationId: __expectString(output.AssociationId),
16309
15759
  AssociationType: __expectString(output.AssociationType),
16310
- CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
16311
- ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context)
16312
- : undefined,
16313
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
15760
+ CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context) : undefined,
15761
+ CreatedTime: output.CreatedTime != null
16314
15762
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
16315
15763
  : undefined,
16316
- LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
16317
- ? deserializeAws_json1_1OpsItemIdentity(output.LastModifiedBy, context)
16318
- : undefined,
16319
- LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
15764
+ LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1OpsItemIdentity(output.LastModifiedBy, context) : undefined,
15765
+ LastModifiedTime: output.LastModifiedTime != null
16320
15766
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
16321
15767
  : undefined,
16322
15768
  OpsItemId: __expectString(output.OpsItemId),
@@ -16337,30 +15783,30 @@ var deserializeAws_json1_1OpsItemSummaries = function (output, context) {
16337
15783
  };
16338
15784
  var deserializeAws_json1_1OpsItemSummary = function (output, context) {
16339
15785
  return {
16340
- ActualEndTime: output.ActualEndTime !== undefined && output.ActualEndTime !== null
15786
+ ActualEndTime: output.ActualEndTime != null
16341
15787
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualEndTime)))
16342
15788
  : undefined,
16343
- ActualStartTime: output.ActualStartTime !== undefined && output.ActualStartTime !== null
15789
+ ActualStartTime: output.ActualStartTime != null
16344
15790
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualStartTime)))
16345
15791
  : undefined,
16346
15792
  Category: __expectString(output.Category),
16347
15793
  CreatedBy: __expectString(output.CreatedBy),
16348
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
15794
+ CreatedTime: output.CreatedTime != null
16349
15795
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
16350
15796
  : undefined,
16351
15797
  LastModifiedBy: __expectString(output.LastModifiedBy),
16352
- LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
15798
+ LastModifiedTime: output.LastModifiedTime != null
16353
15799
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
16354
15800
  : undefined,
16355
- OperationalData: output.OperationalData !== undefined && output.OperationalData !== null
15801
+ OperationalData: output.OperationalData != null
16356
15802
  ? deserializeAws_json1_1OpsItemOperationalData(output.OperationalData, context)
16357
15803
  : undefined,
16358
15804
  OpsItemId: __expectString(output.OpsItemId),
16359
15805
  OpsItemType: __expectString(output.OpsItemType),
16360
- PlannedEndTime: output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
15806
+ PlannedEndTime: output.PlannedEndTime != null
16361
15807
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedEndTime)))
16362
15808
  : undefined,
16363
- PlannedStartTime: output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
15809
+ PlannedStartTime: output.PlannedStartTime != null
16364
15810
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedStartTime)))
16365
15811
  : undefined,
16366
15812
  Priority: __expectInt32(output.Priority),
@@ -16372,10 +15818,10 @@ var deserializeAws_json1_1OpsItemSummary = function (output, context) {
16372
15818
  };
16373
15819
  var deserializeAws_json1_1OpsMetadata = function (output, context) {
16374
15820
  return {
16375
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
15821
+ CreationDate: output.CreationDate != null
16376
15822
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
16377
15823
  : undefined,
16378
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15824
+ LastModifiedDate: output.LastModifiedDate != null
16379
15825
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
16380
15826
  : undefined,
16381
15827
  LastModifiedUser: __expectString(output.LastModifiedUser),
@@ -16434,7 +15880,7 @@ var deserializeAws_json1_1Parameter = function (output, context) {
16434
15880
  return {
16435
15881
  ARN: __expectString(output.ARN),
16436
15882
  DataType: __expectString(output.DataType),
16437
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15883
+ LastModifiedDate: output.LastModifiedDate != null
16438
15884
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
16439
15885
  : undefined,
16440
15886
  Name: __expectString(output.Name),
@@ -16456,17 +15902,13 @@ var deserializeAws_json1_1ParameterHistory = function (output, context) {
16456
15902
  DataType: __expectString(output.DataType),
16457
15903
  Description: __expectString(output.Description),
16458
15904
  KeyId: __expectString(output.KeyId),
16459
- Labels: output.Labels !== undefined && output.Labels !== null
16460
- ? deserializeAws_json1_1ParameterLabelList(output.Labels, context)
16461
- : undefined,
16462
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15905
+ Labels: output.Labels != null ? deserializeAws_json1_1ParameterLabelList(output.Labels, context) : undefined,
15906
+ LastModifiedDate: output.LastModifiedDate != null
16463
15907
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
16464
15908
  : undefined,
16465
15909
  LastModifiedUser: __expectString(output.LastModifiedUser),
16466
15910
  Name: __expectString(output.Name),
16467
- Policies: output.Policies !== undefined && output.Policies !== null
16468
- ? deserializeAws_json1_1ParameterPolicyList(output.Policies, context)
16469
- : undefined,
15911
+ Policies: output.Policies != null ? deserializeAws_json1_1ParameterPolicyList(output.Policies, context) : undefined,
16470
15912
  Tier: __expectString(output.Tier),
16471
15913
  Type: __expectString(output.Type),
16472
15914
  Value: __expectString(output.Value),
@@ -16529,14 +15971,12 @@ var deserializeAws_json1_1ParameterMetadata = function (output, context) {
16529
15971
  DataType: __expectString(output.DataType),
16530
15972
  Description: __expectString(output.Description),
16531
15973
  KeyId: __expectString(output.KeyId),
16532
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
15974
+ LastModifiedDate: output.LastModifiedDate != null
16533
15975
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
16534
15976
  : undefined,
16535
15977
  LastModifiedUser: __expectString(output.LastModifiedUser),
16536
15978
  Name: __expectString(output.Name),
16537
- Policies: output.Policies !== undefined && output.Policies !== null
16538
- ? deserializeAws_json1_1ParameterPolicyList(output.Policies, context)
16539
- : undefined,
15979
+ Policies: output.Policies != null ? deserializeAws_json1_1ParameterPolicyList(output.Policies, context) : undefined,
16540
15980
  Tier: __expectString(output.Tier),
16541
15981
  Type: __expectString(output.Type),
16542
15982
  Version: __expectLong(output.Version),
@@ -16618,16 +16058,10 @@ var deserializeAws_json1_1ParameterVersionNotFound = function (output, context)
16618
16058
  };
16619
16059
  var deserializeAws_json1_1Patch = function (output, context) {
16620
16060
  return {
16621
- AdvisoryIds: output.AdvisoryIds !== undefined && output.AdvisoryIds !== null
16622
- ? deserializeAws_json1_1PatchAdvisoryIdList(output.AdvisoryIds, context)
16623
- : undefined,
16061
+ AdvisoryIds: output.AdvisoryIds != null ? deserializeAws_json1_1PatchAdvisoryIdList(output.AdvisoryIds, context) : undefined,
16624
16062
  Arch: __expectString(output.Arch),
16625
- BugzillaIds: output.BugzillaIds !== undefined && output.BugzillaIds !== null
16626
- ? deserializeAws_json1_1PatchBugzillaIdList(output.BugzillaIds, context)
16627
- : undefined,
16628
- CVEIds: output.CVEIds !== undefined && output.CVEIds !== null
16629
- ? deserializeAws_json1_1PatchCVEIdList(output.CVEIds, context)
16630
- : undefined,
16063
+ BugzillaIds: output.BugzillaIds != null ? deserializeAws_json1_1PatchBugzillaIdList(output.BugzillaIds, context) : undefined,
16064
+ CVEIds: output.CVEIds != null ? deserializeAws_json1_1PatchCVEIdList(output.CVEIds, context) : undefined,
16631
16065
  Classification: __expectString(output.Classification),
16632
16066
  ContentUrl: __expectString(output.ContentUrl),
16633
16067
  Description: __expectString(output.Description),
@@ -16641,7 +16075,7 @@ var deserializeAws_json1_1Patch = function (output, context) {
16641
16075
  Product: __expectString(output.Product),
16642
16076
  ProductFamily: __expectString(output.ProductFamily),
16643
16077
  Release: __expectString(output.Release),
16644
- ReleaseDate: output.ReleaseDate !== undefined && output.ReleaseDate !== null
16078
+ ReleaseDate: output.ReleaseDate != null
16645
16079
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReleaseDate)))
16646
16080
  : undefined,
16647
16081
  Repository: __expectString(output.Repository),
@@ -16697,7 +16131,7 @@ var deserializeAws_json1_1PatchComplianceData = function (output, context) {
16697
16131
  return {
16698
16132
  CVEIds: __expectString(output.CVEIds),
16699
16133
  Classification: __expectString(output.Classification),
16700
- InstalledTime: output.InstalledTime !== undefined && output.InstalledTime !== null
16134
+ InstalledTime: output.InstalledTime != null
16701
16135
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InstalledTime)))
16702
16136
  : undefined,
16703
16137
  KBId: __expectString(output.KBId),
@@ -16731,16 +16165,12 @@ var deserializeAws_json1_1PatchCVEIdList = function (output, context) {
16731
16165
  var deserializeAws_json1_1PatchFilter = function (output, context) {
16732
16166
  return {
16733
16167
  Key: __expectString(output.Key),
16734
- Values: output.Values !== undefined && output.Values !== null
16735
- ? deserializeAws_json1_1PatchFilterValueList(output.Values, context)
16736
- : undefined,
16168
+ Values: output.Values != null ? deserializeAws_json1_1PatchFilterValueList(output.Values, context) : undefined,
16737
16169
  };
16738
16170
  };
16739
16171
  var deserializeAws_json1_1PatchFilterGroup = function (output, context) {
16740
16172
  return {
16741
- PatchFilters: output.PatchFilters !== undefined && output.PatchFilters !== null
16742
- ? deserializeAws_json1_1PatchFilterList(output.PatchFilters, context)
16743
- : undefined,
16173
+ PatchFilters: output.PatchFilters != null ? deserializeAws_json1_1PatchFilterList(output.PatchFilters, context) : undefined,
16744
16174
  };
16745
16175
  };
16746
16176
  var deserializeAws_json1_1PatchFilterList = function (output, context) {
@@ -16778,7 +16208,7 @@ var deserializeAws_json1_1PatchGroupList = function (output, context) {
16778
16208
  };
16779
16209
  var deserializeAws_json1_1PatchGroupPatchBaselineMapping = function (output, context) {
16780
16210
  return {
16781
- BaselineIdentity: output.BaselineIdentity !== undefined && output.BaselineIdentity !== null
16211
+ BaselineIdentity: output.BaselineIdentity != null
16782
16212
  ? deserializeAws_json1_1PatchBaselineIdentity(output.BaselineIdentity, context)
16783
16213
  : undefined,
16784
16214
  PatchGroup: __expectString(output.PatchGroup),
@@ -16844,16 +16274,14 @@ var deserializeAws_json1_1PatchRule = function (output, context) {
16844
16274
  ApproveUntilDate: __expectString(output.ApproveUntilDate),
16845
16275
  ComplianceLevel: __expectString(output.ComplianceLevel),
16846
16276
  EnableNonSecurity: __expectBoolean(output.EnableNonSecurity),
16847
- PatchFilterGroup: output.PatchFilterGroup !== undefined && output.PatchFilterGroup !== null
16277
+ PatchFilterGroup: output.PatchFilterGroup != null
16848
16278
  ? deserializeAws_json1_1PatchFilterGroup(output.PatchFilterGroup, context)
16849
16279
  : undefined,
16850
16280
  };
16851
16281
  };
16852
16282
  var deserializeAws_json1_1PatchRuleGroup = function (output, context) {
16853
16283
  return {
16854
- PatchRules: output.PatchRules !== undefined && output.PatchRules !== null
16855
- ? deserializeAws_json1_1PatchRuleList(output.PatchRules, context)
16856
- : undefined,
16284
+ PatchRules: output.PatchRules != null ? deserializeAws_json1_1PatchRuleList(output.PatchRules, context) : undefined,
16857
16285
  };
16858
16286
  };
16859
16287
  var deserializeAws_json1_1PatchRuleList = function (output, context) {
@@ -16871,9 +16299,7 @@ var deserializeAws_json1_1PatchSource = function (output, context) {
16871
16299
  return {
16872
16300
  Configuration: __expectString(output.Configuration),
16873
16301
  Name: __expectString(output.Name),
16874
- Products: output.Products !== undefined && output.Products !== null
16875
- ? deserializeAws_json1_1PatchSourceProductList(output.Products, context)
16876
- : undefined,
16302
+ Products: output.Products != null ? deserializeAws_json1_1PatchSourceProductList(output.Products, context) : undefined,
16877
16303
  };
16878
16304
  };
16879
16305
  var deserializeAws_json1_1PatchSourceList = function (output, context) {
@@ -16900,7 +16326,7 @@ var deserializeAws_json1_1PatchSourceProductList = function (output, context) {
16900
16326
  };
16901
16327
  var deserializeAws_json1_1PatchStatus = function (output, context) {
16902
16328
  return {
16903
- ApprovalDate: output.ApprovalDate !== undefined && output.ApprovalDate !== null
16329
+ ApprovalDate: output.ApprovalDate != null
16904
16330
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ApprovalDate)))
16905
16331
  : undefined,
16906
16332
  ComplianceLevel: __expectString(output.ComplianceLevel),
@@ -16999,14 +16425,12 @@ var deserializeAws_json1_1RemoveTagsFromResourceResult = function (output, conte
16999
16425
  };
17000
16426
  var deserializeAws_json1_1ResetServiceSettingResult = function (output, context) {
17001
16427
  return {
17002
- ServiceSetting: output.ServiceSetting !== undefined && output.ServiceSetting !== null
17003
- ? deserializeAws_json1_1ServiceSetting(output.ServiceSetting, context)
17004
- : undefined,
16428
+ ServiceSetting: output.ServiceSetting != null ? deserializeAws_json1_1ServiceSetting(output.ServiceSetting, context) : undefined,
17005
16429
  };
17006
16430
  };
17007
16431
  var deserializeAws_json1_1ResolvedTargets = function (output, context) {
17008
16432
  return {
17009
- ParameterValues: output.ParameterValues !== undefined && output.ParameterValues !== null
16433
+ ParameterValues: output.ParameterValues != null
17010
16434
  ? deserializeAws_json1_1TargetParameterList(output.ParameterValues, context)
17011
16435
  : undefined,
17012
16436
  Truncated: __expectBoolean(output.Truncated),
@@ -17015,13 +16439,13 @@ var deserializeAws_json1_1ResolvedTargets = function (output, context) {
17015
16439
  var deserializeAws_json1_1ResourceComplianceSummaryItem = function (output, context) {
17016
16440
  return {
17017
16441
  ComplianceType: __expectString(output.ComplianceType),
17018
- CompliantSummary: output.CompliantSummary !== undefined && output.CompliantSummary !== null
16442
+ CompliantSummary: output.CompliantSummary != null
17019
16443
  ? deserializeAws_json1_1CompliantSummary(output.CompliantSummary, context)
17020
16444
  : undefined,
17021
- ExecutionSummary: output.ExecutionSummary !== undefined && output.ExecutionSummary !== null
16445
+ ExecutionSummary: output.ExecutionSummary != null
17022
16446
  ? deserializeAws_json1_1ComplianceExecutionSummary(output.ExecutionSummary, context)
17023
16447
  : undefined,
17024
- NonCompliantSummary: output.NonCompliantSummary !== undefined && output.NonCompliantSummary !== null
16448
+ NonCompliantSummary: output.NonCompliantSummary != null
17025
16449
  ? deserializeAws_json1_1NonCompliantSummary(output.NonCompliantSummary, context)
17026
16450
  : undefined,
17027
16451
  OverallSeverity: __expectString(output.OverallSeverity),
@@ -17049,7 +16473,7 @@ var deserializeAws_json1_1ResourceDataSyncAlreadyExistsException = function (out
17049
16473
  var deserializeAws_json1_1ResourceDataSyncAwsOrganizationsSource = function (output, context) {
17050
16474
  return {
17051
16475
  OrganizationSourceType: __expectString(output.OrganizationSourceType),
17052
- OrganizationalUnits: output.OrganizationalUnits !== undefined && output.OrganizationalUnits !== null
16476
+ OrganizationalUnits: output.OrganizationalUnits != null
17053
16477
  ? deserializeAws_json1_1ResourceDataSyncOrganizationalUnitList(output.OrganizationalUnits, context)
17054
16478
  : undefined,
17055
16479
  };
@@ -17077,24 +16501,24 @@ var deserializeAws_json1_1ResourceDataSyncInvalidConfigurationException = functi
17077
16501
  var deserializeAws_json1_1ResourceDataSyncItem = function (output, context) {
17078
16502
  return {
17079
16503
  LastStatus: __expectString(output.LastStatus),
17080
- LastSuccessfulSyncTime: output.LastSuccessfulSyncTime !== undefined && output.LastSuccessfulSyncTime !== null
16504
+ LastSuccessfulSyncTime: output.LastSuccessfulSyncTime != null
17081
16505
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulSyncTime)))
17082
16506
  : undefined,
17083
16507
  LastSyncStatusMessage: __expectString(output.LastSyncStatusMessage),
17084
- LastSyncTime: output.LastSyncTime !== undefined && output.LastSyncTime !== null
16508
+ LastSyncTime: output.LastSyncTime != null
17085
16509
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSyncTime)))
17086
16510
  : undefined,
17087
- S3Destination: output.S3Destination !== undefined && output.S3Destination !== null
16511
+ S3Destination: output.S3Destination != null
17088
16512
  ? deserializeAws_json1_1ResourceDataSyncS3Destination(output.S3Destination, context)
17089
16513
  : undefined,
17090
- SyncCreatedTime: output.SyncCreatedTime !== undefined && output.SyncCreatedTime !== null
16514
+ SyncCreatedTime: output.SyncCreatedTime != null
17091
16515
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SyncCreatedTime)))
17092
16516
  : undefined,
17093
- SyncLastModifiedTime: output.SyncLastModifiedTime !== undefined && output.SyncLastModifiedTime !== null
16517
+ SyncLastModifiedTime: output.SyncLastModifiedTime != null
17094
16518
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SyncLastModifiedTime)))
17095
16519
  : undefined,
17096
16520
  SyncName: __expectString(output.SyncName),
17097
- SyncSource: output.SyncSource !== undefined && output.SyncSource !== null
16521
+ SyncSource: output.SyncSource != null
17098
16522
  ? deserializeAws_json1_1ResourceDataSyncSourceWithState(output.SyncSource, context)
17099
16523
  : undefined,
17100
16524
  SyncType: __expectString(output.SyncType),
@@ -17138,7 +16562,7 @@ var deserializeAws_json1_1ResourceDataSyncS3Destination = function (output, cont
17138
16562
  return {
17139
16563
  AWSKMSKeyARN: __expectString(output.AWSKMSKeyARN),
17140
16564
  BucketName: __expectString(output.BucketName),
17141
- DestinationDataSharing: output.DestinationDataSharing !== undefined && output.DestinationDataSharing !== null
16565
+ DestinationDataSharing: output.DestinationDataSharing != null
17142
16566
  ? deserializeAws_json1_1ResourceDataSyncDestinationDataSharing(output.DestinationDataSharing, context)
17143
16567
  : undefined,
17144
16568
  Prefix: __expectString(output.Prefix),
@@ -17159,12 +16583,12 @@ var deserializeAws_json1_1ResourceDataSyncSourceRegionList = function (output, c
17159
16583
  };
17160
16584
  var deserializeAws_json1_1ResourceDataSyncSourceWithState = function (output, context) {
17161
16585
  return {
17162
- AwsOrganizationsSource: output.AwsOrganizationsSource !== undefined && output.AwsOrganizationsSource !== null
16586
+ AwsOrganizationsSource: output.AwsOrganizationsSource != null
17163
16587
  ? deserializeAws_json1_1ResourceDataSyncAwsOrganizationsSource(output.AwsOrganizationsSource, context)
17164
16588
  : undefined,
17165
16589
  EnableAllOpsDataSources: __expectBoolean(output.EnableAllOpsDataSources),
17166
16590
  IncludeFutureRegions: __expectBoolean(output.IncludeFutureRegions),
17167
- SourceRegions: output.SourceRegions !== undefined && output.SourceRegions !== null
16591
+ SourceRegions: output.SourceRegions != null
17168
16592
  ? deserializeAws_json1_1ResourceDataSyncSourceRegionList(output.SourceRegions, context)
17169
16593
  : undefined,
17170
16594
  SourceType: __expectString(output.SourceType),
@@ -17190,7 +16614,7 @@ var deserializeAws_json1_1ResumeSessionResponse = function (output, context) {
17190
16614
  };
17191
16615
  var deserializeAws_json1_1ReviewInformation = function (output, context) {
17192
16616
  return {
17193
- ReviewedTime: output.ReviewedTime !== undefined && output.ReviewedTime !== null
16617
+ ReviewedTime: output.ReviewedTime != null
17194
16618
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReviewedTime)))
17195
16619
  : undefined,
17196
16620
  Reviewer: __expectString(output.Reviewer),
@@ -17214,19 +16638,13 @@ var deserializeAws_json1_1Runbook = function (output, context) {
17214
16638
  DocumentVersion: __expectString(output.DocumentVersion),
17215
16639
  MaxConcurrency: __expectString(output.MaxConcurrency),
17216
16640
  MaxErrors: __expectString(output.MaxErrors),
17217
- Parameters: output.Parameters !== undefined && output.Parameters !== null
17218
- ? deserializeAws_json1_1AutomationParameterMap(output.Parameters, context)
17219
- : undefined,
17220
- TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
16641
+ Parameters: output.Parameters != null ? deserializeAws_json1_1AutomationParameterMap(output.Parameters, context) : undefined,
16642
+ TargetLocations: output.TargetLocations != null
17221
16643
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
17222
16644
  : undefined,
17223
- TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
17224
- ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
17225
- : undefined,
16645
+ TargetMaps: output.TargetMaps != null ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context) : undefined,
17226
16646
  TargetParameterName: __expectString(output.TargetParameterName),
17227
- Targets: output.Targets !== undefined && output.Targets !== null
17228
- ? deserializeAws_json1_1Targets(output.Targets, context)
17229
- : undefined,
16647
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
17230
16648
  };
17231
16649
  };
17232
16650
  var deserializeAws_json1_1Runbooks = function (output, context) {
@@ -17275,15 +16693,13 @@ var deserializeAws_json1_1SendAutomationSignalResult = function (output, context
17275
16693
  };
17276
16694
  var deserializeAws_json1_1SendCommandResult = function (output, context) {
17277
16695
  return {
17278
- Command: output.Command !== undefined && output.Command !== null
17279
- ? deserializeAws_json1_1Command(output.Command, context)
17280
- : undefined,
16696
+ Command: output.Command != null ? deserializeAws_json1_1Command(output.Command, context) : undefined,
17281
16697
  };
17282
16698
  };
17283
16699
  var deserializeAws_json1_1ServiceSetting = function (output, context) {
17284
16700
  return {
17285
16701
  ARN: __expectString(output.ARN),
17286
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
16702
+ LastModifiedDate: output.LastModifiedDate != null
17287
16703
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
17288
16704
  : undefined,
17289
16705
  LastModifiedUser: __expectString(output.LastModifiedUser),
@@ -17301,19 +16717,13 @@ var deserializeAws_json1_1Session = function (output, context) {
17301
16717
  return {
17302
16718
  Details: __expectString(output.Details),
17303
16719
  DocumentName: __expectString(output.DocumentName),
17304
- EndDate: output.EndDate !== undefined && output.EndDate !== null
17305
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndDate)))
17306
- : undefined,
16720
+ EndDate: output.EndDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndDate))) : undefined,
17307
16721
  MaxSessionDuration: __expectString(output.MaxSessionDuration),
17308
- OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
17309
- ? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
17310
- : undefined,
16722
+ OutputUrl: output.OutputUrl != null ? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context) : undefined,
17311
16723
  Owner: __expectString(output.Owner),
17312
16724
  Reason: __expectString(output.Reason),
17313
16725
  SessionId: __expectString(output.SessionId),
17314
- StartDate: output.StartDate !== undefined && output.StartDate !== null
17315
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
17316
- : undefined,
16726
+ StartDate: output.StartDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate))) : undefined,
17317
16727
  Status: __expectString(output.Status),
17318
16728
  Target: __expectString(output.Target),
17319
16729
  };
@@ -17371,28 +16781,22 @@ var deserializeAws_json1_1StatusUnchanged = function (output, context) {
17371
16781
  var deserializeAws_json1_1StepExecution = function (output, context) {
17372
16782
  return {
17373
16783
  Action: __expectString(output.Action),
17374
- ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
16784
+ ExecutionEndTime: output.ExecutionEndTime != null
17375
16785
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
17376
16786
  : undefined,
17377
- ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
16787
+ ExecutionStartTime: output.ExecutionStartTime != null
17378
16788
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
17379
16789
  : undefined,
17380
- FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
17381
- ? deserializeAws_json1_1FailureDetails(output.FailureDetails, context)
17382
- : undefined,
16790
+ FailureDetails: output.FailureDetails != null ? deserializeAws_json1_1FailureDetails(output.FailureDetails, context) : undefined,
17383
16791
  FailureMessage: __expectString(output.FailureMessage),
17384
- Inputs: output.Inputs !== undefined && output.Inputs !== null
17385
- ? deserializeAws_json1_1NormalStringMap(output.Inputs, context)
17386
- : undefined,
16792
+ Inputs: output.Inputs != null ? deserializeAws_json1_1NormalStringMap(output.Inputs, context) : undefined,
17387
16793
  IsCritical: __expectBoolean(output.IsCritical),
17388
16794
  IsEnd: __expectBoolean(output.IsEnd),
17389
16795
  MaxAttempts: __expectInt32(output.MaxAttempts),
17390
16796
  NextStep: __expectString(output.NextStep),
17391
16797
  OnFailure: __expectString(output.OnFailure),
17392
- Outputs: output.Outputs !== undefined && output.Outputs !== null
17393
- ? deserializeAws_json1_1AutomationParameterMap(output.Outputs, context)
17394
- : undefined,
17395
- OverriddenParameters: output.OverriddenParameters !== undefined && output.OverriddenParameters !== null
16798
+ Outputs: output.Outputs != null ? deserializeAws_json1_1AutomationParameterMap(output.Outputs, context) : undefined,
16799
+ OverriddenParameters: output.OverriddenParameters != null
17396
16800
  ? deserializeAws_json1_1AutomationParameterMap(output.OverriddenParameters, context)
17397
16801
  : undefined,
17398
16802
  Response: __expectString(output.Response),
@@ -17400,14 +16804,10 @@ var deserializeAws_json1_1StepExecution = function (output, context) {
17400
16804
  StepExecutionId: __expectString(output.StepExecutionId),
17401
16805
  StepName: __expectString(output.StepName),
17402
16806
  StepStatus: __expectString(output.StepStatus),
17403
- TargetLocation: output.TargetLocation !== undefined && output.TargetLocation !== null
17404
- ? deserializeAws_json1_1TargetLocation(output.TargetLocation, context)
17405
- : undefined,
17406
- Targets: output.Targets !== undefined && output.Targets !== null
17407
- ? deserializeAws_json1_1Targets(output.Targets, context)
17408
- : undefined,
16807
+ TargetLocation: output.TargetLocation != null ? deserializeAws_json1_1TargetLocation(output.TargetLocation, context) : undefined,
16808
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
17409
16809
  TimeoutSeconds: __expectLong(output.TimeoutSeconds),
17410
- ValidNextSteps: output.ValidNextSteps !== undefined && output.ValidNextSteps !== null
16810
+ ValidNextSteps: output.ValidNextSteps != null
17411
16811
  ? deserializeAws_json1_1ValidNextStepList(output.ValidNextSteps, context)
17412
16812
  : undefined,
17413
16813
  };
@@ -17451,9 +16851,7 @@ var deserializeAws_json1_1TagList = function (output, context) {
17451
16851
  var deserializeAws_json1_1Target = function (output, context) {
17452
16852
  return {
17453
16853
  Key: __expectString(output.Key),
17454
- Values: output.Values !== undefined && output.Values !== null
17455
- ? deserializeAws_json1_1TargetValues(output.Values, context)
17456
- : undefined,
16854
+ Values: output.Values != null ? deserializeAws_json1_1TargetValues(output.Values, context) : undefined,
17457
16855
  };
17458
16856
  };
17459
16857
  var deserializeAws_json1_1TargetInUseException = function (output, context) {
@@ -17463,13 +16861,9 @@ var deserializeAws_json1_1TargetInUseException = function (output, context) {
17463
16861
  };
17464
16862
  var deserializeAws_json1_1TargetLocation = function (output, context) {
17465
16863
  return {
17466
- Accounts: output.Accounts !== undefined && output.Accounts !== null
17467
- ? deserializeAws_json1_1Accounts(output.Accounts, context)
17468
- : undefined,
16864
+ Accounts: output.Accounts != null ? deserializeAws_json1_1Accounts(output.Accounts, context) : undefined,
17469
16865
  ExecutionRoleName: __expectString(output.ExecutionRoleName),
17470
- Regions: output.Regions !== undefined && output.Regions !== null
17471
- ? deserializeAws_json1_1Regions(output.Regions, context)
17472
- : undefined,
16866
+ Regions: output.Regions != null ? deserializeAws_json1_1Regions(output.Regions, context) : undefined,
17473
16867
  TargetLocationMaxConcurrency: __expectString(output.TargetLocationMaxConcurrency),
17474
16868
  TargetLocationMaxErrors: __expectString(output.TargetLocationMaxErrors),
17475
16869
  };
@@ -17575,10 +16969,10 @@ var deserializeAws_json1_1TotalSizeLimitExceededException = function (output, co
17575
16969
  };
17576
16970
  var deserializeAws_json1_1UnlabelParameterVersionResult = function (output, context) {
17577
16971
  return {
17578
- InvalidLabels: output.InvalidLabels !== undefined && output.InvalidLabels !== null
16972
+ InvalidLabels: output.InvalidLabels != null
17579
16973
  ? deserializeAws_json1_1ParameterLabelList(output.InvalidLabels, context)
17580
16974
  : undefined,
17581
- RemovedLabels: output.RemovedLabels !== undefined && output.RemovedLabels !== null
16975
+ RemovedLabels: output.RemovedLabels != null
17582
16976
  ? deserializeAws_json1_1ParameterLabelList(output.RemovedLabels, context)
17583
16977
  : undefined,
17584
16978
  };
@@ -17621,21 +17015,21 @@ var deserializeAws_json1_1UnsupportedPlatformType = function (output, context) {
17621
17015
  };
17622
17016
  var deserializeAws_json1_1UpdateAssociationResult = function (output, context) {
17623
17017
  return {
17624
- AssociationDescription: output.AssociationDescription !== undefined && output.AssociationDescription !== null
17018
+ AssociationDescription: output.AssociationDescription != null
17625
17019
  ? deserializeAws_json1_1AssociationDescription(output.AssociationDescription, context)
17626
17020
  : undefined,
17627
17021
  };
17628
17022
  };
17629
17023
  var deserializeAws_json1_1UpdateAssociationStatusResult = function (output, context) {
17630
17024
  return {
17631
- AssociationDescription: output.AssociationDescription !== undefined && output.AssociationDescription !== null
17025
+ AssociationDescription: output.AssociationDescription != null
17632
17026
  ? deserializeAws_json1_1AssociationDescription(output.AssociationDescription, context)
17633
17027
  : undefined,
17634
17028
  };
17635
17029
  };
17636
17030
  var deserializeAws_json1_1UpdateDocumentDefaultVersionResult = function (output, context) {
17637
17031
  return {
17638
- Description: output.Description !== undefined && output.Description !== null
17032
+ Description: output.Description != null
17639
17033
  ? deserializeAws_json1_1DocumentDefaultVersionDescription(output.Description, context)
17640
17034
  : undefined,
17641
17035
  };
@@ -17645,7 +17039,7 @@ var deserializeAws_json1_1UpdateDocumentMetadataResponse = function (output, con
17645
17039
  };
17646
17040
  var deserializeAws_json1_1UpdateDocumentResult = function (output, context) {
17647
17041
  return {
17648
- DocumentDescription: output.DocumentDescription !== undefined && output.DocumentDescription !== null
17042
+ DocumentDescription: output.DocumentDescription != null
17649
17043
  ? deserializeAws_json1_1DocumentDescription(output.DocumentDescription, context)
17650
17044
  : undefined,
17651
17045
  };
@@ -17671,9 +17065,7 @@ var deserializeAws_json1_1UpdateMaintenanceWindowTargetResult = function (output
17671
17065
  Description: __expectString(output.Description),
17672
17066
  Name: __expectString(output.Name),
17673
17067
  OwnerInformation: __expectString(output.OwnerInformation),
17674
- Targets: output.Targets !== undefined && output.Targets !== null
17675
- ? deserializeAws_json1_1Targets(output.Targets, context)
17676
- : undefined,
17068
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
17677
17069
  WindowId: __expectString(output.WindowId),
17678
17070
  WindowTargetId: __expectString(output.WindowTargetId),
17679
17071
  };
@@ -17682,22 +17074,18 @@ var deserializeAws_json1_1UpdateMaintenanceWindowTaskResult = function (output,
17682
17074
  return {
17683
17075
  CutoffBehavior: __expectString(output.CutoffBehavior),
17684
17076
  Description: __expectString(output.Description),
17685
- LoggingInfo: output.LoggingInfo !== undefined && output.LoggingInfo !== null
17686
- ? deserializeAws_json1_1LoggingInfo(output.LoggingInfo, context)
17687
- : undefined,
17077
+ LoggingInfo: output.LoggingInfo != null ? deserializeAws_json1_1LoggingInfo(output.LoggingInfo, context) : undefined,
17688
17078
  MaxConcurrency: __expectString(output.MaxConcurrency),
17689
17079
  MaxErrors: __expectString(output.MaxErrors),
17690
17080
  Name: __expectString(output.Name),
17691
17081
  Priority: __expectInt32(output.Priority),
17692
17082
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
17693
- Targets: output.Targets !== undefined && output.Targets !== null
17694
- ? deserializeAws_json1_1Targets(output.Targets, context)
17695
- : undefined,
17083
+ Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
17696
17084
  TaskArn: __expectString(output.TaskArn),
17697
- TaskInvocationParameters: output.TaskInvocationParameters !== undefined && output.TaskInvocationParameters !== null
17085
+ TaskInvocationParameters: output.TaskInvocationParameters != null
17698
17086
  ? deserializeAws_json1_1MaintenanceWindowTaskInvocationParameters(output.TaskInvocationParameters, context)
17699
17087
  : undefined,
17700
- TaskParameters: output.TaskParameters !== undefined && output.TaskParameters !== null
17088
+ TaskParameters: output.TaskParameters != null
17701
17089
  ? deserializeAws_json1_1MaintenanceWindowTaskParameters(output.TaskParameters, context)
17702
17090
  : undefined,
17703
17091
  WindowId: __expectString(output.WindowId),
@@ -17717,34 +17105,24 @@ var deserializeAws_json1_1UpdateOpsMetadataResult = function (output, context) {
17717
17105
  };
17718
17106
  var deserializeAws_json1_1UpdatePatchBaselineResult = function (output, context) {
17719
17107
  return {
17720
- ApprovalRules: output.ApprovalRules !== undefined && output.ApprovalRules !== null
17721
- ? deserializeAws_json1_1PatchRuleGroup(output.ApprovalRules, context)
17722
- : undefined,
17723
- ApprovedPatches: output.ApprovedPatches !== undefined && output.ApprovedPatches !== null
17724
- ? deserializeAws_json1_1PatchIdList(output.ApprovedPatches, context)
17725
- : undefined,
17108
+ ApprovalRules: output.ApprovalRules != null ? deserializeAws_json1_1PatchRuleGroup(output.ApprovalRules, context) : undefined,
17109
+ ApprovedPatches: output.ApprovedPatches != null ? deserializeAws_json1_1PatchIdList(output.ApprovedPatches, context) : undefined,
17726
17110
  ApprovedPatchesComplianceLevel: __expectString(output.ApprovedPatchesComplianceLevel),
17727
17111
  ApprovedPatchesEnableNonSecurity: __expectBoolean(output.ApprovedPatchesEnableNonSecurity),
17728
17112
  BaselineId: __expectString(output.BaselineId),
17729
- CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
17113
+ CreatedDate: output.CreatedDate != null
17730
17114
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
17731
17115
  : undefined,
17732
17116
  Description: __expectString(output.Description),
17733
- GlobalFilters: output.GlobalFilters !== undefined && output.GlobalFilters !== null
17734
- ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context)
17735
- : undefined,
17736
- ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
17117
+ GlobalFilters: output.GlobalFilters != null ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context) : undefined,
17118
+ ModifiedDate: output.ModifiedDate != null
17737
17119
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
17738
17120
  : undefined,
17739
17121
  Name: __expectString(output.Name),
17740
17122
  OperatingSystem: __expectString(output.OperatingSystem),
17741
- RejectedPatches: output.RejectedPatches !== undefined && output.RejectedPatches !== null
17742
- ? deserializeAws_json1_1PatchIdList(output.RejectedPatches, context)
17743
- : undefined,
17123
+ RejectedPatches: output.RejectedPatches != null ? deserializeAws_json1_1PatchIdList(output.RejectedPatches, context) : undefined,
17744
17124
  RejectedPatchesAction: __expectString(output.RejectedPatchesAction),
17745
- Sources: output.Sources !== undefined && output.Sources !== null
17746
- ? deserializeAws_json1_1PatchSourceList(output.Sources, context)
17747
- : undefined,
17125
+ Sources: output.Sources != null ? deserializeAws_json1_1PatchSourceList(output.Sources, context) : undefined,
17748
17126
  };
17749
17127
  };
17750
17128
  var deserializeAws_json1_1UpdateResourceDataSyncResult = function (output, context) {