@aws-sdk/client-securityhub 3.110.0 → 3.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  3. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  4. package/dist-cjs/commands/UpdateActionTargetCommand.js +3 -3
  5. package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +3 -3
  6. package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
  7. package/dist-cjs/commands/UpdateInsightCommand.js +3 -3
  8. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  9. package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +3 -3
  10. package/dist-cjs/commands/UpdateStandardsControlCommand.js +3 -3
  11. package/dist-cjs/models/index.js +1 -0
  12. package/dist-cjs/models/models_0.js +161 -161
  13. package/dist-cjs/models/models_1.js +276 -114
  14. package/dist-cjs/models/models_2.js +111 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +1490 -33
  16. package/dist-es/commands/TagResourceCommand.js +1 -1
  17. package/dist-es/commands/UntagResourceCommand.js +1 -1
  18. package/dist-es/commands/UpdateActionTargetCommand.js +1 -1
  19. package/dist-es/commands/UpdateFindingAggregatorCommand.js +1 -1
  20. package/dist-es/commands/UpdateFindingsCommand.js +1 -1
  21. package/dist-es/commands/UpdateInsightCommand.js +1 -1
  22. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +1 -1
  23. package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +1 -1
  24. package/dist-es/commands/UpdateStandardsControlCommand.js +1 -1
  25. package/dist-es/models/index.js +1 -0
  26. package/dist-es/models/models_0.js +104 -104
  27. package/dist-es/models/models_1.js +180 -72
  28. package/dist-es/models/models_2.js +73 -0
  29. package/dist-es/protocols/Aws_restJson1.js +1207 -19
  30. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  31. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateInsightCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
  39. package/dist-types/models/index.d.ts +1 -0
  40. package/dist-types/models/models_0.d.ts +1104 -975
  41. package/dist-types/models/models_1.d.ts +3525 -2223
  42. package/dist-types/models/models_2.d.ts +285 -0
  43. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/models/index.d.ts +1 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +509 -519
  54. package/dist-types/ts3.4/models/models_1.d.ts +839 -228
  55. package/dist-types/ts3.4/models/models_2.d.ts +164 -0
  56. package/package.json +3 -3
@@ -4871,6 +4871,65 @@ const serializeAws_restJson1AwsCertificateManagerCertificateResourceRecord = (in
4871
4871
  ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
4872
4872
  };
4873
4873
  };
4874
+ const serializeAws_restJson1AwsCloudFormationStackDetails = (input, context) => {
4875
+ return {
4876
+ ...(input.Capabilities !== undefined &&
4877
+ input.Capabilities !== null && {
4878
+ Capabilities: serializeAws_restJson1NonEmptyStringList(input.Capabilities, context),
4879
+ }),
4880
+ ...(input.CreationTime !== undefined && input.CreationTime !== null && { CreationTime: input.CreationTime }),
4881
+ ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
4882
+ ...(input.DisableRollback !== undefined &&
4883
+ input.DisableRollback !== null && { DisableRollback: input.DisableRollback }),
4884
+ ...(input.DriftInformation !== undefined &&
4885
+ input.DriftInformation !== null && {
4886
+ DriftInformation: serializeAws_restJson1AwsCloudFormationStackDriftInformationDetails(input.DriftInformation, context),
4887
+ }),
4888
+ ...(input.EnableTerminationProtection !== undefined &&
4889
+ input.EnableTerminationProtection !== null && { EnableTerminationProtection: input.EnableTerminationProtection }),
4890
+ ...(input.LastUpdatedTime !== undefined &&
4891
+ input.LastUpdatedTime !== null && { LastUpdatedTime: input.LastUpdatedTime }),
4892
+ ...(input.NotificationArns !== undefined &&
4893
+ input.NotificationArns !== null && {
4894
+ NotificationArns: serializeAws_restJson1NonEmptyStringList(input.NotificationArns, context),
4895
+ }),
4896
+ ...(input.Outputs !== undefined &&
4897
+ input.Outputs !== null && {
4898
+ Outputs: serializeAws_restJson1AwsCloudFormationStackOutputsList(input.Outputs, context),
4899
+ }),
4900
+ ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
4901
+ ...(input.StackId !== undefined && input.StackId !== null && { StackId: input.StackId }),
4902
+ ...(input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }),
4903
+ ...(input.StackStatus !== undefined && input.StackStatus !== null && { StackStatus: input.StackStatus }),
4904
+ ...(input.StackStatusReason !== undefined &&
4905
+ input.StackStatusReason !== null && { StackStatusReason: input.StackStatusReason }),
4906
+ ...(input.TimeoutInMinutes !== undefined &&
4907
+ input.TimeoutInMinutes !== null && { TimeoutInMinutes: input.TimeoutInMinutes }),
4908
+ };
4909
+ };
4910
+ const serializeAws_restJson1AwsCloudFormationStackDriftInformationDetails = (input, context) => {
4911
+ return {
4912
+ ...(input.StackDriftStatus !== undefined &&
4913
+ input.StackDriftStatus !== null && { StackDriftStatus: input.StackDriftStatus }),
4914
+ };
4915
+ };
4916
+ const serializeAws_restJson1AwsCloudFormationStackOutputsDetails = (input, context) => {
4917
+ return {
4918
+ ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
4919
+ ...(input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey }),
4920
+ ...(input.OutputValue !== undefined && input.OutputValue !== null && { OutputValue: input.OutputValue }),
4921
+ };
4922
+ };
4923
+ const serializeAws_restJson1AwsCloudFormationStackOutputsList = (input, context) => {
4924
+ return input
4925
+ .filter((e) => e != null)
4926
+ .map((entry) => {
4927
+ if (entry === null) {
4928
+ return null;
4929
+ }
4930
+ return serializeAws_restJson1AwsCloudFormationStackOutputsDetails(entry, context);
4931
+ });
4932
+ };
4874
4933
  const serializeAws_restJson1AwsCloudFrontDistributionCacheBehavior = (input, context) => {
4875
4934
  return {
4876
4935
  ...(input.ViewerProtocolPolicy !== undefined &&
@@ -4946,6 +5005,22 @@ const serializeAws_restJson1AwsCloudFrontDistributionLogging = (input, context)
4946
5005
  ...(input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix }),
4947
5006
  };
4948
5007
  };
5008
+ const serializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig = (input, context) => {
5009
+ return {
5010
+ ...(input.HttpPort !== undefined && input.HttpPort !== null && { HttpPort: input.HttpPort }),
5011
+ ...(input.HttpsPort !== undefined && input.HttpsPort !== null && { HttpsPort: input.HttpsPort }),
5012
+ ...(input.OriginKeepaliveTimeout !== undefined &&
5013
+ input.OriginKeepaliveTimeout !== null && { OriginKeepaliveTimeout: input.OriginKeepaliveTimeout }),
5014
+ ...(input.OriginProtocolPolicy !== undefined &&
5015
+ input.OriginProtocolPolicy !== null && { OriginProtocolPolicy: input.OriginProtocolPolicy }),
5016
+ ...(input.OriginReadTimeout !== undefined &&
5017
+ input.OriginReadTimeout !== null && { OriginReadTimeout: input.OriginReadTimeout }),
5018
+ ...(input.OriginSslProtocols !== undefined &&
5019
+ input.OriginSslProtocols !== null && {
5020
+ OriginSslProtocols: serializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols(input.OriginSslProtocols, context),
5021
+ }),
5022
+ };
5023
+ };
4949
5024
  const serializeAws_restJson1AwsCloudFrontDistributionOriginGroup = (input, context) => {
4950
5025
  return {
4951
5026
  ...(input.FailoverCriteria !== undefined &&
@@ -5001,6 +5076,10 @@ const serializeAws_restJson1AwsCloudFrontDistributionOriginGroupsItemList = (inp
5001
5076
  };
5002
5077
  const serializeAws_restJson1AwsCloudFrontDistributionOriginItem = (input, context) => {
5003
5078
  return {
5079
+ ...(input.CustomOriginConfig !== undefined &&
5080
+ input.CustomOriginConfig !== null && {
5081
+ CustomOriginConfig: serializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig(input.CustomOriginConfig, context),
5082
+ }),
5004
5083
  ...(input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName }),
5005
5084
  ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
5006
5085
  ...(input.OriginPath !== undefined && input.OriginPath !== null && { OriginPath: input.OriginPath }),
@@ -5034,6 +5113,13 @@ const serializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig = (inp
5034
5113
  input.OriginAccessIdentity !== null && { OriginAccessIdentity: input.OriginAccessIdentity }),
5035
5114
  };
5036
5115
  };
5116
+ const serializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols = (input, context) => {
5117
+ return {
5118
+ ...(input.Items !== undefined &&
5119
+ input.Items !== null && { Items: serializeAws_restJson1NonEmptyStringList(input.Items, context) }),
5120
+ ...(input.Quantity !== undefined && input.Quantity !== null && { Quantity: input.Quantity }),
5121
+ };
5122
+ };
5037
5123
  const serializeAws_restJson1AwsCloudFrontDistributionViewerCertificate = (input, context) => {
5038
5124
  return {
5039
5125
  ...(input.AcmCertificateArn !== undefined &&
@@ -5079,6 +5165,72 @@ const serializeAws_restJson1AwsCloudTrailTrailDetails = (input, context) => {
5079
5165
  ...(input.TrailArn !== undefined && input.TrailArn !== null && { TrailArn: input.TrailArn }),
5080
5166
  };
5081
5167
  };
5168
+ const serializeAws_restJson1AwsCloudWatchAlarmDetails = (input, context) => {
5169
+ return {
5170
+ ...(input.ActionsEnabled !== undefined &&
5171
+ input.ActionsEnabled !== null && { ActionsEnabled: input.ActionsEnabled }),
5172
+ ...(input.AlarmActions !== undefined &&
5173
+ input.AlarmActions !== null && {
5174
+ AlarmActions: serializeAws_restJson1NonEmptyStringList(input.AlarmActions, context),
5175
+ }),
5176
+ ...(input.AlarmArn !== undefined && input.AlarmArn !== null && { AlarmArn: input.AlarmArn }),
5177
+ ...(input.AlarmConfigurationUpdatedTimestamp !== undefined &&
5178
+ input.AlarmConfigurationUpdatedTimestamp !== null && {
5179
+ AlarmConfigurationUpdatedTimestamp: input.AlarmConfigurationUpdatedTimestamp,
5180
+ }),
5181
+ ...(input.AlarmDescription !== undefined &&
5182
+ input.AlarmDescription !== null && { AlarmDescription: input.AlarmDescription }),
5183
+ ...(input.AlarmName !== undefined && input.AlarmName !== null && { AlarmName: input.AlarmName }),
5184
+ ...(input.ComparisonOperator !== undefined &&
5185
+ input.ComparisonOperator !== null && { ComparisonOperator: input.ComparisonOperator }),
5186
+ ...(input.DatapointsToAlarm !== undefined &&
5187
+ input.DatapointsToAlarm !== null && { DatapointsToAlarm: input.DatapointsToAlarm }),
5188
+ ...(input.Dimensions !== undefined &&
5189
+ input.Dimensions !== null && {
5190
+ Dimensions: serializeAws_restJson1AwsCloudWatchAlarmDimensionsList(input.Dimensions, context),
5191
+ }),
5192
+ ...(input.EvaluateLowSampleCountPercentile !== undefined &&
5193
+ input.EvaluateLowSampleCountPercentile !== null && {
5194
+ EvaluateLowSampleCountPercentile: input.EvaluateLowSampleCountPercentile,
5195
+ }),
5196
+ ...(input.EvaluationPeriods !== undefined &&
5197
+ input.EvaluationPeriods !== null && { EvaluationPeriods: input.EvaluationPeriods }),
5198
+ ...(input.ExtendedStatistic !== undefined &&
5199
+ input.ExtendedStatistic !== null && { ExtendedStatistic: input.ExtendedStatistic }),
5200
+ ...(input.InsufficientDataActions !== undefined &&
5201
+ input.InsufficientDataActions !== null && {
5202
+ InsufficientDataActions: serializeAws_restJson1NonEmptyStringList(input.InsufficientDataActions, context),
5203
+ }),
5204
+ ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }),
5205
+ ...(input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace }),
5206
+ ...(input.OkActions !== undefined &&
5207
+ input.OkActions !== null && { OkActions: serializeAws_restJson1NonEmptyStringList(input.OkActions, context) }),
5208
+ ...(input.Period !== undefined && input.Period !== null && { Period: input.Period }),
5209
+ ...(input.Statistic !== undefined && input.Statistic !== null && { Statistic: input.Statistic }),
5210
+ ...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: (0, smithy_client_1.serializeFloat)(input.Threshold) }),
5211
+ ...(input.ThresholdMetricId !== undefined &&
5212
+ input.ThresholdMetricId !== null && { ThresholdMetricId: input.ThresholdMetricId }),
5213
+ ...(input.TreatMissingData !== undefined &&
5214
+ input.TreatMissingData !== null && { TreatMissingData: input.TreatMissingData }),
5215
+ ...(input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }),
5216
+ };
5217
+ };
5218
+ const serializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails = (input, context) => {
5219
+ return {
5220
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
5221
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
5222
+ };
5223
+ };
5224
+ const serializeAws_restJson1AwsCloudWatchAlarmDimensionsList = (input, context) => {
5225
+ return input
5226
+ .filter((e) => e != null)
5227
+ .map((entry) => {
5228
+ if (entry === null) {
5229
+ return null;
5230
+ }
5231
+ return serializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails(entry, context);
5232
+ });
5233
+ };
5082
5234
  const serializeAws_restJson1AwsCodeBuildProjectArtifactsDetails = (input, context) => {
5083
5235
  return {
5084
5236
  ...(input.ArtifactIdentifier !== undefined &&
@@ -5543,15 +5695,33 @@ const serializeAws_restJson1AwsEc2InstanceDetails = (input, context) => {
5543
5695
  }),
5544
5696
  ...(input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName }),
5545
5697
  ...(input.LaunchedAt !== undefined && input.LaunchedAt !== null && { LaunchedAt: input.LaunchedAt }),
5698
+ ...(input.MetadataOptions !== undefined &&
5699
+ input.MetadataOptions !== null && {
5700
+ MetadataOptions: serializeAws_restJson1AwsEc2InstanceMetadataOptions(input.MetadataOptions, context),
5701
+ }),
5546
5702
  ...(input.NetworkInterfaces !== undefined &&
5547
5703
  input.NetworkInterfaces !== null && {
5548
5704
  NetworkInterfaces: serializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(input.NetworkInterfaces, context),
5549
5705
  }),
5550
5706
  ...(input.SubnetId !== undefined && input.SubnetId !== null && { SubnetId: input.SubnetId }),
5551
5707
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
5708
+ ...(input.VirtualizationType !== undefined &&
5709
+ input.VirtualizationType !== null && { VirtualizationType: input.VirtualizationType }),
5552
5710
  ...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }),
5553
5711
  };
5554
5712
  };
5713
+ const serializeAws_restJson1AwsEc2InstanceMetadataOptions = (input, context) => {
5714
+ return {
5715
+ ...(input.HttpEndpoint !== undefined && input.HttpEndpoint !== null && { HttpEndpoint: input.HttpEndpoint }),
5716
+ ...(input.HttpProtocolIpv6 !== undefined &&
5717
+ input.HttpProtocolIpv6 !== null && { HttpProtocolIpv6: input.HttpProtocolIpv6 }),
5718
+ ...(input.HttpPutResponseHopLimit !== undefined &&
5719
+ input.HttpPutResponseHopLimit !== null && { HttpPutResponseHopLimit: input.HttpPutResponseHopLimit }),
5720
+ ...(input.HttpTokens !== undefined && input.HttpTokens !== null && { HttpTokens: input.HttpTokens }),
5721
+ ...(input.InstanceMetadataTags !== undefined &&
5722
+ input.InstanceMetadataTags !== null && { InstanceMetadataTags: input.InstanceMetadataTags }),
5723
+ };
5724
+ };
5555
5725
  const serializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (input, context) => {
5556
5726
  return {
5557
5727
  ...(input.NetworkInterfaceId !== undefined &&
@@ -5852,6 +6022,40 @@ const serializeAws_restJson1AwsEc2SubnetDetails = (input, context) => {
5852
6022
  ...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }),
5853
6023
  };
5854
6024
  };
6025
+ const serializeAws_restJson1AwsEc2TransitGatewayDetails = (input, context) => {
6026
+ return {
6027
+ ...(input.AmazonSideAsn !== undefined && input.AmazonSideAsn !== null && { AmazonSideAsn: input.AmazonSideAsn }),
6028
+ ...(input.AssociationDefaultRouteTableId !== undefined &&
6029
+ input.AssociationDefaultRouteTableId !== null && {
6030
+ AssociationDefaultRouteTableId: input.AssociationDefaultRouteTableId,
6031
+ }),
6032
+ ...(input.AutoAcceptSharedAttachments !== undefined &&
6033
+ input.AutoAcceptSharedAttachments !== null && { AutoAcceptSharedAttachments: input.AutoAcceptSharedAttachments }),
6034
+ ...(input.DefaultRouteTableAssociation !== undefined &&
6035
+ input.DefaultRouteTableAssociation !== null && {
6036
+ DefaultRouteTableAssociation: input.DefaultRouteTableAssociation,
6037
+ }),
6038
+ ...(input.DefaultRouteTablePropagation !== undefined &&
6039
+ input.DefaultRouteTablePropagation !== null && {
6040
+ DefaultRouteTablePropagation: input.DefaultRouteTablePropagation,
6041
+ }),
6042
+ ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
6043
+ ...(input.DnsSupport !== undefined && input.DnsSupport !== null && { DnsSupport: input.DnsSupport }),
6044
+ ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
6045
+ ...(input.MulticastSupport !== undefined &&
6046
+ input.MulticastSupport !== null && { MulticastSupport: input.MulticastSupport }),
6047
+ ...(input.PropagationDefaultRouteTableId !== undefined &&
6048
+ input.PropagationDefaultRouteTableId !== null && {
6049
+ PropagationDefaultRouteTableId: input.PropagationDefaultRouteTableId,
6050
+ }),
6051
+ ...(input.TransitGatewayCidrBlocks !== undefined &&
6052
+ input.TransitGatewayCidrBlocks !== null && {
6053
+ TransitGatewayCidrBlocks: serializeAws_restJson1NonEmptyStringList(input.TransitGatewayCidrBlocks, context),
6054
+ }),
6055
+ ...(input.VpnEcmpSupport !== undefined &&
6056
+ input.VpnEcmpSupport !== null && { VpnEcmpSupport: input.VpnEcmpSupport }),
6057
+ };
6058
+ };
5855
6059
  const serializeAws_restJson1AwsEc2VolumeAttachment = (input, context) => {
5856
6060
  return {
5857
6061
  ...(input.AttachTime !== undefined && input.AttachTime !== null && { AttachTime: input.AttachTime }),
@@ -5878,11 +6082,16 @@ const serializeAws_restJson1AwsEc2VolumeDetails = (input, context) => {
5878
6082
  Attachments: serializeAws_restJson1AwsEc2VolumeAttachmentList(input.Attachments, context),
5879
6083
  }),
5880
6084
  ...(input.CreateTime !== undefined && input.CreateTime !== null && { CreateTime: input.CreateTime }),
6085
+ ...(input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName }),
5881
6086
  ...(input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted }),
5882
6087
  ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
5883
6088
  ...(input.Size !== undefined && input.Size !== null && { Size: input.Size }),
5884
6089
  ...(input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }),
5885
6090
  ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
6091
+ ...(input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }),
6092
+ ...(input.VolumeScanStatus !== undefined &&
6093
+ input.VolumeScanStatus !== null && { VolumeScanStatus: input.VolumeScanStatus }),
6094
+ ...(input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }),
5886
6095
  };
5887
6096
  };
5888
6097
  const serializeAws_restJson1AwsEc2VpcDetails = (input, context) => {
@@ -5947,6 +6156,52 @@ const serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList = (input, co
5947
6156
  return serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeDetails(entry, context);
5948
6157
  });
5949
6158
  };
6159
+ const serializeAws_restJson1AwsEc2VpcPeeringConnectionDetails = (input, context) => {
6160
+ return {
6161
+ ...(input.AccepterVpcInfo !== undefined &&
6162
+ input.AccepterVpcInfo !== null && {
6163
+ AccepterVpcInfo: serializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(input.AccepterVpcInfo, context),
6164
+ }),
6165
+ ...(input.ExpirationTime !== undefined &&
6166
+ input.ExpirationTime !== null && { ExpirationTime: input.ExpirationTime }),
6167
+ ...(input.RequesterVpcInfo !== undefined &&
6168
+ input.RequesterVpcInfo !== null && {
6169
+ RequesterVpcInfo: serializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(input.RequesterVpcInfo, context),
6170
+ }),
6171
+ ...(input.Status !== undefined &&
6172
+ input.Status !== null && {
6173
+ Status: serializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails(input.Status, context),
6174
+ }),
6175
+ ...(input.VpcPeeringConnectionId !== undefined &&
6176
+ input.VpcPeeringConnectionId !== null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }),
6177
+ };
6178
+ };
6179
+ const serializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails = (input, context) => {
6180
+ return {
6181
+ ...(input.Code !== undefined && input.Code !== null && { Code: input.Code }),
6182
+ ...(input.Message !== undefined && input.Message !== null && { Message: input.Message }),
6183
+ };
6184
+ };
6185
+ const serializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails = (input, context) => {
6186
+ return {
6187
+ ...(input.CidrBlock !== undefined && input.CidrBlock !== null && { CidrBlock: input.CidrBlock }),
6188
+ ...(input.CidrBlockSet !== undefined &&
6189
+ input.CidrBlockSet !== null && {
6190
+ CidrBlockSet: serializeAws_restJson1VpcInfoCidrBlockSetList(input.CidrBlockSet, context),
6191
+ }),
6192
+ ...(input.Ipv6CidrBlockSet !== undefined &&
6193
+ input.Ipv6CidrBlockSet !== null && {
6194
+ Ipv6CidrBlockSet: serializeAws_restJson1VpcInfoIpv6CidrBlockSetList(input.Ipv6CidrBlockSet, context),
6195
+ }),
6196
+ ...(input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId }),
6197
+ ...(input.PeeringOptions !== undefined &&
6198
+ input.PeeringOptions !== null && {
6199
+ PeeringOptions: serializeAws_restJson1VpcInfoPeeringOptionsDetails(input.PeeringOptions, context),
6200
+ }),
6201
+ ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
6202
+ ...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }),
6203
+ };
6204
+ };
5950
6205
  const serializeAws_restJson1AwsEc2VpnConnectionDetails = (input, context) => {
5951
6206
  return {
5952
6207
  ...(input.Category !== undefined && input.Category !== null && { Category: input.Category }),
@@ -6195,10 +6450,14 @@ const serializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList = (
6195
6450
  };
6196
6451
  const serializeAws_restJson1AwsEcsClusterDetails = (input, context) => {
6197
6452
  return {
6453
+ ...(input.ActiveServicesCount !== undefined &&
6454
+ input.ActiveServicesCount !== null && { ActiveServicesCount: input.ActiveServicesCount }),
6198
6455
  ...(input.CapacityProviders !== undefined &&
6199
6456
  input.CapacityProviders !== null && {
6200
6457
  CapacityProviders: serializeAws_restJson1NonEmptyStringList(input.CapacityProviders, context),
6201
6458
  }),
6459
+ ...(input.ClusterArn !== undefined && input.ClusterArn !== null && { ClusterArn: input.ClusterArn }),
6460
+ ...(input.ClusterName !== undefined && input.ClusterName !== null && { ClusterName: input.ClusterName }),
6202
6461
  ...(input.ClusterSettings !== undefined &&
6203
6462
  input.ClusterSettings !== null && {
6204
6463
  ClusterSettings: serializeAws_restJson1AwsEcsClusterClusterSettingsList(input.ClusterSettings, context),
@@ -6211,8 +6470,36 @@ const serializeAws_restJson1AwsEcsClusterDetails = (input, context) => {
6211
6470
  input.DefaultCapacityProviderStrategy !== null && {
6212
6471
  DefaultCapacityProviderStrategy: serializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList(input.DefaultCapacityProviderStrategy, context),
6213
6472
  }),
6473
+ ...(input.RegisteredContainerInstancesCount !== undefined &&
6474
+ input.RegisteredContainerInstancesCount !== null && {
6475
+ RegisteredContainerInstancesCount: input.RegisteredContainerInstancesCount,
6476
+ }),
6477
+ ...(input.RunningTasksCount !== undefined &&
6478
+ input.RunningTasksCount !== null && { RunningTasksCount: input.RunningTasksCount }),
6479
+ ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
6480
+ };
6481
+ };
6482
+ const serializeAws_restJson1AwsEcsContainerDetails = (input, context) => {
6483
+ return {
6484
+ ...(input.Image !== undefined && input.Image !== null && { Image: input.Image }),
6485
+ ...(input.MountPoints !== undefined &&
6486
+ input.MountPoints !== null && {
6487
+ MountPoints: serializeAws_restJson1AwsMountPointList(input.MountPoints, context),
6488
+ }),
6489
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
6490
+ ...(input.Privileged !== undefined && input.Privileged !== null && { Privileged: input.Privileged }),
6214
6491
  };
6215
6492
  };
6493
+ const serializeAws_restJson1AwsEcsContainerDetailsList = (input, context) => {
6494
+ return input
6495
+ .filter((e) => e != null)
6496
+ .map((entry) => {
6497
+ if (entry === null) {
6498
+ return null;
6499
+ }
6500
+ return serializeAws_restJson1AwsEcsContainerDetails(entry, context);
6501
+ });
6502
+ };
6216
6503
  const serializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = (input, context) => {
6217
6504
  return {
6218
6505
  ...(input.Base !== undefined && input.Base !== null && { Base: input.Base }),
@@ -6977,6 +7264,88 @@ const serializeAws_restJson1AwsEcsTaskDefinitionVolumesList = (input, context) =
6977
7264
  return serializeAws_restJson1AwsEcsTaskDefinitionVolumesDetails(entry, context);
6978
7265
  });
6979
7266
  };
7267
+ const serializeAws_restJson1AwsEcsTaskDetails = (input, context) => {
7268
+ return {
7269
+ ...(input.ClusterArn !== undefined && input.ClusterArn !== null && { ClusterArn: input.ClusterArn }),
7270
+ ...(input.Containers !== undefined &&
7271
+ input.Containers !== null && {
7272
+ Containers: serializeAws_restJson1AwsEcsContainerDetailsList(input.Containers, context),
7273
+ }),
7274
+ ...(input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt }),
7275
+ ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
7276
+ ...(input.StartedAt !== undefined && input.StartedAt !== null && { StartedAt: input.StartedAt }),
7277
+ ...(input.StartedBy !== undefined && input.StartedBy !== null && { StartedBy: input.StartedBy }),
7278
+ ...(input.TaskDefinitionArn !== undefined &&
7279
+ input.TaskDefinitionArn !== null && { TaskDefinitionArn: input.TaskDefinitionArn }),
7280
+ ...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
7281
+ ...(input.Volumes !== undefined &&
7282
+ input.Volumes !== null && { Volumes: serializeAws_restJson1AwsEcsTaskVolumeDetailsList(input.Volumes, context) }),
7283
+ };
7284
+ };
7285
+ const serializeAws_restJson1AwsEcsTaskVolumeDetails = (input, context) => {
7286
+ return {
7287
+ ...(input.Host !== undefined &&
7288
+ input.Host !== null && { Host: serializeAws_restJson1AwsEcsTaskVolumeHostDetails(input.Host, context) }),
7289
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
7290
+ };
7291
+ };
7292
+ const serializeAws_restJson1AwsEcsTaskVolumeDetailsList = (input, context) => {
7293
+ return input
7294
+ .filter((e) => e != null)
7295
+ .map((entry) => {
7296
+ if (entry === null) {
7297
+ return null;
7298
+ }
7299
+ return serializeAws_restJson1AwsEcsTaskVolumeDetails(entry, context);
7300
+ });
7301
+ };
7302
+ const serializeAws_restJson1AwsEcsTaskVolumeHostDetails = (input, context) => {
7303
+ return {
7304
+ ...(input.SourcePath !== undefined && input.SourcePath !== null && { SourcePath: input.SourcePath }),
7305
+ };
7306
+ };
7307
+ const serializeAws_restJson1AwsEfsAccessPointDetails = (input, context) => {
7308
+ return {
7309
+ ...(input.AccessPointId !== undefined && input.AccessPointId !== null && { AccessPointId: input.AccessPointId }),
7310
+ ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
7311
+ ...(input.ClientToken !== undefined && input.ClientToken !== null && { ClientToken: input.ClientToken }),
7312
+ ...(input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }),
7313
+ ...(input.PosixUser !== undefined &&
7314
+ input.PosixUser !== null && {
7315
+ PosixUser: serializeAws_restJson1AwsEfsAccessPointPosixUserDetails(input.PosixUser, context),
7316
+ }),
7317
+ ...(input.RootDirectory !== undefined &&
7318
+ input.RootDirectory !== null && {
7319
+ RootDirectory: serializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails(input.RootDirectory, context),
7320
+ }),
7321
+ };
7322
+ };
7323
+ const serializeAws_restJson1AwsEfsAccessPointPosixUserDetails = (input, context) => {
7324
+ return {
7325
+ ...(input.Gid !== undefined && input.Gid !== null && { Gid: input.Gid }),
7326
+ ...(input.SecondaryGids !== undefined &&
7327
+ input.SecondaryGids !== null && {
7328
+ SecondaryGids: serializeAws_restJson1NonEmptyStringList(input.SecondaryGids, context),
7329
+ }),
7330
+ ...(input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid }),
7331
+ };
7332
+ };
7333
+ const serializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails = (input, context) => {
7334
+ return {
7335
+ ...(input.OwnerGid !== undefined && input.OwnerGid !== null && { OwnerGid: input.OwnerGid }),
7336
+ ...(input.OwnerUid !== undefined && input.OwnerUid !== null && { OwnerUid: input.OwnerUid }),
7337
+ ...(input.Permissions !== undefined && input.Permissions !== null && { Permissions: input.Permissions }),
7338
+ };
7339
+ };
7340
+ const serializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails = (input, context) => {
7341
+ return {
7342
+ ...(input.CreationInfo !== undefined &&
7343
+ input.CreationInfo !== null && {
7344
+ CreationInfo: serializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails(input.CreationInfo, context),
7345
+ }),
7346
+ ...(input.Path !== undefined && input.Path !== null && { Path: input.Path }),
7347
+ };
7348
+ };
6980
7349
  const serializeAws_restJson1AwsEksClusterDetails = (input, context) => {
6981
7350
  return {
6982
7351
  ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
@@ -7791,6 +8160,26 @@ const serializeAws_restJson1AwsIamUserPolicyList = (input, context) => {
7791
8160
  return serializeAws_restJson1AwsIamUserPolicy(entry, context);
7792
8161
  });
7793
8162
  };
8163
+ const serializeAws_restJson1AwsKinesisStreamDetails = (input, context) => {
8164
+ return {
8165
+ ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
8166
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
8167
+ ...(input.RetentionPeriodHours !== undefined &&
8168
+ input.RetentionPeriodHours !== null && { RetentionPeriodHours: input.RetentionPeriodHours }),
8169
+ ...(input.ShardCount !== undefined && input.ShardCount !== null && { ShardCount: input.ShardCount }),
8170
+ ...(input.StreamEncryption !== undefined &&
8171
+ input.StreamEncryption !== null && {
8172
+ StreamEncryption: serializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails(input.StreamEncryption, context),
8173
+ }),
8174
+ };
8175
+ };
8176
+ const serializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails = (input, context) => {
8177
+ return {
8178
+ ...(input.EncryptionType !== undefined &&
8179
+ input.EncryptionType !== null && { EncryptionType: input.EncryptionType }),
8180
+ ...(input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }),
8181
+ };
8182
+ };
7794
8183
  const serializeAws_restJson1AwsKmsKeyDetails = (input, context) => {
7795
8184
  return {
7796
8185
  ...(input.AWSAccountId !== undefined && input.AWSAccountId !== null && { AWSAccountId: input.AWSAccountId }),
@@ -7911,6 +8300,22 @@ const serializeAws_restJson1AwsLambdaLayerVersionDetails = (input, context) => {
7911
8300
  ...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
7912
8301
  };
7913
8302
  };
8303
+ const serializeAws_restJson1AwsMountPoint = (input, context) => {
8304
+ return {
8305
+ ...(input.ContainerPath !== undefined && input.ContainerPath !== null && { ContainerPath: input.ContainerPath }),
8306
+ ...(input.SourceVolume !== undefined && input.SourceVolume !== null && { SourceVolume: input.SourceVolume }),
8307
+ };
8308
+ };
8309
+ const serializeAws_restJson1AwsMountPointList = (input, context) => {
8310
+ return input
8311
+ .filter((e) => e != null)
8312
+ .map((entry) => {
8313
+ if (entry === null) {
8314
+ return null;
8315
+ }
8316
+ return serializeAws_restJson1AwsMountPoint(entry, context);
8317
+ });
8318
+ };
7914
8319
  const serializeAws_restJson1AwsNetworkFirewallFirewallDetails = (input, context) => {
7915
8320
  return {
7916
8321
  ...(input.DeleteProtection !== undefined &&
@@ -7976,6 +8381,17 @@ const serializeAws_restJson1AwsNetworkFirewallRuleGroupDetails = (input, context
7976
8381
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
7977
8382
  };
7978
8383
  };
8384
+ const serializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails = (input, context) => {
8385
+ return {
8386
+ ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
8387
+ ...(input.InternalUserDatabaseEnabled !== undefined &&
8388
+ input.InternalUserDatabaseEnabled !== null && { InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled }),
8389
+ ...(input.MasterUserOptions !== undefined &&
8390
+ input.MasterUserOptions !== null && {
8391
+ MasterUserOptions: serializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails(input.MasterUserOptions, context),
8392
+ }),
8393
+ };
8394
+ };
7979
8395
  const serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = (input, context) => {
7980
8396
  return {
7981
8397
  ...(input.DedicatedMasterCount !== undefined &&
@@ -8007,6 +8423,10 @@ const serializeAws_restJson1AwsOpenSearchServiceDomainDetails = (input, context)
8007
8423
  return {
8008
8424
  ...(input.AccessPolicies !== undefined &&
8009
8425
  input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies }),
8426
+ ...(input.AdvancedSecurityOptions !== undefined &&
8427
+ input.AdvancedSecurityOptions !== null && {
8428
+ AdvancedSecurityOptions: serializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails(input.AdvancedSecurityOptions, context),
8429
+ }),
8010
8430
  ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
8011
8431
  ...(input.ClusterConfig !== undefined &&
8012
8432
  input.ClusterConfig !== null && {
@@ -8091,6 +8511,15 @@ const serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetail
8091
8511
  }),
8092
8512
  };
8093
8513
  };
8514
+ const serializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails = (input, context) => {
8515
+ return {
8516
+ ...(input.MasterUserArn !== undefined && input.MasterUserArn !== null && { MasterUserArn: input.MasterUserArn }),
8517
+ ...(input.MasterUserName !== undefined &&
8518
+ input.MasterUserName !== null && { MasterUserName: input.MasterUserName }),
8519
+ ...(input.MasterUserPassword !== undefined &&
8520
+ input.MasterUserPassword !== null && { MasterUserPassword: input.MasterUserPassword }),
8521
+ };
8522
+ };
8094
8523
  const serializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails = (input, context) => {
8095
8524
  return {
8096
8525
  ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
@@ -9618,6 +10047,8 @@ const serializeAws_restJson1AwsSecurityFinding = (input, context) => {
9618
10047
  input.ThreatIntelIndicators !== null && {
9619
10048
  ThreatIntelIndicators: serializeAws_restJson1ThreatIntelIndicatorList(input.ThreatIntelIndicators, context),
9620
10049
  }),
10050
+ ...(input.Threats !== undefined &&
10051
+ input.Threats !== null && { Threats: serializeAws_restJson1ThreatList(input.Threats, context) }),
9621
10052
  ...(input.Title !== undefined && input.Title !== null && { Title: input.Title }),
9622
10053
  ...(input.Types !== undefined &&
9623
10054
  input.Types !== null && { Types: serializeAws_restJson1TypeList(input.Types, context) }),
@@ -10011,9 +10442,29 @@ const serializeAws_restJson1AwsSecurityFindingIdentifierList = (input, context)
10011
10442
  };
10012
10443
  const serializeAws_restJson1AwsSnsTopicDetails = (input, context) => {
10013
10444
  return {
10445
+ ...(input.ApplicationSuccessFeedbackRoleArn !== undefined &&
10446
+ input.ApplicationSuccessFeedbackRoleArn !== null && {
10447
+ ApplicationSuccessFeedbackRoleArn: input.ApplicationSuccessFeedbackRoleArn,
10448
+ }),
10449
+ ...(input.FirehoseFailureFeedbackRoleArn !== undefined &&
10450
+ input.FirehoseFailureFeedbackRoleArn !== null && {
10451
+ FirehoseFailureFeedbackRoleArn: input.FirehoseFailureFeedbackRoleArn,
10452
+ }),
10453
+ ...(input.FirehoseSuccessFeedbackRoleArn !== undefined &&
10454
+ input.FirehoseSuccessFeedbackRoleArn !== null && {
10455
+ FirehoseSuccessFeedbackRoleArn: input.FirehoseSuccessFeedbackRoleArn,
10456
+ }),
10457
+ ...(input.HttpFailureFeedbackRoleArn !== undefined &&
10458
+ input.HttpFailureFeedbackRoleArn !== null && { HttpFailureFeedbackRoleArn: input.HttpFailureFeedbackRoleArn }),
10459
+ ...(input.HttpSuccessFeedbackRoleArn !== undefined &&
10460
+ input.HttpSuccessFeedbackRoleArn !== null && { HttpSuccessFeedbackRoleArn: input.HttpSuccessFeedbackRoleArn }),
10014
10461
  ...(input.KmsMasterKeyId !== undefined &&
10015
10462
  input.KmsMasterKeyId !== null && { KmsMasterKeyId: input.KmsMasterKeyId }),
10016
10463
  ...(input.Owner !== undefined && input.Owner !== null && { Owner: input.Owner }),
10464
+ ...(input.SqsFailureFeedbackRoleArn !== undefined &&
10465
+ input.SqsFailureFeedbackRoleArn !== null && { SqsFailureFeedbackRoleArn: input.SqsFailureFeedbackRoleArn }),
10466
+ ...(input.SqsSuccessFeedbackRoleArn !== undefined &&
10467
+ input.SqsSuccessFeedbackRoleArn !== null && { SqsSuccessFeedbackRoleArn: input.SqsSuccessFeedbackRoleArn }),
10017
10468
  ...(input.Subscription !== undefined &&
10018
10469
  input.Subscription !== null && {
10019
10470
  Subscription: serializeAws_restJson1AwsSnsTopicSubscriptionList(input.Subscription, context),
@@ -10165,71 +10616,244 @@ const serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList = (inp
10165
10616
  return serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicate(entry, context);
10166
10617
  });
10167
10618
  };
10168
- const serializeAws_restJson1AwsWafWebAclDetails = (input, context) => {
10619
+ const serializeAws_restJson1AwsWafRegionalRuleDetails = (input, context) => {
10169
10620
  return {
10170
- ...(input.DefaultAction !== undefined && input.DefaultAction !== null && { DefaultAction: input.DefaultAction }),
10621
+ ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }),
10622
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10623
+ ...(input.PredicateList !== undefined &&
10624
+ input.PredicateList !== null && {
10625
+ PredicateList: serializeAws_restJson1AwsWafRegionalRulePredicateList(input.PredicateList, context),
10626
+ }),
10627
+ ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }),
10628
+ };
10629
+ };
10630
+ const serializeAws_restJson1AwsWafRegionalRuleGroupDetails = (input, context) => {
10631
+ return {
10632
+ ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }),
10171
10633
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10634
+ ...(input.RuleGroupId !== undefined && input.RuleGroupId !== null && { RuleGroupId: input.RuleGroupId }),
10172
10635
  ...(input.Rules !== undefined &&
10173
- input.Rules !== null && { Rules: serializeAws_restJson1AwsWafWebAclRuleList(input.Rules, context) }),
10174
- ...(input.WebAclId !== undefined && input.WebAclId !== null && { WebAclId: input.WebAclId }),
10636
+ input.Rules !== null && { Rules: serializeAws_restJson1AwsWafRegionalRuleGroupRulesList(input.Rules, context) }),
10175
10637
  };
10176
10638
  };
10177
- const serializeAws_restJson1AwsWafWebAclRule = (input, context) => {
10639
+ const serializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails = (input, context) => {
10640
+ return {
10641
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10642
+ };
10643
+ };
10644
+ const serializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails = (input, context) => {
10178
10645
  return {
10179
10646
  ...(input.Action !== undefined &&
10180
- input.Action !== null && { Action: serializeAws_restJson1WafAction(input.Action, context) }),
10181
- ...(input.ExcludedRules !== undefined &&
10182
- input.ExcludedRules !== null && {
10183
- ExcludedRules: serializeAws_restJson1WafExcludedRuleList(input.ExcludedRules, context),
10184
- }),
10185
- ...(input.OverrideAction !== undefined &&
10186
- input.OverrideAction !== null && {
10187
- OverrideAction: serializeAws_restJson1WafOverrideAction(input.OverrideAction, context),
10647
+ input.Action !== null && {
10648
+ Action: serializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails(input.Action, context),
10188
10649
  }),
10189
10650
  ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
10190
10651
  ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }),
10191
10652
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10192
10653
  };
10193
10654
  };
10194
- const serializeAws_restJson1AwsWafWebAclRuleList = (input, context) => {
10655
+ const serializeAws_restJson1AwsWafRegionalRuleGroupRulesList = (input, context) => {
10195
10656
  return input
10196
10657
  .filter((e) => e != null)
10197
10658
  .map((entry) => {
10198
10659
  if (entry === null) {
10199
10660
  return null;
10200
10661
  }
10201
- return serializeAws_restJson1AwsWafWebAclRule(entry, context);
10662
+ return serializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails(entry, context);
10202
10663
  });
10203
10664
  };
10204
- const serializeAws_restJson1AwsXrayEncryptionConfigDetails = (input, context) => {
10205
- return {
10206
- ...(input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }),
10207
- ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
10208
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10209
- };
10210
- };
10211
- const serializeAws_restJson1BatchImportFindingsRequestFindingList = (input, context) => {
10665
+ const serializeAws_restJson1AwsWafRegionalRulePredicateList = (input, context) => {
10212
10666
  return input
10213
10667
  .filter((e) => e != null)
10214
10668
  .map((entry) => {
10215
10669
  if (entry === null) {
10216
10670
  return null;
10217
10671
  }
10218
- return serializeAws_restJson1AwsSecurityFinding(entry, context);
10672
+ return serializeAws_restJson1AwsWafRegionalRulePredicateListDetails(entry, context);
10219
10673
  });
10220
10674
  };
10221
- const serializeAws_restJson1BooleanFilter = (input, context) => {
10675
+ const serializeAws_restJson1AwsWafRegionalRulePredicateListDetails = (input, context) => {
10222
10676
  return {
10223
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
10677
+ ...(input.DataId !== undefined && input.DataId !== null && { DataId: input.DataId }),
10678
+ ...(input.Negated !== undefined && input.Negated !== null && { Negated: input.Negated }),
10679
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10224
10680
  };
10225
10681
  };
10226
- const serializeAws_restJson1BooleanFilterList = (input, context) => {
10227
- return input
10228
- .filter((e) => e != null)
10229
- .map((entry) => {
10230
- if (entry === null) {
10231
- return null;
10232
- }
10682
+ const serializeAws_restJson1AwsWafRegionalWebAclDetails = (input, context) => {
10683
+ return {
10684
+ ...(input.DefaultAction !== undefined && input.DefaultAction !== null && { DefaultAction: input.DefaultAction }),
10685
+ ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }),
10686
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10687
+ ...(input.RulesList !== undefined &&
10688
+ input.RulesList !== null && {
10689
+ RulesList: serializeAws_restJson1AwsWafRegionalWebAclRulesList(input.RulesList, context),
10690
+ }),
10691
+ ...(input.WebAclId !== undefined && input.WebAclId !== null && { WebAclId: input.WebAclId }),
10692
+ };
10693
+ };
10694
+ const serializeAws_restJson1AwsWafRegionalWebAclRulesList = (input, context) => {
10695
+ return input
10696
+ .filter((e) => e != null)
10697
+ .map((entry) => {
10698
+ if (entry === null) {
10699
+ return null;
10700
+ }
10701
+ return serializeAws_restJson1AwsWafRegionalWebAclRulesListDetails(entry, context);
10702
+ });
10703
+ };
10704
+ const serializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails = (input, context) => {
10705
+ return {
10706
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10707
+ };
10708
+ };
10709
+ const serializeAws_restJson1AwsWafRegionalWebAclRulesListDetails = (input, context) => {
10710
+ return {
10711
+ ...(input.Action !== undefined &&
10712
+ input.Action !== null && {
10713
+ Action: serializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails(input.Action, context),
10714
+ }),
10715
+ ...(input.OverrideAction !== undefined &&
10716
+ input.OverrideAction !== null && {
10717
+ OverrideAction: serializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails(input.OverrideAction, context),
10718
+ }),
10719
+ ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
10720
+ ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }),
10721
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10722
+ };
10723
+ };
10724
+ const serializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails = (input, context) => {
10725
+ return {
10726
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10727
+ };
10728
+ };
10729
+ const serializeAws_restJson1AwsWafRuleDetails = (input, context) => {
10730
+ return {
10731
+ ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }),
10732
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10733
+ ...(input.PredicateList !== undefined &&
10734
+ input.PredicateList !== null && {
10735
+ PredicateList: serializeAws_restJson1AwsWafRulePredicateList(input.PredicateList, context),
10736
+ }),
10737
+ ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }),
10738
+ };
10739
+ };
10740
+ const serializeAws_restJson1AwsWafRuleGroupDetails = (input, context) => {
10741
+ return {
10742
+ ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }),
10743
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10744
+ ...(input.RuleGroupId !== undefined && input.RuleGroupId !== null && { RuleGroupId: input.RuleGroupId }),
10745
+ ...(input.Rules !== undefined &&
10746
+ input.Rules !== null && { Rules: serializeAws_restJson1AwsWafRuleGroupRulesList(input.Rules, context) }),
10747
+ };
10748
+ };
10749
+ const serializeAws_restJson1AwsWafRuleGroupRulesActionDetails = (input, context) => {
10750
+ return {
10751
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10752
+ };
10753
+ };
10754
+ const serializeAws_restJson1AwsWafRuleGroupRulesDetails = (input, context) => {
10755
+ return {
10756
+ ...(input.Action !== undefined &&
10757
+ input.Action !== null && {
10758
+ Action: serializeAws_restJson1AwsWafRuleGroupRulesActionDetails(input.Action, context),
10759
+ }),
10760
+ ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
10761
+ ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }),
10762
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10763
+ };
10764
+ };
10765
+ const serializeAws_restJson1AwsWafRuleGroupRulesList = (input, context) => {
10766
+ return input
10767
+ .filter((e) => e != null)
10768
+ .map((entry) => {
10769
+ if (entry === null) {
10770
+ return null;
10771
+ }
10772
+ return serializeAws_restJson1AwsWafRuleGroupRulesDetails(entry, context);
10773
+ });
10774
+ };
10775
+ const serializeAws_restJson1AwsWafRulePredicateList = (input, context) => {
10776
+ return input
10777
+ .filter((e) => e != null)
10778
+ .map((entry) => {
10779
+ if (entry === null) {
10780
+ return null;
10781
+ }
10782
+ return serializeAws_restJson1AwsWafRulePredicateListDetails(entry, context);
10783
+ });
10784
+ };
10785
+ const serializeAws_restJson1AwsWafRulePredicateListDetails = (input, context) => {
10786
+ return {
10787
+ ...(input.DataId !== undefined && input.DataId !== null && { DataId: input.DataId }),
10788
+ ...(input.Negated !== undefined && input.Negated !== null && { Negated: input.Negated }),
10789
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10790
+ };
10791
+ };
10792
+ const serializeAws_restJson1AwsWafWebAclDetails = (input, context) => {
10793
+ return {
10794
+ ...(input.DefaultAction !== undefined && input.DefaultAction !== null && { DefaultAction: input.DefaultAction }),
10795
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10796
+ ...(input.Rules !== undefined &&
10797
+ input.Rules !== null && { Rules: serializeAws_restJson1AwsWafWebAclRuleList(input.Rules, context) }),
10798
+ ...(input.WebAclId !== undefined && input.WebAclId !== null && { WebAclId: input.WebAclId }),
10799
+ };
10800
+ };
10801
+ const serializeAws_restJson1AwsWafWebAclRule = (input, context) => {
10802
+ return {
10803
+ ...(input.Action !== undefined &&
10804
+ input.Action !== null && { Action: serializeAws_restJson1WafAction(input.Action, context) }),
10805
+ ...(input.ExcludedRules !== undefined &&
10806
+ input.ExcludedRules !== null && {
10807
+ ExcludedRules: serializeAws_restJson1WafExcludedRuleList(input.ExcludedRules, context),
10808
+ }),
10809
+ ...(input.OverrideAction !== undefined &&
10810
+ input.OverrideAction !== null && {
10811
+ OverrideAction: serializeAws_restJson1WafOverrideAction(input.OverrideAction, context),
10812
+ }),
10813
+ ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
10814
+ ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }),
10815
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10816
+ };
10817
+ };
10818
+ const serializeAws_restJson1AwsWafWebAclRuleList = (input, context) => {
10819
+ return input
10820
+ .filter((e) => e != null)
10821
+ .map((entry) => {
10822
+ if (entry === null) {
10823
+ return null;
10824
+ }
10825
+ return serializeAws_restJson1AwsWafWebAclRule(entry, context);
10826
+ });
10827
+ };
10828
+ const serializeAws_restJson1AwsXrayEncryptionConfigDetails = (input, context) => {
10829
+ return {
10830
+ ...(input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }),
10831
+ ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
10832
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10833
+ };
10834
+ };
10835
+ const serializeAws_restJson1BatchImportFindingsRequestFindingList = (input, context) => {
10836
+ return input
10837
+ .filter((e) => e != null)
10838
+ .map((entry) => {
10839
+ if (entry === null) {
10840
+ return null;
10841
+ }
10842
+ return serializeAws_restJson1AwsSecurityFinding(entry, context);
10843
+ });
10844
+ };
10845
+ const serializeAws_restJson1BooleanFilter = (input, context) => {
10846
+ return {
10847
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
10848
+ };
10849
+ };
10850
+ const serializeAws_restJson1BooleanFilterList = (input, context) => {
10851
+ return input
10852
+ .filter((e) => e != null)
10853
+ .map((entry) => {
10854
+ if (entry === null) {
10855
+ return null;
10856
+ }
10233
10857
  return serializeAws_restJson1BooleanFilter(entry, context);
10234
10858
  });
10235
10859
  };
@@ -10314,10 +10938,17 @@ const serializeAws_restJson1Compliance = (input, context) => {
10314
10938
  };
10315
10939
  const serializeAws_restJson1ContainerDetails = (input, context) => {
10316
10940
  return {
10941
+ ...(input.ContainerRuntime !== undefined &&
10942
+ input.ContainerRuntime !== null && { ContainerRuntime: input.ContainerRuntime }),
10317
10943
  ...(input.ImageId !== undefined && input.ImageId !== null && { ImageId: input.ImageId }),
10318
10944
  ...(input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName }),
10319
10945
  ...(input.LaunchedAt !== undefined && input.LaunchedAt !== null && { LaunchedAt: input.LaunchedAt }),
10320
10946
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
10947
+ ...(input.Privileged !== undefined && input.Privileged !== null && { Privileged: input.Privileged }),
10948
+ ...(input.VolumeMounts !== undefined &&
10949
+ input.VolumeMounts !== null && {
10950
+ VolumeMounts: serializeAws_restJson1VolumeMountList(input.VolumeMounts, context),
10951
+ }),
10321
10952
  };
10322
10953
  };
10323
10954
  const serializeAws_restJson1Country = (input, context) => {
@@ -10424,6 +11055,24 @@ const serializeAws_restJson1FieldMap = (input, context) => {
10424
11055
  };
10425
11056
  }, {});
10426
11057
  };
11058
+ const serializeAws_restJson1FilePathList = (input, context) => {
11059
+ return input
11060
+ .filter((e) => e != null)
11061
+ .map((entry) => {
11062
+ if (entry === null) {
11063
+ return null;
11064
+ }
11065
+ return serializeAws_restJson1FilePaths(entry, context);
11066
+ });
11067
+ };
11068
+ const serializeAws_restJson1FilePaths = (input, context) => {
11069
+ return {
11070
+ ...(input.FileName !== undefined && input.FileName !== null && { FileName: input.FileName }),
11071
+ ...(input.FilePath !== undefined && input.FilePath !== null && { FilePath: input.FilePath }),
11072
+ ...(input.Hash !== undefined && input.Hash !== null && { Hash: input.Hash }),
11073
+ ...(input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }),
11074
+ };
11075
+ };
10427
11076
  const serializeAws_restJson1FindingProviderFields = (input, context) => {
10428
11077
  return {
10429
11078
  ...(input.Confidence !== undefined && input.Confidence !== null && { Confidence: input.Confidence }),
@@ -10998,6 +11647,10 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
10998
11647
  input.AwsCertificateManagerCertificate !== null && {
10999
11648
  AwsCertificateManagerCertificate: serializeAws_restJson1AwsCertificateManagerCertificateDetails(input.AwsCertificateManagerCertificate, context),
11000
11649
  }),
11650
+ ...(input.AwsCloudFormationStack !== undefined &&
11651
+ input.AwsCloudFormationStack !== null && {
11652
+ AwsCloudFormationStack: serializeAws_restJson1AwsCloudFormationStackDetails(input.AwsCloudFormationStack, context),
11653
+ }),
11001
11654
  ...(input.AwsCloudFrontDistribution !== undefined &&
11002
11655
  input.AwsCloudFrontDistribution !== null && {
11003
11656
  AwsCloudFrontDistribution: serializeAws_restJson1AwsCloudFrontDistributionDetails(input.AwsCloudFrontDistribution, context),
@@ -11006,6 +11659,10 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
11006
11659
  input.AwsCloudTrailTrail !== null && {
11007
11660
  AwsCloudTrailTrail: serializeAws_restJson1AwsCloudTrailTrailDetails(input.AwsCloudTrailTrail, context),
11008
11661
  }),
11662
+ ...(input.AwsCloudWatchAlarm !== undefined &&
11663
+ input.AwsCloudWatchAlarm !== null && {
11664
+ AwsCloudWatchAlarm: serializeAws_restJson1AwsCloudWatchAlarmDetails(input.AwsCloudWatchAlarm, context),
11665
+ }),
11009
11666
  ...(input.AwsCodeBuildProject !== undefined &&
11010
11667
  input.AwsCodeBuildProject !== null && {
11011
11668
  AwsCodeBuildProject: serializeAws_restJson1AwsCodeBuildProjectDetails(input.AwsCodeBuildProject, context),
@@ -11036,6 +11693,10 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
11036
11693
  input.AwsEc2Subnet !== null && {
11037
11694
  AwsEc2Subnet: serializeAws_restJson1AwsEc2SubnetDetails(input.AwsEc2Subnet, context),
11038
11695
  }),
11696
+ ...(input.AwsEc2TransitGateway !== undefined &&
11697
+ input.AwsEc2TransitGateway !== null && {
11698
+ AwsEc2TransitGateway: serializeAws_restJson1AwsEc2TransitGatewayDetails(input.AwsEc2TransitGateway, context),
11699
+ }),
11039
11700
  ...(input.AwsEc2Volume !== undefined &&
11040
11701
  input.AwsEc2Volume !== null && {
11041
11702
  AwsEc2Volume: serializeAws_restJson1AwsEc2VolumeDetails(input.AwsEc2Volume, context),
@@ -11046,6 +11707,10 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
11046
11707
  input.AwsEc2VpcEndpointService !== null && {
11047
11708
  AwsEc2VpcEndpointService: serializeAws_restJson1AwsEc2VpcEndpointServiceDetails(input.AwsEc2VpcEndpointService, context),
11048
11709
  }),
11710
+ ...(input.AwsEc2VpcPeeringConnection !== undefined &&
11711
+ input.AwsEc2VpcPeeringConnection !== null && {
11712
+ AwsEc2VpcPeeringConnection: serializeAws_restJson1AwsEc2VpcPeeringConnectionDetails(input.AwsEc2VpcPeeringConnection, context),
11713
+ }),
11049
11714
  ...(input.AwsEc2VpnConnection !== undefined &&
11050
11715
  input.AwsEc2VpnConnection !== null && {
11051
11716
  AwsEc2VpnConnection: serializeAws_restJson1AwsEc2VpnConnectionDetails(input.AwsEc2VpnConnection, context),
@@ -11062,14 +11727,24 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
11062
11727
  input.AwsEcsCluster !== null && {
11063
11728
  AwsEcsCluster: serializeAws_restJson1AwsEcsClusterDetails(input.AwsEcsCluster, context),
11064
11729
  }),
11730
+ ...(input.AwsEcsContainer !== undefined &&
11731
+ input.AwsEcsContainer !== null && {
11732
+ AwsEcsContainer: serializeAws_restJson1AwsEcsContainerDetails(input.AwsEcsContainer, context),
11733
+ }),
11065
11734
  ...(input.AwsEcsService !== undefined &&
11066
11735
  input.AwsEcsService !== null && {
11067
11736
  AwsEcsService: serializeAws_restJson1AwsEcsServiceDetails(input.AwsEcsService, context),
11068
11737
  }),
11738
+ ...(input.AwsEcsTask !== undefined &&
11739
+ input.AwsEcsTask !== null && { AwsEcsTask: serializeAws_restJson1AwsEcsTaskDetails(input.AwsEcsTask, context) }),
11069
11740
  ...(input.AwsEcsTaskDefinition !== undefined &&
11070
11741
  input.AwsEcsTaskDefinition !== null && {
11071
11742
  AwsEcsTaskDefinition: serializeAws_restJson1AwsEcsTaskDefinitionDetails(input.AwsEcsTaskDefinition, context),
11072
11743
  }),
11744
+ ...(input.AwsEfsAccessPoint !== undefined &&
11745
+ input.AwsEfsAccessPoint !== null && {
11746
+ AwsEfsAccessPoint: serializeAws_restJson1AwsEfsAccessPointDetails(input.AwsEfsAccessPoint, context),
11747
+ }),
11073
11748
  ...(input.AwsEksCluster !== undefined &&
11074
11749
  input.AwsEksCluster !== null && {
11075
11750
  AwsEksCluster: serializeAws_restJson1AwsEksClusterDetails(input.AwsEksCluster, context),
@@ -11106,6 +11781,10 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
11106
11781
  input.AwsIamRole !== null && { AwsIamRole: serializeAws_restJson1AwsIamRoleDetails(input.AwsIamRole, context) }),
11107
11782
  ...(input.AwsIamUser !== undefined &&
11108
11783
  input.AwsIamUser !== null && { AwsIamUser: serializeAws_restJson1AwsIamUserDetails(input.AwsIamUser, context) }),
11784
+ ...(input.AwsKinesisStream !== undefined &&
11785
+ input.AwsKinesisStream !== null && {
11786
+ AwsKinesisStream: serializeAws_restJson1AwsKinesisStreamDetails(input.AwsKinesisStream, context),
11787
+ }),
11109
11788
  ...(input.AwsKmsKey !== undefined &&
11110
11789
  input.AwsKmsKey !== null && { AwsKmsKey: serializeAws_restJson1AwsKmsKeyDetails(input.AwsKmsKey, context) }),
11111
11790
  ...(input.AwsLambdaFunction !== undefined &&
@@ -11196,6 +11875,24 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
11196
11875
  input.AwsWafRegionalRateBasedRule !== null && {
11197
11876
  AwsWafRegionalRateBasedRule: serializeAws_restJson1AwsWafRegionalRateBasedRuleDetails(input.AwsWafRegionalRateBasedRule, context),
11198
11877
  }),
11878
+ ...(input.AwsWafRegionalRule !== undefined &&
11879
+ input.AwsWafRegionalRule !== null && {
11880
+ AwsWafRegionalRule: serializeAws_restJson1AwsWafRegionalRuleDetails(input.AwsWafRegionalRule, context),
11881
+ }),
11882
+ ...(input.AwsWafRegionalRuleGroup !== undefined &&
11883
+ input.AwsWafRegionalRuleGroup !== null && {
11884
+ AwsWafRegionalRuleGroup: serializeAws_restJson1AwsWafRegionalRuleGroupDetails(input.AwsWafRegionalRuleGroup, context),
11885
+ }),
11886
+ ...(input.AwsWafRegionalWebAcl !== undefined &&
11887
+ input.AwsWafRegionalWebAcl !== null && {
11888
+ AwsWafRegionalWebAcl: serializeAws_restJson1AwsWafRegionalWebAclDetails(input.AwsWafRegionalWebAcl, context),
11889
+ }),
11890
+ ...(input.AwsWafRule !== undefined &&
11891
+ input.AwsWafRule !== null && { AwsWafRule: serializeAws_restJson1AwsWafRuleDetails(input.AwsWafRule, context) }),
11892
+ ...(input.AwsWafRuleGroup !== undefined &&
11893
+ input.AwsWafRuleGroup !== null && {
11894
+ AwsWafRuleGroup: serializeAws_restJson1AwsWafRuleGroupDetails(input.AwsWafRuleGroup, context),
11895
+ }),
11199
11896
  ...(input.AwsWafWebAcl !== undefined &&
11200
11897
  input.AwsWafWebAcl !== null && {
11201
11898
  AwsWafWebAcl: serializeAws_restJson1AwsWafWebAclDetails(input.AwsWafWebAcl, context),
@@ -11751,6 +12448,15 @@ const serializeAws_restJson1TagMap = (input, context) => {
11751
12448
  };
11752
12449
  }, {});
11753
12450
  };
12451
+ const serializeAws_restJson1Threat = (input, context) => {
12452
+ return {
12453
+ ...(input.FilePaths !== undefined &&
12454
+ input.FilePaths !== null && { FilePaths: serializeAws_restJson1FilePathList(input.FilePaths, context) }),
12455
+ ...(input.ItemCount !== undefined && input.ItemCount !== null && { ItemCount: input.ItemCount }),
12456
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
12457
+ ...(input.Severity !== undefined && input.Severity !== null && { Severity: input.Severity }),
12458
+ };
12459
+ };
11754
12460
  const serializeAws_restJson1ThreatIntelIndicator = (input, context) => {
11755
12461
  return {
11756
12462
  ...(input.Category !== undefined && input.Category !== null && { Category: input.Category }),
@@ -11772,6 +12478,16 @@ const serializeAws_restJson1ThreatIntelIndicatorList = (input, context) => {
11772
12478
  return serializeAws_restJson1ThreatIntelIndicator(entry, context);
11773
12479
  });
11774
12480
  };
12481
+ const serializeAws_restJson1ThreatList = (input, context) => {
12482
+ return input
12483
+ .filter((e) => e != null)
12484
+ .map((entry) => {
12485
+ if (entry === null) {
12486
+ return null;
12487
+ }
12488
+ return serializeAws_restJson1Threat(entry, context);
12489
+ });
12490
+ };
11775
12491
  const serializeAws_restJson1TypeList = (input, context) => {
11776
12492
  return input
11777
12493
  .filter((e) => e != null)
@@ -11782,6 +12498,68 @@ const serializeAws_restJson1TypeList = (input, context) => {
11782
12498
  return entry;
11783
12499
  });
11784
12500
  };
12501
+ const serializeAws_restJson1VolumeMount = (input, context) => {
12502
+ return {
12503
+ ...(input.MountPath !== undefined && input.MountPath !== null && { MountPath: input.MountPath }),
12504
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
12505
+ };
12506
+ };
12507
+ const serializeAws_restJson1VolumeMountList = (input, context) => {
12508
+ return input
12509
+ .filter((e) => e != null)
12510
+ .map((entry) => {
12511
+ if (entry === null) {
12512
+ return null;
12513
+ }
12514
+ return serializeAws_restJson1VolumeMount(entry, context);
12515
+ });
12516
+ };
12517
+ const serializeAws_restJson1VpcInfoCidrBlockSetDetails = (input, context) => {
12518
+ return {
12519
+ ...(input.CidrBlock !== undefined && input.CidrBlock !== null && { CidrBlock: input.CidrBlock }),
12520
+ };
12521
+ };
12522
+ const serializeAws_restJson1VpcInfoCidrBlockSetList = (input, context) => {
12523
+ return input
12524
+ .filter((e) => e != null)
12525
+ .map((entry) => {
12526
+ if (entry === null) {
12527
+ return null;
12528
+ }
12529
+ return serializeAws_restJson1VpcInfoCidrBlockSetDetails(entry, context);
12530
+ });
12531
+ };
12532
+ const serializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails = (input, context) => {
12533
+ return {
12534
+ ...(input.Ipv6CidrBlock !== undefined && input.Ipv6CidrBlock !== null && { Ipv6CidrBlock: input.Ipv6CidrBlock }),
12535
+ };
12536
+ };
12537
+ const serializeAws_restJson1VpcInfoIpv6CidrBlockSetList = (input, context) => {
12538
+ return input
12539
+ .filter((e) => e != null)
12540
+ .map((entry) => {
12541
+ if (entry === null) {
12542
+ return null;
12543
+ }
12544
+ return serializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails(entry, context);
12545
+ });
12546
+ };
12547
+ const serializeAws_restJson1VpcInfoPeeringOptionsDetails = (input, context) => {
12548
+ return {
12549
+ ...(input.AllowDnsResolutionFromRemoteVpc !== undefined &&
12550
+ input.AllowDnsResolutionFromRemoteVpc !== null && {
12551
+ AllowDnsResolutionFromRemoteVpc: input.AllowDnsResolutionFromRemoteVpc,
12552
+ }),
12553
+ ...(input.AllowEgressFromLocalClassicLinkToRemoteVpc !== undefined &&
12554
+ input.AllowEgressFromLocalClassicLinkToRemoteVpc !== null && {
12555
+ AllowEgressFromLocalClassicLinkToRemoteVpc: input.AllowEgressFromLocalClassicLinkToRemoteVpc,
12556
+ }),
12557
+ ...(input.AllowEgressFromLocalVpcToRemoteClassicLink !== undefined &&
12558
+ input.AllowEgressFromLocalVpcToRemoteClassicLink !== null && {
12559
+ AllowEgressFromLocalVpcToRemoteClassicLink: input.AllowEgressFromLocalVpcToRemoteClassicLink,
12560
+ }),
12561
+ };
12562
+ };
11785
12563
  const serializeAws_restJson1Vulnerability = (input, context) => {
11786
12564
  return {
11787
12565
  ...(input.Cvss !== undefined &&
@@ -12443,6 +13221,56 @@ const deserializeAws_restJson1AwsCertificateManagerCertificateResourceRecord = (
12443
13221
  Value: (0, smithy_client_1.expectString)(output.Value),
12444
13222
  };
12445
13223
  };
13224
+ const deserializeAws_restJson1AwsCloudFormationStackDetails = (output, context) => {
13225
+ return {
13226
+ Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
13227
+ ? deserializeAws_restJson1NonEmptyStringList(output.Capabilities, context)
13228
+ : undefined,
13229
+ CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
13230
+ Description: (0, smithy_client_1.expectString)(output.Description),
13231
+ DisableRollback: (0, smithy_client_1.expectBoolean)(output.DisableRollback),
13232
+ DriftInformation: output.DriftInformation !== undefined && output.DriftInformation !== null
13233
+ ? deserializeAws_restJson1AwsCloudFormationStackDriftInformationDetails(output.DriftInformation, context)
13234
+ : undefined,
13235
+ EnableTerminationProtection: (0, smithy_client_1.expectBoolean)(output.EnableTerminationProtection),
13236
+ LastUpdatedTime: (0, smithy_client_1.expectString)(output.LastUpdatedTime),
13237
+ NotificationArns: output.NotificationArns !== undefined && output.NotificationArns !== null
13238
+ ? deserializeAws_restJson1NonEmptyStringList(output.NotificationArns, context)
13239
+ : undefined,
13240
+ Outputs: output.Outputs !== undefined && output.Outputs !== null
13241
+ ? deserializeAws_restJson1AwsCloudFormationStackOutputsList(output.Outputs, context)
13242
+ : undefined,
13243
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
13244
+ StackId: (0, smithy_client_1.expectString)(output.StackId),
13245
+ StackName: (0, smithy_client_1.expectString)(output.StackName),
13246
+ StackStatus: (0, smithy_client_1.expectString)(output.StackStatus),
13247
+ StackStatusReason: (0, smithy_client_1.expectString)(output.StackStatusReason),
13248
+ TimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.TimeoutInMinutes),
13249
+ };
13250
+ };
13251
+ const deserializeAws_restJson1AwsCloudFormationStackDriftInformationDetails = (output, context) => {
13252
+ return {
13253
+ StackDriftStatus: (0, smithy_client_1.expectString)(output.StackDriftStatus),
13254
+ };
13255
+ };
13256
+ const deserializeAws_restJson1AwsCloudFormationStackOutputsDetails = (output, context) => {
13257
+ return {
13258
+ Description: (0, smithy_client_1.expectString)(output.Description),
13259
+ OutputKey: (0, smithy_client_1.expectString)(output.OutputKey),
13260
+ OutputValue: (0, smithy_client_1.expectString)(output.OutputValue),
13261
+ };
13262
+ };
13263
+ const deserializeAws_restJson1AwsCloudFormationStackOutputsList = (output, context) => {
13264
+ const retVal = (output || [])
13265
+ .filter((e) => e != null)
13266
+ .map((entry) => {
13267
+ if (entry === null) {
13268
+ return null;
13269
+ }
13270
+ return deserializeAws_restJson1AwsCloudFormationStackOutputsDetails(entry, context);
13271
+ });
13272
+ return retVal;
13273
+ };
12446
13274
  const deserializeAws_restJson1AwsCloudFrontDistributionCacheBehavior = (output, context) => {
12447
13275
  return {
12448
13276
  ViewerProtocolPolicy: (0, smithy_client_1.expectString)(output.ViewerProtocolPolicy),
@@ -12507,6 +13335,18 @@ const deserializeAws_restJson1AwsCloudFrontDistributionLogging = (output, contex
12507
13335
  Prefix: (0, smithy_client_1.expectString)(output.Prefix),
12508
13336
  };
12509
13337
  };
13338
+ const deserializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig = (output, context) => {
13339
+ return {
13340
+ HttpPort: (0, smithy_client_1.expectInt32)(output.HttpPort),
13341
+ HttpsPort: (0, smithy_client_1.expectInt32)(output.HttpsPort),
13342
+ OriginKeepaliveTimeout: (0, smithy_client_1.expectInt32)(output.OriginKeepaliveTimeout),
13343
+ OriginProtocolPolicy: (0, smithy_client_1.expectString)(output.OriginProtocolPolicy),
13344
+ OriginReadTimeout: (0, smithy_client_1.expectInt32)(output.OriginReadTimeout),
13345
+ OriginSslProtocols: output.OriginSslProtocols !== undefined && output.OriginSslProtocols !== null
13346
+ ? deserializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols(output.OriginSslProtocols, context)
13347
+ : undefined,
13348
+ };
13349
+ };
12510
13350
  const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroup = (output, context) => {
12511
13351
  return {
12512
13352
  FailoverCriteria: output.FailoverCriteria !== undefined && output.FailoverCriteria !== null
@@ -12560,6 +13400,9 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupsItemList = (o
12560
13400
  };
12561
13401
  const deserializeAws_restJson1AwsCloudFrontDistributionOriginItem = (output, context) => {
12562
13402
  return {
13403
+ CustomOriginConfig: output.CustomOriginConfig !== undefined && output.CustomOriginConfig !== null
13404
+ ? deserializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig(output.CustomOriginConfig, context)
13405
+ : undefined,
12563
13406
  DomainName: (0, smithy_client_1.expectString)(output.DomainName),
12564
13407
  Id: (0, smithy_client_1.expectString)(output.Id),
12565
13408
  OriginPath: (0, smithy_client_1.expectString)(output.OriginPath),
@@ -12591,6 +13434,14 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig = (o
12591
13434
  OriginAccessIdentity: (0, smithy_client_1.expectString)(output.OriginAccessIdentity),
12592
13435
  };
12593
13436
  };
13437
+ const deserializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols = (output, context) => {
13438
+ return {
13439
+ Items: output.Items !== undefined && output.Items !== null
13440
+ ? deserializeAws_restJson1NonEmptyStringList(output.Items, context)
13441
+ : undefined,
13442
+ Quantity: (0, smithy_client_1.expectInt32)(output.Quantity),
13443
+ };
13444
+ };
12594
13445
  const deserializeAws_restJson1AwsCloudFrontDistributionViewerCertificate = (output, context) => {
12595
13446
  return {
12596
13447
  AcmCertificateArn: (0, smithy_client_1.expectString)(output.AcmCertificateArn),
@@ -12621,6 +13472,57 @@ const deserializeAws_restJson1AwsCloudTrailTrailDetails = (output, context) => {
12621
13472
  TrailArn: (0, smithy_client_1.expectString)(output.TrailArn),
12622
13473
  };
12623
13474
  };
13475
+ const deserializeAws_restJson1AwsCloudWatchAlarmDetails = (output, context) => {
13476
+ return {
13477
+ ActionsEnabled: (0, smithy_client_1.expectBoolean)(output.ActionsEnabled),
13478
+ AlarmActions: output.AlarmActions !== undefined && output.AlarmActions !== null
13479
+ ? deserializeAws_restJson1NonEmptyStringList(output.AlarmActions, context)
13480
+ : undefined,
13481
+ AlarmArn: (0, smithy_client_1.expectString)(output.AlarmArn),
13482
+ AlarmConfigurationUpdatedTimestamp: (0, smithy_client_1.expectString)(output.AlarmConfigurationUpdatedTimestamp),
13483
+ AlarmDescription: (0, smithy_client_1.expectString)(output.AlarmDescription),
13484
+ AlarmName: (0, smithy_client_1.expectString)(output.AlarmName),
13485
+ ComparisonOperator: (0, smithy_client_1.expectString)(output.ComparisonOperator),
13486
+ DatapointsToAlarm: (0, smithy_client_1.expectInt32)(output.DatapointsToAlarm),
13487
+ Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
13488
+ ? deserializeAws_restJson1AwsCloudWatchAlarmDimensionsList(output.Dimensions, context)
13489
+ : undefined,
13490
+ EvaluateLowSampleCountPercentile: (0, smithy_client_1.expectString)(output.EvaluateLowSampleCountPercentile),
13491
+ EvaluationPeriods: (0, smithy_client_1.expectInt32)(output.EvaluationPeriods),
13492
+ ExtendedStatistic: (0, smithy_client_1.expectString)(output.ExtendedStatistic),
13493
+ InsufficientDataActions: output.InsufficientDataActions !== undefined && output.InsufficientDataActions !== null
13494
+ ? deserializeAws_restJson1NonEmptyStringList(output.InsufficientDataActions, context)
13495
+ : undefined,
13496
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
13497
+ Namespace: (0, smithy_client_1.expectString)(output.Namespace),
13498
+ OkActions: output.OkActions !== undefined && output.OkActions !== null
13499
+ ? deserializeAws_restJson1NonEmptyStringList(output.OkActions, context)
13500
+ : undefined,
13501
+ Period: (0, smithy_client_1.expectInt32)(output.Period),
13502
+ Statistic: (0, smithy_client_1.expectString)(output.Statistic),
13503
+ Threshold: (0, smithy_client_1.limitedParseDouble)(output.Threshold),
13504
+ ThresholdMetricId: (0, smithy_client_1.expectString)(output.ThresholdMetricId),
13505
+ TreatMissingData: (0, smithy_client_1.expectString)(output.TreatMissingData),
13506
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
13507
+ };
13508
+ };
13509
+ const deserializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails = (output, context) => {
13510
+ return {
13511
+ Name: (0, smithy_client_1.expectString)(output.Name),
13512
+ Value: (0, smithy_client_1.expectString)(output.Value),
13513
+ };
13514
+ };
13515
+ const deserializeAws_restJson1AwsCloudWatchAlarmDimensionsList = (output, context) => {
13516
+ const retVal = (output || [])
13517
+ .filter((e) => e != null)
13518
+ .map((entry) => {
13519
+ if (entry === null) {
13520
+ return null;
13521
+ }
13522
+ return deserializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails(entry, context);
13523
+ });
13524
+ return retVal;
13525
+ };
12624
13526
  const deserializeAws_restJson1AwsCodeBuildProjectArtifactsDetails = (output, context) => {
12625
13527
  return {
12626
13528
  ArtifactIdentifier: (0, smithy_client_1.expectString)(output.ArtifactIdentifier),
@@ -13019,14 +13921,27 @@ const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
13019
13921
  : undefined,
13020
13922
  KeyName: (0, smithy_client_1.expectString)(output.KeyName),
13021
13923
  LaunchedAt: (0, smithy_client_1.expectString)(output.LaunchedAt),
13924
+ MetadataOptions: output.MetadataOptions !== undefined && output.MetadataOptions !== null
13925
+ ? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
13926
+ : undefined,
13022
13927
  NetworkInterfaces: output.NetworkInterfaces !== undefined && output.NetworkInterfaces !== null
13023
13928
  ? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
13024
13929
  : undefined,
13025
13930
  SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
13026
13931
  Type: (0, smithy_client_1.expectString)(output.Type),
13932
+ VirtualizationType: (0, smithy_client_1.expectString)(output.VirtualizationType),
13027
13933
  VpcId: (0, smithy_client_1.expectString)(output.VpcId),
13028
13934
  };
13029
13935
  };
13936
+ const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context) => {
13937
+ return {
13938
+ HttpEndpoint: (0, smithy_client_1.expectString)(output.HttpEndpoint),
13939
+ HttpProtocolIpv6: (0, smithy_client_1.expectString)(output.HttpProtocolIpv6),
13940
+ HttpPutResponseHopLimit: (0, smithy_client_1.expectInt32)(output.HttpPutResponseHopLimit),
13941
+ HttpTokens: (0, smithy_client_1.expectString)(output.HttpTokens),
13942
+ InstanceMetadataTags: (0, smithy_client_1.expectString)(output.InstanceMetadataTags),
13943
+ };
13944
+ };
13030
13945
  const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
13031
13946
  return {
13032
13947
  NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
@@ -13315,6 +14230,24 @@ const deserializeAws_restJson1AwsEc2SubnetDetails = (output, context) => {
13315
14230
  VpcId: (0, smithy_client_1.expectString)(output.VpcId),
13316
14231
  };
13317
14232
  };
14233
+ const deserializeAws_restJson1AwsEc2TransitGatewayDetails = (output, context) => {
14234
+ return {
14235
+ AmazonSideAsn: (0, smithy_client_1.expectInt32)(output.AmazonSideAsn),
14236
+ AssociationDefaultRouteTableId: (0, smithy_client_1.expectString)(output.AssociationDefaultRouteTableId),
14237
+ AutoAcceptSharedAttachments: (0, smithy_client_1.expectString)(output.AutoAcceptSharedAttachments),
14238
+ DefaultRouteTableAssociation: (0, smithy_client_1.expectString)(output.DefaultRouteTableAssociation),
14239
+ DefaultRouteTablePropagation: (0, smithy_client_1.expectString)(output.DefaultRouteTablePropagation),
14240
+ Description: (0, smithy_client_1.expectString)(output.Description),
14241
+ DnsSupport: (0, smithy_client_1.expectString)(output.DnsSupport),
14242
+ Id: (0, smithy_client_1.expectString)(output.Id),
14243
+ MulticastSupport: (0, smithy_client_1.expectString)(output.MulticastSupport),
14244
+ PropagationDefaultRouteTableId: (0, smithy_client_1.expectString)(output.PropagationDefaultRouteTableId),
14245
+ TransitGatewayCidrBlocks: output.TransitGatewayCidrBlocks !== undefined && output.TransitGatewayCidrBlocks !== null
14246
+ ? deserializeAws_restJson1NonEmptyStringList(output.TransitGatewayCidrBlocks, context)
14247
+ : undefined,
14248
+ VpnEcmpSupport: (0, smithy_client_1.expectString)(output.VpnEcmpSupport),
14249
+ };
14250
+ };
13318
14251
  const deserializeAws_restJson1AwsEc2VolumeAttachment = (output, context) => {
13319
14252
  return {
13320
14253
  AttachTime: (0, smithy_client_1.expectString)(output.AttachTime),
@@ -13340,11 +14273,15 @@ const deserializeAws_restJson1AwsEc2VolumeDetails = (output, context) => {
13340
14273
  ? deserializeAws_restJson1AwsEc2VolumeAttachmentList(output.Attachments, context)
13341
14274
  : undefined,
13342
14275
  CreateTime: (0, smithy_client_1.expectString)(output.CreateTime),
14276
+ DeviceName: (0, smithy_client_1.expectString)(output.DeviceName),
13343
14277
  Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
13344
14278
  KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
13345
14279
  Size: (0, smithy_client_1.expectInt32)(output.Size),
13346
14280
  SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
13347
14281
  Status: (0, smithy_client_1.expectString)(output.Status),
14282
+ VolumeId: (0, smithy_client_1.expectString)(output.VolumeId),
14283
+ VolumeScanStatus: (0, smithy_client_1.expectString)(output.VolumeScanStatus),
14284
+ VolumeType: (0, smithy_client_1.expectString)(output.VolumeType),
13348
14285
  };
13349
14286
  };
13350
14287
  const deserializeAws_restJson1AwsEc2VpcDetails = (output, context) => {
@@ -13400,6 +14337,44 @@ const deserializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList = (output,
13400
14337
  });
13401
14338
  return retVal;
13402
14339
  };
14340
+ const deserializeAws_restJson1AwsEc2VpcPeeringConnectionDetails = (output, context) => {
14341
+ return {
14342
+ AccepterVpcInfo: output.AccepterVpcInfo !== undefined && output.AccepterVpcInfo !== null
14343
+ ? deserializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(output.AccepterVpcInfo, context)
14344
+ : undefined,
14345
+ ExpirationTime: (0, smithy_client_1.expectString)(output.ExpirationTime),
14346
+ RequesterVpcInfo: output.RequesterVpcInfo !== undefined && output.RequesterVpcInfo !== null
14347
+ ? deserializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(output.RequesterVpcInfo, context)
14348
+ : undefined,
14349
+ Status: output.Status !== undefined && output.Status !== null
14350
+ ? deserializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails(output.Status, context)
14351
+ : undefined,
14352
+ VpcPeeringConnectionId: (0, smithy_client_1.expectString)(output.VpcPeeringConnectionId),
14353
+ };
14354
+ };
14355
+ const deserializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails = (output, context) => {
14356
+ return {
14357
+ Code: (0, smithy_client_1.expectString)(output.Code),
14358
+ Message: (0, smithy_client_1.expectString)(output.Message),
14359
+ };
14360
+ };
14361
+ const deserializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails = (output, context) => {
14362
+ return {
14363
+ CidrBlock: (0, smithy_client_1.expectString)(output.CidrBlock),
14364
+ CidrBlockSet: output.CidrBlockSet !== undefined && output.CidrBlockSet !== null
14365
+ ? deserializeAws_restJson1VpcInfoCidrBlockSetList(output.CidrBlockSet, context)
14366
+ : undefined,
14367
+ Ipv6CidrBlockSet: output.Ipv6CidrBlockSet !== undefined && output.Ipv6CidrBlockSet !== null
14368
+ ? deserializeAws_restJson1VpcInfoIpv6CidrBlockSetList(output.Ipv6CidrBlockSet, context)
14369
+ : undefined,
14370
+ OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
14371
+ PeeringOptions: output.PeeringOptions !== undefined && output.PeeringOptions !== null
14372
+ ? deserializeAws_restJson1VpcInfoPeeringOptionsDetails(output.PeeringOptions, context)
14373
+ : undefined,
14374
+ Region: (0, smithy_client_1.expectString)(output.Region),
14375
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
14376
+ };
14377
+ };
13403
14378
  const deserializeAws_restJson1AwsEc2VpnConnectionDetails = (output, context) => {
13404
14379
  return {
13405
14380
  Category: (0, smithy_client_1.expectString)(output.Category),
@@ -13611,9 +14586,12 @@ const deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList =
13611
14586
  };
13612
14587
  const deserializeAws_restJson1AwsEcsClusterDetails = (output, context) => {
13613
14588
  return {
14589
+ ActiveServicesCount: (0, smithy_client_1.expectInt32)(output.ActiveServicesCount),
13614
14590
  CapacityProviders: output.CapacityProviders !== undefined && output.CapacityProviders !== null
13615
14591
  ? deserializeAws_restJson1NonEmptyStringList(output.CapacityProviders, context)
13616
14592
  : undefined,
14593
+ ClusterArn: (0, smithy_client_1.expectString)(output.ClusterArn),
14594
+ ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
13617
14595
  ClusterSettings: output.ClusterSettings !== undefined && output.ClusterSettings !== null
13618
14596
  ? deserializeAws_restJson1AwsEcsClusterClusterSettingsList(output.ClusterSettings, context)
13619
14597
  : undefined,
@@ -13623,8 +14601,32 @@ const deserializeAws_restJson1AwsEcsClusterDetails = (output, context) => {
13623
14601
  DefaultCapacityProviderStrategy: output.DefaultCapacityProviderStrategy !== undefined && output.DefaultCapacityProviderStrategy !== null
13624
14602
  ? deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList(output.DefaultCapacityProviderStrategy, context)
13625
14603
  : undefined,
14604
+ RegisteredContainerInstancesCount: (0, smithy_client_1.expectInt32)(output.RegisteredContainerInstancesCount),
14605
+ RunningTasksCount: (0, smithy_client_1.expectInt32)(output.RunningTasksCount),
14606
+ Status: (0, smithy_client_1.expectString)(output.Status),
14607
+ };
14608
+ };
14609
+ const deserializeAws_restJson1AwsEcsContainerDetails = (output, context) => {
14610
+ return {
14611
+ Image: (0, smithy_client_1.expectString)(output.Image),
14612
+ MountPoints: output.MountPoints !== undefined && output.MountPoints !== null
14613
+ ? deserializeAws_restJson1AwsMountPointList(output.MountPoints, context)
14614
+ : undefined,
14615
+ Name: (0, smithy_client_1.expectString)(output.Name),
14616
+ Privileged: (0, smithy_client_1.expectBoolean)(output.Privileged),
13626
14617
  };
13627
14618
  };
14619
+ const deserializeAws_restJson1AwsEcsContainerDetailsList = (output, context) => {
14620
+ const retVal = (output || [])
14621
+ .filter((e) => e != null)
14622
+ .map((entry) => {
14623
+ if (entry === null) {
14624
+ return null;
14625
+ }
14626
+ return deserializeAws_restJson1AwsEcsContainerDetails(entry, context);
14627
+ });
14628
+ return retVal;
14629
+ };
13628
14630
  const deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = (output, context) => {
13629
14631
  return {
13630
14632
  Base: (0, smithy_client_1.expectInt32)(output.Base),
@@ -14354,6 +15356,85 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesList = (output, context
14354
15356
  });
14355
15357
  return retVal;
14356
15358
  };
15359
+ const deserializeAws_restJson1AwsEcsTaskDetails = (output, context) => {
15360
+ return {
15361
+ ClusterArn: (0, smithy_client_1.expectString)(output.ClusterArn),
15362
+ Containers: output.Containers !== undefined && output.Containers !== null
15363
+ ? deserializeAws_restJson1AwsEcsContainerDetailsList(output.Containers, context)
15364
+ : undefined,
15365
+ CreatedAt: (0, smithy_client_1.expectString)(output.CreatedAt),
15366
+ Group: (0, smithy_client_1.expectString)(output.Group),
15367
+ StartedAt: (0, smithy_client_1.expectString)(output.StartedAt),
15368
+ StartedBy: (0, smithy_client_1.expectString)(output.StartedBy),
15369
+ TaskDefinitionArn: (0, smithy_client_1.expectString)(output.TaskDefinitionArn),
15370
+ Version: (0, smithy_client_1.expectString)(output.Version),
15371
+ Volumes: output.Volumes !== undefined && output.Volumes !== null
15372
+ ? deserializeAws_restJson1AwsEcsTaskVolumeDetailsList(output.Volumes, context)
15373
+ : undefined,
15374
+ };
15375
+ };
15376
+ const deserializeAws_restJson1AwsEcsTaskVolumeDetails = (output, context) => {
15377
+ return {
15378
+ Host: output.Host !== undefined && output.Host !== null
15379
+ ? deserializeAws_restJson1AwsEcsTaskVolumeHostDetails(output.Host, context)
15380
+ : undefined,
15381
+ Name: (0, smithy_client_1.expectString)(output.Name),
15382
+ };
15383
+ };
15384
+ const deserializeAws_restJson1AwsEcsTaskVolumeDetailsList = (output, context) => {
15385
+ const retVal = (output || [])
15386
+ .filter((e) => e != null)
15387
+ .map((entry) => {
15388
+ if (entry === null) {
15389
+ return null;
15390
+ }
15391
+ return deserializeAws_restJson1AwsEcsTaskVolumeDetails(entry, context);
15392
+ });
15393
+ return retVal;
15394
+ };
15395
+ const deserializeAws_restJson1AwsEcsTaskVolumeHostDetails = (output, context) => {
15396
+ return {
15397
+ SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
15398
+ };
15399
+ };
15400
+ const deserializeAws_restJson1AwsEfsAccessPointDetails = (output, context) => {
15401
+ return {
15402
+ AccessPointId: (0, smithy_client_1.expectString)(output.AccessPointId),
15403
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
15404
+ ClientToken: (0, smithy_client_1.expectString)(output.ClientToken),
15405
+ FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
15406
+ PosixUser: output.PosixUser !== undefined && output.PosixUser !== null
15407
+ ? deserializeAws_restJson1AwsEfsAccessPointPosixUserDetails(output.PosixUser, context)
15408
+ : undefined,
15409
+ RootDirectory: output.RootDirectory !== undefined && output.RootDirectory !== null
15410
+ ? deserializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails(output.RootDirectory, context)
15411
+ : undefined,
15412
+ };
15413
+ };
15414
+ const deserializeAws_restJson1AwsEfsAccessPointPosixUserDetails = (output, context) => {
15415
+ return {
15416
+ Gid: (0, smithy_client_1.expectString)(output.Gid),
15417
+ SecondaryGids: output.SecondaryGids !== undefined && output.SecondaryGids !== null
15418
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecondaryGids, context)
15419
+ : undefined,
15420
+ Uid: (0, smithy_client_1.expectString)(output.Uid),
15421
+ };
15422
+ };
15423
+ const deserializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails = (output, context) => {
15424
+ return {
15425
+ OwnerGid: (0, smithy_client_1.expectString)(output.OwnerGid),
15426
+ OwnerUid: (0, smithy_client_1.expectString)(output.OwnerUid),
15427
+ Permissions: (0, smithy_client_1.expectString)(output.Permissions),
15428
+ };
15429
+ };
15430
+ const deserializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails = (output, context) => {
15431
+ return {
15432
+ CreationInfo: output.CreationInfo !== undefined && output.CreationInfo !== null
15433
+ ? deserializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails(output.CreationInfo, context)
15434
+ : undefined,
15435
+ Path: (0, smithy_client_1.expectString)(output.Path),
15436
+ };
15437
+ };
14357
15438
  const deserializeAws_restJson1AwsEksClusterDetails = (output, context) => {
14358
15439
  return {
14359
15440
  Arn: (0, smithy_client_1.expectString)(output.Arn),
@@ -15102,6 +16183,23 @@ const deserializeAws_restJson1AwsIamUserPolicyList = (output, context) => {
15102
16183
  });
15103
16184
  return retVal;
15104
16185
  };
16186
+ const deserializeAws_restJson1AwsKinesisStreamDetails = (output, context) => {
16187
+ return {
16188
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
16189
+ Name: (0, smithy_client_1.expectString)(output.Name),
16190
+ RetentionPeriodHours: (0, smithy_client_1.expectInt32)(output.RetentionPeriodHours),
16191
+ ShardCount: (0, smithy_client_1.expectInt32)(output.ShardCount),
16192
+ StreamEncryption: output.StreamEncryption !== undefined && output.StreamEncryption !== null
16193
+ ? deserializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails(output.StreamEncryption, context)
16194
+ : undefined,
16195
+ };
16196
+ };
16197
+ const deserializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails = (output, context) => {
16198
+ return {
16199
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
16200
+ KeyId: (0, smithy_client_1.expectString)(output.KeyId),
16201
+ };
16202
+ };
15105
16203
  const deserializeAws_restJson1AwsKmsKeyDetails = (output, context) => {
15106
16204
  return {
15107
16205
  AWSAccountId: (0, smithy_client_1.expectString)(output.AWSAccountId),
@@ -15219,6 +16317,23 @@ const deserializeAws_restJson1AwsLambdaLayerVersionDetails = (output, context) =
15219
16317
  Version: (0, smithy_client_1.expectLong)(output.Version),
15220
16318
  };
15221
16319
  };
16320
+ const deserializeAws_restJson1AwsMountPoint = (output, context) => {
16321
+ return {
16322
+ ContainerPath: (0, smithy_client_1.expectString)(output.ContainerPath),
16323
+ SourceVolume: (0, smithy_client_1.expectString)(output.SourceVolume),
16324
+ };
16325
+ };
16326
+ const deserializeAws_restJson1AwsMountPointList = (output, context) => {
16327
+ const retVal = (output || [])
16328
+ .filter((e) => e != null)
16329
+ .map((entry) => {
16330
+ if (entry === null) {
16331
+ return null;
16332
+ }
16333
+ return deserializeAws_restJson1AwsMountPoint(entry, context);
16334
+ });
16335
+ return retVal;
16336
+ };
15222
16337
  const deserializeAws_restJson1AwsNetworkFirewallFirewallDetails = (output, context) => {
15223
16338
  return {
15224
16339
  DeleteProtection: (0, smithy_client_1.expectBoolean)(output.DeleteProtection),
@@ -15275,6 +16390,15 @@ const deserializeAws_restJson1AwsNetworkFirewallRuleGroupDetails = (output, cont
15275
16390
  Type: (0, smithy_client_1.expectString)(output.Type),
15276
16391
  };
15277
16392
  };
16393
+ const deserializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails = (output, context) => {
16394
+ return {
16395
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
16396
+ InternalUserDatabaseEnabled: (0, smithy_client_1.expectBoolean)(output.InternalUserDatabaseEnabled),
16397
+ MasterUserOptions: output.MasterUserOptions !== undefined && output.MasterUserOptions !== null
16398
+ ? deserializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails(output.MasterUserOptions, context)
16399
+ : undefined,
16400
+ };
16401
+ };
15278
16402
  const deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = (output, context) => {
15279
16403
  return {
15280
16404
  DedicatedMasterCount: (0, smithy_client_1.expectInt32)(output.DedicatedMasterCount),
@@ -15299,6 +16423,9 @@ const deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarene
15299
16423
  const deserializeAws_restJson1AwsOpenSearchServiceDomainDetails = (output, context) => {
15300
16424
  return {
15301
16425
  AccessPolicies: (0, smithy_client_1.expectString)(output.AccessPolicies),
16426
+ AdvancedSecurityOptions: output.AdvancedSecurityOptions !== undefined && output.AdvancedSecurityOptions !== null
16427
+ ? deserializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails(output.AdvancedSecurityOptions, context)
16428
+ : undefined,
15302
16429
  Arn: (0, smithy_client_1.expectString)(output.Arn),
15303
16430
  ClusterConfig: output.ClusterConfig !== undefined && output.ClusterConfig !== null
15304
16431
  ? deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails(output.ClusterConfig, context)
@@ -15364,6 +16491,13 @@ const deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDeta
15364
16491
  : undefined,
15365
16492
  };
15366
16493
  };
16494
+ const deserializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails = (output, context) => {
16495
+ return {
16496
+ MasterUserArn: (0, smithy_client_1.expectString)(output.MasterUserArn),
16497
+ MasterUserName: (0, smithy_client_1.expectString)(output.MasterUserName),
16498
+ MasterUserPassword: (0, smithy_client_1.expectString)(output.MasterUserPassword),
16499
+ };
16500
+ };
15367
16501
  const deserializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails = (output, context) => {
15368
16502
  return {
15369
16503
  Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
@@ -16624,6 +17758,9 @@ const deserializeAws_restJson1AwsSecurityFinding = (output, context) => {
16624
17758
  ThreatIntelIndicators: output.ThreatIntelIndicators !== undefined && output.ThreatIntelIndicators !== null
16625
17759
  ? deserializeAws_restJson1ThreatIntelIndicatorList(output.ThreatIntelIndicators, context)
16626
17760
  : undefined,
17761
+ Threats: output.Threats !== undefined && output.Threats !== null
17762
+ ? deserializeAws_restJson1ThreatList(output.Threats, context)
17763
+ : undefined,
16627
17764
  Title: (0, smithy_client_1.expectString)(output.Title),
16628
17765
  Types: output.Types !== undefined && output.Types !== null
16629
17766
  ? deserializeAws_restJson1TypeList(output.Types, context)
@@ -16965,8 +18102,15 @@ const deserializeAws_restJson1AwsSecurityFindingList = (output, context) => {
16965
18102
  };
16966
18103
  const deserializeAws_restJson1AwsSnsTopicDetails = (output, context) => {
16967
18104
  return {
18105
+ ApplicationSuccessFeedbackRoleArn: (0, smithy_client_1.expectString)(output.ApplicationSuccessFeedbackRoleArn),
18106
+ FirehoseFailureFeedbackRoleArn: (0, smithy_client_1.expectString)(output.FirehoseFailureFeedbackRoleArn),
18107
+ FirehoseSuccessFeedbackRoleArn: (0, smithy_client_1.expectString)(output.FirehoseSuccessFeedbackRoleArn),
18108
+ HttpFailureFeedbackRoleArn: (0, smithy_client_1.expectString)(output.HttpFailureFeedbackRoleArn),
18109
+ HttpSuccessFeedbackRoleArn: (0, smithy_client_1.expectString)(output.HttpSuccessFeedbackRoleArn),
16968
18110
  KmsMasterKeyId: (0, smithy_client_1.expectString)(output.KmsMasterKeyId),
16969
18111
  Owner: (0, smithy_client_1.expectString)(output.Owner),
18112
+ SqsFailureFeedbackRoleArn: (0, smithy_client_1.expectString)(output.SqsFailureFeedbackRoleArn),
18113
+ SqsSuccessFeedbackRoleArn: (0, smithy_client_1.expectString)(output.SqsSuccessFeedbackRoleArn),
16970
18114
  Subscription: output.Subscription !== undefined && output.Subscription !== null
16971
18115
  ? deserializeAws_restJson1AwsSnsTopicSubscriptionList(output.Subscription, context)
16972
18116
  : undefined,
@@ -17094,6 +18238,179 @@ const deserializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList = (o
17094
18238
  });
17095
18239
  return retVal;
17096
18240
  };
18241
+ const deserializeAws_restJson1AwsWafRegionalRuleDetails = (output, context) => {
18242
+ return {
18243
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
18244
+ Name: (0, smithy_client_1.expectString)(output.Name),
18245
+ PredicateList: output.PredicateList !== undefined && output.PredicateList !== null
18246
+ ? deserializeAws_restJson1AwsWafRegionalRulePredicateList(output.PredicateList, context)
18247
+ : undefined,
18248
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
18249
+ };
18250
+ };
18251
+ const deserializeAws_restJson1AwsWafRegionalRuleGroupDetails = (output, context) => {
18252
+ return {
18253
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
18254
+ Name: (0, smithy_client_1.expectString)(output.Name),
18255
+ RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
18256
+ Rules: output.Rules !== undefined && output.Rules !== null
18257
+ ? deserializeAws_restJson1AwsWafRegionalRuleGroupRulesList(output.Rules, context)
18258
+ : undefined,
18259
+ };
18260
+ };
18261
+ const deserializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails = (output, context) => {
18262
+ return {
18263
+ Type: (0, smithy_client_1.expectString)(output.Type),
18264
+ };
18265
+ };
18266
+ const deserializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails = (output, context) => {
18267
+ return {
18268
+ Action: output.Action !== undefined && output.Action !== null
18269
+ ? deserializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails(output.Action, context)
18270
+ : undefined,
18271
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
18272
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
18273
+ Type: (0, smithy_client_1.expectString)(output.Type),
18274
+ };
18275
+ };
18276
+ const deserializeAws_restJson1AwsWafRegionalRuleGroupRulesList = (output, context) => {
18277
+ const retVal = (output || [])
18278
+ .filter((e) => e != null)
18279
+ .map((entry) => {
18280
+ if (entry === null) {
18281
+ return null;
18282
+ }
18283
+ return deserializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails(entry, context);
18284
+ });
18285
+ return retVal;
18286
+ };
18287
+ const deserializeAws_restJson1AwsWafRegionalRulePredicateList = (output, context) => {
18288
+ const retVal = (output || [])
18289
+ .filter((e) => e != null)
18290
+ .map((entry) => {
18291
+ if (entry === null) {
18292
+ return null;
18293
+ }
18294
+ return deserializeAws_restJson1AwsWafRegionalRulePredicateListDetails(entry, context);
18295
+ });
18296
+ return retVal;
18297
+ };
18298
+ const deserializeAws_restJson1AwsWafRegionalRulePredicateListDetails = (output, context) => {
18299
+ return {
18300
+ DataId: (0, smithy_client_1.expectString)(output.DataId),
18301
+ Negated: (0, smithy_client_1.expectBoolean)(output.Negated),
18302
+ Type: (0, smithy_client_1.expectString)(output.Type),
18303
+ };
18304
+ };
18305
+ const deserializeAws_restJson1AwsWafRegionalWebAclDetails = (output, context) => {
18306
+ return {
18307
+ DefaultAction: (0, smithy_client_1.expectString)(output.DefaultAction),
18308
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
18309
+ Name: (0, smithy_client_1.expectString)(output.Name),
18310
+ RulesList: output.RulesList !== undefined && output.RulesList !== null
18311
+ ? deserializeAws_restJson1AwsWafRegionalWebAclRulesList(output.RulesList, context)
18312
+ : undefined,
18313
+ WebAclId: (0, smithy_client_1.expectString)(output.WebAclId),
18314
+ };
18315
+ };
18316
+ const deserializeAws_restJson1AwsWafRegionalWebAclRulesList = (output, context) => {
18317
+ const retVal = (output || [])
18318
+ .filter((e) => e != null)
18319
+ .map((entry) => {
18320
+ if (entry === null) {
18321
+ return null;
18322
+ }
18323
+ return deserializeAws_restJson1AwsWafRegionalWebAclRulesListDetails(entry, context);
18324
+ });
18325
+ return retVal;
18326
+ };
18327
+ const deserializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails = (output, context) => {
18328
+ return {
18329
+ Type: (0, smithy_client_1.expectString)(output.Type),
18330
+ };
18331
+ };
18332
+ const deserializeAws_restJson1AwsWafRegionalWebAclRulesListDetails = (output, context) => {
18333
+ return {
18334
+ Action: output.Action !== undefined && output.Action !== null
18335
+ ? deserializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails(output.Action, context)
18336
+ : undefined,
18337
+ OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
18338
+ ? deserializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails(output.OverrideAction, context)
18339
+ : undefined,
18340
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
18341
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
18342
+ Type: (0, smithy_client_1.expectString)(output.Type),
18343
+ };
18344
+ };
18345
+ const deserializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails = (output, context) => {
18346
+ return {
18347
+ Type: (0, smithy_client_1.expectString)(output.Type),
18348
+ };
18349
+ };
18350
+ const deserializeAws_restJson1AwsWafRuleDetails = (output, context) => {
18351
+ return {
18352
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
18353
+ Name: (0, smithy_client_1.expectString)(output.Name),
18354
+ PredicateList: output.PredicateList !== undefined && output.PredicateList !== null
18355
+ ? deserializeAws_restJson1AwsWafRulePredicateList(output.PredicateList, context)
18356
+ : undefined,
18357
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
18358
+ };
18359
+ };
18360
+ const deserializeAws_restJson1AwsWafRuleGroupDetails = (output, context) => {
18361
+ return {
18362
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
18363
+ Name: (0, smithy_client_1.expectString)(output.Name),
18364
+ RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
18365
+ Rules: output.Rules !== undefined && output.Rules !== null
18366
+ ? deserializeAws_restJson1AwsWafRuleGroupRulesList(output.Rules, context)
18367
+ : undefined,
18368
+ };
18369
+ };
18370
+ const deserializeAws_restJson1AwsWafRuleGroupRulesActionDetails = (output, context) => {
18371
+ return {
18372
+ Type: (0, smithy_client_1.expectString)(output.Type),
18373
+ };
18374
+ };
18375
+ const deserializeAws_restJson1AwsWafRuleGroupRulesDetails = (output, context) => {
18376
+ return {
18377
+ Action: output.Action !== undefined && output.Action !== null
18378
+ ? deserializeAws_restJson1AwsWafRuleGroupRulesActionDetails(output.Action, context)
18379
+ : undefined,
18380
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
18381
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
18382
+ Type: (0, smithy_client_1.expectString)(output.Type),
18383
+ };
18384
+ };
18385
+ const deserializeAws_restJson1AwsWafRuleGroupRulesList = (output, context) => {
18386
+ const retVal = (output || [])
18387
+ .filter((e) => e != null)
18388
+ .map((entry) => {
18389
+ if (entry === null) {
18390
+ return null;
18391
+ }
18392
+ return deserializeAws_restJson1AwsWafRuleGroupRulesDetails(entry, context);
18393
+ });
18394
+ return retVal;
18395
+ };
18396
+ const deserializeAws_restJson1AwsWafRulePredicateList = (output, context) => {
18397
+ const retVal = (output || [])
18398
+ .filter((e) => e != null)
18399
+ .map((entry) => {
18400
+ if (entry === null) {
18401
+ return null;
18402
+ }
18403
+ return deserializeAws_restJson1AwsWafRulePredicateListDetails(entry, context);
18404
+ });
18405
+ return retVal;
18406
+ };
18407
+ const deserializeAws_restJson1AwsWafRulePredicateListDetails = (output, context) => {
18408
+ return {
18409
+ DataId: (0, smithy_client_1.expectString)(output.DataId),
18410
+ Negated: (0, smithy_client_1.expectBoolean)(output.Negated),
18411
+ Type: (0, smithy_client_1.expectString)(output.Type),
18412
+ };
18413
+ };
17097
18414
  const deserializeAws_restJson1AwsWafWebAclDetails = (output, context) => {
17098
18415
  return {
17099
18416
  DefaultAction: (0, smithy_client_1.expectString)(output.DefaultAction),
@@ -17262,10 +18579,15 @@ const deserializeAws_restJson1Compliance = (output, context) => {
17262
18579
  };
17263
18580
  const deserializeAws_restJson1ContainerDetails = (output, context) => {
17264
18581
  return {
18582
+ ContainerRuntime: (0, smithy_client_1.expectString)(output.ContainerRuntime),
17265
18583
  ImageId: (0, smithy_client_1.expectString)(output.ImageId),
17266
18584
  ImageName: (0, smithy_client_1.expectString)(output.ImageName),
17267
18585
  LaunchedAt: (0, smithy_client_1.expectString)(output.LaunchedAt),
17268
18586
  Name: (0, smithy_client_1.expectString)(output.Name),
18587
+ Privileged: (0, smithy_client_1.expectBoolean)(output.Privileged),
18588
+ VolumeMounts: output.VolumeMounts !== undefined && output.VolumeMounts !== null
18589
+ ? deserializeAws_restJson1VolumeMountList(output.VolumeMounts, context)
18590
+ : undefined,
17269
18591
  };
17270
18592
  };
17271
18593
  const deserializeAws_restJson1Country = (output, context) => {
@@ -17377,6 +18699,25 @@ const deserializeAws_restJson1FieldMap = (output, context) => {
17377
18699
  };
17378
18700
  }, {});
17379
18701
  };
18702
+ const deserializeAws_restJson1FilePathList = (output, context) => {
18703
+ const retVal = (output || [])
18704
+ .filter((e) => e != null)
18705
+ .map((entry) => {
18706
+ if (entry === null) {
18707
+ return null;
18708
+ }
18709
+ return deserializeAws_restJson1FilePaths(entry, context);
18710
+ });
18711
+ return retVal;
18712
+ };
18713
+ const deserializeAws_restJson1FilePaths = (output, context) => {
18714
+ return {
18715
+ FileName: (0, smithy_client_1.expectString)(output.FileName),
18716
+ FilePath: (0, smithy_client_1.expectString)(output.FilePath),
18717
+ Hash: (0, smithy_client_1.expectString)(output.Hash),
18718
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
18719
+ };
18720
+ };
17380
18721
  const deserializeAws_restJson1FindingAggregator = (output, context) => {
17381
18722
  return {
17382
18723
  FindingAggregatorArn: (0, smithy_client_1.expectString)(output.FindingAggregatorArn),
@@ -18123,12 +19464,18 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
18123
19464
  AwsCertificateManagerCertificate: output.AwsCertificateManagerCertificate !== undefined && output.AwsCertificateManagerCertificate !== null
18124
19465
  ? deserializeAws_restJson1AwsCertificateManagerCertificateDetails(output.AwsCertificateManagerCertificate, context)
18125
19466
  : undefined,
19467
+ AwsCloudFormationStack: output.AwsCloudFormationStack !== undefined && output.AwsCloudFormationStack !== null
19468
+ ? deserializeAws_restJson1AwsCloudFormationStackDetails(output.AwsCloudFormationStack, context)
19469
+ : undefined,
18126
19470
  AwsCloudFrontDistribution: output.AwsCloudFrontDistribution !== undefined && output.AwsCloudFrontDistribution !== null
18127
19471
  ? deserializeAws_restJson1AwsCloudFrontDistributionDetails(output.AwsCloudFrontDistribution, context)
18128
19472
  : undefined,
18129
19473
  AwsCloudTrailTrail: output.AwsCloudTrailTrail !== undefined && output.AwsCloudTrailTrail !== null
18130
19474
  ? deserializeAws_restJson1AwsCloudTrailTrailDetails(output.AwsCloudTrailTrail, context)
18131
19475
  : undefined,
19476
+ AwsCloudWatchAlarm: output.AwsCloudWatchAlarm !== undefined && output.AwsCloudWatchAlarm !== null
19477
+ ? deserializeAws_restJson1AwsCloudWatchAlarmDetails(output.AwsCloudWatchAlarm, context)
19478
+ : undefined,
18132
19479
  AwsCodeBuildProject: output.AwsCodeBuildProject !== undefined && output.AwsCodeBuildProject !== null
18133
19480
  ? deserializeAws_restJson1AwsCodeBuildProjectDetails(output.AwsCodeBuildProject, context)
18134
19481
  : undefined,
@@ -18153,6 +19500,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
18153
19500
  AwsEc2Subnet: output.AwsEc2Subnet !== undefined && output.AwsEc2Subnet !== null
18154
19501
  ? deserializeAws_restJson1AwsEc2SubnetDetails(output.AwsEc2Subnet, context)
18155
19502
  : undefined,
19503
+ AwsEc2TransitGateway: output.AwsEc2TransitGateway !== undefined && output.AwsEc2TransitGateway !== null
19504
+ ? deserializeAws_restJson1AwsEc2TransitGatewayDetails(output.AwsEc2TransitGateway, context)
19505
+ : undefined,
18156
19506
  AwsEc2Volume: output.AwsEc2Volume !== undefined && output.AwsEc2Volume !== null
18157
19507
  ? deserializeAws_restJson1AwsEc2VolumeDetails(output.AwsEc2Volume, context)
18158
19508
  : undefined,
@@ -18162,6 +19512,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
18162
19512
  AwsEc2VpcEndpointService: output.AwsEc2VpcEndpointService !== undefined && output.AwsEc2VpcEndpointService !== null
18163
19513
  ? deserializeAws_restJson1AwsEc2VpcEndpointServiceDetails(output.AwsEc2VpcEndpointService, context)
18164
19514
  : undefined,
19515
+ AwsEc2VpcPeeringConnection: output.AwsEc2VpcPeeringConnection !== undefined && output.AwsEc2VpcPeeringConnection !== null
19516
+ ? deserializeAws_restJson1AwsEc2VpcPeeringConnectionDetails(output.AwsEc2VpcPeeringConnection, context)
19517
+ : undefined,
18165
19518
  AwsEc2VpnConnection: output.AwsEc2VpnConnection !== undefined && output.AwsEc2VpnConnection !== null
18166
19519
  ? deserializeAws_restJson1AwsEc2VpnConnectionDetails(output.AwsEc2VpnConnection, context)
18167
19520
  : undefined,
@@ -18174,12 +19527,21 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
18174
19527
  AwsEcsCluster: output.AwsEcsCluster !== undefined && output.AwsEcsCluster !== null
18175
19528
  ? deserializeAws_restJson1AwsEcsClusterDetails(output.AwsEcsCluster, context)
18176
19529
  : undefined,
19530
+ AwsEcsContainer: output.AwsEcsContainer !== undefined && output.AwsEcsContainer !== null
19531
+ ? deserializeAws_restJson1AwsEcsContainerDetails(output.AwsEcsContainer, context)
19532
+ : undefined,
18177
19533
  AwsEcsService: output.AwsEcsService !== undefined && output.AwsEcsService !== null
18178
19534
  ? deserializeAws_restJson1AwsEcsServiceDetails(output.AwsEcsService, context)
18179
19535
  : undefined,
19536
+ AwsEcsTask: output.AwsEcsTask !== undefined && output.AwsEcsTask !== null
19537
+ ? deserializeAws_restJson1AwsEcsTaskDetails(output.AwsEcsTask, context)
19538
+ : undefined,
18180
19539
  AwsEcsTaskDefinition: output.AwsEcsTaskDefinition !== undefined && output.AwsEcsTaskDefinition !== null
18181
19540
  ? deserializeAws_restJson1AwsEcsTaskDefinitionDetails(output.AwsEcsTaskDefinition, context)
18182
19541
  : undefined,
19542
+ AwsEfsAccessPoint: output.AwsEfsAccessPoint !== undefined && output.AwsEfsAccessPoint !== null
19543
+ ? deserializeAws_restJson1AwsEfsAccessPointDetails(output.AwsEfsAccessPoint, context)
19544
+ : undefined,
18183
19545
  AwsEksCluster: output.AwsEksCluster !== undefined && output.AwsEksCluster !== null
18184
19546
  ? deserializeAws_restJson1AwsEksClusterDetails(output.AwsEksCluster, context)
18185
19547
  : undefined,
@@ -18210,6 +19572,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
18210
19572
  AwsIamUser: output.AwsIamUser !== undefined && output.AwsIamUser !== null
18211
19573
  ? deserializeAws_restJson1AwsIamUserDetails(output.AwsIamUser, context)
18212
19574
  : undefined,
19575
+ AwsKinesisStream: output.AwsKinesisStream !== undefined && output.AwsKinesisStream !== null
19576
+ ? deserializeAws_restJson1AwsKinesisStreamDetails(output.AwsKinesisStream, context)
19577
+ : undefined,
18213
19578
  AwsKmsKey: output.AwsKmsKey !== undefined && output.AwsKmsKey !== null
18214
19579
  ? deserializeAws_restJson1AwsKmsKeyDetails(output.AwsKmsKey, context)
18215
19580
  : undefined,
@@ -18279,6 +19644,21 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
18279
19644
  AwsWafRegionalRateBasedRule: output.AwsWafRegionalRateBasedRule !== undefined && output.AwsWafRegionalRateBasedRule !== null
18280
19645
  ? deserializeAws_restJson1AwsWafRegionalRateBasedRuleDetails(output.AwsWafRegionalRateBasedRule, context)
18281
19646
  : undefined,
19647
+ AwsWafRegionalRule: output.AwsWafRegionalRule !== undefined && output.AwsWafRegionalRule !== null
19648
+ ? deserializeAws_restJson1AwsWafRegionalRuleDetails(output.AwsWafRegionalRule, context)
19649
+ : undefined,
19650
+ AwsWafRegionalRuleGroup: output.AwsWafRegionalRuleGroup !== undefined && output.AwsWafRegionalRuleGroup !== null
19651
+ ? deserializeAws_restJson1AwsWafRegionalRuleGroupDetails(output.AwsWafRegionalRuleGroup, context)
19652
+ : undefined,
19653
+ AwsWafRegionalWebAcl: output.AwsWafRegionalWebAcl !== undefined && output.AwsWafRegionalWebAcl !== null
19654
+ ? deserializeAws_restJson1AwsWafRegionalWebAclDetails(output.AwsWafRegionalWebAcl, context)
19655
+ : undefined,
19656
+ AwsWafRule: output.AwsWafRule !== undefined && output.AwsWafRule !== null
19657
+ ? deserializeAws_restJson1AwsWafRuleDetails(output.AwsWafRule, context)
19658
+ : undefined,
19659
+ AwsWafRuleGroup: output.AwsWafRuleGroup !== undefined && output.AwsWafRuleGroup !== null
19660
+ ? deserializeAws_restJson1AwsWafRuleGroupDetails(output.AwsWafRuleGroup, context)
19661
+ : undefined,
18282
19662
  AwsWafWebAcl: output.AwsWafWebAcl !== undefined && output.AwsWafWebAcl !== null
18283
19663
  ? deserializeAws_restJson1AwsWafWebAclDetails(output.AwsWafWebAcl, context)
18284
19664
  : undefined,
@@ -18875,6 +20255,16 @@ const deserializeAws_restJson1TagMap = (output, context) => {
18875
20255
  };
18876
20256
  }, {});
18877
20257
  };
20258
+ const deserializeAws_restJson1Threat = (output, context) => {
20259
+ return {
20260
+ FilePaths: output.FilePaths !== undefined && output.FilePaths !== null
20261
+ ? deserializeAws_restJson1FilePathList(output.FilePaths, context)
20262
+ : undefined,
20263
+ ItemCount: (0, smithy_client_1.expectInt32)(output.ItemCount),
20264
+ Name: (0, smithy_client_1.expectString)(output.Name),
20265
+ Severity: (0, smithy_client_1.expectString)(output.Severity),
20266
+ };
20267
+ };
18878
20268
  const deserializeAws_restJson1ThreatIntelIndicator = (output, context) => {
18879
20269
  return {
18880
20270
  Category: (0, smithy_client_1.expectString)(output.Category),
@@ -18896,6 +20286,17 @@ const deserializeAws_restJson1ThreatIntelIndicatorList = (output, context) => {
18896
20286
  });
18897
20287
  return retVal;
18898
20288
  };
20289
+ const deserializeAws_restJson1ThreatList = (output, context) => {
20290
+ const retVal = (output || [])
20291
+ .filter((e) => e != null)
20292
+ .map((entry) => {
20293
+ if (entry === null) {
20294
+ return null;
20295
+ }
20296
+ return deserializeAws_restJson1Threat(entry, context);
20297
+ });
20298
+ return retVal;
20299
+ };
18899
20300
  const deserializeAws_restJson1TypeList = (output, context) => {
18900
20301
  const retVal = (output || [])
18901
20302
  .filter((e) => e != null)
@@ -18907,6 +20308,62 @@ const deserializeAws_restJson1TypeList = (output, context) => {
18907
20308
  });
18908
20309
  return retVal;
18909
20310
  };
20311
+ const deserializeAws_restJson1VolumeMount = (output, context) => {
20312
+ return {
20313
+ MountPath: (0, smithy_client_1.expectString)(output.MountPath),
20314
+ Name: (0, smithy_client_1.expectString)(output.Name),
20315
+ };
20316
+ };
20317
+ const deserializeAws_restJson1VolumeMountList = (output, context) => {
20318
+ const retVal = (output || [])
20319
+ .filter((e) => e != null)
20320
+ .map((entry) => {
20321
+ if (entry === null) {
20322
+ return null;
20323
+ }
20324
+ return deserializeAws_restJson1VolumeMount(entry, context);
20325
+ });
20326
+ return retVal;
20327
+ };
20328
+ const deserializeAws_restJson1VpcInfoCidrBlockSetDetails = (output, context) => {
20329
+ return {
20330
+ CidrBlock: (0, smithy_client_1.expectString)(output.CidrBlock),
20331
+ };
20332
+ };
20333
+ const deserializeAws_restJson1VpcInfoCidrBlockSetList = (output, context) => {
20334
+ const retVal = (output || [])
20335
+ .filter((e) => e != null)
20336
+ .map((entry) => {
20337
+ if (entry === null) {
20338
+ return null;
20339
+ }
20340
+ return deserializeAws_restJson1VpcInfoCidrBlockSetDetails(entry, context);
20341
+ });
20342
+ return retVal;
20343
+ };
20344
+ const deserializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails = (output, context) => {
20345
+ return {
20346
+ Ipv6CidrBlock: (0, smithy_client_1.expectString)(output.Ipv6CidrBlock),
20347
+ };
20348
+ };
20349
+ const deserializeAws_restJson1VpcInfoIpv6CidrBlockSetList = (output, context) => {
20350
+ const retVal = (output || [])
20351
+ .filter((e) => e != null)
20352
+ .map((entry) => {
20353
+ if (entry === null) {
20354
+ return null;
20355
+ }
20356
+ return deserializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails(entry, context);
20357
+ });
20358
+ return retVal;
20359
+ };
20360
+ const deserializeAws_restJson1VpcInfoPeeringOptionsDetails = (output, context) => {
20361
+ return {
20362
+ AllowDnsResolutionFromRemoteVpc: (0, smithy_client_1.expectBoolean)(output.AllowDnsResolutionFromRemoteVpc),
20363
+ AllowEgressFromLocalClassicLinkToRemoteVpc: (0, smithy_client_1.expectBoolean)(output.AllowEgressFromLocalClassicLinkToRemoteVpc),
20364
+ AllowEgressFromLocalVpcToRemoteClassicLink: (0, smithy_client_1.expectBoolean)(output.AllowEgressFromLocalVpcToRemoteClassicLink),
20365
+ };
20366
+ };
18910
20367
  const deserializeAws_restJson1Vulnerability = (output, context) => {
18911
20368
  return {
18912
20369
  Cvss: output.Cvss !== undefined && output.Cvss !== null