@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.
@@ -9831,16 +9831,14 @@ const deserializeAws_json1_1UnauthenticatedExceptionResponse = async (parsedOutp
9831
9831
  };
9832
9832
  const serializeAws_json1_1AccessRules = (input, context) => {
9833
9833
  return {
9834
- ...(input.allowPublicOverrides !== undefined &&
9835
- input.allowPublicOverrides !== null && { allowPublicOverrides: input.allowPublicOverrides }),
9836
- ...(input.getObject !== undefined && input.getObject !== null && { getObject: input.getObject }),
9834
+ ...(input.allowPublicOverrides != null && { allowPublicOverrides: input.allowPublicOverrides }),
9835
+ ...(input.getObject != null && { getObject: input.getObject }),
9837
9836
  };
9838
9837
  };
9839
9838
  const serializeAws_json1_1AddOnRequest = (input, context) => {
9840
9839
  return {
9841
- ...(input.addOnType !== undefined && input.addOnType !== null && { addOnType: input.addOnType }),
9842
- ...(input.autoSnapshotAddOnRequest !== undefined &&
9843
- input.autoSnapshotAddOnRequest !== null && {
9840
+ ...(input.addOnType != null && { addOnType: input.addOnType }),
9841
+ ...(input.autoSnapshotAddOnRequest != null && {
9844
9842
  autoSnapshotAddOnRequest: serializeAws_json1_1AutoSnapshotAddOnRequest(input.autoSnapshotAddOnRequest, context),
9845
9843
  }),
9846
9844
  };
@@ -9857,22 +9855,20 @@ const serializeAws_json1_1AddOnRequestList = (input, context) => {
9857
9855
  };
9858
9856
  const serializeAws_json1_1AllocateStaticIpRequest = (input, context) => {
9859
9857
  return {
9860
- ...(input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }),
9858
+ ...(input.staticIpName != null && { staticIpName: input.staticIpName }),
9861
9859
  };
9862
9860
  };
9863
9861
  const serializeAws_json1_1AttachCertificateToDistributionRequest = (input, context) => {
9864
9862
  return {
9865
- ...(input.certificateName !== undefined &&
9866
- input.certificateName !== null && { certificateName: input.certificateName }),
9867
- ...(input.distributionName !== undefined &&
9868
- input.distributionName !== null && { distributionName: input.distributionName }),
9863
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
9864
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
9869
9865
  };
9870
9866
  };
9871
9867
  const serializeAws_json1_1AttachDiskRequest = (input, context) => {
9872
9868
  return {
9873
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
9874
- ...(input.diskPath !== undefined && input.diskPath !== null && { diskPath: input.diskPath }),
9875
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
9869
+ ...(input.diskName != null && { diskName: input.diskName }),
9870
+ ...(input.diskPath != null && { diskPath: input.diskPath }),
9871
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
9876
9872
  };
9877
9873
  };
9878
9874
  const serializeAws_json1_1AttachedDiskMap = (input, context) => {
@@ -9888,44 +9884,39 @@ const serializeAws_json1_1AttachedDiskMap = (input, context) => {
9888
9884
  };
9889
9885
  const serializeAws_json1_1AttachInstancesToLoadBalancerRequest = (input, context) => {
9890
9886
  return {
9891
- ...(input.instanceNames !== undefined &&
9892
- input.instanceNames !== null && {
9887
+ ...(input.instanceNames != null && {
9893
9888
  instanceNames: serializeAws_json1_1ResourceNameList(input.instanceNames, context),
9894
9889
  }),
9895
- ...(input.loadBalancerName !== undefined &&
9896
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
9890
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
9897
9891
  };
9898
9892
  };
9899
9893
  const serializeAws_json1_1AttachLoadBalancerTlsCertificateRequest = (input, context) => {
9900
9894
  return {
9901
- ...(input.certificateName !== undefined &&
9902
- input.certificateName !== null && { certificateName: input.certificateName }),
9903
- ...(input.loadBalancerName !== undefined &&
9904
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
9895
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
9896
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
9905
9897
  };
9906
9898
  };
9907
9899
  const serializeAws_json1_1AttachStaticIpRequest = (input, context) => {
9908
9900
  return {
9909
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
9910
- ...(input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }),
9901
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
9902
+ ...(input.staticIpName != null && { staticIpName: input.staticIpName }),
9911
9903
  };
9912
9904
  };
9913
9905
  const serializeAws_json1_1AutoSnapshotAddOnRequest = (input, context) => {
9914
9906
  return {
9915
- ...(input.snapshotTimeOfDay !== undefined &&
9916
- input.snapshotTimeOfDay !== null && { snapshotTimeOfDay: input.snapshotTimeOfDay }),
9907
+ ...(input.snapshotTimeOfDay != null && { snapshotTimeOfDay: input.snapshotTimeOfDay }),
9917
9908
  };
9918
9909
  };
9919
9910
  const serializeAws_json1_1BucketAccessLogConfig = (input, context) => {
9920
9911
  return {
9921
- ...(input.destination !== undefined && input.destination !== null && { destination: input.destination }),
9922
- ...(input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled }),
9923
- ...(input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }),
9912
+ ...(input.destination != null && { destination: input.destination }),
9913
+ ...(input.enabled != null && { enabled: input.enabled }),
9914
+ ...(input.prefix != null && { prefix: input.prefix }),
9924
9915
  };
9925
9916
  };
9926
9917
  const serializeAws_json1_1CacheBehavior = (input, context) => {
9927
9918
  return {
9928
- ...(input.behavior !== undefined && input.behavior !== null && { behavior: input.behavior }),
9919
+ ...(input.behavior != null && { behavior: input.behavior }),
9929
9920
  };
9930
9921
  };
9931
9922
  const serializeAws_json1_1CacheBehaviorList = (input, context) => {
@@ -9940,31 +9931,26 @@ const serializeAws_json1_1CacheBehaviorList = (input, context) => {
9940
9931
  };
9941
9932
  const serializeAws_json1_1CacheBehaviorPerPath = (input, context) => {
9942
9933
  return {
9943
- ...(input.behavior !== undefined && input.behavior !== null && { behavior: input.behavior }),
9944
- ...(input.path !== undefined && input.path !== null && { path: input.path }),
9934
+ ...(input.behavior != null && { behavior: input.behavior }),
9935
+ ...(input.path != null && { path: input.path }),
9945
9936
  };
9946
9937
  };
9947
9938
  const serializeAws_json1_1CacheSettings = (input, context) => {
9948
9939
  return {
9949
- ...(input.allowedHTTPMethods !== undefined &&
9950
- input.allowedHTTPMethods !== null && { allowedHTTPMethods: input.allowedHTTPMethods }),
9951
- ...(input.cachedHTTPMethods !== undefined &&
9952
- input.cachedHTTPMethods !== null && { cachedHTTPMethods: input.cachedHTTPMethods }),
9953
- ...(input.defaultTTL !== undefined && input.defaultTTL !== null && { defaultTTL: input.defaultTTL }),
9954
- ...(input.forwardedCookies !== undefined &&
9955
- input.forwardedCookies !== null && {
9940
+ ...(input.allowedHTTPMethods != null && { allowedHTTPMethods: input.allowedHTTPMethods }),
9941
+ ...(input.cachedHTTPMethods != null && { cachedHTTPMethods: input.cachedHTTPMethods }),
9942
+ ...(input.defaultTTL != null && { defaultTTL: input.defaultTTL }),
9943
+ ...(input.forwardedCookies != null && {
9956
9944
  forwardedCookies: serializeAws_json1_1CookieObject(input.forwardedCookies, context),
9957
9945
  }),
9958
- ...(input.forwardedHeaders !== undefined &&
9959
- input.forwardedHeaders !== null && {
9946
+ ...(input.forwardedHeaders != null && {
9960
9947
  forwardedHeaders: serializeAws_json1_1HeaderObject(input.forwardedHeaders, context),
9961
9948
  }),
9962
- ...(input.forwardedQueryStrings !== undefined &&
9963
- input.forwardedQueryStrings !== null && {
9949
+ ...(input.forwardedQueryStrings != null && {
9964
9950
  forwardedQueryStrings: serializeAws_json1_1QueryStringObject(input.forwardedQueryStrings, context),
9965
9951
  }),
9966
- ...(input.maximumTTL !== undefined && input.maximumTTL !== null && { maximumTTL: input.maximumTTL }),
9967
- ...(input.minimumTTL !== undefined && input.minimumTTL !== null && { minimumTTL: input.minimumTTL }),
9952
+ ...(input.maximumTTL != null && { maximumTTL: input.maximumTTL }),
9953
+ ...(input.minimumTTL != null && { minimumTTL: input.minimumTTL }),
9968
9954
  };
9969
9955
  };
9970
9956
  const serializeAws_json1_1CertificateStatusList = (input, context) => {
@@ -9979,9 +9965,8 @@ const serializeAws_json1_1CertificateStatusList = (input, context) => {
9979
9965
  };
9980
9966
  const serializeAws_json1_1CloseInstancePublicPortsRequest = (input, context) => {
9981
9967
  return {
9982
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
9983
- ...(input.portInfo !== undefined &&
9984
- input.portInfo !== null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }),
9968
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
9969
+ ...(input.portInfo != null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }),
9985
9970
  };
9986
9971
  };
9987
9972
  const serializeAws_json1_1ContactProtocolsList = (input, context) => {
@@ -9996,13 +9981,10 @@ const serializeAws_json1_1ContactProtocolsList = (input, context) => {
9996
9981
  };
9997
9982
  const serializeAws_json1_1Container = (input, context) => {
9998
9983
  return {
9999
- ...(input.command !== undefined &&
10000
- input.command !== null && { command: serializeAws_json1_1StringList(input.command, context) }),
10001
- ...(input.environment !== undefined &&
10002
- input.environment !== null && { environment: serializeAws_json1_1Environment(input.environment, context) }),
10003
- ...(input.image !== undefined && input.image !== null && { image: input.image }),
10004
- ...(input.ports !== undefined &&
10005
- input.ports !== null && { ports: serializeAws_json1_1PortMap(input.ports, context) }),
9984
+ ...(input.command != null && { command: serializeAws_json1_1StringList(input.command, context) }),
9985
+ ...(input.environment != null && { environment: serializeAws_json1_1Environment(input.environment, context) }),
9986
+ ...(input.image != null && { image: input.image }),
9987
+ ...(input.ports != null && { ports: serializeAws_json1_1PortMap(input.ports, context) }),
10006
9988
  };
10007
9989
  };
10008
9990
  const serializeAws_json1_1ContainerMap = (input, context) => {
@@ -10018,31 +10000,25 @@ const serializeAws_json1_1ContainerMap = (input, context) => {
10018
10000
  };
10019
10001
  const serializeAws_json1_1ContainerServiceDeploymentRequest = (input, context) => {
10020
10002
  return {
10021
- ...(input.containers !== undefined &&
10022
- input.containers !== null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) }),
10023
- ...(input.publicEndpoint !== undefined &&
10024
- input.publicEndpoint !== null && {
10003
+ ...(input.containers != null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) }),
10004
+ ...(input.publicEndpoint != null && {
10025
10005
  publicEndpoint: serializeAws_json1_1EndpointRequest(input.publicEndpoint, context),
10026
10006
  }),
10027
10007
  };
10028
10008
  };
10029
10009
  const serializeAws_json1_1ContainerServiceECRImagePullerRoleRequest = (input, context) => {
10030
10010
  return {
10031
- ...(input.isActive !== undefined && input.isActive !== null && { isActive: input.isActive }),
10011
+ ...(input.isActive != null && { isActive: input.isActive }),
10032
10012
  };
10033
10013
  };
10034
10014
  const serializeAws_json1_1ContainerServiceHealthCheckConfig = (input, context) => {
10035
10015
  return {
10036
- ...(input.healthyThreshold !== undefined &&
10037
- input.healthyThreshold !== null && { healthyThreshold: input.healthyThreshold }),
10038
- ...(input.intervalSeconds !== undefined &&
10039
- input.intervalSeconds !== null && { intervalSeconds: input.intervalSeconds }),
10040
- ...(input.path !== undefined && input.path !== null && { path: input.path }),
10041
- ...(input.successCodes !== undefined && input.successCodes !== null && { successCodes: input.successCodes }),
10042
- ...(input.timeoutSeconds !== undefined &&
10043
- input.timeoutSeconds !== null && { timeoutSeconds: input.timeoutSeconds }),
10044
- ...(input.unhealthyThreshold !== undefined &&
10045
- input.unhealthyThreshold !== null && { unhealthyThreshold: input.unhealthyThreshold }),
10016
+ ...(input.healthyThreshold != null && { healthyThreshold: input.healthyThreshold }),
10017
+ ...(input.intervalSeconds != null && { intervalSeconds: input.intervalSeconds }),
10018
+ ...(input.path != null && { path: input.path }),
10019
+ ...(input.successCodes != null && { successCodes: input.successCodes }),
10020
+ ...(input.timeoutSeconds != null && { timeoutSeconds: input.timeoutSeconds }),
10021
+ ...(input.unhealthyThreshold != null && { unhealthyThreshold: input.unhealthyThreshold }),
10046
10022
  };
10047
10023
  };
10048
10024
  const serializeAws_json1_1ContainerServicePublicDomains = (input, context) => {
@@ -10068,77 +10044,65 @@ const serializeAws_json1_1ContainerServicePublicDomainsList = (input, context) =
10068
10044
  };
10069
10045
  const serializeAws_json1_1CookieObject = (input, context) => {
10070
10046
  return {
10071
- ...(input.cookiesAllowList !== undefined &&
10072
- input.cookiesAllowList !== null && {
10047
+ ...(input.cookiesAllowList != null && {
10073
10048
  cookiesAllowList: serializeAws_json1_1StringList(input.cookiesAllowList, context),
10074
10049
  }),
10075
- ...(input.option !== undefined && input.option !== null && { option: input.option }),
10050
+ ...(input.option != null && { option: input.option }),
10076
10051
  };
10077
10052
  };
10078
10053
  const serializeAws_json1_1CopySnapshotRequest = (input, context) => {
10079
10054
  return {
10080
- ...(input.restoreDate !== undefined && input.restoreDate !== null && { restoreDate: input.restoreDate }),
10081
- ...(input.sourceRegion !== undefined && input.sourceRegion !== null && { sourceRegion: input.sourceRegion }),
10082
- ...(input.sourceResourceName !== undefined &&
10083
- input.sourceResourceName !== null && { sourceResourceName: input.sourceResourceName }),
10084
- ...(input.sourceSnapshotName !== undefined &&
10085
- input.sourceSnapshotName !== null && { sourceSnapshotName: input.sourceSnapshotName }),
10086
- ...(input.targetSnapshotName !== undefined &&
10087
- input.targetSnapshotName !== null && { targetSnapshotName: input.targetSnapshotName }),
10088
- ...(input.useLatestRestorableAutoSnapshot !== undefined &&
10089
- input.useLatestRestorableAutoSnapshot !== null && {
10055
+ ...(input.restoreDate != null && { restoreDate: input.restoreDate }),
10056
+ ...(input.sourceRegion != null && { sourceRegion: input.sourceRegion }),
10057
+ ...(input.sourceResourceName != null && { sourceResourceName: input.sourceResourceName }),
10058
+ ...(input.sourceSnapshotName != null && { sourceSnapshotName: input.sourceSnapshotName }),
10059
+ ...(input.targetSnapshotName != null && { targetSnapshotName: input.targetSnapshotName }),
10060
+ ...(input.useLatestRestorableAutoSnapshot != null && {
10090
10061
  useLatestRestorableAutoSnapshot: input.useLatestRestorableAutoSnapshot,
10091
10062
  }),
10092
10063
  };
10093
10064
  };
10094
10065
  const serializeAws_json1_1CreateBucketAccessKeyRequest = (input, context) => {
10095
10066
  return {
10096
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10067
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10097
10068
  };
10098
10069
  };
10099
10070
  const serializeAws_json1_1CreateBucketRequest = (input, context) => {
10100
10071
  return {
10101
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10102
- ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }),
10103
- ...(input.enableObjectVersioning !== undefined &&
10104
- input.enableObjectVersioning !== null && { enableObjectVersioning: input.enableObjectVersioning }),
10105
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10072
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10073
+ ...(input.bundleId != null && { bundleId: input.bundleId }),
10074
+ ...(input.enableObjectVersioning != null && { enableObjectVersioning: input.enableObjectVersioning }),
10075
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10106
10076
  };
10107
10077
  };
10108
10078
  const serializeAws_json1_1CreateCertificateRequest = (input, context) => {
10109
10079
  return {
10110
- ...(input.certificateName !== undefined &&
10111
- input.certificateName !== null && { certificateName: input.certificateName }),
10112
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
10113
- ...(input.subjectAlternativeNames !== undefined &&
10114
- input.subjectAlternativeNames !== null && {
10080
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
10081
+ ...(input.domainName != null && { domainName: input.domainName }),
10082
+ ...(input.subjectAlternativeNames != null && {
10115
10083
  subjectAlternativeNames: serializeAws_json1_1SubjectAlternativeNameList(input.subjectAlternativeNames, context),
10116
10084
  }),
10117
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10085
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10118
10086
  };
10119
10087
  };
10120
10088
  const serializeAws_json1_1CreateCloudFormationStackRequest = (input, context) => {
10121
10089
  return {
10122
- ...(input.instances !== undefined &&
10123
- input.instances !== null && { instances: serializeAws_json1_1InstanceEntryList(input.instances, context) }),
10090
+ ...(input.instances != null && { instances: serializeAws_json1_1InstanceEntryList(input.instances, context) }),
10124
10091
  };
10125
10092
  };
10126
10093
  const serializeAws_json1_1CreateContactMethodRequest = (input, context) => {
10127
10094
  return {
10128
- ...(input.contactEndpoint !== undefined &&
10129
- input.contactEndpoint !== null && { contactEndpoint: input.contactEndpoint }),
10130
- ...(input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }),
10095
+ ...(input.contactEndpoint != null && { contactEndpoint: input.contactEndpoint }),
10096
+ ...(input.protocol != null && { protocol: input.protocol }),
10131
10097
  };
10132
10098
  };
10133
10099
  const serializeAws_json1_1CreateContainerServiceDeploymentRequest = (input, context) => {
10134
10100
  return {
10135
- ...(input.containers !== undefined &&
10136
- input.containers !== null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) }),
10137
- ...(input.publicEndpoint !== undefined &&
10138
- input.publicEndpoint !== null && {
10101
+ ...(input.containers != null && { containers: serializeAws_json1_1ContainerMap(input.containers, context) }),
10102
+ ...(input.publicEndpoint != null && {
10139
10103
  publicEndpoint: serializeAws_json1_1EndpointRequest(input.publicEndpoint, context),
10140
10104
  }),
10141
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10105
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10142
10106
  };
10143
10107
  };
10144
10108
  const serializeAws_json1_1CreateContainerServiceRegistryLoginRequest = (input, context) => {
@@ -10146,431 +10110,354 @@ const serializeAws_json1_1CreateContainerServiceRegistryLoginRequest = (input, c
10146
10110
  };
10147
10111
  const serializeAws_json1_1CreateContainerServiceRequest = (input, context) => {
10148
10112
  return {
10149
- ...(input.deployment !== undefined &&
10150
- input.deployment !== null && {
10113
+ ...(input.deployment != null && {
10151
10114
  deployment: serializeAws_json1_1ContainerServiceDeploymentRequest(input.deployment, context),
10152
10115
  }),
10153
- ...(input.power !== undefined && input.power !== null && { power: input.power }),
10154
- ...(input.privateRegistryAccess !== undefined &&
10155
- input.privateRegistryAccess !== null && {
10116
+ ...(input.power != null && { power: input.power }),
10117
+ ...(input.privateRegistryAccess != null && {
10156
10118
  privateRegistryAccess: serializeAws_json1_1PrivateRegistryAccessRequest(input.privateRegistryAccess, context),
10157
10119
  }),
10158
- ...(input.publicDomainNames !== undefined &&
10159
- input.publicDomainNames !== null && {
10120
+ ...(input.publicDomainNames != null && {
10160
10121
  publicDomainNames: serializeAws_json1_1ContainerServicePublicDomains(input.publicDomainNames, context),
10161
10122
  }),
10162
- ...(input.scale !== undefined && input.scale !== null && { scale: input.scale }),
10163
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10164
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10123
+ ...(input.scale != null && { scale: input.scale }),
10124
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10125
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10165
10126
  };
10166
10127
  };
10167
10128
  const serializeAws_json1_1CreateDiskFromSnapshotRequest = (input, context) => {
10168
10129
  return {
10169
- ...(input.addOns !== undefined &&
10170
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10171
- ...(input.availabilityZone !== undefined &&
10172
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
10173
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
10174
- ...(input.diskSnapshotName !== undefined &&
10175
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName }),
10176
- ...(input.restoreDate !== undefined && input.restoreDate !== null && { restoreDate: input.restoreDate }),
10177
- ...(input.sizeInGb !== undefined && input.sizeInGb !== null && { sizeInGb: input.sizeInGb }),
10178
- ...(input.sourceDiskName !== undefined &&
10179
- input.sourceDiskName !== null && { sourceDiskName: input.sourceDiskName }),
10180
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10181
- ...(input.useLatestRestorableAutoSnapshot !== undefined &&
10182
- input.useLatestRestorableAutoSnapshot !== null && {
10130
+ ...(input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10131
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10132
+ ...(input.diskName != null && { diskName: input.diskName }),
10133
+ ...(input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName }),
10134
+ ...(input.restoreDate != null && { restoreDate: input.restoreDate }),
10135
+ ...(input.sizeInGb != null && { sizeInGb: input.sizeInGb }),
10136
+ ...(input.sourceDiskName != null && { sourceDiskName: input.sourceDiskName }),
10137
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10138
+ ...(input.useLatestRestorableAutoSnapshot != null && {
10183
10139
  useLatestRestorableAutoSnapshot: input.useLatestRestorableAutoSnapshot,
10184
10140
  }),
10185
10141
  };
10186
10142
  };
10187
10143
  const serializeAws_json1_1CreateDiskRequest = (input, context) => {
10188
10144
  return {
10189
- ...(input.addOns !== undefined &&
10190
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10191
- ...(input.availabilityZone !== undefined &&
10192
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
10193
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
10194
- ...(input.sizeInGb !== undefined && input.sizeInGb !== null && { sizeInGb: input.sizeInGb }),
10195
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10145
+ ...(input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10146
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10147
+ ...(input.diskName != null && { diskName: input.diskName }),
10148
+ ...(input.sizeInGb != null && { sizeInGb: input.sizeInGb }),
10149
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10196
10150
  };
10197
10151
  };
10198
10152
  const serializeAws_json1_1CreateDiskSnapshotRequest = (input, context) => {
10199
10153
  return {
10200
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
10201
- ...(input.diskSnapshotName !== undefined &&
10202
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName }),
10203
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10204
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10154
+ ...(input.diskName != null && { diskName: input.diskName }),
10155
+ ...(input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName }),
10156
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10157
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10205
10158
  };
10206
10159
  };
10207
10160
  const serializeAws_json1_1CreateDistributionRequest = (input, context) => {
10208
10161
  return {
10209
- ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }),
10210
- ...(input.cacheBehaviorSettings !== undefined &&
10211
- input.cacheBehaviorSettings !== null && {
10162
+ ...(input.bundleId != null && { bundleId: input.bundleId }),
10163
+ ...(input.cacheBehaviorSettings != null && {
10212
10164
  cacheBehaviorSettings: serializeAws_json1_1CacheSettings(input.cacheBehaviorSettings, context),
10213
10165
  }),
10214
- ...(input.cacheBehaviors !== undefined &&
10215
- input.cacheBehaviors !== null && {
10166
+ ...(input.cacheBehaviors != null && {
10216
10167
  cacheBehaviors: serializeAws_json1_1CacheBehaviorList(input.cacheBehaviors, context),
10217
10168
  }),
10218
- ...(input.defaultCacheBehavior !== undefined &&
10219
- input.defaultCacheBehavior !== null && {
10169
+ ...(input.defaultCacheBehavior != null && {
10220
10170
  defaultCacheBehavior: serializeAws_json1_1CacheBehavior(input.defaultCacheBehavior, context),
10221
10171
  }),
10222
- ...(input.distributionName !== undefined &&
10223
- input.distributionName !== null && { distributionName: input.distributionName }),
10224
- ...(input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType }),
10225
- ...(input.origin !== undefined &&
10226
- input.origin !== null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) }),
10227
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10172
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
10173
+ ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
10174
+ ...(input.origin != null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) }),
10175
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10228
10176
  };
10229
10177
  };
10230
10178
  const serializeAws_json1_1CreateDomainEntryRequest = (input, context) => {
10231
10179
  return {
10232
- ...(input.domainEntry !== undefined &&
10233
- input.domainEntry !== null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) }),
10234
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
10180
+ ...(input.domainEntry != null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) }),
10181
+ ...(input.domainName != null && { domainName: input.domainName }),
10235
10182
  };
10236
10183
  };
10237
10184
  const serializeAws_json1_1CreateDomainRequest = (input, context) => {
10238
10185
  return {
10239
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
10240
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10186
+ ...(input.domainName != null && { domainName: input.domainName }),
10187
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10241
10188
  };
10242
10189
  };
10243
10190
  const serializeAws_json1_1CreateInstancesFromSnapshotRequest = (input, context) => {
10244
10191
  return {
10245
- ...(input.addOns !== undefined &&
10246
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10247
- ...(input.attachedDiskMapping !== undefined &&
10248
- input.attachedDiskMapping !== null && {
10192
+ ...(input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10193
+ ...(input.attachedDiskMapping != null && {
10249
10194
  attachedDiskMapping: serializeAws_json1_1AttachedDiskMap(input.attachedDiskMapping, context),
10250
10195
  }),
10251
- ...(input.availabilityZone !== undefined &&
10252
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
10253
- ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }),
10254
- ...(input.instanceNames !== undefined &&
10255
- input.instanceNames !== null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) }),
10256
- ...(input.instanceSnapshotName !== undefined &&
10257
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName }),
10258
- ...(input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType }),
10259
- ...(input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }),
10260
- ...(input.restoreDate !== undefined && input.restoreDate !== null && { restoreDate: input.restoreDate }),
10261
- ...(input.sourceInstanceName !== undefined &&
10262
- input.sourceInstanceName !== null && { sourceInstanceName: input.sourceInstanceName }),
10263
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10264
- ...(input.useLatestRestorableAutoSnapshot !== undefined &&
10265
- input.useLatestRestorableAutoSnapshot !== null && {
10196
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10197
+ ...(input.bundleId != null && { bundleId: input.bundleId }),
10198
+ ...(input.instanceNames != null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) }),
10199
+ ...(input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName }),
10200
+ ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
10201
+ ...(input.keyPairName != null && { keyPairName: input.keyPairName }),
10202
+ ...(input.restoreDate != null && { restoreDate: input.restoreDate }),
10203
+ ...(input.sourceInstanceName != null && { sourceInstanceName: input.sourceInstanceName }),
10204
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10205
+ ...(input.useLatestRestorableAutoSnapshot != null && {
10266
10206
  useLatestRestorableAutoSnapshot: input.useLatestRestorableAutoSnapshot,
10267
10207
  }),
10268
- ...(input.userData !== undefined && input.userData !== null && { userData: input.userData }),
10208
+ ...(input.userData != null && { userData: input.userData }),
10269
10209
  };
10270
10210
  };
10271
10211
  const serializeAws_json1_1CreateInstanceSnapshotRequest = (input, context) => {
10272
10212
  return {
10273
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10274
- ...(input.instanceSnapshotName !== undefined &&
10275
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName }),
10276
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10213
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10214
+ ...(input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName }),
10215
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10277
10216
  };
10278
10217
  };
10279
10218
  const serializeAws_json1_1CreateInstancesRequest = (input, context) => {
10280
10219
  return {
10281
- ...(input.addOns !== undefined &&
10282
- input.addOns !== null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10283
- ...(input.availabilityZone !== undefined &&
10284
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
10285
- ...(input.blueprintId !== undefined && input.blueprintId !== null && { blueprintId: input.blueprintId }),
10286
- ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }),
10287
- ...(input.customImageName !== undefined &&
10288
- input.customImageName !== null && { customImageName: input.customImageName }),
10289
- ...(input.instanceNames !== undefined &&
10290
- input.instanceNames !== null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) }),
10291
- ...(input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType }),
10292
- ...(input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }),
10293
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10294
- ...(input.userData !== undefined && input.userData !== null && { userData: input.userData }),
10220
+ ...(input.addOns != null && { addOns: serializeAws_json1_1AddOnRequestList(input.addOns, context) }),
10221
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10222
+ ...(input.blueprintId != null && { blueprintId: input.blueprintId }),
10223
+ ...(input.bundleId != null && { bundleId: input.bundleId }),
10224
+ ...(input.customImageName != null && { customImageName: input.customImageName }),
10225
+ ...(input.instanceNames != null && { instanceNames: serializeAws_json1_1StringList(input.instanceNames, context) }),
10226
+ ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
10227
+ ...(input.keyPairName != null && { keyPairName: input.keyPairName }),
10228
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10229
+ ...(input.userData != null && { userData: input.userData }),
10295
10230
  };
10296
10231
  };
10297
10232
  const serializeAws_json1_1CreateKeyPairRequest = (input, context) => {
10298
10233
  return {
10299
- ...(input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }),
10300
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10234
+ ...(input.keyPairName != null && { keyPairName: input.keyPairName }),
10235
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10301
10236
  };
10302
10237
  };
10303
10238
  const serializeAws_json1_1CreateLoadBalancerRequest = (input, context) => {
10304
10239
  return {
10305
- ...(input.certificateAlternativeNames !== undefined &&
10306
- input.certificateAlternativeNames !== null && {
10240
+ ...(input.certificateAlternativeNames != null && {
10307
10241
  certificateAlternativeNames: serializeAws_json1_1DomainNameList(input.certificateAlternativeNames, context),
10308
10242
  }),
10309
- ...(input.certificateDomainName !== undefined &&
10310
- input.certificateDomainName !== null && { certificateDomainName: input.certificateDomainName }),
10311
- ...(input.certificateName !== undefined &&
10312
- input.certificateName !== null && { certificateName: input.certificateName }),
10313
- ...(input.healthCheckPath !== undefined &&
10314
- input.healthCheckPath !== null && { healthCheckPath: input.healthCheckPath }),
10315
- ...(input.instancePort !== undefined && input.instancePort !== null && { instancePort: input.instancePort }),
10316
- ...(input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType }),
10317
- ...(input.loadBalancerName !== undefined &&
10318
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10319
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10320
- ...(input.tlsPolicyName !== undefined && input.tlsPolicyName !== null && { tlsPolicyName: input.tlsPolicyName }),
10243
+ ...(input.certificateDomainName != null && { certificateDomainName: input.certificateDomainName }),
10244
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
10245
+ ...(input.healthCheckPath != null && { healthCheckPath: input.healthCheckPath }),
10246
+ ...(input.instancePort != null && { instancePort: input.instancePort }),
10247
+ ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
10248
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10249
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10250
+ ...(input.tlsPolicyName != null && { tlsPolicyName: input.tlsPolicyName }),
10321
10251
  };
10322
10252
  };
10323
10253
  const serializeAws_json1_1CreateLoadBalancerTlsCertificateRequest = (input, context) => {
10324
10254
  return {
10325
- ...(input.certificateAlternativeNames !== undefined &&
10326
- input.certificateAlternativeNames !== null && {
10255
+ ...(input.certificateAlternativeNames != null && {
10327
10256
  certificateAlternativeNames: serializeAws_json1_1DomainNameList(input.certificateAlternativeNames, context),
10328
10257
  }),
10329
- ...(input.certificateDomainName !== undefined &&
10330
- input.certificateDomainName !== null && { certificateDomainName: input.certificateDomainName }),
10331
- ...(input.certificateName !== undefined &&
10332
- input.certificateName !== null && { certificateName: input.certificateName }),
10333
- ...(input.loadBalancerName !== undefined &&
10334
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10335
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10258
+ ...(input.certificateDomainName != null && { certificateDomainName: input.certificateDomainName }),
10259
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
10260
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10261
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10336
10262
  };
10337
10263
  };
10338
10264
  const serializeAws_json1_1CreateRelationalDatabaseFromSnapshotRequest = (input, context) => {
10339
10265
  return {
10340
- ...(input.availabilityZone !== undefined &&
10341
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
10342
- ...(input.publiclyAccessible !== undefined &&
10343
- input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible }),
10344
- ...(input.relationalDatabaseBundleId !== undefined &&
10345
- input.relationalDatabaseBundleId !== null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId }),
10346
- ...(input.relationalDatabaseName !== undefined &&
10347
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10348
- ...(input.relationalDatabaseSnapshotName !== undefined &&
10349
- input.relationalDatabaseSnapshotName !== null && {
10266
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10267
+ ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
10268
+ ...(input.relationalDatabaseBundleId != null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId }),
10269
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
10270
+ ...(input.relationalDatabaseSnapshotName != null && {
10350
10271
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
10351
10272
  }),
10352
- ...(input.restoreTime !== undefined &&
10353
- input.restoreTime !== null && { restoreTime: Math.round(input.restoreTime.getTime() / 1000) }),
10354
- ...(input.sourceRelationalDatabaseName !== undefined &&
10355
- input.sourceRelationalDatabaseName !== null && {
10273
+ ...(input.restoreTime != null && { restoreTime: Math.round(input.restoreTime.getTime() / 1000) }),
10274
+ ...(input.sourceRelationalDatabaseName != null && {
10356
10275
  sourceRelationalDatabaseName: input.sourceRelationalDatabaseName,
10357
10276
  }),
10358
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10359
- ...(input.useLatestRestorableTime !== undefined &&
10360
- input.useLatestRestorableTime !== null && { useLatestRestorableTime: input.useLatestRestorableTime }),
10277
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10278
+ ...(input.useLatestRestorableTime != null && { useLatestRestorableTime: input.useLatestRestorableTime }),
10361
10279
  };
10362
10280
  };
10363
10281
  const serializeAws_json1_1CreateRelationalDatabaseRequest = (input, context) => {
10364
10282
  return {
10365
- ...(input.availabilityZone !== undefined &&
10366
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
10367
- ...(input.masterDatabaseName !== undefined &&
10368
- input.masterDatabaseName !== null && { masterDatabaseName: input.masterDatabaseName }),
10369
- ...(input.masterUserPassword !== undefined &&
10370
- input.masterUserPassword !== null && { masterUserPassword: input.masterUserPassword }),
10371
- ...(input.masterUsername !== undefined &&
10372
- input.masterUsername !== null && { masterUsername: input.masterUsername }),
10373
- ...(input.preferredBackupWindow !== undefined &&
10374
- input.preferredBackupWindow !== null && { preferredBackupWindow: input.preferredBackupWindow }),
10375
- ...(input.preferredMaintenanceWindow !== undefined &&
10376
- input.preferredMaintenanceWindow !== null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
10377
- ...(input.publiclyAccessible !== undefined &&
10378
- input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible }),
10379
- ...(input.relationalDatabaseBlueprintId !== undefined &&
10380
- input.relationalDatabaseBlueprintId !== null && {
10283
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10284
+ ...(input.masterDatabaseName != null && { masterDatabaseName: input.masterDatabaseName }),
10285
+ ...(input.masterUserPassword != null && { masterUserPassword: input.masterUserPassword }),
10286
+ ...(input.masterUsername != null && { masterUsername: input.masterUsername }),
10287
+ ...(input.preferredBackupWindow != null && { preferredBackupWindow: input.preferredBackupWindow }),
10288
+ ...(input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
10289
+ ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
10290
+ ...(input.relationalDatabaseBlueprintId != null && {
10381
10291
  relationalDatabaseBlueprintId: input.relationalDatabaseBlueprintId,
10382
10292
  }),
10383
- ...(input.relationalDatabaseBundleId !== undefined &&
10384
- input.relationalDatabaseBundleId !== null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId }),
10385
- ...(input.relationalDatabaseName !== undefined &&
10386
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10387
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10293
+ ...(input.relationalDatabaseBundleId != null && { relationalDatabaseBundleId: input.relationalDatabaseBundleId }),
10294
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
10295
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10388
10296
  };
10389
10297
  };
10390
10298
  const serializeAws_json1_1CreateRelationalDatabaseSnapshotRequest = (input, context) => {
10391
10299
  return {
10392
- ...(input.relationalDatabaseName !== undefined &&
10393
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10394
- ...(input.relationalDatabaseSnapshotName !== undefined &&
10395
- input.relationalDatabaseSnapshotName !== null && {
10300
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
10301
+ ...(input.relationalDatabaseSnapshotName != null && {
10396
10302
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
10397
10303
  }),
10398
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10304
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
10399
10305
  };
10400
10306
  };
10401
10307
  const serializeAws_json1_1DeleteAlarmRequest = (input, context) => {
10402
10308
  return {
10403
- ...(input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName }),
10309
+ ...(input.alarmName != null && { alarmName: input.alarmName }),
10404
10310
  };
10405
10311
  };
10406
10312
  const serializeAws_json1_1DeleteAutoSnapshotRequest = (input, context) => {
10407
10313
  return {
10408
- ...(input.date !== undefined && input.date !== null && { date: input.date }),
10409
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
10314
+ ...(input.date != null && { date: input.date }),
10315
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
10410
10316
  };
10411
10317
  };
10412
10318
  const serializeAws_json1_1DeleteBucketAccessKeyRequest = (input, context) => {
10413
10319
  return {
10414
- ...(input.accessKeyId !== undefined && input.accessKeyId !== null && { accessKeyId: input.accessKeyId }),
10415
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10320
+ ...(input.accessKeyId != null && { accessKeyId: input.accessKeyId }),
10321
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10416
10322
  };
10417
10323
  };
10418
10324
  const serializeAws_json1_1DeleteBucketRequest = (input, context) => {
10419
10325
  return {
10420
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10421
- ...(input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete }),
10326
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10327
+ ...(input.forceDelete != null && { forceDelete: input.forceDelete }),
10422
10328
  };
10423
10329
  };
10424
10330
  const serializeAws_json1_1DeleteCertificateRequest = (input, context) => {
10425
10331
  return {
10426
- ...(input.certificateName !== undefined &&
10427
- input.certificateName !== null && { certificateName: input.certificateName }),
10332
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
10428
10333
  };
10429
10334
  };
10430
10335
  const serializeAws_json1_1DeleteContactMethodRequest = (input, context) => {
10431
10336
  return {
10432
- ...(input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }),
10337
+ ...(input.protocol != null && { protocol: input.protocol }),
10433
10338
  };
10434
10339
  };
10435
10340
  const serializeAws_json1_1DeleteContainerImageRequest = (input, context) => {
10436
10341
  return {
10437
- ...(input.image !== undefined && input.image !== null && { image: input.image }),
10438
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10342
+ ...(input.image != null && { image: input.image }),
10343
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10439
10344
  };
10440
10345
  };
10441
10346
  const serializeAws_json1_1DeleteContainerServiceRequest = (input, context) => {
10442
10347
  return {
10443
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10348
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10444
10349
  };
10445
10350
  };
10446
10351
  const serializeAws_json1_1DeleteDiskRequest = (input, context) => {
10447
10352
  return {
10448
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
10449
- ...(input.forceDeleteAddOns !== undefined &&
10450
- input.forceDeleteAddOns !== null && { forceDeleteAddOns: input.forceDeleteAddOns }),
10353
+ ...(input.diskName != null && { diskName: input.diskName }),
10354
+ ...(input.forceDeleteAddOns != null && { forceDeleteAddOns: input.forceDeleteAddOns }),
10451
10355
  };
10452
10356
  };
10453
10357
  const serializeAws_json1_1DeleteDiskSnapshotRequest = (input, context) => {
10454
10358
  return {
10455
- ...(input.diskSnapshotName !== undefined &&
10456
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName }),
10359
+ ...(input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName }),
10457
10360
  };
10458
10361
  };
10459
10362
  const serializeAws_json1_1DeleteDistributionRequest = (input, context) => {
10460
10363
  return {
10461
- ...(input.distributionName !== undefined &&
10462
- input.distributionName !== null && { distributionName: input.distributionName }),
10364
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
10463
10365
  };
10464
10366
  };
10465
10367
  const serializeAws_json1_1DeleteDomainEntryRequest = (input, context) => {
10466
10368
  return {
10467
- ...(input.domainEntry !== undefined &&
10468
- input.domainEntry !== null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) }),
10469
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
10369
+ ...(input.domainEntry != null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) }),
10370
+ ...(input.domainName != null && { domainName: input.domainName }),
10470
10371
  };
10471
10372
  };
10472
10373
  const serializeAws_json1_1DeleteDomainRequest = (input, context) => {
10473
10374
  return {
10474
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
10375
+ ...(input.domainName != null && { domainName: input.domainName }),
10475
10376
  };
10476
10377
  };
10477
10378
  const serializeAws_json1_1DeleteInstanceRequest = (input, context) => {
10478
10379
  return {
10479
- ...(input.forceDeleteAddOns !== undefined &&
10480
- input.forceDeleteAddOns !== null && { forceDeleteAddOns: input.forceDeleteAddOns }),
10481
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10380
+ ...(input.forceDeleteAddOns != null && { forceDeleteAddOns: input.forceDeleteAddOns }),
10381
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10482
10382
  };
10483
10383
  };
10484
10384
  const serializeAws_json1_1DeleteInstanceSnapshotRequest = (input, context) => {
10485
10385
  return {
10486
- ...(input.instanceSnapshotName !== undefined &&
10487
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName }),
10386
+ ...(input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName }),
10488
10387
  };
10489
10388
  };
10490
10389
  const serializeAws_json1_1DeleteKeyPairRequest = (input, context) => {
10491
10390
  return {
10492
- ...(input.expectedFingerprint !== undefined &&
10493
- input.expectedFingerprint !== null && { expectedFingerprint: input.expectedFingerprint }),
10494
- ...(input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }),
10391
+ ...(input.expectedFingerprint != null && { expectedFingerprint: input.expectedFingerprint }),
10392
+ ...(input.keyPairName != null && { keyPairName: input.keyPairName }),
10495
10393
  };
10496
10394
  };
10497
10395
  const serializeAws_json1_1DeleteKnownHostKeysRequest = (input, context) => {
10498
10396
  return {
10499
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10397
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10500
10398
  };
10501
10399
  };
10502
10400
  const serializeAws_json1_1DeleteLoadBalancerRequest = (input, context) => {
10503
10401
  return {
10504
- ...(input.loadBalancerName !== undefined &&
10505
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10402
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10506
10403
  };
10507
10404
  };
10508
10405
  const serializeAws_json1_1DeleteLoadBalancerTlsCertificateRequest = (input, context) => {
10509
10406
  return {
10510
- ...(input.certificateName !== undefined &&
10511
- input.certificateName !== null && { certificateName: input.certificateName }),
10512
- ...(input.force !== undefined && input.force !== null && { force: input.force }),
10513
- ...(input.loadBalancerName !== undefined &&
10514
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10407
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
10408
+ ...(input.force != null && { force: input.force }),
10409
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10515
10410
  };
10516
10411
  };
10517
10412
  const serializeAws_json1_1DeleteRelationalDatabaseRequest = (input, context) => {
10518
10413
  return {
10519
- ...(input.finalRelationalDatabaseSnapshotName !== undefined &&
10520
- input.finalRelationalDatabaseSnapshotName !== null && {
10414
+ ...(input.finalRelationalDatabaseSnapshotName != null && {
10521
10415
  finalRelationalDatabaseSnapshotName: input.finalRelationalDatabaseSnapshotName,
10522
10416
  }),
10523
- ...(input.relationalDatabaseName !== undefined &&
10524
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10525
- ...(input.skipFinalSnapshot !== undefined &&
10526
- input.skipFinalSnapshot !== null && { skipFinalSnapshot: input.skipFinalSnapshot }),
10417
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
10418
+ ...(input.skipFinalSnapshot != null && { skipFinalSnapshot: input.skipFinalSnapshot }),
10527
10419
  };
10528
10420
  };
10529
10421
  const serializeAws_json1_1DeleteRelationalDatabaseSnapshotRequest = (input, context) => {
10530
10422
  return {
10531
- ...(input.relationalDatabaseSnapshotName !== undefined &&
10532
- input.relationalDatabaseSnapshotName !== null && {
10423
+ ...(input.relationalDatabaseSnapshotName != null && {
10533
10424
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
10534
10425
  }),
10535
10426
  };
10536
10427
  };
10537
10428
  const serializeAws_json1_1DetachCertificateFromDistributionRequest = (input, context) => {
10538
10429
  return {
10539
- ...(input.distributionName !== undefined &&
10540
- input.distributionName !== null && { distributionName: input.distributionName }),
10430
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
10541
10431
  };
10542
10432
  };
10543
10433
  const serializeAws_json1_1DetachDiskRequest = (input, context) => {
10544
10434
  return {
10545
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
10435
+ ...(input.diskName != null && { diskName: input.diskName }),
10546
10436
  };
10547
10437
  };
10548
10438
  const serializeAws_json1_1DetachInstancesFromLoadBalancerRequest = (input, context) => {
10549
10439
  return {
10550
- ...(input.instanceNames !== undefined &&
10551
- input.instanceNames !== null && {
10440
+ ...(input.instanceNames != null && {
10552
10441
  instanceNames: serializeAws_json1_1ResourceNameList(input.instanceNames, context),
10553
10442
  }),
10554
- ...(input.loadBalancerName !== undefined &&
10555
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10443
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10556
10444
  };
10557
10445
  };
10558
10446
  const serializeAws_json1_1DetachStaticIpRequest = (input, context) => {
10559
10447
  return {
10560
- ...(input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }),
10448
+ ...(input.staticIpName != null && { staticIpName: input.staticIpName }),
10561
10449
  };
10562
10450
  };
10563
10451
  const serializeAws_json1_1DisableAddOnRequest = (input, context) => {
10564
10452
  return {
10565
- ...(input.addOnType !== undefined && input.addOnType !== null && { addOnType: input.addOnType }),
10566
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
10453
+ ...(input.addOnType != null && { addOnType: input.addOnType }),
10454
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
10567
10455
  };
10568
10456
  };
10569
10457
  const serializeAws_json1_1DiskMap = (input, context) => {
10570
10458
  return {
10571
- ...(input.newDiskName !== undefined && input.newDiskName !== null && { newDiskName: input.newDiskName }),
10572
- ...(input.originalDiskPath !== undefined &&
10573
- input.originalDiskPath !== null && { originalDiskPath: input.originalDiskPath }),
10459
+ ...(input.newDiskName != null && { newDiskName: input.newDiskName }),
10460
+ ...(input.originalDiskPath != null && { originalDiskPath: input.originalDiskPath }),
10574
10461
  };
10575
10462
  };
10576
10463
  const serializeAws_json1_1DiskMapList = (input, context) => {
@@ -10585,13 +10472,12 @@ const serializeAws_json1_1DiskMapList = (input, context) => {
10585
10472
  };
10586
10473
  const serializeAws_json1_1DomainEntry = (input, context) => {
10587
10474
  return {
10588
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
10589
- ...(input.isAlias !== undefined && input.isAlias !== null && { isAlias: input.isAlias }),
10590
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
10591
- ...(input.options !== undefined &&
10592
- input.options !== null && { options: serializeAws_json1_1DomainEntryOptions(input.options, context) }),
10593
- ...(input.target !== undefined && input.target !== null && { target: input.target }),
10594
- ...(input.type !== undefined && input.type !== null && { type: input.type }),
10475
+ ...(input.id != null && { id: input.id }),
10476
+ ...(input.isAlias != null && { isAlias: input.isAlias }),
10477
+ ...(input.name != null && { name: input.name }),
10478
+ ...(input.options != null && { options: serializeAws_json1_1DomainEntryOptions(input.options, context) }),
10479
+ ...(input.target != null && { target: input.target }),
10480
+ ...(input.type != null && { type: input.type }),
10595
10481
  };
10596
10482
  };
10597
10483
  const serializeAws_json1_1DomainEntryOptions = (input, context) => {
@@ -10620,17 +10506,15 @@ const serializeAws_json1_1DownloadDefaultKeyPairRequest = (input, context) => {
10620
10506
  };
10621
10507
  const serializeAws_json1_1EnableAddOnRequest = (input, context) => {
10622
10508
  return {
10623
- ...(input.addOnRequest !== undefined &&
10624
- input.addOnRequest !== null && { addOnRequest: serializeAws_json1_1AddOnRequest(input.addOnRequest, context) }),
10625
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
10509
+ ...(input.addOnRequest != null && { addOnRequest: serializeAws_json1_1AddOnRequest(input.addOnRequest, context) }),
10510
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
10626
10511
  };
10627
10512
  };
10628
10513
  const serializeAws_json1_1EndpointRequest = (input, context) => {
10629
10514
  return {
10630
- ...(input.containerName !== undefined && input.containerName !== null && { containerName: input.containerName }),
10631
- ...(input.containerPort !== undefined && input.containerPort !== null && { containerPort: input.containerPort }),
10632
- ...(input.healthCheck !== undefined &&
10633
- input.healthCheck !== null && {
10515
+ ...(input.containerName != null && { containerName: input.containerName }),
10516
+ ...(input.containerPort != null && { containerPort: input.containerPort }),
10517
+ ...(input.healthCheck != null && {
10634
10518
  healthCheck: serializeAws_json1_1ContainerServiceHealthCheckConfig(input.healthCheck, context),
10635
10519
  }),
10636
10520
  };
@@ -10648,96 +10532,83 @@ const serializeAws_json1_1Environment = (input, context) => {
10648
10532
  };
10649
10533
  const serializeAws_json1_1ExportSnapshotRequest = (input, context) => {
10650
10534
  return {
10651
- ...(input.sourceSnapshotName !== undefined &&
10652
- input.sourceSnapshotName !== null && { sourceSnapshotName: input.sourceSnapshotName }),
10535
+ ...(input.sourceSnapshotName != null && { sourceSnapshotName: input.sourceSnapshotName }),
10653
10536
  };
10654
10537
  };
10655
10538
  const serializeAws_json1_1GetActiveNamesRequest = (input, context) => {
10656
10539
  return {
10657
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10540
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10658
10541
  };
10659
10542
  };
10660
10543
  const serializeAws_json1_1GetAlarmsRequest = (input, context) => {
10661
10544
  return {
10662
- ...(input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName }),
10663
- ...(input.monitoredResourceName !== undefined &&
10664
- input.monitoredResourceName !== null && { monitoredResourceName: input.monitoredResourceName }),
10665
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10545
+ ...(input.alarmName != null && { alarmName: input.alarmName }),
10546
+ ...(input.monitoredResourceName != null && { monitoredResourceName: input.monitoredResourceName }),
10547
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10666
10548
  };
10667
10549
  };
10668
10550
  const serializeAws_json1_1GetAutoSnapshotsRequest = (input, context) => {
10669
10551
  return {
10670
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
10552
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
10671
10553
  };
10672
10554
  };
10673
10555
  const serializeAws_json1_1GetBlueprintsRequest = (input, context) => {
10674
10556
  return {
10675
- ...(input.includeInactive !== undefined &&
10676
- input.includeInactive !== null && { includeInactive: input.includeInactive }),
10677
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10557
+ ...(input.includeInactive != null && { includeInactive: input.includeInactive }),
10558
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10678
10559
  };
10679
10560
  };
10680
10561
  const serializeAws_json1_1GetBucketAccessKeysRequest = (input, context) => {
10681
10562
  return {
10682
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10563
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10683
10564
  };
10684
10565
  };
10685
10566
  const serializeAws_json1_1GetBucketBundlesRequest = (input, context) => {
10686
10567
  return {
10687
- ...(input.includeInactive !== undefined &&
10688
- input.includeInactive !== null && { includeInactive: input.includeInactive }),
10568
+ ...(input.includeInactive != null && { includeInactive: input.includeInactive }),
10689
10569
  };
10690
10570
  };
10691
10571
  const serializeAws_json1_1GetBucketMetricDataRequest = (input, context) => {
10692
10572
  return {
10693
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10694
- ...(input.endTime !== undefined &&
10695
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10696
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
10697
- ...(input.period !== undefined && input.period !== null && { period: input.period }),
10698
- ...(input.startTime !== undefined &&
10699
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10700
- ...(input.statistics !== undefined &&
10701
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10702
- ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
10573
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10574
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10575
+ ...(input.metricName != null && { metricName: input.metricName }),
10576
+ ...(input.period != null && { period: input.period }),
10577
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10578
+ ...(input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10579
+ ...(input.unit != null && { unit: input.unit }),
10703
10580
  };
10704
10581
  };
10705
10582
  const serializeAws_json1_1GetBucketsRequest = (input, context) => {
10706
10583
  return {
10707
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
10708
- ...(input.includeConnectedResources !== undefined &&
10709
- input.includeConnectedResources !== null && { includeConnectedResources: input.includeConnectedResources }),
10710
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10584
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
10585
+ ...(input.includeConnectedResources != null && { includeConnectedResources: input.includeConnectedResources }),
10586
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10711
10587
  };
10712
10588
  };
10713
10589
  const serializeAws_json1_1GetBundlesRequest = (input, context) => {
10714
10590
  return {
10715
- ...(input.includeInactive !== undefined &&
10716
- input.includeInactive !== null && { includeInactive: input.includeInactive }),
10717
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10591
+ ...(input.includeInactive != null && { includeInactive: input.includeInactive }),
10592
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10718
10593
  };
10719
10594
  };
10720
10595
  const serializeAws_json1_1GetCertificatesRequest = (input, context) => {
10721
10596
  return {
10722
- ...(input.certificateName !== undefined &&
10723
- input.certificateName !== null && { certificateName: input.certificateName }),
10724
- ...(input.certificateStatuses !== undefined &&
10725
- input.certificateStatuses !== null && {
10597
+ ...(input.certificateName != null && { certificateName: input.certificateName }),
10598
+ ...(input.certificateStatuses != null && {
10726
10599
  certificateStatuses: serializeAws_json1_1CertificateStatusList(input.certificateStatuses, context),
10727
10600
  }),
10728
- ...(input.includeCertificateDetails !== undefined &&
10729
- input.includeCertificateDetails !== null && { includeCertificateDetails: input.includeCertificateDetails }),
10601
+ ...(input.includeCertificateDetails != null && { includeCertificateDetails: input.includeCertificateDetails }),
10730
10602
  };
10731
10603
  };
10732
10604
  const serializeAws_json1_1GetCloudFormationStackRecordsRequest = (input, context) => {
10733
10605
  return {
10734
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10606
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10735
10607
  };
10736
10608
  };
10737
10609
  const serializeAws_json1_1GetContactMethodsRequest = (input, context) => {
10738
10610
  return {
10739
- ...(input.protocols !== undefined &&
10740
- input.protocols !== null && { protocols: serializeAws_json1_1ContactProtocolsList(input.protocols, context) }),
10611
+ ...(input.protocols != null && { protocols: serializeAws_json1_1ContactProtocolsList(input.protocols, context) }),
10741
10612
  };
10742
10613
  };
10743
10614
  const serializeAws_json1_1GetContainerAPIMetadataRequest = (input, context) => {
@@ -10745,37 +10616,32 @@ const serializeAws_json1_1GetContainerAPIMetadataRequest = (input, context) => {
10745
10616
  };
10746
10617
  const serializeAws_json1_1GetContainerImagesRequest = (input, context) => {
10747
10618
  return {
10748
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10619
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10749
10620
  };
10750
10621
  };
10751
10622
  const serializeAws_json1_1GetContainerLogRequest = (input, context) => {
10752
10623
  return {
10753
- ...(input.containerName !== undefined && input.containerName !== null && { containerName: input.containerName }),
10754
- ...(input.endTime !== undefined &&
10755
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10756
- ...(input.filterPattern !== undefined && input.filterPattern !== null && { filterPattern: input.filterPattern }),
10757
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10758
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10759
- ...(input.startTime !== undefined &&
10760
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10624
+ ...(input.containerName != null && { containerName: input.containerName }),
10625
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10626
+ ...(input.filterPattern != null && { filterPattern: input.filterPattern }),
10627
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10628
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10629
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10761
10630
  };
10762
10631
  };
10763
10632
  const serializeAws_json1_1GetContainerServiceDeploymentsRequest = (input, context) => {
10764
10633
  return {
10765
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10634
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10766
10635
  };
10767
10636
  };
10768
10637
  const serializeAws_json1_1GetContainerServiceMetricDataRequest = (input, context) => {
10769
10638
  return {
10770
- ...(input.endTime !== undefined &&
10771
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10772
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
10773
- ...(input.period !== undefined && input.period !== null && { period: input.period }),
10774
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10775
- ...(input.startTime !== undefined &&
10776
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10777
- ...(input.statistics !== undefined &&
10778
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10639
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10640
+ ...(input.metricName != null && { metricName: input.metricName }),
10641
+ ...(input.period != null && { period: input.period }),
10642
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10643
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10644
+ ...(input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10779
10645
  };
10780
10646
  };
10781
10647
  const serializeAws_json1_1GetContainerServicePowersRequest = (input, context) => {
@@ -10783,28 +10649,27 @@ const serializeAws_json1_1GetContainerServicePowersRequest = (input, context) =>
10783
10649
  };
10784
10650
  const serializeAws_json1_1GetContainerServicesRequest = (input, context) => {
10785
10651
  return {
10786
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
10652
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
10787
10653
  };
10788
10654
  };
10789
10655
  const serializeAws_json1_1GetDiskRequest = (input, context) => {
10790
10656
  return {
10791
- ...(input.diskName !== undefined && input.diskName !== null && { diskName: input.diskName }),
10657
+ ...(input.diskName != null && { diskName: input.diskName }),
10792
10658
  };
10793
10659
  };
10794
10660
  const serializeAws_json1_1GetDiskSnapshotRequest = (input, context) => {
10795
10661
  return {
10796
- ...(input.diskSnapshotName !== undefined &&
10797
- input.diskSnapshotName !== null && { diskSnapshotName: input.diskSnapshotName }),
10662
+ ...(input.diskSnapshotName != null && { diskSnapshotName: input.diskSnapshotName }),
10798
10663
  };
10799
10664
  };
10800
10665
  const serializeAws_json1_1GetDiskSnapshotsRequest = (input, context) => {
10801
10666
  return {
10802
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10667
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10803
10668
  };
10804
10669
  };
10805
10670
  const serializeAws_json1_1GetDisksRequest = (input, context) => {
10806
10671
  return {
10807
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10672
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10808
10673
  };
10809
10674
  };
10810
10675
  const serializeAws_json1_1GetDistributionBundlesRequest = (input, context) => {
@@ -10812,275 +10677,240 @@ const serializeAws_json1_1GetDistributionBundlesRequest = (input, context) => {
10812
10677
  };
10813
10678
  const serializeAws_json1_1GetDistributionLatestCacheResetRequest = (input, context) => {
10814
10679
  return {
10815
- ...(input.distributionName !== undefined &&
10816
- input.distributionName !== null && { distributionName: input.distributionName }),
10680
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
10817
10681
  };
10818
10682
  };
10819
10683
  const serializeAws_json1_1GetDistributionMetricDataRequest = (input, context) => {
10820
10684
  return {
10821
- ...(input.distributionName !== undefined &&
10822
- input.distributionName !== null && { distributionName: input.distributionName }),
10823
- ...(input.endTime !== undefined &&
10824
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10825
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
10826
- ...(input.period !== undefined && input.period !== null && { period: input.period }),
10827
- ...(input.startTime !== undefined &&
10828
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10829
- ...(input.statistics !== undefined &&
10830
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10831
- ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
10685
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
10686
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10687
+ ...(input.metricName != null && { metricName: input.metricName }),
10688
+ ...(input.period != null && { period: input.period }),
10689
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10690
+ ...(input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10691
+ ...(input.unit != null && { unit: input.unit }),
10832
10692
  };
10833
10693
  };
10834
10694
  const serializeAws_json1_1GetDistributionsRequest = (input, context) => {
10835
10695
  return {
10836
- ...(input.distributionName !== undefined &&
10837
- input.distributionName !== null && { distributionName: input.distributionName }),
10838
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10696
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
10697
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10839
10698
  };
10840
10699
  };
10841
10700
  const serializeAws_json1_1GetDomainRequest = (input, context) => {
10842
10701
  return {
10843
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
10702
+ ...(input.domainName != null && { domainName: input.domainName }),
10844
10703
  };
10845
10704
  };
10846
10705
  const serializeAws_json1_1GetDomainsRequest = (input, context) => {
10847
10706
  return {
10848
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10707
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10849
10708
  };
10850
10709
  };
10851
10710
  const serializeAws_json1_1GetExportSnapshotRecordsRequest = (input, context) => {
10852
10711
  return {
10853
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10712
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10854
10713
  };
10855
10714
  };
10856
10715
  const serializeAws_json1_1GetInstanceAccessDetailsRequest = (input, context) => {
10857
10716
  return {
10858
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10859
- ...(input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }),
10717
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10718
+ ...(input.protocol != null && { protocol: input.protocol }),
10860
10719
  };
10861
10720
  };
10862
10721
  const serializeAws_json1_1GetInstanceMetricDataRequest = (input, context) => {
10863
10722
  return {
10864
- ...(input.endTime !== undefined &&
10865
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10866
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10867
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
10868
- ...(input.period !== undefined && input.period !== null && { period: input.period }),
10869
- ...(input.startTime !== undefined &&
10870
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10871
- ...(input.statistics !== undefined &&
10872
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10873
- ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
10723
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10724
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10725
+ ...(input.metricName != null && { metricName: input.metricName }),
10726
+ ...(input.period != null && { period: input.period }),
10727
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10728
+ ...(input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10729
+ ...(input.unit != null && { unit: input.unit }),
10874
10730
  };
10875
10731
  };
10876
10732
  const serializeAws_json1_1GetInstancePortStatesRequest = (input, context) => {
10877
10733
  return {
10878
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10734
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10879
10735
  };
10880
10736
  };
10881
10737
  const serializeAws_json1_1GetInstanceRequest = (input, context) => {
10882
10738
  return {
10883
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10739
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10884
10740
  };
10885
10741
  };
10886
10742
  const serializeAws_json1_1GetInstanceSnapshotRequest = (input, context) => {
10887
10743
  return {
10888
- ...(input.instanceSnapshotName !== undefined &&
10889
- input.instanceSnapshotName !== null && { instanceSnapshotName: input.instanceSnapshotName }),
10744
+ ...(input.instanceSnapshotName != null && { instanceSnapshotName: input.instanceSnapshotName }),
10890
10745
  };
10891
10746
  };
10892
10747
  const serializeAws_json1_1GetInstanceSnapshotsRequest = (input, context) => {
10893
10748
  return {
10894
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10749
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10895
10750
  };
10896
10751
  };
10897
10752
  const serializeAws_json1_1GetInstancesRequest = (input, context) => {
10898
10753
  return {
10899
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10754
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10900
10755
  };
10901
10756
  };
10902
10757
  const serializeAws_json1_1GetInstanceStateRequest = (input, context) => {
10903
10758
  return {
10904
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
10759
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10905
10760
  };
10906
10761
  };
10907
10762
  const serializeAws_json1_1GetKeyPairRequest = (input, context) => {
10908
10763
  return {
10909
- ...(input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }),
10764
+ ...(input.keyPairName != null && { keyPairName: input.keyPairName }),
10910
10765
  };
10911
10766
  };
10912
10767
  const serializeAws_json1_1GetKeyPairsRequest = (input, context) => {
10913
10768
  return {
10914
- ...(input.includeDefaultKeyPair !== undefined &&
10915
- input.includeDefaultKeyPair !== null && { includeDefaultKeyPair: input.includeDefaultKeyPair }),
10916
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10769
+ ...(input.includeDefaultKeyPair != null && { includeDefaultKeyPair: input.includeDefaultKeyPair }),
10770
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10917
10771
  };
10918
10772
  };
10919
10773
  const serializeAws_json1_1GetLoadBalancerMetricDataRequest = (input, context) => {
10920
10774
  return {
10921
- ...(input.endTime !== undefined &&
10922
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10923
- ...(input.loadBalancerName !== undefined &&
10924
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10925
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
10926
- ...(input.period !== undefined && input.period !== null && { period: input.period }),
10927
- ...(input.startTime !== undefined &&
10928
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10929
- ...(input.statistics !== undefined &&
10930
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10931
- ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
10775
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10776
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10777
+ ...(input.metricName != null && { metricName: input.metricName }),
10778
+ ...(input.period != null && { period: input.period }),
10779
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10780
+ ...(input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10781
+ ...(input.unit != null && { unit: input.unit }),
10932
10782
  };
10933
10783
  };
10934
10784
  const serializeAws_json1_1GetLoadBalancerRequest = (input, context) => {
10935
10785
  return {
10936
- ...(input.loadBalancerName !== undefined &&
10937
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10786
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10938
10787
  };
10939
10788
  };
10940
10789
  const serializeAws_json1_1GetLoadBalancersRequest = (input, context) => {
10941
10790
  return {
10942
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10791
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10943
10792
  };
10944
10793
  };
10945
10794
  const serializeAws_json1_1GetLoadBalancerTlsCertificatesRequest = (input, context) => {
10946
10795
  return {
10947
- ...(input.loadBalancerName !== undefined &&
10948
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
10796
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
10949
10797
  };
10950
10798
  };
10951
10799
  const serializeAws_json1_1GetLoadBalancerTlsPoliciesRequest = (input, context) => {
10952
10800
  return {
10953
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10801
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10954
10802
  };
10955
10803
  };
10956
10804
  const serializeAws_json1_1GetOperationRequest = (input, context) => {
10957
10805
  return {
10958
- ...(input.operationId !== undefined && input.operationId !== null && { operationId: input.operationId }),
10806
+ ...(input.operationId != null && { operationId: input.operationId }),
10959
10807
  };
10960
10808
  };
10961
10809
  const serializeAws_json1_1GetOperationsForResourceRequest = (input, context) => {
10962
10810
  return {
10963
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10964
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
10811
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10812
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
10965
10813
  };
10966
10814
  };
10967
10815
  const serializeAws_json1_1GetOperationsRequest = (input, context) => {
10968
10816
  return {
10969
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10817
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10970
10818
  };
10971
10819
  };
10972
10820
  const serializeAws_json1_1GetRegionsRequest = (input, context) => {
10973
10821
  return {
10974
- ...(input.includeAvailabilityZones !== undefined &&
10975
- input.includeAvailabilityZones !== null && { includeAvailabilityZones: input.includeAvailabilityZones }),
10976
- ...(input.includeRelationalDatabaseAvailabilityZones !== undefined &&
10977
- input.includeRelationalDatabaseAvailabilityZones !== null && {
10822
+ ...(input.includeAvailabilityZones != null && { includeAvailabilityZones: input.includeAvailabilityZones }),
10823
+ ...(input.includeRelationalDatabaseAvailabilityZones != null && {
10978
10824
  includeRelationalDatabaseAvailabilityZones: input.includeRelationalDatabaseAvailabilityZones,
10979
10825
  }),
10980
10826
  };
10981
10827
  };
10982
10828
  const serializeAws_json1_1GetRelationalDatabaseBlueprintsRequest = (input, context) => {
10983
10829
  return {
10984
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10830
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10985
10831
  };
10986
10832
  };
10987
10833
  const serializeAws_json1_1GetRelationalDatabaseBundlesRequest = (input, context) => {
10988
10834
  return {
10989
- ...(input.includeInactive !== undefined &&
10990
- input.includeInactive !== null && { includeInactive: input.includeInactive }),
10991
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10835
+ ...(input.includeInactive != null && { includeInactive: input.includeInactive }),
10836
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10992
10837
  };
10993
10838
  };
10994
10839
  const serializeAws_json1_1GetRelationalDatabaseEventsRequest = (input, context) => {
10995
10840
  return {
10996
- ...(input.durationInMinutes !== undefined &&
10997
- input.durationInMinutes !== null && { durationInMinutes: input.durationInMinutes }),
10998
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10999
- ...(input.relationalDatabaseName !== undefined &&
11000
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10841
+ ...(input.durationInMinutes != null && { durationInMinutes: input.durationInMinutes }),
10842
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10843
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11001
10844
  };
11002
10845
  };
11003
10846
  const serializeAws_json1_1GetRelationalDatabaseLogEventsRequest = (input, context) => {
11004
10847
  return {
11005
- ...(input.endTime !== undefined &&
11006
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
11007
- ...(input.logStreamName !== undefined && input.logStreamName !== null && { logStreamName: input.logStreamName }),
11008
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
11009
- ...(input.relationalDatabaseName !== undefined &&
11010
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11011
- ...(input.startFromHead !== undefined && input.startFromHead !== null && { startFromHead: input.startFromHead }),
11012
- ...(input.startTime !== undefined &&
11013
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10848
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10849
+ ...(input.logStreamName != null && { logStreamName: input.logStreamName }),
10850
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10851
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
10852
+ ...(input.startFromHead != null && { startFromHead: input.startFromHead }),
10853
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
11014
10854
  };
11015
10855
  };
11016
10856
  const serializeAws_json1_1GetRelationalDatabaseLogStreamsRequest = (input, context) => {
11017
10857
  return {
11018
- ...(input.relationalDatabaseName !== undefined &&
11019
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10858
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11020
10859
  };
11021
10860
  };
11022
10861
  const serializeAws_json1_1GetRelationalDatabaseMasterUserPasswordRequest = (input, context) => {
11023
10862
  return {
11024
- ...(input.passwordVersion !== undefined &&
11025
- input.passwordVersion !== null && { passwordVersion: input.passwordVersion }),
11026
- ...(input.relationalDatabaseName !== undefined &&
11027
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10863
+ ...(input.passwordVersion != null && { passwordVersion: input.passwordVersion }),
10864
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11028
10865
  };
11029
10866
  };
11030
10867
  const serializeAws_json1_1GetRelationalDatabaseMetricDataRequest = (input, context) => {
11031
10868
  return {
11032
- ...(input.endTime !== undefined &&
11033
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
11034
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
11035
- ...(input.period !== undefined && input.period !== null && { period: input.period }),
11036
- ...(input.relationalDatabaseName !== undefined &&
11037
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11038
- ...(input.startTime !== undefined &&
11039
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
11040
- ...(input.statistics !== undefined &&
11041
- input.statistics !== null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
11042
- ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
10869
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
10870
+ ...(input.metricName != null && { metricName: input.metricName }),
10871
+ ...(input.period != null && { period: input.period }),
10872
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
10873
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
10874
+ ...(input.statistics != null && { statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context) }),
10875
+ ...(input.unit != null && { unit: input.unit }),
11043
10876
  };
11044
10877
  };
11045
10878
  const serializeAws_json1_1GetRelationalDatabaseParametersRequest = (input, context) => {
11046
10879
  return {
11047
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
11048
- ...(input.relationalDatabaseName !== undefined &&
11049
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10880
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
10881
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11050
10882
  };
11051
10883
  };
11052
10884
  const serializeAws_json1_1GetRelationalDatabaseRequest = (input, context) => {
11053
10885
  return {
11054
- ...(input.relationalDatabaseName !== undefined &&
11055
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
10886
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11056
10887
  };
11057
10888
  };
11058
10889
  const serializeAws_json1_1GetRelationalDatabaseSnapshotRequest = (input, context) => {
11059
10890
  return {
11060
- ...(input.relationalDatabaseSnapshotName !== undefined &&
11061
- input.relationalDatabaseSnapshotName !== null && {
10891
+ ...(input.relationalDatabaseSnapshotName != null && {
11062
10892
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
11063
10893
  }),
11064
10894
  };
11065
10895
  };
11066
10896
  const serializeAws_json1_1GetRelationalDatabaseSnapshotsRequest = (input, context) => {
11067
10897
  return {
11068
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10898
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
11069
10899
  };
11070
10900
  };
11071
10901
  const serializeAws_json1_1GetRelationalDatabasesRequest = (input, context) => {
11072
10902
  return {
11073
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10903
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
11074
10904
  };
11075
10905
  };
11076
10906
  const serializeAws_json1_1GetStaticIpRequest = (input, context) => {
11077
10907
  return {
11078
- ...(input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }),
10908
+ ...(input.staticIpName != null && { staticIpName: input.staticIpName }),
11079
10909
  };
11080
10910
  };
11081
10911
  const serializeAws_json1_1GetStaticIpsRequest = (input, context) => {
11082
10912
  return {
11083
- ...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
10913
+ ...(input.pageToken != null && { pageToken: input.pageToken }),
11084
10914
  };
11085
10915
  };
11086
10916
  const serializeAws_json1_1HeaderForwardList = (input, context) => {
@@ -11095,37 +10925,32 @@ const serializeAws_json1_1HeaderForwardList = (input, context) => {
11095
10925
  };
11096
10926
  const serializeAws_json1_1HeaderObject = (input, context) => {
11097
10927
  return {
11098
- ...(input.headersAllowList !== undefined &&
11099
- input.headersAllowList !== null && {
10928
+ ...(input.headersAllowList != null && {
11100
10929
  headersAllowList: serializeAws_json1_1HeaderForwardList(input.headersAllowList, context),
11101
10930
  }),
11102
- ...(input.option !== undefined && input.option !== null && { option: input.option }),
10931
+ ...(input.option != null && { option: input.option }),
11103
10932
  };
11104
10933
  };
11105
10934
  const serializeAws_json1_1ImportKeyPairRequest = (input, context) => {
11106
10935
  return {
11107
- ...(input.keyPairName !== undefined && input.keyPairName !== null && { keyPairName: input.keyPairName }),
11108
- ...(input.publicKeyBase64 !== undefined &&
11109
- input.publicKeyBase64 !== null && { publicKeyBase64: input.publicKeyBase64 }),
10936
+ ...(input.keyPairName != null && { keyPairName: input.keyPairName }),
10937
+ ...(input.publicKeyBase64 != null && { publicKeyBase64: input.publicKeyBase64 }),
11110
10938
  };
11111
10939
  };
11112
10940
  const serializeAws_json1_1InputOrigin = (input, context) => {
11113
10941
  return {
11114
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
11115
- ...(input.protocolPolicy !== undefined &&
11116
- input.protocolPolicy !== null && { protocolPolicy: input.protocolPolicy }),
11117
- ...(input.regionName !== undefined && input.regionName !== null && { regionName: input.regionName }),
10942
+ ...(input.name != null && { name: input.name }),
10943
+ ...(input.protocolPolicy != null && { protocolPolicy: input.protocolPolicy }),
10944
+ ...(input.regionName != null && { regionName: input.regionName }),
11118
10945
  };
11119
10946
  };
11120
10947
  const serializeAws_json1_1InstanceEntry = (input, context) => {
11121
10948
  return {
11122
- ...(input.availabilityZone !== undefined &&
11123
- input.availabilityZone !== null && { availabilityZone: input.availabilityZone }),
11124
- ...(input.instanceType !== undefined && input.instanceType !== null && { instanceType: input.instanceType }),
11125
- ...(input.portInfoSource !== undefined &&
11126
- input.portInfoSource !== null && { portInfoSource: input.portInfoSource }),
11127
- ...(input.sourceName !== undefined && input.sourceName !== null && { sourceName: input.sourceName }),
11128
- ...(input.userData !== undefined && input.userData !== null && { userData: input.userData }),
10949
+ ...(input.availabilityZone != null && { availabilityZone: input.availabilityZone }),
10950
+ ...(input.instanceType != null && { instanceType: input.instanceType }),
10951
+ ...(input.portInfoSource != null && { portInfoSource: input.portInfoSource }),
10952
+ ...(input.sourceName != null && { sourceName: input.sourceName }),
10953
+ ...(input.userData != null && { userData: input.userData }),
11129
10954
  };
11130
10955
  };
11131
10956
  const serializeAws_json1_1InstanceEntryList = (input, context) => {
@@ -11163,9 +10988,8 @@ const serializeAws_json1_1NotificationTriggerList = (input, context) => {
11163
10988
  };
11164
10989
  const serializeAws_json1_1OpenInstancePublicPortsRequest = (input, context) => {
11165
10990
  return {
11166
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
11167
- ...(input.portInfo !== undefined &&
11168
- input.portInfo !== null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }),
10991
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
10992
+ ...(input.portInfo != null && { portInfo: serializeAws_json1_1PortInfo(input.portInfo, context) }),
11169
10993
  };
11170
10994
  };
11171
10995
  const serializeAws_json1_1PartnerIdList = (input, context) => {
@@ -11183,17 +11007,14 @@ const serializeAws_json1_1PeerVpcRequest = (input, context) => {
11183
11007
  };
11184
11008
  const serializeAws_json1_1PortInfo = (input, context) => {
11185
11009
  return {
11186
- ...(input.cidrListAliases !== undefined &&
11187
- input.cidrListAliases !== null && {
11010
+ ...(input.cidrListAliases != null && {
11188
11011
  cidrListAliases: serializeAws_json1_1StringList(input.cidrListAliases, context),
11189
11012
  }),
11190
- ...(input.cidrs !== undefined &&
11191
- input.cidrs !== null && { cidrs: serializeAws_json1_1StringList(input.cidrs, context) }),
11192
- ...(input.fromPort !== undefined && input.fromPort !== null && { fromPort: input.fromPort }),
11193
- ...(input.ipv6Cidrs !== undefined &&
11194
- input.ipv6Cidrs !== null && { ipv6Cidrs: serializeAws_json1_1StringList(input.ipv6Cidrs, context) }),
11195
- ...(input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }),
11196
- ...(input.toPort !== undefined && input.toPort !== null && { toPort: input.toPort }),
11013
+ ...(input.cidrs != null && { cidrs: serializeAws_json1_1StringList(input.cidrs, context) }),
11014
+ ...(input.fromPort != null && { fromPort: input.fromPort }),
11015
+ ...(input.ipv6Cidrs != null && { ipv6Cidrs: serializeAws_json1_1StringList(input.ipv6Cidrs, context) }),
11016
+ ...(input.protocol != null && { protocol: input.protocol }),
11017
+ ...(input.toPort != null && { toPort: input.toPort }),
11197
11018
  };
11198
11019
  };
11199
11020
  const serializeAws_json1_1PortInfoList = (input, context) => {
@@ -11219,84 +11040,71 @@ const serializeAws_json1_1PortMap = (input, context) => {
11219
11040
  };
11220
11041
  const serializeAws_json1_1PrivateRegistryAccessRequest = (input, context) => {
11221
11042
  return {
11222
- ...(input.ecrImagePullerRole !== undefined &&
11223
- input.ecrImagePullerRole !== null && {
11043
+ ...(input.ecrImagePullerRole != null && {
11224
11044
  ecrImagePullerRole: serializeAws_json1_1ContainerServiceECRImagePullerRoleRequest(input.ecrImagePullerRole, context),
11225
11045
  }),
11226
11046
  };
11227
11047
  };
11228
11048
  const serializeAws_json1_1PutAlarmRequest = (input, context) => {
11229
11049
  return {
11230
- ...(input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName }),
11231
- ...(input.comparisonOperator !== undefined &&
11232
- input.comparisonOperator !== null && { comparisonOperator: input.comparisonOperator }),
11233
- ...(input.contactProtocols !== undefined &&
11234
- input.contactProtocols !== null && {
11050
+ ...(input.alarmName != null && { alarmName: input.alarmName }),
11051
+ ...(input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator }),
11052
+ ...(input.contactProtocols != null && {
11235
11053
  contactProtocols: serializeAws_json1_1ContactProtocolsList(input.contactProtocols, context),
11236
11054
  }),
11237
- ...(input.datapointsToAlarm !== undefined &&
11238
- input.datapointsToAlarm !== null && { datapointsToAlarm: input.datapointsToAlarm }),
11239
- ...(input.evaluationPeriods !== undefined &&
11240
- input.evaluationPeriods !== null && { evaluationPeriods: input.evaluationPeriods }),
11241
- ...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
11242
- ...(input.monitoredResourceName !== undefined &&
11243
- input.monitoredResourceName !== null && { monitoredResourceName: input.monitoredResourceName }),
11244
- ...(input.notificationEnabled !== undefined &&
11245
- input.notificationEnabled !== null && { notificationEnabled: input.notificationEnabled }),
11246
- ...(input.notificationTriggers !== undefined &&
11247
- input.notificationTriggers !== null && {
11055
+ ...(input.datapointsToAlarm != null && { datapointsToAlarm: input.datapointsToAlarm }),
11056
+ ...(input.evaluationPeriods != null && { evaluationPeriods: input.evaluationPeriods }),
11057
+ ...(input.metricName != null && { metricName: input.metricName }),
11058
+ ...(input.monitoredResourceName != null && { monitoredResourceName: input.monitoredResourceName }),
11059
+ ...(input.notificationEnabled != null && { notificationEnabled: input.notificationEnabled }),
11060
+ ...(input.notificationTriggers != null && {
11248
11061
  notificationTriggers: serializeAws_json1_1NotificationTriggerList(input.notificationTriggers, context),
11249
11062
  }),
11250
- ...(input.threshold !== undefined && input.threshold !== null && { threshold: (0, smithy_client_1.serializeFloat)(input.threshold) }),
11251
- ...(input.treatMissingData !== undefined &&
11252
- input.treatMissingData !== null && { treatMissingData: input.treatMissingData }),
11063
+ ...(input.threshold != null && { threshold: (0, smithy_client_1.serializeFloat)(input.threshold) }),
11064
+ ...(input.treatMissingData != null && { treatMissingData: input.treatMissingData }),
11253
11065
  };
11254
11066
  };
11255
11067
  const serializeAws_json1_1PutInstancePublicPortsRequest = (input, context) => {
11256
11068
  return {
11257
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
11258
- ...(input.portInfos !== undefined &&
11259
- input.portInfos !== null && { portInfos: serializeAws_json1_1PortInfoList(input.portInfos, context) }),
11069
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
11070
+ ...(input.portInfos != null && { portInfos: serializeAws_json1_1PortInfoList(input.portInfos, context) }),
11260
11071
  };
11261
11072
  };
11262
11073
  const serializeAws_json1_1QueryStringObject = (input, context) => {
11263
11074
  return {
11264
- ...(input.option !== undefined && input.option !== null && { option: input.option }),
11265
- ...(input.queryStringsAllowList !== undefined &&
11266
- input.queryStringsAllowList !== null && {
11075
+ ...(input.option != null && { option: input.option }),
11076
+ ...(input.queryStringsAllowList != null && {
11267
11077
  queryStringsAllowList: serializeAws_json1_1StringList(input.queryStringsAllowList, context),
11268
11078
  }),
11269
11079
  };
11270
11080
  };
11271
11081
  const serializeAws_json1_1RebootInstanceRequest = (input, context) => {
11272
11082
  return {
11273
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
11083
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
11274
11084
  };
11275
11085
  };
11276
11086
  const serializeAws_json1_1RebootRelationalDatabaseRequest = (input, context) => {
11277
11087
  return {
11278
- ...(input.relationalDatabaseName !== undefined &&
11279
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11088
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11280
11089
  };
11281
11090
  };
11282
11091
  const serializeAws_json1_1RegisterContainerImageRequest = (input, context) => {
11283
11092
  return {
11284
- ...(input.digest !== undefined && input.digest !== null && { digest: input.digest }),
11285
- ...(input.label !== undefined && input.label !== null && { label: input.label }),
11286
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
11093
+ ...(input.digest != null && { digest: input.digest }),
11094
+ ...(input.label != null && { label: input.label }),
11095
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
11287
11096
  };
11288
11097
  };
11289
11098
  const serializeAws_json1_1RelationalDatabaseParameter = (input, context) => {
11290
11099
  return {
11291
- ...(input.allowedValues !== undefined && input.allowedValues !== null && { allowedValues: input.allowedValues }),
11292
- ...(input.applyMethod !== undefined && input.applyMethod !== null && { applyMethod: input.applyMethod }),
11293
- ...(input.applyType !== undefined && input.applyType !== null && { applyType: input.applyType }),
11294
- ...(input.dataType !== undefined && input.dataType !== null && { dataType: input.dataType }),
11295
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
11296
- ...(input.isModifiable !== undefined && input.isModifiable !== null && { isModifiable: input.isModifiable }),
11297
- ...(input.parameterName !== undefined && input.parameterName !== null && { parameterName: input.parameterName }),
11298
- ...(input.parameterValue !== undefined &&
11299
- input.parameterValue !== null && { parameterValue: input.parameterValue }),
11100
+ ...(input.allowedValues != null && { allowedValues: input.allowedValues }),
11101
+ ...(input.applyMethod != null && { applyMethod: input.applyMethod }),
11102
+ ...(input.applyType != null && { applyType: input.applyType }),
11103
+ ...(input.dataType != null && { dataType: input.dataType }),
11104
+ ...(input.description != null && { description: input.description }),
11105
+ ...(input.isModifiable != null && { isModifiable: input.isModifiable }),
11106
+ ...(input.parameterName != null && { parameterName: input.parameterName }),
11107
+ ...(input.parameterValue != null && { parameterValue: input.parameterValue }),
11300
11108
  };
11301
11109
  };
11302
11110
  const serializeAws_json1_1RelationalDatabaseParameterList = (input, context) => {
@@ -11311,13 +11119,12 @@ const serializeAws_json1_1RelationalDatabaseParameterList = (input, context) =>
11311
11119
  };
11312
11120
  const serializeAws_json1_1ReleaseStaticIpRequest = (input, context) => {
11313
11121
  return {
11314
- ...(input.staticIpName !== undefined && input.staticIpName !== null && { staticIpName: input.staticIpName }),
11122
+ ...(input.staticIpName != null && { staticIpName: input.staticIpName }),
11315
11123
  };
11316
11124
  };
11317
11125
  const serializeAws_json1_1ResetDistributionCacheRequest = (input, context) => {
11318
11126
  return {
11319
- ...(input.distributionName !== undefined &&
11320
- input.distributionName !== null && { distributionName: input.distributionName }),
11127
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
11321
11128
  };
11322
11129
  };
11323
11130
  const serializeAws_json1_1ResourceNameList = (input, context) => {
@@ -11332,46 +11139,43 @@ const serializeAws_json1_1ResourceNameList = (input, context) => {
11332
11139
  };
11333
11140
  const serializeAws_json1_1SendContactMethodVerificationRequest = (input, context) => {
11334
11141
  return {
11335
- ...(input.protocol !== undefined && input.protocol !== null && { protocol: input.protocol }),
11142
+ ...(input.protocol != null && { protocol: input.protocol }),
11336
11143
  };
11337
11144
  };
11338
11145
  const serializeAws_json1_1SetIpAddressTypeRequest = (input, context) => {
11339
11146
  return {
11340
- ...(input.ipAddressType !== undefined && input.ipAddressType !== null && { ipAddressType: input.ipAddressType }),
11341
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
11342
- ...(input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }),
11147
+ ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
11148
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
11149
+ ...(input.resourceType != null && { resourceType: input.resourceType }),
11343
11150
  };
11344
11151
  };
11345
11152
  const serializeAws_json1_1SetResourceAccessForBucketRequest = (input, context) => {
11346
11153
  return {
11347
- ...(input.access !== undefined && input.access !== null && { access: input.access }),
11348
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
11349
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
11154
+ ...(input.access != null && { access: input.access }),
11155
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
11156
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
11350
11157
  };
11351
11158
  };
11352
11159
  const serializeAws_json1_1StartInstanceRequest = (input, context) => {
11353
11160
  return {
11354
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
11161
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
11355
11162
  };
11356
11163
  };
11357
11164
  const serializeAws_json1_1StartRelationalDatabaseRequest = (input, context) => {
11358
11165
  return {
11359
- ...(input.relationalDatabaseName !== undefined &&
11360
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11166
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11361
11167
  };
11362
11168
  };
11363
11169
  const serializeAws_json1_1StopInstanceRequest = (input, context) => {
11364
11170
  return {
11365
- ...(input.force !== undefined && input.force !== null && { force: input.force }),
11366
- ...(input.instanceName !== undefined && input.instanceName !== null && { instanceName: input.instanceName }),
11171
+ ...(input.force != null && { force: input.force }),
11172
+ ...(input.instanceName != null && { instanceName: input.instanceName }),
11367
11173
  };
11368
11174
  };
11369
11175
  const serializeAws_json1_1StopRelationalDatabaseRequest = (input, context) => {
11370
11176
  return {
11371
- ...(input.relationalDatabaseName !== undefined &&
11372
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11373
- ...(input.relationalDatabaseSnapshotName !== undefined &&
11374
- input.relationalDatabaseSnapshotName !== null && {
11177
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11178
+ ...(input.relationalDatabaseSnapshotName != null && {
11375
11179
  relationalDatabaseSnapshotName: input.relationalDatabaseSnapshotName,
11376
11180
  }),
11377
11181
  };
@@ -11398,8 +11202,8 @@ const serializeAws_json1_1SubjectAlternativeNameList = (input, context) => {
11398
11202
  };
11399
11203
  const serializeAws_json1_1Tag = (input, context) => {
11400
11204
  return {
11401
- ...(input.key !== undefined && input.key !== null && { key: input.key }),
11402
- ...(input.value !== undefined && input.value !== null && { value: input.value }),
11205
+ ...(input.key != null && { key: input.key }),
11206
+ ...(input.value != null && { value: input.value }),
11403
11207
  };
11404
11208
  };
11405
11209
  const serializeAws_json1_1TagKeyList = (input, context) => {
@@ -11424,15 +11228,15 @@ const serializeAws_json1_1TagList = (input, context) => {
11424
11228
  };
11425
11229
  const serializeAws_json1_1TagResourceRequest = (input, context) => {
11426
11230
  return {
11427
- ...(input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }),
11428
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
11429
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
11231
+ ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
11232
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
11233
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
11430
11234
  };
11431
11235
  };
11432
11236
  const serializeAws_json1_1TestAlarmRequest = (input, context) => {
11433
11237
  return {
11434
- ...(input.alarmName !== undefined && input.alarmName !== null && { alarmName: input.alarmName }),
11435
- ...(input.state !== undefined && input.state !== null && { state: input.state }),
11238
+ ...(input.alarmName != null && { alarmName: input.alarmName }),
11239
+ ...(input.state != null && { state: input.state }),
11436
11240
  };
11437
11241
  };
11438
11242
  const serializeAws_json1_1UnpeerVpcRequest = (input, context) => {
@@ -11440,126 +11244,99 @@ const serializeAws_json1_1UnpeerVpcRequest = (input, context) => {
11440
11244
  };
11441
11245
  const serializeAws_json1_1UntagResourceRequest = (input, context) => {
11442
11246
  return {
11443
- ...(input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }),
11444
- ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }),
11445
- ...(input.tagKeys !== undefined &&
11446
- input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }),
11247
+ ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
11248
+ ...(input.resourceName != null && { resourceName: input.resourceName }),
11249
+ ...(input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }),
11447
11250
  };
11448
11251
  };
11449
11252
  const serializeAws_json1_1UpdateBucketBundleRequest = (input, context) => {
11450
11253
  return {
11451
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
11452
- ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }),
11254
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
11255
+ ...(input.bundleId != null && { bundleId: input.bundleId }),
11453
11256
  };
11454
11257
  };
11455
11258
  const serializeAws_json1_1UpdateBucketRequest = (input, context) => {
11456
11259
  return {
11457
- ...(input.accessLogConfig !== undefined &&
11458
- input.accessLogConfig !== null && {
11260
+ ...(input.accessLogConfig != null && {
11459
11261
  accessLogConfig: serializeAws_json1_1BucketAccessLogConfig(input.accessLogConfig, context),
11460
11262
  }),
11461
- ...(input.accessRules !== undefined &&
11462
- input.accessRules !== null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) }),
11463
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
11464
- ...(input.readonlyAccessAccounts !== undefined &&
11465
- input.readonlyAccessAccounts !== null && {
11263
+ ...(input.accessRules != null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) }),
11264
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
11265
+ ...(input.readonlyAccessAccounts != null && {
11466
11266
  readonlyAccessAccounts: serializeAws_json1_1PartnerIdList(input.readonlyAccessAccounts, context),
11467
11267
  }),
11468
- ...(input.versioning !== undefined && input.versioning !== null && { versioning: input.versioning }),
11268
+ ...(input.versioning != null && { versioning: input.versioning }),
11469
11269
  };
11470
11270
  };
11471
11271
  const serializeAws_json1_1UpdateContainerServiceRequest = (input, context) => {
11472
11272
  return {
11473
- ...(input.isDisabled !== undefined && input.isDisabled !== null && { isDisabled: input.isDisabled }),
11474
- ...(input.power !== undefined && input.power !== null && { power: input.power }),
11475
- ...(input.privateRegistryAccess !== undefined &&
11476
- input.privateRegistryAccess !== null && {
11273
+ ...(input.isDisabled != null && { isDisabled: input.isDisabled }),
11274
+ ...(input.power != null && { power: input.power }),
11275
+ ...(input.privateRegistryAccess != null && {
11477
11276
  privateRegistryAccess: serializeAws_json1_1PrivateRegistryAccessRequest(input.privateRegistryAccess, context),
11478
11277
  }),
11479
- ...(input.publicDomainNames !== undefined &&
11480
- input.publicDomainNames !== null && {
11278
+ ...(input.publicDomainNames != null && {
11481
11279
  publicDomainNames: serializeAws_json1_1ContainerServicePublicDomains(input.publicDomainNames, context),
11482
11280
  }),
11483
- ...(input.scale !== undefined && input.scale !== null && { scale: input.scale }),
11484
- ...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
11281
+ ...(input.scale != null && { scale: input.scale }),
11282
+ ...(input.serviceName != null && { serviceName: input.serviceName }),
11485
11283
  };
11486
11284
  };
11487
11285
  const serializeAws_json1_1UpdateDistributionBundleRequest = (input, context) => {
11488
11286
  return {
11489
- ...(input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }),
11490
- ...(input.distributionName !== undefined &&
11491
- input.distributionName !== null && { distributionName: input.distributionName }),
11287
+ ...(input.bundleId != null && { bundleId: input.bundleId }),
11288
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
11492
11289
  };
11493
11290
  };
11494
11291
  const serializeAws_json1_1UpdateDistributionRequest = (input, context) => {
11495
11292
  return {
11496
- ...(input.cacheBehaviorSettings !== undefined &&
11497
- input.cacheBehaviorSettings !== null && {
11293
+ ...(input.cacheBehaviorSettings != null && {
11498
11294
  cacheBehaviorSettings: serializeAws_json1_1CacheSettings(input.cacheBehaviorSettings, context),
11499
11295
  }),
11500
- ...(input.cacheBehaviors !== undefined &&
11501
- input.cacheBehaviors !== null && {
11296
+ ...(input.cacheBehaviors != null && {
11502
11297
  cacheBehaviors: serializeAws_json1_1CacheBehaviorList(input.cacheBehaviors, context),
11503
11298
  }),
11504
- ...(input.defaultCacheBehavior !== undefined &&
11505
- input.defaultCacheBehavior !== null && {
11299
+ ...(input.defaultCacheBehavior != null && {
11506
11300
  defaultCacheBehavior: serializeAws_json1_1CacheBehavior(input.defaultCacheBehavior, context),
11507
11301
  }),
11508
- ...(input.distributionName !== undefined &&
11509
- input.distributionName !== null && { distributionName: input.distributionName }),
11510
- ...(input.isEnabled !== undefined && input.isEnabled !== null && { isEnabled: input.isEnabled }),
11511
- ...(input.origin !== undefined &&
11512
- input.origin !== null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) }),
11302
+ ...(input.distributionName != null && { distributionName: input.distributionName }),
11303
+ ...(input.isEnabled != null && { isEnabled: input.isEnabled }),
11304
+ ...(input.origin != null && { origin: serializeAws_json1_1InputOrigin(input.origin, context) }),
11513
11305
  };
11514
11306
  };
11515
11307
  const serializeAws_json1_1UpdateDomainEntryRequest = (input, context) => {
11516
11308
  return {
11517
- ...(input.domainEntry !== undefined &&
11518
- input.domainEntry !== null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) }),
11519
- ...(input.domainName !== undefined && input.domainName !== null && { domainName: input.domainName }),
11309
+ ...(input.domainEntry != null && { domainEntry: serializeAws_json1_1DomainEntry(input.domainEntry, context) }),
11310
+ ...(input.domainName != null && { domainName: input.domainName }),
11520
11311
  };
11521
11312
  };
11522
11313
  const serializeAws_json1_1UpdateLoadBalancerAttributeRequest = (input, context) => {
11523
11314
  return {
11524
- ...(input.attributeName !== undefined && input.attributeName !== null && { attributeName: input.attributeName }),
11525
- ...(input.attributeValue !== undefined &&
11526
- input.attributeValue !== null && { attributeValue: input.attributeValue }),
11527
- ...(input.loadBalancerName !== undefined &&
11528
- input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName }),
11315
+ ...(input.attributeName != null && { attributeName: input.attributeName }),
11316
+ ...(input.attributeValue != null && { attributeValue: input.attributeValue }),
11317
+ ...(input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName }),
11529
11318
  };
11530
11319
  };
11531
11320
  const serializeAws_json1_1UpdateRelationalDatabaseParametersRequest = (input, context) => {
11532
11321
  return {
11533
- ...(input.parameters !== undefined &&
11534
- input.parameters !== null && {
11322
+ ...(input.parameters != null && {
11535
11323
  parameters: serializeAws_json1_1RelationalDatabaseParameterList(input.parameters, context),
11536
11324
  }),
11537
- ...(input.relationalDatabaseName !== undefined &&
11538
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11325
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11539
11326
  };
11540
11327
  };
11541
11328
  const serializeAws_json1_1UpdateRelationalDatabaseRequest = (input, context) => {
11542
11329
  return {
11543
- ...(input.applyImmediately !== undefined &&
11544
- input.applyImmediately !== null && { applyImmediately: input.applyImmediately }),
11545
- ...(input.caCertificateIdentifier !== undefined &&
11546
- input.caCertificateIdentifier !== null && { caCertificateIdentifier: input.caCertificateIdentifier }),
11547
- ...(input.disableBackupRetention !== undefined &&
11548
- input.disableBackupRetention !== null && { disableBackupRetention: input.disableBackupRetention }),
11549
- ...(input.enableBackupRetention !== undefined &&
11550
- input.enableBackupRetention !== null && { enableBackupRetention: input.enableBackupRetention }),
11551
- ...(input.masterUserPassword !== undefined &&
11552
- input.masterUserPassword !== null && { masterUserPassword: input.masterUserPassword }),
11553
- ...(input.preferredBackupWindow !== undefined &&
11554
- input.preferredBackupWindow !== null && { preferredBackupWindow: input.preferredBackupWindow }),
11555
- ...(input.preferredMaintenanceWindow !== undefined &&
11556
- input.preferredMaintenanceWindow !== null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
11557
- ...(input.publiclyAccessible !== undefined &&
11558
- input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible }),
11559
- ...(input.relationalDatabaseName !== undefined &&
11560
- input.relationalDatabaseName !== null && { relationalDatabaseName: input.relationalDatabaseName }),
11561
- ...(input.rotateMasterUserPassword !== undefined &&
11562
- input.rotateMasterUserPassword !== null && { rotateMasterUserPassword: input.rotateMasterUserPassword }),
11330
+ ...(input.applyImmediately != null && { applyImmediately: input.applyImmediately }),
11331
+ ...(input.caCertificateIdentifier != null && { caCertificateIdentifier: input.caCertificateIdentifier }),
11332
+ ...(input.disableBackupRetention != null && { disableBackupRetention: input.disableBackupRetention }),
11333
+ ...(input.enableBackupRetention != null && { enableBackupRetention: input.enableBackupRetention }),
11334
+ ...(input.masterUserPassword != null && { masterUserPassword: input.masterUserPassword }),
11335
+ ...(input.preferredBackupWindow != null && { preferredBackupWindow: input.preferredBackupWindow }),
11336
+ ...(input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
11337
+ ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
11338
+ ...(input.relationalDatabaseName != null && { relationalDatabaseName: input.relationalDatabaseName }),
11339
+ ...(input.rotateMasterUserPassword != null && { rotateMasterUserPassword: input.rotateMasterUserPassword }),
11563
11340
  };
11564
11341
  };
11565
11342
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
@@ -11573,19 +11350,15 @@ const deserializeAws_json1_1AccessDeniedException = (output, context) => {
11573
11350
  const deserializeAws_json1_1AccessKey = (output, context) => {
11574
11351
  return {
11575
11352
  accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
11576
- createdAt: output.createdAt !== undefined && output.createdAt !== null
11577
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
11578
- : undefined,
11579
- lastUsed: output.lastUsed !== undefined && output.lastUsed !== null
11580
- ? deserializeAws_json1_1AccessKeyLastUsed(output.lastUsed, context)
11581
- : undefined,
11353
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11354
+ lastUsed: output.lastUsed != null ? deserializeAws_json1_1AccessKeyLastUsed(output.lastUsed, context) : undefined,
11582
11355
  secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey),
11583
11356
  status: (0, smithy_client_1.expectString)(output.status),
11584
11357
  };
11585
11358
  };
11586
11359
  const deserializeAws_json1_1AccessKeyLastUsed = (output, context) => {
11587
11360
  return {
11588
- lastUsedDate: output.lastUsedDate !== undefined && output.lastUsedDate !== null
11361
+ lastUsedDate: output.lastUsedDate != null
11589
11362
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUsedDate)))
11590
11363
  : undefined,
11591
11364
  region: (0, smithy_client_1.expectString)(output.region),
@@ -11623,7 +11396,7 @@ const deserializeAws_json1_1AccessRules = (output, context) => {
11623
11396
  const deserializeAws_json1_1AccountLevelBpaSync = (output, context) => {
11624
11397
  return {
11625
11398
  bpaImpactsLightsail: (0, smithy_client_1.expectBoolean)(output.bpaImpactsLightsail),
11626
- lastSyncedAt: output.lastSyncedAt !== undefined && output.lastSyncedAt !== null
11399
+ lastSyncedAt: output.lastSyncedAt != null
11627
11400
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastSyncedAt)))
11628
11401
  : undefined,
11629
11402
  message: (0, smithy_client_1.expectString)(output.message),
@@ -11661,24 +11434,20 @@ const deserializeAws_json1_1Alarm = (output, context) => {
11661
11434
  return {
11662
11435
  arn: (0, smithy_client_1.expectString)(output.arn),
11663
11436
  comparisonOperator: (0, smithy_client_1.expectString)(output.comparisonOperator),
11664
- contactProtocols: output.contactProtocols !== undefined && output.contactProtocols !== null
11437
+ contactProtocols: output.contactProtocols != null
11665
11438
  ? deserializeAws_json1_1ContactProtocolsList(output.contactProtocols, context)
11666
11439
  : undefined,
11667
- createdAt: output.createdAt !== undefined && output.createdAt !== null
11668
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
11669
- : undefined,
11440
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11670
11441
  datapointsToAlarm: (0, smithy_client_1.expectInt32)(output.datapointsToAlarm),
11671
11442
  evaluationPeriods: (0, smithy_client_1.expectInt32)(output.evaluationPeriods),
11672
- location: output.location !== undefined && output.location !== null
11673
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
11674
- : undefined,
11443
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
11675
11444
  metricName: (0, smithy_client_1.expectString)(output.metricName),
11676
- monitoredResourceInfo: output.monitoredResourceInfo !== undefined && output.monitoredResourceInfo !== null
11445
+ monitoredResourceInfo: output.monitoredResourceInfo != null
11677
11446
  ? deserializeAws_json1_1MonitoredResourceInfo(output.monitoredResourceInfo, context)
11678
11447
  : undefined,
11679
11448
  name: (0, smithy_client_1.expectString)(output.name),
11680
11449
  notificationEnabled: (0, smithy_client_1.expectBoolean)(output.notificationEnabled),
11681
- notificationTriggers: output.notificationTriggers !== undefined && output.notificationTriggers !== null
11450
+ notificationTriggers: output.notificationTriggers != null
11682
11451
  ? deserializeAws_json1_1NotificationTriggerList(output.notificationTriggers, context)
11683
11452
  : undefined,
11684
11453
  period: (0, smithy_client_1.expectInt32)(output.period),
@@ -11704,23 +11473,17 @@ const deserializeAws_json1_1AlarmsList = (output, context) => {
11704
11473
  };
11705
11474
  const deserializeAws_json1_1AllocateStaticIpResult = (output, context) => {
11706
11475
  return {
11707
- operations: output.operations !== undefined && output.operations !== null
11708
- ? deserializeAws_json1_1OperationList(output.operations, context)
11709
- : undefined,
11476
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
11710
11477
  };
11711
11478
  };
11712
11479
  const deserializeAws_json1_1AttachCertificateToDistributionResult = (output, context) => {
11713
11480
  return {
11714
- operation: output.operation !== undefined && output.operation !== null
11715
- ? deserializeAws_json1_1Operation(output.operation, context)
11716
- : undefined,
11481
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
11717
11482
  };
11718
11483
  };
11719
11484
  const deserializeAws_json1_1AttachDiskResult = (output, context) => {
11720
11485
  return {
11721
- operations: output.operations !== undefined && output.operations !== null
11722
- ? deserializeAws_json1_1OperationList(output.operations, context)
11723
- : undefined,
11486
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
11724
11487
  };
11725
11488
  };
11726
11489
  const deserializeAws_json1_1AttachedDisk = (output, context) => {
@@ -11742,32 +11505,24 @@ const deserializeAws_json1_1AttachedDiskList = (output, context) => {
11742
11505
  };
11743
11506
  const deserializeAws_json1_1AttachInstancesToLoadBalancerResult = (output, context) => {
11744
11507
  return {
11745
- operations: output.operations !== undefined && output.operations !== null
11746
- ? deserializeAws_json1_1OperationList(output.operations, context)
11747
- : undefined,
11508
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
11748
11509
  };
11749
11510
  };
11750
11511
  const deserializeAws_json1_1AttachLoadBalancerTlsCertificateResult = (output, context) => {
11751
11512
  return {
11752
- operations: output.operations !== undefined && output.operations !== null
11753
- ? deserializeAws_json1_1OperationList(output.operations, context)
11754
- : undefined,
11513
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
11755
11514
  };
11756
11515
  };
11757
11516
  const deserializeAws_json1_1AttachStaticIpResult = (output, context) => {
11758
11517
  return {
11759
- operations: output.operations !== undefined && output.operations !== null
11760
- ? deserializeAws_json1_1OperationList(output.operations, context)
11761
- : undefined,
11518
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
11762
11519
  };
11763
11520
  };
11764
11521
  const deserializeAws_json1_1AutoSnapshotDetails = (output, context) => {
11765
11522
  return {
11766
- createdAt: output.createdAt !== undefined && output.createdAt !== null
11767
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
11768
- : undefined,
11523
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11769
11524
  date: (0, smithy_client_1.expectString)(output.date),
11770
- fromAttachedDisks: output.fromAttachedDisks !== undefined && output.fromAttachedDisks !== null
11525
+ fromAttachedDisks: output.fromAttachedDisks != null
11771
11526
  ? deserializeAws_json1_1AttachedDiskList(output.fromAttachedDisks, context)
11772
11527
  : undefined,
11773
11528
  status: (0, smithy_client_1.expectString)(output.status),
@@ -11831,36 +11586,26 @@ const deserializeAws_json1_1BlueprintList = (output, context) => {
11831
11586
  const deserializeAws_json1_1Bucket = (output, context) => {
11832
11587
  return {
11833
11588
  ableToUpdateBundle: (0, smithy_client_1.expectBoolean)(output.ableToUpdateBundle),
11834
- accessLogConfig: output.accessLogConfig !== undefined && output.accessLogConfig !== null
11589
+ accessLogConfig: output.accessLogConfig != null
11835
11590
  ? deserializeAws_json1_1BucketAccessLogConfig(output.accessLogConfig, context)
11836
11591
  : undefined,
11837
- accessRules: output.accessRules !== undefined && output.accessRules !== null
11838
- ? deserializeAws_json1_1AccessRules(output.accessRules, context)
11839
- : undefined,
11592
+ accessRules: output.accessRules != null ? deserializeAws_json1_1AccessRules(output.accessRules, context) : undefined,
11840
11593
  arn: (0, smithy_client_1.expectString)(output.arn),
11841
11594
  bundleId: (0, smithy_client_1.expectString)(output.bundleId),
11842
- createdAt: output.createdAt !== undefined && output.createdAt !== null
11843
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
11844
- : undefined,
11845
- location: output.location !== undefined && output.location !== null
11846
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
11847
- : undefined,
11595
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11596
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
11848
11597
  name: (0, smithy_client_1.expectString)(output.name),
11849
11598
  objectVersioning: (0, smithy_client_1.expectString)(output.objectVersioning),
11850
- readonlyAccessAccounts: output.readonlyAccessAccounts !== undefined && output.readonlyAccessAccounts !== null
11599
+ readonlyAccessAccounts: output.readonlyAccessAccounts != null
11851
11600
  ? deserializeAws_json1_1PartnerIdList(output.readonlyAccessAccounts, context)
11852
11601
  : undefined,
11853
11602
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
11854
- resourcesReceivingAccess: output.resourcesReceivingAccess !== undefined && output.resourcesReceivingAccess !== null
11603
+ resourcesReceivingAccess: output.resourcesReceivingAccess != null
11855
11604
  ? deserializeAws_json1_1AccessReceiverList(output.resourcesReceivingAccess, context)
11856
11605
  : undefined,
11857
- state: output.state !== undefined && output.state !== null
11858
- ? deserializeAws_json1_1BucketState(output.state, context)
11859
- : undefined,
11606
+ state: output.state != null ? deserializeAws_json1_1BucketState(output.state, context) : undefined,
11860
11607
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
11861
- tags: output.tags !== undefined && output.tags !== null
11862
- ? deserializeAws_json1_1TagList(output.tags, context)
11863
- : undefined,
11608
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
11864
11609
  url: (0, smithy_client_1.expectString)(output.url),
11865
11610
  };
11866
11611
  };
@@ -11920,7 +11665,7 @@ const deserializeAws_json1_1Bundle = (output, context) => {
11920
11665
  power: (0, smithy_client_1.expectInt32)(output.power),
11921
11666
  price: (0, smithy_client_1.limitedParseFloat32)(output.price),
11922
11667
  ramSizeInGb: (0, smithy_client_1.limitedParseFloat32)(output.ramSizeInGb),
11923
- supportedPlatforms: output.supportedPlatforms !== undefined && output.supportedPlatforms !== null
11668
+ supportedPlatforms: output.supportedPlatforms != null
11924
11669
  ? deserializeAws_json1_1InstancePlatformList(output.supportedPlatforms, context)
11925
11670
  : undefined,
11926
11671
  transferPerMonthInGb: (0, smithy_client_1.expectInt32)(output.transferPerMonthInGb),
@@ -11964,13 +11709,13 @@ const deserializeAws_json1_1CacheSettings = (output, context) => {
11964
11709
  allowedHTTPMethods: (0, smithy_client_1.expectString)(output.allowedHTTPMethods),
11965
11710
  cachedHTTPMethods: (0, smithy_client_1.expectString)(output.cachedHTTPMethods),
11966
11711
  defaultTTL: (0, smithy_client_1.expectLong)(output.defaultTTL),
11967
- forwardedCookies: output.forwardedCookies !== undefined && output.forwardedCookies !== null
11712
+ forwardedCookies: output.forwardedCookies != null
11968
11713
  ? deserializeAws_json1_1CookieObject(output.forwardedCookies, context)
11969
11714
  : undefined,
11970
- forwardedHeaders: output.forwardedHeaders !== undefined && output.forwardedHeaders !== null
11715
+ forwardedHeaders: output.forwardedHeaders != null
11971
11716
  ? deserializeAws_json1_1HeaderObject(output.forwardedHeaders, context)
11972
11717
  : undefined,
11973
- forwardedQueryStrings: output.forwardedQueryStrings !== undefined && output.forwardedQueryStrings !== null
11718
+ forwardedQueryStrings: output.forwardedQueryStrings != null
11974
11719
  ? deserializeAws_json1_1QueryStringObject(output.forwardedQueryStrings, context)
11975
11720
  : undefined,
11976
11721
  maximumTTL: (0, smithy_client_1.expectLong)(output.maximumTTL),
@@ -11980,57 +11725,41 @@ const deserializeAws_json1_1CacheSettings = (output, context) => {
11980
11725
  const deserializeAws_json1_1Certificate = (output, context) => {
11981
11726
  return {
11982
11727
  arn: (0, smithy_client_1.expectString)(output.arn),
11983
- createdAt: output.createdAt !== undefined && output.createdAt !== null
11984
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
11985
- : undefined,
11728
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11986
11729
  domainName: (0, smithy_client_1.expectString)(output.domainName),
11987
- domainValidationRecords: output.domainValidationRecords !== undefined && output.domainValidationRecords !== null
11730
+ domainValidationRecords: output.domainValidationRecords != null
11988
11731
  ? deserializeAws_json1_1DomainValidationRecordList(output.domainValidationRecords, context)
11989
11732
  : undefined,
11990
11733
  eligibleToRenew: (0, smithy_client_1.expectString)(output.eligibleToRenew),
11991
11734
  inUseResourceCount: (0, smithy_client_1.expectInt32)(output.inUseResourceCount),
11992
- issuedAt: output.issuedAt !== undefined && output.issuedAt !== null
11993
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.issuedAt)))
11994
- : undefined,
11735
+ issuedAt: output.issuedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.issuedAt))) : undefined,
11995
11736
  issuerCA: (0, smithy_client_1.expectString)(output.issuerCA),
11996
11737
  keyAlgorithm: (0, smithy_client_1.expectString)(output.keyAlgorithm),
11997
11738
  name: (0, smithy_client_1.expectString)(output.name),
11998
- notAfter: output.notAfter !== undefined && output.notAfter !== null
11999
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notAfter)))
12000
- : undefined,
12001
- notBefore: output.notBefore !== undefined && output.notBefore !== null
12002
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notBefore)))
12003
- : undefined,
12004
- renewalSummary: output.renewalSummary !== undefined && output.renewalSummary !== null
12005
- ? deserializeAws_json1_1RenewalSummary(output.renewalSummary, context)
12006
- : undefined,
11739
+ notAfter: output.notAfter != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notAfter))) : undefined,
11740
+ notBefore: output.notBefore != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notBefore))) : undefined,
11741
+ renewalSummary: output.renewalSummary != null ? deserializeAws_json1_1RenewalSummary(output.renewalSummary, context) : undefined,
12007
11742
  requestFailureReason: (0, smithy_client_1.expectString)(output.requestFailureReason),
12008
11743
  revocationReason: (0, smithy_client_1.expectString)(output.revocationReason),
12009
- revokedAt: output.revokedAt !== undefined && output.revokedAt !== null
12010
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.revokedAt)))
12011
- : undefined,
11744
+ revokedAt: output.revokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.revokedAt))) : undefined,
12012
11745
  serialNumber: (0, smithy_client_1.expectString)(output.serialNumber),
12013
11746
  status: (0, smithy_client_1.expectString)(output.status),
12014
- subjectAlternativeNames: output.subjectAlternativeNames !== undefined && output.subjectAlternativeNames !== null
11747
+ subjectAlternativeNames: output.subjectAlternativeNames != null
12015
11748
  ? deserializeAws_json1_1SubjectAlternativeNameList(output.subjectAlternativeNames, context)
12016
11749
  : undefined,
12017
11750
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
12018
- tags: output.tags !== undefined && output.tags !== null
12019
- ? deserializeAws_json1_1TagList(output.tags, context)
12020
- : undefined,
11751
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
12021
11752
  };
12022
11753
  };
12023
11754
  const deserializeAws_json1_1CertificateSummary = (output, context) => {
12024
11755
  return {
12025
11756
  certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
12026
- certificateDetail: output.certificateDetail !== undefined && output.certificateDetail !== null
11757
+ certificateDetail: output.certificateDetail != null
12027
11758
  ? deserializeAws_json1_1Certificate(output.certificateDetail, context)
12028
11759
  : undefined,
12029
11760
  certificateName: (0, smithy_client_1.expectString)(output.certificateName),
12030
11761
  domainName: (0, smithy_client_1.expectString)(output.domainName),
12031
- tags: output.tags !== undefined && output.tags !== null
12032
- ? deserializeAws_json1_1TagList(output.tags, context)
12033
- : undefined,
11762
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
12034
11763
  };
12035
11764
  };
12036
11765
  const deserializeAws_json1_1CertificateSummaryList = (output, context) => {
@@ -12046,26 +11775,20 @@ const deserializeAws_json1_1CertificateSummaryList = (output, context) => {
12046
11775
  };
12047
11776
  const deserializeAws_json1_1CloseInstancePublicPortsResult = (output, context) => {
12048
11777
  return {
12049
- operation: output.operation !== undefined && output.operation !== null
12050
- ? deserializeAws_json1_1Operation(output.operation, context)
12051
- : undefined,
11778
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12052
11779
  };
12053
11780
  };
12054
11781
  const deserializeAws_json1_1CloudFormationStackRecord = (output, context) => {
12055
11782
  return {
12056
11783
  arn: (0, smithy_client_1.expectString)(output.arn),
12057
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12058
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12059
- : undefined,
12060
- destinationInfo: output.destinationInfo !== undefined && output.destinationInfo !== null
11784
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11785
+ destinationInfo: output.destinationInfo != null
12061
11786
  ? deserializeAws_json1_1DestinationInfo(output.destinationInfo, context)
12062
11787
  : undefined,
12063
- location: output.location !== undefined && output.location !== null
12064
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
12065
- : undefined,
11788
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
12066
11789
  name: (0, smithy_client_1.expectString)(output.name),
12067
11790
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
12068
- sourceInfo: output.sourceInfo !== undefined && output.sourceInfo !== null
11791
+ sourceInfo: output.sourceInfo != null
12069
11792
  ? deserializeAws_json1_1CloudFormationStackRecordSourceInfoList(output.sourceInfo, context)
12070
11793
  : undefined,
12071
11794
  state: (0, smithy_client_1.expectString)(output.state),
@@ -12104,12 +11827,8 @@ const deserializeAws_json1_1ContactMethod = (output, context) => {
12104
11827
  return {
12105
11828
  arn: (0, smithy_client_1.expectString)(output.arn),
12106
11829
  contactEndpoint: (0, smithy_client_1.expectString)(output.contactEndpoint),
12107
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12108
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12109
- : undefined,
12110
- location: output.location !== undefined && output.location !== null
12111
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
12112
- : undefined,
11830
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11831
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
12113
11832
  name: (0, smithy_client_1.expectString)(output.name),
12114
11833
  protocol: (0, smithy_client_1.expectString)(output.protocol),
12115
11834
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
@@ -12141,23 +11860,15 @@ const deserializeAws_json1_1ContactProtocolsList = (output, context) => {
12141
11860
  };
12142
11861
  const deserializeAws_json1_1Container = (output, context) => {
12143
11862
  return {
12144
- command: output.command !== undefined && output.command !== null
12145
- ? deserializeAws_json1_1StringList(output.command, context)
12146
- : undefined,
12147
- environment: output.environment !== undefined && output.environment !== null
12148
- ? deserializeAws_json1_1Environment(output.environment, context)
12149
- : undefined,
11863
+ command: output.command != null ? deserializeAws_json1_1StringList(output.command, context) : undefined,
11864
+ environment: output.environment != null ? deserializeAws_json1_1Environment(output.environment, context) : undefined,
12150
11865
  image: (0, smithy_client_1.expectString)(output.image),
12151
- ports: output.ports !== undefined && output.ports !== null
12152
- ? deserializeAws_json1_1PortMap(output.ports, context)
12153
- : undefined,
11866
+ ports: output.ports != null ? deserializeAws_json1_1PortMap(output.ports, context) : undefined,
12154
11867
  };
12155
11868
  };
12156
11869
  const deserializeAws_json1_1ContainerImage = (output, context) => {
12157
11870
  return {
12158
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12159
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12160
- : undefined,
11871
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12161
11872
  digest: (0, smithy_client_1.expectString)(output.digest),
12162
11873
  image: (0, smithy_client_1.expectString)(output.image),
12163
11874
  };
@@ -12188,50 +11899,40 @@ const deserializeAws_json1_1ContainerService = (output, context) => {
12188
11899
  return {
12189
11900
  arn: (0, smithy_client_1.expectString)(output.arn),
12190
11901
  containerServiceName: (0, smithy_client_1.expectString)(output.containerServiceName),
12191
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12192
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12193
- : undefined,
12194
- currentDeployment: output.currentDeployment !== undefined && output.currentDeployment !== null
11902
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11903
+ currentDeployment: output.currentDeployment != null
12195
11904
  ? deserializeAws_json1_1ContainerServiceDeployment(output.currentDeployment, context)
12196
11905
  : undefined,
12197
11906
  isDisabled: (0, smithy_client_1.expectBoolean)(output.isDisabled),
12198
- location: output.location !== undefined && output.location !== null
12199
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
12200
- : undefined,
12201
- nextDeployment: output.nextDeployment !== undefined && output.nextDeployment !== null
11907
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
11908
+ nextDeployment: output.nextDeployment != null
12202
11909
  ? deserializeAws_json1_1ContainerServiceDeployment(output.nextDeployment, context)
12203
11910
  : undefined,
12204
11911
  power: (0, smithy_client_1.expectString)(output.power),
12205
11912
  powerId: (0, smithy_client_1.expectString)(output.powerId),
12206
11913
  principalArn: (0, smithy_client_1.expectString)(output.principalArn),
12207
11914
  privateDomainName: (0, smithy_client_1.expectString)(output.privateDomainName),
12208
- privateRegistryAccess: output.privateRegistryAccess !== undefined && output.privateRegistryAccess !== null
11915
+ privateRegistryAccess: output.privateRegistryAccess != null
12209
11916
  ? deserializeAws_json1_1PrivateRegistryAccess(output.privateRegistryAccess, context)
12210
11917
  : undefined,
12211
- publicDomainNames: output.publicDomainNames !== undefined && output.publicDomainNames !== null
11918
+ publicDomainNames: output.publicDomainNames != null
12212
11919
  ? deserializeAws_json1_1ContainerServicePublicDomains(output.publicDomainNames, context)
12213
11920
  : undefined,
12214
11921
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
12215
11922
  scale: (0, smithy_client_1.expectInt32)(output.scale),
12216
11923
  state: (0, smithy_client_1.expectString)(output.state),
12217
- stateDetail: output.stateDetail !== undefined && output.stateDetail !== null
11924
+ stateDetail: output.stateDetail != null
12218
11925
  ? deserializeAws_json1_1ContainerServiceStateDetail(output.stateDetail, context)
12219
11926
  : undefined,
12220
- tags: output.tags !== undefined && output.tags !== null
12221
- ? deserializeAws_json1_1TagList(output.tags, context)
12222
- : undefined,
11927
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
12223
11928
  url: (0, smithy_client_1.expectString)(output.url),
12224
11929
  };
12225
11930
  };
12226
11931
  const deserializeAws_json1_1ContainerServiceDeployment = (output, context) => {
12227
11932
  return {
12228
- containers: output.containers !== undefined && output.containers !== null
12229
- ? deserializeAws_json1_1ContainerMap(output.containers, context)
12230
- : undefined,
12231
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12232
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12233
- : undefined,
12234
- publicEndpoint: output.publicEndpoint !== undefined && output.publicEndpoint !== null
11933
+ containers: output.containers != null ? deserializeAws_json1_1ContainerMap(output.containers, context) : undefined,
11934
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
11935
+ publicEndpoint: output.publicEndpoint != null
12235
11936
  ? deserializeAws_json1_1ContainerServiceEndpoint(output.publicEndpoint, context)
12236
11937
  : undefined,
12237
11938
  state: (0, smithy_client_1.expectString)(output.state),
@@ -12259,7 +11960,7 @@ const deserializeAws_json1_1ContainerServiceEndpoint = (output, context) => {
12259
11960
  return {
12260
11961
  containerName: (0, smithy_client_1.expectString)(output.containerName),
12261
11962
  containerPort: (0, smithy_client_1.expectInt32)(output.containerPort),
12262
- healthCheck: output.healthCheck !== undefined && output.healthCheck !== null
11963
+ healthCheck: output.healthCheck != null
12263
11964
  ? deserializeAws_json1_1ContainerServiceHealthCheckConfig(output.healthCheck, context)
12264
11965
  : undefined,
12265
11966
  };
@@ -12287,9 +11988,7 @@ const deserializeAws_json1_1ContainerServiceList = (output, context) => {
12287
11988
  };
12288
11989
  const deserializeAws_json1_1ContainerServiceLogEvent = (output, context) => {
12289
11990
  return {
12290
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12291
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12292
- : undefined,
11991
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12293
11992
  message: (0, smithy_client_1.expectString)(output.message),
12294
11993
  };
12295
11994
  };
@@ -12371,9 +12070,7 @@ const deserializeAws_json1_1ContainerServicePublicDomainsList = (output, context
12371
12070
  };
12372
12071
  const deserializeAws_json1_1ContainerServiceRegistryLogin = (output, context) => {
12373
12072
  return {
12374
- expiresAt: output.expiresAt !== undefined && output.expiresAt !== null
12375
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiresAt)))
12376
- : undefined,
12073
+ expiresAt: output.expiresAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiresAt))) : undefined,
12377
12074
  password: (0, smithy_client_1.expectString)(output.password),
12378
12075
  registry: (0, smithy_client_1.expectString)(output.registry),
12379
12076
  username: (0, smithy_client_1.expectString)(output.username),
@@ -12381,7 +12078,7 @@ const deserializeAws_json1_1ContainerServiceRegistryLogin = (output, context) =>
12381
12078
  };
12382
12079
  const deserializeAws_json1_1ContainerServicesListResult = (output, context) => {
12383
12080
  return {
12384
- containerServices: output.containerServices !== undefined && output.containerServices !== null
12081
+ containerServices: output.containerServices != null
12385
12082
  ? deserializeAws_json1_1ContainerServiceList(output.containerServices, context)
12386
12083
  : undefined,
12387
12084
  };
@@ -12394,237 +12091,173 @@ const deserializeAws_json1_1ContainerServiceStateDetail = (output, context) => {
12394
12091
  };
12395
12092
  const deserializeAws_json1_1CookieObject = (output, context) => {
12396
12093
  return {
12397
- cookiesAllowList: output.cookiesAllowList !== undefined && output.cookiesAllowList !== null
12398
- ? deserializeAws_json1_1StringList(output.cookiesAllowList, context)
12399
- : undefined,
12094
+ cookiesAllowList: output.cookiesAllowList != null ? deserializeAws_json1_1StringList(output.cookiesAllowList, context) : undefined,
12400
12095
  option: (0, smithy_client_1.expectString)(output.option),
12401
12096
  };
12402
12097
  };
12403
12098
  const deserializeAws_json1_1CopySnapshotResult = (output, context) => {
12404
12099
  return {
12405
- operations: output.operations !== undefined && output.operations !== null
12406
- ? deserializeAws_json1_1OperationList(output.operations, context)
12407
- : undefined,
12100
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12408
12101
  };
12409
12102
  };
12410
12103
  const deserializeAws_json1_1CreateBucketAccessKeyResult = (output, context) => {
12411
12104
  return {
12412
- accessKey: output.accessKey !== undefined && output.accessKey !== null
12413
- ? deserializeAws_json1_1AccessKey(output.accessKey, context)
12414
- : undefined,
12415
- operations: output.operations !== undefined && output.operations !== null
12416
- ? deserializeAws_json1_1OperationList(output.operations, context)
12417
- : undefined,
12105
+ accessKey: output.accessKey != null ? deserializeAws_json1_1AccessKey(output.accessKey, context) : undefined,
12106
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12418
12107
  };
12419
12108
  };
12420
12109
  const deserializeAws_json1_1CreateBucketResult = (output, context) => {
12421
12110
  return {
12422
- bucket: output.bucket !== undefined && output.bucket !== null
12423
- ? deserializeAws_json1_1Bucket(output.bucket, context)
12424
- : undefined,
12425
- operations: output.operations !== undefined && output.operations !== null
12426
- ? deserializeAws_json1_1OperationList(output.operations, context)
12427
- : undefined,
12111
+ bucket: output.bucket != null ? deserializeAws_json1_1Bucket(output.bucket, context) : undefined,
12112
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12428
12113
  };
12429
12114
  };
12430
12115
  const deserializeAws_json1_1CreateCertificateResult = (output, context) => {
12431
12116
  return {
12432
- certificate: output.certificate !== undefined && output.certificate !== null
12433
- ? deserializeAws_json1_1CertificateSummary(output.certificate, context)
12434
- : undefined,
12435
- operations: output.operations !== undefined && output.operations !== null
12436
- ? deserializeAws_json1_1OperationList(output.operations, context)
12437
- : undefined,
12117
+ certificate: output.certificate != null ? deserializeAws_json1_1CertificateSummary(output.certificate, context) : undefined,
12118
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12438
12119
  };
12439
12120
  };
12440
12121
  const deserializeAws_json1_1CreateCloudFormationStackResult = (output, context) => {
12441
12122
  return {
12442
- operations: output.operations !== undefined && output.operations !== null
12443
- ? deserializeAws_json1_1OperationList(output.operations, context)
12444
- : undefined,
12123
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12445
12124
  };
12446
12125
  };
12447
12126
  const deserializeAws_json1_1CreateContactMethodResult = (output, context) => {
12448
12127
  return {
12449
- operations: output.operations !== undefined && output.operations !== null
12450
- ? deserializeAws_json1_1OperationList(output.operations, context)
12451
- : undefined,
12128
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12452
12129
  };
12453
12130
  };
12454
12131
  const deserializeAws_json1_1CreateContainerServiceDeploymentResult = (output, context) => {
12455
12132
  return {
12456
- containerService: output.containerService !== undefined && output.containerService !== null
12133
+ containerService: output.containerService != null
12457
12134
  ? deserializeAws_json1_1ContainerService(output.containerService, context)
12458
12135
  : undefined,
12459
12136
  };
12460
12137
  };
12461
12138
  const deserializeAws_json1_1CreateContainerServiceRegistryLoginResult = (output, context) => {
12462
12139
  return {
12463
- registryLogin: output.registryLogin !== undefined && output.registryLogin !== null
12140
+ registryLogin: output.registryLogin != null
12464
12141
  ? deserializeAws_json1_1ContainerServiceRegistryLogin(output.registryLogin, context)
12465
12142
  : undefined,
12466
12143
  };
12467
12144
  };
12468
12145
  const deserializeAws_json1_1CreateContainerServiceResult = (output, context) => {
12469
12146
  return {
12470
- containerService: output.containerService !== undefined && output.containerService !== null
12147
+ containerService: output.containerService != null
12471
12148
  ? deserializeAws_json1_1ContainerService(output.containerService, context)
12472
12149
  : undefined,
12473
12150
  };
12474
12151
  };
12475
12152
  const deserializeAws_json1_1CreateDiskFromSnapshotResult = (output, context) => {
12476
12153
  return {
12477
- operations: output.operations !== undefined && output.operations !== null
12478
- ? deserializeAws_json1_1OperationList(output.operations, context)
12479
- : undefined,
12154
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12480
12155
  };
12481
12156
  };
12482
12157
  const deserializeAws_json1_1CreateDiskResult = (output, context) => {
12483
12158
  return {
12484
- operations: output.operations !== undefined && output.operations !== null
12485
- ? deserializeAws_json1_1OperationList(output.operations, context)
12486
- : undefined,
12159
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12487
12160
  };
12488
12161
  };
12489
12162
  const deserializeAws_json1_1CreateDiskSnapshotResult = (output, context) => {
12490
12163
  return {
12491
- operations: output.operations !== undefined && output.operations !== null
12492
- ? deserializeAws_json1_1OperationList(output.operations, context)
12493
- : undefined,
12164
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12494
12165
  };
12495
12166
  };
12496
12167
  const deserializeAws_json1_1CreateDistributionResult = (output, context) => {
12497
12168
  return {
12498
- distribution: output.distribution !== undefined && output.distribution !== null
12169
+ distribution: output.distribution != null
12499
12170
  ? deserializeAws_json1_1LightsailDistribution(output.distribution, context)
12500
12171
  : undefined,
12501
- operation: output.operation !== undefined && output.operation !== null
12502
- ? deserializeAws_json1_1Operation(output.operation, context)
12503
- : undefined,
12172
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12504
12173
  };
12505
12174
  };
12506
12175
  const deserializeAws_json1_1CreateDomainEntryResult = (output, context) => {
12507
12176
  return {
12508
- operation: output.operation !== undefined && output.operation !== null
12509
- ? deserializeAws_json1_1Operation(output.operation, context)
12510
- : undefined,
12177
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12511
12178
  };
12512
12179
  };
12513
12180
  const deserializeAws_json1_1CreateDomainResult = (output, context) => {
12514
12181
  return {
12515
- operation: output.operation !== undefined && output.operation !== null
12516
- ? deserializeAws_json1_1Operation(output.operation, context)
12517
- : undefined,
12182
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12518
12183
  };
12519
12184
  };
12520
12185
  const deserializeAws_json1_1CreateInstancesFromSnapshotResult = (output, context) => {
12521
12186
  return {
12522
- operations: output.operations !== undefined && output.operations !== null
12523
- ? deserializeAws_json1_1OperationList(output.operations, context)
12524
- : undefined,
12187
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12525
12188
  };
12526
12189
  };
12527
12190
  const deserializeAws_json1_1CreateInstanceSnapshotResult = (output, context) => {
12528
12191
  return {
12529
- operations: output.operations !== undefined && output.operations !== null
12530
- ? deserializeAws_json1_1OperationList(output.operations, context)
12531
- : undefined,
12192
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12532
12193
  };
12533
12194
  };
12534
12195
  const deserializeAws_json1_1CreateInstancesResult = (output, context) => {
12535
12196
  return {
12536
- operations: output.operations !== undefined && output.operations !== null
12537
- ? deserializeAws_json1_1OperationList(output.operations, context)
12538
- : undefined,
12197
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12539
12198
  };
12540
12199
  };
12541
12200
  const deserializeAws_json1_1CreateKeyPairResult = (output, context) => {
12542
12201
  return {
12543
- keyPair: output.keyPair !== undefined && output.keyPair !== null
12544
- ? deserializeAws_json1_1KeyPair(output.keyPair, context)
12545
- : undefined,
12546
- operation: output.operation !== undefined && output.operation !== null
12547
- ? deserializeAws_json1_1Operation(output.operation, context)
12548
- : undefined,
12202
+ keyPair: output.keyPair != null ? deserializeAws_json1_1KeyPair(output.keyPair, context) : undefined,
12203
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12549
12204
  privateKeyBase64: (0, smithy_client_1.expectString)(output.privateKeyBase64),
12550
12205
  publicKeyBase64: (0, smithy_client_1.expectString)(output.publicKeyBase64),
12551
12206
  };
12552
12207
  };
12553
12208
  const deserializeAws_json1_1CreateLoadBalancerResult = (output, context) => {
12554
12209
  return {
12555
- operations: output.operations !== undefined && output.operations !== null
12556
- ? deserializeAws_json1_1OperationList(output.operations, context)
12557
- : undefined,
12210
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12558
12211
  };
12559
12212
  };
12560
12213
  const deserializeAws_json1_1CreateLoadBalancerTlsCertificateResult = (output, context) => {
12561
12214
  return {
12562
- operations: output.operations !== undefined && output.operations !== null
12563
- ? deserializeAws_json1_1OperationList(output.operations, context)
12564
- : undefined,
12215
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12565
12216
  };
12566
12217
  };
12567
12218
  const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotResult = (output, context) => {
12568
12219
  return {
12569
- operations: output.operations !== undefined && output.operations !== null
12570
- ? deserializeAws_json1_1OperationList(output.operations, context)
12571
- : undefined,
12220
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12572
12221
  };
12573
12222
  };
12574
12223
  const deserializeAws_json1_1CreateRelationalDatabaseResult = (output, context) => {
12575
12224
  return {
12576
- operations: output.operations !== undefined && output.operations !== null
12577
- ? deserializeAws_json1_1OperationList(output.operations, context)
12578
- : undefined,
12225
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12579
12226
  };
12580
12227
  };
12581
12228
  const deserializeAws_json1_1CreateRelationalDatabaseSnapshotResult = (output, context) => {
12582
12229
  return {
12583
- operations: output.operations !== undefined && output.operations !== null
12584
- ? deserializeAws_json1_1OperationList(output.operations, context)
12585
- : undefined,
12230
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12586
12231
  };
12587
12232
  };
12588
12233
  const deserializeAws_json1_1DeleteAlarmResult = (output, context) => {
12589
12234
  return {
12590
- operations: output.operations !== undefined && output.operations !== null
12591
- ? deserializeAws_json1_1OperationList(output.operations, context)
12592
- : undefined,
12235
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12593
12236
  };
12594
12237
  };
12595
12238
  const deserializeAws_json1_1DeleteAutoSnapshotResult = (output, context) => {
12596
12239
  return {
12597
- operations: output.operations !== undefined && output.operations !== null
12598
- ? deserializeAws_json1_1OperationList(output.operations, context)
12599
- : undefined,
12240
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12600
12241
  };
12601
12242
  };
12602
12243
  const deserializeAws_json1_1DeleteBucketAccessKeyResult = (output, context) => {
12603
12244
  return {
12604
- operations: output.operations !== undefined && output.operations !== null
12605
- ? deserializeAws_json1_1OperationList(output.operations, context)
12606
- : undefined,
12245
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12607
12246
  };
12608
12247
  };
12609
12248
  const deserializeAws_json1_1DeleteBucketResult = (output, context) => {
12610
12249
  return {
12611
- operations: output.operations !== undefined && output.operations !== null
12612
- ? deserializeAws_json1_1OperationList(output.operations, context)
12613
- : undefined,
12250
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12614
12251
  };
12615
12252
  };
12616
12253
  const deserializeAws_json1_1DeleteCertificateResult = (output, context) => {
12617
12254
  return {
12618
- operations: output.operations !== undefined && output.operations !== null
12619
- ? deserializeAws_json1_1OperationList(output.operations, context)
12620
- : undefined,
12255
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12621
12256
  };
12622
12257
  };
12623
12258
  const deserializeAws_json1_1DeleteContactMethodResult = (output, context) => {
12624
12259
  return {
12625
- operations: output.operations !== undefined && output.operations !== null
12626
- ? deserializeAws_json1_1OperationList(output.operations, context)
12627
- : undefined,
12260
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12628
12261
  };
12629
12262
  };
12630
12263
  const deserializeAws_json1_1DeleteContainerImageResult = (output, context) => {
@@ -12635,93 +12268,67 @@ const deserializeAws_json1_1DeleteContainerServiceResult = (output, context) =>
12635
12268
  };
12636
12269
  const deserializeAws_json1_1DeleteDiskResult = (output, context) => {
12637
12270
  return {
12638
- operations: output.operations !== undefined && output.operations !== null
12639
- ? deserializeAws_json1_1OperationList(output.operations, context)
12640
- : undefined,
12271
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12641
12272
  };
12642
12273
  };
12643
12274
  const deserializeAws_json1_1DeleteDiskSnapshotResult = (output, context) => {
12644
12275
  return {
12645
- operations: output.operations !== undefined && output.operations !== null
12646
- ? deserializeAws_json1_1OperationList(output.operations, context)
12647
- : undefined,
12276
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12648
12277
  };
12649
12278
  };
12650
12279
  const deserializeAws_json1_1DeleteDistributionResult = (output, context) => {
12651
12280
  return {
12652
- operation: output.operation !== undefined && output.operation !== null
12653
- ? deserializeAws_json1_1Operation(output.operation, context)
12654
- : undefined,
12281
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12655
12282
  };
12656
12283
  };
12657
12284
  const deserializeAws_json1_1DeleteDomainEntryResult = (output, context) => {
12658
12285
  return {
12659
- operation: output.operation !== undefined && output.operation !== null
12660
- ? deserializeAws_json1_1Operation(output.operation, context)
12661
- : undefined,
12286
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12662
12287
  };
12663
12288
  };
12664
12289
  const deserializeAws_json1_1DeleteDomainResult = (output, context) => {
12665
12290
  return {
12666
- operation: output.operation !== undefined && output.operation !== null
12667
- ? deserializeAws_json1_1Operation(output.operation, context)
12668
- : undefined,
12291
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12669
12292
  };
12670
12293
  };
12671
12294
  const deserializeAws_json1_1DeleteInstanceResult = (output, context) => {
12672
12295
  return {
12673
- operations: output.operations !== undefined && output.operations !== null
12674
- ? deserializeAws_json1_1OperationList(output.operations, context)
12675
- : undefined,
12296
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12676
12297
  };
12677
12298
  };
12678
12299
  const deserializeAws_json1_1DeleteInstanceSnapshotResult = (output, context) => {
12679
12300
  return {
12680
- operations: output.operations !== undefined && output.operations !== null
12681
- ? deserializeAws_json1_1OperationList(output.operations, context)
12682
- : undefined,
12301
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12683
12302
  };
12684
12303
  };
12685
12304
  const deserializeAws_json1_1DeleteKeyPairResult = (output, context) => {
12686
12305
  return {
12687
- operation: output.operation !== undefined && output.operation !== null
12688
- ? deserializeAws_json1_1Operation(output.operation, context)
12689
- : undefined,
12306
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12690
12307
  };
12691
12308
  };
12692
12309
  const deserializeAws_json1_1DeleteKnownHostKeysResult = (output, context) => {
12693
12310
  return {
12694
- operations: output.operations !== undefined && output.operations !== null
12695
- ? deserializeAws_json1_1OperationList(output.operations, context)
12696
- : undefined,
12311
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12697
12312
  };
12698
12313
  };
12699
12314
  const deserializeAws_json1_1DeleteLoadBalancerResult = (output, context) => {
12700
12315
  return {
12701
- operations: output.operations !== undefined && output.operations !== null
12702
- ? deserializeAws_json1_1OperationList(output.operations, context)
12703
- : undefined,
12316
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12704
12317
  };
12705
12318
  };
12706
12319
  const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateResult = (output, context) => {
12707
12320
  return {
12708
- operations: output.operations !== undefined && output.operations !== null
12709
- ? deserializeAws_json1_1OperationList(output.operations, context)
12710
- : undefined,
12321
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12711
12322
  };
12712
12323
  };
12713
12324
  const deserializeAws_json1_1DeleteRelationalDatabaseResult = (output, context) => {
12714
12325
  return {
12715
- operations: output.operations !== undefined && output.operations !== null
12716
- ? deserializeAws_json1_1OperationList(output.operations, context)
12717
- : undefined,
12326
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12718
12327
  };
12719
12328
  };
12720
12329
  const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotResult = (output, context) => {
12721
12330
  return {
12722
- operations: output.operations !== undefined && output.operations !== null
12723
- ? deserializeAws_json1_1OperationList(output.operations, context)
12724
- : undefined,
12331
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12725
12332
  };
12726
12333
  };
12727
12334
  const deserializeAws_json1_1DestinationInfo = (output, context) => {
@@ -12732,66 +12339,48 @@ const deserializeAws_json1_1DestinationInfo = (output, context) => {
12732
12339
  };
12733
12340
  const deserializeAws_json1_1DetachCertificateFromDistributionResult = (output, context) => {
12734
12341
  return {
12735
- operation: output.operation !== undefined && output.operation !== null
12736
- ? deserializeAws_json1_1Operation(output.operation, context)
12737
- : undefined,
12342
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
12738
12343
  };
12739
12344
  };
12740
12345
  const deserializeAws_json1_1DetachDiskResult = (output, context) => {
12741
12346
  return {
12742
- operations: output.operations !== undefined && output.operations !== null
12743
- ? deserializeAws_json1_1OperationList(output.operations, context)
12744
- : undefined,
12347
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12745
12348
  };
12746
12349
  };
12747
12350
  const deserializeAws_json1_1DetachInstancesFromLoadBalancerResult = (output, context) => {
12748
12351
  return {
12749
- operations: output.operations !== undefined && output.operations !== null
12750
- ? deserializeAws_json1_1OperationList(output.operations, context)
12751
- : undefined,
12352
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12752
12353
  };
12753
12354
  };
12754
12355
  const deserializeAws_json1_1DetachStaticIpResult = (output, context) => {
12755
12356
  return {
12756
- operations: output.operations !== undefined && output.operations !== null
12757
- ? deserializeAws_json1_1OperationList(output.operations, context)
12758
- : undefined,
12357
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12759
12358
  };
12760
12359
  };
12761
12360
  const deserializeAws_json1_1DisableAddOnResult = (output, context) => {
12762
12361
  return {
12763
- operations: output.operations !== undefined && output.operations !== null
12764
- ? deserializeAws_json1_1OperationList(output.operations, context)
12765
- : undefined,
12362
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12766
12363
  };
12767
12364
  };
12768
12365
  const deserializeAws_json1_1Disk = (output, context) => {
12769
12366
  return {
12770
- addOns: output.addOns !== undefined && output.addOns !== null
12771
- ? deserializeAws_json1_1AddOnList(output.addOns, context)
12772
- : undefined,
12367
+ addOns: output.addOns != null ? deserializeAws_json1_1AddOnList(output.addOns, context) : undefined,
12773
12368
  arn: (0, smithy_client_1.expectString)(output.arn),
12774
12369
  attachedTo: (0, smithy_client_1.expectString)(output.attachedTo),
12775
12370
  attachmentState: (0, smithy_client_1.expectString)(output.attachmentState),
12776
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12777
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12778
- : undefined,
12371
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12779
12372
  gbInUse: (0, smithy_client_1.expectInt32)(output.gbInUse),
12780
12373
  iops: (0, smithy_client_1.expectInt32)(output.iops),
12781
12374
  isAttached: (0, smithy_client_1.expectBoolean)(output.isAttached),
12782
12375
  isSystemDisk: (0, smithy_client_1.expectBoolean)(output.isSystemDisk),
12783
- location: output.location !== undefined && output.location !== null
12784
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
12785
- : undefined,
12376
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
12786
12377
  name: (0, smithy_client_1.expectString)(output.name),
12787
12378
  path: (0, smithy_client_1.expectString)(output.path),
12788
12379
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
12789
12380
  sizeInGb: (0, smithy_client_1.expectInt32)(output.sizeInGb),
12790
12381
  state: (0, smithy_client_1.expectString)(output.state),
12791
12382
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
12792
- tags: output.tags !== undefined && output.tags !== null
12793
- ? deserializeAws_json1_1TagList(output.tags, context)
12794
- : undefined,
12383
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
12795
12384
  };
12796
12385
  };
12797
12386
  const deserializeAws_json1_1DiskInfo = (output, context) => {
@@ -12827,26 +12416,20 @@ const deserializeAws_json1_1DiskList = (output, context) => {
12827
12416
  const deserializeAws_json1_1DiskSnapshot = (output, context) => {
12828
12417
  return {
12829
12418
  arn: (0, smithy_client_1.expectString)(output.arn),
12830
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12831
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12832
- : undefined,
12419
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12833
12420
  fromDiskArn: (0, smithy_client_1.expectString)(output.fromDiskArn),
12834
12421
  fromDiskName: (0, smithy_client_1.expectString)(output.fromDiskName),
12835
12422
  fromInstanceArn: (0, smithy_client_1.expectString)(output.fromInstanceArn),
12836
12423
  fromInstanceName: (0, smithy_client_1.expectString)(output.fromInstanceName),
12837
12424
  isFromAutoSnapshot: (0, smithy_client_1.expectBoolean)(output.isFromAutoSnapshot),
12838
- location: output.location !== undefined && output.location !== null
12839
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
12840
- : undefined,
12425
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
12841
12426
  name: (0, smithy_client_1.expectString)(output.name),
12842
12427
  progress: (0, smithy_client_1.expectString)(output.progress),
12843
12428
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
12844
12429
  sizeInGb: (0, smithy_client_1.expectInt32)(output.sizeInGb),
12845
12430
  state: (0, smithy_client_1.expectString)(output.state),
12846
12431
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
12847
- tags: output.tags !== undefined && output.tags !== null
12848
- ? deserializeAws_json1_1TagList(output.tags, context)
12849
- : undefined,
12432
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
12850
12433
  };
12851
12434
  };
12852
12435
  const deserializeAws_json1_1DiskSnapshotInfo = (output, context) => {
@@ -12899,21 +12482,13 @@ const deserializeAws_json1_1DistributionList = (output, context) => {
12899
12482
  const deserializeAws_json1_1Domain = (output, context) => {
12900
12483
  return {
12901
12484
  arn: (0, smithy_client_1.expectString)(output.arn),
12902
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12903
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12904
- : undefined,
12905
- domainEntries: output.domainEntries !== undefined && output.domainEntries !== null
12906
- ? deserializeAws_json1_1DomainEntryList(output.domainEntries, context)
12907
- : undefined,
12908
- location: output.location !== undefined && output.location !== null
12909
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
12910
- : undefined,
12485
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12486
+ domainEntries: output.domainEntries != null ? deserializeAws_json1_1DomainEntryList(output.domainEntries, context) : undefined,
12487
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
12911
12488
  name: (0, smithy_client_1.expectString)(output.name),
12912
12489
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
12913
12490
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
12914
- tags: output.tags !== undefined && output.tags !== null
12915
- ? deserializeAws_json1_1TagList(output.tags, context)
12916
- : undefined,
12491
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
12917
12492
  };
12918
12493
  };
12919
12494
  const deserializeAws_json1_1DomainEntry = (output, context) => {
@@ -12921,9 +12496,7 @@ const deserializeAws_json1_1DomainEntry = (output, context) => {
12921
12496
  id: (0, smithy_client_1.expectString)(output.id),
12922
12497
  isAlias: (0, smithy_client_1.expectBoolean)(output.isAlias),
12923
12498
  name: (0, smithy_client_1.expectString)(output.name),
12924
- options: output.options !== undefined && output.options !== null
12925
- ? deserializeAws_json1_1DomainEntryOptions(output.options, context)
12926
- : undefined,
12499
+ options: output.options != null ? deserializeAws_json1_1DomainEntryOptions(output.options, context) : undefined,
12927
12500
  target: (0, smithy_client_1.expectString)(output.target),
12928
12501
  type: (0, smithy_client_1.expectString)(output.type),
12929
12502
  };
@@ -12964,9 +12537,7 @@ const deserializeAws_json1_1DomainList = (output, context) => {
12964
12537
  const deserializeAws_json1_1DomainValidationRecord = (output, context) => {
12965
12538
  return {
12966
12539
  domainName: (0, smithy_client_1.expectString)(output.domainName),
12967
- resourceRecord: output.resourceRecord !== undefined && output.resourceRecord !== null
12968
- ? deserializeAws_json1_1ResourceRecord(output.resourceRecord, context)
12969
- : undefined,
12540
+ resourceRecord: output.resourceRecord != null ? deserializeAws_json1_1ResourceRecord(output.resourceRecord, context) : undefined,
12970
12541
  };
12971
12542
  };
12972
12543
  const deserializeAws_json1_1DomainValidationRecordList = (output, context) => {
@@ -12982,18 +12553,14 @@ const deserializeAws_json1_1DomainValidationRecordList = (output, context) => {
12982
12553
  };
12983
12554
  const deserializeAws_json1_1DownloadDefaultKeyPairResult = (output, context) => {
12984
12555
  return {
12985
- createdAt: output.createdAt !== undefined && output.createdAt !== null
12986
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
12987
- : undefined,
12556
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12988
12557
  privateKeyBase64: (0, smithy_client_1.expectString)(output.privateKeyBase64),
12989
12558
  publicKeyBase64: (0, smithy_client_1.expectString)(output.publicKeyBase64),
12990
12559
  };
12991
12560
  };
12992
12561
  const deserializeAws_json1_1EnableAddOnResult = (output, context) => {
12993
12562
  return {
12994
- operations: output.operations !== undefined && output.operations !== null
12995
- ? deserializeAws_json1_1OperationList(output.operations, context)
12996
- : undefined,
12563
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
12997
12564
  };
12998
12565
  };
12999
12566
  const deserializeAws_json1_1Environment = (output, context) => {
@@ -13010,18 +12577,14 @@ const deserializeAws_json1_1Environment = (output, context) => {
13010
12577
  const deserializeAws_json1_1ExportSnapshotRecord = (output, context) => {
13011
12578
  return {
13012
12579
  arn: (0, smithy_client_1.expectString)(output.arn),
13013
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13014
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13015
- : undefined,
13016
- destinationInfo: output.destinationInfo !== undefined && output.destinationInfo !== null
12580
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12581
+ destinationInfo: output.destinationInfo != null
13017
12582
  ? deserializeAws_json1_1DestinationInfo(output.destinationInfo, context)
13018
12583
  : undefined,
13019
- location: output.location !== undefined && output.location !== null
13020
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13021
- : undefined,
12584
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
13022
12585
  name: (0, smithy_client_1.expectString)(output.name),
13023
12586
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
13024
- sourceInfo: output.sourceInfo !== undefined && output.sourceInfo !== null
12587
+ sourceInfo: output.sourceInfo != null
13025
12588
  ? deserializeAws_json1_1ExportSnapshotRecordSourceInfo(output.sourceInfo, context)
13026
12589
  : undefined,
13027
12590
  state: (0, smithy_client_1.expectString)(output.state),
@@ -13041,15 +12604,13 @@ const deserializeAws_json1_1ExportSnapshotRecordList = (output, context) => {
13041
12604
  const deserializeAws_json1_1ExportSnapshotRecordSourceInfo = (output, context) => {
13042
12605
  return {
13043
12606
  arn: (0, smithy_client_1.expectString)(output.arn),
13044
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13045
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13046
- : undefined,
13047
- diskSnapshotInfo: output.diskSnapshotInfo !== undefined && output.diskSnapshotInfo !== null
12607
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
12608
+ diskSnapshotInfo: output.diskSnapshotInfo != null
13048
12609
  ? deserializeAws_json1_1DiskSnapshotInfo(output.diskSnapshotInfo, context)
13049
12610
  : undefined,
13050
12611
  fromResourceArn: (0, smithy_client_1.expectString)(output.fromResourceArn),
13051
12612
  fromResourceName: (0, smithy_client_1.expectString)(output.fromResourceName),
13052
- instanceSnapshotInfo: output.instanceSnapshotInfo !== undefined && output.instanceSnapshotInfo !== null
12613
+ instanceSnapshotInfo: output.instanceSnapshotInfo != null
13053
12614
  ? deserializeAws_json1_1InstanceSnapshotInfo(output.instanceSnapshotInfo, context)
13054
12615
  : undefined,
13055
12616
  name: (0, smithy_client_1.expectString)(output.name),
@@ -13058,30 +12619,24 @@ const deserializeAws_json1_1ExportSnapshotRecordSourceInfo = (output, context) =
13058
12619
  };
13059
12620
  const deserializeAws_json1_1ExportSnapshotResult = (output, context) => {
13060
12621
  return {
13061
- operations: output.operations !== undefined && output.operations !== null
13062
- ? deserializeAws_json1_1OperationList(output.operations, context)
13063
- : undefined,
12622
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
13064
12623
  };
13065
12624
  };
13066
12625
  const deserializeAws_json1_1GetActiveNamesResult = (output, context) => {
13067
12626
  return {
13068
- activeNames: output.activeNames !== undefined && output.activeNames !== null
13069
- ? deserializeAws_json1_1StringList(output.activeNames, context)
13070
- : undefined,
12627
+ activeNames: output.activeNames != null ? deserializeAws_json1_1StringList(output.activeNames, context) : undefined,
13071
12628
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13072
12629
  };
13073
12630
  };
13074
12631
  const deserializeAws_json1_1GetAlarmsResult = (output, context) => {
13075
12632
  return {
13076
- alarms: output.alarms !== undefined && output.alarms !== null
13077
- ? deserializeAws_json1_1AlarmsList(output.alarms, context)
13078
- : undefined,
12633
+ alarms: output.alarms != null ? deserializeAws_json1_1AlarmsList(output.alarms, context) : undefined,
13079
12634
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13080
12635
  };
13081
12636
  };
13082
12637
  const deserializeAws_json1_1GetAutoSnapshotsResult = (output, context) => {
13083
12638
  return {
13084
- autoSnapshots: output.autoSnapshots !== undefined && output.autoSnapshots !== null
12639
+ autoSnapshots: output.autoSnapshots != null
13085
12640
  ? deserializeAws_json1_1AutoSnapshotDetailsList(output.autoSnapshots, context)
13086
12641
  : undefined,
13087
12642
  resourceName: (0, smithy_client_1.expectString)(output.resourceName),
@@ -13090,63 +12645,51 @@ const deserializeAws_json1_1GetAutoSnapshotsResult = (output, context) => {
13090
12645
  };
13091
12646
  const deserializeAws_json1_1GetBlueprintsResult = (output, context) => {
13092
12647
  return {
13093
- blueprints: output.blueprints !== undefined && output.blueprints !== null
13094
- ? deserializeAws_json1_1BlueprintList(output.blueprints, context)
13095
- : undefined,
12648
+ blueprints: output.blueprints != null ? deserializeAws_json1_1BlueprintList(output.blueprints, context) : undefined,
13096
12649
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13097
12650
  };
13098
12651
  };
13099
12652
  const deserializeAws_json1_1GetBucketAccessKeysResult = (output, context) => {
13100
12653
  return {
13101
- accessKeys: output.accessKeys !== undefined && output.accessKeys !== null
13102
- ? deserializeAws_json1_1AccessKeyList(output.accessKeys, context)
13103
- : undefined,
12654
+ accessKeys: output.accessKeys != null ? deserializeAws_json1_1AccessKeyList(output.accessKeys, context) : undefined,
13104
12655
  };
13105
12656
  };
13106
12657
  const deserializeAws_json1_1GetBucketBundlesResult = (output, context) => {
13107
12658
  return {
13108
- bundles: output.bundles !== undefined && output.bundles !== null
13109
- ? deserializeAws_json1_1BucketBundleList(output.bundles, context)
13110
- : undefined,
12659
+ bundles: output.bundles != null ? deserializeAws_json1_1BucketBundleList(output.bundles, context) : undefined,
13111
12660
  };
13112
12661
  };
13113
12662
  const deserializeAws_json1_1GetBucketMetricDataResult = (output, context) => {
13114
12663
  return {
13115
- metricData: output.metricData !== undefined && output.metricData !== null
13116
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
13117
- : undefined,
12664
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
13118
12665
  metricName: (0, smithy_client_1.expectString)(output.metricName),
13119
12666
  };
13120
12667
  };
13121
12668
  const deserializeAws_json1_1GetBucketsResult = (output, context) => {
13122
12669
  return {
13123
- accountLevelBpaSync: output.accountLevelBpaSync !== undefined && output.accountLevelBpaSync !== null
12670
+ accountLevelBpaSync: output.accountLevelBpaSync != null
13124
12671
  ? deserializeAws_json1_1AccountLevelBpaSync(output.accountLevelBpaSync, context)
13125
12672
  : undefined,
13126
- buckets: output.buckets !== undefined && output.buckets !== null
13127
- ? deserializeAws_json1_1BucketList(output.buckets, context)
13128
- : undefined,
12673
+ buckets: output.buckets != null ? deserializeAws_json1_1BucketList(output.buckets, context) : undefined,
13129
12674
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13130
12675
  };
13131
12676
  };
13132
12677
  const deserializeAws_json1_1GetBundlesResult = (output, context) => {
13133
12678
  return {
13134
- bundles: output.bundles !== undefined && output.bundles !== null
13135
- ? deserializeAws_json1_1BundleList(output.bundles, context)
13136
- : undefined,
12679
+ bundles: output.bundles != null ? deserializeAws_json1_1BundleList(output.bundles, context) : undefined,
13137
12680
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13138
12681
  };
13139
12682
  };
13140
12683
  const deserializeAws_json1_1GetCertificatesResult = (output, context) => {
13141
12684
  return {
13142
- certificates: output.certificates !== undefined && output.certificates !== null
12685
+ certificates: output.certificates != null
13143
12686
  ? deserializeAws_json1_1CertificateSummaryList(output.certificates, context)
13144
12687
  : undefined,
13145
12688
  };
13146
12689
  };
13147
12690
  const deserializeAws_json1_1GetCloudFormationStackRecordsResult = (output, context) => {
13148
12691
  return {
13149
- cloudFormationStackRecords: output.cloudFormationStackRecords !== undefined && output.cloudFormationStackRecords !== null
12692
+ cloudFormationStackRecords: output.cloudFormationStackRecords != null
13150
12693
  ? deserializeAws_json1_1CloudFormationStackRecordList(output.cloudFormationStackRecords, context)
13151
12694
  : undefined,
13152
12695
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
@@ -13154,28 +12697,28 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsResult = (output, conte
13154
12697
  };
13155
12698
  const deserializeAws_json1_1GetContactMethodsResult = (output, context) => {
13156
12699
  return {
13157
- contactMethods: output.contactMethods !== undefined && output.contactMethods !== null
12700
+ contactMethods: output.contactMethods != null
13158
12701
  ? deserializeAws_json1_1ContactMethodsList(output.contactMethods, context)
13159
12702
  : undefined,
13160
12703
  };
13161
12704
  };
13162
12705
  const deserializeAws_json1_1GetContainerAPIMetadataResult = (output, context) => {
13163
12706
  return {
13164
- metadata: output.metadata !== undefined && output.metadata !== null
12707
+ metadata: output.metadata != null
13165
12708
  ? deserializeAws_json1_1ContainerServiceMetadataEntryList(output.metadata, context)
13166
12709
  : undefined,
13167
12710
  };
13168
12711
  };
13169
12712
  const deserializeAws_json1_1GetContainerImagesResult = (output, context) => {
13170
12713
  return {
13171
- containerImages: output.containerImages !== undefined && output.containerImages !== null
12714
+ containerImages: output.containerImages != null
13172
12715
  ? deserializeAws_json1_1ContainerImageList(output.containerImages, context)
13173
12716
  : undefined,
13174
12717
  };
13175
12718
  };
13176
12719
  const deserializeAws_json1_1GetContainerLogResult = (output, context) => {
13177
12720
  return {
13178
- logEvents: output.logEvents !== undefined && output.logEvents !== null
12721
+ logEvents: output.logEvents != null
13179
12722
  ? deserializeAws_json1_1ContainerServiceLogEventList(output.logEvents, context)
13180
12723
  : undefined,
13181
12724
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
@@ -13183,103 +12726,81 @@ const deserializeAws_json1_1GetContainerLogResult = (output, context) => {
13183
12726
  };
13184
12727
  const deserializeAws_json1_1GetContainerServiceDeploymentsResult = (output, context) => {
13185
12728
  return {
13186
- deployments: output.deployments !== undefined && output.deployments !== null
12729
+ deployments: output.deployments != null
13187
12730
  ? deserializeAws_json1_1ContainerServiceDeploymentList(output.deployments, context)
13188
12731
  : undefined,
13189
12732
  };
13190
12733
  };
13191
12734
  const deserializeAws_json1_1GetContainerServiceMetricDataResult = (output, context) => {
13192
12735
  return {
13193
- metricData: output.metricData !== undefined && output.metricData !== null
13194
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
13195
- : undefined,
12736
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
13196
12737
  metricName: (0, smithy_client_1.expectString)(output.metricName),
13197
12738
  };
13198
12739
  };
13199
12740
  const deserializeAws_json1_1GetContainerServicePowersResult = (output, context) => {
13200
12741
  return {
13201
- powers: output.powers !== undefined && output.powers !== null
13202
- ? deserializeAws_json1_1ContainerServicePowerList(output.powers, context)
13203
- : undefined,
12742
+ powers: output.powers != null ? deserializeAws_json1_1ContainerServicePowerList(output.powers, context) : undefined,
13204
12743
  };
13205
12744
  };
13206
12745
  const deserializeAws_json1_1GetDiskResult = (output, context) => {
13207
12746
  return {
13208
- disk: output.disk !== undefined && output.disk !== null ? deserializeAws_json1_1Disk(output.disk, context) : undefined,
12747
+ disk: output.disk != null ? deserializeAws_json1_1Disk(output.disk, context) : undefined,
13209
12748
  };
13210
12749
  };
13211
12750
  const deserializeAws_json1_1GetDiskSnapshotResult = (output, context) => {
13212
12751
  return {
13213
- diskSnapshot: output.diskSnapshot !== undefined && output.diskSnapshot !== null
13214
- ? deserializeAws_json1_1DiskSnapshot(output.diskSnapshot, context)
13215
- : undefined,
12752
+ diskSnapshot: output.diskSnapshot != null ? deserializeAws_json1_1DiskSnapshot(output.diskSnapshot, context) : undefined,
13216
12753
  };
13217
12754
  };
13218
12755
  const deserializeAws_json1_1GetDiskSnapshotsResult = (output, context) => {
13219
12756
  return {
13220
- diskSnapshots: output.diskSnapshots !== undefined && output.diskSnapshots !== null
13221
- ? deserializeAws_json1_1DiskSnapshotList(output.diskSnapshots, context)
13222
- : undefined,
12757
+ diskSnapshots: output.diskSnapshots != null ? deserializeAws_json1_1DiskSnapshotList(output.diskSnapshots, context) : undefined,
13223
12758
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13224
12759
  };
13225
12760
  };
13226
12761
  const deserializeAws_json1_1GetDisksResult = (output, context) => {
13227
12762
  return {
13228
- disks: output.disks !== undefined && output.disks !== null
13229
- ? deserializeAws_json1_1DiskList(output.disks, context)
13230
- : undefined,
12763
+ disks: output.disks != null ? deserializeAws_json1_1DiskList(output.disks, context) : undefined,
13231
12764
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13232
12765
  };
13233
12766
  };
13234
12767
  const deserializeAws_json1_1GetDistributionBundlesResult = (output, context) => {
13235
12768
  return {
13236
- bundles: output.bundles !== undefined && output.bundles !== null
13237
- ? deserializeAws_json1_1DistributionBundleList(output.bundles, context)
13238
- : undefined,
12769
+ bundles: output.bundles != null ? deserializeAws_json1_1DistributionBundleList(output.bundles, context) : undefined,
13239
12770
  };
13240
12771
  };
13241
12772
  const deserializeAws_json1_1GetDistributionLatestCacheResetResult = (output, context) => {
13242
12773
  return {
13243
- createTime: output.createTime !== undefined && output.createTime !== null
13244
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
13245
- : undefined,
12774
+ createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
13246
12775
  status: (0, smithy_client_1.expectString)(output.status),
13247
12776
  };
13248
12777
  };
13249
12778
  const deserializeAws_json1_1GetDistributionMetricDataResult = (output, context) => {
13250
12779
  return {
13251
- metricData: output.metricData !== undefined && output.metricData !== null
13252
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
13253
- : undefined,
12780
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
13254
12781
  metricName: (0, smithy_client_1.expectString)(output.metricName),
13255
12782
  };
13256
12783
  };
13257
12784
  const deserializeAws_json1_1GetDistributionsResult = (output, context) => {
13258
12785
  return {
13259
- distributions: output.distributions !== undefined && output.distributions !== null
13260
- ? deserializeAws_json1_1DistributionList(output.distributions, context)
13261
- : undefined,
12786
+ distributions: output.distributions != null ? deserializeAws_json1_1DistributionList(output.distributions, context) : undefined,
13262
12787
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13263
12788
  };
13264
12789
  };
13265
12790
  const deserializeAws_json1_1GetDomainResult = (output, context) => {
13266
12791
  return {
13267
- domain: output.domain !== undefined && output.domain !== null
13268
- ? deserializeAws_json1_1Domain(output.domain, context)
13269
- : undefined,
12792
+ domain: output.domain != null ? deserializeAws_json1_1Domain(output.domain, context) : undefined,
13270
12793
  };
13271
12794
  };
13272
12795
  const deserializeAws_json1_1GetDomainsResult = (output, context) => {
13273
12796
  return {
13274
- domains: output.domains !== undefined && output.domains !== null
13275
- ? deserializeAws_json1_1DomainList(output.domains, context)
13276
- : undefined,
12797
+ domains: output.domains != null ? deserializeAws_json1_1DomainList(output.domains, context) : undefined,
13277
12798
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13278
12799
  };
13279
12800
  };
13280
12801
  const deserializeAws_json1_1GetExportSnapshotRecordsResult = (output, context) => {
13281
12802
  return {
13282
- exportSnapshotRecords: output.exportSnapshotRecords !== undefined && output.exportSnapshotRecords !== null
12803
+ exportSnapshotRecords: output.exportSnapshotRecords != null
13283
12804
  ? deserializeAws_json1_1ExportSnapshotRecordList(output.exportSnapshotRecords, context)
13284
12805
  : undefined,
13285
12806
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
@@ -13287,43 +12808,37 @@ const deserializeAws_json1_1GetExportSnapshotRecordsResult = (output, context) =
13287
12808
  };
13288
12809
  const deserializeAws_json1_1GetInstanceAccessDetailsResult = (output, context) => {
13289
12810
  return {
13290
- accessDetails: output.accessDetails !== undefined && output.accessDetails !== null
12811
+ accessDetails: output.accessDetails != null
13291
12812
  ? deserializeAws_json1_1InstanceAccessDetails(output.accessDetails, context)
13292
12813
  : undefined,
13293
12814
  };
13294
12815
  };
13295
12816
  const deserializeAws_json1_1GetInstanceMetricDataResult = (output, context) => {
13296
12817
  return {
13297
- metricData: output.metricData !== undefined && output.metricData !== null
13298
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
13299
- : undefined,
12818
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
13300
12819
  metricName: (0, smithy_client_1.expectString)(output.metricName),
13301
12820
  };
13302
12821
  };
13303
12822
  const deserializeAws_json1_1GetInstancePortStatesResult = (output, context) => {
13304
12823
  return {
13305
- portStates: output.portStates !== undefined && output.portStates !== null
13306
- ? deserializeAws_json1_1InstancePortStateList(output.portStates, context)
13307
- : undefined,
12824
+ portStates: output.portStates != null ? deserializeAws_json1_1InstancePortStateList(output.portStates, context) : undefined,
13308
12825
  };
13309
12826
  };
13310
12827
  const deserializeAws_json1_1GetInstanceResult = (output, context) => {
13311
12828
  return {
13312
- instance: output.instance !== undefined && output.instance !== null
13313
- ? deserializeAws_json1_1Instance(output.instance, context)
13314
- : undefined,
12829
+ instance: output.instance != null ? deserializeAws_json1_1Instance(output.instance, context) : undefined,
13315
12830
  };
13316
12831
  };
13317
12832
  const deserializeAws_json1_1GetInstanceSnapshotResult = (output, context) => {
13318
12833
  return {
13319
- instanceSnapshot: output.instanceSnapshot !== undefined && output.instanceSnapshot !== null
12834
+ instanceSnapshot: output.instanceSnapshot != null
13320
12835
  ? deserializeAws_json1_1InstanceSnapshot(output.instanceSnapshot, context)
13321
12836
  : undefined,
13322
12837
  };
13323
12838
  };
13324
12839
  const deserializeAws_json1_1GetInstanceSnapshotsResult = (output, context) => {
13325
12840
  return {
13326
- instanceSnapshots: output.instanceSnapshots !== undefined && output.instanceSnapshots !== null
12841
+ instanceSnapshots: output.instanceSnapshots != null
13327
12842
  ? deserializeAws_json1_1InstanceSnapshotList(output.instanceSnapshots, context)
13328
12843
  : undefined,
13329
12844
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
@@ -13331,60 +12846,46 @@ const deserializeAws_json1_1GetInstanceSnapshotsResult = (output, context) => {
13331
12846
  };
13332
12847
  const deserializeAws_json1_1GetInstancesResult = (output, context) => {
13333
12848
  return {
13334
- instances: output.instances !== undefined && output.instances !== null
13335
- ? deserializeAws_json1_1InstanceList(output.instances, context)
13336
- : undefined,
12849
+ instances: output.instances != null ? deserializeAws_json1_1InstanceList(output.instances, context) : undefined,
13337
12850
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13338
12851
  };
13339
12852
  };
13340
12853
  const deserializeAws_json1_1GetInstanceStateResult = (output, context) => {
13341
12854
  return {
13342
- state: output.state !== undefined && output.state !== null
13343
- ? deserializeAws_json1_1InstanceState(output.state, context)
13344
- : undefined,
12855
+ state: output.state != null ? deserializeAws_json1_1InstanceState(output.state, context) : undefined,
13345
12856
  };
13346
12857
  };
13347
12858
  const deserializeAws_json1_1GetKeyPairResult = (output, context) => {
13348
12859
  return {
13349
- keyPair: output.keyPair !== undefined && output.keyPair !== null
13350
- ? deserializeAws_json1_1KeyPair(output.keyPair, context)
13351
- : undefined,
12860
+ keyPair: output.keyPair != null ? deserializeAws_json1_1KeyPair(output.keyPair, context) : undefined,
13352
12861
  };
13353
12862
  };
13354
12863
  const deserializeAws_json1_1GetKeyPairsResult = (output, context) => {
13355
12864
  return {
13356
- keyPairs: output.keyPairs !== undefined && output.keyPairs !== null
13357
- ? deserializeAws_json1_1KeyPairList(output.keyPairs, context)
13358
- : undefined,
12865
+ keyPairs: output.keyPairs != null ? deserializeAws_json1_1KeyPairList(output.keyPairs, context) : undefined,
13359
12866
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13360
12867
  };
13361
12868
  };
13362
12869
  const deserializeAws_json1_1GetLoadBalancerMetricDataResult = (output, context) => {
13363
12870
  return {
13364
- metricData: output.metricData !== undefined && output.metricData !== null
13365
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
13366
- : undefined,
12871
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
13367
12872
  metricName: (0, smithy_client_1.expectString)(output.metricName),
13368
12873
  };
13369
12874
  };
13370
12875
  const deserializeAws_json1_1GetLoadBalancerResult = (output, context) => {
13371
12876
  return {
13372
- loadBalancer: output.loadBalancer !== undefined && output.loadBalancer !== null
13373
- ? deserializeAws_json1_1LoadBalancer(output.loadBalancer, context)
13374
- : undefined,
12877
+ loadBalancer: output.loadBalancer != null ? deserializeAws_json1_1LoadBalancer(output.loadBalancer, context) : undefined,
13375
12878
  };
13376
12879
  };
13377
12880
  const deserializeAws_json1_1GetLoadBalancersResult = (output, context) => {
13378
12881
  return {
13379
- loadBalancers: output.loadBalancers !== undefined && output.loadBalancers !== null
13380
- ? deserializeAws_json1_1LoadBalancerList(output.loadBalancers, context)
13381
- : undefined,
12882
+ loadBalancers: output.loadBalancers != null ? deserializeAws_json1_1LoadBalancerList(output.loadBalancers, context) : undefined,
13382
12883
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13383
12884
  };
13384
12885
  };
13385
12886
  const deserializeAws_json1_1GetLoadBalancerTlsCertificatesResult = (output, context) => {
13386
12887
  return {
13387
- tlsCertificates: output.tlsCertificates !== undefined && output.tlsCertificates !== null
12888
+ tlsCertificates: output.tlsCertificates != null
13388
12889
  ? deserializeAws_json1_1LoadBalancerTlsCertificateList(output.tlsCertificates, context)
13389
12890
  : undefined,
13390
12891
  };
@@ -13392,45 +12893,37 @@ const deserializeAws_json1_1GetLoadBalancerTlsCertificatesResult = (output, cont
13392
12893
  const deserializeAws_json1_1GetLoadBalancerTlsPoliciesResult = (output, context) => {
13393
12894
  return {
13394
12895
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13395
- tlsPolicies: output.tlsPolicies !== undefined && output.tlsPolicies !== null
12896
+ tlsPolicies: output.tlsPolicies != null
13396
12897
  ? deserializeAws_json1_1LoadBalancerTlsPolicyList(output.tlsPolicies, context)
13397
12898
  : undefined,
13398
12899
  };
13399
12900
  };
13400
12901
  const deserializeAws_json1_1GetOperationResult = (output, context) => {
13401
12902
  return {
13402
- operation: output.operation !== undefined && output.operation !== null
13403
- ? deserializeAws_json1_1Operation(output.operation, context)
13404
- : undefined,
12903
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
13405
12904
  };
13406
12905
  };
13407
12906
  const deserializeAws_json1_1GetOperationsForResourceResult = (output, context) => {
13408
12907
  return {
13409
12908
  nextPageCount: (0, smithy_client_1.expectString)(output.nextPageCount),
13410
12909
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13411
- operations: output.operations !== undefined && output.operations !== null
13412
- ? deserializeAws_json1_1OperationList(output.operations, context)
13413
- : undefined,
12910
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
13414
12911
  };
13415
12912
  };
13416
12913
  const deserializeAws_json1_1GetOperationsResult = (output, context) => {
13417
12914
  return {
13418
12915
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13419
- operations: output.operations !== undefined && output.operations !== null
13420
- ? deserializeAws_json1_1OperationList(output.operations, context)
13421
- : undefined,
12916
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
13422
12917
  };
13423
12918
  };
13424
12919
  const deserializeAws_json1_1GetRegionsResult = (output, context) => {
13425
12920
  return {
13426
- regions: output.regions !== undefined && output.regions !== null
13427
- ? deserializeAws_json1_1RegionList(output.regions, context)
13428
- : undefined,
12921
+ regions: output.regions != null ? deserializeAws_json1_1RegionList(output.regions, context) : undefined,
13429
12922
  };
13430
12923
  };
13431
12924
  const deserializeAws_json1_1GetRelationalDatabaseBlueprintsResult = (output, context) => {
13432
12925
  return {
13433
- blueprints: output.blueprints !== undefined && output.blueprints !== null
12926
+ blueprints: output.blueprints != null
13434
12927
  ? deserializeAws_json1_1RelationalDatabaseBlueprintList(output.blueprints, context)
13435
12928
  : undefined,
13436
12929
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
@@ -13438,16 +12931,14 @@ const deserializeAws_json1_1GetRelationalDatabaseBlueprintsResult = (output, con
13438
12931
  };
13439
12932
  const deserializeAws_json1_1GetRelationalDatabaseBundlesResult = (output, context) => {
13440
12933
  return {
13441
- bundles: output.bundles !== undefined && output.bundles !== null
13442
- ? deserializeAws_json1_1RelationalDatabaseBundleList(output.bundles, context)
13443
- : undefined,
12934
+ bundles: output.bundles != null ? deserializeAws_json1_1RelationalDatabaseBundleList(output.bundles, context) : undefined,
13444
12935
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13445
12936
  };
13446
12937
  };
13447
12938
  const deserializeAws_json1_1GetRelationalDatabaseEventsResult = (output, context) => {
13448
12939
  return {
13449
12940
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13450
- relationalDatabaseEvents: output.relationalDatabaseEvents !== undefined && output.relationalDatabaseEvents !== null
12941
+ relationalDatabaseEvents: output.relationalDatabaseEvents != null
13451
12942
  ? deserializeAws_json1_1RelationalDatabaseEventList(output.relationalDatabaseEvents, context)
13452
12943
  : undefined,
13453
12944
  };
@@ -13456,52 +12947,46 @@ const deserializeAws_json1_1GetRelationalDatabaseLogEventsResult = (output, cont
13456
12947
  return {
13457
12948
  nextBackwardToken: (0, smithy_client_1.expectString)(output.nextBackwardToken),
13458
12949
  nextForwardToken: (0, smithy_client_1.expectString)(output.nextForwardToken),
13459
- resourceLogEvents: output.resourceLogEvents !== undefined && output.resourceLogEvents !== null
12950
+ resourceLogEvents: output.resourceLogEvents != null
13460
12951
  ? deserializeAws_json1_1LogEventList(output.resourceLogEvents, context)
13461
12952
  : undefined,
13462
12953
  };
13463
12954
  };
13464
12955
  const deserializeAws_json1_1GetRelationalDatabaseLogStreamsResult = (output, context) => {
13465
12956
  return {
13466
- logStreams: output.logStreams !== undefined && output.logStreams !== null
13467
- ? deserializeAws_json1_1StringList(output.logStreams, context)
13468
- : undefined,
12957
+ logStreams: output.logStreams != null ? deserializeAws_json1_1StringList(output.logStreams, context) : undefined,
13469
12958
  };
13470
12959
  };
13471
12960
  const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordResult = (output, context) => {
13472
12961
  return {
13473
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13474
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13475
- : undefined,
12962
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13476
12963
  masterUserPassword: (0, smithy_client_1.expectString)(output.masterUserPassword),
13477
12964
  };
13478
12965
  };
13479
12966
  const deserializeAws_json1_1GetRelationalDatabaseMetricDataResult = (output, context) => {
13480
12967
  return {
13481
- metricData: output.metricData !== undefined && output.metricData !== null
13482
- ? deserializeAws_json1_1MetricDatapointList(output.metricData, context)
13483
- : undefined,
12968
+ metricData: output.metricData != null ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) : undefined,
13484
12969
  metricName: (0, smithy_client_1.expectString)(output.metricName),
13485
12970
  };
13486
12971
  };
13487
12972
  const deserializeAws_json1_1GetRelationalDatabaseParametersResult = (output, context) => {
13488
12973
  return {
13489
12974
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13490
- parameters: output.parameters !== undefined && output.parameters !== null
12975
+ parameters: output.parameters != null
13491
12976
  ? deserializeAws_json1_1RelationalDatabaseParameterList(output.parameters, context)
13492
12977
  : undefined,
13493
12978
  };
13494
12979
  };
13495
12980
  const deserializeAws_json1_1GetRelationalDatabaseResult = (output, context) => {
13496
12981
  return {
13497
- relationalDatabase: output.relationalDatabase !== undefined && output.relationalDatabase !== null
12982
+ relationalDatabase: output.relationalDatabase != null
13498
12983
  ? deserializeAws_json1_1RelationalDatabase(output.relationalDatabase, context)
13499
12984
  : undefined,
13500
12985
  };
13501
12986
  };
13502
12987
  const deserializeAws_json1_1GetRelationalDatabaseSnapshotResult = (output, context) => {
13503
12988
  return {
13504
- relationalDatabaseSnapshot: output.relationalDatabaseSnapshot !== undefined && output.relationalDatabaseSnapshot !== null
12989
+ relationalDatabaseSnapshot: output.relationalDatabaseSnapshot != null
13505
12990
  ? deserializeAws_json1_1RelationalDatabaseSnapshot(output.relationalDatabaseSnapshot, context)
13506
12991
  : undefined,
13507
12992
  };
@@ -13509,7 +12994,7 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotResult = (output, conte
13509
12994
  const deserializeAws_json1_1GetRelationalDatabaseSnapshotsResult = (output, context) => {
13510
12995
  return {
13511
12996
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13512
- relationalDatabaseSnapshots: output.relationalDatabaseSnapshots !== undefined && output.relationalDatabaseSnapshots !== null
12997
+ relationalDatabaseSnapshots: output.relationalDatabaseSnapshots != null
13513
12998
  ? deserializeAws_json1_1RelationalDatabaseSnapshotList(output.relationalDatabaseSnapshots, context)
13514
12999
  : undefined,
13515
13000
  };
@@ -13517,24 +13002,20 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotsResult = (output, cont
13517
13002
  const deserializeAws_json1_1GetRelationalDatabasesResult = (output, context) => {
13518
13003
  return {
13519
13004
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13520
- relationalDatabases: output.relationalDatabases !== undefined && output.relationalDatabases !== null
13005
+ relationalDatabases: output.relationalDatabases != null
13521
13006
  ? deserializeAws_json1_1RelationalDatabaseList(output.relationalDatabases, context)
13522
13007
  : undefined,
13523
13008
  };
13524
13009
  };
13525
13010
  const deserializeAws_json1_1GetStaticIpResult = (output, context) => {
13526
13011
  return {
13527
- staticIp: output.staticIp !== undefined && output.staticIp !== null
13528
- ? deserializeAws_json1_1StaticIp(output.staticIp, context)
13529
- : undefined,
13012
+ staticIp: output.staticIp != null ? deserializeAws_json1_1StaticIp(output.staticIp, context) : undefined,
13530
13013
  };
13531
13014
  };
13532
13015
  const deserializeAws_json1_1GetStaticIpsResult = (output, context) => {
13533
13016
  return {
13534
13017
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
13535
- staticIps: output.staticIps !== undefined && output.staticIps !== null
13536
- ? deserializeAws_json1_1StaticIpList(output.staticIps, context)
13537
- : undefined,
13018
+ staticIps: output.staticIps != null ? deserializeAws_json1_1StaticIpList(output.staticIps, context) : undefined,
13538
13019
  };
13539
13020
  };
13540
13021
  const deserializeAws_json1_1HeaderForwardList = (output, context) => {
@@ -13550,7 +13031,7 @@ const deserializeAws_json1_1HeaderForwardList = (output, context) => {
13550
13031
  };
13551
13032
  const deserializeAws_json1_1HeaderObject = (output, context) => {
13552
13033
  return {
13553
- headersAllowList: output.headersAllowList !== undefined && output.headersAllowList !== null
13034
+ headersAllowList: output.headersAllowList != null
13554
13035
  ? deserializeAws_json1_1HeaderForwardList(output.headersAllowList, context)
13555
13036
  : undefined,
13556
13037
  option: (0, smithy_client_1.expectString)(output.option),
@@ -13561,14 +13042,14 @@ const deserializeAws_json1_1HostKeyAttributes = (output, context) => {
13561
13042
  algorithm: (0, smithy_client_1.expectString)(output.algorithm),
13562
13043
  fingerprintSHA1: (0, smithy_client_1.expectString)(output.fingerprintSHA1),
13563
13044
  fingerprintSHA256: (0, smithy_client_1.expectString)(output.fingerprintSHA256),
13564
- notValidAfter: output.notValidAfter !== undefined && output.notValidAfter !== null
13045
+ notValidAfter: output.notValidAfter != null
13565
13046
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidAfter)))
13566
13047
  : undefined,
13567
- notValidBefore: output.notValidBefore !== undefined && output.notValidBefore !== null
13048
+ notValidBefore: output.notValidBefore != null
13568
13049
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidBefore)))
13569
13050
  : undefined,
13570
13051
  publicKey: (0, smithy_client_1.expectString)(output.publicKey),
13571
- witnessedAt: output.witnessedAt !== undefined && output.witnessedAt !== null
13052
+ witnessedAt: output.witnessedAt != null
13572
13053
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.witnessedAt)))
13573
13054
  : undefined,
13574
13055
  };
@@ -13586,67 +13067,43 @@ const deserializeAws_json1_1HostKeysList = (output, context) => {
13586
13067
  };
13587
13068
  const deserializeAws_json1_1ImportKeyPairResult = (output, context) => {
13588
13069
  return {
13589
- operation: output.operation !== undefined && output.operation !== null
13590
- ? deserializeAws_json1_1Operation(output.operation, context)
13591
- : undefined,
13070
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
13592
13071
  };
13593
13072
  };
13594
13073
  const deserializeAws_json1_1Instance = (output, context) => {
13595
13074
  return {
13596
- addOns: output.addOns !== undefined && output.addOns !== null
13597
- ? deserializeAws_json1_1AddOnList(output.addOns, context)
13598
- : undefined,
13075
+ addOns: output.addOns != null ? deserializeAws_json1_1AddOnList(output.addOns, context) : undefined,
13599
13076
  arn: (0, smithy_client_1.expectString)(output.arn),
13600
13077
  blueprintId: (0, smithy_client_1.expectString)(output.blueprintId),
13601
13078
  blueprintName: (0, smithy_client_1.expectString)(output.blueprintName),
13602
13079
  bundleId: (0, smithy_client_1.expectString)(output.bundleId),
13603
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13604
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13605
- : undefined,
13606
- hardware: output.hardware !== undefined && output.hardware !== null
13607
- ? deserializeAws_json1_1InstanceHardware(output.hardware, context)
13608
- : undefined,
13080
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13081
+ hardware: output.hardware != null ? deserializeAws_json1_1InstanceHardware(output.hardware, context) : undefined,
13609
13082
  ipAddressType: (0, smithy_client_1.expectString)(output.ipAddressType),
13610
- ipv6Addresses: output.ipv6Addresses !== undefined && output.ipv6Addresses !== null
13611
- ? deserializeAws_json1_1Ipv6AddressList(output.ipv6Addresses, context)
13612
- : undefined,
13083
+ ipv6Addresses: output.ipv6Addresses != null ? deserializeAws_json1_1Ipv6AddressList(output.ipv6Addresses, context) : undefined,
13613
13084
  isStaticIp: (0, smithy_client_1.expectBoolean)(output.isStaticIp),
13614
- location: output.location !== undefined && output.location !== null
13615
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13616
- : undefined,
13085
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
13617
13086
  name: (0, smithy_client_1.expectString)(output.name),
13618
- networking: output.networking !== undefined && output.networking !== null
13619
- ? deserializeAws_json1_1InstanceNetworking(output.networking, context)
13620
- : undefined,
13087
+ networking: output.networking != null ? deserializeAws_json1_1InstanceNetworking(output.networking, context) : undefined,
13621
13088
  privateIpAddress: (0, smithy_client_1.expectString)(output.privateIpAddress),
13622
13089
  publicIpAddress: (0, smithy_client_1.expectString)(output.publicIpAddress),
13623
13090
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
13624
13091
  sshKeyName: (0, smithy_client_1.expectString)(output.sshKeyName),
13625
- state: output.state !== undefined && output.state !== null
13626
- ? deserializeAws_json1_1InstanceState(output.state, context)
13627
- : undefined,
13092
+ state: output.state != null ? deserializeAws_json1_1InstanceState(output.state, context) : undefined,
13628
13093
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
13629
- tags: output.tags !== undefined && output.tags !== null
13630
- ? deserializeAws_json1_1TagList(output.tags, context)
13631
- : undefined,
13094
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
13632
13095
  username: (0, smithy_client_1.expectString)(output.username),
13633
13096
  };
13634
13097
  };
13635
13098
  const deserializeAws_json1_1InstanceAccessDetails = (output, context) => {
13636
13099
  return {
13637
13100
  certKey: (0, smithy_client_1.expectString)(output.certKey),
13638
- expiresAt: output.expiresAt !== undefined && output.expiresAt !== null
13639
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiresAt)))
13640
- : undefined,
13641
- hostKeys: output.hostKeys !== undefined && output.hostKeys !== null
13642
- ? deserializeAws_json1_1HostKeysList(output.hostKeys, context)
13643
- : undefined,
13101
+ expiresAt: output.expiresAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiresAt))) : undefined,
13102
+ hostKeys: output.hostKeys != null ? deserializeAws_json1_1HostKeysList(output.hostKeys, context) : undefined,
13644
13103
  instanceName: (0, smithy_client_1.expectString)(output.instanceName),
13645
13104
  ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
13646
13105
  password: (0, smithy_client_1.expectString)(output.password),
13647
- passwordData: output.passwordData !== undefined && output.passwordData !== null
13648
- ? deserializeAws_json1_1PasswordData(output.passwordData, context)
13649
- : undefined,
13106
+ passwordData: output.passwordData != null ? deserializeAws_json1_1PasswordData(output.passwordData, context) : undefined,
13650
13107
  privateKey: (0, smithy_client_1.expectString)(output.privateKey),
13651
13108
  protocol: (0, smithy_client_1.expectString)(output.protocol),
13652
13109
  username: (0, smithy_client_1.expectString)(output.username),
@@ -13655,9 +13112,7 @@ const deserializeAws_json1_1InstanceAccessDetails = (output, context) => {
13655
13112
  const deserializeAws_json1_1InstanceHardware = (output, context) => {
13656
13113
  return {
13657
13114
  cpuCount: (0, smithy_client_1.expectInt32)(output.cpuCount),
13658
- disks: output.disks !== undefined && output.disks !== null
13659
- ? deserializeAws_json1_1DiskList(output.disks, context)
13660
- : undefined,
13115
+ disks: output.disks != null ? deserializeAws_json1_1DiskList(output.disks, context) : undefined,
13661
13116
  ramSizeInGb: (0, smithy_client_1.limitedParseFloat32)(output.ramSizeInGb),
13662
13117
  };
13663
13118
  };
@@ -13692,12 +13147,10 @@ const deserializeAws_json1_1InstanceList = (output, context) => {
13692
13147
  };
13693
13148
  const deserializeAws_json1_1InstanceNetworking = (output, context) => {
13694
13149
  return {
13695
- monthlyTransfer: output.monthlyTransfer !== undefined && output.monthlyTransfer !== null
13150
+ monthlyTransfer: output.monthlyTransfer != null
13696
13151
  ? deserializeAws_json1_1MonthlyTransfer(output.monthlyTransfer, context)
13697
13152
  : undefined,
13698
- ports: output.ports !== undefined && output.ports !== null
13699
- ? deserializeAws_json1_1InstancePortInfoList(output.ports, context)
13700
- : undefined,
13153
+ ports: output.ports != null ? deserializeAws_json1_1InstancePortInfoList(output.ports, context) : undefined,
13701
13154
  };
13702
13155
  };
13703
13156
  const deserializeAws_json1_1InstancePlatformList = (output, context) => {
@@ -13716,17 +13169,11 @@ const deserializeAws_json1_1InstancePortInfo = (output, context) => {
13716
13169
  accessDirection: (0, smithy_client_1.expectString)(output.accessDirection),
13717
13170
  accessFrom: (0, smithy_client_1.expectString)(output.accessFrom),
13718
13171
  accessType: (0, smithy_client_1.expectString)(output.accessType),
13719
- cidrListAliases: output.cidrListAliases !== undefined && output.cidrListAliases !== null
13720
- ? deserializeAws_json1_1StringList(output.cidrListAliases, context)
13721
- : undefined,
13722
- cidrs: output.cidrs !== undefined && output.cidrs !== null
13723
- ? deserializeAws_json1_1StringList(output.cidrs, context)
13724
- : undefined,
13172
+ cidrListAliases: output.cidrListAliases != null ? deserializeAws_json1_1StringList(output.cidrListAliases, context) : undefined,
13173
+ cidrs: output.cidrs != null ? deserializeAws_json1_1StringList(output.cidrs, context) : undefined,
13725
13174
  commonName: (0, smithy_client_1.expectString)(output.commonName),
13726
13175
  fromPort: (0, smithy_client_1.expectInt32)(output.fromPort),
13727
- ipv6Cidrs: output.ipv6Cidrs !== undefined && output.ipv6Cidrs !== null
13728
- ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context)
13729
- : undefined,
13176
+ ipv6Cidrs: output.ipv6Cidrs != null ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context) : undefined,
13730
13177
  protocol: (0, smithy_client_1.expectString)(output.protocol),
13731
13178
  toPort: (0, smithy_client_1.expectInt32)(output.toPort),
13732
13179
  };
@@ -13744,16 +13191,10 @@ const deserializeAws_json1_1InstancePortInfoList = (output, context) => {
13744
13191
  };
13745
13192
  const deserializeAws_json1_1InstancePortState = (output, context) => {
13746
13193
  return {
13747
- cidrListAliases: output.cidrListAliases !== undefined && output.cidrListAliases !== null
13748
- ? deserializeAws_json1_1StringList(output.cidrListAliases, context)
13749
- : undefined,
13750
- cidrs: output.cidrs !== undefined && output.cidrs !== null
13751
- ? deserializeAws_json1_1StringList(output.cidrs, context)
13752
- : undefined,
13194
+ cidrListAliases: output.cidrListAliases != null ? deserializeAws_json1_1StringList(output.cidrListAliases, context) : undefined,
13195
+ cidrs: output.cidrs != null ? deserializeAws_json1_1StringList(output.cidrs, context) : undefined,
13753
13196
  fromPort: (0, smithy_client_1.expectInt32)(output.fromPort),
13754
- ipv6Cidrs: output.ipv6Cidrs !== undefined && output.ipv6Cidrs !== null
13755
- ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context)
13756
- : undefined,
13197
+ ipv6Cidrs: output.ipv6Cidrs != null ? deserializeAws_json1_1StringList(output.ipv6Cidrs, context) : undefined,
13757
13198
  protocol: (0, smithy_client_1.expectString)(output.protocol),
13758
13199
  state: (0, smithy_client_1.expectString)(output.state),
13759
13200
  toPort: (0, smithy_client_1.expectInt32)(output.toPort),
@@ -13773,38 +13214,28 @@ const deserializeAws_json1_1InstancePortStateList = (output, context) => {
13773
13214
  const deserializeAws_json1_1InstanceSnapshot = (output, context) => {
13774
13215
  return {
13775
13216
  arn: (0, smithy_client_1.expectString)(output.arn),
13776
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13777
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13778
- : undefined,
13779
- fromAttachedDisks: output.fromAttachedDisks !== undefined && output.fromAttachedDisks !== null
13780
- ? deserializeAws_json1_1DiskList(output.fromAttachedDisks, context)
13781
- : undefined,
13217
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13218
+ fromAttachedDisks: output.fromAttachedDisks != null ? deserializeAws_json1_1DiskList(output.fromAttachedDisks, context) : undefined,
13782
13219
  fromBlueprintId: (0, smithy_client_1.expectString)(output.fromBlueprintId),
13783
13220
  fromBundleId: (0, smithy_client_1.expectString)(output.fromBundleId),
13784
13221
  fromInstanceArn: (0, smithy_client_1.expectString)(output.fromInstanceArn),
13785
13222
  fromInstanceName: (0, smithy_client_1.expectString)(output.fromInstanceName),
13786
13223
  isFromAutoSnapshot: (0, smithy_client_1.expectBoolean)(output.isFromAutoSnapshot),
13787
- location: output.location !== undefined && output.location !== null
13788
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13789
- : undefined,
13224
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
13790
13225
  name: (0, smithy_client_1.expectString)(output.name),
13791
13226
  progress: (0, smithy_client_1.expectString)(output.progress),
13792
13227
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
13793
13228
  sizeInGb: (0, smithy_client_1.expectInt32)(output.sizeInGb),
13794
13229
  state: (0, smithy_client_1.expectString)(output.state),
13795
13230
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
13796
- tags: output.tags !== undefined && output.tags !== null
13797
- ? deserializeAws_json1_1TagList(output.tags, context)
13798
- : undefined,
13231
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
13799
13232
  };
13800
13233
  };
13801
13234
  const deserializeAws_json1_1InstanceSnapshotInfo = (output, context) => {
13802
13235
  return {
13803
13236
  fromBlueprintId: (0, smithy_client_1.expectString)(output.fromBlueprintId),
13804
13237
  fromBundleId: (0, smithy_client_1.expectString)(output.fromBundleId),
13805
- fromDiskInfo: output.fromDiskInfo !== undefined && output.fromDiskInfo !== null
13806
- ? deserializeAws_json1_1DiskInfoList(output.fromDiskInfo, context)
13807
- : undefined,
13238
+ fromDiskInfo: output.fromDiskInfo != null ? deserializeAws_json1_1DiskInfoList(output.fromDiskInfo, context) : undefined,
13808
13239
  };
13809
13240
  };
13810
13241
  const deserializeAws_json1_1InstanceSnapshotList = (output, context) => {
@@ -13851,19 +13282,13 @@ const deserializeAws_json1_1IsVpcPeeredResult = (output, context) => {
13851
13282
  const deserializeAws_json1_1KeyPair = (output, context) => {
13852
13283
  return {
13853
13284
  arn: (0, smithy_client_1.expectString)(output.arn),
13854
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13855
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13856
- : undefined,
13285
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13857
13286
  fingerprint: (0, smithy_client_1.expectString)(output.fingerprint),
13858
- location: output.location !== undefined && output.location !== null
13859
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13860
- : undefined,
13287
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
13861
13288
  name: (0, smithy_client_1.expectString)(output.name),
13862
13289
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
13863
13290
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
13864
- tags: output.tags !== undefined && output.tags !== null
13865
- ? deserializeAws_json1_1TagList(output.tags, context)
13866
- : undefined,
13291
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
13867
13292
  };
13868
13293
  };
13869
13294
  const deserializeAws_json1_1KeyPairList = (output, context) => {
@@ -13880,75 +13305,59 @@ const deserializeAws_json1_1KeyPairList = (output, context) => {
13880
13305
  const deserializeAws_json1_1LightsailDistribution = (output, context) => {
13881
13306
  return {
13882
13307
  ableToUpdateBundle: (0, smithy_client_1.expectBoolean)(output.ableToUpdateBundle),
13883
- alternativeDomainNames: output.alternativeDomainNames !== undefined && output.alternativeDomainNames !== null
13308
+ alternativeDomainNames: output.alternativeDomainNames != null
13884
13309
  ? deserializeAws_json1_1StringList(output.alternativeDomainNames, context)
13885
13310
  : undefined,
13886
13311
  arn: (0, smithy_client_1.expectString)(output.arn),
13887
13312
  bundleId: (0, smithy_client_1.expectString)(output.bundleId),
13888
- cacheBehaviorSettings: output.cacheBehaviorSettings !== undefined && output.cacheBehaviorSettings !== null
13313
+ cacheBehaviorSettings: output.cacheBehaviorSettings != null
13889
13314
  ? deserializeAws_json1_1CacheSettings(output.cacheBehaviorSettings, context)
13890
13315
  : undefined,
13891
- cacheBehaviors: output.cacheBehaviors !== undefined && output.cacheBehaviors !== null
13316
+ cacheBehaviors: output.cacheBehaviors != null
13892
13317
  ? deserializeAws_json1_1CacheBehaviorList(output.cacheBehaviors, context)
13893
13318
  : undefined,
13894
13319
  certificateName: (0, smithy_client_1.expectString)(output.certificateName),
13895
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13896
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13897
- : undefined,
13898
- defaultCacheBehavior: output.defaultCacheBehavior !== undefined && output.defaultCacheBehavior !== null
13320
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13321
+ defaultCacheBehavior: output.defaultCacheBehavior != null
13899
13322
  ? deserializeAws_json1_1CacheBehavior(output.defaultCacheBehavior, context)
13900
13323
  : undefined,
13901
13324
  domainName: (0, smithy_client_1.expectString)(output.domainName),
13902
13325
  ipAddressType: (0, smithy_client_1.expectString)(output.ipAddressType),
13903
13326
  isEnabled: (0, smithy_client_1.expectBoolean)(output.isEnabled),
13904
- location: output.location !== undefined && output.location !== null
13905
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13906
- : undefined,
13327
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
13907
13328
  name: (0, smithy_client_1.expectString)(output.name),
13908
- origin: output.origin !== undefined && output.origin !== null
13909
- ? deserializeAws_json1_1Origin(output.origin, context)
13910
- : undefined,
13329
+ origin: output.origin != null ? deserializeAws_json1_1Origin(output.origin, context) : undefined,
13911
13330
  originPublicDNS: (0, smithy_client_1.expectString)(output.originPublicDNS),
13912
13331
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
13913
13332
  status: (0, smithy_client_1.expectString)(output.status),
13914
13333
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
13915
- tags: output.tags !== undefined && output.tags !== null
13916
- ? deserializeAws_json1_1TagList(output.tags, context)
13917
- : undefined,
13334
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
13918
13335
  };
13919
13336
  };
13920
13337
  const deserializeAws_json1_1LoadBalancer = (output, context) => {
13921
13338
  return {
13922
13339
  arn: (0, smithy_client_1.expectString)(output.arn),
13923
- configurationOptions: output.configurationOptions !== undefined && output.configurationOptions !== null
13340
+ configurationOptions: output.configurationOptions != null
13924
13341
  ? deserializeAws_json1_1LoadBalancerConfigurationOptions(output.configurationOptions, context)
13925
13342
  : undefined,
13926
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13927
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13928
- : undefined,
13343
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13929
13344
  dnsName: (0, smithy_client_1.expectString)(output.dnsName),
13930
13345
  healthCheckPath: (0, smithy_client_1.expectString)(output.healthCheckPath),
13931
13346
  httpsRedirectionEnabled: (0, smithy_client_1.expectBoolean)(output.httpsRedirectionEnabled),
13932
- instanceHealthSummary: output.instanceHealthSummary !== undefined && output.instanceHealthSummary !== null
13347
+ instanceHealthSummary: output.instanceHealthSummary != null
13933
13348
  ? deserializeAws_json1_1InstanceHealthSummaryList(output.instanceHealthSummary, context)
13934
13349
  : undefined,
13935
13350
  instancePort: (0, smithy_client_1.expectInt32)(output.instancePort),
13936
13351
  ipAddressType: (0, smithy_client_1.expectString)(output.ipAddressType),
13937
- location: output.location !== undefined && output.location !== null
13938
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13939
- : undefined,
13352
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
13940
13353
  name: (0, smithy_client_1.expectString)(output.name),
13941
13354
  protocol: (0, smithy_client_1.expectString)(output.protocol),
13942
- publicPorts: output.publicPorts !== undefined && output.publicPorts !== null
13943
- ? deserializeAws_json1_1PortList(output.publicPorts, context)
13944
- : undefined,
13355
+ publicPorts: output.publicPorts != null ? deserializeAws_json1_1PortList(output.publicPorts, context) : undefined,
13945
13356
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
13946
13357
  state: (0, smithy_client_1.expectString)(output.state),
13947
13358
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
13948
- tags: output.tags !== undefined && output.tags !== null
13949
- ? deserializeAws_json1_1TagList(output.tags, context)
13950
- : undefined,
13951
- tlsCertificateSummaries: output.tlsCertificateSummaries !== undefined && output.tlsCertificateSummaries !== null
13359
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
13360
+ tlsCertificateSummaries: output.tlsCertificateSummaries != null
13952
13361
  ? deserializeAws_json1_1LoadBalancerTlsCertificateSummaryList(output.tlsCertificateSummaries, context)
13953
13362
  : undefined,
13954
13363
  tlsPolicyName: (0, smithy_client_1.expectString)(output.tlsPolicyName),
@@ -13979,50 +13388,36 @@ const deserializeAws_json1_1LoadBalancerList = (output, context) => {
13979
13388
  const deserializeAws_json1_1LoadBalancerTlsCertificate = (output, context) => {
13980
13389
  return {
13981
13390
  arn: (0, smithy_client_1.expectString)(output.arn),
13982
- createdAt: output.createdAt !== undefined && output.createdAt !== null
13983
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
13984
- : undefined,
13391
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13985
13392
  domainName: (0, smithy_client_1.expectString)(output.domainName),
13986
- domainValidationRecords: output.domainValidationRecords !== undefined && output.domainValidationRecords !== null
13393
+ domainValidationRecords: output.domainValidationRecords != null
13987
13394
  ? deserializeAws_json1_1LoadBalancerTlsCertificateDomainValidationRecordList(output.domainValidationRecords, context)
13988
13395
  : undefined,
13989
13396
  failureReason: (0, smithy_client_1.expectString)(output.failureReason),
13990
13397
  isAttached: (0, smithy_client_1.expectBoolean)(output.isAttached),
13991
- issuedAt: output.issuedAt !== undefined && output.issuedAt !== null
13992
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.issuedAt)))
13993
- : undefined,
13398
+ issuedAt: output.issuedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.issuedAt))) : undefined,
13994
13399
  issuer: (0, smithy_client_1.expectString)(output.issuer),
13995
13400
  keyAlgorithm: (0, smithy_client_1.expectString)(output.keyAlgorithm),
13996
13401
  loadBalancerName: (0, smithy_client_1.expectString)(output.loadBalancerName),
13997
- location: output.location !== undefined && output.location !== null
13998
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
13999
- : undefined,
13402
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14000
13403
  name: (0, smithy_client_1.expectString)(output.name),
14001
- notAfter: output.notAfter !== undefined && output.notAfter !== null
14002
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notAfter)))
14003
- : undefined,
14004
- notBefore: output.notBefore !== undefined && output.notBefore !== null
14005
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notBefore)))
14006
- : undefined,
14007
- renewalSummary: output.renewalSummary !== undefined && output.renewalSummary !== null
13404
+ notAfter: output.notAfter != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notAfter))) : undefined,
13405
+ notBefore: output.notBefore != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notBefore))) : undefined,
13406
+ renewalSummary: output.renewalSummary != null
14008
13407
  ? deserializeAws_json1_1LoadBalancerTlsCertificateRenewalSummary(output.renewalSummary, context)
14009
13408
  : undefined,
14010
13409
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
14011
13410
  revocationReason: (0, smithy_client_1.expectString)(output.revocationReason),
14012
- revokedAt: output.revokedAt !== undefined && output.revokedAt !== null
14013
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.revokedAt)))
14014
- : undefined,
13411
+ revokedAt: output.revokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.revokedAt))) : undefined,
14015
13412
  serial: (0, smithy_client_1.expectString)(output.serial),
14016
13413
  signatureAlgorithm: (0, smithy_client_1.expectString)(output.signatureAlgorithm),
14017
13414
  status: (0, smithy_client_1.expectString)(output.status),
14018
13415
  subject: (0, smithy_client_1.expectString)(output.subject),
14019
- subjectAlternativeNames: output.subjectAlternativeNames !== undefined && output.subjectAlternativeNames !== null
13416
+ subjectAlternativeNames: output.subjectAlternativeNames != null
14020
13417
  ? deserializeAws_json1_1StringList(output.subjectAlternativeNames, context)
14021
13418
  : undefined,
14022
13419
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
14023
- tags: output.tags !== undefined && output.tags !== null
14024
- ? deserializeAws_json1_1TagList(output.tags, context)
14025
- : undefined,
13420
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14026
13421
  };
14027
13422
  };
14028
13423
  const deserializeAws_json1_1LoadBalancerTlsCertificateDomainValidationOption = (output, context) => {
@@ -14075,7 +13470,7 @@ const deserializeAws_json1_1LoadBalancerTlsCertificateList = (output, context) =
14075
13470
  };
14076
13471
  const deserializeAws_json1_1LoadBalancerTlsCertificateRenewalSummary = (output, context) => {
14077
13472
  return {
14078
- domainValidationOptions: output.domainValidationOptions !== undefined && output.domainValidationOptions !== null
13473
+ domainValidationOptions: output.domainValidationOptions != null
14079
13474
  ? deserializeAws_json1_1LoadBalancerTlsCertificateDomainValidationOptionList(output.domainValidationOptions, context)
14080
13475
  : undefined,
14081
13476
  renewalStatus: (0, smithy_client_1.expectString)(output.renewalStatus),
@@ -14100,15 +13495,11 @@ const deserializeAws_json1_1LoadBalancerTlsCertificateSummaryList = (output, con
14100
13495
  };
14101
13496
  const deserializeAws_json1_1LoadBalancerTlsPolicy = (output, context) => {
14102
13497
  return {
14103
- ciphers: output.ciphers !== undefined && output.ciphers !== null
14104
- ? deserializeAws_json1_1StringList(output.ciphers, context)
14105
- : undefined,
13498
+ ciphers: output.ciphers != null ? deserializeAws_json1_1StringList(output.ciphers, context) : undefined,
14106
13499
  description: (0, smithy_client_1.expectString)(output.description),
14107
13500
  isDefault: (0, smithy_client_1.expectBoolean)(output.isDefault),
14108
13501
  name: (0, smithy_client_1.expectString)(output.name),
14109
- protocols: output.protocols !== undefined && output.protocols !== null
14110
- ? deserializeAws_json1_1StringList(output.protocols, context)
14111
- : undefined,
13502
+ protocols: output.protocols != null ? deserializeAws_json1_1StringList(output.protocols, context) : undefined,
14112
13503
  };
14113
13504
  };
14114
13505
  const deserializeAws_json1_1LoadBalancerTlsPolicyList = (output, context) => {
@@ -14124,9 +13515,7 @@ const deserializeAws_json1_1LoadBalancerTlsPolicyList = (output, context) => {
14124
13515
  };
14125
13516
  const deserializeAws_json1_1LogEvent = (output, context) => {
14126
13517
  return {
14127
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14128
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
14129
- : undefined,
13518
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
14130
13519
  message: (0, smithy_client_1.expectString)(output.message),
14131
13520
  };
14132
13521
  };
@@ -14148,9 +13537,7 @@ const deserializeAws_json1_1MetricDatapoint = (output, context) => {
14148
13537
  minimum: (0, smithy_client_1.limitedParseDouble)(output.minimum),
14149
13538
  sampleCount: (0, smithy_client_1.limitedParseDouble)(output.sampleCount),
14150
13539
  sum: (0, smithy_client_1.limitedParseDouble)(output.sum),
14151
- timestamp: output.timestamp !== undefined && output.timestamp !== null
14152
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp)))
14153
- : undefined,
13540
+ timestamp: output.timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp))) : undefined,
14154
13541
  unit: (0, smithy_client_1.expectString)(output.unit),
14155
13542
  };
14156
13543
  };
@@ -14198,29 +13585,23 @@ const deserializeAws_json1_1NotificationTriggerList = (output, context) => {
14198
13585
  };
14199
13586
  const deserializeAws_json1_1OpenInstancePublicPortsResult = (output, context) => {
14200
13587
  return {
14201
- operation: output.operation !== undefined && output.operation !== null
14202
- ? deserializeAws_json1_1Operation(output.operation, context)
14203
- : undefined,
13588
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14204
13589
  };
14205
13590
  };
14206
13591
  const deserializeAws_json1_1Operation = (output, context) => {
14207
13592
  return {
14208
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14209
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
14210
- : undefined,
13593
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
14211
13594
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
14212
13595
  errorDetails: (0, smithy_client_1.expectString)(output.errorDetails),
14213
13596
  id: (0, smithy_client_1.expectString)(output.id),
14214
13597
  isTerminal: (0, smithy_client_1.expectBoolean)(output.isTerminal),
14215
- location: output.location !== undefined && output.location !== null
14216
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14217
- : undefined,
13598
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14218
13599
  operationDetails: (0, smithy_client_1.expectString)(output.operationDetails),
14219
13600
  operationType: (0, smithy_client_1.expectString)(output.operationType),
14220
13601
  resourceName: (0, smithy_client_1.expectString)(output.resourceName),
14221
13602
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
14222
13603
  status: (0, smithy_client_1.expectString)(output.status),
14223
- statusChangedAt: output.statusChangedAt !== undefined && output.statusChangedAt !== null
13604
+ statusChangedAt: output.statusChangedAt != null
14224
13605
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.statusChangedAt)))
14225
13606
  : undefined,
14226
13607
  };
@@ -14271,15 +13652,13 @@ const deserializeAws_json1_1PasswordData = (output, context) => {
14271
13652
  };
14272
13653
  const deserializeAws_json1_1PeerVpcResult = (output, context) => {
14273
13654
  return {
14274
- operation: output.operation !== undefined && output.operation !== null
14275
- ? deserializeAws_json1_1Operation(output.operation, context)
14276
- : undefined,
13655
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14277
13656
  };
14278
13657
  };
14279
13658
  const deserializeAws_json1_1PendingMaintenanceAction = (output, context) => {
14280
13659
  return {
14281
13660
  action: (0, smithy_client_1.expectString)(output.action),
14282
- currentApplyDate: output.currentApplyDate !== undefined && output.currentApplyDate !== null
13661
+ currentApplyDate: output.currentApplyDate != null
14283
13662
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.currentApplyDate)))
14284
13663
  : undefined,
14285
13664
  description: (0, smithy_client_1.expectString)(output.description),
@@ -14327,57 +13706,49 @@ const deserializeAws_json1_1PortMap = (output, context) => {
14327
13706
  };
14328
13707
  const deserializeAws_json1_1PrivateRegistryAccess = (output, context) => {
14329
13708
  return {
14330
- ecrImagePullerRole: output.ecrImagePullerRole !== undefined && output.ecrImagePullerRole !== null
13709
+ ecrImagePullerRole: output.ecrImagePullerRole != null
14331
13710
  ? deserializeAws_json1_1ContainerServiceECRImagePullerRole(output.ecrImagePullerRole, context)
14332
13711
  : undefined,
14333
13712
  };
14334
13713
  };
14335
13714
  const deserializeAws_json1_1PutAlarmResult = (output, context) => {
14336
13715
  return {
14337
- operations: output.operations !== undefined && output.operations !== null
14338
- ? deserializeAws_json1_1OperationList(output.operations, context)
14339
- : undefined,
13716
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14340
13717
  };
14341
13718
  };
14342
13719
  const deserializeAws_json1_1PutInstancePublicPortsResult = (output, context) => {
14343
13720
  return {
14344
- operation: output.operation !== undefined && output.operation !== null
14345
- ? deserializeAws_json1_1Operation(output.operation, context)
14346
- : undefined,
13721
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14347
13722
  };
14348
13723
  };
14349
13724
  const deserializeAws_json1_1QueryStringObject = (output, context) => {
14350
13725
  return {
14351
13726
  option: (0, smithy_client_1.expectBoolean)(output.option),
14352
- queryStringsAllowList: output.queryStringsAllowList !== undefined && output.queryStringsAllowList !== null
13727
+ queryStringsAllowList: output.queryStringsAllowList != null
14353
13728
  ? deserializeAws_json1_1StringList(output.queryStringsAllowList, context)
14354
13729
  : undefined,
14355
13730
  };
14356
13731
  };
14357
13732
  const deserializeAws_json1_1RebootInstanceResult = (output, context) => {
14358
13733
  return {
14359
- operations: output.operations !== undefined && output.operations !== null
14360
- ? deserializeAws_json1_1OperationList(output.operations, context)
14361
- : undefined,
13734
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14362
13735
  };
14363
13736
  };
14364
13737
  const deserializeAws_json1_1RebootRelationalDatabaseResult = (output, context) => {
14365
13738
  return {
14366
- operations: output.operations !== undefined && output.operations !== null
14367
- ? deserializeAws_json1_1OperationList(output.operations, context)
14368
- : undefined,
13739
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14369
13740
  };
14370
13741
  };
14371
13742
  const deserializeAws_json1_1Region = (output, context) => {
14372
13743
  return {
14373
- availabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
13744
+ availabilityZones: output.availabilityZones != null
14374
13745
  ? deserializeAws_json1_1AvailabilityZoneList(output.availabilityZones, context)
14375
13746
  : undefined,
14376
13747
  continentCode: (0, smithy_client_1.expectString)(output.continentCode),
14377
13748
  description: (0, smithy_client_1.expectString)(output.description),
14378
13749
  displayName: (0, smithy_client_1.expectString)(output.displayName),
14379
13750
  name: (0, smithy_client_1.expectString)(output.name),
14380
- relationalDatabaseAvailabilityZones: output.relationalDatabaseAvailabilityZones !== undefined && output.relationalDatabaseAvailabilityZones !== null
13751
+ relationalDatabaseAvailabilityZones: output.relationalDatabaseAvailabilityZones != null
14381
13752
  ? deserializeAws_json1_1AvailabilityZoneList(output.relationalDatabaseAvailabilityZones, context)
14382
13753
  : undefined,
14383
13754
  };
@@ -14395,9 +13766,7 @@ const deserializeAws_json1_1RegionList = (output, context) => {
14395
13766
  };
14396
13767
  const deserializeAws_json1_1RegisterContainerImageResult = (output, context) => {
14397
13768
  return {
14398
- containerImage: output.containerImage !== undefined && output.containerImage !== null
14399
- ? deserializeAws_json1_1ContainerImage(output.containerImage, context)
14400
- : undefined,
13769
+ containerImage: output.containerImage != null ? deserializeAws_json1_1ContainerImage(output.containerImage, context) : undefined,
14401
13770
  };
14402
13771
  };
14403
13772
  const deserializeAws_json1_1RelationalDatabase = (output, context) => {
@@ -14405,31 +13774,25 @@ const deserializeAws_json1_1RelationalDatabase = (output, context) => {
14405
13774
  arn: (0, smithy_client_1.expectString)(output.arn),
14406
13775
  backupRetentionEnabled: (0, smithy_client_1.expectBoolean)(output.backupRetentionEnabled),
14407
13776
  caCertificateIdentifier: (0, smithy_client_1.expectString)(output.caCertificateIdentifier),
14408
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14409
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
14410
- : undefined,
13777
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
14411
13778
  engine: (0, smithy_client_1.expectString)(output.engine),
14412
13779
  engineVersion: (0, smithy_client_1.expectString)(output.engineVersion),
14413
- hardware: output.hardware !== undefined && output.hardware !== null
14414
- ? deserializeAws_json1_1RelationalDatabaseHardware(output.hardware, context)
14415
- : undefined,
14416
- latestRestorableTime: output.latestRestorableTime !== undefined && output.latestRestorableTime !== null
13780
+ hardware: output.hardware != null ? deserializeAws_json1_1RelationalDatabaseHardware(output.hardware, context) : undefined,
13781
+ latestRestorableTime: output.latestRestorableTime != null
14417
13782
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.latestRestorableTime)))
14418
13783
  : undefined,
14419
- location: output.location !== undefined && output.location !== null
14420
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14421
- : undefined,
13784
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14422
13785
  masterDatabaseName: (0, smithy_client_1.expectString)(output.masterDatabaseName),
14423
- masterEndpoint: output.masterEndpoint !== undefined && output.masterEndpoint !== null
13786
+ masterEndpoint: output.masterEndpoint != null
14424
13787
  ? deserializeAws_json1_1RelationalDatabaseEndpoint(output.masterEndpoint, context)
14425
13788
  : undefined,
14426
13789
  masterUsername: (0, smithy_client_1.expectString)(output.masterUsername),
14427
13790
  name: (0, smithy_client_1.expectString)(output.name),
14428
13791
  parameterApplyStatus: (0, smithy_client_1.expectString)(output.parameterApplyStatus),
14429
- pendingMaintenanceActions: output.pendingMaintenanceActions !== undefined && output.pendingMaintenanceActions !== null
13792
+ pendingMaintenanceActions: output.pendingMaintenanceActions != null
14430
13793
  ? deserializeAws_json1_1PendingMaintenanceActionList(output.pendingMaintenanceActions, context)
14431
13794
  : undefined,
14432
- pendingModifiedValues: output.pendingModifiedValues !== undefined && output.pendingModifiedValues !== null
13795
+ pendingModifiedValues: output.pendingModifiedValues != null
14433
13796
  ? deserializeAws_json1_1PendingModifiedRelationalDatabaseValues(output.pendingModifiedValues, context)
14434
13797
  : undefined,
14435
13798
  preferredBackupWindow: (0, smithy_client_1.expectString)(output.preferredBackupWindow),
@@ -14441,9 +13804,7 @@ const deserializeAws_json1_1RelationalDatabase = (output, context) => {
14441
13804
  secondaryAvailabilityZone: (0, smithy_client_1.expectString)(output.secondaryAvailabilityZone),
14442
13805
  state: (0, smithy_client_1.expectString)(output.state),
14443
13806
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
14444
- tags: output.tags !== undefined && output.tags !== null
14445
- ? deserializeAws_json1_1TagList(output.tags, context)
14446
- : undefined,
13807
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14447
13808
  };
14448
13809
  };
14449
13810
  const deserializeAws_json1_1RelationalDatabaseBlueprint = (output, context) => {
@@ -14499,12 +13860,8 @@ const deserializeAws_json1_1RelationalDatabaseEndpoint = (output, context) => {
14499
13860
  };
14500
13861
  const deserializeAws_json1_1RelationalDatabaseEvent = (output, context) => {
14501
13862
  return {
14502
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14503
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
14504
- : undefined,
14505
- eventCategories: output.eventCategories !== undefined && output.eventCategories !== null
14506
- ? deserializeAws_json1_1StringList(output.eventCategories, context)
14507
- : undefined,
13863
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
13864
+ eventCategories: output.eventCategories != null ? deserializeAws_json1_1StringList(output.eventCategories, context) : undefined,
14508
13865
  message: (0, smithy_client_1.expectString)(output.message),
14509
13866
  resource: (0, smithy_client_1.expectString)(output.resource),
14510
13867
  };
@@ -14564,26 +13921,20 @@ const deserializeAws_json1_1RelationalDatabaseParameterList = (output, context)
14564
13921
  const deserializeAws_json1_1RelationalDatabaseSnapshot = (output, context) => {
14565
13922
  return {
14566
13923
  arn: (0, smithy_client_1.expectString)(output.arn),
14567
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14568
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
14569
- : undefined,
13924
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
14570
13925
  engine: (0, smithy_client_1.expectString)(output.engine),
14571
13926
  engineVersion: (0, smithy_client_1.expectString)(output.engineVersion),
14572
13927
  fromRelationalDatabaseArn: (0, smithy_client_1.expectString)(output.fromRelationalDatabaseArn),
14573
13928
  fromRelationalDatabaseBlueprintId: (0, smithy_client_1.expectString)(output.fromRelationalDatabaseBlueprintId),
14574
13929
  fromRelationalDatabaseBundleId: (0, smithy_client_1.expectString)(output.fromRelationalDatabaseBundleId),
14575
13930
  fromRelationalDatabaseName: (0, smithy_client_1.expectString)(output.fromRelationalDatabaseName),
14576
- location: output.location !== undefined && output.location !== null
14577
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14578
- : undefined,
13931
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14579
13932
  name: (0, smithy_client_1.expectString)(output.name),
14580
13933
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
14581
13934
  sizeInGb: (0, smithy_client_1.expectInt32)(output.sizeInGb),
14582
13935
  state: (0, smithy_client_1.expectString)(output.state),
14583
13936
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
14584
- tags: output.tags !== undefined && output.tags !== null
14585
- ? deserializeAws_json1_1TagList(output.tags, context)
14586
- : undefined,
13937
+ tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
14587
13938
  };
14588
13939
  };
14589
13940
  const deserializeAws_json1_1RelationalDatabaseSnapshotList = (output, context) => {
@@ -14599,31 +13950,23 @@ const deserializeAws_json1_1RelationalDatabaseSnapshotList = (output, context) =
14599
13950
  };
14600
13951
  const deserializeAws_json1_1ReleaseStaticIpResult = (output, context) => {
14601
13952
  return {
14602
- operations: output.operations !== undefined && output.operations !== null
14603
- ? deserializeAws_json1_1OperationList(output.operations, context)
14604
- : undefined,
13953
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14605
13954
  };
14606
13955
  };
14607
13956
  const deserializeAws_json1_1RenewalSummary = (output, context) => {
14608
13957
  return {
14609
- domainValidationRecords: output.domainValidationRecords !== undefined && output.domainValidationRecords !== null
13958
+ domainValidationRecords: output.domainValidationRecords != null
14610
13959
  ? deserializeAws_json1_1DomainValidationRecordList(output.domainValidationRecords, context)
14611
13960
  : undefined,
14612
13961
  renewalStatus: (0, smithy_client_1.expectString)(output.renewalStatus),
14613
13962
  renewalStatusReason: (0, smithy_client_1.expectString)(output.renewalStatusReason),
14614
- updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
14615
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
14616
- : undefined,
13963
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
14617
13964
  };
14618
13965
  };
14619
13966
  const deserializeAws_json1_1ResetDistributionCacheResult = (output, context) => {
14620
13967
  return {
14621
- createTime: output.createTime !== undefined && output.createTime !== null
14622
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
14623
- : undefined,
14624
- operation: output.operation !== undefined && output.operation !== null
14625
- ? deserializeAws_json1_1Operation(output.operation, context)
14626
- : undefined,
13968
+ createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
13969
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14627
13970
  status: (0, smithy_client_1.expectString)(output.status),
14628
13971
  };
14629
13972
  };
@@ -14648,9 +13991,7 @@ const deserializeAws_json1_1ResourceRecord = (output, context) => {
14648
13991
  };
14649
13992
  const deserializeAws_json1_1SendContactMethodVerificationResult = (output, context) => {
14650
13993
  return {
14651
- operations: output.operations !== undefined && output.operations !== null
14652
- ? deserializeAws_json1_1OperationList(output.operations, context)
14653
- : undefined,
13994
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14654
13995
  };
14655
13996
  };
14656
13997
  const deserializeAws_json1_1ServiceException = (output, context) => {
@@ -14663,44 +14004,32 @@ const deserializeAws_json1_1ServiceException = (output, context) => {
14663
14004
  };
14664
14005
  const deserializeAws_json1_1SetIpAddressTypeResult = (output, context) => {
14665
14006
  return {
14666
- operations: output.operations !== undefined && output.operations !== null
14667
- ? deserializeAws_json1_1OperationList(output.operations, context)
14668
- : undefined,
14007
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14669
14008
  };
14670
14009
  };
14671
14010
  const deserializeAws_json1_1SetResourceAccessForBucketResult = (output, context) => {
14672
14011
  return {
14673
- operations: output.operations !== undefined && output.operations !== null
14674
- ? deserializeAws_json1_1OperationList(output.operations, context)
14675
- : undefined,
14012
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14676
14013
  };
14677
14014
  };
14678
14015
  const deserializeAws_json1_1StartInstanceResult = (output, context) => {
14679
14016
  return {
14680
- operations: output.operations !== undefined && output.operations !== null
14681
- ? deserializeAws_json1_1OperationList(output.operations, context)
14682
- : undefined,
14017
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14683
14018
  };
14684
14019
  };
14685
14020
  const deserializeAws_json1_1StartRelationalDatabaseResult = (output, context) => {
14686
14021
  return {
14687
- operations: output.operations !== undefined && output.operations !== null
14688
- ? deserializeAws_json1_1OperationList(output.operations, context)
14689
- : undefined,
14022
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14690
14023
  };
14691
14024
  };
14692
14025
  const deserializeAws_json1_1StaticIp = (output, context) => {
14693
14026
  return {
14694
14027
  arn: (0, smithy_client_1.expectString)(output.arn),
14695
14028
  attachedTo: (0, smithy_client_1.expectString)(output.attachedTo),
14696
- createdAt: output.createdAt !== undefined && output.createdAt !== null
14697
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
14698
- : undefined,
14029
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
14699
14030
  ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
14700
14031
  isAttached: (0, smithy_client_1.expectBoolean)(output.isAttached),
14701
- location: output.location !== undefined && output.location !== null
14702
- ? deserializeAws_json1_1ResourceLocation(output.location, context)
14703
- : undefined,
14032
+ location: output.location != null ? deserializeAws_json1_1ResourceLocation(output.location, context) : undefined,
14704
14033
  name: (0, smithy_client_1.expectString)(output.name),
14705
14034
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
14706
14035
  supportCode: (0, smithy_client_1.expectString)(output.supportCode),
@@ -14719,16 +14048,12 @@ const deserializeAws_json1_1StaticIpList = (output, context) => {
14719
14048
  };
14720
14049
  const deserializeAws_json1_1StopInstanceResult = (output, context) => {
14721
14050
  return {
14722
- operations: output.operations !== undefined && output.operations !== null
14723
- ? deserializeAws_json1_1OperationList(output.operations, context)
14724
- : undefined,
14051
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14725
14052
  };
14726
14053
  };
14727
14054
  const deserializeAws_json1_1StopRelationalDatabaseResult = (output, context) => {
14728
14055
  return {
14729
- operations: output.operations !== undefined && output.operations !== null
14730
- ? deserializeAws_json1_1OperationList(output.operations, context)
14731
- : undefined,
14056
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14732
14057
  };
14733
14058
  };
14734
14059
  const deserializeAws_json1_1StringList = (output, context) => {
@@ -14772,16 +14097,12 @@ const deserializeAws_json1_1TagList = (output, context) => {
14772
14097
  };
14773
14098
  const deserializeAws_json1_1TagResourceResult = (output, context) => {
14774
14099
  return {
14775
- operations: output.operations !== undefined && output.operations !== null
14776
- ? deserializeAws_json1_1OperationList(output.operations, context)
14777
- : undefined,
14100
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14778
14101
  };
14779
14102
  };
14780
14103
  const deserializeAws_json1_1TestAlarmResult = (output, context) => {
14781
14104
  return {
14782
- operations: output.operations !== undefined && output.operations !== null
14783
- ? deserializeAws_json1_1OperationList(output.operations, context)
14784
- : undefined,
14105
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14785
14106
  };
14786
14107
  };
14787
14108
  const deserializeAws_json1_1UnauthenticatedException = (output, context) => {
@@ -14794,82 +14115,60 @@ const deserializeAws_json1_1UnauthenticatedException = (output, context) => {
14794
14115
  };
14795
14116
  const deserializeAws_json1_1UnpeerVpcResult = (output, context) => {
14796
14117
  return {
14797
- operation: output.operation !== undefined && output.operation !== null
14798
- ? deserializeAws_json1_1Operation(output.operation, context)
14799
- : undefined,
14118
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14800
14119
  };
14801
14120
  };
14802
14121
  const deserializeAws_json1_1UntagResourceResult = (output, context) => {
14803
14122
  return {
14804
- operations: output.operations !== undefined && output.operations !== null
14805
- ? deserializeAws_json1_1OperationList(output.operations, context)
14806
- : undefined,
14123
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14807
14124
  };
14808
14125
  };
14809
14126
  const deserializeAws_json1_1UpdateBucketBundleResult = (output, context) => {
14810
14127
  return {
14811
- operations: output.operations !== undefined && output.operations !== null
14812
- ? deserializeAws_json1_1OperationList(output.operations, context)
14813
- : undefined,
14128
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14814
14129
  };
14815
14130
  };
14816
14131
  const deserializeAws_json1_1UpdateBucketResult = (output, context) => {
14817
14132
  return {
14818
- bucket: output.bucket !== undefined && output.bucket !== null
14819
- ? deserializeAws_json1_1Bucket(output.bucket, context)
14820
- : undefined,
14821
- operations: output.operations !== undefined && output.operations !== null
14822
- ? deserializeAws_json1_1OperationList(output.operations, context)
14823
- : undefined,
14133
+ bucket: output.bucket != null ? deserializeAws_json1_1Bucket(output.bucket, context) : undefined,
14134
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14824
14135
  };
14825
14136
  };
14826
14137
  const deserializeAws_json1_1UpdateContainerServiceResult = (output, context) => {
14827
14138
  return {
14828
- containerService: output.containerService !== undefined && output.containerService !== null
14139
+ containerService: output.containerService != null
14829
14140
  ? deserializeAws_json1_1ContainerService(output.containerService, context)
14830
14141
  : undefined,
14831
14142
  };
14832
14143
  };
14833
14144
  const deserializeAws_json1_1UpdateDistributionBundleResult = (output, context) => {
14834
14145
  return {
14835
- operation: output.operation !== undefined && output.operation !== null
14836
- ? deserializeAws_json1_1Operation(output.operation, context)
14837
- : undefined,
14146
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14838
14147
  };
14839
14148
  };
14840
14149
  const deserializeAws_json1_1UpdateDistributionResult = (output, context) => {
14841
14150
  return {
14842
- operation: output.operation !== undefined && output.operation !== null
14843
- ? deserializeAws_json1_1Operation(output.operation, context)
14844
- : undefined,
14151
+ operation: output.operation != null ? deserializeAws_json1_1Operation(output.operation, context) : undefined,
14845
14152
  };
14846
14153
  };
14847
14154
  const deserializeAws_json1_1UpdateDomainEntryResult = (output, context) => {
14848
14155
  return {
14849
- operations: output.operations !== undefined && output.operations !== null
14850
- ? deserializeAws_json1_1OperationList(output.operations, context)
14851
- : undefined,
14156
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14852
14157
  };
14853
14158
  };
14854
14159
  const deserializeAws_json1_1UpdateLoadBalancerAttributeResult = (output, context) => {
14855
14160
  return {
14856
- operations: output.operations !== undefined && output.operations !== null
14857
- ? deserializeAws_json1_1OperationList(output.operations, context)
14858
- : undefined,
14161
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14859
14162
  };
14860
14163
  };
14861
14164
  const deserializeAws_json1_1UpdateRelationalDatabaseParametersResult = (output, context) => {
14862
14165
  return {
14863
- operations: output.operations !== undefined && output.operations !== null
14864
- ? deserializeAws_json1_1OperationList(output.operations, context)
14865
- : undefined,
14166
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14866
14167
  };
14867
14168
  };
14868
14169
  const deserializeAws_json1_1UpdateRelationalDatabaseResult = (output, context) => {
14869
14170
  return {
14870
- operations: output.operations !== undefined && output.operations !== null
14871
- ? deserializeAws_json1_1OperationList(output.operations, context)
14872
- : undefined,
14171
+ operations: output.operations != null ? deserializeAws_json1_1OperationList(output.operations, context) : undefined,
14873
14172
  };
14874
14173
  };
14875
14174
  const deserializeMetadata = (output) => {
@@ -14916,6 +14215,9 @@ const loadRestJsonErrorCode = (output, data) => {
14916
14215
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
14917
14216
  const sanitizeErrorCode = (rawValue) => {
14918
14217
  let cleanValue = rawValue;
14218
+ if (typeof cleanValue === "number") {
14219
+ cleanValue = cleanValue.toString();
14220
+ }
14919
14221
  if (cleanValue.indexOf(":") >= 0) {
14920
14222
  cleanValue = cleanValue.split(":")[0];
14921
14223
  }