@aws-sdk/client-lightsail 3.121.0 → 3.130.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.
@@ -12971,12 +12971,10 @@ var deserializeAws_json1_1UnauthenticatedExceptionResponse = function (parsedOut
12971
12971
  });
12972
12972
  }); };
12973
12973
  var serializeAws_json1_1AccessRules = function (input, context) {
12974
- return __assign(__assign({}, (input.allowPublicOverrides !== undefined &&
12975
- input.allowPublicOverrides !== null && { allowPublicOverrides: input.allowPublicOverrides })), (input.getObject !== undefined && input.getObject !== null && { getObject: input.getObject }));
12974
+ return __assign(__assign({}, (input.allowPublicOverrides != null && { allowPublicOverrides: input.allowPublicOverrides })), (input.getObject != null && { getObject: input.getObject }));
12976
12975
  };
12977
12976
  var serializeAws_json1_1AddOnRequest = function (input, context) {
12978
- return __assign(__assign({}, (input.addOnType !== undefined && input.addOnType !== null && { addOnType: input.addOnType })), (input.autoSnapshotAddOnRequest !== undefined &&
12979
- input.autoSnapshotAddOnRequest !== null && {
12977
+ return __assign(__assign({}, (input.addOnType != null && { addOnType: input.addOnType })), (input.autoSnapshotAddOnRequest != null && {
12980
12978
  autoSnapshotAddOnRequest: serializeAws_json1_1AutoSnapshotAddOnRequest(input.autoSnapshotAddOnRequest, context),
12981
12979
  }));
12982
12980
  };
@@ -12991,15 +12989,13 @@ var serializeAws_json1_1AddOnRequestList = function (input, context) {
12991
12989
  });
12992
12990
  };
12993
12991
  var serializeAws_json1_1AllocateStaticIpRequest = function (input, context) {
12994
- return __assign({}, (input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }));
12992
+ return __assign({}, (input.staticIpName != null && { staticIpName: input.staticIpName }));
12995
12993
  };
12996
12994
  var serializeAws_json1_1AttachCertificateToDistributionRequest = function (input, context) {
12997
- return __assign(__assign({}, (input.certificateName !== undefined &&
12998
- input.certificateName !== null && { certificateName: input.certificateName })), (input.distributionName !== undefined &&
12999
- input.distributionName !== null && { distributionName: input.distributionName }));
12995
+ return __assign(__assign({}, (input.certificateName != null && { certificateName: input.certificateName })), (input.distributionName != null && { distributionName: input.distributionName }));
13000
12996
  };
13001
12997
  var serializeAws_json1_1AttachDiskRequest = function (input, context) {
13002
- return __assign(__assign(__assign({}, (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName })), (input.diskPath !== undefined && input.diskPath !== null && { diskPath: input.diskPath })), (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
12998
+ return __assign(__assign(__assign({}, (input.diskName != null && { diskName: input.diskName })), (input.diskPath != null && { diskPath: input.diskPath })), (input.instanceName != null && { instanceName: input.instanceName }));
13003
12999
  };
13004
13000
  var serializeAws_json1_1AttachedDiskMap = function (input, context) {
13005
13001
  return Object.entries(input).reduce(function (acc, _a) {
@@ -13012,29 +13008,24 @@ var serializeAws_json1_1AttachedDiskMap = function (input, context) {
13012
13008
  }, {});
13013
13009
  };
13014
13010
  var serializeAws_json1_1AttachInstancesToLoadBalancerRequest = function (input, context) {
13015
- return __assign(__assign({}, (input.instanceNames !== undefined &&
13016
- input.instanceNames !== null && {
13011
+ return __assign(__assign({}, (input.instanceNames != null && {
13017
13012
  instanceNames: serializeAws_json1_1ResourceNameList(input.instanceNames, context),
13018
- })), (input.loadBalancerName !== undefined &&
13019
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13013
+ })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13020
13014
  };
13021
13015
  var serializeAws_json1_1AttachLoadBalancerTlsCertificateRequest = function (input, context) {
13022
- return __assign(__assign({}, (input.certificateName !== undefined &&
13023
- input.certificateName !== null && { certificateName: input.certificateName })), (input.loadBalancerName !== undefined &&
13024
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13016
+ return __assign(__assign({}, (input.certificateName != null && { certificateName: input.certificateName })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13025
13017
  };
13026
13018
  var serializeAws_json1_1AttachStaticIpRequest = function (input, context) {
13027
- return __assign(__assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }));
13019
+ return __assign(__assign({}, (input.instanceName != null && { instanceName: input.instanceName })), (input.staticIpName != null && { staticIpName: input.staticIpName }));
13028
13020
  };
13029
13021
  var serializeAws_json1_1AutoSnapshotAddOnRequest = function (input, context) {
13030
- return __assign({}, (input.snapshotTimeOfDay !== undefined &&
13031
- input.snapshotTimeOfDay !== null && { snapshotTimeOfDay: input.snapshotTimeOfDay }));
13022
+ return __assign({}, (input.snapshotTimeOfDay != null && { snapshotTimeOfDay: input.snapshotTimeOfDay }));
13032
13023
  };
13033
13024
  var serializeAws_json1_1BucketAccessLogConfig = function (input, context) {
13034
- return __assign(__assign(__assign({}, (input.destination !== undefined && input.destination !== null && { destination: input.destination })), (input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled })), (input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }));
13025
+ return __assign(__assign(__assign({}, (input.destination != null && { destination: input.destination })), (input.enabled != null && { enabled: input.enabled })), (input.prefix != null && { prefix: input.prefix }));
13035
13026
  };
13036
13027
  var serializeAws_json1_1CacheBehavior = function (input, context) {
13037
- return __assign({}, (input.behavior !== undefined && input.behavior !== null && { behavior: input.behavior }));
13028
+ return __assign({}, (input.behavior != null && { behavior: input.behavior }));
13038
13029
  };
13039
13030
  var serializeAws_json1_1CacheBehaviorList = function (input, context) {
13040
13031
  return input
@@ -13047,21 +13038,16 @@ var serializeAws_json1_1CacheBehaviorList = function (input, context) {
13047
13038
  });
13048
13039
  };
13049
13040
  var serializeAws_json1_1CacheBehaviorPerPath = function (input, context) {
13050
- return __assign(__assign({}, (input.behavior !== undefined && input.behavior !== null && { behavior: input.behavior })), (input.path !== undefined && input.path !== null && { path: input.path }));
13041
+ return __assign(__assign({}, (input.behavior != null && { behavior: input.behavior })), (input.path != null && { path: input.path }));
13051
13042
  };
13052
13043
  var serializeAws_json1_1CacheSettings = function (input, context) {
13053
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.allowedHTTPMethods !== undefined &&
13054
- input.allowedHTTPMethods !== null && { allowedHTTPMethods: input.allowedHTTPMethods })), (input.cachedHTTPMethods !== undefined &&
13055
- input.cachedHTTPMethods !== null && { cachedHTTPMethods: input.cachedHTTPMethods })), (input.defaultTTL !== undefined && input.defaultTTL !== null && { defaultTTL: input.defaultTTL })), (input.forwardedCookies !== undefined &&
13056
- input.forwardedCookies !== null && {
13044
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.allowedHTTPMethods != null && { allowedHTTPMethods: input.allowedHTTPMethods })), (input.cachedHTTPMethods != null && { cachedHTTPMethods: input.cachedHTTPMethods })), (input.defaultTTL != null && { defaultTTL: input.defaultTTL })), (input.forwardedCookies != null && {
13057
13045
  forwardedCookies: serializeAws_json1_1CookieObject(input.forwardedCookies, context),
13058
- })), (input.forwardedHeaders !== undefined &&
13059
- input.forwardedHeaders !== null && {
13046
+ })), (input.forwardedHeaders != null && {
13060
13047
  forwardedHeaders: serializeAws_json1_1HeaderObject(input.forwardedHeaders, context),
13061
- })), (input.forwardedQueryStrings !== undefined &&
13062
- input.forwardedQueryStrings !== null && {
13048
+ })), (input.forwardedQueryStrings != null && {
13063
13049
  forwardedQueryStrings: serializeAws_json1_1QueryStringObject(input.forwardedQueryStrings, context),
13064
- })), (input.maximumTTL !== undefined && input.maximumTTL !== null && { maximumTTL: input.maximumTTL })), (input.minimumTTL !== undefined && input.minimumTTL !== null && { minimumTTL: input.minimumTTL }));
13050
+ })), (input.maximumTTL != null && { maximumTTL: input.maximumTTL })), (input.minimumTTL != null && { minimumTTL: input.minimumTTL }));
13065
13051
  };
13066
13052
  var serializeAws_json1_1CertificateStatusList = function (input, context) {
13067
13053
  return input
@@ -13074,8 +13060,7 @@ var serializeAws_json1_1CertificateStatusList = function (input, context) {
13074
13060
  });
13075
13061
  };
13076
13062
  var serializeAws_json1_1CloseInstancePublicPortsRequest = function (input, context) {
13077
- return __assign(__assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.portInfo !== undefined &&
13078
- input.portInfo !== null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }));
13063
+ return __assign(__assign({}, (input.instanceName != null && { instanceName: input.instanceName })), (input.portInfo != null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }));
13079
13064
  };
13080
13065
  var serializeAws_json1_1ContactProtocolsList = function (input, context) {
13081
13066
  return input
@@ -13088,10 +13073,7 @@ var serializeAws_json1_1ContactProtocolsList = function (input, context) {
13088
13073
  });
13089
13074
  };
13090
13075
  var serializeAws_json1_1Container = function (input, context) {
13091
- return __assign(__assign(__assign(__assign({}, (input.command !== undefined &&
13092
- input.command !== null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.environment !== undefined &&
13093
- input.environment !== null && { environment: serializeAws_json1_1Environment(input.environment, context) })), (input.image !== undefined && input.image !== null && { image: input.image })), (input.ports !== undefined &&
13094
- input.ports !== null && { ports: serializeAws_json1_1PortMap(input.ports, context) }));
13076
+ return __assign(__assign(__assign(__assign({}, (input.command != null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.environment != null && { environment: serializeAws_json1_1Environment(input.environment, context) })), (input.image != null && { image: input.image })), (input.ports != null && { ports: serializeAws_json1_1PortMap(input.ports, context) }));
13095
13077
  };
13096
13078
  var serializeAws_json1_1ContainerMap = function (input, context) {
13097
13079
  return Object.entries(input).reduce(function (acc, _a) {
@@ -13104,21 +13086,15 @@ var serializeAws_json1_1ContainerMap = function (input, context) {
13104
13086
  }, {});
13105
13087
  };
13106
13088
  var serializeAws_json1_1ContainerServiceDeploymentRequest = function (input, context) {
13107
- return __assign(__assign({}, (input.containers !== undefined &&
13108
- input.containers !== null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) })), (input.publicEndpoint !== undefined &&
13109
- input.publicEndpoint !== null && {
13089
+ return __assign(__assign({}, (input.containers != null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) })), (input.publicEndpoint != null && {
13110
13090
  publicEndpoint: serializeAws_json1_1EndpointRequest(input.publicEndpoint, context),
13111
13091
  }));
13112
13092
  };
13113
13093
  var serializeAws_json1_1ContainerServiceECRImagePullerRoleRequest = function (input, context) {
13114
- return __assign({}, (input.isActive !== undefined && input.isActive !== null && { isActive: input.isActive }));
13094
+ return __assign({}, (input.isActive != null && { isActive: input.isActive }));
13115
13095
  };
13116
13096
  var serializeAws_json1_1ContainerServiceHealthCheckConfig = function (input, context) {
13117
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.healthyThreshold !== undefined &&
13118
- input.healthyThreshold !== null && { healthyThreshold: input.healthyThreshold })), (input.intervalSeconds !== undefined &&
13119
- input.intervalSeconds !== null && { intervalSeconds: input.intervalSeconds })), (input.path !== undefined && input.path !== null && { path: input.path })), (input.successCodes !== undefined && input.successCodes !== null && { successCodes: input.successCodes })), (input.timeoutSeconds !== undefined &&
13120
- input.timeoutSeconds !== null && { timeoutSeconds: input.timeoutSeconds })), (input.unhealthyThreshold !== undefined &&
13121
- input.unhealthyThreshold !== null && { unhealthyThreshold: input.unhealthyThreshold }));
13097
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.healthyThreshold != null && { healthyThreshold: input.healthyThreshold })), (input.intervalSeconds != null && { intervalSeconds: input.intervalSeconds })), (input.path != null && { path: input.path })), (input.successCodes != null && { successCodes: input.successCodes })), (input.timeoutSeconds != null && { timeoutSeconds: input.timeoutSeconds })), (input.unhealthyThreshold != null && { unhealthyThreshold: input.unhealthyThreshold }));
13122
13098
  };
13123
13099
  var serializeAws_json1_1ContainerServicePublicDomains = function (input, context) {
13124
13100
  return Object.entries(input).reduce(function (acc, _a) {
@@ -13141,293 +13117,204 @@ var serializeAws_json1_1ContainerServicePublicDomainsList = function (input, con
13141
13117
  });
13142
13118
  };
13143
13119
  var serializeAws_json1_1CookieObject = function (input, context) {
13144
- return __assign(__assign({}, (input.cookiesAllowList !== undefined &&
13145
- input.cookiesAllowList !== null && {
13120
+ return __assign(__assign({}, (input.cookiesAllowList != null && {
13146
13121
  cookiesAllowList: serializeAws_json1_1StringList(input.cookiesAllowList, context),
13147
- })), (input.option !== undefined && input.option !== null && { option: input.option }));
13122
+ })), (input.option != null && { option: input.option }));
13148
13123
  };
13149
13124
  var serializeAws_json1_1CopySnapshotRequest = function (input, context) {
13150
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.restoreDate !== undefined && input.restoreDate !== null && { restoreDate: input.restoreDate })), (input.sourceRegion !== undefined && input.sourceRegion !== null && { sourceRegion: input.sourceRegion })), (input.sourceResourceName !== undefined &&
13151
- input.sourceResourceName !== null && { sourceResourceName: input.sourceResourceName })), (input.sourceSnapshotName !== undefined &&
13152
- input.sourceSnapshotName !== null && { sourceSnapshotName: input.sourceSnapshotName })), (input.targetSnapshotName !== undefined &&
13153
- input.targetSnapshotName !== null && { targetSnapshotName: input.targetSnapshotName })), (input.useLatestRestorableAutoSnapshot !== undefined &&
13154
- input.useLatestRestorableAutoSnapshot !== null && {
13125
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.restoreDate != null && { restoreDate: input.restoreDate })), (input.sourceRegion != null && { sourceRegion: input.sourceRegion })), (input.sourceResourceName != null && { sourceResourceName: input.sourceResourceName })), (input.sourceSnapshotName != null && { sourceSnapshotName: input.sourceSnapshotName })), (input.targetSnapshotName != null && { targetSnapshotName: input.targetSnapshotName })), (input.useLatestRestorableAutoSnapshot != null && {
13155
13126
  useLatestRestorableAutoSnapshot: input.useLatestRestorableAutoSnapshot,
13156
13127
  }));
13157
13128
  };
13158
13129
  var serializeAws_json1_1CreateBucketAccessKeyRequest = function (input, context) {
13159
- return __assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }));
13130
+ return __assign({}, (input.bucketName != null && { bucketName: input.bucketName }));
13160
13131
  };
13161
13132
  var serializeAws_json1_1CreateBucketRequest = function (input, context) {
13162
- return __assign(__assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId })), (input.enableObjectVersioning !== undefined &&
13163
- input.enableObjectVersioning !== null && { enableObjectVersioning: input.enableObjectVersioning })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13133
+ return __assign(__assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bundleId != null && { bundleId: input.bundleId })), (input.enableObjectVersioning != null && { enableObjectVersioning: input.enableObjectVersioning })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13164
13134
  };
13165
13135
  var serializeAws_json1_1CreateCertificateRequest = function (input, context) {
13166
- return __assign(__assign(__assign(__assign({}, (input.certificateName !== undefined &&
13167
- input.certificateName !== null && { certificateName: input.certificateName })), (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName })), (input.subjectAlternativeNames !== undefined &&
13168
- input.subjectAlternativeNames !== null && {
13136
+ return __assign(__assign(__assign(__assign({}, (input.certificateName != null && { certificateName: input.certificateName })), (input.domainName != null && { domainName: input.domainName })), (input.subjectAlternativeNames != null && {
13169
13137
  subjectAlternativeNames: serializeAws_json1_1SubjectAlternativeNameList(input.subjectAlternativeNames, context),
13170
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13138
+ })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13171
13139
  };
13172
13140
  var serializeAws_json1_1CreateCloudFormationStackRequest = function (input, context) {
13173
- return __assign({}, (input.instances !== undefined &&
13174
- input.instances !== null && { instances: serializeAws_json1_1InstanceEntryList(input.instances, context) }));
13141
+ return __assign({}, (input.instances != null && { instances: serializeAws_json1_1InstanceEntryList(input.instances, context) }));
13175
13142
  };
13176
13143
  var serializeAws_json1_1CreateContactMethodRequest = function (input, context) {
13177
- return __assign(__assign({}, (input.contactEndpoint !== undefined &&
13178
- input.contactEndpoint !== null && { contactEndpoint: input.contactEndpoint })), (input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }));
13144
+ return __assign(__assign({}, (input.contactEndpoint != null && { contactEndpoint: input.contactEndpoint })), (input.protocol != null && { protocol: input.protocol }));
13179
13145
  };
13180
13146
  var serializeAws_json1_1CreateContainerServiceDeploymentRequest = function (input, context) {
13181
- return __assign(__assign(__assign({}, (input.containers !== undefined &&
13182
- input.containers !== null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) })), (input.publicEndpoint !== undefined &&
13183
- input.publicEndpoint !== null && {
13147
+ return __assign(__assign(__assign({}, (input.containers != null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) })), (input.publicEndpoint != null && {
13184
13148
  publicEndpoint: serializeAws_json1_1EndpointRequest(input.publicEndpoint, context),
13185
- })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13149
+ })), (input.serviceName != null && { serviceName: input.serviceName }));
13186
13150
  };
13187
13151
  var serializeAws_json1_1CreateContainerServiceRegistryLoginRequest = function (input, context) {
13188
13152
  return {};
13189
13153
  };
13190
13154
  var serializeAws_json1_1CreateContainerServiceRequest = function (input, context) {
13191
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.deployment !== undefined &&
13192
- input.deployment !== null && {
13155
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.deployment != null && {
13193
13156
  deployment: serializeAws_json1_1ContainerServiceDeploymentRequest(input.deployment, context),
13194
- })), (input.power !== undefined && input.power !== null && { power: input.power })), (input.privateRegistryAccess !== undefined &&
13195
- input.privateRegistryAccess !== null && {
13157
+ })), (input.power != null && { power: input.power })), (input.privateRegistryAccess != null && {
13196
13158
  privateRegistryAccess: serializeAws_json1_1PrivateRegistryAccessRequest(input.privateRegistryAccess, context),
13197
- })), (input.publicDomainNames !== undefined &&
13198
- input.publicDomainNames !== null && {
13159
+ })), (input.publicDomainNames != null && {
13199
13160
  publicDomainNames: serializeAws_json1_1ContainerServicePublicDomains(input.publicDomainNames, context),
13200
- })), (input.scale !== undefined && input.scale !== null && { scale: input.scale })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13161
+ })), (input.scale != null && { scale: input.scale })), (input.serviceName != null && { serviceName: input.serviceName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13201
13162
  };
13202
13163
  var serializeAws_json1_1CreateDiskFromSnapshotRequest = function (input, context) {
13203
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addOns !== undefined &&
13204
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.availabilityZone !== undefined &&
13205
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName })), (input.diskSnapshotName !== undefined &&
13206
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName })), (input.restoreDate !== undefined && input.restoreDate !== null && { restoreDate: input.restoreDate })), (input.sizeInGb !== undefined && input.sizeInGb !== null && { sizeInGb: input.sizeInGb })), (input.sourceDiskName !== undefined &&
13207
- input.sourceDiskName !== null && { sourceDiskName: input.sourceDiskName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.useLatestRestorableAutoSnapshot !== undefined &&
13208
- input.useLatestRestorableAutoSnapshot !== null && {
13164
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.diskName != null && { diskName: input.diskName })), (input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName })), (input.restoreDate != null && { restoreDate: input.restoreDate })), (input.sizeInGb != null && { sizeInGb: input.sizeInGb })), (input.sourceDiskName != null && { sourceDiskName: input.sourceDiskName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.useLatestRestorableAutoSnapshot != null && {
13209
13165
  useLatestRestorableAutoSnapshot: input.useLatestRestorableAutoSnapshot,
13210
13166
  }));
13211
13167
  };
13212
13168
  var serializeAws_json1_1CreateDiskRequest = function (input, context) {
13213
- return __assign(__assign(__assign(__assign(__assign({}, (input.addOns !== undefined &&
13214
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.availabilityZone !== undefined &&
13215
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName })), (input.sizeInGb !== undefined && input.sizeInGb !== null && { sizeInGb: input.sizeInGb })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13169
+ return __assign(__assign(__assign(__assign(__assign({}, (input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.diskName != null && { diskName: input.diskName })), (input.sizeInGb != null && { sizeInGb: input.sizeInGb })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13216
13170
  };
13217
13171
  var serializeAws_json1_1CreateDiskSnapshotRequest = function (input, context) {
13218
- return __assign(__assign(__assign(__assign({}, (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName })), (input.diskSnapshotName !== undefined &&
13219
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName })), (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13172
+ return __assign(__assign(__assign(__assign({}, (input.diskName != null && { diskName: input.diskName })), (input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName })), (input.instanceName != null && { instanceName: input.instanceName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13220
13173
  };
13221
13174
  var serializeAws_json1_1CreateDistributionRequest = function (input, context) {
13222
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId })), (input.cacheBehaviorSettings !== undefined &&
13223
- input.cacheBehaviorSettings !== null && {
13175
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.bundleId != null && { bundleId: input.bundleId })), (input.cacheBehaviorSettings != null && {
13224
13176
  cacheBehaviorSettings: serializeAws_json1_1CacheSettings(input.cacheBehaviorSettings, context),
13225
- })), (input.cacheBehaviors !== undefined &&
13226
- input.cacheBehaviors !== null && {
13177
+ })), (input.cacheBehaviors != null && {
13227
13178
  cacheBehaviors: serializeAws_json1_1CacheBehaviorList(input.cacheBehaviors, context),
13228
- })), (input.defaultCacheBehavior !== undefined &&
13229
- input.defaultCacheBehavior !== null && {
13179
+ })), (input.defaultCacheBehavior != null && {
13230
13180
  defaultCacheBehavior: serializeAws_json1_1CacheBehavior(input.defaultCacheBehavior, context),
13231
- })), (input.distributionName !== undefined &&
13232
- input.distributionName !== null && { distributionName: input.distributionName })), (input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType })), (input.origin !== undefined &&
13233
- input.origin !== null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13181
+ })), (input.distributionName != null && { distributionName: input.distributionName })), (input.ipAddressType != null && { ipAddressType: input.ipAddressType })), (input.origin != null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13234
13182
  };
13235
13183
  var serializeAws_json1_1CreateDomainEntryRequest = function (input, context) {
13236
- return __assign(__assign({}, (input.domainEntry !== undefined &&
13237
- input.domainEntry !== null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) })), (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }));
13184
+ return __assign(__assign({}, (input.domainEntry != null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) })), (input.domainName != null && { domainName: input.domainName }));
13238
13185
  };
13239
13186
  var serializeAws_json1_1CreateDomainRequest = function (input, context) {
13240
- return __assign(__assign({}, (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13187
+ return __assign(__assign({}, (input.domainName != null && { domainName: input.domainName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13241
13188
  };
13242
13189
  var serializeAws_json1_1CreateInstancesFromSnapshotRequest = function (input, context) {
13243
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addOns !== undefined &&
13244
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.attachedDiskMapping !== undefined &&
13245
- input.attachedDiskMapping !== null && {
13190
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.attachedDiskMapping != null && {
13246
13191
  attachedDiskMapping: serializeAws_json1_1AttachedDiskMap(input.attachedDiskMapping, context),
13247
- })), (input.availabilityZone !== undefined &&
13248
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId })), (input.instanceNames !== undefined &&
13249
- input.instanceNames !== null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) })), (input.instanceSnapshotName !== undefined &&
13250
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName })), (input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType })), (input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName })), (input.restoreDate !== undefined && input.restoreDate !== null && { restoreDate: input.restoreDate })), (input.sourceInstanceName !== undefined &&
13251
- input.sourceInstanceName !== null && { sourceInstanceName: input.sourceInstanceName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.useLatestRestorableAutoSnapshot !== undefined &&
13252
- input.useLatestRestorableAutoSnapshot !== null && {
13192
+ })), (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.bundleId != null && { bundleId: input.bundleId })), (input.instanceNames != null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) })), (input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName })), (input.ipAddressType != null && { ipAddressType: input.ipAddressType })), (input.keyPairName != null && { keyPairName: input.keyPairName })), (input.restoreDate != null && { restoreDate: input.restoreDate })), (input.sourceInstanceName != null && { sourceInstanceName: input.sourceInstanceName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.useLatestRestorableAutoSnapshot != null && {
13253
13193
  useLatestRestorableAutoSnapshot: input.useLatestRestorableAutoSnapshot,
13254
- })), (input.userData !== undefined && input.userData !== null && { userData: input.userData }));
13194
+ })), (input.userData != null && { userData: input.userData }));
13255
13195
  };
13256
13196
  var serializeAws_json1_1CreateInstanceSnapshotRequest = function (input, context) {
13257
- return __assign(__assign(__assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.instanceSnapshotName !== undefined &&
13258
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13197
+ return __assign(__assign(__assign({}, (input.instanceName != null && { instanceName: input.instanceName })), (input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13259
13198
  };
13260
13199
  var serializeAws_json1_1CreateInstancesRequest = function (input, context) {
13261
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addOns !== undefined &&
13262
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.availabilityZone !== undefined &&
13263
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.blueprintId !== undefined && input.blueprintId !== null && { blueprintId: input.blueprintId })), (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId })), (input.customImageName !== undefined &&
13264
- input.customImageName !== null && { customImageName: input.customImageName })), (input.instanceNames !== undefined &&
13265
- input.instanceNames !== null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) })), (input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType })), (input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.userData !== undefined && input.userData !== null && { userData: input.userData }));
13200
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) })), (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.blueprintId != null && { blueprintId: input.blueprintId })), (input.bundleId != null && { bundleId: input.bundleId })), (input.customImageName != null && { customImageName: input.customImageName })), (input.instanceNames != null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) })), (input.ipAddressType != null && { ipAddressType: input.ipAddressType })), (input.keyPairName != null && { keyPairName: input.keyPairName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.userData != null && { userData: input.userData }));
13266
13201
  };
13267
13202
  var serializeAws_json1_1CreateKeyPairRequest = function (input, context) {
13268
- return __assign(__assign({}, (input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13203
+ return __assign(__assign({}, (input.keyPairName != null && { keyPairName: input.keyPairName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13269
13204
  };
13270
13205
  var serializeAws_json1_1CreateLoadBalancerRequest = function (input, context) {
13271
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.certificateAlternativeNames !== undefined &&
13272
- input.certificateAlternativeNames !== null && {
13206
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.certificateAlternativeNames != null && {
13273
13207
  certificateAlternativeNames: serializeAws_json1_1DomainNameList(input.certificateAlternativeNames, context),
13274
- })), (input.certificateDomainName !== undefined &&
13275
- input.certificateDomainName !== null && { certificateDomainName: input.certificateDomainName })), (input.certificateName !== undefined &&
13276
- input.certificateName !== null && { certificateName: input.certificateName })), (input.healthCheckPath !== undefined &&
13277
- input.healthCheckPath !== null && { healthCheckPath: input.healthCheckPath })), (input.instancePort !== undefined && input.instancePort !== null && { instancePort: input.instancePort })), (input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType })), (input.loadBalancerName !== undefined &&
13278
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.tlsPolicyName !== undefined && input.tlsPolicyName !== null && { tlsPolicyName: input.tlsPolicyName }));
13208
+ })), (input.certificateDomainName != null && { certificateDomainName: input.certificateDomainName })), (input.certificateName != null && { certificateName: input.certificateName })), (input.healthCheckPath != null && { healthCheckPath: input.healthCheckPath })), (input.instancePort != null && { instancePort: input.instancePort })), (input.ipAddressType != null && { ipAddressType: input.ipAddressType })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.tlsPolicyName != null && { tlsPolicyName: input.tlsPolicyName }));
13279
13209
  };
13280
13210
  var serializeAws_json1_1CreateLoadBalancerTlsCertificateRequest = function (input, context) {
13281
- return __assign(__assign(__assign(__assign(__assign({}, (input.certificateAlternativeNames !== undefined &&
13282
- input.certificateAlternativeNames !== null && {
13211
+ return __assign(__assign(__assign(__assign(__assign({}, (input.certificateAlternativeNames != null && {
13283
13212
  certificateAlternativeNames: serializeAws_json1_1DomainNameList(input.certificateAlternativeNames, context),
13284
- })), (input.certificateDomainName !== undefined &&
13285
- input.certificateDomainName !== null && { certificateDomainName: input.certificateDomainName })), (input.certificateName !== undefined &&
13286
- input.certificateName !== null && { certificateName: input.certificateName })), (input.loadBalancerName !== undefined &&
13287
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13213
+ })), (input.certificateDomainName != null && { certificateDomainName: input.certificateDomainName })), (input.certificateName != null && { certificateName: input.certificateName })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13288
13214
  };
13289
13215
  var serializeAws_json1_1CreateRelationalDatabaseFromSnapshotRequest = function (input, context) {
13290
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.availabilityZone !== undefined &&
13291
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.publiclyAccessible !== undefined &&
13292
- input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible })), (input.relationalDatabaseBundleId !== undefined &&
13293
- input.relationalDatabaseBundleId !== null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId })), (input.relationalDatabaseName !== undefined &&
13294
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.relationalDatabaseSnapshotName !== undefined &&
13295
- input.relationalDatabaseSnapshotName !== null && {
13216
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible })), (input.relationalDatabaseBundleId != null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.relationalDatabaseSnapshotName != null && {
13296
13217
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
13297
- })), (input.restoreTime !== undefined &&
13298
- input.restoreTime !== null && { restoreTime: Math.round(input.restoreTime.getTime() / 1000) })), (input.sourceRelationalDatabaseName !== undefined &&
13299
- input.sourceRelationalDatabaseName !== null && {
13218
+ })), (input.restoreTime != null && { restoreTime: Math.round(input.restoreTime.getTime() / 1000) })), (input.sourceRelationalDatabaseName != null && {
13300
13219
  sourceRelationalDatabaseName: input.sourceRelationalDatabaseName,
13301
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.useLatestRestorableTime !== undefined &&
13302
- input.useLatestRestorableTime !== null && { useLatestRestorableTime: input.useLatestRestorableTime }));
13220
+ })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.useLatestRestorableTime != null && { useLatestRestorableTime: input.useLatestRestorableTime }));
13303
13221
  };
13304
13222
  var serializeAws_json1_1CreateRelationalDatabaseRequest = function (input, context) {
13305
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.availabilityZone !== undefined &&
13306
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.masterDatabaseName !== undefined &&
13307
- input.masterDatabaseName !== null && { masterDatabaseName: input.masterDatabaseName })), (input.masterUserPassword !== undefined &&
13308
- input.masterUserPassword !== null && { masterUserPassword: input.masterUserPassword })), (input.masterUsername !== undefined &&
13309
- input.masterUsername !== null && { masterUsername: input.masterUsername })), (input.preferredBackupWindow !== undefined &&
13310
- input.preferredBackupWindow !== null && { preferredBackupWindow: input.preferredBackupWindow })), (input.preferredMaintenanceWindow !== undefined &&
13311
- input.preferredMaintenanceWindow !== null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow })), (input.publiclyAccessible !== undefined &&
13312
- input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible })), (input.relationalDatabaseBlueprintId !== undefined &&
13313
- input.relationalDatabaseBlueprintId !== null && {
13223
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.masterDatabaseName != null && { masterDatabaseName: input.masterDatabaseName })), (input.masterUserPassword != null && { masterUserPassword: input.masterUserPassword })), (input.masterUsername != null && { masterUsername: input.masterUsername })), (input.preferredBackupWindow != null && { preferredBackupWindow: input.preferredBackupWindow })), (input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow })), (input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible })), (input.relationalDatabaseBlueprintId != null && {
13314
13224
  relationalDatabaseBlueprintId: input.relationalDatabaseBlueprintId,
13315
- })), (input.relationalDatabaseBundleId !== undefined &&
13316
- input.relationalDatabaseBundleId !== null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId })), (input.relationalDatabaseName !== undefined &&
13317
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13225
+ })), (input.relationalDatabaseBundleId != null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13318
13226
  };
13319
13227
  var serializeAws_json1_1CreateRelationalDatabaseSnapshotRequest = function (input, context) {
13320
- return __assign(__assign(__assign({}, (input.relationalDatabaseName !== undefined &&
13321
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.relationalDatabaseSnapshotName !== undefined &&
13322
- input.relationalDatabaseSnapshotName !== null && {
13228
+ return __assign(__assign(__assign({}, (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.relationalDatabaseSnapshotName != null && {
13323
13229
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
13324
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13230
+ })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13325
13231
  };
13326
13232
  var serializeAws_json1_1DeleteAlarmRequest = function (input, context) {
13327
- return __assign({}, (input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName }));
13233
+ return __assign({}, (input.alarmName != null && { alarmName: input.alarmName }));
13328
13234
  };
13329
13235
  var serializeAws_json1_1DeleteAutoSnapshotRequest = function (input, context) {
13330
- return __assign(__assign({}, (input.date !== undefined && input.date !== null && { date: input.date })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }));
13236
+ return __assign(__assign({}, (input.date != null && { date: input.date })), (input.resourceName != null && { resourceName: input.resourceName }));
13331
13237
  };
13332
13238
  var serializeAws_json1_1DeleteBucketAccessKeyRequest = function (input, context) {
13333
- return __assign(__assign({}, (input.accessKeyId !== undefined && input.accessKeyId !== null && { accessKeyId: input.accessKeyId })), (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }));
13239
+ return __assign(__assign({}, (input.accessKeyId != null && { accessKeyId: input.accessKeyId })), (input.bucketName != null && { bucketName: input.bucketName }));
13334
13240
  };
13335
13241
  var serializeAws_json1_1DeleteBucketRequest = function (input, context) {
13336
- return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete }));
13242
+ return __assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.forceDelete != null && { forceDelete: input.forceDelete }));
13337
13243
  };
13338
13244
  var serializeAws_json1_1DeleteCertificateRequest = function (input, context) {
13339
- return __assign({}, (input.certificateName !== undefined &&
13340
- input.certificateName !== null && { certificateName: input.certificateName }));
13245
+ return __assign({}, (input.certificateName != null && { certificateName: input.certificateName }));
13341
13246
  };
13342
13247
  var serializeAws_json1_1DeleteContactMethodRequest = function (input, context) {
13343
- return __assign({}, (input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }));
13248
+ return __assign({}, (input.protocol != null && { protocol: input.protocol }));
13344
13249
  };
13345
13250
  var serializeAws_json1_1DeleteContainerImageRequest = function (input, context) {
13346
- return __assign(__assign({}, (input.image !== undefined && input.image !== null && { image: input.image })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13251
+ return __assign(__assign({}, (input.image != null && { image: input.image })), (input.serviceName != null && { serviceName: input.serviceName }));
13347
13252
  };
13348
13253
  var serializeAws_json1_1DeleteContainerServiceRequest = function (input, context) {
13349
- return __assign({}, (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13254
+ return __assign({}, (input.serviceName != null && { serviceName: input.serviceName }));
13350
13255
  };
13351
13256
  var serializeAws_json1_1DeleteDiskRequest = function (input, context) {
13352
- return __assign(__assign({}, (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName })), (input.forceDeleteAddOns !== undefined &&
13353
- input.forceDeleteAddOns !== null && { forceDeleteAddOns: input.forceDeleteAddOns }));
13257
+ return __assign(__assign({}, (input.diskName != null && { diskName: input.diskName })), (input.forceDeleteAddOns != null && { forceDeleteAddOns: input.forceDeleteAddOns }));
13354
13258
  };
13355
13259
  var serializeAws_json1_1DeleteDiskSnapshotRequest = function (input, context) {
13356
- return __assign({}, (input.diskSnapshotName !== undefined &&
13357
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName }));
13260
+ return __assign({}, (input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName }));
13358
13261
  };
13359
13262
  var serializeAws_json1_1DeleteDistributionRequest = function (input, context) {
13360
- return __assign({}, (input.distributionName !== undefined &&
13361
- input.distributionName !== null && { distributionName: input.distributionName }));
13263
+ return __assign({}, (input.distributionName != null && { distributionName: input.distributionName }));
13362
13264
  };
13363
13265
  var serializeAws_json1_1DeleteDomainEntryRequest = function (input, context) {
13364
- return __assign(__assign({}, (input.domainEntry !== undefined &&
13365
- input.domainEntry !== null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) })), (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }));
13266
+ return __assign(__assign({}, (input.domainEntry != null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) })), (input.domainName != null && { domainName: input.domainName }));
13366
13267
  };
13367
13268
  var serializeAws_json1_1DeleteDomainRequest = function (input, context) {
13368
- return __assign({}, (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }));
13269
+ return __assign({}, (input.domainName != null && { domainName: input.domainName }));
13369
13270
  };
13370
13271
  var serializeAws_json1_1DeleteInstanceRequest = function (input, context) {
13371
- return __assign(__assign({}, (input.forceDeleteAddOns !== undefined &&
13372
- input.forceDeleteAddOns !== null && { forceDeleteAddOns: input.forceDeleteAddOns })), (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13272
+ return __assign(__assign({}, (input.forceDeleteAddOns != null && { forceDeleteAddOns: input.forceDeleteAddOns })), (input.instanceName != null && { instanceName: input.instanceName }));
13373
13273
  };
13374
13274
  var serializeAws_json1_1DeleteInstanceSnapshotRequest = function (input, context) {
13375
- return __assign({}, (input.instanceSnapshotName !== undefined &&
13376
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName }));
13275
+ return __assign({}, (input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName }));
13377
13276
  };
13378
13277
  var serializeAws_json1_1DeleteKeyPairRequest = function (input, context) {
13379
- return __assign(__assign({}, (input.expectedFingerprint !== undefined &&
13380
- input.expectedFingerprint !== null && { expectedFingerprint: input.expectedFingerprint })), (input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }));
13278
+ return __assign(__assign({}, (input.expectedFingerprint != null && { expectedFingerprint: input.expectedFingerprint })), (input.keyPairName != null && { keyPairName: input.keyPairName }));
13381
13279
  };
13382
13280
  var serializeAws_json1_1DeleteKnownHostKeysRequest = function (input, context) {
13383
- return __assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13281
+ return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
13384
13282
  };
13385
13283
  var serializeAws_json1_1DeleteLoadBalancerRequest = function (input, context) {
13386
- return __assign({}, (input.loadBalancerName !== undefined &&
13387
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13284
+ return __assign({}, (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13388
13285
  };
13389
13286
  var serializeAws_json1_1DeleteLoadBalancerTlsCertificateRequest = function (input, context) {
13390
- return __assign(__assign(__assign({}, (input.certificateName !== undefined &&
13391
- input.certificateName !== null && { certificateName: input.certificateName })), (input.force !== undefined && input.force !== null && { force: input.force })), (input.loadBalancerName !== undefined &&
13392
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13287
+ return __assign(__assign(__assign({}, (input.certificateName != null && { certificateName: input.certificateName })), (input.force != null && { force: input.force })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13393
13288
  };
13394
13289
  var serializeAws_json1_1DeleteRelationalDatabaseRequest = function (input, context) {
13395
- return __assign(__assign(__assign({}, (input.finalRelationalDatabaseSnapshotName !== undefined &&
13396
- input.finalRelationalDatabaseSnapshotName !== null && {
13290
+ return __assign(__assign(__assign({}, (input.finalRelationalDatabaseSnapshotName != null && {
13397
13291
  finalRelationalDatabaseSnapshotName: input.finalRelationalDatabaseSnapshotName,
13398
- })), (input.relationalDatabaseName !== undefined &&
13399
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.skipFinalSnapshot !== undefined &&
13400
- input.skipFinalSnapshot !== null && { skipFinalSnapshot: input.skipFinalSnapshot }));
13292
+ })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.skipFinalSnapshot != null && { skipFinalSnapshot: input.skipFinalSnapshot }));
13401
13293
  };
13402
13294
  var serializeAws_json1_1DeleteRelationalDatabaseSnapshotRequest = function (input, context) {
13403
- return __assign({}, (input.relationalDatabaseSnapshotName !== undefined &&
13404
- input.relationalDatabaseSnapshotName !== null && {
13295
+ return __assign({}, (input.relationalDatabaseSnapshotName != null && {
13405
13296
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
13406
13297
  }));
13407
13298
  };
13408
13299
  var serializeAws_json1_1DetachCertificateFromDistributionRequest = function (input, context) {
13409
- return __assign({}, (input.distributionName !== undefined &&
13410
- input.distributionName !== null && { distributionName: input.distributionName }));
13300
+ return __assign({}, (input.distributionName != null && { distributionName: input.distributionName }));
13411
13301
  };
13412
13302
  var serializeAws_json1_1DetachDiskRequest = function (input, context) {
13413
- return __assign({}, (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }));
13303
+ return __assign({}, (input.diskName != null && { diskName: input.diskName }));
13414
13304
  };
13415
13305
  var serializeAws_json1_1DetachInstancesFromLoadBalancerRequest = function (input, context) {
13416
- return __assign(__assign({}, (input.instanceNames !== undefined &&
13417
- input.instanceNames !== null && {
13306
+ return __assign(__assign({}, (input.instanceNames != null && {
13418
13307
  instanceNames: serializeAws_json1_1ResourceNameList(input.instanceNames, context),
13419
- })), (input.loadBalancerName !== undefined &&
13420
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13308
+ })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13421
13309
  };
13422
13310
  var serializeAws_json1_1DetachStaticIpRequest = function (input, context) {
13423
- return __assign({}, (input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }));
13311
+ return __assign({}, (input.staticIpName != null && { staticIpName: input.staticIpName }));
13424
13312
  };
13425
13313
  var serializeAws_json1_1DisableAddOnRequest = function (input, context) {
13426
- return __assign(__assign({}, (input.addOnType !== undefined && input.addOnType !== null && { addOnType: input.addOnType })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }));
13314
+ return __assign(__assign({}, (input.addOnType != null && { addOnType: input.addOnType })), (input.resourceName != null && { resourceName: input.resourceName }));
13427
13315
  };
13428
13316
  var serializeAws_json1_1DiskMap = function (input, context) {
13429
- return __assign(__assign({}, (input.newDiskName !== undefined && input.newDiskName !== null && { newDiskName: input.newDiskName })), (input.originalDiskPath !== undefined &&
13430
- input.originalDiskPath !== null && { originalDiskPath: input.originalDiskPath }));
13317
+ return __assign(__assign({}, (input.newDiskName != null && { newDiskName: input.newDiskName })), (input.originalDiskPath != null && { originalDiskPath: input.originalDiskPath }));
13431
13318
  };
13432
13319
  var serializeAws_json1_1DiskMapList = function (input, context) {
13433
13320
  return input
@@ -13440,8 +13327,7 @@ var serializeAws_json1_1DiskMapList = function (input, context) {
13440
13327
  });
13441
13328
  };
13442
13329
  var serializeAws_json1_1DomainEntry = function (input, context) {
13443
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.id !== undefined && input.id !== null && { id: input.id })), (input.isAlias !== undefined && input.isAlias !== null && { isAlias: input.isAlias })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.options !== undefined &&
13444
- input.options !== null && { options: serializeAws_json1_1DomainEntryOptions(input.options, context) })), (input.target !== undefined && input.target !== null && { target: input.target })), (input.type !== undefined && input.type !== null && { type: input.type }));
13330
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.id != null && { id: input.id })), (input.isAlias != null && { isAlias: input.isAlias })), (input.name != null && { name: input.name })), (input.options != null && { options: serializeAws_json1_1DomainEntryOptions(input.options, context) })), (input.target != null && { target: input.target })), (input.type != null && { type: input.type }));
13445
13331
  };
13446
13332
  var serializeAws_json1_1DomainEntryOptions = function (input, context) {
13447
13333
  return Object.entries(input).reduce(function (acc, _a) {
@@ -13467,12 +13353,10 @@ var serializeAws_json1_1DownloadDefaultKeyPairRequest = function (input, context
13467
13353
  return {};
13468
13354
  };
13469
13355
  var serializeAws_json1_1EnableAddOnRequest = function (input, context) {
13470
- return __assign(__assign({}, (input.addOnRequest !== undefined &&
13471
- input.addOnRequest !== null && { addOnRequest: serializeAws_json1_1AddOnRequest(input.addOnRequest, context) })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }));
13356
+ return __assign(__assign({}, (input.addOnRequest != null && { addOnRequest: serializeAws_json1_1AddOnRequest(input.addOnRequest, context) })), (input.resourceName != null && { resourceName: input.resourceName }));
13472
13357
  };
13473
13358
  var serializeAws_json1_1EndpointRequest = function (input, context) {
13474
- return __assign(__assign(__assign({}, (input.containerName !== undefined && input.containerName !== null && { containerName: input.containerName })), (input.containerPort !== undefined && input.containerPort !== null && { containerPort: input.containerPort })), (input.healthCheck !== undefined &&
13475
- input.healthCheck !== null && {
13359
+ return __assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.containerPort != null && { containerPort: input.containerPort })), (input.healthCheck != null && {
13476
13360
  healthCheck: serializeAws_json1_1ContainerServiceHealthCheckConfig(input.healthCheck, context),
13477
13361
  }));
13478
13362
  };
@@ -13487,256 +13371,202 @@ var serializeAws_json1_1Environment = function (input, context) {
13487
13371
  }, {});
13488
13372
  };
13489
13373
  var serializeAws_json1_1ExportSnapshotRequest = function (input, context) {
13490
- return __assign({}, (input.sourceSnapshotName !== undefined &&
13491
- input.sourceSnapshotName !== null && { sourceSnapshotName: input.sourceSnapshotName }));
13374
+ return __assign({}, (input.sourceSnapshotName != null && { sourceSnapshotName: input.sourceSnapshotName }));
13492
13375
  };
13493
13376
  var serializeAws_json1_1GetActiveNamesRequest = function (input, context) {
13494
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13377
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13495
13378
  };
13496
13379
  var serializeAws_json1_1GetAlarmsRequest = function (input, context) {
13497
- return __assign(__assign(__assign({}, (input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName })), (input.monitoredResourceName !== undefined &&
13498
- input.monitoredResourceName !== null && { monitoredResourceName: input.monitoredResourceName })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13380
+ return __assign(__assign(__assign({}, (input.alarmName != null && { alarmName: input.alarmName })), (input.monitoredResourceName != null && { monitoredResourceName: input.monitoredResourceName })), (input.pageToken != null && { pageToken: input.pageToken }));
13499
13381
  };
13500
13382
  var serializeAws_json1_1GetAutoSnapshotsRequest = function (input, context) {
13501
- return __assign({}, (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }));
13383
+ return __assign({}, (input.resourceName != null && { resourceName: input.resourceName }));
13502
13384
  };
13503
13385
  var serializeAws_json1_1GetBlueprintsRequest = function (input, context) {
13504
- return __assign(__assign({}, (input.includeInactive !== undefined &&
13505
- input.includeInactive !== null && { includeInactive: input.includeInactive })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13386
+ return __assign(__assign({}, (input.includeInactive != null && { includeInactive: input.includeInactive })), (input.pageToken != null && { pageToken: input.pageToken }));
13506
13387
  };
13507
13388
  var serializeAws_json1_1GetBucketAccessKeysRequest = function (input, context) {
13508
- return __assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }));
13389
+ return __assign({}, (input.bucketName != null && { bucketName: input.bucketName }));
13509
13390
  };
13510
13391
  var serializeAws_json1_1GetBucketBundlesRequest = function (input, context) {
13511
- return __assign({}, (input.includeInactive !== undefined &&
13512
- input.includeInactive !== null && { includeInactive: input.includeInactive }));
13392
+ return __assign({}, (input.includeInactive != null && { includeInactive: input.includeInactive }));
13513
13393
  };
13514
13394
  var serializeAws_json1_1GetBucketMetricDataRequest = function (input, context) {
13515
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.endTime !== undefined &&
13516
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.period !== undefined && input.period !== null && { period: input.period })), (input.startTime !== undefined &&
13517
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics !== undefined &&
13518
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit !== undefined && input.unit !== null && { unit: input.unit }));
13395
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName != null && { metricName: input.metricName })), (input.period != null && { period: input.period })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit != null && { unit: input.unit }));
13519
13396
  };
13520
13397
  var serializeAws_json1_1GetBucketsRequest = function (input, context) {
13521
- return __assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.includeConnectedResources !== undefined &&
13522
- input.includeConnectedResources !== null && { includeConnectedResources: input.includeConnectedResources })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13398
+ return __assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.includeConnectedResources != null && { includeConnectedResources: input.includeConnectedResources })), (input.pageToken != null && { pageToken: input.pageToken }));
13523
13399
  };
13524
13400
  var serializeAws_json1_1GetBundlesRequest = function (input, context) {
13525
- return __assign(__assign({}, (input.includeInactive !== undefined &&
13526
- input.includeInactive !== null && { includeInactive: input.includeInactive })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13401
+ return __assign(__assign({}, (input.includeInactive != null && { includeInactive: input.includeInactive })), (input.pageToken != null && { pageToken: input.pageToken }));
13527
13402
  };
13528
13403
  var serializeAws_json1_1GetCertificatesRequest = function (input, context) {
13529
- return __assign(__assign(__assign({}, (input.certificateName !== undefined &&
13530
- input.certificateName !== null && { certificateName: input.certificateName })), (input.certificateStatuses !== undefined &&
13531
- input.certificateStatuses !== null && {
13404
+ return __assign(__assign(__assign({}, (input.certificateName != null && { certificateName: input.certificateName })), (input.certificateStatuses != null && {
13532
13405
  certificateStatuses: serializeAws_json1_1CertificateStatusList(input.certificateStatuses, context),
13533
- })), (input.includeCertificateDetails !== undefined &&
13534
- input.includeCertificateDetails !== null && { includeCertificateDetails: input.includeCertificateDetails }));
13406
+ })), (input.includeCertificateDetails != null && { includeCertificateDetails: input.includeCertificateDetails }));
13535
13407
  };
13536
13408
  var serializeAws_json1_1GetCloudFormationStackRecordsRequest = function (input, context) {
13537
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13409
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13538
13410
  };
13539
13411
  var serializeAws_json1_1GetContactMethodsRequest = function (input, context) {
13540
- return __assign({}, (input.protocols !== undefined &&
13541
- input.protocols !== null && { protocols: serializeAws_json1_1ContactProtocolsList(input.protocols, context) }));
13412
+ return __assign({}, (input.protocols != null && { protocols: serializeAws_json1_1ContactProtocolsList(input.protocols, context) }));
13542
13413
  };
13543
13414
  var serializeAws_json1_1GetContainerAPIMetadataRequest = function (input, context) {
13544
13415
  return {};
13545
13416
  };
13546
13417
  var serializeAws_json1_1GetContainerImagesRequest = function (input, context) {
13547
- return __assign({}, (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13418
+ return __assign({}, (input.serviceName != null && { serviceName: input.serviceName }));
13548
13419
  };
13549
13420
  var serializeAws_json1_1GetContainerLogRequest = function (input, context) {
13550
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerName !== undefined && input.containerName !== null && { containerName: input.containerName })), (input.endTime !== undefined &&
13551
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.filterPattern !== undefined && input.filterPattern !== null && { filterPattern: input.filterPattern })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.startTime !== undefined &&
13552
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
13421
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.filterPattern != null && { filterPattern: input.filterPattern })), (input.pageToken != null && { pageToken: input.pageToken })), (input.serviceName != null && { serviceName: input.serviceName })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
13553
13422
  };
13554
13423
  var serializeAws_json1_1GetContainerServiceDeploymentsRequest = function (input, context) {
13555
- return __assign({}, (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13424
+ return __assign({}, (input.serviceName != null && { serviceName: input.serviceName }));
13556
13425
  };
13557
13426
  var serializeAws_json1_1GetContainerServiceMetricDataRequest = function (input, context) {
13558
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
13559
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.period !== undefined && input.period !== null && { period: input.period })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.startTime !== undefined &&
13560
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics !== undefined &&
13561
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }));
13427
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName != null && { metricName: input.metricName })), (input.period != null && { period: input.period })), (input.serviceName != null && { serviceName: input.serviceName })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }));
13562
13428
  };
13563
13429
  var serializeAws_json1_1GetContainerServicePowersRequest = function (input, context) {
13564
13430
  return {};
13565
13431
  };
13566
13432
  var serializeAws_json1_1GetContainerServicesRequest = function (input, context) {
13567
- return __assign({}, (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13433
+ return __assign({}, (input.serviceName != null && { serviceName: input.serviceName }));
13568
13434
  };
13569
13435
  var serializeAws_json1_1GetDiskRequest = function (input, context) {
13570
- return __assign({}, (input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }));
13436
+ return __assign({}, (input.diskName != null && { diskName: input.diskName }));
13571
13437
  };
13572
13438
  var serializeAws_json1_1GetDiskSnapshotRequest = function (input, context) {
13573
- return __assign({}, (input.diskSnapshotName !== undefined &&
13574
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName }));
13439
+ return __assign({}, (input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName }));
13575
13440
  };
13576
13441
  var serializeAws_json1_1GetDiskSnapshotsRequest = function (input, context) {
13577
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13442
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13578
13443
  };
13579
13444
  var serializeAws_json1_1GetDisksRequest = function (input, context) {
13580
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13445
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13581
13446
  };
13582
13447
  var serializeAws_json1_1GetDistributionBundlesRequest = function (input, context) {
13583
13448
  return {};
13584
13449
  };
13585
13450
  var serializeAws_json1_1GetDistributionLatestCacheResetRequest = function (input, context) {
13586
- return __assign({}, (input.distributionName !== undefined &&
13587
- input.distributionName !== null && { distributionName: input.distributionName }));
13451
+ return __assign({}, (input.distributionName != null && { distributionName: input.distributionName }));
13588
13452
  };
13589
13453
  var serializeAws_json1_1GetDistributionMetricDataRequest = function (input, context) {
13590
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.distributionName !== undefined &&
13591
- input.distributionName !== null && { distributionName: input.distributionName })), (input.endTime !== undefined &&
13592
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.period !== undefined && input.period !== null && { period: input.period })), (input.startTime !== undefined &&
13593
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics !== undefined &&
13594
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit !== undefined && input.unit !== null && { unit: input.unit }));
13454
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.distributionName != null && { distributionName: input.distributionName })), (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName != null && { metricName: input.metricName })), (input.period != null && { period: input.period })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit != null && { unit: input.unit }));
13595
13455
  };
13596
13456
  var serializeAws_json1_1GetDistributionsRequest = function (input, context) {
13597
- return __assign(__assign({}, (input.distributionName !== undefined &&
13598
- input.distributionName !== null && { distributionName: input.distributionName })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13457
+ return __assign(__assign({}, (input.distributionName != null && { distributionName: input.distributionName })), (input.pageToken != null && { pageToken: input.pageToken }));
13599
13458
  };
13600
13459
  var serializeAws_json1_1GetDomainRequest = function (input, context) {
13601
- return __assign({}, (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }));
13460
+ return __assign({}, (input.domainName != null && { domainName: input.domainName }));
13602
13461
  };
13603
13462
  var serializeAws_json1_1GetDomainsRequest = function (input, context) {
13604
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13463
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13605
13464
  };
13606
13465
  var serializeAws_json1_1GetExportSnapshotRecordsRequest = function (input, context) {
13607
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13466
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13608
13467
  };
13609
13468
  var serializeAws_json1_1GetInstanceAccessDetailsRequest = function (input, context) {
13610
- return __assign(__assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }));
13469
+ return __assign(__assign({}, (input.instanceName != null && { instanceName: input.instanceName })), (input.protocol != null && { protocol: input.protocol }));
13611
13470
  };
13612
13471
  var serializeAws_json1_1GetInstanceMetricDataRequest = function (input, context) {
13613
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
13614
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.period !== undefined && input.period !== null && { period: input.period })), (input.startTime !== undefined &&
13615
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics !== undefined &&
13616
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit !== undefined && input.unit !== null && { unit: input.unit }));
13472
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.instanceName != null && { instanceName: input.instanceName })), (input.metricName != null && { metricName: input.metricName })), (input.period != null && { period: input.period })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit != null && { unit: input.unit }));
13617
13473
  };
13618
13474
  var serializeAws_json1_1GetInstancePortStatesRequest = function (input, context) {
13619
- return __assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13475
+ return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
13620
13476
  };
13621
13477
  var serializeAws_json1_1GetInstanceRequest = function (input, context) {
13622
- return __assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13478
+ return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
13623
13479
  };
13624
13480
  var serializeAws_json1_1GetInstanceSnapshotRequest = function (input, context) {
13625
- return __assign({}, (input.instanceSnapshotName !== undefined &&
13626
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName }));
13481
+ return __assign({}, (input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName }));
13627
13482
  };
13628
13483
  var serializeAws_json1_1GetInstanceSnapshotsRequest = function (input, context) {
13629
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13484
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13630
13485
  };
13631
13486
  var serializeAws_json1_1GetInstancesRequest = function (input, context) {
13632
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13487
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13633
13488
  };
13634
13489
  var serializeAws_json1_1GetInstanceStateRequest = function (input, context) {
13635
- return __assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13490
+ return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
13636
13491
  };
13637
13492
  var serializeAws_json1_1GetKeyPairRequest = function (input, context) {
13638
- return __assign({}, (input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }));
13493
+ return __assign({}, (input.keyPairName != null && { keyPairName: input.keyPairName }));
13639
13494
  };
13640
13495
  var serializeAws_json1_1GetKeyPairsRequest = function (input, context) {
13641
- return __assign(__assign({}, (input.includeDefaultKeyPair !== undefined &&
13642
- input.includeDefaultKeyPair !== null && { includeDefaultKeyPair: input.includeDefaultKeyPair })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13496
+ return __assign(__assign({}, (input.includeDefaultKeyPair != null && { includeDefaultKeyPair: input.includeDefaultKeyPair })), (input.pageToken != null && { pageToken: input.pageToken }));
13643
13497
  };
13644
13498
  var serializeAws_json1_1GetLoadBalancerMetricDataRequest = function (input, context) {
13645
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
13646
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.loadBalancerName !== undefined &&
13647
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.period !== undefined && input.period !== null && { period: input.period })), (input.startTime !== undefined &&
13648
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics !== undefined &&
13649
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit !== undefined && input.unit !== null && { unit: input.unit }));
13499
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName })), (input.metricName != null && { metricName: input.metricName })), (input.period != null && { period: input.period })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit != null && { unit: input.unit }));
13650
13500
  };
13651
13501
  var serializeAws_json1_1GetLoadBalancerRequest = function (input, context) {
13652
- return __assign({}, (input.loadBalancerName !== undefined &&
13653
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13502
+ return __assign({}, (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13654
13503
  };
13655
13504
  var serializeAws_json1_1GetLoadBalancersRequest = function (input, context) {
13656
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13505
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13657
13506
  };
13658
13507
  var serializeAws_json1_1GetLoadBalancerTlsCertificatesRequest = function (input, context) {
13659
- return __assign({}, (input.loadBalancerName !== undefined &&
13660
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13508
+ return __assign({}, (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
13661
13509
  };
13662
13510
  var serializeAws_json1_1GetLoadBalancerTlsPoliciesRequest = function (input, context) {
13663
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13511
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13664
13512
  };
13665
13513
  var serializeAws_json1_1GetOperationRequest = function (input, context) {
13666
- return __assign({}, (input.operationId !== undefined && input.operationId !== null && { operationId: input.operationId }));
13514
+ return __assign({}, (input.operationId != null && { operationId: input.operationId }));
13667
13515
  };
13668
13516
  var serializeAws_json1_1GetOperationsForResourceRequest = function (input, context) {
13669
- return __assign(__assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }));
13517
+ return __assign(__assign({}, (input.pageToken != null && { pageToken: input.pageToken })), (input.resourceName != null && { resourceName: input.resourceName }));
13670
13518
  };
13671
13519
  var serializeAws_json1_1GetOperationsRequest = function (input, context) {
13672
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13520
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13673
13521
  };
13674
13522
  var serializeAws_json1_1GetRegionsRequest = function (input, context) {
13675
- return __assign(__assign({}, (input.includeAvailabilityZones !== undefined &&
13676
- input.includeAvailabilityZones !== null && { includeAvailabilityZones: input.includeAvailabilityZones })), (input.includeRelationalDatabaseAvailabilityZones !== undefined &&
13677
- input.includeRelationalDatabaseAvailabilityZones !== null && {
13523
+ return __assign(__assign({}, (input.includeAvailabilityZones != null && { includeAvailabilityZones: input.includeAvailabilityZones })), (input.includeRelationalDatabaseAvailabilityZones != null && {
13678
13524
  includeRelationalDatabaseAvailabilityZones: input.includeRelationalDatabaseAvailabilityZones,
13679
13525
  }));
13680
13526
  };
13681
13527
  var serializeAws_json1_1GetRelationalDatabaseBlueprintsRequest = function (input, context) {
13682
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13528
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13683
13529
  };
13684
13530
  var serializeAws_json1_1GetRelationalDatabaseBundlesRequest = function (input, context) {
13685
- return __assign(__assign({}, (input.includeInactive !== undefined &&
13686
- input.includeInactive !== null && { includeInactive: input.includeInactive })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13531
+ return __assign(__assign({}, (input.includeInactive != null && { includeInactive: input.includeInactive })), (input.pageToken != null && { pageToken: input.pageToken }));
13687
13532
  };
13688
13533
  var serializeAws_json1_1GetRelationalDatabaseEventsRequest = function (input, context) {
13689
- return __assign(__assign(__assign({}, (input.durationInMinutes !== undefined &&
13690
- input.durationInMinutes !== null && { durationInMinutes: input.durationInMinutes })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken })), (input.relationalDatabaseName !== undefined &&
13691
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13534
+ return __assign(__assign(__assign({}, (input.durationInMinutes != null && { durationInMinutes: input.durationInMinutes })), (input.pageToken != null && { pageToken: input.pageToken })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13692
13535
  };
13693
13536
  var serializeAws_json1_1GetRelationalDatabaseLogEventsRequest = function (input, context) {
13694
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
13695
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.logStreamName !== undefined && input.logStreamName !== null && { logStreamName: input.logStreamName })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken })), (input.relationalDatabaseName !== undefined &&
13696
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.startFromHead !== undefined && input.startFromHead !== null && { startFromHead: input.startFromHead })), (input.startTime !== undefined &&
13697
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
13537
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.logStreamName != null && { logStreamName: input.logStreamName })), (input.pageToken != null && { pageToken: input.pageToken })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.startFromHead != null && { startFromHead: input.startFromHead })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
13698
13538
  };
13699
13539
  var serializeAws_json1_1GetRelationalDatabaseLogStreamsRequest = function (input, context) {
13700
- return __assign({}, (input.relationalDatabaseName !== undefined &&
13701
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13540
+ return __assign({}, (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13702
13541
  };
13703
13542
  var serializeAws_json1_1GetRelationalDatabaseMasterUserPasswordRequest = function (input, context) {
13704
- return __assign(__assign({}, (input.passwordVersion !== undefined &&
13705
- input.passwordVersion !== null && { passwordVersion: input.passwordVersion })), (input.relationalDatabaseName !== undefined &&
13706
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13543
+ return __assign(__assign({}, (input.passwordVersion != null && { passwordVersion: input.passwordVersion })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13707
13544
  };
13708
13545
  var serializeAws_json1_1GetRelationalDatabaseMetricDataRequest = function (input, context) {
13709
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
13710
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.period !== undefined && input.period !== null && { period: input.period })), (input.relationalDatabaseName !== undefined &&
13711
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.startTime !== undefined &&
13712
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics !== undefined &&
13713
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit !== undefined && input.unit !== null && { unit: input.unit }));
13546
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.metricName != null && { metricName: input.metricName })), (input.period != null && { period: input.period })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) })), (input.unit != null && { unit: input.unit }));
13714
13547
  };
13715
13548
  var serializeAws_json1_1GetRelationalDatabaseParametersRequest = function (input, context) {
13716
- return __assign(__assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken })), (input.relationalDatabaseName !== undefined &&
13717
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13549
+ return __assign(__assign({}, (input.pageToken != null && { pageToken: input.pageToken })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13718
13550
  };
13719
13551
  var serializeAws_json1_1GetRelationalDatabaseRequest = function (input, context) {
13720
- return __assign({}, (input.relationalDatabaseName !== undefined &&
13721
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13552
+ return __assign({}, (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13722
13553
  };
13723
13554
  var serializeAws_json1_1GetRelationalDatabaseSnapshotRequest = function (input, context) {
13724
- return __assign({}, (input.relationalDatabaseSnapshotName !== undefined &&
13725
- input.relationalDatabaseSnapshotName !== null && {
13555
+ return __assign({}, (input.relationalDatabaseSnapshotName != null && {
13726
13556
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
13727
13557
  }));
13728
13558
  };
13729
13559
  var serializeAws_json1_1GetRelationalDatabaseSnapshotsRequest = function (input, context) {
13730
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13560
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13731
13561
  };
13732
13562
  var serializeAws_json1_1GetRelationalDatabasesRequest = function (input, context) {
13733
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13563
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13734
13564
  };
13735
13565
  var serializeAws_json1_1GetStaticIpRequest = function (input, context) {
13736
- return __assign({}, (input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }));
13566
+ return __assign({}, (input.staticIpName != null && { staticIpName: input.staticIpName }));
13737
13567
  };
13738
13568
  var serializeAws_json1_1GetStaticIpsRequest = function (input, context) {
13739
- return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
13569
+ return __assign({}, (input.pageToken != null && { pageToken: input.pageToken }));
13740
13570
  };
13741
13571
  var serializeAws_json1_1HeaderForwardList = function (input, context) {
13742
13572
  return input
@@ -13749,23 +13579,18 @@ var serializeAws_json1_1HeaderForwardList = function (input, context) {
13749
13579
  });
13750
13580
  };
13751
13581
  var serializeAws_json1_1HeaderObject = function (input, context) {
13752
- return __assign(__assign({}, (input.headersAllowList !== undefined &&
13753
- input.headersAllowList !== null && {
13582
+ return __assign(__assign({}, (input.headersAllowList != null && {
13754
13583
  headersAllowList: serializeAws_json1_1HeaderForwardList(input.headersAllowList, context),
13755
- })), (input.option !== undefined && input.option !== null && { option: input.option }));
13584
+ })), (input.option != null && { option: input.option }));
13756
13585
  };
13757
13586
  var serializeAws_json1_1ImportKeyPairRequest = function (input, context) {
13758
- return __assign(__assign({}, (input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName })), (input.publicKeyBase64 !== undefined &&
13759
- input.publicKeyBase64 !== null && { publicKeyBase64: input.publicKeyBase64 }));
13587
+ return __assign(__assign({}, (input.keyPairName != null && { keyPairName: input.keyPairName })), (input.publicKeyBase64 != null && { publicKeyBase64: input.publicKeyBase64 }));
13760
13588
  };
13761
13589
  var serializeAws_json1_1InputOrigin = function (input, context) {
13762
- return __assign(__assign(__assign({}, (input.name !== undefined && input.name !== null && { name: input.name })), (input.protocolPolicy !== undefined &&
13763
- input.protocolPolicy !== null && { protocolPolicy: input.protocolPolicy })), (input.regionName !== undefined && input.regionName !== null && { regionName: input.regionName }));
13590
+ return __assign(__assign(__assign({}, (input.name != null && { name: input.name })), (input.protocolPolicy != null && { protocolPolicy: input.protocolPolicy })), (input.regionName != null && { regionName: input.regionName }));
13764
13591
  };
13765
13592
  var serializeAws_json1_1InstanceEntry = function (input, context) {
13766
- return __assign(__assign(__assign(__assign(__assign({}, (input.availabilityZone !== undefined &&
13767
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone })), (input.instanceType !== undefined && input.instanceType !== null && { instanceType: input.instanceType })), (input.portInfoSource !== undefined &&
13768
- input.portInfoSource !== null && { portInfoSource: input.portInfoSource })), (input.sourceName !== undefined && input.sourceName !== null && { sourceName: input.sourceName })), (input.userData !== undefined && input.userData !== null && { userData: input.userData }));
13593
+ return __assign(__assign(__assign(__assign(__assign({}, (input.availabilityZone != null && { availabilityZone: input.availabilityZone })), (input.instanceType != null && { instanceType: input.instanceType })), (input.portInfoSource != null && { portInfoSource: input.portInfoSource })), (input.sourceName != null && { sourceName: input.sourceName })), (input.userData != null && { userData: input.userData }));
13769
13594
  };
13770
13595
  var serializeAws_json1_1InstanceEntryList = function (input, context) {
13771
13596
  return input
@@ -13801,8 +13626,7 @@ var serializeAws_json1_1NotificationTriggerList = function (input, context) {
13801
13626
  });
13802
13627
  };
13803
13628
  var serializeAws_json1_1OpenInstancePublicPortsRequest = function (input, context) {
13804
- return __assign(__assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.portInfo !== undefined &&
13805
- input.portInfo !== null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }));
13629
+ return __assign(__assign({}, (input.instanceName != null && { instanceName: input.instanceName })), (input.portInfo != null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }));
13806
13630
  };
13807
13631
  var serializeAws_json1_1PartnerIdList = function (input, context) {
13808
13632
  return input
@@ -13818,12 +13642,9 @@ var serializeAws_json1_1PeerVpcRequest = function (input, context) {
13818
13642
  return {};
13819
13643
  };
13820
13644
  var serializeAws_json1_1PortInfo = function (input, context) {
13821
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.cidrListAliases !== undefined &&
13822
- input.cidrListAliases !== null && {
13645
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.cidrListAliases != null && {
13823
13646
  cidrListAliases: serializeAws_json1_1StringList(input.cidrListAliases, context),
13824
- })), (input.cidrs !== undefined &&
13825
- input.cidrs !== null && { cidrs: serializeAws_json1_1StringList(input.cidrs, context) })), (input.fromPort !== undefined && input.fromPort !== null && { fromPort: input.fromPort })), (input.ipv6Cidrs !== undefined &&
13826
- input.ipv6Cidrs !== null && { ipv6Cidrs: serializeAws_json1_1StringList(input.ipv6Cidrs, context) })), (input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol })), (input.toPort !== undefined && input.toPort !== null && { toPort: input.toPort }));
13647
+ })), (input.cidrs != null && { cidrs: serializeAws_json1_1StringList(input.cidrs, context) })), (input.fromPort != null && { fromPort: input.fromPort })), (input.ipv6Cidrs != null && { ipv6Cidrs: serializeAws_json1_1StringList(input.ipv6Cidrs, context) })), (input.protocol != null && { protocol: input.protocol })), (input.toPort != null && { toPort: input.toPort }));
13827
13648
  };
13828
13649
  var serializeAws_json1_1PortInfoList = function (input, context) {
13829
13650
  return input
@@ -13846,49 +13667,36 @@ var serializeAws_json1_1PortMap = function (input, context) {
13846
13667
  }, {});
13847
13668
  };
13848
13669
  var serializeAws_json1_1PrivateRegistryAccessRequest = function (input, context) {
13849
- return __assign({}, (input.ecrImagePullerRole !== undefined &&
13850
- input.ecrImagePullerRole !== null && {
13670
+ return __assign({}, (input.ecrImagePullerRole != null && {
13851
13671
  ecrImagePullerRole: serializeAws_json1_1ContainerServiceECRImagePullerRoleRequest(input.ecrImagePullerRole, context),
13852
13672
  }));
13853
13673
  };
13854
13674
  var serializeAws_json1_1PutAlarmRequest = function (input, context) {
13855
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName })), (input.comparisonOperator !== undefined &&
13856
- input.comparisonOperator !== null && { comparisonOperator: input.comparisonOperator })), (input.contactProtocols !== undefined &&
13857
- input.contactProtocols !== null && {
13675
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmName != null && { alarmName: input.alarmName })), (input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator })), (input.contactProtocols != null && {
13858
13676
  contactProtocols: serializeAws_json1_1ContactProtocolsList(input.contactProtocols, context),
13859
- })), (input.datapointsToAlarm !== undefined &&
13860
- input.datapointsToAlarm !== null && { datapointsToAlarm: input.datapointsToAlarm })), (input.evaluationPeriods !== undefined &&
13861
- input.evaluationPeriods !== null && { evaluationPeriods: input.evaluationPeriods })), (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.monitoredResourceName !== undefined &&
13862
- input.monitoredResourceName !== null && { monitoredResourceName: input.monitoredResourceName })), (input.notificationEnabled !== undefined &&
13863
- input.notificationEnabled !== null && { notificationEnabled: input.notificationEnabled })), (input.notificationTriggers !== undefined &&
13864
- input.notificationTriggers !== null && {
13677
+ })), (input.datapointsToAlarm != null && { datapointsToAlarm: input.datapointsToAlarm })), (input.evaluationPeriods != null && { evaluationPeriods: input.evaluationPeriods })), (input.metricName != null && { metricName: input.metricName })), (input.monitoredResourceName != null && { monitoredResourceName: input.monitoredResourceName })), (input.notificationEnabled != null && { notificationEnabled: input.notificationEnabled })), (input.notificationTriggers != null && {
13865
13678
  notificationTriggers: serializeAws_json1_1NotificationTriggerList(input.notificationTriggers, context),
13866
- })), (input.threshold !== undefined && input.threshold !== null && { threshold: __serializeFloat(input.threshold) })), (input.treatMissingData !== undefined &&
13867
- input.treatMissingData !== null && { treatMissingData: input.treatMissingData }));
13679
+ })), (input.threshold != null && { threshold: __serializeFloat(input.threshold) })), (input.treatMissingData != null && { treatMissingData: input.treatMissingData }));
13868
13680
  };
13869
13681
  var serializeAws_json1_1PutInstancePublicPortsRequest = function (input, context) {
13870
- return __assign(__assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName })), (input.portInfos !== undefined &&
13871
- input.portInfos !== null && { portInfos: serializeAws_json1_1PortInfoList(input.portInfos, context) }));
13682
+ return __assign(__assign({}, (input.instanceName != null && { instanceName: input.instanceName })), (input.portInfos != null && { portInfos: serializeAws_json1_1PortInfoList(input.portInfos, context) }));
13872
13683
  };
13873
13684
  var serializeAws_json1_1QueryStringObject = function (input, context) {
13874
- return __assign(__assign({}, (input.option !== undefined && input.option !== null && { option: input.option })), (input.queryStringsAllowList !== undefined &&
13875
- input.queryStringsAllowList !== null && {
13685
+ return __assign(__assign({}, (input.option != null && { option: input.option })), (input.queryStringsAllowList != null && {
13876
13686
  queryStringsAllowList: serializeAws_json1_1StringList(input.queryStringsAllowList, context),
13877
13687
  }));
13878
13688
  };
13879
13689
  var serializeAws_json1_1RebootInstanceRequest = function (input, context) {
13880
- return __assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13690
+ return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
13881
13691
  };
13882
13692
  var serializeAws_json1_1RebootRelationalDatabaseRequest = function (input, context) {
13883
- return __assign({}, (input.relationalDatabaseName !== undefined &&
13884
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13693
+ return __assign({}, (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13885
13694
  };
13886
13695
  var serializeAws_json1_1RegisterContainerImageRequest = function (input, context) {
13887
- return __assign(__assign(__assign({}, (input.digest !== undefined && input.digest !== null && { digest: input.digest })), (input.label !== undefined && input.label !== null && { label: input.label })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13696
+ return __assign(__assign(__assign({}, (input.digest != null && { digest: input.digest })), (input.label != null && { label: input.label })), (input.serviceName != null && { serviceName: input.serviceName }));
13888
13697
  };
13889
13698
  var serializeAws_json1_1RelationalDatabaseParameter = function (input, context) {
13890
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.allowedValues !== undefined && input.allowedValues !== null && { allowedValues: input.allowedValues })), (input.applyMethod !== undefined && input.applyMethod !== null && { applyMethod: input.applyMethod })), (input.applyType !== undefined && input.applyType !== null && { applyType: input.applyType })), (input.dataType !== undefined && input.dataType !== null && { dataType: input.dataType })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.isModifiable !== undefined && input.isModifiable !== null && { isModifiable: input.isModifiable })), (input.parameterName !== undefined && input.parameterName !== null && { parameterName: input.parameterName })), (input.parameterValue !== undefined &&
13891
- input.parameterValue !== null && { parameterValue: input.parameterValue }));
13699
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.allowedValues != null && { allowedValues: input.allowedValues })), (input.applyMethod != null && { applyMethod: input.applyMethod })), (input.applyType != null && { applyType: input.applyType })), (input.dataType != null && { dataType: input.dataType })), (input.description != null && { description: input.description })), (input.isModifiable != null && { isModifiable: input.isModifiable })), (input.parameterName != null && { parameterName: input.parameterName })), (input.parameterValue != null && { parameterValue: input.parameterValue }));
13892
13700
  };
13893
13701
  var serializeAws_json1_1RelationalDatabaseParameterList = function (input, context) {
13894
13702
  return input
@@ -13901,11 +13709,10 @@ var serializeAws_json1_1RelationalDatabaseParameterList = function (input, conte
13901
13709
  });
13902
13710
  };
13903
13711
  var serializeAws_json1_1ReleaseStaticIpRequest = function (input, context) {
13904
- return __assign({}, (input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }));
13712
+ return __assign({}, (input.staticIpName != null && { staticIpName: input.staticIpName }));
13905
13713
  };
13906
13714
  var serializeAws_json1_1ResetDistributionCacheRequest = function (input, context) {
13907
- return __assign({}, (input.distributionName !== undefined &&
13908
- input.distributionName !== null && { distributionName: input.distributionName }));
13715
+ return __assign({}, (input.distributionName != null && { distributionName: input.distributionName }));
13909
13716
  };
13910
13717
  var serializeAws_json1_1ResourceNameList = function (input, context) {
13911
13718
  return input
@@ -13918,28 +13725,25 @@ var serializeAws_json1_1ResourceNameList = function (input, context) {
13918
13725
  });
13919
13726
  };
13920
13727
  var serializeAws_json1_1SendContactMethodVerificationRequest = function (input, context) {
13921
- return __assign({}, (input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }));
13728
+ return __assign({}, (input.protocol != null && { protocol: input.protocol }));
13922
13729
  };
13923
13730
  var serializeAws_json1_1SetIpAddressTypeRequest = function (input, context) {
13924
- return __assign(__assign(__assign({}, (input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }));
13731
+ return __assign(__assign(__assign({}, (input.ipAddressType != null && { ipAddressType: input.ipAddressType })), (input.resourceName != null && { resourceName: input.resourceName })), (input.resourceType != null && { resourceType: input.resourceType }));
13925
13732
  };
13926
13733
  var serializeAws_json1_1SetResourceAccessForBucketRequest = function (input, context) {
13927
- return __assign(__assign(__assign({}, (input.access !== undefined && input.access !== null && { access: input.access })), (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }));
13734
+ return __assign(__assign(__assign({}, (input.access != null && { access: input.access })), (input.bucketName != null && { bucketName: input.bucketName })), (input.resourceName != null && { resourceName: input.resourceName }));
13928
13735
  };
13929
13736
  var serializeAws_json1_1StartInstanceRequest = function (input, context) {
13930
- return __assign({}, (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13737
+ return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
13931
13738
  };
13932
13739
  var serializeAws_json1_1StartRelationalDatabaseRequest = function (input, context) {
13933
- return __assign({}, (input.relationalDatabaseName !== undefined &&
13934
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13740
+ return __assign({}, (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
13935
13741
  };
13936
13742
  var serializeAws_json1_1StopInstanceRequest = function (input, context) {
13937
- return __assign(__assign({}, (input.force !== undefined && input.force !== null && { force: input.force })), (input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }));
13743
+ return __assign(__assign({}, (input.force != null && { force: input.force })), (input.instanceName != null && { instanceName: input.instanceName }));
13938
13744
  };
13939
13745
  var serializeAws_json1_1StopRelationalDatabaseRequest = function (input, context) {
13940
- return __assign(__assign({}, (input.relationalDatabaseName !== undefined &&
13941
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.relationalDatabaseSnapshotName !== undefined &&
13942
- input.relationalDatabaseSnapshotName !== null && {
13746
+ return __assign(__assign({}, (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.relationalDatabaseSnapshotName != null && {
13943
13747
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
13944
13748
  }));
13945
13749
  };
@@ -13964,7 +13768,7 @@ var serializeAws_json1_1SubjectAlternativeNameList = function (input, context) {
13964
13768
  });
13965
13769
  };
13966
13770
  var serializeAws_json1_1Tag = function (input, context) {
13967
- return __assign(__assign({}, (input.key !== undefined && input.key !== null && { key: input.key })), (input.value !== undefined && input.value !== null && { value: input.value }));
13771
+ return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
13968
13772
  };
13969
13773
  var serializeAws_json1_1TagKeyList = function (input, context) {
13970
13774
  return input
@@ -13987,86 +13791,59 @@ var serializeAws_json1_1TagList = function (input, context) {
13987
13791
  });
13988
13792
  };
13989
13793
  var serializeAws_json1_1TagResourceRequest = function (input, context) {
13990
- return __assign(__assign(__assign({}, (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13794
+ return __assign(__assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.resourceName != null && { resourceName: input.resourceName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
13991
13795
  };
13992
13796
  var serializeAws_json1_1TestAlarmRequest = function (input, context) {
13993
- return __assign(__assign({}, (input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName })), (input.state !== undefined && input.state !== null && { state: input.state }));
13797
+ return __assign(__assign({}, (input.alarmName != null && { alarmName: input.alarmName })), (input.state != null && { state: input.state }));
13994
13798
  };
13995
13799
  var serializeAws_json1_1UnpeerVpcRequest = function (input, context) {
13996
13800
  return {};
13997
13801
  };
13998
13802
  var serializeAws_json1_1UntagResourceRequest = function (input, context) {
13999
- return __assign(__assign(__assign({}, (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName })), (input.tagKeys !== undefined &&
14000
- input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }));
13803
+ return __assign(__assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.resourceName != null && { resourceName: input.resourceName })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }));
14001
13804
  };
14002
13805
  var serializeAws_json1_1UpdateBucketBundleRequest = function (input, context) {
14003
- return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }));
13806
+ return __assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bundleId != null && { bundleId: input.bundleId }));
14004
13807
  };
14005
13808
  var serializeAws_json1_1UpdateBucketRequest = function (input, context) {
14006
- return __assign(__assign(__assign(__assign(__assign({}, (input.accessLogConfig !== undefined &&
14007
- input.accessLogConfig !== null && {
13809
+ return __assign(__assign(__assign(__assign(__assign({}, (input.accessLogConfig != null && {
14008
13810
  accessLogConfig: serializeAws_json1_1BucketAccessLogConfig(input.accessLogConfig, context),
14009
- })), (input.accessRules !== undefined &&
14010
- input.accessRules !== null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) })), (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.readonlyAccessAccounts !== undefined &&
14011
- input.readonlyAccessAccounts !== null && {
13811
+ })), (input.accessRules != null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) })), (input.bucketName != null && { bucketName: input.bucketName })), (input.readonlyAccessAccounts != null && {
14012
13812
  readonlyAccessAccounts: serializeAws_json1_1PartnerIdList(input.readonlyAccessAccounts, context),
14013
- })), (input.versioning !== undefined && input.versioning !== null && { versioning: input.versioning }));
13813
+ })), (input.versioning != null && { versioning: input.versioning }));
14014
13814
  };
14015
13815
  var serializeAws_json1_1UpdateContainerServiceRequest = function (input, context) {
14016
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.isDisabled !== undefined && input.isDisabled !== null && { isDisabled: input.isDisabled })), (input.power !== undefined && input.power !== null && { power: input.power })), (input.privateRegistryAccess !== undefined &&
14017
- input.privateRegistryAccess !== null && {
13816
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.isDisabled != null && { isDisabled: input.isDisabled })), (input.power != null && { power: input.power })), (input.privateRegistryAccess != null && {
14018
13817
  privateRegistryAccess: serializeAws_json1_1PrivateRegistryAccessRequest(input.privateRegistryAccess, context),
14019
- })), (input.publicDomainNames !== undefined &&
14020
- input.publicDomainNames !== null && {
13818
+ })), (input.publicDomainNames != null && {
14021
13819
  publicDomainNames: serializeAws_json1_1ContainerServicePublicDomains(input.publicDomainNames, context),
14022
- })), (input.scale !== undefined && input.scale !== null && { scale: input.scale })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
13820
+ })), (input.scale != null && { scale: input.scale })), (input.serviceName != null && { serviceName: input.serviceName }));
14023
13821
  };
14024
13822
  var serializeAws_json1_1UpdateDistributionBundleRequest = function (input, context) {
14025
- return __assign(__assign({}, (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId })), (input.distributionName !== undefined &&
14026
- input.distributionName !== null && { distributionName: input.distributionName }));
13823
+ return __assign(__assign({}, (input.bundleId != null && { bundleId: input.bundleId })), (input.distributionName != null && { distributionName: input.distributionName }));
14027
13824
  };
14028
13825
  var serializeAws_json1_1UpdateDistributionRequest = function (input, context) {
14029
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.cacheBehaviorSettings !== undefined &&
14030
- input.cacheBehaviorSettings !== null && {
13826
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.cacheBehaviorSettings != null && {
14031
13827
  cacheBehaviorSettings: serializeAws_json1_1CacheSettings(input.cacheBehaviorSettings, context),
14032
- })), (input.cacheBehaviors !== undefined &&
14033
- input.cacheBehaviors !== null && {
13828
+ })), (input.cacheBehaviors != null && {
14034
13829
  cacheBehaviors: serializeAws_json1_1CacheBehaviorList(input.cacheBehaviors, context),
14035
- })), (input.defaultCacheBehavior !== undefined &&
14036
- input.defaultCacheBehavior !== null && {
13830
+ })), (input.defaultCacheBehavior != null && {
14037
13831
  defaultCacheBehavior: serializeAws_json1_1CacheBehavior(input.defaultCacheBehavior, context),
14038
- })), (input.distributionName !== undefined &&
14039
- input.distributionName !== null && { distributionName: input.distributionName })), (input.isEnabled !== undefined && input.isEnabled !== null && { isEnabled: input.isEnabled })), (input.origin !== undefined &&
14040
- input.origin !== null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) }));
13832
+ })), (input.distributionName != null && { distributionName: input.distributionName })), (input.isEnabled != null && { isEnabled: input.isEnabled })), (input.origin != null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) }));
14041
13833
  };
14042
13834
  var serializeAws_json1_1UpdateDomainEntryRequest = function (input, context) {
14043
- return __assign(__assign({}, (input.domainEntry !== undefined &&
14044
- input.domainEntry !== null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) })), (input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }));
13835
+ return __assign(__assign({}, (input.domainEntry != null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) })), (input.domainName != null && { domainName: input.domainName }));
14045
13836
  };
14046
13837
  var serializeAws_json1_1UpdateLoadBalancerAttributeRequest = function (input, context) {
14047
- return __assign(__assign(__assign({}, (input.attributeName !== undefined && input.attributeName !== null && { attributeName: input.attributeName })), (input.attributeValue !== undefined &&
14048
- input.attributeValue !== null && { attributeValue: input.attributeValue })), (input.loadBalancerName !== undefined &&
14049
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }));
13838
+ return __assign(__assign(__assign({}, (input.attributeName != null && { attributeName: input.attributeName })), (input.attributeValue != null && { attributeValue: input.attributeValue })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }));
14050
13839
  };
14051
13840
  var serializeAws_json1_1UpdateRelationalDatabaseParametersRequest = function (input, context) {
14052
- return __assign(__assign({}, (input.parameters !== undefined &&
14053
- input.parameters !== null && {
13841
+ return __assign(__assign({}, (input.parameters != null && {
14054
13842
  parameters: serializeAws_json1_1RelationalDatabaseParameterList(input.parameters, context),
14055
- })), (input.relationalDatabaseName !== undefined &&
14056
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }));
13843
+ })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }));
14057
13844
  };
14058
13845
  var serializeAws_json1_1UpdateRelationalDatabaseRequest = function (input, context) {
14059
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applyImmediately !== undefined &&
14060
- input.applyImmediately !== null && { applyImmediately: input.applyImmediately })), (input.caCertificateIdentifier !== undefined &&
14061
- input.caCertificateIdentifier !== null && { caCertificateIdentifier: input.caCertificateIdentifier })), (input.disableBackupRetention !== undefined &&
14062
- input.disableBackupRetention !== null && { disableBackupRetention: input.disableBackupRetention })), (input.enableBackupRetention !== undefined &&
14063
- input.enableBackupRetention !== null && { enableBackupRetention: input.enableBackupRetention })), (input.masterUserPassword !== undefined &&
14064
- input.masterUserPassword !== null && { masterUserPassword: input.masterUserPassword })), (input.preferredBackupWindow !== undefined &&
14065
- input.preferredBackupWindow !== null && { preferredBackupWindow: input.preferredBackupWindow })), (input.preferredMaintenanceWindow !== undefined &&
14066
- input.preferredMaintenanceWindow !== null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow })), (input.publiclyAccessible !== undefined &&
14067
- input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible })), (input.relationalDatabaseName !== undefined &&
14068
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName })), (input.rotateMasterUserPassword !== undefined &&
14069
- input.rotateMasterUserPassword !== null && { rotateMasterUserPassword: input.rotateMasterUserPassword }));
13846
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applyImmediately != null && { applyImmediately: input.applyImmediately })), (input.caCertificateIdentifier != null && { caCertificateIdentifier: input.caCertificateIdentifier })), (input.disableBackupRetention != null && { disableBackupRetention: input.disableBackupRetention })), (input.enableBackupRetention != null && { enableBackupRetention: input.enableBackupRetention })), (input.masterUserPassword != null && { masterUserPassword: input.masterUserPassword })), (input.preferredBackupWindow != null && { preferredBackupWindow: input.preferredBackupWindow })), (input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow })), (input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible })), (input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName })), (input.rotateMasterUserPassword != null && { rotateMasterUserPassword: input.rotateMasterUserPassword }));
14070
13847
  };
14071
13848
  var deserializeAws_json1_1AccessDeniedException = function (output, context) {
14072
13849
  return {
@@ -14079,19 +13856,15 @@ var deserializeAws_json1_1AccessDeniedException = function (output, context) {
14079
13856
  var deserializeAws_json1_1AccessKey = function (output, context) {
14080
13857
  return {
14081
13858
  accessKeyId: __expectString(output.accessKeyId),
14082
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14083
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14084
- : undefined,
14085
- lastUsed: output.lastUsed !== undefined && output.lastUsed !== null
14086
- ? deserializeAws_json1_1AccessKeyLastUsed(output.lastUsed, context)
14087
- : undefined,
13859
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
13860
+ lastUsed: output.lastUsed != null ? deserializeAws_json1_1AccessKeyLastUsed(output.lastUsed, context) : undefined,
14088
13861
  secretAccessKey: __expectString(output.secretAccessKey),
14089
13862
  status: __expectString(output.status),
14090
13863
  };
14091
13864
  };
14092
13865
  var deserializeAws_json1_1AccessKeyLastUsed = function (output, context) {
14093
13866
  return {
14094
- lastUsedDate: output.lastUsedDate !== undefined && output.lastUsedDate !== null
13867
+ lastUsedDate: output.lastUsedDate != null
14095
13868
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUsedDate)))
14096
13869
  : undefined,
14097
13870
  region: __expectString(output.region),
@@ -14129,7 +13902,7 @@ var deserializeAws_json1_1AccessRules = function (output, context) {
14129
13902
  var deserializeAws_json1_1AccountLevelBpaSync = function (output, context) {
14130
13903
  return {
14131
13904
  bpaImpactsLightsail: __expectBoolean(output.bpaImpactsLightsail),
14132
- lastSyncedAt: output.lastSyncedAt !== undefined && output.lastSyncedAt !== null
13905
+ lastSyncedAt: output.lastSyncedAt != null
14133
13906
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastSyncedAt)))
14134
13907
  : undefined,
14135
13908
  message: __expectString(output.message),
@@ -14167,24 +13940,20 @@ var deserializeAws_json1_1Alarm = function (output, context) {
14167
13940
  return {
14168
13941
  arn: __expectString(output.arn),
14169
13942
  comparisonOperator: __expectString(output.comparisonOperator),
14170
- contactProtocols: output.contactProtocols !== undefined && output.contactProtocols !== null
13943
+ contactProtocols: output.contactProtocols != null
14171
13944
  ? deserializeAws_json1_1ContactProtocolsList(output.contactProtocols, context)
14172
13945
  : undefined,
14173
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14174
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14175
- : undefined,
13946
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14176
13947
  datapointsToAlarm: __expectInt32(output.datapointsToAlarm),
14177
13948
  evaluationPeriods: __expectInt32(output.evaluationPeriods),
14178
- location: output.location !== undefined && output.location !== null
14179
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14180
- : undefined,
13949
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14181
13950
  metricName: __expectString(output.metricName),
14182
- monitoredResourceInfo: output.monitoredResourceInfo !== undefined && output.monitoredResourceInfo !== null
13951
+ monitoredResourceInfo: output.monitoredResourceInfo != null
14183
13952
  ? deserializeAws_json1_1MonitoredResourceInfo(output.monitoredResourceInfo, context)
14184
13953
  : undefined,
14185
13954
  name: __expectString(output.name),
14186
13955
  notificationEnabled: __expectBoolean(output.notificationEnabled),
14187
- notificationTriggers: output.notificationTriggers !== undefined && output.notificationTriggers !== null
13956
+ notificationTriggers: output.notificationTriggers != null
14188
13957
  ? deserializeAws_json1_1NotificationTriggerList(output.notificationTriggers, context)
14189
13958
  : undefined,
14190
13959
  period: __expectInt32(output.period),
@@ -14210,23 +13979,17 @@ var deserializeAws_json1_1AlarmsList = function (output, context) {
14210
13979
  };
14211
13980
  var deserializeAws_json1_1AllocateStaticIpResult = function (output, context) {
14212
13981
  return {
14213
- operations: output.operations !== undefined && output.operations !== null
14214
- ? deserializeAws_json1_1OperationList(output.operations, context)
14215
- : undefined,
13982
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14216
13983
  };
14217
13984
  };
14218
13985
  var deserializeAws_json1_1AttachCertificateToDistributionResult = function (output, context) {
14219
13986
  return {
14220
- operation: output.operation !== undefined && output.operation !== null
14221
- ? deserializeAws_json1_1Operation(output.operation, context)
14222
- : undefined,
13987
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14223
13988
  };
14224
13989
  };
14225
13990
  var deserializeAws_json1_1AttachDiskResult = function (output, context) {
14226
13991
  return {
14227
- operations: output.operations !== undefined && output.operations !== null
14228
- ? deserializeAws_json1_1OperationList(output.operations, context)
14229
- : undefined,
13992
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14230
13993
  };
14231
13994
  };
14232
13995
  var deserializeAws_json1_1AttachedDisk = function (output, context) {
@@ -14248,32 +14011,24 @@ var deserializeAws_json1_1AttachedDiskList = function (output, context) {
14248
14011
  };
14249
14012
  var deserializeAws_json1_1AttachInstancesToLoadBalancerResult = function (output, context) {
14250
14013
  return {
14251
- operations: output.operations !== undefined && output.operations !== null
14252
- ? deserializeAws_json1_1OperationList(output.operations, context)
14253
- : undefined,
14014
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14254
14015
  };
14255
14016
  };
14256
14017
  var deserializeAws_json1_1AttachLoadBalancerTlsCertificateResult = function (output, context) {
14257
14018
  return {
14258
- operations: output.operations !== undefined && output.operations !== null
14259
- ? deserializeAws_json1_1OperationList(output.operations, context)
14260
- : undefined,
14019
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14261
14020
  };
14262
14021
  };
14263
14022
  var deserializeAws_json1_1AttachStaticIpResult = function (output, context) {
14264
14023
  return {
14265
- operations: output.operations !== undefined && output.operations !== null
14266
- ? deserializeAws_json1_1OperationList(output.operations, context)
14267
- : undefined,
14024
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14268
14025
  };
14269
14026
  };
14270
14027
  var deserializeAws_json1_1AutoSnapshotDetails = function (output, context) {
14271
14028
  return {
14272
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14273
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14274
- : undefined,
14029
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14275
14030
  date: __expectString(output.date),
14276
- fromAttachedDisks: output.fromAttachedDisks !== undefined && output.fromAttachedDisks !== null
14031
+ fromAttachedDisks: output.fromAttachedDisks != null
14277
14032
  ? deserializeAws_json1_1AttachedDiskList(output.fromAttachedDisks, context)
14278
14033
  : undefined,
14279
14034
  status: __expectString(output.status),
@@ -14337,36 +14092,26 @@ var deserializeAws_json1_1BlueprintList = function (output, context) {
14337
14092
  var deserializeAws_json1_1Bucket = function (output, context) {
14338
14093
  return {
14339
14094
  ableToUpdateBundle: __expectBoolean(output.ableToUpdateBundle),
14340
- accessLogConfig: output.accessLogConfig !== undefined && output.accessLogConfig !== null
14095
+ accessLogConfig: output.accessLogConfig != null
14341
14096
  ? deserializeAws_json1_1BucketAccessLogConfig(output.accessLogConfig, context)
14342
14097
  : undefined,
14343
- accessRules: output.accessRules !== undefined && output.accessRules !== null
14344
- ? deserializeAws_json1_1AccessRules(output.accessRules, context)
14345
- : undefined,
14098
+ accessRules: output.accessRules != null ? deserializeAws_json1_1AccessRules(output.accessRules, context) : undefined,
14346
14099
  arn: __expectString(output.arn),
14347
14100
  bundleId: __expectString(output.bundleId),
14348
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14349
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14350
- : undefined,
14351
- location: output.location !== undefined && output.location !== null
14352
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14353
- : undefined,
14101
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14102
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14354
14103
  name: __expectString(output.name),
14355
14104
  objectVersioning: __expectString(output.objectVersioning),
14356
- readonlyAccessAccounts: output.readonlyAccessAccounts !== undefined && output.readonlyAccessAccounts !== null
14105
+ readonlyAccessAccounts: output.readonlyAccessAccounts != null
14357
14106
  ? deserializeAws_json1_1PartnerIdList(output.readonlyAccessAccounts, context)
14358
14107
  : undefined,
14359
14108
  resourceType: __expectString(output.resourceType),
14360
- resourcesReceivingAccess: output.resourcesReceivingAccess !== undefined && output.resourcesReceivingAccess !== null
14109
+ resourcesReceivingAccess: output.resourcesReceivingAccess != null
14361
14110
  ? deserializeAws_json1_1AccessReceiverList(output.resourcesReceivingAccess, context)
14362
14111
  : undefined,
14363
- state: output.state !== undefined && output.state !== null
14364
- ? deserializeAws_json1_1BucketState(output.state, context)
14365
- : undefined,
14112
+ state: output.state != null ? deserializeAws_json1_1BucketState(output.state, context) : undefined,
14366
14113
  supportCode: __expectString(output.supportCode),
14367
- tags: output.tags !== undefined && output.tags !== null
14368
- ? deserializeAws_json1_1TagList(output.tags, context)
14369
- : undefined,
14114
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14370
14115
  url: __expectString(output.url),
14371
14116
  };
14372
14117
  };
@@ -14426,7 +14171,7 @@ var deserializeAws_json1_1Bundle = function (output, context) {
14426
14171
  power: __expectInt32(output.power),
14427
14172
  price: __limitedParseFloat32(output.price),
14428
14173
  ramSizeInGb: __limitedParseFloat32(output.ramSizeInGb),
14429
- supportedPlatforms: output.supportedPlatforms !== undefined && output.supportedPlatforms !== null
14174
+ supportedPlatforms: output.supportedPlatforms != null
14430
14175
  ? deserializeAws_json1_1InstancePlatformList(output.supportedPlatforms, context)
14431
14176
  : undefined,
14432
14177
  transferPerMonthInGb: __expectInt32(output.transferPerMonthInGb),
@@ -14470,13 +14215,13 @@ var deserializeAws_json1_1CacheSettings = function (output, context) {
14470
14215
  allowedHTTPMethods: __expectString(output.allowedHTTPMethods),
14471
14216
  cachedHTTPMethods: __expectString(output.cachedHTTPMethods),
14472
14217
  defaultTTL: __expectLong(output.defaultTTL),
14473
- forwardedCookies: output.forwardedCookies !== undefined && output.forwardedCookies !== null
14218
+ forwardedCookies: output.forwardedCookies != null
14474
14219
  ? deserializeAws_json1_1CookieObject(output.forwardedCookies, context)
14475
14220
  : undefined,
14476
- forwardedHeaders: output.forwardedHeaders !== undefined && output.forwardedHeaders !== null
14221
+ forwardedHeaders: output.forwardedHeaders != null
14477
14222
  ? deserializeAws_json1_1HeaderObject(output.forwardedHeaders, context)
14478
14223
  : undefined,
14479
- forwardedQueryStrings: output.forwardedQueryStrings !== undefined && output.forwardedQueryStrings !== null
14224
+ forwardedQueryStrings: output.forwardedQueryStrings != null
14480
14225
  ? deserializeAws_json1_1QueryStringObject(output.forwardedQueryStrings, context)
14481
14226
  : undefined,
14482
14227
  maximumTTL: __expectLong(output.maximumTTL),
@@ -14486,57 +14231,41 @@ var deserializeAws_json1_1CacheSettings = function (output, context) {
14486
14231
  var deserializeAws_json1_1Certificate = function (output, context) {
14487
14232
  return {
14488
14233
  arn: __expectString(output.arn),
14489
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14490
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14491
- : undefined,
14234
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14492
14235
  domainName: __expectString(output.domainName),
14493
- domainValidationRecords: output.domainValidationRecords !== undefined && output.domainValidationRecords !== null
14236
+ domainValidationRecords: output.domainValidationRecords != null
14494
14237
  ? deserializeAws_json1_1DomainValidationRecordList(output.domainValidationRecords, context)
14495
14238
  : undefined,
14496
14239
  eligibleToRenew: __expectString(output.eligibleToRenew),
14497
14240
  inUseResourceCount: __expectInt32(output.inUseResourceCount),
14498
- issuedAt: output.issuedAt !== undefined && output.issuedAt !== null
14499
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.issuedAt)))
14500
- : undefined,
14241
+ issuedAt: output.issuedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.issuedAt))) : undefined,
14501
14242
  issuerCA: __expectString(output.issuerCA),
14502
14243
  keyAlgorithm: __expectString(output.keyAlgorithm),
14503
14244
  name: __expectString(output.name),
14504
- notAfter: output.notAfter !== undefined && output.notAfter !== null
14505
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notAfter)))
14506
- : undefined,
14507
- notBefore: output.notBefore !== undefined && output.notBefore !== null
14508
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notBefore)))
14509
- : undefined,
14510
- renewalSummary: output.renewalSummary !== undefined && output.renewalSummary !== null
14511
- ? deserializeAws_json1_1RenewalSummary(output.renewalSummary, context)
14512
- : undefined,
14245
+ notAfter: output.notAfter != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notAfter))) : undefined,
14246
+ notBefore: output.notBefore != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notBefore))) : undefined,
14247
+ renewalSummary: output.renewalSummary != null ? deserializeAws_json1_1RenewalSummary(output.renewalSummary, context) : undefined,
14513
14248
  requestFailureReason: __expectString(output.requestFailureReason),
14514
14249
  revocationReason: __expectString(output.revocationReason),
14515
- revokedAt: output.revokedAt !== undefined && output.revokedAt !== null
14516
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.revokedAt)))
14517
- : undefined,
14250
+ revokedAt: output.revokedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.revokedAt))) : undefined,
14518
14251
  serialNumber: __expectString(output.serialNumber),
14519
14252
  status: __expectString(output.status),
14520
- subjectAlternativeNames: output.subjectAlternativeNames !== undefined && output.subjectAlternativeNames !== null
14253
+ subjectAlternativeNames: output.subjectAlternativeNames != null
14521
14254
  ? deserializeAws_json1_1SubjectAlternativeNameList(output.subjectAlternativeNames, context)
14522
14255
  : undefined,
14523
14256
  supportCode: __expectString(output.supportCode),
14524
- tags: output.tags !== undefined && output.tags !== null
14525
- ? deserializeAws_json1_1TagList(output.tags, context)
14526
- : undefined,
14257
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14527
14258
  };
14528
14259
  };
14529
14260
  var deserializeAws_json1_1CertificateSummary = function (output, context) {
14530
14261
  return {
14531
14262
  certificateArn: __expectString(output.certificateArn),
14532
- certificateDetail: output.certificateDetail !== undefined && output.certificateDetail !== null
14263
+ certificateDetail: output.certificateDetail != null
14533
14264
  ? deserializeAws_json1_1Certificate(output.certificateDetail, context)
14534
14265
  : undefined,
14535
14266
  certificateName: __expectString(output.certificateName),
14536
14267
  domainName: __expectString(output.domainName),
14537
- tags: output.tags !== undefined && output.tags !== null
14538
- ? deserializeAws_json1_1TagList(output.tags, context)
14539
- : undefined,
14268
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14540
14269
  };
14541
14270
  };
14542
14271
  var deserializeAws_json1_1CertificateSummaryList = function (output, context) {
@@ -14552,26 +14281,20 @@ var deserializeAws_json1_1CertificateSummaryList = function (output, context) {
14552
14281
  };
14553
14282
  var deserializeAws_json1_1CloseInstancePublicPortsResult = function (output, context) {
14554
14283
  return {
14555
- operation: output.operation !== undefined && output.operation !== null
14556
- ? deserializeAws_json1_1Operation(output.operation, context)
14557
- : undefined,
14284
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14558
14285
  };
14559
14286
  };
14560
14287
  var deserializeAws_json1_1CloudFormationStackRecord = function (output, context) {
14561
14288
  return {
14562
14289
  arn: __expectString(output.arn),
14563
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14564
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14565
- : undefined,
14566
- destinationInfo: output.destinationInfo !== undefined && output.destinationInfo !== null
14290
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14291
+ destinationInfo: output.destinationInfo != null
14567
14292
  ? deserializeAws_json1_1DestinationInfo(output.destinationInfo, context)
14568
14293
  : undefined,
14569
- location: output.location !== undefined && output.location !== null
14570
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14571
- : undefined,
14294
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14572
14295
  name: __expectString(output.name),
14573
14296
  resourceType: __expectString(output.resourceType),
14574
- sourceInfo: output.sourceInfo !== undefined && output.sourceInfo !== null
14297
+ sourceInfo: output.sourceInfo != null
14575
14298
  ? deserializeAws_json1_1CloudFormationStackRecordSourceInfoList(output.sourceInfo, context)
14576
14299
  : undefined,
14577
14300
  state: __expectString(output.state),
@@ -14610,12 +14333,8 @@ var deserializeAws_json1_1ContactMethod = function (output, context) {
14610
14333
  return {
14611
14334
  arn: __expectString(output.arn),
14612
14335
  contactEndpoint: __expectString(output.contactEndpoint),
14613
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14614
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14615
- : undefined,
14616
- location: output.location !== undefined && output.location !== null
14617
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14618
- : undefined,
14336
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14337
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14619
14338
  name: __expectString(output.name),
14620
14339
  protocol: __expectString(output.protocol),
14621
14340
  resourceType: __expectString(output.resourceType),
@@ -14647,23 +14366,15 @@ var deserializeAws_json1_1ContactProtocolsList = function (output, context) {
14647
14366
  };
14648
14367
  var deserializeAws_json1_1Container = function (output, context) {
14649
14368
  return {
14650
- command: output.command !== undefined && output.command !== null
14651
- ? deserializeAws_json1_1StringList(output.command, context)
14652
- : undefined,
14653
- environment: output.environment !== undefined && output.environment !== null
14654
- ? deserializeAws_json1_1Environment(output.environment, context)
14655
- : undefined,
14369
+ command: output.command != null ? deserializeAws_json1_1StringList(output.command, context) : undefined,
14370
+ environment: output.environment != null ? deserializeAws_json1_1Environment(output.environment, context) : undefined,
14656
14371
  image: __expectString(output.image),
14657
- ports: output.ports !== undefined && output.ports !== null
14658
- ? deserializeAws_json1_1PortMap(output.ports, context)
14659
- : undefined,
14372
+ ports: output.ports != null ? deserializeAws_json1_1PortMap(output.ports, context) : undefined,
14660
14373
  };
14661
14374
  };
14662
14375
  var deserializeAws_json1_1ContainerImage = function (output, context) {
14663
14376
  return {
14664
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14665
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14666
- : undefined,
14377
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14667
14378
  digest: __expectString(output.digest),
14668
14379
  image: __expectString(output.image),
14669
14380
  };
@@ -14693,50 +14404,40 @@ var deserializeAws_json1_1ContainerService = function (output, context) {
14693
14404
  return {
14694
14405
  arn: __expectString(output.arn),
14695
14406
  containerServiceName: __expectString(output.containerServiceName),
14696
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14697
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14698
- : undefined,
14699
- currentDeployment: output.currentDeployment !== undefined && output.currentDeployment !== null
14407
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14408
+ currentDeployment: output.currentDeployment != null
14700
14409
  ? deserializeAws_json1_1ContainerServiceDeployment(output.currentDeployment, context)
14701
14410
  : undefined,
14702
14411
  isDisabled: __expectBoolean(output.isDisabled),
14703
- location: output.location !== undefined && output.location !== null
14704
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14705
- : undefined,
14706
- nextDeployment: output.nextDeployment !== undefined && output.nextDeployment !== null
14412
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14413
+ nextDeployment: output.nextDeployment != null
14707
14414
  ? deserializeAws_json1_1ContainerServiceDeployment(output.nextDeployment, context)
14708
14415
  : undefined,
14709
14416
  power: __expectString(output.power),
14710
14417
  powerId: __expectString(output.powerId),
14711
14418
  principalArn: __expectString(output.principalArn),
14712
14419
  privateDomainName: __expectString(output.privateDomainName),
14713
- privateRegistryAccess: output.privateRegistryAccess !== undefined && output.privateRegistryAccess !== null
14420
+ privateRegistryAccess: output.privateRegistryAccess != null
14714
14421
  ? deserializeAws_json1_1PrivateRegistryAccess(output.privateRegistryAccess, context)
14715
14422
  : undefined,
14716
- publicDomainNames: output.publicDomainNames !== undefined && output.publicDomainNames !== null
14423
+ publicDomainNames: output.publicDomainNames != null
14717
14424
  ? deserializeAws_json1_1ContainerServicePublicDomains(output.publicDomainNames, context)
14718
14425
  : undefined,
14719
14426
  resourceType: __expectString(output.resourceType),
14720
14427
  scale: __expectInt32(output.scale),
14721
14428
  state: __expectString(output.state),
14722
- stateDetail: output.stateDetail !== undefined && output.stateDetail !== null
14429
+ stateDetail: output.stateDetail != null
14723
14430
  ? deserializeAws_json1_1ContainerServiceStateDetail(output.stateDetail, context)
14724
14431
  : undefined,
14725
- tags: output.tags !== undefined && output.tags !== null
14726
- ? deserializeAws_json1_1TagList(output.tags, context)
14727
- : undefined,
14432
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14728
14433
  url: __expectString(output.url),
14729
14434
  };
14730
14435
  };
14731
14436
  var deserializeAws_json1_1ContainerServiceDeployment = function (output, context) {
14732
14437
  return {
14733
- containers: output.containers !== undefined && output.containers !== null
14734
- ? deserializeAws_json1_1ContainerMap(output.containers, context)
14735
- : undefined,
14736
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14737
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14738
- : undefined,
14739
- publicEndpoint: output.publicEndpoint !== undefined && output.publicEndpoint !== null
14438
+ containers: output.containers != null ? deserializeAws_json1_1ContainerMap(output.containers, context) : undefined,
14439
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14440
+ publicEndpoint: output.publicEndpoint != null
14740
14441
  ? deserializeAws_json1_1ContainerServiceEndpoint(output.publicEndpoint, context)
14741
14442
  : undefined,
14742
14443
  state: __expectString(output.state),
@@ -14764,7 +14465,7 @@ var deserializeAws_json1_1ContainerServiceEndpoint = function (output, context)
14764
14465
  return {
14765
14466
  containerName: __expectString(output.containerName),
14766
14467
  containerPort: __expectInt32(output.containerPort),
14767
- healthCheck: output.healthCheck !== undefined && output.healthCheck !== null
14468
+ healthCheck: output.healthCheck != null
14768
14469
  ? deserializeAws_json1_1ContainerServiceHealthCheckConfig(output.healthCheck, context)
14769
14470
  : undefined,
14770
14471
  };
@@ -14792,9 +14493,7 @@ var deserializeAws_json1_1ContainerServiceList = function (output, context) {
14792
14493
  };
14793
14494
  var deserializeAws_json1_1ContainerServiceLogEvent = function (output, context) {
14794
14495
  return {
14795
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14796
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
14797
- : undefined,
14496
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14798
14497
  message: __expectString(output.message),
14799
14498
  };
14800
14499
  };
@@ -14874,9 +14573,7 @@ var deserializeAws_json1_1ContainerServicePublicDomainsList = function (output,
14874
14573
  };
14875
14574
  var deserializeAws_json1_1ContainerServiceRegistryLogin = function (output, context) {
14876
14575
  return {
14877
- expiresAt: output.expiresAt !== undefined && output.expiresAt !== null
14878
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt)))
14879
- : undefined,
14576
+ expiresAt: output.expiresAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt))) : undefined,
14880
14577
  password: __expectString(output.password),
14881
14578
  registry: __expectString(output.registry),
14882
14579
  username: __expectString(output.username),
@@ -14884,7 +14581,7 @@ var deserializeAws_json1_1ContainerServiceRegistryLogin = function (output, cont
14884
14581
  };
14885
14582
  var deserializeAws_json1_1ContainerServicesListResult = function (output, context) {
14886
14583
  return {
14887
- containerServices: output.containerServices !== undefined && output.containerServices !== null
14584
+ containerServices: output.containerServices != null
14888
14585
  ? deserializeAws_json1_1ContainerServiceList(output.containerServices, context)
14889
14586
  : undefined,
14890
14587
  };
@@ -14897,237 +14594,173 @@ var deserializeAws_json1_1ContainerServiceStateDetail = function (output, contex
14897
14594
  };
14898
14595
  var deserializeAws_json1_1CookieObject = function (output, context) {
14899
14596
  return {
14900
- cookiesAllowList: output.cookiesAllowList !== undefined && output.cookiesAllowList !== null
14901
- ? deserializeAws_json1_1StringList(output.cookiesAllowList, context)
14902
- : undefined,
14597
+ cookiesAllowList: output.cookiesAllowList != null ? deserializeAws_json1_1StringList(output.cookiesAllowList, context) : undefined,
14903
14598
  option: __expectString(output.option),
14904
14599
  };
14905
14600
  };
14906
14601
  var deserializeAws_json1_1CopySnapshotResult = function (output, context) {
14907
14602
  return {
14908
- operations: output.operations !== undefined && output.operations !== null
14909
- ? deserializeAws_json1_1OperationList(output.operations, context)
14910
- : undefined,
14603
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14911
14604
  };
14912
14605
  };
14913
14606
  var deserializeAws_json1_1CreateBucketAccessKeyResult = function (output, context) {
14914
14607
  return {
14915
- accessKey: output.accessKey !== undefined && output.accessKey !== null
14916
- ? deserializeAws_json1_1AccessKey(output.accessKey, context)
14917
- : undefined,
14918
- operations: output.operations !== undefined && output.operations !== null
14919
- ? deserializeAws_json1_1OperationList(output.operations, context)
14920
- : undefined,
14608
+ accessKey: output.accessKey != null ? deserializeAws_json1_1AccessKey(output.accessKey, context) : undefined,
14609
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14921
14610
  };
14922
14611
  };
14923
14612
  var deserializeAws_json1_1CreateBucketResult = function (output, context) {
14924
14613
  return {
14925
- bucket: output.bucket !== undefined && output.bucket !== null
14926
- ? deserializeAws_json1_1Bucket(output.bucket, context)
14927
- : undefined,
14928
- operations: output.operations !== undefined && output.operations !== null
14929
- ? deserializeAws_json1_1OperationList(output.operations, context)
14930
- : undefined,
14614
+ bucket: output.bucket != null ? deserializeAws_json1_1Bucket(output.bucket, context) : undefined,
14615
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14931
14616
  };
14932
14617
  };
14933
14618
  var deserializeAws_json1_1CreateCertificateResult = function (output, context) {
14934
14619
  return {
14935
- certificate: output.certificate !== undefined && output.certificate !== null
14936
- ? deserializeAws_json1_1CertificateSummary(output.certificate, context)
14937
- : undefined,
14938
- operations: output.operations !== undefined && output.operations !== null
14939
- ? deserializeAws_json1_1OperationList(output.operations, context)
14940
- : undefined,
14620
+ certificate: output.certificate != null ? deserializeAws_json1_1CertificateSummary(output.certificate, context) : undefined,
14621
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14941
14622
  };
14942
14623
  };
14943
14624
  var deserializeAws_json1_1CreateCloudFormationStackResult = function (output, context) {
14944
14625
  return {
14945
- operations: output.operations !== undefined && output.operations !== null
14946
- ? deserializeAws_json1_1OperationList(output.operations, context)
14947
- : undefined,
14626
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14948
14627
  };
14949
14628
  };
14950
14629
  var deserializeAws_json1_1CreateContactMethodResult = function (output, context) {
14951
14630
  return {
14952
- operations: output.operations !== undefined && output.operations !== null
14953
- ? deserializeAws_json1_1OperationList(output.operations, context)
14954
- : undefined,
14631
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14955
14632
  };
14956
14633
  };
14957
14634
  var deserializeAws_json1_1CreateContainerServiceDeploymentResult = function (output, context) {
14958
14635
  return {
14959
- containerService: output.containerService !== undefined && output.containerService !== null
14636
+ containerService: output.containerService != null
14960
14637
  ? deserializeAws_json1_1ContainerService(output.containerService, context)
14961
14638
  : undefined,
14962
14639
  };
14963
14640
  };
14964
14641
  var deserializeAws_json1_1CreateContainerServiceRegistryLoginResult = function (output, context) {
14965
14642
  return {
14966
- registryLogin: output.registryLogin !== undefined && output.registryLogin !== null
14643
+ registryLogin: output.registryLogin != null
14967
14644
  ? deserializeAws_json1_1ContainerServiceRegistryLogin(output.registryLogin, context)
14968
14645
  : undefined,
14969
14646
  };
14970
14647
  };
14971
14648
  var deserializeAws_json1_1CreateContainerServiceResult = function (output, context) {
14972
14649
  return {
14973
- containerService: output.containerService !== undefined && output.containerService !== null
14650
+ containerService: output.containerService != null
14974
14651
  ? deserializeAws_json1_1ContainerService(output.containerService, context)
14975
14652
  : undefined,
14976
14653
  };
14977
14654
  };
14978
14655
  var deserializeAws_json1_1CreateDiskFromSnapshotResult = function (output, context) {
14979
14656
  return {
14980
- operations: output.operations !== undefined && output.operations !== null
14981
- ? deserializeAws_json1_1OperationList(output.operations, context)
14982
- : undefined,
14657
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14983
14658
  };
14984
14659
  };
14985
14660
  var deserializeAws_json1_1CreateDiskResult = function (output, context) {
14986
14661
  return {
14987
- operations: output.operations !== undefined && output.operations !== null
14988
- ? deserializeAws_json1_1OperationList(output.operations, context)
14989
- : undefined,
14662
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14990
14663
  };
14991
14664
  };
14992
14665
  var deserializeAws_json1_1CreateDiskSnapshotResult = function (output, context) {
14993
14666
  return {
14994
- operations: output.operations !== undefined && output.operations !== null
14995
- ? deserializeAws_json1_1OperationList(output.operations, context)
14996
- : undefined,
14667
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14997
14668
  };
14998
14669
  };
14999
14670
  var deserializeAws_json1_1CreateDistributionResult = function (output, context) {
15000
14671
  return {
15001
- distribution: output.distribution !== undefined && output.distribution !== null
14672
+ distribution: output.distribution != null
15002
14673
  ? deserializeAws_json1_1LightsailDistribution(output.distribution, context)
15003
14674
  : undefined,
15004
- operation: output.operation !== undefined && output.operation !== null
15005
- ? deserializeAws_json1_1Operation(output.operation, context)
15006
- : undefined,
14675
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15007
14676
  };
15008
14677
  };
15009
14678
  var deserializeAws_json1_1CreateDomainEntryResult = function (output, context) {
15010
14679
  return {
15011
- operation: output.operation !== undefined && output.operation !== null
15012
- ? deserializeAws_json1_1Operation(output.operation, context)
15013
- : undefined,
14680
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15014
14681
  };
15015
14682
  };
15016
14683
  var deserializeAws_json1_1CreateDomainResult = function (output, context) {
15017
14684
  return {
15018
- operation: output.operation !== undefined && output.operation !== null
15019
- ? deserializeAws_json1_1Operation(output.operation, context)
15020
- : undefined,
14685
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15021
14686
  };
15022
14687
  };
15023
14688
  var deserializeAws_json1_1CreateInstancesFromSnapshotResult = function (output, context) {
15024
14689
  return {
15025
- operations: output.operations !== undefined && output.operations !== null
15026
- ? deserializeAws_json1_1OperationList(output.operations, context)
15027
- : undefined,
14690
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15028
14691
  };
15029
14692
  };
15030
14693
  var deserializeAws_json1_1CreateInstanceSnapshotResult = function (output, context) {
15031
14694
  return {
15032
- operations: output.operations !== undefined && output.operations !== null
15033
- ? deserializeAws_json1_1OperationList(output.operations, context)
15034
- : undefined,
14695
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15035
14696
  };
15036
14697
  };
15037
14698
  var deserializeAws_json1_1CreateInstancesResult = function (output, context) {
15038
14699
  return {
15039
- operations: output.operations !== undefined && output.operations !== null
15040
- ? deserializeAws_json1_1OperationList(output.operations, context)
15041
- : undefined,
14700
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15042
14701
  };
15043
14702
  };
15044
14703
  var deserializeAws_json1_1CreateKeyPairResult = function (output, context) {
15045
14704
  return {
15046
- keyPair: output.keyPair !== undefined && output.keyPair !== null
15047
- ? deserializeAws_json1_1KeyPair(output.keyPair, context)
15048
- : undefined,
15049
- operation: output.operation !== undefined && output.operation !== null
15050
- ? deserializeAws_json1_1Operation(output.operation, context)
15051
- : undefined,
14705
+ keyPair: output.keyPair != null ? deserializeAws_json1_1KeyPair(output.keyPair, context) : undefined,
14706
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15052
14707
  privateKeyBase64: __expectString(output.privateKeyBase64),
15053
14708
  publicKeyBase64: __expectString(output.publicKeyBase64),
15054
14709
  };
15055
14710
  };
15056
14711
  var deserializeAws_json1_1CreateLoadBalancerResult = function (output, context) {
15057
14712
  return {
15058
- operations: output.operations !== undefined && output.operations !== null
15059
- ? deserializeAws_json1_1OperationList(output.operations, context)
15060
- : undefined,
14713
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15061
14714
  };
15062
14715
  };
15063
14716
  var deserializeAws_json1_1CreateLoadBalancerTlsCertificateResult = function (output, context) {
15064
14717
  return {
15065
- operations: output.operations !== undefined && output.operations !== null
15066
- ? deserializeAws_json1_1OperationList(output.operations, context)
15067
- : undefined,
14718
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15068
14719
  };
15069
14720
  };
15070
14721
  var deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotResult = function (output, context) {
15071
14722
  return {
15072
- operations: output.operations !== undefined && output.operations !== null
15073
- ? deserializeAws_json1_1OperationList(output.operations, context)
15074
- : undefined,
14723
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15075
14724
  };
15076
14725
  };
15077
14726
  var deserializeAws_json1_1CreateRelationalDatabaseResult = function (output, context) {
15078
14727
  return {
15079
- operations: output.operations !== undefined && output.operations !== null
15080
- ? deserializeAws_json1_1OperationList(output.operations, context)
15081
- : undefined,
14728
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15082
14729
  };
15083
14730
  };
15084
14731
  var deserializeAws_json1_1CreateRelationalDatabaseSnapshotResult = function (output, context) {
15085
14732
  return {
15086
- operations: output.operations !== undefined && output.operations !== null
15087
- ? deserializeAws_json1_1OperationList(output.operations, context)
15088
- : undefined,
14733
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15089
14734
  };
15090
14735
  };
15091
14736
  var deserializeAws_json1_1DeleteAlarmResult = function (output, context) {
15092
14737
  return {
15093
- operations: output.operations !== undefined && output.operations !== null
15094
- ? deserializeAws_json1_1OperationList(output.operations, context)
15095
- : undefined,
14738
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15096
14739
  };
15097
14740
  };
15098
14741
  var deserializeAws_json1_1DeleteAutoSnapshotResult = function (output, context) {
15099
14742
  return {
15100
- operations: output.operations !== undefined && output.operations !== null
15101
- ? deserializeAws_json1_1OperationList(output.operations, context)
15102
- : undefined,
14743
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15103
14744
  };
15104
14745
  };
15105
14746
  var deserializeAws_json1_1DeleteBucketAccessKeyResult = function (output, context) {
15106
14747
  return {
15107
- operations: output.operations !== undefined && output.operations !== null
15108
- ? deserializeAws_json1_1OperationList(output.operations, context)
15109
- : undefined,
14748
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15110
14749
  };
15111
14750
  };
15112
14751
  var deserializeAws_json1_1DeleteBucketResult = function (output, context) {
15113
14752
  return {
15114
- operations: output.operations !== undefined && output.operations !== null
15115
- ? deserializeAws_json1_1OperationList(output.operations, context)
15116
- : undefined,
14753
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15117
14754
  };
15118
14755
  };
15119
14756
  var deserializeAws_json1_1DeleteCertificateResult = function (output, context) {
15120
14757
  return {
15121
- operations: output.operations !== undefined && output.operations !== null
15122
- ? deserializeAws_json1_1OperationList(output.operations, context)
15123
- : undefined,
14758
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15124
14759
  };
15125
14760
  };
15126
14761
  var deserializeAws_json1_1DeleteContactMethodResult = function (output, context) {
15127
14762
  return {
15128
- operations: output.operations !== undefined && output.operations !== null
15129
- ? deserializeAws_json1_1OperationList(output.operations, context)
15130
- : undefined,
14763
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15131
14764
  };
15132
14765
  };
15133
14766
  var deserializeAws_json1_1DeleteContainerImageResult = function (output, context) {
@@ -15138,93 +14771,67 @@ var deserializeAws_json1_1DeleteContainerServiceResult = function (output, conte
15138
14771
  };
15139
14772
  var deserializeAws_json1_1DeleteDiskResult = function (output, context) {
15140
14773
  return {
15141
- operations: output.operations !== undefined && output.operations !== null
15142
- ? deserializeAws_json1_1OperationList(output.operations, context)
15143
- : undefined,
14774
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15144
14775
  };
15145
14776
  };
15146
14777
  var deserializeAws_json1_1DeleteDiskSnapshotResult = function (output, context) {
15147
14778
  return {
15148
- operations: output.operations !== undefined && output.operations !== null
15149
- ? deserializeAws_json1_1OperationList(output.operations, context)
15150
- : undefined,
14779
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15151
14780
  };
15152
14781
  };
15153
14782
  var deserializeAws_json1_1DeleteDistributionResult = function (output, context) {
15154
14783
  return {
15155
- operation: output.operation !== undefined && output.operation !== null
15156
- ? deserializeAws_json1_1Operation(output.operation, context)
15157
- : undefined,
14784
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15158
14785
  };
15159
14786
  };
15160
14787
  var deserializeAws_json1_1DeleteDomainEntryResult = function (output, context) {
15161
14788
  return {
15162
- operation: output.operation !== undefined && output.operation !== null
15163
- ? deserializeAws_json1_1Operation(output.operation, context)
15164
- : undefined,
14789
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15165
14790
  };
15166
14791
  };
15167
14792
  var deserializeAws_json1_1DeleteDomainResult = function (output, context) {
15168
14793
  return {
15169
- operation: output.operation !== undefined && output.operation !== null
15170
- ? deserializeAws_json1_1Operation(output.operation, context)
15171
- : undefined,
14794
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15172
14795
  };
15173
14796
  };
15174
14797
  var deserializeAws_json1_1DeleteInstanceResult = function (output, context) {
15175
14798
  return {
15176
- operations: output.operations !== undefined && output.operations !== null
15177
- ? deserializeAws_json1_1OperationList(output.operations, context)
15178
- : undefined,
14799
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15179
14800
  };
15180
14801
  };
15181
14802
  var deserializeAws_json1_1DeleteInstanceSnapshotResult = function (output, context) {
15182
14803
  return {
15183
- operations: output.operations !== undefined && output.operations !== null
15184
- ? deserializeAws_json1_1OperationList(output.operations, context)
15185
- : undefined,
14804
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15186
14805
  };
15187
14806
  };
15188
14807
  var deserializeAws_json1_1DeleteKeyPairResult = function (output, context) {
15189
14808
  return {
15190
- operation: output.operation !== undefined && output.operation !== null
15191
- ? deserializeAws_json1_1Operation(output.operation, context)
15192
- : undefined,
14809
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15193
14810
  };
15194
14811
  };
15195
14812
  var deserializeAws_json1_1DeleteKnownHostKeysResult = function (output, context) {
15196
14813
  return {
15197
- operations: output.operations !== undefined && output.operations !== null
15198
- ? deserializeAws_json1_1OperationList(output.operations, context)
15199
- : undefined,
14814
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15200
14815
  };
15201
14816
  };
15202
14817
  var deserializeAws_json1_1DeleteLoadBalancerResult = function (output, context) {
15203
14818
  return {
15204
- operations: output.operations !== undefined && output.operations !== null
15205
- ? deserializeAws_json1_1OperationList(output.operations, context)
15206
- : undefined,
14819
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15207
14820
  };
15208
14821
  };
15209
14822
  var deserializeAws_json1_1DeleteLoadBalancerTlsCertificateResult = function (output, context) {
15210
14823
  return {
15211
- operations: output.operations !== undefined && output.operations !== null
15212
- ? deserializeAws_json1_1OperationList(output.operations, context)
15213
- : undefined,
14824
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15214
14825
  };
15215
14826
  };
15216
14827
  var deserializeAws_json1_1DeleteRelationalDatabaseResult = function (output, context) {
15217
14828
  return {
15218
- operations: output.operations !== undefined && output.operations !== null
15219
- ? deserializeAws_json1_1OperationList(output.operations, context)
15220
- : undefined,
14829
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15221
14830
  };
15222
14831
  };
15223
14832
  var deserializeAws_json1_1DeleteRelationalDatabaseSnapshotResult = function (output, context) {
15224
14833
  return {
15225
- operations: output.operations !== undefined && output.operations !== null
15226
- ? deserializeAws_json1_1OperationList(output.operations, context)
15227
- : undefined,
14834
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15228
14835
  };
15229
14836
  };
15230
14837
  var deserializeAws_json1_1DestinationInfo = function (output, context) {
@@ -15235,66 +14842,48 @@ var deserializeAws_json1_1DestinationInfo = function (output, context) {
15235
14842
  };
15236
14843
  var deserializeAws_json1_1DetachCertificateFromDistributionResult = function (output, context) {
15237
14844
  return {
15238
- operation: output.operation !== undefined && output.operation !== null
15239
- ? deserializeAws_json1_1Operation(output.operation, context)
15240
- : undefined,
14845
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15241
14846
  };
15242
14847
  };
15243
14848
  var deserializeAws_json1_1DetachDiskResult = function (output, context) {
15244
14849
  return {
15245
- operations: output.operations !== undefined && output.operations !== null
15246
- ? deserializeAws_json1_1OperationList(output.operations, context)
15247
- : undefined,
14850
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15248
14851
  };
15249
14852
  };
15250
14853
  var deserializeAws_json1_1DetachInstancesFromLoadBalancerResult = function (output, context) {
15251
14854
  return {
15252
- operations: output.operations !== undefined && output.operations !== null
15253
- ? deserializeAws_json1_1OperationList(output.operations, context)
15254
- : undefined,
14855
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15255
14856
  };
15256
14857
  };
15257
14858
  var deserializeAws_json1_1DetachStaticIpResult = function (output, context) {
15258
14859
  return {
15259
- operations: output.operations !== undefined && output.operations !== null
15260
- ? deserializeAws_json1_1OperationList(output.operations, context)
15261
- : undefined,
14860
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15262
14861
  };
15263
14862
  };
15264
14863
  var deserializeAws_json1_1DisableAddOnResult = function (output, context) {
15265
14864
  return {
15266
- operations: output.operations !== undefined && output.operations !== null
15267
- ? deserializeAws_json1_1OperationList(output.operations, context)
15268
- : undefined,
14865
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15269
14866
  };
15270
14867
  };
15271
14868
  var deserializeAws_json1_1Disk = function (output, context) {
15272
14869
  return {
15273
- addOns: output.addOns !== undefined && output.addOns !== null
15274
- ? deserializeAws_json1_1AddOnList(output.addOns, context)
15275
- : undefined,
14870
+ addOns: output.addOns != null ? deserializeAws_json1_1AddOnList(output.addOns, context) : undefined,
15276
14871
  arn: __expectString(output.arn),
15277
14872
  attachedTo: __expectString(output.attachedTo),
15278
14873
  attachmentState: __expectString(output.attachmentState),
15279
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15280
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15281
- : undefined,
14874
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15282
14875
  gbInUse: __expectInt32(output.gbInUse),
15283
14876
  iops: __expectInt32(output.iops),
15284
14877
  isAttached: __expectBoolean(output.isAttached),
15285
14878
  isSystemDisk: __expectBoolean(output.isSystemDisk),
15286
- location: output.location !== undefined && output.location !== null
15287
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
15288
- : undefined,
14879
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
15289
14880
  name: __expectString(output.name),
15290
14881
  path: __expectString(output.path),
15291
14882
  resourceType: __expectString(output.resourceType),
15292
14883
  sizeInGb: __expectInt32(output.sizeInGb),
15293
14884
  state: __expectString(output.state),
15294
14885
  supportCode: __expectString(output.supportCode),
15295
- tags: output.tags !== undefined && output.tags !== null
15296
- ? deserializeAws_json1_1TagList(output.tags, context)
15297
- : undefined,
14886
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
15298
14887
  };
15299
14888
  };
15300
14889
  var deserializeAws_json1_1DiskInfo = function (output, context) {
@@ -15330,26 +14919,20 @@ var deserializeAws_json1_1DiskList = function (output, context) {
15330
14919
  var deserializeAws_json1_1DiskSnapshot = function (output, context) {
15331
14920
  return {
15332
14921
  arn: __expectString(output.arn),
15333
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15334
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15335
- : undefined,
14922
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15336
14923
  fromDiskArn: __expectString(output.fromDiskArn),
15337
14924
  fromDiskName: __expectString(output.fromDiskName),
15338
14925
  fromInstanceArn: __expectString(output.fromInstanceArn),
15339
14926
  fromInstanceName: __expectString(output.fromInstanceName),
15340
14927
  isFromAutoSnapshot: __expectBoolean(output.isFromAutoSnapshot),
15341
- location: output.location !== undefined && output.location !== null
15342
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
15343
- : undefined,
14928
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
15344
14929
  name: __expectString(output.name),
15345
14930
  progress: __expectString(output.progress),
15346
14931
  resourceType: __expectString(output.resourceType),
15347
14932
  sizeInGb: __expectInt32(output.sizeInGb),
15348
14933
  state: __expectString(output.state),
15349
14934
  supportCode: __expectString(output.supportCode),
15350
- tags: output.tags !== undefined && output.tags !== null
15351
- ? deserializeAws_json1_1TagList(output.tags, context)
15352
- : undefined,
14935
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
15353
14936
  };
15354
14937
  };
15355
14938
  var deserializeAws_json1_1DiskSnapshotInfo = function (output, context) {
@@ -15402,21 +14985,13 @@ var deserializeAws_json1_1DistributionList = function (output, context) {
15402
14985
  var deserializeAws_json1_1Domain = function (output, context) {
15403
14986
  return {
15404
14987
  arn: __expectString(output.arn),
15405
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15406
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15407
- : undefined,
15408
- domainEntries: output.domainEntries !== undefined && output.domainEntries !== null
15409
- ? deserializeAws_json1_1DomainEntryList(output.domainEntries, context)
15410
- : undefined,
15411
- location: output.location !== undefined && output.location !== null
15412
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
15413
- : undefined,
14988
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
14989
+ domainEntries: output.domainEntries != null ? deserializeAws_json1_1DomainEntryList(output.domainEntries, context) : undefined,
14990
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
15414
14991
  name: __expectString(output.name),
15415
14992
  resourceType: __expectString(output.resourceType),
15416
14993
  supportCode: __expectString(output.supportCode),
15417
- tags: output.tags !== undefined && output.tags !== null
15418
- ? deserializeAws_json1_1TagList(output.tags, context)
15419
- : undefined,
14994
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
15420
14995
  };
15421
14996
  };
15422
14997
  var deserializeAws_json1_1DomainEntry = function (output, context) {
@@ -15424,9 +14999,7 @@ var deserializeAws_json1_1DomainEntry = function (output, context) {
15424
14999
  id: __expectString(output.id),
15425
15000
  isAlias: __expectBoolean(output.isAlias),
15426
15001
  name: __expectString(output.name),
15427
- options: output.options !== undefined && output.options !== null
15428
- ? deserializeAws_json1_1DomainEntryOptions(output.options, context)
15429
- : undefined,
15002
+ options: output.options != null ? deserializeAws_json1_1DomainEntryOptions(output.options, context) : undefined,
15430
15003
  target: __expectString(output.target),
15431
15004
  type: __expectString(output.type),
15432
15005
  };
@@ -15466,9 +15039,7 @@ var deserializeAws_json1_1DomainList = function (output, context) {
15466
15039
  var deserializeAws_json1_1DomainValidationRecord = function (output, context) {
15467
15040
  return {
15468
15041
  domainName: __expectString(output.domainName),
15469
- resourceRecord: output.resourceRecord !== undefined && output.resourceRecord !== null
15470
- ? deserializeAws_json1_1ResourceRecord(output.resourceRecord, context)
15471
- : undefined,
15042
+ resourceRecord: output.resourceRecord != null ? deserializeAws_json1_1ResourceRecord(output.resourceRecord, context) : undefined,
15472
15043
  };
15473
15044
  };
15474
15045
  var deserializeAws_json1_1DomainValidationRecordList = function (output, context) {
@@ -15484,18 +15055,14 @@ var deserializeAws_json1_1DomainValidationRecordList = function (output, context
15484
15055
  };
15485
15056
  var deserializeAws_json1_1DownloadDefaultKeyPairResult = function (output, context) {
15486
15057
  return {
15487
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15488
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15489
- : undefined,
15058
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15490
15059
  privateKeyBase64: __expectString(output.privateKeyBase64),
15491
15060
  publicKeyBase64: __expectString(output.publicKeyBase64),
15492
15061
  };
15493
15062
  };
15494
15063
  var deserializeAws_json1_1EnableAddOnResult = function (output, context) {
15495
15064
  return {
15496
- operations: output.operations !== undefined && output.operations !== null
15497
- ? deserializeAws_json1_1OperationList(output.operations, context)
15498
- : undefined,
15065
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15499
15066
  };
15500
15067
  };
15501
15068
  var deserializeAws_json1_1Environment = function (output, context) {
@@ -15511,18 +15078,14 @@ var deserializeAws_json1_1Environment = function (output, context) {
15511
15078
  var deserializeAws_json1_1ExportSnapshotRecord = function (output, context) {
15512
15079
  return {
15513
15080
  arn: __expectString(output.arn),
15514
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15515
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15516
- : undefined,
15517
- destinationInfo: output.destinationInfo !== undefined && output.destinationInfo !== null
15081
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15082
+ destinationInfo: output.destinationInfo != null
15518
15083
  ? deserializeAws_json1_1DestinationInfo(output.destinationInfo, context)
15519
15084
  : undefined,
15520
- location: output.location !== undefined && output.location !== null
15521
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
15522
- : undefined,
15085
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
15523
15086
  name: __expectString(output.name),
15524
15087
  resourceType: __expectString(output.resourceType),
15525
- sourceInfo: output.sourceInfo !== undefined && output.sourceInfo !== null
15088
+ sourceInfo: output.sourceInfo != null
15526
15089
  ? deserializeAws_json1_1ExportSnapshotRecordSourceInfo(output.sourceInfo, context)
15527
15090
  : undefined,
15528
15091
  state: __expectString(output.state),
@@ -15542,15 +15105,13 @@ var deserializeAws_json1_1ExportSnapshotRecordList = function (output, context)
15542
15105
  var deserializeAws_json1_1ExportSnapshotRecordSourceInfo = function (output, context) {
15543
15106
  return {
15544
15107
  arn: __expectString(output.arn),
15545
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15546
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15547
- : undefined,
15548
- diskSnapshotInfo: output.diskSnapshotInfo !== undefined && output.diskSnapshotInfo !== null
15108
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15109
+ diskSnapshotInfo: output.diskSnapshotInfo != null
15549
15110
  ? deserializeAws_json1_1DiskSnapshotInfo(output.diskSnapshotInfo, context)
15550
15111
  : undefined,
15551
15112
  fromResourceArn: __expectString(output.fromResourceArn),
15552
15113
  fromResourceName: __expectString(output.fromResourceName),
15553
- instanceSnapshotInfo: output.instanceSnapshotInfo !== undefined && output.instanceSnapshotInfo !== null
15114
+ instanceSnapshotInfo: output.instanceSnapshotInfo != null
15554
15115
  ? deserializeAws_json1_1InstanceSnapshotInfo(output.instanceSnapshotInfo, context)
15555
15116
  : undefined,
15556
15117
  name: __expectString(output.name),
@@ -15559,30 +15120,24 @@ var deserializeAws_json1_1ExportSnapshotRecordSourceInfo = function (output, con
15559
15120
  };
15560
15121
  var deserializeAws_json1_1ExportSnapshotResult = function (output, context) {
15561
15122
  return {
15562
- operations: output.operations !== undefined && output.operations !== null
15563
- ? deserializeAws_json1_1OperationList(output.operations, context)
15564
- : undefined,
15123
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15565
15124
  };
15566
15125
  };
15567
15126
  var deserializeAws_json1_1GetActiveNamesResult = function (output, context) {
15568
15127
  return {
15569
- activeNames: output.activeNames !== undefined && output.activeNames !== null
15570
- ? deserializeAws_json1_1StringList(output.activeNames, context)
15571
- : undefined,
15128
+ activeNames: output.activeNames != null ? deserializeAws_json1_1StringList(output.activeNames, context) : undefined,
15572
15129
  nextPageToken: __expectString(output.nextPageToken),
15573
15130
  };
15574
15131
  };
15575
15132
  var deserializeAws_json1_1GetAlarmsResult = function (output, context) {
15576
15133
  return {
15577
- alarms: output.alarms !== undefined && output.alarms !== null
15578
- ? deserializeAws_json1_1AlarmsList(output.alarms, context)
15579
- : undefined,
15134
+ alarms: output.alarms != null ? deserializeAws_json1_1AlarmsList(output.alarms, context) : undefined,
15580
15135
  nextPageToken: __expectString(output.nextPageToken),
15581
15136
  };
15582
15137
  };
15583
15138
  var deserializeAws_json1_1GetAutoSnapshotsResult = function (output, context) {
15584
15139
  return {
15585
- autoSnapshots: output.autoSnapshots !== undefined && output.autoSnapshots !== null
15140
+ autoSnapshots: output.autoSnapshots != null
15586
15141
  ? deserializeAws_json1_1AutoSnapshotDetailsList(output.autoSnapshots, context)
15587
15142
  : undefined,
15588
15143
  resourceName: __expectString(output.resourceName),
@@ -15591,63 +15146,51 @@ var deserializeAws_json1_1GetAutoSnapshotsResult = function (output, context) {
15591
15146
  };
15592
15147
  var deserializeAws_json1_1GetBlueprintsResult = function (output, context) {
15593
15148
  return {
15594
- blueprints: output.blueprints !== undefined && output.blueprints !== null
15595
- ? deserializeAws_json1_1BlueprintList(output.blueprints, context)
15596
- : undefined,
15149
+ blueprints: output.blueprints != null ? deserializeAws_json1_1BlueprintList(output.blueprints, context) : undefined,
15597
15150
  nextPageToken: __expectString(output.nextPageToken),
15598
15151
  };
15599
15152
  };
15600
15153
  var deserializeAws_json1_1GetBucketAccessKeysResult = function (output, context) {
15601
15154
  return {
15602
- accessKeys: output.accessKeys !== undefined && output.accessKeys !== null
15603
- ? deserializeAws_json1_1AccessKeyList(output.accessKeys, context)
15604
- : undefined,
15155
+ accessKeys: output.accessKeys != null ? deserializeAws_json1_1AccessKeyList(output.accessKeys, context) : undefined,
15605
15156
  };
15606
15157
  };
15607
15158
  var deserializeAws_json1_1GetBucketBundlesResult = function (output, context) {
15608
15159
  return {
15609
- bundles: output.bundles !== undefined && output.bundles !== null
15610
- ? deserializeAws_json1_1BucketBundleList(output.bundles, context)
15611
- : undefined,
15160
+ bundles: output.bundles != null ? deserializeAws_json1_1BucketBundleList(output.bundles, context) : undefined,
15612
15161
  };
15613
15162
  };
15614
15163
  var deserializeAws_json1_1GetBucketMetricDataResult = function (output, context) {
15615
15164
  return {
15616
- metricData: output.metricData !== undefined && output.metricData !== null
15617
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
15618
- : undefined,
15165
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
15619
15166
  metricName: __expectString(output.metricName),
15620
15167
  };
15621
15168
  };
15622
15169
  var deserializeAws_json1_1GetBucketsResult = function (output, context) {
15623
15170
  return {
15624
- accountLevelBpaSync: output.accountLevelBpaSync !== undefined && output.accountLevelBpaSync !== null
15171
+ accountLevelBpaSync: output.accountLevelBpaSync != null
15625
15172
  ? deserializeAws_json1_1AccountLevelBpaSync(output.accountLevelBpaSync, context)
15626
15173
  : undefined,
15627
- buckets: output.buckets !== undefined && output.buckets !== null
15628
- ? deserializeAws_json1_1BucketList(output.buckets, context)
15629
- : undefined,
15174
+ buckets: output.buckets != null ? deserializeAws_json1_1BucketList(output.buckets, context) : undefined,
15630
15175
  nextPageToken: __expectString(output.nextPageToken),
15631
15176
  };
15632
15177
  };
15633
15178
  var deserializeAws_json1_1GetBundlesResult = function (output, context) {
15634
15179
  return {
15635
- bundles: output.bundles !== undefined && output.bundles !== null
15636
- ? deserializeAws_json1_1BundleList(output.bundles, context)
15637
- : undefined,
15180
+ bundles: output.bundles != null ? deserializeAws_json1_1BundleList(output.bundles, context) : undefined,
15638
15181
  nextPageToken: __expectString(output.nextPageToken),
15639
15182
  };
15640
15183
  };
15641
15184
  var deserializeAws_json1_1GetCertificatesResult = function (output, context) {
15642
15185
  return {
15643
- certificates: output.certificates !== undefined && output.certificates !== null
15186
+ certificates: output.certificates != null
15644
15187
  ? deserializeAws_json1_1CertificateSummaryList(output.certificates, context)
15645
15188
  : undefined,
15646
15189
  };
15647
15190
  };
15648
15191
  var deserializeAws_json1_1GetCloudFormationStackRecordsResult = function (output, context) {
15649
15192
  return {
15650
- cloudFormationStackRecords: output.cloudFormationStackRecords !== undefined && output.cloudFormationStackRecords !== null
15193
+ cloudFormationStackRecords: output.cloudFormationStackRecords != null
15651
15194
  ? deserializeAws_json1_1CloudFormationStackRecordList(output.cloudFormationStackRecords, context)
15652
15195
  : undefined,
15653
15196
  nextPageToken: __expectString(output.nextPageToken),
@@ -15655,28 +15198,28 @@ var deserializeAws_json1_1GetCloudFormationStackRecordsResult = function (output
15655
15198
  };
15656
15199
  var deserializeAws_json1_1GetContactMethodsResult = function (output, context) {
15657
15200
  return {
15658
- contactMethods: output.contactMethods !== undefined && output.contactMethods !== null
15201
+ contactMethods: output.contactMethods != null
15659
15202
  ? deserializeAws_json1_1ContactMethodsList(output.contactMethods, context)
15660
15203
  : undefined,
15661
15204
  };
15662
15205
  };
15663
15206
  var deserializeAws_json1_1GetContainerAPIMetadataResult = function (output, context) {
15664
15207
  return {
15665
- metadata: output.metadata !== undefined && output.metadata !== null
15208
+ metadata: output.metadata != null
15666
15209
  ? deserializeAws_json1_1ContainerServiceMetadataEntryList(output.metadata, context)
15667
15210
  : undefined,
15668
15211
  };
15669
15212
  };
15670
15213
  var deserializeAws_json1_1GetContainerImagesResult = function (output, context) {
15671
15214
  return {
15672
- containerImages: output.containerImages !== undefined && output.containerImages !== null
15215
+ containerImages: output.containerImages != null
15673
15216
  ? deserializeAws_json1_1ContainerImageList(output.containerImages, context)
15674
15217
  : undefined,
15675
15218
  };
15676
15219
  };
15677
15220
  var deserializeAws_json1_1GetContainerLogResult = function (output, context) {
15678
15221
  return {
15679
- logEvents: output.logEvents !== undefined && output.logEvents !== null
15222
+ logEvents: output.logEvents != null
15680
15223
  ? deserializeAws_json1_1ContainerServiceLogEventList(output.logEvents, context)
15681
15224
  : undefined,
15682
15225
  nextPageToken: __expectString(output.nextPageToken),
@@ -15684,103 +15227,81 @@ var deserializeAws_json1_1GetContainerLogResult = function (output, context) {
15684
15227
  };
15685
15228
  var deserializeAws_json1_1GetContainerServiceDeploymentsResult = function (output, context) {
15686
15229
  return {
15687
- deployments: output.deployments !== undefined && output.deployments !== null
15230
+ deployments: output.deployments != null
15688
15231
  ? deserializeAws_json1_1ContainerServiceDeploymentList(output.deployments, context)
15689
15232
  : undefined,
15690
15233
  };
15691
15234
  };
15692
15235
  var deserializeAws_json1_1GetContainerServiceMetricDataResult = function (output, context) {
15693
15236
  return {
15694
- metricData: output.metricData !== undefined && output.metricData !== null
15695
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
15696
- : undefined,
15237
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
15697
15238
  metricName: __expectString(output.metricName),
15698
15239
  };
15699
15240
  };
15700
15241
  var deserializeAws_json1_1GetContainerServicePowersResult = function (output, context) {
15701
15242
  return {
15702
- powers: output.powers !== undefined && output.powers !== null
15703
- ? deserializeAws_json1_1ContainerServicePowerList(output.powers, context)
15704
- : undefined,
15243
+ powers: output.powers != null ? deserializeAws_json1_1ContainerServicePowerList(output.powers, context) : undefined,
15705
15244
  };
15706
15245
  };
15707
15246
  var deserializeAws_json1_1GetDiskResult = function (output, context) {
15708
15247
  return {
15709
- disk: output.disk !== undefined && output.disk !== null ? deserializeAws_json1_1Disk(output.disk, context) : undefined,
15248
+ disk: output.disk != null ? deserializeAws_json1_1Disk(output.disk, context) : undefined,
15710
15249
  };
15711
15250
  };
15712
15251
  var deserializeAws_json1_1GetDiskSnapshotResult = function (output, context) {
15713
15252
  return {
15714
- diskSnapshot: output.diskSnapshot !== undefined && output.diskSnapshot !== null
15715
- ? deserializeAws_json1_1DiskSnapshot(output.diskSnapshot, context)
15716
- : undefined,
15253
+ diskSnapshot: output.diskSnapshot != null ? deserializeAws_json1_1DiskSnapshot(output.diskSnapshot, context) : undefined,
15717
15254
  };
15718
15255
  };
15719
15256
  var deserializeAws_json1_1GetDiskSnapshotsResult = function (output, context) {
15720
15257
  return {
15721
- diskSnapshots: output.diskSnapshots !== undefined && output.diskSnapshots !== null
15722
- ? deserializeAws_json1_1DiskSnapshotList(output.diskSnapshots, context)
15723
- : undefined,
15258
+ diskSnapshots: output.diskSnapshots != null ? deserializeAws_json1_1DiskSnapshotList(output.diskSnapshots, context) : undefined,
15724
15259
  nextPageToken: __expectString(output.nextPageToken),
15725
15260
  };
15726
15261
  };
15727
15262
  var deserializeAws_json1_1GetDisksResult = function (output, context) {
15728
15263
  return {
15729
- disks: output.disks !== undefined && output.disks !== null
15730
- ? deserializeAws_json1_1DiskList(output.disks, context)
15731
- : undefined,
15264
+ disks: output.disks != null ? deserializeAws_json1_1DiskList(output.disks, context) : undefined,
15732
15265
  nextPageToken: __expectString(output.nextPageToken),
15733
15266
  };
15734
15267
  };
15735
15268
  var deserializeAws_json1_1GetDistributionBundlesResult = function (output, context) {
15736
15269
  return {
15737
- bundles: output.bundles !== undefined && output.bundles !== null
15738
- ? deserializeAws_json1_1DistributionBundleList(output.bundles, context)
15739
- : undefined,
15270
+ bundles: output.bundles != null ? deserializeAws_json1_1DistributionBundleList(output.bundles, context) : undefined,
15740
15271
  };
15741
15272
  };
15742
15273
  var deserializeAws_json1_1GetDistributionLatestCacheResetResult = function (output, context) {
15743
15274
  return {
15744
- createTime: output.createTime !== undefined && output.createTime !== null
15745
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
15746
- : undefined,
15275
+ createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
15747
15276
  status: __expectString(output.status),
15748
15277
  };
15749
15278
  };
15750
15279
  var deserializeAws_json1_1GetDistributionMetricDataResult = function (output, context) {
15751
15280
  return {
15752
- metricData: output.metricData !== undefined && output.metricData !== null
15753
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
15754
- : undefined,
15281
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
15755
15282
  metricName: __expectString(output.metricName),
15756
15283
  };
15757
15284
  };
15758
15285
  var deserializeAws_json1_1GetDistributionsResult = function (output, context) {
15759
15286
  return {
15760
- distributions: output.distributions !== undefined && output.distributions !== null
15761
- ? deserializeAws_json1_1DistributionList(output.distributions, context)
15762
- : undefined,
15287
+ distributions: output.distributions != null ? deserializeAws_json1_1DistributionList(output.distributions, context) : undefined,
15763
15288
  nextPageToken: __expectString(output.nextPageToken),
15764
15289
  };
15765
15290
  };
15766
15291
  var deserializeAws_json1_1GetDomainResult = function (output, context) {
15767
15292
  return {
15768
- domain: output.domain !== undefined && output.domain !== null
15769
- ? deserializeAws_json1_1Domain(output.domain, context)
15770
- : undefined,
15293
+ domain: output.domain != null ? deserializeAws_json1_1Domain(output.domain, context) : undefined,
15771
15294
  };
15772
15295
  };
15773
15296
  var deserializeAws_json1_1GetDomainsResult = function (output, context) {
15774
15297
  return {
15775
- domains: output.domains !== undefined && output.domains !== null
15776
- ? deserializeAws_json1_1DomainList(output.domains, context)
15777
- : undefined,
15298
+ domains: output.domains != null ? deserializeAws_json1_1DomainList(output.domains, context) : undefined,
15778
15299
  nextPageToken: __expectString(output.nextPageToken),
15779
15300
  };
15780
15301
  };
15781
15302
  var deserializeAws_json1_1GetExportSnapshotRecordsResult = function (output, context) {
15782
15303
  return {
15783
- exportSnapshotRecords: output.exportSnapshotRecords !== undefined && output.exportSnapshotRecords !== null
15304
+ exportSnapshotRecords: output.exportSnapshotRecords != null
15784
15305
  ? deserializeAws_json1_1ExportSnapshotRecordList(output.exportSnapshotRecords, context)
15785
15306
  : undefined,
15786
15307
  nextPageToken: __expectString(output.nextPageToken),
@@ -15788,43 +15309,37 @@ var deserializeAws_json1_1GetExportSnapshotRecordsResult = function (output, con
15788
15309
  };
15789
15310
  var deserializeAws_json1_1GetInstanceAccessDetailsResult = function (output, context) {
15790
15311
  return {
15791
- accessDetails: output.accessDetails !== undefined && output.accessDetails !== null
15312
+ accessDetails: output.accessDetails != null
15792
15313
  ? deserializeAws_json1_1InstanceAccessDetails(output.accessDetails, context)
15793
15314
  : undefined,
15794
15315
  };
15795
15316
  };
15796
15317
  var deserializeAws_json1_1GetInstanceMetricDataResult = function (output, context) {
15797
15318
  return {
15798
- metricData: output.metricData !== undefined && output.metricData !== null
15799
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
15800
- : undefined,
15319
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
15801
15320
  metricName: __expectString(output.metricName),
15802
15321
  };
15803
15322
  };
15804
15323
  var deserializeAws_json1_1GetInstancePortStatesResult = function (output, context) {
15805
15324
  return {
15806
- portStates: output.portStates !== undefined && output.portStates !== null
15807
- ? deserializeAws_json1_1InstancePortStateList(output.portStates, context)
15808
- : undefined,
15325
+ portStates: output.portStates != null ? deserializeAws_json1_1InstancePortStateList(output.portStates, context) : undefined,
15809
15326
  };
15810
15327
  };
15811
15328
  var deserializeAws_json1_1GetInstanceResult = function (output, context) {
15812
15329
  return {
15813
- instance: output.instance !== undefined && output.instance !== null
15814
- ? deserializeAws_json1_1Instance(output.instance, context)
15815
- : undefined,
15330
+ instance: output.instance != null ? deserializeAws_json1_1Instance(output.instance, context) : undefined,
15816
15331
  };
15817
15332
  };
15818
15333
  var deserializeAws_json1_1GetInstanceSnapshotResult = function (output, context) {
15819
15334
  return {
15820
- instanceSnapshot: output.instanceSnapshot !== undefined && output.instanceSnapshot !== null
15335
+ instanceSnapshot: output.instanceSnapshot != null
15821
15336
  ? deserializeAws_json1_1InstanceSnapshot(output.instanceSnapshot, context)
15822
15337
  : undefined,
15823
15338
  };
15824
15339
  };
15825
15340
  var deserializeAws_json1_1GetInstanceSnapshotsResult = function (output, context) {
15826
15341
  return {
15827
- instanceSnapshots: output.instanceSnapshots !== undefined && output.instanceSnapshots !== null
15342
+ instanceSnapshots: output.instanceSnapshots != null
15828
15343
  ? deserializeAws_json1_1InstanceSnapshotList(output.instanceSnapshots, context)
15829
15344
  : undefined,
15830
15345
  nextPageToken: __expectString(output.nextPageToken),
@@ -15832,60 +15347,46 @@ var deserializeAws_json1_1GetInstanceSnapshotsResult = function (output, context
15832
15347
  };
15833
15348
  var deserializeAws_json1_1GetInstancesResult = function (output, context) {
15834
15349
  return {
15835
- instances: output.instances !== undefined && output.instances !== null
15836
- ? deserializeAws_json1_1InstanceList(output.instances, context)
15837
- : undefined,
15350
+ instances: output.instances != null ? deserializeAws_json1_1InstanceList(output.instances, context) : undefined,
15838
15351
  nextPageToken: __expectString(output.nextPageToken),
15839
15352
  };
15840
15353
  };
15841
15354
  var deserializeAws_json1_1GetInstanceStateResult = function (output, context) {
15842
15355
  return {
15843
- state: output.state !== undefined && output.state !== null
15844
- ? deserializeAws_json1_1InstanceState(output.state, context)
15845
- : undefined,
15356
+ state: output.state != null ? deserializeAws_json1_1InstanceState(output.state, context) : undefined,
15846
15357
  };
15847
15358
  };
15848
15359
  var deserializeAws_json1_1GetKeyPairResult = function (output, context) {
15849
15360
  return {
15850
- keyPair: output.keyPair !== undefined && output.keyPair !== null
15851
- ? deserializeAws_json1_1KeyPair(output.keyPair, context)
15852
- : undefined,
15361
+ keyPair: output.keyPair != null ? deserializeAws_json1_1KeyPair(output.keyPair, context) : undefined,
15853
15362
  };
15854
15363
  };
15855
15364
  var deserializeAws_json1_1GetKeyPairsResult = function (output, context) {
15856
15365
  return {
15857
- keyPairs: output.keyPairs !== undefined && output.keyPairs !== null
15858
- ? deserializeAws_json1_1KeyPairList(output.keyPairs, context)
15859
- : undefined,
15366
+ keyPairs: output.keyPairs != null ? deserializeAws_json1_1KeyPairList(output.keyPairs, context) : undefined,
15860
15367
  nextPageToken: __expectString(output.nextPageToken),
15861
15368
  };
15862
15369
  };
15863
15370
  var deserializeAws_json1_1GetLoadBalancerMetricDataResult = function (output, context) {
15864
15371
  return {
15865
- metricData: output.metricData !== undefined && output.metricData !== null
15866
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
15867
- : undefined,
15372
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
15868
15373
  metricName: __expectString(output.metricName),
15869
15374
  };
15870
15375
  };
15871
15376
  var deserializeAws_json1_1GetLoadBalancerResult = function (output, context) {
15872
15377
  return {
15873
- loadBalancer: output.loadBalancer !== undefined && output.loadBalancer !== null
15874
- ? deserializeAws_json1_1LoadBalancer(output.loadBalancer, context)
15875
- : undefined,
15378
+ loadBalancer: output.loadBalancer != null ? deserializeAws_json1_1LoadBalancer(output.loadBalancer, context) : undefined,
15876
15379
  };
15877
15380
  };
15878
15381
  var deserializeAws_json1_1GetLoadBalancersResult = function (output, context) {
15879
15382
  return {
15880
- loadBalancers: output.loadBalancers !== undefined && output.loadBalancers !== null
15881
- ? deserializeAws_json1_1LoadBalancerList(output.loadBalancers, context)
15882
- : undefined,
15383
+ loadBalancers: output.loadBalancers != null ? deserializeAws_json1_1LoadBalancerList(output.loadBalancers, context) : undefined,
15883
15384
  nextPageToken: __expectString(output.nextPageToken),
15884
15385
  };
15885
15386
  };
15886
15387
  var deserializeAws_json1_1GetLoadBalancerTlsCertificatesResult = function (output, context) {
15887
15388
  return {
15888
- tlsCertificates: output.tlsCertificates !== undefined && output.tlsCertificates !== null
15389
+ tlsCertificates: output.tlsCertificates != null
15889
15390
  ? deserializeAws_json1_1LoadBalancerTlsCertificateList(output.tlsCertificates, context)
15890
15391
  : undefined,
15891
15392
  };
@@ -15893,45 +15394,37 @@ var deserializeAws_json1_1GetLoadBalancerTlsCertificatesResult = function (outpu
15893
15394
  var deserializeAws_json1_1GetLoadBalancerTlsPoliciesResult = function (output, context) {
15894
15395
  return {
15895
15396
  nextPageToken: __expectString(output.nextPageToken),
15896
- tlsPolicies: output.tlsPolicies !== undefined && output.tlsPolicies !== null
15397
+ tlsPolicies: output.tlsPolicies != null
15897
15398
  ? deserializeAws_json1_1LoadBalancerTlsPolicyList(output.tlsPolicies, context)
15898
15399
  : undefined,
15899
15400
  };
15900
15401
  };
15901
15402
  var deserializeAws_json1_1GetOperationResult = function (output, context) {
15902
15403
  return {
15903
- operation: output.operation !== undefined && output.operation !== null
15904
- ? deserializeAws_json1_1Operation(output.operation, context)
15905
- : undefined,
15404
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
15906
15405
  };
15907
15406
  };
15908
15407
  var deserializeAws_json1_1GetOperationsForResourceResult = function (output, context) {
15909
15408
  return {
15910
15409
  nextPageCount: __expectString(output.nextPageCount),
15911
15410
  nextPageToken: __expectString(output.nextPageToken),
15912
- operations: output.operations !== undefined && output.operations !== null
15913
- ? deserializeAws_json1_1OperationList(output.operations, context)
15914
- : undefined,
15411
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15915
15412
  };
15916
15413
  };
15917
15414
  var deserializeAws_json1_1GetOperationsResult = function (output, context) {
15918
15415
  return {
15919
15416
  nextPageToken: __expectString(output.nextPageToken),
15920
- operations: output.operations !== undefined && output.operations !== null
15921
- ? deserializeAws_json1_1OperationList(output.operations, context)
15922
- : undefined,
15417
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
15923
15418
  };
15924
15419
  };
15925
15420
  var deserializeAws_json1_1GetRegionsResult = function (output, context) {
15926
15421
  return {
15927
- regions: output.regions !== undefined && output.regions !== null
15928
- ? deserializeAws_json1_1RegionList(output.regions, context)
15929
- : undefined,
15422
+ regions: output.regions != null ? deserializeAws_json1_1RegionList(output.regions, context) : undefined,
15930
15423
  };
15931
15424
  };
15932
15425
  var deserializeAws_json1_1GetRelationalDatabaseBlueprintsResult = function (output, context) {
15933
15426
  return {
15934
- blueprints: output.blueprints !== undefined && output.blueprints !== null
15427
+ blueprints: output.blueprints != null
15935
15428
  ? deserializeAws_json1_1RelationalDatabaseBlueprintList(output.blueprints, context)
15936
15429
  : undefined,
15937
15430
  nextPageToken: __expectString(output.nextPageToken),
@@ -15939,16 +15432,14 @@ var deserializeAws_json1_1GetRelationalDatabaseBlueprintsResult = function (outp
15939
15432
  };
15940
15433
  var deserializeAws_json1_1GetRelationalDatabaseBundlesResult = function (output, context) {
15941
15434
  return {
15942
- bundles: output.bundles !== undefined && output.bundles !== null
15943
- ? deserializeAws_json1_1RelationalDatabaseBundleList(output.bundles, context)
15944
- : undefined,
15435
+ bundles: output.bundles != null ? deserializeAws_json1_1RelationalDatabaseBundleList(output.bundles, context) : undefined,
15945
15436
  nextPageToken: __expectString(output.nextPageToken),
15946
15437
  };
15947
15438
  };
15948
15439
  var deserializeAws_json1_1GetRelationalDatabaseEventsResult = function (output, context) {
15949
15440
  return {
15950
15441
  nextPageToken: __expectString(output.nextPageToken),
15951
- relationalDatabaseEvents: output.relationalDatabaseEvents !== undefined && output.relationalDatabaseEvents !== null
15442
+ relationalDatabaseEvents: output.relationalDatabaseEvents != null
15952
15443
  ? deserializeAws_json1_1RelationalDatabaseEventList(output.relationalDatabaseEvents, context)
15953
15444
  : undefined,
15954
15445
  };
@@ -15957,52 +15448,46 @@ var deserializeAws_json1_1GetRelationalDatabaseLogEventsResult = function (outpu
15957
15448
  return {
15958
15449
  nextBackwardToken: __expectString(output.nextBackwardToken),
15959
15450
  nextForwardToken: __expectString(output.nextForwardToken),
15960
- resourceLogEvents: output.resourceLogEvents !== undefined && output.resourceLogEvents !== null
15451
+ resourceLogEvents: output.resourceLogEvents != null
15961
15452
  ? deserializeAws_json1_1LogEventList(output.resourceLogEvents, context)
15962
15453
  : undefined,
15963
15454
  };
15964
15455
  };
15965
15456
  var deserializeAws_json1_1GetRelationalDatabaseLogStreamsResult = function (output, context) {
15966
15457
  return {
15967
- logStreams: output.logStreams !== undefined && output.logStreams !== null
15968
- ? deserializeAws_json1_1StringList(output.logStreams, context)
15969
- : undefined,
15458
+ logStreams: output.logStreams != null ? deserializeAws_json1_1StringList(output.logStreams, context) : undefined,
15970
15459
  };
15971
15460
  };
15972
15461
  var deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordResult = function (output, context) {
15973
15462
  return {
15974
- createdAt: output.createdAt !== undefined && output.createdAt !== null
15975
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
15976
- : undefined,
15463
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15977
15464
  masterUserPassword: __expectString(output.masterUserPassword),
15978
15465
  };
15979
15466
  };
15980
15467
  var deserializeAws_json1_1GetRelationalDatabaseMetricDataResult = function (output, context) {
15981
15468
  return {
15982
- metricData: output.metricData !== undefined && output.metricData !== null
15983
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
15984
- : undefined,
15469
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
15985
15470
  metricName: __expectString(output.metricName),
15986
15471
  };
15987
15472
  };
15988
15473
  var deserializeAws_json1_1GetRelationalDatabaseParametersResult = function (output, context) {
15989
15474
  return {
15990
15475
  nextPageToken: __expectString(output.nextPageToken),
15991
- parameters: output.parameters !== undefined && output.parameters !== null
15476
+ parameters: output.parameters != null
15992
15477
  ? deserializeAws_json1_1RelationalDatabaseParameterList(output.parameters, context)
15993
15478
  : undefined,
15994
15479
  };
15995
15480
  };
15996
15481
  var deserializeAws_json1_1GetRelationalDatabaseResult = function (output, context) {
15997
15482
  return {
15998
- relationalDatabase: output.relationalDatabase !== undefined && output.relationalDatabase !== null
15483
+ relationalDatabase: output.relationalDatabase != null
15999
15484
  ? deserializeAws_json1_1RelationalDatabase(output.relationalDatabase, context)
16000
15485
  : undefined,
16001
15486
  };
16002
15487
  };
16003
15488
  var deserializeAws_json1_1GetRelationalDatabaseSnapshotResult = function (output, context) {
16004
15489
  return {
16005
- relationalDatabaseSnapshot: output.relationalDatabaseSnapshot !== undefined && output.relationalDatabaseSnapshot !== null
15490
+ relationalDatabaseSnapshot: output.relationalDatabaseSnapshot != null
16006
15491
  ? deserializeAws_json1_1RelationalDatabaseSnapshot(output.relationalDatabaseSnapshot, context)
16007
15492
  : undefined,
16008
15493
  };
@@ -16010,7 +15495,7 @@ var deserializeAws_json1_1GetRelationalDatabaseSnapshotResult = function (output
16010
15495
  var deserializeAws_json1_1GetRelationalDatabaseSnapshotsResult = function (output, context) {
16011
15496
  return {
16012
15497
  nextPageToken: __expectString(output.nextPageToken),
16013
- relationalDatabaseSnapshots: output.relationalDatabaseSnapshots !== undefined && output.relationalDatabaseSnapshots !== null
15498
+ relationalDatabaseSnapshots: output.relationalDatabaseSnapshots != null
16014
15499
  ? deserializeAws_json1_1RelationalDatabaseSnapshotList(output.relationalDatabaseSnapshots, context)
16015
15500
  : undefined,
16016
15501
  };
@@ -16018,24 +15503,20 @@ var deserializeAws_json1_1GetRelationalDatabaseSnapshotsResult = function (outpu
16018
15503
  var deserializeAws_json1_1GetRelationalDatabasesResult = function (output, context) {
16019
15504
  return {
16020
15505
  nextPageToken: __expectString(output.nextPageToken),
16021
- relationalDatabases: output.relationalDatabases !== undefined && output.relationalDatabases !== null
15506
+ relationalDatabases: output.relationalDatabases != null
16022
15507
  ? deserializeAws_json1_1RelationalDatabaseList(output.relationalDatabases, context)
16023
15508
  : undefined,
16024
15509
  };
16025
15510
  };
16026
15511
  var deserializeAws_json1_1GetStaticIpResult = function (output, context) {
16027
15512
  return {
16028
- staticIp: output.staticIp !== undefined && output.staticIp !== null
16029
- ? deserializeAws_json1_1StaticIp(output.staticIp, context)
16030
- : undefined,
15513
+ staticIp: output.staticIp != null ? deserializeAws_json1_1StaticIp(output.staticIp, context) : undefined,
16031
15514
  };
16032
15515
  };
16033
15516
  var deserializeAws_json1_1GetStaticIpsResult = function (output, context) {
16034
15517
  return {
16035
15518
  nextPageToken: __expectString(output.nextPageToken),
16036
- staticIps: output.staticIps !== undefined && output.staticIps !== null
16037
- ? deserializeAws_json1_1StaticIpList(output.staticIps, context)
16038
- : undefined,
15519
+ staticIps: output.staticIps != null ? deserializeAws_json1_1StaticIpList(output.staticIps, context) : undefined,
16039
15520
  };
16040
15521
  };
16041
15522
  var deserializeAws_json1_1HeaderForwardList = function (output, context) {
@@ -16051,7 +15532,7 @@ var deserializeAws_json1_1HeaderForwardList = function (output, context) {
16051
15532
  };
16052
15533
  var deserializeAws_json1_1HeaderObject = function (output, context) {
16053
15534
  return {
16054
- headersAllowList: output.headersAllowList !== undefined && output.headersAllowList !== null
15535
+ headersAllowList: output.headersAllowList != null
16055
15536
  ? deserializeAws_json1_1HeaderForwardList(output.headersAllowList, context)
16056
15537
  : undefined,
16057
15538
  option: __expectString(output.option),
@@ -16062,14 +15543,14 @@ var deserializeAws_json1_1HostKeyAttributes = function (output, context) {
16062
15543
  algorithm: __expectString(output.algorithm),
16063
15544
  fingerprintSHA1: __expectString(output.fingerprintSHA1),
16064
15545
  fingerprintSHA256: __expectString(output.fingerprintSHA256),
16065
- notValidAfter: output.notValidAfter !== undefined && output.notValidAfter !== null
15546
+ notValidAfter: output.notValidAfter != null
16066
15547
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notValidAfter)))
16067
15548
  : undefined,
16068
- notValidBefore: output.notValidBefore !== undefined && output.notValidBefore !== null
15549
+ notValidBefore: output.notValidBefore != null
16069
15550
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notValidBefore)))
16070
15551
  : undefined,
16071
15552
  publicKey: __expectString(output.publicKey),
16072
- witnessedAt: output.witnessedAt !== undefined && output.witnessedAt !== null
15553
+ witnessedAt: output.witnessedAt != null
16073
15554
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.witnessedAt)))
16074
15555
  : undefined,
16075
15556
  };
@@ -16087,67 +15568,43 @@ var deserializeAws_json1_1HostKeysList = function (output, context) {
16087
15568
  };
16088
15569
  var deserializeAws_json1_1ImportKeyPairResult = function (output, context) {
16089
15570
  return {
16090
- operation: output.operation !== undefined && output.operation !== null
16091
- ? deserializeAws_json1_1Operation(output.operation, context)
16092
- : undefined,
15571
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
16093
15572
  };
16094
15573
  };
16095
15574
  var deserializeAws_json1_1Instance = function (output, context) {
16096
15575
  return {
16097
- addOns: output.addOns !== undefined && output.addOns !== null
16098
- ? deserializeAws_json1_1AddOnList(output.addOns, context)
16099
- : undefined,
15576
+ addOns: output.addOns != null ? deserializeAws_json1_1AddOnList(output.addOns, context) : undefined,
16100
15577
  arn: __expectString(output.arn),
16101
15578
  blueprintId: __expectString(output.blueprintId),
16102
15579
  blueprintName: __expectString(output.blueprintName),
16103
15580
  bundleId: __expectString(output.bundleId),
16104
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16105
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16106
- : undefined,
16107
- hardware: output.hardware !== undefined && output.hardware !== null
16108
- ? deserializeAws_json1_1InstanceHardware(output.hardware, context)
16109
- : undefined,
15581
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15582
+ hardware: output.hardware != null ? deserializeAws_json1_1InstanceHardware(output.hardware, context) : undefined,
16110
15583
  ipAddressType: __expectString(output.ipAddressType),
16111
- ipv6Addresses: output.ipv6Addresses !== undefined && output.ipv6Addresses !== null
16112
- ? deserializeAws_json1_1Ipv6AddressList(output.ipv6Addresses, context)
16113
- : undefined,
15584
+ ipv6Addresses: output.ipv6Addresses != null ? deserializeAws_json1_1Ipv6AddressList(output.ipv6Addresses, context) : undefined,
16114
15585
  isStaticIp: __expectBoolean(output.isStaticIp),
16115
- location: output.location !== undefined && output.location !== null
16116
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16117
- : undefined,
15586
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16118
15587
  name: __expectString(output.name),
16119
- networking: output.networking !== undefined && output.networking !== null
16120
- ? deserializeAws_json1_1InstanceNetworking(output.networking, context)
16121
- : undefined,
15588
+ networking: output.networking != null ? deserializeAws_json1_1InstanceNetworking(output.networking, context) : undefined,
16122
15589
  privateIpAddress: __expectString(output.privateIpAddress),
16123
15590
  publicIpAddress: __expectString(output.publicIpAddress),
16124
15591
  resourceType: __expectString(output.resourceType),
16125
15592
  sshKeyName: __expectString(output.sshKeyName),
16126
- state: output.state !== undefined && output.state !== null
16127
- ? deserializeAws_json1_1InstanceState(output.state, context)
16128
- : undefined,
15593
+ state: output.state != null ? deserializeAws_json1_1InstanceState(output.state, context) : undefined,
16129
15594
  supportCode: __expectString(output.supportCode),
16130
- tags: output.tags !== undefined && output.tags !== null
16131
- ? deserializeAws_json1_1TagList(output.tags, context)
16132
- : undefined,
15595
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
16133
15596
  username: __expectString(output.username),
16134
15597
  };
16135
15598
  };
16136
15599
  var deserializeAws_json1_1InstanceAccessDetails = function (output, context) {
16137
15600
  return {
16138
15601
  certKey: __expectString(output.certKey),
16139
- expiresAt: output.expiresAt !== undefined && output.expiresAt !== null
16140
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt)))
16141
- : undefined,
16142
- hostKeys: output.hostKeys !== undefined && output.hostKeys !== null
16143
- ? deserializeAws_json1_1HostKeysList(output.hostKeys, context)
16144
- : undefined,
15602
+ expiresAt: output.expiresAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt))) : undefined,
15603
+ hostKeys: output.hostKeys != null ? deserializeAws_json1_1HostKeysList(output.hostKeys, context) : undefined,
16145
15604
  instanceName: __expectString(output.instanceName),
16146
15605
  ipAddress: __expectString(output.ipAddress),
16147
15606
  password: __expectString(output.password),
16148
- passwordData: output.passwordData !== undefined && output.passwordData !== null
16149
- ? deserializeAws_json1_1PasswordData(output.passwordData, context)
16150
- : undefined,
15607
+ passwordData: output.passwordData != null ? deserializeAws_json1_1PasswordData(output.passwordData, context) : undefined,
16151
15608
  privateKey: __expectString(output.privateKey),
16152
15609
  protocol: __expectString(output.protocol),
16153
15610
  username: __expectString(output.username),
@@ -16156,9 +15613,7 @@ var deserializeAws_json1_1InstanceAccessDetails = function (output, context) {
16156
15613
  var deserializeAws_json1_1InstanceHardware = function (output, context) {
16157
15614
  return {
16158
15615
  cpuCount: __expectInt32(output.cpuCount),
16159
- disks: output.disks !== undefined && output.disks !== null
16160
- ? deserializeAws_json1_1DiskList(output.disks, context)
16161
- : undefined,
15616
+ disks: output.disks != null ? deserializeAws_json1_1DiskList(output.disks, context) : undefined,
16162
15617
  ramSizeInGb: __limitedParseFloat32(output.ramSizeInGb),
16163
15618
  };
16164
15619
  };
@@ -16193,12 +15648,10 @@ var deserializeAws_json1_1InstanceList = function (output, context) {
16193
15648
  };
16194
15649
  var deserializeAws_json1_1InstanceNetworking = function (output, context) {
16195
15650
  return {
16196
- monthlyTransfer: output.monthlyTransfer !== undefined && output.monthlyTransfer !== null
15651
+ monthlyTransfer: output.monthlyTransfer != null
16197
15652
  ? deserializeAws_json1_1MonthlyTransfer(output.monthlyTransfer, context)
16198
15653
  : undefined,
16199
- ports: output.ports !== undefined && output.ports !== null
16200
- ? deserializeAws_json1_1InstancePortInfoList(output.ports, context)
16201
- : undefined,
15654
+ ports: output.ports != null ? deserializeAws_json1_1InstancePortInfoList(output.ports, context) : undefined,
16202
15655
  };
16203
15656
  };
16204
15657
  var deserializeAws_json1_1InstancePlatformList = function (output, context) {
@@ -16217,17 +15670,11 @@ var deserializeAws_json1_1InstancePortInfo = function (output, context) {
16217
15670
  accessDirection: __expectString(output.accessDirection),
16218
15671
  accessFrom: __expectString(output.accessFrom),
16219
15672
  accessType: __expectString(output.accessType),
16220
- cidrListAliases: output.cidrListAliases !== undefined && output.cidrListAliases !== null
16221
- ? deserializeAws_json1_1StringList(output.cidrListAliases, context)
16222
- : undefined,
16223
- cidrs: output.cidrs !== undefined && output.cidrs !== null
16224
- ? deserializeAws_json1_1StringList(output.cidrs, context)
16225
- : undefined,
15673
+ cidrListAliases: output.cidrListAliases != null ? deserializeAws_json1_1StringList(output.cidrListAliases, context) : undefined,
15674
+ cidrs: output.cidrs != null ? deserializeAws_json1_1StringList(output.cidrs, context) : undefined,
16226
15675
  commonName: __expectString(output.commonName),
16227
15676
  fromPort: __expectInt32(output.fromPort),
16228
- ipv6Cidrs: output.ipv6Cidrs !== undefined && output.ipv6Cidrs !== null
16229
- ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context)
16230
- : undefined,
15677
+ ipv6Cidrs: output.ipv6Cidrs != null ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context) : undefined,
16231
15678
  protocol: __expectString(output.protocol),
16232
15679
  toPort: __expectInt32(output.toPort),
16233
15680
  };
@@ -16245,16 +15692,10 @@ var deserializeAws_json1_1InstancePortInfoList = function (output, context) {
16245
15692
  };
16246
15693
  var deserializeAws_json1_1InstancePortState = function (output, context) {
16247
15694
  return {
16248
- cidrListAliases: output.cidrListAliases !== undefined && output.cidrListAliases !== null
16249
- ? deserializeAws_json1_1StringList(output.cidrListAliases, context)
16250
- : undefined,
16251
- cidrs: output.cidrs !== undefined && output.cidrs !== null
16252
- ? deserializeAws_json1_1StringList(output.cidrs, context)
16253
- : undefined,
15695
+ cidrListAliases: output.cidrListAliases != null ? deserializeAws_json1_1StringList(output.cidrListAliases, context) : undefined,
15696
+ cidrs: output.cidrs != null ? deserializeAws_json1_1StringList(output.cidrs, context) : undefined,
16254
15697
  fromPort: __expectInt32(output.fromPort),
16255
- ipv6Cidrs: output.ipv6Cidrs !== undefined && output.ipv6Cidrs !== null
16256
- ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context)
16257
- : undefined,
15698
+ ipv6Cidrs: output.ipv6Cidrs != null ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context) : undefined,
16258
15699
  protocol: __expectString(output.protocol),
16259
15700
  state: __expectString(output.state),
16260
15701
  toPort: __expectInt32(output.toPort),
@@ -16274,38 +15715,28 @@ var deserializeAws_json1_1InstancePortStateList = function (output, context) {
16274
15715
  var deserializeAws_json1_1InstanceSnapshot = function (output, context) {
16275
15716
  return {
16276
15717
  arn: __expectString(output.arn),
16277
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16278
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16279
- : undefined,
16280
- fromAttachedDisks: output.fromAttachedDisks !== undefined && output.fromAttachedDisks !== null
16281
- ? deserializeAws_json1_1DiskList(output.fromAttachedDisks, context)
16282
- : undefined,
15718
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15719
+ fromAttachedDisks: output.fromAttachedDisks != null ? deserializeAws_json1_1DiskList(output.fromAttachedDisks, context) : undefined,
16283
15720
  fromBlueprintId: __expectString(output.fromBlueprintId),
16284
15721
  fromBundleId: __expectString(output.fromBundleId),
16285
15722
  fromInstanceArn: __expectString(output.fromInstanceArn),
16286
15723
  fromInstanceName: __expectString(output.fromInstanceName),
16287
15724
  isFromAutoSnapshot: __expectBoolean(output.isFromAutoSnapshot),
16288
- location: output.location !== undefined && output.location !== null
16289
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16290
- : undefined,
15725
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16291
15726
  name: __expectString(output.name),
16292
15727
  progress: __expectString(output.progress),
16293
15728
  resourceType: __expectString(output.resourceType),
16294
15729
  sizeInGb: __expectInt32(output.sizeInGb),
16295
15730
  state: __expectString(output.state),
16296
15731
  supportCode: __expectString(output.supportCode),
16297
- tags: output.tags !== undefined && output.tags !== null
16298
- ? deserializeAws_json1_1TagList(output.tags, context)
16299
- : undefined,
15732
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
16300
15733
  };
16301
15734
  };
16302
15735
  var deserializeAws_json1_1InstanceSnapshotInfo = function (output, context) {
16303
15736
  return {
16304
15737
  fromBlueprintId: __expectString(output.fromBlueprintId),
16305
15738
  fromBundleId: __expectString(output.fromBundleId),
16306
- fromDiskInfo: output.fromDiskInfo !== undefined && output.fromDiskInfo !== null
16307
- ? deserializeAws_json1_1DiskInfoList(output.fromDiskInfo, context)
16308
- : undefined,
15739
+ fromDiskInfo: output.fromDiskInfo != null ? deserializeAws_json1_1DiskInfoList(output.fromDiskInfo, context) : undefined,
16309
15740
  };
16310
15741
  };
16311
15742
  var deserializeAws_json1_1InstanceSnapshotList = function (output, context) {
@@ -16352,19 +15783,13 @@ var deserializeAws_json1_1IsVpcPeeredResult = function (output, context) {
16352
15783
  var deserializeAws_json1_1KeyPair = function (output, context) {
16353
15784
  return {
16354
15785
  arn: __expectString(output.arn),
16355
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16356
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16357
- : undefined,
15786
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16358
15787
  fingerprint: __expectString(output.fingerprint),
16359
- location: output.location !== undefined && output.location !== null
16360
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16361
- : undefined,
15788
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16362
15789
  name: __expectString(output.name),
16363
15790
  resourceType: __expectString(output.resourceType),
16364
15791
  supportCode: __expectString(output.supportCode),
16365
- tags: output.tags !== undefined && output.tags !== null
16366
- ? deserializeAws_json1_1TagList(output.tags, context)
16367
- : undefined,
15792
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
16368
15793
  };
16369
15794
  };
16370
15795
  var deserializeAws_json1_1KeyPairList = function (output, context) {
@@ -16381,75 +15806,59 @@ var deserializeAws_json1_1KeyPairList = function (output, context) {
16381
15806
  var deserializeAws_json1_1LightsailDistribution = function (output, context) {
16382
15807
  return {
16383
15808
  ableToUpdateBundle: __expectBoolean(output.ableToUpdateBundle),
16384
- alternativeDomainNames: output.alternativeDomainNames !== undefined && output.alternativeDomainNames !== null
15809
+ alternativeDomainNames: output.alternativeDomainNames != null
16385
15810
  ? deserializeAws_json1_1StringList(output.alternativeDomainNames, context)
16386
15811
  : undefined,
16387
15812
  arn: __expectString(output.arn),
16388
15813
  bundleId: __expectString(output.bundleId),
16389
- cacheBehaviorSettings: output.cacheBehaviorSettings !== undefined && output.cacheBehaviorSettings !== null
15814
+ cacheBehaviorSettings: output.cacheBehaviorSettings != null
16390
15815
  ? deserializeAws_json1_1CacheSettings(output.cacheBehaviorSettings, context)
16391
15816
  : undefined,
16392
- cacheBehaviors: output.cacheBehaviors !== undefined && output.cacheBehaviors !== null
15817
+ cacheBehaviors: output.cacheBehaviors != null
16393
15818
  ? deserializeAws_json1_1CacheBehaviorList(output.cacheBehaviors, context)
16394
15819
  : undefined,
16395
15820
  certificateName: __expectString(output.certificateName),
16396
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16397
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16398
- : undefined,
16399
- defaultCacheBehavior: output.defaultCacheBehavior !== undefined && output.defaultCacheBehavior !== null
15821
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
15822
+ defaultCacheBehavior: output.defaultCacheBehavior != null
16400
15823
  ? deserializeAws_json1_1CacheBehavior(output.defaultCacheBehavior, context)
16401
15824
  : undefined,
16402
15825
  domainName: __expectString(output.domainName),
16403
15826
  ipAddressType: __expectString(output.ipAddressType),
16404
15827
  isEnabled: __expectBoolean(output.isEnabled),
16405
- location: output.location !== undefined && output.location !== null
16406
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16407
- : undefined,
15828
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16408
15829
  name: __expectString(output.name),
16409
- origin: output.origin !== undefined && output.origin !== null
16410
- ? deserializeAws_json1_1Origin(output.origin, context)
16411
- : undefined,
15830
+ origin: output.origin != null ? deserializeAws_json1_1Origin(output.origin, context) : undefined,
16412
15831
  originPublicDNS: __expectString(output.originPublicDNS),
16413
15832
  resourceType: __expectString(output.resourceType),
16414
15833
  status: __expectString(output.status),
16415
15834
  supportCode: __expectString(output.supportCode),
16416
- tags: output.tags !== undefined && output.tags !== null
16417
- ? deserializeAws_json1_1TagList(output.tags, context)
16418
- : undefined,
15835
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
16419
15836
  };
16420
15837
  };
16421
15838
  var deserializeAws_json1_1LoadBalancer = function (output, context) {
16422
15839
  return {
16423
15840
  arn: __expectString(output.arn),
16424
- configurationOptions: output.configurationOptions !== undefined && output.configurationOptions !== null
15841
+ configurationOptions: output.configurationOptions != null
16425
15842
  ? deserializeAws_json1_1LoadBalancerConfigurationOptions(output.configurationOptions, context)
16426
15843
  : undefined,
16427
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16428
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16429
- : undefined,
15844
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16430
15845
  dnsName: __expectString(output.dnsName),
16431
15846
  healthCheckPath: __expectString(output.healthCheckPath),
16432
15847
  httpsRedirectionEnabled: __expectBoolean(output.httpsRedirectionEnabled),
16433
- instanceHealthSummary: output.instanceHealthSummary !== undefined && output.instanceHealthSummary !== null
15848
+ instanceHealthSummary: output.instanceHealthSummary != null
16434
15849
  ? deserializeAws_json1_1InstanceHealthSummaryList(output.instanceHealthSummary, context)
16435
15850
  : undefined,
16436
15851
  instancePort: __expectInt32(output.instancePort),
16437
15852
  ipAddressType: __expectString(output.ipAddressType),
16438
- location: output.location !== undefined && output.location !== null
16439
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16440
- : undefined,
15853
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16441
15854
  name: __expectString(output.name),
16442
15855
  protocol: __expectString(output.protocol),
16443
- publicPorts: output.publicPorts !== undefined && output.publicPorts !== null
16444
- ? deserializeAws_json1_1PortList(output.publicPorts, context)
16445
- : undefined,
15856
+ publicPorts: output.publicPorts != null ? deserializeAws_json1_1PortList(output.publicPorts, context) : undefined,
16446
15857
  resourceType: __expectString(output.resourceType),
16447
15858
  state: __expectString(output.state),
16448
15859
  supportCode: __expectString(output.supportCode),
16449
- tags: output.tags !== undefined && output.tags !== null
16450
- ? deserializeAws_json1_1TagList(output.tags, context)
16451
- : undefined,
16452
- tlsCertificateSummaries: output.tlsCertificateSummaries !== undefined && output.tlsCertificateSummaries !== null
15860
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
15861
+ tlsCertificateSummaries: output.tlsCertificateSummaries != null
16453
15862
  ? deserializeAws_json1_1LoadBalancerTlsCertificateSummaryList(output.tlsCertificateSummaries, context)
16454
15863
  : undefined,
16455
15864
  tlsPolicyName: __expectString(output.tlsPolicyName),
@@ -16479,50 +15888,36 @@ var deserializeAws_json1_1LoadBalancerList = function (output, context) {
16479
15888
  var deserializeAws_json1_1LoadBalancerTlsCertificate = function (output, context) {
16480
15889
  return {
16481
15890
  arn: __expectString(output.arn),
16482
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16483
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16484
- : undefined,
15891
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16485
15892
  domainName: __expectString(output.domainName),
16486
- domainValidationRecords: output.domainValidationRecords !== undefined && output.domainValidationRecords !== null
15893
+ domainValidationRecords: output.domainValidationRecords != null
16487
15894
  ? deserializeAws_json1_1LoadBalancerTlsCertificateDomainValidationRecordList(output.domainValidationRecords, context)
16488
15895
  : undefined,
16489
15896
  failureReason: __expectString(output.failureReason),
16490
15897
  isAttached: __expectBoolean(output.isAttached),
16491
- issuedAt: output.issuedAt !== undefined && output.issuedAt !== null
16492
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.issuedAt)))
16493
- : undefined,
15898
+ issuedAt: output.issuedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.issuedAt))) : undefined,
16494
15899
  issuer: __expectString(output.issuer),
16495
15900
  keyAlgorithm: __expectString(output.keyAlgorithm),
16496
15901
  loadBalancerName: __expectString(output.loadBalancerName),
16497
- location: output.location !== undefined && output.location !== null
16498
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16499
- : undefined,
15902
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16500
15903
  name: __expectString(output.name),
16501
- notAfter: output.notAfter !== undefined && output.notAfter !== null
16502
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notAfter)))
16503
- : undefined,
16504
- notBefore: output.notBefore !== undefined && output.notBefore !== null
16505
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notBefore)))
16506
- : undefined,
16507
- renewalSummary: output.renewalSummary !== undefined && output.renewalSummary !== null
15904
+ notAfter: output.notAfter != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notAfter))) : undefined,
15905
+ notBefore: output.notBefore != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notBefore))) : undefined,
15906
+ renewalSummary: output.renewalSummary != null
16508
15907
  ? deserializeAws_json1_1LoadBalancerTlsCertificateRenewalSummary(output.renewalSummary, context)
16509
15908
  : undefined,
16510
15909
  resourceType: __expectString(output.resourceType),
16511
15910
  revocationReason: __expectString(output.revocationReason),
16512
- revokedAt: output.revokedAt !== undefined && output.revokedAt !== null
16513
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.revokedAt)))
16514
- : undefined,
15911
+ revokedAt: output.revokedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.revokedAt))) : undefined,
16515
15912
  serial: __expectString(output.serial),
16516
15913
  signatureAlgorithm: __expectString(output.signatureAlgorithm),
16517
15914
  status: __expectString(output.status),
16518
15915
  subject: __expectString(output.subject),
16519
- subjectAlternativeNames: output.subjectAlternativeNames !== undefined && output.subjectAlternativeNames !== null
15916
+ subjectAlternativeNames: output.subjectAlternativeNames != null
16520
15917
  ? deserializeAws_json1_1StringList(output.subjectAlternativeNames, context)
16521
15918
  : undefined,
16522
15919
  supportCode: __expectString(output.supportCode),
16523
- tags: output.tags !== undefined && output.tags !== null
16524
- ? deserializeAws_json1_1TagList(output.tags, context)
16525
- : undefined,
15920
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
16526
15921
  };
16527
15922
  };
16528
15923
  var deserializeAws_json1_1LoadBalancerTlsCertificateDomainValidationOption = function (output, context) {
@@ -16575,7 +15970,7 @@ var deserializeAws_json1_1LoadBalancerTlsCertificateList = function (output, con
16575
15970
  };
16576
15971
  var deserializeAws_json1_1LoadBalancerTlsCertificateRenewalSummary = function (output, context) {
16577
15972
  return {
16578
- domainValidationOptions: output.domainValidationOptions !== undefined && output.domainValidationOptions !== null
15973
+ domainValidationOptions: output.domainValidationOptions != null
16579
15974
  ? deserializeAws_json1_1LoadBalancerTlsCertificateDomainValidationOptionList(output.domainValidationOptions, context)
16580
15975
  : undefined,
16581
15976
  renewalStatus: __expectString(output.renewalStatus),
@@ -16600,15 +15995,11 @@ var deserializeAws_json1_1LoadBalancerTlsCertificateSummaryList = function (outp
16600
15995
  };
16601
15996
  var deserializeAws_json1_1LoadBalancerTlsPolicy = function (output, context) {
16602
15997
  return {
16603
- ciphers: output.ciphers !== undefined && output.ciphers !== null
16604
- ? deserializeAws_json1_1StringList(output.ciphers, context)
16605
- : undefined,
15998
+ ciphers: output.ciphers != null ? deserializeAws_json1_1StringList(output.ciphers, context) : undefined,
16606
15999
  description: __expectString(output.description),
16607
16000
  isDefault: __expectBoolean(output.isDefault),
16608
16001
  name: __expectString(output.name),
16609
- protocols: output.protocols !== undefined && output.protocols !== null
16610
- ? deserializeAws_json1_1StringList(output.protocols, context)
16611
- : undefined,
16002
+ protocols: output.protocols != null ? deserializeAws_json1_1StringList(output.protocols, context) : undefined,
16612
16003
  };
16613
16004
  };
16614
16005
  var deserializeAws_json1_1LoadBalancerTlsPolicyList = function (output, context) {
@@ -16624,9 +16015,7 @@ var deserializeAws_json1_1LoadBalancerTlsPolicyList = function (output, context)
16624
16015
  };
16625
16016
  var deserializeAws_json1_1LogEvent = function (output, context) {
16626
16017
  return {
16627
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16628
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16629
- : undefined,
16018
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16630
16019
  message: __expectString(output.message),
16631
16020
  };
16632
16021
  };
@@ -16648,9 +16037,7 @@ var deserializeAws_json1_1MetricDatapoint = function (output, context) {
16648
16037
  minimum: __limitedParseDouble(output.minimum),
16649
16038
  sampleCount: __limitedParseDouble(output.sampleCount),
16650
16039
  sum: __limitedParseDouble(output.sum),
16651
- timestamp: output.timestamp !== undefined && output.timestamp !== null
16652
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
16653
- : undefined,
16040
+ timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
16654
16041
  unit: __expectString(output.unit),
16655
16042
  };
16656
16043
  };
@@ -16698,29 +16085,23 @@ var deserializeAws_json1_1NotificationTriggerList = function (output, context) {
16698
16085
  };
16699
16086
  var deserializeAws_json1_1OpenInstancePublicPortsResult = function (output, context) {
16700
16087
  return {
16701
- operation: output.operation !== undefined && output.operation !== null
16702
- ? deserializeAws_json1_1Operation(output.operation, context)
16703
- : undefined,
16088
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
16704
16089
  };
16705
16090
  };
16706
16091
  var deserializeAws_json1_1Operation = function (output, context) {
16707
16092
  return {
16708
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16709
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16710
- : undefined,
16093
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16711
16094
  errorCode: __expectString(output.errorCode),
16712
16095
  errorDetails: __expectString(output.errorDetails),
16713
16096
  id: __expectString(output.id),
16714
16097
  isTerminal: __expectBoolean(output.isTerminal),
16715
- location: output.location !== undefined && output.location !== null
16716
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16717
- : undefined,
16098
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16718
16099
  operationDetails: __expectString(output.operationDetails),
16719
16100
  operationType: __expectString(output.operationType),
16720
16101
  resourceName: __expectString(output.resourceName),
16721
16102
  resourceType: __expectString(output.resourceType),
16722
16103
  status: __expectString(output.status),
16723
- statusChangedAt: output.statusChangedAt !== undefined && output.statusChangedAt !== null
16104
+ statusChangedAt: output.statusChangedAt != null
16724
16105
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.statusChangedAt)))
16725
16106
  : undefined,
16726
16107
  };
@@ -16771,15 +16152,13 @@ var deserializeAws_json1_1PasswordData = function (output, context) {
16771
16152
  };
16772
16153
  var deserializeAws_json1_1PeerVpcResult = function (output, context) {
16773
16154
  return {
16774
- operation: output.operation !== undefined && output.operation !== null
16775
- ? deserializeAws_json1_1Operation(output.operation, context)
16776
- : undefined,
16155
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
16777
16156
  };
16778
16157
  };
16779
16158
  var deserializeAws_json1_1PendingMaintenanceAction = function (output, context) {
16780
16159
  return {
16781
16160
  action: __expectString(output.action),
16782
- currentApplyDate: output.currentApplyDate !== undefined && output.currentApplyDate !== null
16161
+ currentApplyDate: output.currentApplyDate != null
16783
16162
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.currentApplyDate)))
16784
16163
  : undefined,
16785
16164
  description: __expectString(output.description),
@@ -16826,57 +16205,49 @@ var deserializeAws_json1_1PortMap = function (output, context) {
16826
16205
  };
16827
16206
  var deserializeAws_json1_1PrivateRegistryAccess = function (output, context) {
16828
16207
  return {
16829
- ecrImagePullerRole: output.ecrImagePullerRole !== undefined && output.ecrImagePullerRole !== null
16208
+ ecrImagePullerRole: output.ecrImagePullerRole != null
16830
16209
  ? deserializeAws_json1_1ContainerServiceECRImagePullerRole(output.ecrImagePullerRole, context)
16831
16210
  : undefined,
16832
16211
  };
16833
16212
  };
16834
16213
  var deserializeAws_json1_1PutAlarmResult = function (output, context) {
16835
16214
  return {
16836
- operations: output.operations !== undefined && output.operations !== null
16837
- ? deserializeAws_json1_1OperationList(output.operations, context)
16838
- : undefined,
16215
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
16839
16216
  };
16840
16217
  };
16841
16218
  var deserializeAws_json1_1PutInstancePublicPortsResult = function (output, context) {
16842
16219
  return {
16843
- operation: output.operation !== undefined && output.operation !== null
16844
- ? deserializeAws_json1_1Operation(output.operation, context)
16845
- : undefined,
16220
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
16846
16221
  };
16847
16222
  };
16848
16223
  var deserializeAws_json1_1QueryStringObject = function (output, context) {
16849
16224
  return {
16850
16225
  option: __expectBoolean(output.option),
16851
- queryStringsAllowList: output.queryStringsAllowList !== undefined && output.queryStringsAllowList !== null
16226
+ queryStringsAllowList: output.queryStringsAllowList != null
16852
16227
  ? deserializeAws_json1_1StringList(output.queryStringsAllowList, context)
16853
16228
  : undefined,
16854
16229
  };
16855
16230
  };
16856
16231
  var deserializeAws_json1_1RebootInstanceResult = function (output, context) {
16857
16232
  return {
16858
- operations: output.operations !== undefined && output.operations !== null
16859
- ? deserializeAws_json1_1OperationList(output.operations, context)
16860
- : undefined,
16233
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
16861
16234
  };
16862
16235
  };
16863
16236
  var deserializeAws_json1_1RebootRelationalDatabaseResult = function (output, context) {
16864
16237
  return {
16865
- operations: output.operations !== undefined && output.operations !== null
16866
- ? deserializeAws_json1_1OperationList(output.operations, context)
16867
- : undefined,
16238
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
16868
16239
  };
16869
16240
  };
16870
16241
  var deserializeAws_json1_1Region = function (output, context) {
16871
16242
  return {
16872
- availabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
16243
+ availabilityZones: output.availabilityZones != null
16873
16244
  ? deserializeAws_json1_1AvailabilityZoneList(output.availabilityZones, context)
16874
16245
  : undefined,
16875
16246
  continentCode: __expectString(output.continentCode),
16876
16247
  description: __expectString(output.description),
16877
16248
  displayName: __expectString(output.displayName),
16878
16249
  name: __expectString(output.name),
16879
- relationalDatabaseAvailabilityZones: output.relationalDatabaseAvailabilityZones !== undefined && output.relationalDatabaseAvailabilityZones !== null
16250
+ relationalDatabaseAvailabilityZones: output.relationalDatabaseAvailabilityZones != null
16880
16251
  ? deserializeAws_json1_1AvailabilityZoneList(output.relationalDatabaseAvailabilityZones, context)
16881
16252
  : undefined,
16882
16253
  };
@@ -16894,9 +16265,7 @@ var deserializeAws_json1_1RegionList = function (output, context) {
16894
16265
  };
16895
16266
  var deserializeAws_json1_1RegisterContainerImageResult = function (output, context) {
16896
16267
  return {
16897
- containerImage: output.containerImage !== undefined && output.containerImage !== null
16898
- ? deserializeAws_json1_1ContainerImage(output.containerImage, context)
16899
- : undefined,
16268
+ containerImage: output.containerImage != null ? deserializeAws_json1_1ContainerImage(output.containerImage, context) : undefined,
16900
16269
  };
16901
16270
  };
16902
16271
  var deserializeAws_json1_1RelationalDatabase = function (output, context) {
@@ -16904,31 +16273,25 @@ var deserializeAws_json1_1RelationalDatabase = function (output, context) {
16904
16273
  arn: __expectString(output.arn),
16905
16274
  backupRetentionEnabled: __expectBoolean(output.backupRetentionEnabled),
16906
16275
  caCertificateIdentifier: __expectString(output.caCertificateIdentifier),
16907
- createdAt: output.createdAt !== undefined && output.createdAt !== null
16908
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
16909
- : undefined,
16276
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16910
16277
  engine: __expectString(output.engine),
16911
16278
  engineVersion: __expectString(output.engineVersion),
16912
- hardware: output.hardware !== undefined && output.hardware !== null
16913
- ? deserializeAws_json1_1RelationalDatabaseHardware(output.hardware, context)
16914
- : undefined,
16915
- latestRestorableTime: output.latestRestorableTime !== undefined && output.latestRestorableTime !== null
16279
+ hardware: output.hardware != null ? deserializeAws_json1_1RelationalDatabaseHardware(output.hardware, context) : undefined,
16280
+ latestRestorableTime: output.latestRestorableTime != null
16916
16281
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.latestRestorableTime)))
16917
16282
  : undefined,
16918
- location: output.location !== undefined && output.location !== null
16919
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
16920
- : undefined,
16283
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
16921
16284
  masterDatabaseName: __expectString(output.masterDatabaseName),
16922
- masterEndpoint: output.masterEndpoint !== undefined && output.masterEndpoint !== null
16285
+ masterEndpoint: output.masterEndpoint != null
16923
16286
  ? deserializeAws_json1_1RelationalDatabaseEndpoint(output.masterEndpoint, context)
16924
16287
  : undefined,
16925
16288
  masterUsername: __expectString(output.masterUsername),
16926
16289
  name: __expectString(output.name),
16927
16290
  parameterApplyStatus: __expectString(output.parameterApplyStatus),
16928
- pendingMaintenanceActions: output.pendingMaintenanceActions !== undefined && output.pendingMaintenanceActions !== null
16291
+ pendingMaintenanceActions: output.pendingMaintenanceActions != null
16929
16292
  ? deserializeAws_json1_1PendingMaintenanceActionList(output.pendingMaintenanceActions, context)
16930
16293
  : undefined,
16931
- pendingModifiedValues: output.pendingModifiedValues !== undefined && output.pendingModifiedValues !== null
16294
+ pendingModifiedValues: output.pendingModifiedValues != null
16932
16295
  ? deserializeAws_json1_1PendingModifiedRelationalDatabaseValues(output.pendingModifiedValues, context)
16933
16296
  : undefined,
16934
16297
  preferredBackupWindow: __expectString(output.preferredBackupWindow),
@@ -16940,9 +16303,7 @@ var deserializeAws_json1_1RelationalDatabase = function (output, context) {
16940
16303
  secondaryAvailabilityZone: __expectString(output.secondaryAvailabilityZone),
16941
16304
  state: __expectString(output.state),
16942
16305
  supportCode: __expectString(output.supportCode),
16943
- tags: output.tags !== undefined && output.tags !== null
16944
- ? deserializeAws_json1_1TagList(output.tags, context)
16945
- : undefined,
16306
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
16946
16307
  };
16947
16308
  };
16948
16309
  var deserializeAws_json1_1RelationalDatabaseBlueprint = function (output, context) {
@@ -16998,12 +16359,8 @@ var deserializeAws_json1_1RelationalDatabaseEndpoint = function (output, context
16998
16359
  };
16999
16360
  var deserializeAws_json1_1RelationalDatabaseEvent = function (output, context) {
17000
16361
  return {
17001
- createdAt: output.createdAt !== undefined && output.createdAt !== null
17002
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
17003
- : undefined,
17004
- eventCategories: output.eventCategories !== undefined && output.eventCategories !== null
17005
- ? deserializeAws_json1_1StringList(output.eventCategories, context)
17006
- : undefined,
16362
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
16363
+ eventCategories: output.eventCategories != null ? deserializeAws_json1_1StringList(output.eventCategories, context) : undefined,
17007
16364
  message: __expectString(output.message),
17008
16365
  resource: __expectString(output.resource),
17009
16366
  };
@@ -17063,26 +16420,20 @@ var deserializeAws_json1_1RelationalDatabaseParameterList = function (output, co
17063
16420
  var deserializeAws_json1_1RelationalDatabaseSnapshot = function (output, context) {
17064
16421
  return {
17065
16422
  arn: __expectString(output.arn),
17066
- createdAt: output.createdAt !== undefined && output.createdAt !== null
17067
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
17068
- : undefined,
16423
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
17069
16424
  engine: __expectString(output.engine),
17070
16425
  engineVersion: __expectString(output.engineVersion),
17071
16426
  fromRelationalDatabaseArn: __expectString(output.fromRelationalDatabaseArn),
17072
16427
  fromRelationalDatabaseBlueprintId: __expectString(output.fromRelationalDatabaseBlueprintId),
17073
16428
  fromRelationalDatabaseBundleId: __expectString(output.fromRelationalDatabaseBundleId),
17074
16429
  fromRelationalDatabaseName: __expectString(output.fromRelationalDatabaseName),
17075
- location: output.location !== undefined && output.location !== null
17076
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
17077
- : undefined,
16430
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
17078
16431
  name: __expectString(output.name),
17079
16432
  resourceType: __expectString(output.resourceType),
17080
16433
  sizeInGb: __expectInt32(output.sizeInGb),
17081
16434
  state: __expectString(output.state),
17082
16435
  supportCode: __expectString(output.supportCode),
17083
- tags: output.tags !== undefined && output.tags !== null
17084
- ? deserializeAws_json1_1TagList(output.tags, context)
17085
- : undefined,
16436
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
17086
16437
  };
17087
16438
  };
17088
16439
  var deserializeAws_json1_1RelationalDatabaseSnapshotList = function (output, context) {
@@ -17098,31 +16449,23 @@ var deserializeAws_json1_1RelationalDatabaseSnapshotList = function (output, con
17098
16449
  };
17099
16450
  var deserializeAws_json1_1ReleaseStaticIpResult = function (output, context) {
17100
16451
  return {
17101
- operations: output.operations !== undefined && output.operations !== null
17102
- ? deserializeAws_json1_1OperationList(output.operations, context)
17103
- : undefined,
16452
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17104
16453
  };
17105
16454
  };
17106
16455
  var deserializeAws_json1_1RenewalSummary = function (output, context) {
17107
16456
  return {
17108
- domainValidationRecords: output.domainValidationRecords !== undefined && output.domainValidationRecords !== null
16457
+ domainValidationRecords: output.domainValidationRecords != null
17109
16458
  ? deserializeAws_json1_1DomainValidationRecordList(output.domainValidationRecords, context)
17110
16459
  : undefined,
17111
16460
  renewalStatus: __expectString(output.renewalStatus),
17112
16461
  renewalStatusReason: __expectString(output.renewalStatusReason),
17113
- updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
17114
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt)))
17115
- : undefined,
16462
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt))) : undefined,
17116
16463
  };
17117
16464
  };
17118
16465
  var deserializeAws_json1_1ResetDistributionCacheResult = function (output, context) {
17119
16466
  return {
17120
- createTime: output.createTime !== undefined && output.createTime !== null
17121
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
17122
- : undefined,
17123
- operation: output.operation !== undefined && output.operation !== null
17124
- ? deserializeAws_json1_1Operation(output.operation, context)
17125
- : undefined,
16467
+ createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
16468
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
17126
16469
  status: __expectString(output.status),
17127
16470
  };
17128
16471
  };
@@ -17147,9 +16490,7 @@ var deserializeAws_json1_1ResourceRecord = function (output, context) {
17147
16490
  };
17148
16491
  var deserializeAws_json1_1SendContactMethodVerificationResult = function (output, context) {
17149
16492
  return {
17150
- operations: output.operations !== undefined && output.operations !== null
17151
- ? deserializeAws_json1_1OperationList(output.operations, context)
17152
- : undefined,
16493
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17153
16494
  };
17154
16495
  };
17155
16496
  var deserializeAws_json1_1ServiceException = function (output, context) {
@@ -17162,44 +16503,32 @@ var deserializeAws_json1_1ServiceException = function (output, context) {
17162
16503
  };
17163
16504
  var deserializeAws_json1_1SetIpAddressTypeResult = function (output, context) {
17164
16505
  return {
17165
- operations: output.operations !== undefined && output.operations !== null
17166
- ? deserializeAws_json1_1OperationList(output.operations, context)
17167
- : undefined,
16506
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17168
16507
  };
17169
16508
  };
17170
16509
  var deserializeAws_json1_1SetResourceAccessForBucketResult = function (output, context) {
17171
16510
  return {
17172
- operations: output.operations !== undefined && output.operations !== null
17173
- ? deserializeAws_json1_1OperationList(output.operations, context)
17174
- : undefined,
16511
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17175
16512
  };
17176
16513
  };
17177
16514
  var deserializeAws_json1_1StartInstanceResult = function (output, context) {
17178
16515
  return {
17179
- operations: output.operations !== undefined && output.operations !== null
17180
- ? deserializeAws_json1_1OperationList(output.operations, context)
17181
- : undefined,
16516
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17182
16517
  };
17183
16518
  };
17184
16519
  var deserializeAws_json1_1StartRelationalDatabaseResult = function (output, context) {
17185
16520
  return {
17186
- operations: output.operations !== undefined && output.operations !== null
17187
- ? deserializeAws_json1_1OperationList(output.operations, context)
17188
- : undefined,
16521
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17189
16522
  };
17190
16523
  };
17191
16524
  var deserializeAws_json1_1StaticIp = function (output, context) {
17192
16525
  return {
17193
16526
  arn: __expectString(output.arn),
17194
16527
  attachedTo: __expectString(output.attachedTo),
17195
- createdAt: output.createdAt !== undefined && output.createdAt !== null
17196
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
17197
- : undefined,
16528
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
17198
16529
  ipAddress: __expectString(output.ipAddress),
17199
16530
  isAttached: __expectBoolean(output.isAttached),
17200
- location: output.location !== undefined && output.location !== null
17201
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
17202
- : undefined,
16531
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
17203
16532
  name: __expectString(output.name),
17204
16533
  resourceType: __expectString(output.resourceType),
17205
16534
  supportCode: __expectString(output.supportCode),
@@ -17218,16 +16547,12 @@ var deserializeAws_json1_1StaticIpList = function (output, context) {
17218
16547
  };
17219
16548
  var deserializeAws_json1_1StopInstanceResult = function (output, context) {
17220
16549
  return {
17221
- operations: output.operations !== undefined && output.operations !== null
17222
- ? deserializeAws_json1_1OperationList(output.operations, context)
17223
- : undefined,
16550
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17224
16551
  };
17225
16552
  };
17226
16553
  var deserializeAws_json1_1StopRelationalDatabaseResult = function (output, context) {
17227
16554
  return {
17228
- operations: output.operations !== undefined && output.operations !== null
17229
- ? deserializeAws_json1_1OperationList(output.operations, context)
17230
- : undefined,
16555
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17231
16556
  };
17232
16557
  };
17233
16558
  var deserializeAws_json1_1StringList = function (output, context) {
@@ -17271,16 +16596,12 @@ var deserializeAws_json1_1TagList = function (output, context) {
17271
16596
  };
17272
16597
  var deserializeAws_json1_1TagResourceResult = function (output, context) {
17273
16598
  return {
17274
- operations: output.operations !== undefined && output.operations !== null
17275
- ? deserializeAws_json1_1OperationList(output.operations, context)
17276
- : undefined,
16599
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17277
16600
  };
17278
16601
  };
17279
16602
  var deserializeAws_json1_1TestAlarmResult = function (output, context) {
17280
16603
  return {
17281
- operations: output.operations !== undefined && output.operations !== null
17282
- ? deserializeAws_json1_1OperationList(output.operations, context)
17283
- : undefined,
16604
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17284
16605
  };
17285
16606
  };
17286
16607
  var deserializeAws_json1_1UnauthenticatedException = function (output, context) {
@@ -17293,82 +16614,60 @@ var deserializeAws_json1_1UnauthenticatedException = function (output, context)
17293
16614
  };
17294
16615
  var deserializeAws_json1_1UnpeerVpcResult = function (output, context) {
17295
16616
  return {
17296
- operation: output.operation !== undefined && output.operation !== null
17297
- ? deserializeAws_json1_1Operation(output.operation, context)
17298
- : undefined,
16617
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
17299
16618
  };
17300
16619
  };
17301
16620
  var deserializeAws_json1_1UntagResourceResult = function (output, context) {
17302
16621
  return {
17303
- operations: output.operations !== undefined && output.operations !== null
17304
- ? deserializeAws_json1_1OperationList(output.operations, context)
17305
- : undefined,
16622
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17306
16623
  };
17307
16624
  };
17308
16625
  var deserializeAws_json1_1UpdateBucketBundleResult = function (output, context) {
17309
16626
  return {
17310
- operations: output.operations !== undefined && output.operations !== null
17311
- ? deserializeAws_json1_1OperationList(output.operations, context)
17312
- : undefined,
16627
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17313
16628
  };
17314
16629
  };
17315
16630
  var deserializeAws_json1_1UpdateBucketResult = function (output, context) {
17316
16631
  return {
17317
- bucket: output.bucket !== undefined && output.bucket !== null
17318
- ? deserializeAws_json1_1Bucket(output.bucket, context)
17319
- : undefined,
17320
- operations: output.operations !== undefined && output.operations !== null
17321
- ? deserializeAws_json1_1OperationList(output.operations, context)
17322
- : undefined,
16632
+ bucket: output.bucket != null ? deserializeAws_json1_1Bucket(output.bucket, context) : undefined,
16633
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17323
16634
  };
17324
16635
  };
17325
16636
  var deserializeAws_json1_1UpdateContainerServiceResult = function (output, context) {
17326
16637
  return {
17327
- containerService: output.containerService !== undefined && output.containerService !== null
16638
+ containerService: output.containerService != null
17328
16639
  ? deserializeAws_json1_1ContainerService(output.containerService, context)
17329
16640
  : undefined,
17330
16641
  };
17331
16642
  };
17332
16643
  var deserializeAws_json1_1UpdateDistributionBundleResult = function (output, context) {
17333
16644
  return {
17334
- operation: output.operation !== undefined && output.operation !== null
17335
- ? deserializeAws_json1_1Operation(output.operation, context)
17336
- : undefined,
16645
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
17337
16646
  };
17338
16647
  };
17339
16648
  var deserializeAws_json1_1UpdateDistributionResult = function (output, context) {
17340
16649
  return {
17341
- operation: output.operation !== undefined && output.operation !== null
17342
- ? deserializeAws_json1_1Operation(output.operation, context)
17343
- : undefined,
16650
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
17344
16651
  };
17345
16652
  };
17346
16653
  var deserializeAws_json1_1UpdateDomainEntryResult = function (output, context) {
17347
16654
  return {
17348
- operations: output.operations !== undefined && output.operations !== null
17349
- ? deserializeAws_json1_1OperationList(output.operations, context)
17350
- : undefined,
16655
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17351
16656
  };
17352
16657
  };
17353
16658
  var deserializeAws_json1_1UpdateLoadBalancerAttributeResult = function (output, context) {
17354
16659
  return {
17355
- operations: output.operations !== undefined && output.operations !== null
17356
- ? deserializeAws_json1_1OperationList(output.operations, context)
17357
- : undefined,
16660
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17358
16661
  };
17359
16662
  };
17360
16663
  var deserializeAws_json1_1UpdateRelationalDatabaseParametersResult = function (output, context) {
17361
16664
  return {
17362
- operations: output.operations !== undefined && output.operations !== null
17363
- ? deserializeAws_json1_1OperationList(output.operations, context)
17364
- : undefined,
16665
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17365
16666
  };
17366
16667
  };
17367
16668
  var deserializeAws_json1_1UpdateRelationalDatabaseResult = function (output, context) {
17368
16669
  return {
17369
- operations: output.operations !== undefined && output.operations !== null
17370
- ? deserializeAws_json1_1OperationList(output.operations, context)
17371
- : undefined,
16670
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
17372
16671
  };
17373
16672
  };
17374
16673
  var deserializeMetadata = function (output) {
@@ -17427,6 +16726,9 @@ var loadRestJsonErrorCode = function (output, data) {
17427
16726
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
17428
16727
  var sanitizeErrorCode = function (rawValue) {
17429
16728
  var cleanValue = rawValue;
16729
+ if (typeof cleanValue === "number") {
16730
+ cleanValue = cleanValue.toString();
16731
+ }
17430
16732
  if (cleanValue.indexOf(":") >= 0) {
17431
16733
  cleanValue = cleanValue.split(":")[0];
17432
16734
  }