@aws-sdk/client-securityhub 3.43.0 → 3.47.1
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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +228 -263
- package/dist-cjs/models/models_1.js +244 -11
- package/dist-cjs/protocols/Aws_restJson1.js +1225 -74
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +148 -173
- package/dist-es/models/models_1.js +162 -4
- package/dist-es/protocols/Aws_restJson1.js +1020 -17
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/SecurityHub.d.ts +13 -3
- package/dist-types/SecurityHubClient.d.ts +5 -1
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +13 -2
- package/dist-types/commands/CreateMembersCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +1026 -1814
- package/dist-types/models/models_1.d.ts +1681 -11
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +532 -837
- package/dist-types/ts3.4/models/models_1.d.ts +783 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -6917,15 +6917,81 @@ var serializeAws_restJson1AwsApiGatewayV2StageDetails = function (input, context
|
|
|
6917
6917
|
StageVariables: serializeAws_restJson1FieldMap(input.StageVariables, context),
|
|
6918
6918
|
}));
|
|
6919
6919
|
};
|
|
6920
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesList = function (input, context) {
|
|
6921
|
+
return input
|
|
6922
|
+
.filter(function (e) { return e != null; })
|
|
6923
|
+
.map(function (entry) {
|
|
6924
|
+
if (entry === null) {
|
|
6925
|
+
return null;
|
|
6926
|
+
}
|
|
6927
|
+
return serializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails(entry, context);
|
|
6928
|
+
});
|
|
6929
|
+
};
|
|
6930
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails = function (input, context) {
|
|
6931
|
+
return __assign({}, (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
6932
|
+
};
|
|
6920
6933
|
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = function (input, context) {
|
|
6921
|
-
return __assign(__assign(__assign(__assign(__assign(
|
|
6934
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones !== undefined &&
|
|
6935
|
+
input.AvailabilityZones !== null && {
|
|
6936
|
+
AvailabilityZones: serializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesList(input.AvailabilityZones, context),
|
|
6937
|
+
})), (input.CreatedTime !== undefined && input.CreatedTime !== null && { CreatedTime: input.CreatedTime })), (input.HealthCheckGracePeriod !== undefined &&
|
|
6922
6938
|
input.HealthCheckGracePeriod !== null && { HealthCheckGracePeriod: input.HealthCheckGracePeriod })), (input.HealthCheckType !== undefined &&
|
|
6923
6939
|
input.HealthCheckType !== null && { HealthCheckType: input.HealthCheckType })), (input.LaunchConfigurationName !== undefined &&
|
|
6924
6940
|
input.LaunchConfigurationName !== null && { LaunchConfigurationName: input.LaunchConfigurationName })), (input.LoadBalancerNames !== undefined &&
|
|
6925
6941
|
input.LoadBalancerNames !== null && {
|
|
6926
6942
|
LoadBalancerNames: serializeAws_restJson1StringList(input.LoadBalancerNames, context),
|
|
6943
|
+
})), (input.MixedInstancesPolicy !== undefined &&
|
|
6944
|
+
input.MixedInstancesPolicy !== null && {
|
|
6945
|
+
MixedInstancesPolicy: serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails(input.MixedInstancesPolicy, context),
|
|
6946
|
+
}));
|
|
6947
|
+
};
|
|
6948
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails = function (input, context) {
|
|
6949
|
+
return __assign(__assign({}, (input.InstancesDistribution !== undefined &&
|
|
6950
|
+
input.InstancesDistribution !== null && {
|
|
6951
|
+
InstancesDistribution: serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails(input.InstancesDistribution, context),
|
|
6952
|
+
})), (input.LaunchTemplate !== undefined &&
|
|
6953
|
+
input.LaunchTemplate !== null && {
|
|
6954
|
+
LaunchTemplate: serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails(input.LaunchTemplate, context),
|
|
6955
|
+
}));
|
|
6956
|
+
};
|
|
6957
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails = function (input, context) {
|
|
6958
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.OnDemandAllocationStrategy !== undefined &&
|
|
6959
|
+
input.OnDemandAllocationStrategy !== null && { OnDemandAllocationStrategy: input.OnDemandAllocationStrategy })), (input.OnDemandBaseCapacity !== undefined &&
|
|
6960
|
+
input.OnDemandBaseCapacity !== null && { OnDemandBaseCapacity: input.OnDemandBaseCapacity })), (input.OnDemandPercentageAboveBaseCapacity !== undefined &&
|
|
6961
|
+
input.OnDemandPercentageAboveBaseCapacity !== null && {
|
|
6962
|
+
OnDemandPercentageAboveBaseCapacity: input.OnDemandPercentageAboveBaseCapacity,
|
|
6963
|
+
})), (input.SpotAllocationStrategy !== undefined &&
|
|
6964
|
+
input.SpotAllocationStrategy !== null && { SpotAllocationStrategy: input.SpotAllocationStrategy })), (input.SpotInstancePools !== undefined &&
|
|
6965
|
+
input.SpotInstancePools !== null && { SpotInstancePools: input.SpotInstancePools })), (input.SpotMaxPrice !== undefined && input.SpotMaxPrice !== null && { SpotMaxPrice: input.SpotMaxPrice }));
|
|
6966
|
+
};
|
|
6967
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails = function (input, context) {
|
|
6968
|
+
return __assign(__assign({}, (input.LaunchTemplateSpecification !== undefined &&
|
|
6969
|
+
input.LaunchTemplateSpecification !== null && {
|
|
6970
|
+
LaunchTemplateSpecification: serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification(input.LaunchTemplateSpecification, context),
|
|
6971
|
+
})), (input.Overrides !== undefined &&
|
|
6972
|
+
input.Overrides !== null && {
|
|
6973
|
+
Overrides: serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList(input.Overrides, context),
|
|
6927
6974
|
}));
|
|
6928
6975
|
};
|
|
6976
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification = function (input, context) {
|
|
6977
|
+
return __assign(__assign(__assign({}, (input.LaunchTemplateId !== undefined &&
|
|
6978
|
+
input.LaunchTemplateId !== null && { LaunchTemplateId: input.LaunchTemplateId })), (input.LaunchTemplateName !== undefined &&
|
|
6979
|
+
input.LaunchTemplateName !== null && { LaunchTemplateName: input.LaunchTemplateName })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
6980
|
+
};
|
|
6981
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList = function (input, context) {
|
|
6982
|
+
return input
|
|
6983
|
+
.filter(function (e) { return e != null; })
|
|
6984
|
+
.map(function (entry) {
|
|
6985
|
+
if (entry === null) {
|
|
6986
|
+
return null;
|
|
6987
|
+
}
|
|
6988
|
+
return serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails(entry, context);
|
|
6989
|
+
});
|
|
6990
|
+
};
|
|
6991
|
+
var serializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails = function (input, context) {
|
|
6992
|
+
return __assign(__assign({}, (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.WeightedCapacity !== undefined &&
|
|
6993
|
+
input.WeightedCapacity !== null && { WeightedCapacity: input.WeightedCapacity }));
|
|
6994
|
+
};
|
|
6929
6995
|
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = function (input, context) {
|
|
6930
6996
|
return __assign(__assign(__assign(__assign({}, (input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName })), (input.Ebs !== undefined &&
|
|
6931
6997
|
input.Ebs !== null && {
|
|
@@ -6947,7 +7013,7 @@ var serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsLi
|
|
|
6947
7013
|
});
|
|
6948
7014
|
};
|
|
6949
7015
|
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = function (input, context) {
|
|
6950
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AssociatePublicIpAddress !== undefined &&
|
|
7016
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AssociatePublicIpAddress !== undefined &&
|
|
6951
7017
|
input.AssociatePublicIpAddress !== null && { AssociatePublicIpAddress: input.AssociatePublicIpAddress })), (input.BlockDeviceMappings !== undefined &&
|
|
6952
7018
|
input.BlockDeviceMappings !== null && {
|
|
6953
7019
|
BlockDeviceMappings: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(input.BlockDeviceMappings, context),
|
|
@@ -6960,7 +7026,10 @@ var serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = function (i
|
|
|
6960
7026
|
input.InstanceMonitoring !== null && {
|
|
6961
7027
|
InstanceMonitoring: serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(input.InstanceMonitoring, context),
|
|
6962
7028
|
})), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.KernelId !== undefined && input.KernelId !== null && { KernelId: input.KernelId })), (input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName })), (input.LaunchConfigurationName !== undefined &&
|
|
6963
|
-
input.LaunchConfigurationName !== null && { LaunchConfigurationName: input.LaunchConfigurationName })), (input.
|
|
7029
|
+
input.LaunchConfigurationName !== null && { LaunchConfigurationName: input.LaunchConfigurationName })), (input.MetadataOptions !== undefined &&
|
|
7030
|
+
input.MetadataOptions !== null && {
|
|
7031
|
+
MetadataOptions: serializeAws_restJson1AwsAutoScalingLaunchConfigurationMetadataOptions(input.MetadataOptions, context),
|
|
7032
|
+
})), (input.PlacementTenancy !== undefined &&
|
|
6964
7033
|
input.PlacementTenancy !== null && { PlacementTenancy: input.PlacementTenancy })), (input.RamdiskId !== undefined && input.RamdiskId !== null && { RamdiskId: input.RamdiskId })), (input.SecurityGroups !== undefined &&
|
|
6965
7034
|
input.SecurityGroups !== null && {
|
|
6966
7035
|
SecurityGroups: serializeAws_restJson1NonEmptyStringList(input.SecurityGroups, context),
|
|
@@ -6969,6 +7038,10 @@ var serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = function (i
|
|
|
6969
7038
|
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = function (input, context) {
|
|
6970
7039
|
return __assign({}, (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }));
|
|
6971
7040
|
};
|
|
7041
|
+
var serializeAws_restJson1AwsAutoScalingLaunchConfigurationMetadataOptions = function (input, context) {
|
|
7042
|
+
return __assign(__assign(__assign({}, (input.HttpEndpoint !== undefined && input.HttpEndpoint !== null && { HttpEndpoint: input.HttpEndpoint })), (input.HttpPutResponseHopLimit !== undefined &&
|
|
7043
|
+
input.HttpPutResponseHopLimit !== null && { HttpPutResponseHopLimit: input.HttpPutResponseHopLimit })), (input.HttpTokens !== undefined && input.HttpTokens !== null && { HttpTokens: input.HttpTokens }));
|
|
7044
|
+
};
|
|
6972
7045
|
var serializeAws_restJson1AwsCertificateManagerCertificateDetails = function (input, context) {
|
|
6973
7046
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CertificateAuthorityArn !== undefined &&
|
|
6974
7047
|
input.CertificateAuthorityArn !== null && { CertificateAuthorityArn: input.CertificateAuthorityArn })), (input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt })), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.DomainValidationOptions !== undefined &&
|
|
@@ -9094,6 +9167,44 @@ var serializeAws_restJson1AwsLambdaLayerVersionDetails = function (input, contex
|
|
|
9094
9167
|
CompatibleRuntimes: serializeAws_restJson1NonEmptyStringList(input.CompatibleRuntimes, context),
|
|
9095
9168
|
})), (input.CreatedDate !== undefined && input.CreatedDate !== null && { CreatedDate: input.CreatedDate })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
9096
9169
|
};
|
|
9170
|
+
var serializeAws_restJson1AwsNetworkFirewallFirewallDetails = function (input, context) {
|
|
9171
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteProtection !== undefined &&
|
|
9172
|
+
input.DeleteProtection !== null && { DeleteProtection: input.DeleteProtection })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FirewallArn !== undefined && input.FirewallArn !== null && { FirewallArn: input.FirewallArn })), (input.FirewallId !== undefined && input.FirewallId !== null && { FirewallId: input.FirewallId })), (input.FirewallName !== undefined && input.FirewallName !== null && { FirewallName: input.FirewallName })), (input.FirewallPolicyArn !== undefined &&
|
|
9173
|
+
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyChangeProtection !== undefined &&
|
|
9174
|
+
input.FirewallPolicyChangeProtection !== null && {
|
|
9175
|
+
FirewallPolicyChangeProtection: input.FirewallPolicyChangeProtection,
|
|
9176
|
+
})), (input.SubnetChangeProtection !== undefined &&
|
|
9177
|
+
input.SubnetChangeProtection !== null && { SubnetChangeProtection: input.SubnetChangeProtection })), (input.SubnetMappings !== undefined &&
|
|
9178
|
+
input.SubnetMappings !== null && {
|
|
9179
|
+
SubnetMappings: serializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsList(input.SubnetMappings, context),
|
|
9180
|
+
})), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
9181
|
+
};
|
|
9182
|
+
var serializeAws_restJson1AwsNetworkFirewallFirewallPolicyDetails = function (input, context) {
|
|
9183
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FirewallPolicy !== undefined &&
|
|
9184
|
+
input.FirewallPolicy !== null && {
|
|
9185
|
+
FirewallPolicy: serializeAws_restJson1FirewallPolicyDetails(input.FirewallPolicy, context),
|
|
9186
|
+
})), (input.FirewallPolicyArn !== undefined &&
|
|
9187
|
+
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyId !== undefined &&
|
|
9188
|
+
input.FirewallPolicyId !== null && { FirewallPolicyId: input.FirewallPolicyId })), (input.FirewallPolicyName !== undefined &&
|
|
9189
|
+
input.FirewallPolicyName !== null && { FirewallPolicyName: input.FirewallPolicyName }));
|
|
9190
|
+
};
|
|
9191
|
+
var serializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsDetails = function (input, context) {
|
|
9192
|
+
return __assign({}, (input.SubnetId !== undefined && input.SubnetId !== null && { SubnetId: input.SubnetId }));
|
|
9193
|
+
};
|
|
9194
|
+
var serializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsList = function (input, context) {
|
|
9195
|
+
return input
|
|
9196
|
+
.filter(function (e) { return e != null; })
|
|
9197
|
+
.map(function (entry) {
|
|
9198
|
+
if (entry === null) {
|
|
9199
|
+
return null;
|
|
9200
|
+
}
|
|
9201
|
+
return serializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsDetails(entry, context);
|
|
9202
|
+
});
|
|
9203
|
+
};
|
|
9204
|
+
var serializeAws_restJson1AwsNetworkFirewallRuleGroupDetails = function (input, context) {
|
|
9205
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Capacity !== undefined && input.Capacity !== null && { Capacity: input.Capacity })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.RuleGroup !== undefined &&
|
|
9206
|
+
input.RuleGroup !== null && { RuleGroup: serializeAws_restJson1RuleGroupDetails(input.RuleGroup, context) })), (input.RuleGroupArn !== undefined && input.RuleGroupArn !== null && { RuleGroupArn: input.RuleGroupArn })), (input.RuleGroupId !== undefined && input.RuleGroupId !== null && { RuleGroupId: input.RuleGroupId })), (input.RuleGroupName !== undefined && input.RuleGroupName !== null && { RuleGroupName: input.RuleGroupName })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9207
|
+
};
|
|
9097
9208
|
var serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = function (input, context) {
|
|
9098
9209
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DedicatedMasterCount !== undefined &&
|
|
9099
9210
|
input.DedicatedMasterCount !== null && { DedicatedMasterCount: input.DedicatedMasterCount })), (input.DedicatedMasterEnabled !== undefined &&
|
|
@@ -9909,8 +10020,12 @@ var serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransition
|
|
|
9909
10020
|
return serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails(entry, context);
|
|
9910
10021
|
});
|
|
9911
10022
|
};
|
|
10023
|
+
var serializeAws_restJson1AwsS3BucketBucketVersioningConfiguration = function (input, context) {
|
|
10024
|
+
return __assign(__assign({}, (input.IsMfaDeleteEnabled !== undefined &&
|
|
10025
|
+
input.IsMfaDeleteEnabled !== null && { IsMfaDeleteEnabled: input.IsMfaDeleteEnabled })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
10026
|
+
};
|
|
9912
10027
|
var serializeAws_restJson1AwsS3BucketDetails = function (input, context) {
|
|
9913
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList !== undefined &&
|
|
10028
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList !== undefined &&
|
|
9914
10029
|
input.AccessControlList !== null && { AccessControlList: input.AccessControlList })), (input.BucketLifecycleConfiguration !== undefined &&
|
|
9915
10030
|
input.BucketLifecycleConfiguration !== null && {
|
|
9916
10031
|
BucketLifecycleConfiguration: serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(input.BucketLifecycleConfiguration, context),
|
|
@@ -9920,6 +10035,9 @@ var serializeAws_restJson1AwsS3BucketDetails = function (input, context) {
|
|
|
9920
10035
|
})), (input.BucketNotificationConfiguration !== undefined &&
|
|
9921
10036
|
input.BucketNotificationConfiguration !== null && {
|
|
9922
10037
|
BucketNotificationConfiguration: serializeAws_restJson1AwsS3BucketNotificationConfiguration(input.BucketNotificationConfiguration, context),
|
|
10038
|
+
})), (input.BucketVersioningConfiguration !== undefined &&
|
|
10039
|
+
input.BucketVersioningConfiguration !== null && {
|
|
10040
|
+
BucketVersioningConfiguration: serializeAws_restJson1AwsS3BucketBucketVersioningConfiguration(input.BucketVersioningConfiguration, context),
|
|
9923
10041
|
})), (input.BucketWebsiteConfiguration !== undefined &&
|
|
9924
10042
|
input.BucketWebsiteConfiguration !== null && {
|
|
9925
10043
|
BucketWebsiteConfiguration: serializeAws_restJson1AwsS3BucketWebsiteConfiguration(input.BucketWebsiteConfiguration, context),
|
|
@@ -10665,6 +10783,66 @@ var serializeAws_restJson1FindingProviderFields = function (input, context) {
|
|
|
10665
10783
|
var serializeAws_restJson1FindingProviderSeverity = function (input, context) {
|
|
10666
10784
|
return __assign(__assign({}, (input.Label !== undefined && input.Label !== null && { Label: input.Label })), (input.Original !== undefined && input.Original !== null && { Original: input.Original }));
|
|
10667
10785
|
};
|
|
10786
|
+
var serializeAws_restJson1FirewallPolicyDetails = function (input, context) {
|
|
10787
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.StatefulRuleGroupReferences !== undefined &&
|
|
10788
|
+
input.StatefulRuleGroupReferences !== null && {
|
|
10789
|
+
StatefulRuleGroupReferences: serializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesList(input.StatefulRuleGroupReferences, context),
|
|
10790
|
+
})), (input.StatelessCustomActions !== undefined &&
|
|
10791
|
+
input.StatelessCustomActions !== null && {
|
|
10792
|
+
StatelessCustomActions: serializeAws_restJson1FirewallPolicyStatelessCustomActionsList(input.StatelessCustomActions, context),
|
|
10793
|
+
})), (input.StatelessDefaultActions !== undefined &&
|
|
10794
|
+
input.StatelessDefaultActions !== null && {
|
|
10795
|
+
StatelessDefaultActions: serializeAws_restJson1NonEmptyStringList(input.StatelessDefaultActions, context),
|
|
10796
|
+
})), (input.StatelessFragmentDefaultActions !== undefined &&
|
|
10797
|
+
input.StatelessFragmentDefaultActions !== null && {
|
|
10798
|
+
StatelessFragmentDefaultActions: serializeAws_restJson1NonEmptyStringList(input.StatelessFragmentDefaultActions, context),
|
|
10799
|
+
})), (input.StatelessRuleGroupReferences !== undefined &&
|
|
10800
|
+
input.StatelessRuleGroupReferences !== null && {
|
|
10801
|
+
StatelessRuleGroupReferences: serializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesList(input.StatelessRuleGroupReferences, context),
|
|
10802
|
+
}));
|
|
10803
|
+
};
|
|
10804
|
+
var serializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesDetails = function (input, context) {
|
|
10805
|
+
return __assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
|
|
10806
|
+
};
|
|
10807
|
+
var serializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesList = function (input, context) {
|
|
10808
|
+
return input
|
|
10809
|
+
.filter(function (e) { return e != null; })
|
|
10810
|
+
.map(function (entry) {
|
|
10811
|
+
if (entry === null) {
|
|
10812
|
+
return null;
|
|
10813
|
+
}
|
|
10814
|
+
return serializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesDetails(entry, context);
|
|
10815
|
+
});
|
|
10816
|
+
};
|
|
10817
|
+
var serializeAws_restJson1FirewallPolicyStatelessCustomActionsDetails = function (input, context) {
|
|
10818
|
+
return __assign(__assign({}, (input.ActionDefinition !== undefined &&
|
|
10819
|
+
input.ActionDefinition !== null && {
|
|
10820
|
+
ActionDefinition: serializeAws_restJson1StatelessCustomActionDefinition(input.ActionDefinition, context),
|
|
10821
|
+
})), (input.ActionName !== undefined && input.ActionName !== null && { ActionName: input.ActionName }));
|
|
10822
|
+
};
|
|
10823
|
+
var serializeAws_restJson1FirewallPolicyStatelessCustomActionsList = function (input, context) {
|
|
10824
|
+
return input
|
|
10825
|
+
.filter(function (e) { return e != null; })
|
|
10826
|
+
.map(function (entry) {
|
|
10827
|
+
if (entry === null) {
|
|
10828
|
+
return null;
|
|
10829
|
+
}
|
|
10830
|
+
return serializeAws_restJson1FirewallPolicyStatelessCustomActionsDetails(entry, context);
|
|
10831
|
+
});
|
|
10832
|
+
};
|
|
10833
|
+
var serializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesDetails = function (input, context) {
|
|
10834
|
+
return __assign(__assign({}, (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
|
|
10835
|
+
};
|
|
10836
|
+
var serializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesList = function (input, context) {
|
|
10837
|
+
return input
|
|
10838
|
+
.filter(function (e) { return e != null; })
|
|
10839
|
+
.map(function (entry) {
|
|
10840
|
+
if (entry === null) {
|
|
10841
|
+
return null;
|
|
10842
|
+
}
|
|
10843
|
+
return serializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesDetails(entry, context);
|
|
10844
|
+
});
|
|
10845
|
+
};
|
|
10668
10846
|
var serializeAws_restJson1GeoLocation = function (input, context) {
|
|
10669
10847
|
return __assign(__assign({}, (input.Lat !== undefined && input.Lat !== null && { Lat: __serializeFloat(input.Lat) })), (input.Lon !== undefined && input.Lon !== null && { Lon: __serializeFloat(input.Lon) }));
|
|
10670
10848
|
};
|
|
@@ -10976,7 +11154,7 @@ var serializeAws_restJson1Resource = function (input, context) {
|
|
|
10976
11154
|
input.Tags !== null && { Tags: serializeAws_restJson1FieldMap(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
10977
11155
|
};
|
|
10978
11156
|
var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
10979
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi !== undefined &&
|
|
11157
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi !== undefined &&
|
|
10980
11158
|
input.AwsApiGatewayRestApi !== null && {
|
|
10981
11159
|
AwsApiGatewayRestApi: serializeAws_restJson1AwsApiGatewayRestApiDetails(input.AwsApiGatewayRestApi, context),
|
|
10982
11160
|
})), (input.AwsApiGatewayStage !== undefined &&
|
|
@@ -11083,6 +11261,15 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
11083
11261
|
})), (input.AwsLambdaLayerVersion !== undefined &&
|
|
11084
11262
|
input.AwsLambdaLayerVersion !== null && {
|
|
11085
11263
|
AwsLambdaLayerVersion: serializeAws_restJson1AwsLambdaLayerVersionDetails(input.AwsLambdaLayerVersion, context),
|
|
11264
|
+
})), (input.AwsNetworkFirewallFirewall !== undefined &&
|
|
11265
|
+
input.AwsNetworkFirewallFirewall !== null && {
|
|
11266
|
+
AwsNetworkFirewallFirewall: serializeAws_restJson1AwsNetworkFirewallFirewallDetails(input.AwsNetworkFirewallFirewall, context),
|
|
11267
|
+
})), (input.AwsNetworkFirewallFirewallPolicy !== undefined &&
|
|
11268
|
+
input.AwsNetworkFirewallFirewallPolicy !== null && {
|
|
11269
|
+
AwsNetworkFirewallFirewallPolicy: serializeAws_restJson1AwsNetworkFirewallFirewallPolicyDetails(input.AwsNetworkFirewallFirewallPolicy, context),
|
|
11270
|
+
})), (input.AwsNetworkFirewallRuleGroup !== undefined &&
|
|
11271
|
+
input.AwsNetworkFirewallRuleGroup !== null && {
|
|
11272
|
+
AwsNetworkFirewallRuleGroup: serializeAws_restJson1AwsNetworkFirewallRuleGroupDetails(input.AwsNetworkFirewallRuleGroup, context),
|
|
11086
11273
|
})), (input.AwsOpenSearchServiceDomain !== undefined &&
|
|
11087
11274
|
input.AwsOpenSearchServiceDomain !== null && {
|
|
11088
11275
|
AwsOpenSearchServiceDomain: serializeAws_restJson1AwsOpenSearchServiceDomainDetails(input.AwsOpenSearchServiceDomain, context),
|
|
@@ -11151,6 +11338,247 @@ var serializeAws_restJson1ResourceList = function (input, context) {
|
|
|
11151
11338
|
return serializeAws_restJson1Resource(entry, context);
|
|
11152
11339
|
});
|
|
11153
11340
|
};
|
|
11341
|
+
var serializeAws_restJson1RuleGroupDetails = function (input, context) {
|
|
11342
|
+
return __assign(__assign({}, (input.RuleVariables !== undefined &&
|
|
11343
|
+
input.RuleVariables !== null && {
|
|
11344
|
+
RuleVariables: serializeAws_restJson1RuleGroupVariables(input.RuleVariables, context),
|
|
11345
|
+
})), (input.RulesSource !== undefined &&
|
|
11346
|
+
input.RulesSource !== null && { RulesSource: serializeAws_restJson1RuleGroupSource(input.RulesSource, context) }));
|
|
11347
|
+
};
|
|
11348
|
+
var serializeAws_restJson1RuleGroupSource = function (input, context) {
|
|
11349
|
+
return __assign(__assign(__assign(__assign({}, (input.RulesSourceList !== undefined &&
|
|
11350
|
+
input.RulesSourceList !== null && {
|
|
11351
|
+
RulesSourceList: serializeAws_restJson1RuleGroupSourceListDetails(input.RulesSourceList, context),
|
|
11352
|
+
})), (input.RulesString !== undefined && input.RulesString !== null && { RulesString: input.RulesString })), (input.StatefulRules !== undefined &&
|
|
11353
|
+
input.StatefulRules !== null && {
|
|
11354
|
+
StatefulRules: serializeAws_restJson1RuleGroupSourceStatefulRulesList(input.StatefulRules, context),
|
|
11355
|
+
})), (input.StatelessRulesAndCustomActions !== undefined &&
|
|
11356
|
+
input.StatelessRulesAndCustomActions !== null && {
|
|
11357
|
+
StatelessRulesAndCustomActions: serializeAws_restJson1RuleGroupSourceStatelessRulesAndCustomActionsDetails(input.StatelessRulesAndCustomActions, context),
|
|
11358
|
+
}));
|
|
11359
|
+
};
|
|
11360
|
+
var serializeAws_restJson1RuleGroupSourceCustomActionsDetails = function (input, context) {
|
|
11361
|
+
return __assign(__assign({}, (input.ActionDefinition !== undefined &&
|
|
11362
|
+
input.ActionDefinition !== null && {
|
|
11363
|
+
ActionDefinition: serializeAws_restJson1StatelessCustomActionDefinition(input.ActionDefinition, context),
|
|
11364
|
+
})), (input.ActionName !== undefined && input.ActionName !== null && { ActionName: input.ActionName }));
|
|
11365
|
+
};
|
|
11366
|
+
var serializeAws_restJson1RuleGroupSourceCustomActionsList = function (input, context) {
|
|
11367
|
+
return input
|
|
11368
|
+
.filter(function (e) { return e != null; })
|
|
11369
|
+
.map(function (entry) {
|
|
11370
|
+
if (entry === null) {
|
|
11371
|
+
return null;
|
|
11372
|
+
}
|
|
11373
|
+
return serializeAws_restJson1RuleGroupSourceCustomActionsDetails(entry, context);
|
|
11374
|
+
});
|
|
11375
|
+
};
|
|
11376
|
+
var serializeAws_restJson1RuleGroupSourceListDetails = function (input, context) {
|
|
11377
|
+
return __assign(__assign(__assign({}, (input.GeneratedRulesType !== undefined &&
|
|
11378
|
+
input.GeneratedRulesType !== null && { GeneratedRulesType: input.GeneratedRulesType })), (input.TargetTypes !== undefined &&
|
|
11379
|
+
input.TargetTypes !== null && {
|
|
11380
|
+
TargetTypes: serializeAws_restJson1NonEmptyStringList(input.TargetTypes, context),
|
|
11381
|
+
})), (input.Targets !== undefined &&
|
|
11382
|
+
input.Targets !== null && { Targets: serializeAws_restJson1NonEmptyStringList(input.Targets, context) }));
|
|
11383
|
+
};
|
|
11384
|
+
var serializeAws_restJson1RuleGroupSourceStatefulRulesDetails = function (input, context) {
|
|
11385
|
+
return __assign(__assign(__assign({}, (input.Action !== undefined && input.Action !== null && { Action: input.Action })), (input.Header !== undefined &&
|
|
11386
|
+
input.Header !== null && {
|
|
11387
|
+
Header: serializeAws_restJson1RuleGroupSourceStatefulRulesHeaderDetails(input.Header, context),
|
|
11388
|
+
})), (input.RuleOptions !== undefined &&
|
|
11389
|
+
input.RuleOptions !== null && {
|
|
11390
|
+
RuleOptions: serializeAws_restJson1RuleGroupSourceStatefulRulesOptionsList(input.RuleOptions, context),
|
|
11391
|
+
}));
|
|
11392
|
+
};
|
|
11393
|
+
var serializeAws_restJson1RuleGroupSourceStatefulRulesHeaderDetails = function (input, context) {
|
|
11394
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destination !== undefined && input.Destination !== null && { Destination: input.Destination })), (input.DestinationPort !== undefined &&
|
|
11395
|
+
input.DestinationPort !== null && { DestinationPort: input.DestinationPort })), (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.SourcePort !== undefined && input.SourcePort !== null && { SourcePort: input.SourcePort }));
|
|
11396
|
+
};
|
|
11397
|
+
var serializeAws_restJson1RuleGroupSourceStatefulRulesList = function (input, context) {
|
|
11398
|
+
return input
|
|
11399
|
+
.filter(function (e) { return e != null; })
|
|
11400
|
+
.map(function (entry) {
|
|
11401
|
+
if (entry === null) {
|
|
11402
|
+
return null;
|
|
11403
|
+
}
|
|
11404
|
+
return serializeAws_restJson1RuleGroupSourceStatefulRulesDetails(entry, context);
|
|
11405
|
+
});
|
|
11406
|
+
};
|
|
11407
|
+
var serializeAws_restJson1RuleGroupSourceStatefulRulesOptionsDetails = function (input, context) {
|
|
11408
|
+
return __assign(__assign({}, (input.Keyword !== undefined && input.Keyword !== null && { Keyword: input.Keyword })), (input.Settings !== undefined &&
|
|
11409
|
+
input.Settings !== null && {
|
|
11410
|
+
Settings: serializeAws_restJson1RuleGroupSourceStatefulRulesRuleOptionsSettingsList(input.Settings, context),
|
|
11411
|
+
}));
|
|
11412
|
+
};
|
|
11413
|
+
var serializeAws_restJson1RuleGroupSourceStatefulRulesOptionsList = function (input, context) {
|
|
11414
|
+
return input
|
|
11415
|
+
.filter(function (e) { return e != null; })
|
|
11416
|
+
.map(function (entry) {
|
|
11417
|
+
if (entry === null) {
|
|
11418
|
+
return null;
|
|
11419
|
+
}
|
|
11420
|
+
return serializeAws_restJson1RuleGroupSourceStatefulRulesOptionsDetails(entry, context);
|
|
11421
|
+
});
|
|
11422
|
+
};
|
|
11423
|
+
var serializeAws_restJson1RuleGroupSourceStatefulRulesRuleOptionsSettingsList = function (input, context) {
|
|
11424
|
+
return input
|
|
11425
|
+
.filter(function (e) { return e != null; })
|
|
11426
|
+
.map(function (entry) {
|
|
11427
|
+
if (entry === null) {
|
|
11428
|
+
return null;
|
|
11429
|
+
}
|
|
11430
|
+
return entry;
|
|
11431
|
+
});
|
|
11432
|
+
};
|
|
11433
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleDefinition = function (input, context) {
|
|
11434
|
+
return __assign(__assign({}, (input.Actions !== undefined &&
|
|
11435
|
+
input.Actions !== null && { Actions: serializeAws_restJson1NonEmptyStringList(input.Actions, context) })), (input.MatchAttributes !== undefined &&
|
|
11436
|
+
input.MatchAttributes !== null && {
|
|
11437
|
+
MatchAttributes: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributes(input.MatchAttributes, context),
|
|
11438
|
+
}));
|
|
11439
|
+
};
|
|
11440
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributes = function (input, context) {
|
|
11441
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationPorts !== undefined &&
|
|
11442
|
+
input.DestinationPorts !== null && {
|
|
11443
|
+
DestinationPorts: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList(input.DestinationPorts, context),
|
|
11444
|
+
})), (input.Destinations !== undefined &&
|
|
11445
|
+
input.Destinations !== null && {
|
|
11446
|
+
Destinations: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationsList(input.Destinations, context),
|
|
11447
|
+
})), (input.Protocols !== undefined &&
|
|
11448
|
+
input.Protocols !== null && {
|
|
11449
|
+
Protocols: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesProtocolsList(input.Protocols, context),
|
|
11450
|
+
})), (input.SourcePorts !== undefined &&
|
|
11451
|
+
input.SourcePorts !== null && {
|
|
11452
|
+
SourcePorts: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePortsList(input.SourcePorts, context),
|
|
11453
|
+
})), (input.Sources !== undefined &&
|
|
11454
|
+
input.Sources !== null && {
|
|
11455
|
+
Sources: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcesList(input.Sources, context),
|
|
11456
|
+
})), (input.TcpFlags !== undefined &&
|
|
11457
|
+
input.TcpFlags !== null && {
|
|
11458
|
+
TcpFlags: serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList(input.TcpFlags, context),
|
|
11459
|
+
}));
|
|
11460
|
+
};
|
|
11461
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts = function (input, context) {
|
|
11462
|
+
return __assign(__assign({}, (input.FromPort !== undefined && input.FromPort !== null && { FromPort: input.FromPort })), (input.ToPort !== undefined && input.ToPort !== null && { ToPort: input.ToPort }));
|
|
11463
|
+
};
|
|
11464
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList = function (input, context) {
|
|
11465
|
+
return input
|
|
11466
|
+
.filter(function (e) { return e != null; })
|
|
11467
|
+
.map(function (entry) {
|
|
11468
|
+
if (entry === null) {
|
|
11469
|
+
return null;
|
|
11470
|
+
}
|
|
11471
|
+
return serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts(entry, context);
|
|
11472
|
+
});
|
|
11473
|
+
};
|
|
11474
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinations = function (input, context) {
|
|
11475
|
+
return __assign({}, (input.AddressDefinition !== undefined &&
|
|
11476
|
+
input.AddressDefinition !== null && { AddressDefinition: input.AddressDefinition }));
|
|
11477
|
+
};
|
|
11478
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationsList = function (input, context) {
|
|
11479
|
+
return input
|
|
11480
|
+
.filter(function (e) { return e != null; })
|
|
11481
|
+
.map(function (entry) {
|
|
11482
|
+
if (entry === null) {
|
|
11483
|
+
return null;
|
|
11484
|
+
}
|
|
11485
|
+
return serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinations(entry, context);
|
|
11486
|
+
});
|
|
11487
|
+
};
|
|
11488
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesProtocolsList = function (input, context) {
|
|
11489
|
+
return input
|
|
11490
|
+
.filter(function (e) { return e != null; })
|
|
11491
|
+
.map(function (entry) {
|
|
11492
|
+
if (entry === null) {
|
|
11493
|
+
return null;
|
|
11494
|
+
}
|
|
11495
|
+
return entry;
|
|
11496
|
+
});
|
|
11497
|
+
};
|
|
11498
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePorts = function (input, context) {
|
|
11499
|
+
return __assign(__assign({}, (input.FromPort !== undefined && input.FromPort !== null && { FromPort: input.FromPort })), (input.ToPort !== undefined && input.ToPort !== null && { ToPort: input.ToPort }));
|
|
11500
|
+
};
|
|
11501
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePortsList = function (input, context) {
|
|
11502
|
+
return input
|
|
11503
|
+
.filter(function (e) { return e != null; })
|
|
11504
|
+
.map(function (entry) {
|
|
11505
|
+
if (entry === null) {
|
|
11506
|
+
return null;
|
|
11507
|
+
}
|
|
11508
|
+
return serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePorts(entry, context);
|
|
11509
|
+
});
|
|
11510
|
+
};
|
|
11511
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSources = function (input, context) {
|
|
11512
|
+
return __assign({}, (input.AddressDefinition !== undefined &&
|
|
11513
|
+
input.AddressDefinition !== null && { AddressDefinition: input.AddressDefinition }));
|
|
11514
|
+
};
|
|
11515
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcesList = function (input, context) {
|
|
11516
|
+
return input
|
|
11517
|
+
.filter(function (e) { return e != null; })
|
|
11518
|
+
.map(function (entry) {
|
|
11519
|
+
if (entry === null) {
|
|
11520
|
+
return null;
|
|
11521
|
+
}
|
|
11522
|
+
return serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSources(entry, context);
|
|
11523
|
+
});
|
|
11524
|
+
};
|
|
11525
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlags = function (input, context) {
|
|
11526
|
+
return __assign(__assign({}, (input.Flags !== undefined &&
|
|
11527
|
+
input.Flags !== null && { Flags: serializeAws_restJson1NonEmptyStringList(input.Flags, context) })), (input.Masks !== undefined &&
|
|
11528
|
+
input.Masks !== null && { Masks: serializeAws_restJson1NonEmptyStringList(input.Masks, context) }));
|
|
11529
|
+
};
|
|
11530
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList = function (input, context) {
|
|
11531
|
+
return input
|
|
11532
|
+
.filter(function (e) { return e != null; })
|
|
11533
|
+
.map(function (entry) {
|
|
11534
|
+
if (entry === null) {
|
|
11535
|
+
return null;
|
|
11536
|
+
}
|
|
11537
|
+
return serializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlags(entry, context);
|
|
11538
|
+
});
|
|
11539
|
+
};
|
|
11540
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRulesAndCustomActionsDetails = function (input, context) {
|
|
11541
|
+
return __assign(__assign({}, (input.CustomActions !== undefined &&
|
|
11542
|
+
input.CustomActions !== null && {
|
|
11543
|
+
CustomActions: serializeAws_restJson1RuleGroupSourceCustomActionsList(input.CustomActions, context),
|
|
11544
|
+
})), (input.StatelessRules !== undefined &&
|
|
11545
|
+
input.StatelessRules !== null && {
|
|
11546
|
+
StatelessRules: serializeAws_restJson1RuleGroupSourceStatelessRulesList(input.StatelessRules, context),
|
|
11547
|
+
}));
|
|
11548
|
+
};
|
|
11549
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRulesDetails = function (input, context) {
|
|
11550
|
+
return __assign(__assign({}, (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.RuleDefinition !== undefined &&
|
|
11551
|
+
input.RuleDefinition !== null && {
|
|
11552
|
+
RuleDefinition: serializeAws_restJson1RuleGroupSourceStatelessRuleDefinition(input.RuleDefinition, context),
|
|
11553
|
+
}));
|
|
11554
|
+
};
|
|
11555
|
+
var serializeAws_restJson1RuleGroupSourceStatelessRulesList = function (input, context) {
|
|
11556
|
+
return input
|
|
11557
|
+
.filter(function (e) { return e != null; })
|
|
11558
|
+
.map(function (entry) {
|
|
11559
|
+
if (entry === null) {
|
|
11560
|
+
return null;
|
|
11561
|
+
}
|
|
11562
|
+
return serializeAws_restJson1RuleGroupSourceStatelessRulesDetails(entry, context);
|
|
11563
|
+
});
|
|
11564
|
+
};
|
|
11565
|
+
var serializeAws_restJson1RuleGroupVariables = function (input, context) {
|
|
11566
|
+
return __assign(__assign({}, (input.IpSets !== undefined &&
|
|
11567
|
+
input.IpSets !== null && {
|
|
11568
|
+
IpSets: serializeAws_restJson1RuleGroupVariablesIpSetsDetails(input.IpSets, context),
|
|
11569
|
+
})), (input.PortSets !== undefined &&
|
|
11570
|
+
input.PortSets !== null && {
|
|
11571
|
+
PortSets: serializeAws_restJson1RuleGroupVariablesPortSetsDetails(input.PortSets, context),
|
|
11572
|
+
}));
|
|
11573
|
+
};
|
|
11574
|
+
var serializeAws_restJson1RuleGroupVariablesIpSetsDetails = function (input, context) {
|
|
11575
|
+
return __assign({}, (input.Definition !== undefined &&
|
|
11576
|
+
input.Definition !== null && { Definition: serializeAws_restJson1NonEmptyStringList(input.Definition, context) }));
|
|
11577
|
+
};
|
|
11578
|
+
var serializeAws_restJson1RuleGroupVariablesPortSetsDetails = function (input, context) {
|
|
11579
|
+
return __assign({}, (input.Definition !== undefined &&
|
|
11580
|
+
input.Definition !== null && { Definition: serializeAws_restJson1NonEmptyStringList(input.Definition, context) }));
|
|
11581
|
+
};
|
|
11154
11582
|
var serializeAws_restJson1SecurityGroups = function (input, context) {
|
|
11155
11583
|
return input
|
|
11156
11584
|
.filter(function (e) { return e != null; })
|
|
@@ -11260,6 +11688,31 @@ var serializeAws_restJson1StandardsSubscriptionRequests = function (input, conte
|
|
|
11260
11688
|
return serializeAws_restJson1StandardsSubscriptionRequest(entry, context);
|
|
11261
11689
|
});
|
|
11262
11690
|
};
|
|
11691
|
+
var serializeAws_restJson1StatelessCustomActionDefinition = function (input, context) {
|
|
11692
|
+
return __assign({}, (input.PublishMetricAction !== undefined &&
|
|
11693
|
+
input.PublishMetricAction !== null && {
|
|
11694
|
+
PublishMetricAction: serializeAws_restJson1StatelessCustomPublishMetricAction(input.PublishMetricAction, context),
|
|
11695
|
+
}));
|
|
11696
|
+
};
|
|
11697
|
+
var serializeAws_restJson1StatelessCustomPublishMetricAction = function (input, context) {
|
|
11698
|
+
return __assign({}, (input.Dimensions !== undefined &&
|
|
11699
|
+
input.Dimensions !== null && {
|
|
11700
|
+
Dimensions: serializeAws_restJson1StatelessCustomPublishMetricActionDimensionsList(input.Dimensions, context),
|
|
11701
|
+
}));
|
|
11702
|
+
};
|
|
11703
|
+
var serializeAws_restJson1StatelessCustomPublishMetricActionDimension = function (input, context) {
|
|
11704
|
+
return __assign({}, (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
11705
|
+
};
|
|
11706
|
+
var serializeAws_restJson1StatelessCustomPublishMetricActionDimensionsList = function (input, context) {
|
|
11707
|
+
return input
|
|
11708
|
+
.filter(function (e) { return e != null; })
|
|
11709
|
+
.map(function (entry) {
|
|
11710
|
+
if (entry === null) {
|
|
11711
|
+
return null;
|
|
11712
|
+
}
|
|
11713
|
+
return serializeAws_restJson1StatelessCustomPublishMetricActionDimension(entry, context);
|
|
11714
|
+
});
|
|
11715
|
+
};
|
|
11263
11716
|
var serializeAws_restJson1StatusReason = function (input, context) {
|
|
11264
11717
|
return __assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.ReasonCode !== undefined && input.ReasonCode !== null && { ReasonCode: input.ReasonCode }));
|
|
11265
11718
|
};
|
|
@@ -11668,8 +12121,26 @@ var deserializeAws_restJson1AwsApiGatewayV2StageDetails = function (output, cont
|
|
|
11668
12121
|
: undefined,
|
|
11669
12122
|
};
|
|
11670
12123
|
};
|
|
12124
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesList = function (output, context) {
|
|
12125
|
+
return (output || [])
|
|
12126
|
+
.filter(function (e) { return e != null; })
|
|
12127
|
+
.map(function (entry) {
|
|
12128
|
+
if (entry === null) {
|
|
12129
|
+
return null;
|
|
12130
|
+
}
|
|
12131
|
+
return deserializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails(entry, context);
|
|
12132
|
+
});
|
|
12133
|
+
};
|
|
12134
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails = function (output, context) {
|
|
12135
|
+
return {
|
|
12136
|
+
Value: __expectString(output.Value),
|
|
12137
|
+
};
|
|
12138
|
+
};
|
|
11671
12139
|
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = function (output, context) {
|
|
11672
12140
|
return {
|
|
12141
|
+
AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
12142
|
+
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupAvailabilityZonesList(output.AvailabilityZones, context)
|
|
12143
|
+
: undefined,
|
|
11673
12144
|
CreatedTime: __expectString(output.CreatedTime),
|
|
11674
12145
|
HealthCheckGracePeriod: __expectInt32(output.HealthCheckGracePeriod),
|
|
11675
12146
|
HealthCheckType: __expectString(output.HealthCheckType),
|
|
@@ -11677,6 +12148,62 @@ var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = function (ou
|
|
|
11677
12148
|
LoadBalancerNames: output.LoadBalancerNames !== undefined && output.LoadBalancerNames !== null
|
|
11678
12149
|
? deserializeAws_restJson1StringList(output.LoadBalancerNames, context)
|
|
11679
12150
|
: undefined,
|
|
12151
|
+
MixedInstancesPolicy: output.MixedInstancesPolicy !== undefined && output.MixedInstancesPolicy !== null
|
|
12152
|
+
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails(output.MixedInstancesPolicy, context)
|
|
12153
|
+
: undefined,
|
|
12154
|
+
};
|
|
12155
|
+
};
|
|
12156
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails = function (output, context) {
|
|
12157
|
+
return {
|
|
12158
|
+
InstancesDistribution: output.InstancesDistribution !== undefined && output.InstancesDistribution !== null
|
|
12159
|
+
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails(output.InstancesDistribution, context)
|
|
12160
|
+
: undefined,
|
|
12161
|
+
LaunchTemplate: output.LaunchTemplate !== undefined && output.LaunchTemplate !== null
|
|
12162
|
+
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails(output.LaunchTemplate, context)
|
|
12163
|
+
: undefined,
|
|
12164
|
+
};
|
|
12165
|
+
};
|
|
12166
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails = function (output, context) {
|
|
12167
|
+
return {
|
|
12168
|
+
OnDemandAllocationStrategy: __expectString(output.OnDemandAllocationStrategy),
|
|
12169
|
+
OnDemandBaseCapacity: __expectInt32(output.OnDemandBaseCapacity),
|
|
12170
|
+
OnDemandPercentageAboveBaseCapacity: __expectInt32(output.OnDemandPercentageAboveBaseCapacity),
|
|
12171
|
+
SpotAllocationStrategy: __expectString(output.SpotAllocationStrategy),
|
|
12172
|
+
SpotInstancePools: __expectInt32(output.SpotInstancePools),
|
|
12173
|
+
SpotMaxPrice: __expectString(output.SpotMaxPrice),
|
|
12174
|
+
};
|
|
12175
|
+
};
|
|
12176
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails = function (output, context) {
|
|
12177
|
+
return {
|
|
12178
|
+
LaunchTemplateSpecification: output.LaunchTemplateSpecification !== undefined && output.LaunchTemplateSpecification !== null
|
|
12179
|
+
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification(output.LaunchTemplateSpecification, context)
|
|
12180
|
+
: undefined,
|
|
12181
|
+
Overrides: output.Overrides !== undefined && output.Overrides !== null
|
|
12182
|
+
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList(output.Overrides, context)
|
|
12183
|
+
: undefined,
|
|
12184
|
+
};
|
|
12185
|
+
};
|
|
12186
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification = function (output, context) {
|
|
12187
|
+
return {
|
|
12188
|
+
LaunchTemplateId: __expectString(output.LaunchTemplateId),
|
|
12189
|
+
LaunchTemplateName: __expectString(output.LaunchTemplateName),
|
|
12190
|
+
Version: __expectString(output.Version),
|
|
12191
|
+
};
|
|
12192
|
+
};
|
|
12193
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList = function (output, context) {
|
|
12194
|
+
return (output || [])
|
|
12195
|
+
.filter(function (e) { return e != null; })
|
|
12196
|
+
.map(function (entry) {
|
|
12197
|
+
if (entry === null) {
|
|
12198
|
+
return null;
|
|
12199
|
+
}
|
|
12200
|
+
return deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails(entry, context);
|
|
12201
|
+
});
|
|
12202
|
+
};
|
|
12203
|
+
var deserializeAws_restJson1AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails = function (output, context) {
|
|
12204
|
+
return {
|
|
12205
|
+
InstanceType: __expectString(output.InstanceType),
|
|
12206
|
+
WeightedCapacity: __expectString(output.WeightedCapacity),
|
|
11680
12207
|
};
|
|
11681
12208
|
};
|
|
11682
12209
|
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = function (output, context) {
|
|
@@ -11730,6 +12257,9 @@ var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = function
|
|
|
11730
12257
|
KernelId: __expectString(output.KernelId),
|
|
11731
12258
|
KeyName: __expectString(output.KeyName),
|
|
11732
12259
|
LaunchConfigurationName: __expectString(output.LaunchConfigurationName),
|
|
12260
|
+
MetadataOptions: output.MetadataOptions !== undefined && output.MetadataOptions !== null
|
|
12261
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationMetadataOptions(output.MetadataOptions, context)
|
|
12262
|
+
: undefined,
|
|
11733
12263
|
PlacementTenancy: __expectString(output.PlacementTenancy),
|
|
11734
12264
|
RamdiskId: __expectString(output.RamdiskId),
|
|
11735
12265
|
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
@@ -11744,6 +12274,13 @@ var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringD
|
|
|
11744
12274
|
Enabled: __expectBoolean(output.Enabled),
|
|
11745
12275
|
};
|
|
11746
12276
|
};
|
|
12277
|
+
var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationMetadataOptions = function (output, context) {
|
|
12278
|
+
return {
|
|
12279
|
+
HttpEndpoint: __expectString(output.HttpEndpoint),
|
|
12280
|
+
HttpPutResponseHopLimit: __expectInt32(output.HttpPutResponseHopLimit),
|
|
12281
|
+
HttpTokens: __expectString(output.HttpTokens),
|
|
12282
|
+
};
|
|
12283
|
+
};
|
|
11747
12284
|
var deserializeAws_restJson1AwsCertificateManagerCertificateDetails = function (output, context) {
|
|
11748
12285
|
return {
|
|
11749
12286
|
CertificateAuthorityArn: __expectString(output.CertificateAuthorityArn),
|
|
@@ -14544,20 +15081,75 @@ var deserializeAws_restJson1AwsLambdaLayerVersionDetails = function (output, con
|
|
|
14544
15081
|
Version: __expectLong(output.Version),
|
|
14545
15082
|
};
|
|
14546
15083
|
};
|
|
14547
|
-
var
|
|
15084
|
+
var deserializeAws_restJson1AwsNetworkFirewallFirewallDetails = function (output, context) {
|
|
14548
15085
|
return {
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
?
|
|
15086
|
+
DeleteProtection: __expectBoolean(output.DeleteProtection),
|
|
15087
|
+
Description: __expectString(output.Description),
|
|
15088
|
+
FirewallArn: __expectString(output.FirewallArn),
|
|
15089
|
+
FirewallId: __expectString(output.FirewallId),
|
|
15090
|
+
FirewallName: __expectString(output.FirewallName),
|
|
15091
|
+
FirewallPolicyArn: __expectString(output.FirewallPolicyArn),
|
|
15092
|
+
FirewallPolicyChangeProtection: __expectBoolean(output.FirewallPolicyChangeProtection),
|
|
15093
|
+
SubnetChangeProtection: __expectBoolean(output.SubnetChangeProtection),
|
|
15094
|
+
SubnetMappings: output.SubnetMappings !== undefined && output.SubnetMappings !== null
|
|
15095
|
+
? deserializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsList(output.SubnetMappings, context)
|
|
14559
15096
|
: undefined,
|
|
14560
|
-
|
|
15097
|
+
VpcId: __expectString(output.VpcId),
|
|
15098
|
+
};
|
|
15099
|
+
};
|
|
15100
|
+
var deserializeAws_restJson1AwsNetworkFirewallFirewallPolicyDetails = function (output, context) {
|
|
15101
|
+
return {
|
|
15102
|
+
Description: __expectString(output.Description),
|
|
15103
|
+
FirewallPolicy: output.FirewallPolicy !== undefined && output.FirewallPolicy !== null
|
|
15104
|
+
? deserializeAws_restJson1FirewallPolicyDetails(output.FirewallPolicy, context)
|
|
15105
|
+
: undefined,
|
|
15106
|
+
FirewallPolicyArn: __expectString(output.FirewallPolicyArn),
|
|
15107
|
+
FirewallPolicyId: __expectString(output.FirewallPolicyId),
|
|
15108
|
+
FirewallPolicyName: __expectString(output.FirewallPolicyName),
|
|
15109
|
+
};
|
|
15110
|
+
};
|
|
15111
|
+
var deserializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsDetails = function (output, context) {
|
|
15112
|
+
return {
|
|
15113
|
+
SubnetId: __expectString(output.SubnetId),
|
|
15114
|
+
};
|
|
15115
|
+
};
|
|
15116
|
+
var deserializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsList = function (output, context) {
|
|
15117
|
+
return (output || [])
|
|
15118
|
+
.filter(function (e) { return e != null; })
|
|
15119
|
+
.map(function (entry) {
|
|
15120
|
+
if (entry === null) {
|
|
15121
|
+
return null;
|
|
15122
|
+
}
|
|
15123
|
+
return deserializeAws_restJson1AwsNetworkFirewallFirewallSubnetMappingsDetails(entry, context);
|
|
15124
|
+
});
|
|
15125
|
+
};
|
|
15126
|
+
var deserializeAws_restJson1AwsNetworkFirewallRuleGroupDetails = function (output, context) {
|
|
15127
|
+
return {
|
|
15128
|
+
Capacity: __expectInt32(output.Capacity),
|
|
15129
|
+
Description: __expectString(output.Description),
|
|
15130
|
+
RuleGroup: output.RuleGroup !== undefined && output.RuleGroup !== null
|
|
15131
|
+
? deserializeAws_restJson1RuleGroupDetails(output.RuleGroup, context)
|
|
15132
|
+
: undefined,
|
|
15133
|
+
RuleGroupArn: __expectString(output.RuleGroupArn),
|
|
15134
|
+
RuleGroupId: __expectString(output.RuleGroupId),
|
|
15135
|
+
RuleGroupName: __expectString(output.RuleGroupName),
|
|
15136
|
+
Type: __expectString(output.Type),
|
|
15137
|
+
};
|
|
15138
|
+
};
|
|
15139
|
+
var deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = function (output, context) {
|
|
15140
|
+
return {
|
|
15141
|
+
DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount),
|
|
15142
|
+
DedicatedMasterEnabled: __expectBoolean(output.DedicatedMasterEnabled),
|
|
15143
|
+
DedicatedMasterType: __expectString(output.DedicatedMasterType),
|
|
15144
|
+
InstanceCount: __expectInt32(output.InstanceCount),
|
|
15145
|
+
InstanceType: __expectString(output.InstanceType),
|
|
15146
|
+
WarmCount: __expectInt32(output.WarmCount),
|
|
15147
|
+
WarmEnabled: __expectBoolean(output.WarmEnabled),
|
|
15148
|
+
WarmType: __expectString(output.WarmType),
|
|
15149
|
+
ZoneAwarenessConfig: output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null
|
|
15150
|
+
? deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails(output.ZoneAwarenessConfig, context)
|
|
15151
|
+
: undefined,
|
|
15152
|
+
ZoneAwarenessEnabled: __expectBoolean(output.ZoneAwarenessEnabled),
|
|
14561
15153
|
};
|
|
14562
15154
|
};
|
|
14563
15155
|
var deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails = function (output, context) {
|
|
@@ -15515,6 +16107,12 @@ var deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransiti
|
|
|
15515
16107
|
return deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails(entry, context);
|
|
15516
16108
|
});
|
|
15517
16109
|
};
|
|
16110
|
+
var deserializeAws_restJson1AwsS3BucketBucketVersioningConfiguration = function (output, context) {
|
|
16111
|
+
return {
|
|
16112
|
+
IsMfaDeleteEnabled: __expectBoolean(output.IsMfaDeleteEnabled),
|
|
16113
|
+
Status: __expectString(output.Status),
|
|
16114
|
+
};
|
|
16115
|
+
};
|
|
15518
16116
|
var deserializeAws_restJson1AwsS3BucketDetails = function (output, context) {
|
|
15519
16117
|
return {
|
|
15520
16118
|
AccessControlList: __expectString(output.AccessControlList),
|
|
@@ -15527,6 +16125,9 @@ var deserializeAws_restJson1AwsS3BucketDetails = function (output, context) {
|
|
|
15527
16125
|
BucketNotificationConfiguration: output.BucketNotificationConfiguration !== undefined && output.BucketNotificationConfiguration !== null
|
|
15528
16126
|
? deserializeAws_restJson1AwsS3BucketNotificationConfiguration(output.BucketNotificationConfiguration, context)
|
|
15529
16127
|
: undefined,
|
|
16128
|
+
BucketVersioningConfiguration: output.BucketVersioningConfiguration !== undefined && output.BucketVersioningConfiguration !== null
|
|
16129
|
+
? deserializeAws_restJson1AwsS3BucketBucketVersioningConfiguration(output.BucketVersioningConfiguration, context)
|
|
16130
|
+
: undefined,
|
|
15530
16131
|
BucketWebsiteConfiguration: output.BucketWebsiteConfiguration !== undefined && output.BucketWebsiteConfiguration !== null
|
|
15531
16132
|
? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context)
|
|
15532
16133
|
: undefined,
|
|
@@ -16548,6 +17149,74 @@ var deserializeAws_restJson1FindingProviderSeverity = function (output, context)
|
|
|
16548
17149
|
Original: __expectString(output.Original),
|
|
16549
17150
|
};
|
|
16550
17151
|
};
|
|
17152
|
+
var deserializeAws_restJson1FirewallPolicyDetails = function (output, context) {
|
|
17153
|
+
return {
|
|
17154
|
+
StatefulRuleGroupReferences: output.StatefulRuleGroupReferences !== undefined && output.StatefulRuleGroupReferences !== null
|
|
17155
|
+
? deserializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesList(output.StatefulRuleGroupReferences, context)
|
|
17156
|
+
: undefined,
|
|
17157
|
+
StatelessCustomActions: output.StatelessCustomActions !== undefined && output.StatelessCustomActions !== null
|
|
17158
|
+
? deserializeAws_restJson1FirewallPolicyStatelessCustomActionsList(output.StatelessCustomActions, context)
|
|
17159
|
+
: undefined,
|
|
17160
|
+
StatelessDefaultActions: output.StatelessDefaultActions !== undefined && output.StatelessDefaultActions !== null
|
|
17161
|
+
? deserializeAws_restJson1NonEmptyStringList(output.StatelessDefaultActions, context)
|
|
17162
|
+
: undefined,
|
|
17163
|
+
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions !== undefined && output.StatelessFragmentDefaultActions !== null
|
|
17164
|
+
? deserializeAws_restJson1NonEmptyStringList(output.StatelessFragmentDefaultActions, context)
|
|
17165
|
+
: undefined,
|
|
17166
|
+
StatelessRuleGroupReferences: output.StatelessRuleGroupReferences !== undefined && output.StatelessRuleGroupReferences !== null
|
|
17167
|
+
? deserializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesList(output.StatelessRuleGroupReferences, context)
|
|
17168
|
+
: undefined,
|
|
17169
|
+
};
|
|
17170
|
+
};
|
|
17171
|
+
var deserializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesDetails = function (output, context) {
|
|
17172
|
+
return {
|
|
17173
|
+
ResourceArn: __expectString(output.ResourceArn),
|
|
17174
|
+
};
|
|
17175
|
+
};
|
|
17176
|
+
var deserializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesList = function (output, context) {
|
|
17177
|
+
return (output || [])
|
|
17178
|
+
.filter(function (e) { return e != null; })
|
|
17179
|
+
.map(function (entry) {
|
|
17180
|
+
if (entry === null) {
|
|
17181
|
+
return null;
|
|
17182
|
+
}
|
|
17183
|
+
return deserializeAws_restJson1FirewallPolicyStatefulRuleGroupReferencesDetails(entry, context);
|
|
17184
|
+
});
|
|
17185
|
+
};
|
|
17186
|
+
var deserializeAws_restJson1FirewallPolicyStatelessCustomActionsDetails = function (output, context) {
|
|
17187
|
+
return {
|
|
17188
|
+
ActionDefinition: output.ActionDefinition !== undefined && output.ActionDefinition !== null
|
|
17189
|
+
? deserializeAws_restJson1StatelessCustomActionDefinition(output.ActionDefinition, context)
|
|
17190
|
+
: undefined,
|
|
17191
|
+
ActionName: __expectString(output.ActionName),
|
|
17192
|
+
};
|
|
17193
|
+
};
|
|
17194
|
+
var deserializeAws_restJson1FirewallPolicyStatelessCustomActionsList = function (output, context) {
|
|
17195
|
+
return (output || [])
|
|
17196
|
+
.filter(function (e) { return e != null; })
|
|
17197
|
+
.map(function (entry) {
|
|
17198
|
+
if (entry === null) {
|
|
17199
|
+
return null;
|
|
17200
|
+
}
|
|
17201
|
+
return deserializeAws_restJson1FirewallPolicyStatelessCustomActionsDetails(entry, context);
|
|
17202
|
+
});
|
|
17203
|
+
};
|
|
17204
|
+
var deserializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesDetails = function (output, context) {
|
|
17205
|
+
return {
|
|
17206
|
+
Priority: __expectInt32(output.Priority),
|
|
17207
|
+
ResourceArn: __expectString(output.ResourceArn),
|
|
17208
|
+
};
|
|
17209
|
+
};
|
|
17210
|
+
var deserializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesList = function (output, context) {
|
|
17211
|
+
return (output || [])
|
|
17212
|
+
.filter(function (e) { return e != null; })
|
|
17213
|
+
.map(function (entry) {
|
|
17214
|
+
if (entry === null) {
|
|
17215
|
+
return null;
|
|
17216
|
+
}
|
|
17217
|
+
return deserializeAws_restJson1FirewallPolicyStatelessRuleGroupReferencesDetails(entry, context);
|
|
17218
|
+
});
|
|
17219
|
+
};
|
|
16551
17220
|
var deserializeAws_restJson1GeoLocation = function (output, context) {
|
|
16552
17221
|
return {
|
|
16553
17222
|
Lat: __limitedParseDouble(output.Lat),
|
|
@@ -17258,6 +17927,15 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17258
17927
|
AwsLambdaLayerVersion: output.AwsLambdaLayerVersion !== undefined && output.AwsLambdaLayerVersion !== null
|
|
17259
17928
|
? deserializeAws_restJson1AwsLambdaLayerVersionDetails(output.AwsLambdaLayerVersion, context)
|
|
17260
17929
|
: undefined,
|
|
17930
|
+
AwsNetworkFirewallFirewall: output.AwsNetworkFirewallFirewall !== undefined && output.AwsNetworkFirewallFirewall !== null
|
|
17931
|
+
? deserializeAws_restJson1AwsNetworkFirewallFirewallDetails(output.AwsNetworkFirewallFirewall, context)
|
|
17932
|
+
: undefined,
|
|
17933
|
+
AwsNetworkFirewallFirewallPolicy: output.AwsNetworkFirewallFirewallPolicy !== undefined && output.AwsNetworkFirewallFirewallPolicy !== null
|
|
17934
|
+
? deserializeAws_restJson1AwsNetworkFirewallFirewallPolicyDetails(output.AwsNetworkFirewallFirewallPolicy, context)
|
|
17935
|
+
: undefined,
|
|
17936
|
+
AwsNetworkFirewallRuleGroup: output.AwsNetworkFirewallRuleGroup !== undefined && output.AwsNetworkFirewallRuleGroup !== null
|
|
17937
|
+
? deserializeAws_restJson1AwsNetworkFirewallRuleGroupDetails(output.AwsNetworkFirewallRuleGroup, context)
|
|
17938
|
+
: undefined,
|
|
17261
17939
|
AwsOpenSearchServiceDomain: output.AwsOpenSearchServiceDomain !== undefined && output.AwsOpenSearchServiceDomain !== null
|
|
17262
17940
|
? deserializeAws_restJson1AwsOpenSearchServiceDomainDetails(output.AwsOpenSearchServiceDomain, context)
|
|
17263
17941
|
: undefined,
|
|
@@ -17346,6 +18024,294 @@ var deserializeAws_restJson1ResultList = function (output, context) {
|
|
|
17346
18024
|
return deserializeAws_restJson1Result(entry, context);
|
|
17347
18025
|
});
|
|
17348
18026
|
};
|
|
18027
|
+
var deserializeAws_restJson1RuleGroupDetails = function (output, context) {
|
|
18028
|
+
return {
|
|
18029
|
+
RuleVariables: output.RuleVariables !== undefined && output.RuleVariables !== null
|
|
18030
|
+
? deserializeAws_restJson1RuleGroupVariables(output.RuleVariables, context)
|
|
18031
|
+
: undefined,
|
|
18032
|
+
RulesSource: output.RulesSource !== undefined && output.RulesSource !== null
|
|
18033
|
+
? deserializeAws_restJson1RuleGroupSource(output.RulesSource, context)
|
|
18034
|
+
: undefined,
|
|
18035
|
+
};
|
|
18036
|
+
};
|
|
18037
|
+
var deserializeAws_restJson1RuleGroupSource = function (output, context) {
|
|
18038
|
+
return {
|
|
18039
|
+
RulesSourceList: output.RulesSourceList !== undefined && output.RulesSourceList !== null
|
|
18040
|
+
? deserializeAws_restJson1RuleGroupSourceListDetails(output.RulesSourceList, context)
|
|
18041
|
+
: undefined,
|
|
18042
|
+
RulesString: __expectString(output.RulesString),
|
|
18043
|
+
StatefulRules: output.StatefulRules !== undefined && output.StatefulRules !== null
|
|
18044
|
+
? deserializeAws_restJson1RuleGroupSourceStatefulRulesList(output.StatefulRules, context)
|
|
18045
|
+
: undefined,
|
|
18046
|
+
StatelessRulesAndCustomActions: output.StatelessRulesAndCustomActions !== undefined && output.StatelessRulesAndCustomActions !== null
|
|
18047
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRulesAndCustomActionsDetails(output.StatelessRulesAndCustomActions, context)
|
|
18048
|
+
: undefined,
|
|
18049
|
+
};
|
|
18050
|
+
};
|
|
18051
|
+
var deserializeAws_restJson1RuleGroupSourceCustomActionsDetails = function (output, context) {
|
|
18052
|
+
return {
|
|
18053
|
+
ActionDefinition: output.ActionDefinition !== undefined && output.ActionDefinition !== null
|
|
18054
|
+
? deserializeAws_restJson1StatelessCustomActionDefinition(output.ActionDefinition, context)
|
|
18055
|
+
: undefined,
|
|
18056
|
+
ActionName: __expectString(output.ActionName),
|
|
18057
|
+
};
|
|
18058
|
+
};
|
|
18059
|
+
var deserializeAws_restJson1RuleGroupSourceCustomActionsList = function (output, context) {
|
|
18060
|
+
return (output || [])
|
|
18061
|
+
.filter(function (e) { return e != null; })
|
|
18062
|
+
.map(function (entry) {
|
|
18063
|
+
if (entry === null) {
|
|
18064
|
+
return null;
|
|
18065
|
+
}
|
|
18066
|
+
return deserializeAws_restJson1RuleGroupSourceCustomActionsDetails(entry, context);
|
|
18067
|
+
});
|
|
18068
|
+
};
|
|
18069
|
+
var deserializeAws_restJson1RuleGroupSourceListDetails = function (output, context) {
|
|
18070
|
+
return {
|
|
18071
|
+
GeneratedRulesType: __expectString(output.GeneratedRulesType),
|
|
18072
|
+
TargetTypes: output.TargetTypes !== undefined && output.TargetTypes !== null
|
|
18073
|
+
? deserializeAws_restJson1NonEmptyStringList(output.TargetTypes, context)
|
|
18074
|
+
: undefined,
|
|
18075
|
+
Targets: output.Targets !== undefined && output.Targets !== null
|
|
18076
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Targets, context)
|
|
18077
|
+
: undefined,
|
|
18078
|
+
};
|
|
18079
|
+
};
|
|
18080
|
+
var deserializeAws_restJson1RuleGroupSourceStatefulRulesDetails = function (output, context) {
|
|
18081
|
+
return {
|
|
18082
|
+
Action: __expectString(output.Action),
|
|
18083
|
+
Header: output.Header !== undefined && output.Header !== null
|
|
18084
|
+
? deserializeAws_restJson1RuleGroupSourceStatefulRulesHeaderDetails(output.Header, context)
|
|
18085
|
+
: undefined,
|
|
18086
|
+
RuleOptions: output.RuleOptions !== undefined && output.RuleOptions !== null
|
|
18087
|
+
? deserializeAws_restJson1RuleGroupSourceStatefulRulesOptionsList(output.RuleOptions, context)
|
|
18088
|
+
: undefined,
|
|
18089
|
+
};
|
|
18090
|
+
};
|
|
18091
|
+
var deserializeAws_restJson1RuleGroupSourceStatefulRulesHeaderDetails = function (output, context) {
|
|
18092
|
+
return {
|
|
18093
|
+
Destination: __expectString(output.Destination),
|
|
18094
|
+
DestinationPort: __expectString(output.DestinationPort),
|
|
18095
|
+
Direction: __expectString(output.Direction),
|
|
18096
|
+
Protocol: __expectString(output.Protocol),
|
|
18097
|
+
Source: __expectString(output.Source),
|
|
18098
|
+
SourcePort: __expectString(output.SourcePort),
|
|
18099
|
+
};
|
|
18100
|
+
};
|
|
18101
|
+
var deserializeAws_restJson1RuleGroupSourceStatefulRulesList = function (output, context) {
|
|
18102
|
+
return (output || [])
|
|
18103
|
+
.filter(function (e) { return e != null; })
|
|
18104
|
+
.map(function (entry) {
|
|
18105
|
+
if (entry === null) {
|
|
18106
|
+
return null;
|
|
18107
|
+
}
|
|
18108
|
+
return deserializeAws_restJson1RuleGroupSourceStatefulRulesDetails(entry, context);
|
|
18109
|
+
});
|
|
18110
|
+
};
|
|
18111
|
+
var deserializeAws_restJson1RuleGroupSourceStatefulRulesOptionsDetails = function (output, context) {
|
|
18112
|
+
return {
|
|
18113
|
+
Keyword: __expectString(output.Keyword),
|
|
18114
|
+
Settings: output.Settings !== undefined && output.Settings !== null
|
|
18115
|
+
? deserializeAws_restJson1RuleGroupSourceStatefulRulesRuleOptionsSettingsList(output.Settings, context)
|
|
18116
|
+
: undefined,
|
|
18117
|
+
};
|
|
18118
|
+
};
|
|
18119
|
+
var deserializeAws_restJson1RuleGroupSourceStatefulRulesOptionsList = function (output, context) {
|
|
18120
|
+
return (output || [])
|
|
18121
|
+
.filter(function (e) { return e != null; })
|
|
18122
|
+
.map(function (entry) {
|
|
18123
|
+
if (entry === null) {
|
|
18124
|
+
return null;
|
|
18125
|
+
}
|
|
18126
|
+
return deserializeAws_restJson1RuleGroupSourceStatefulRulesOptionsDetails(entry, context);
|
|
18127
|
+
});
|
|
18128
|
+
};
|
|
18129
|
+
var deserializeAws_restJson1RuleGroupSourceStatefulRulesRuleOptionsSettingsList = function (output, context) {
|
|
18130
|
+
return (output || [])
|
|
18131
|
+
.filter(function (e) { return e != null; })
|
|
18132
|
+
.map(function (entry) {
|
|
18133
|
+
if (entry === null) {
|
|
18134
|
+
return null;
|
|
18135
|
+
}
|
|
18136
|
+
return __expectString(entry);
|
|
18137
|
+
});
|
|
18138
|
+
};
|
|
18139
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleDefinition = function (output, context) {
|
|
18140
|
+
return {
|
|
18141
|
+
Actions: output.Actions !== undefined && output.Actions !== null
|
|
18142
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Actions, context)
|
|
18143
|
+
: undefined,
|
|
18144
|
+
MatchAttributes: output.MatchAttributes !== undefined && output.MatchAttributes !== null
|
|
18145
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributes(output.MatchAttributes, context)
|
|
18146
|
+
: undefined,
|
|
18147
|
+
};
|
|
18148
|
+
};
|
|
18149
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributes = function (output, context) {
|
|
18150
|
+
return {
|
|
18151
|
+
DestinationPorts: output.DestinationPorts !== undefined && output.DestinationPorts !== null
|
|
18152
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList(output.DestinationPorts, context)
|
|
18153
|
+
: undefined,
|
|
18154
|
+
Destinations: output.Destinations !== undefined && output.Destinations !== null
|
|
18155
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationsList(output.Destinations, context)
|
|
18156
|
+
: undefined,
|
|
18157
|
+
Protocols: output.Protocols !== undefined && output.Protocols !== null
|
|
18158
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesProtocolsList(output.Protocols, context)
|
|
18159
|
+
: undefined,
|
|
18160
|
+
SourcePorts: output.SourcePorts !== undefined && output.SourcePorts !== null
|
|
18161
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePortsList(output.SourcePorts, context)
|
|
18162
|
+
: undefined,
|
|
18163
|
+
Sources: output.Sources !== undefined && output.Sources !== null
|
|
18164
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcesList(output.Sources, context)
|
|
18165
|
+
: undefined,
|
|
18166
|
+
TcpFlags: output.TcpFlags !== undefined && output.TcpFlags !== null
|
|
18167
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList(output.TcpFlags, context)
|
|
18168
|
+
: undefined,
|
|
18169
|
+
};
|
|
18170
|
+
};
|
|
18171
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts = function (output, context) {
|
|
18172
|
+
return {
|
|
18173
|
+
FromPort: __expectInt32(output.FromPort),
|
|
18174
|
+
ToPort: __expectInt32(output.ToPort),
|
|
18175
|
+
};
|
|
18176
|
+
};
|
|
18177
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList = function (output, context) {
|
|
18178
|
+
return (output || [])
|
|
18179
|
+
.filter(function (e) { return e != null; })
|
|
18180
|
+
.map(function (entry) {
|
|
18181
|
+
if (entry === null) {
|
|
18182
|
+
return null;
|
|
18183
|
+
}
|
|
18184
|
+
return deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts(entry, context);
|
|
18185
|
+
});
|
|
18186
|
+
};
|
|
18187
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinations = function (output, context) {
|
|
18188
|
+
return {
|
|
18189
|
+
AddressDefinition: __expectString(output.AddressDefinition),
|
|
18190
|
+
};
|
|
18191
|
+
};
|
|
18192
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinationsList = function (output, context) {
|
|
18193
|
+
return (output || [])
|
|
18194
|
+
.filter(function (e) { return e != null; })
|
|
18195
|
+
.map(function (entry) {
|
|
18196
|
+
if (entry === null) {
|
|
18197
|
+
return null;
|
|
18198
|
+
}
|
|
18199
|
+
return deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesDestinations(entry, context);
|
|
18200
|
+
});
|
|
18201
|
+
};
|
|
18202
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesProtocolsList = function (output, context) {
|
|
18203
|
+
return (output || [])
|
|
18204
|
+
.filter(function (e) { return e != null; })
|
|
18205
|
+
.map(function (entry) {
|
|
18206
|
+
if (entry === null) {
|
|
18207
|
+
return null;
|
|
18208
|
+
}
|
|
18209
|
+
return __expectInt32(entry);
|
|
18210
|
+
});
|
|
18211
|
+
};
|
|
18212
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePorts = function (output, context) {
|
|
18213
|
+
return {
|
|
18214
|
+
FromPort: __expectInt32(output.FromPort),
|
|
18215
|
+
ToPort: __expectInt32(output.ToPort),
|
|
18216
|
+
};
|
|
18217
|
+
};
|
|
18218
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePortsList = function (output, context) {
|
|
18219
|
+
return (output || [])
|
|
18220
|
+
.filter(function (e) { return e != null; })
|
|
18221
|
+
.map(function (entry) {
|
|
18222
|
+
if (entry === null) {
|
|
18223
|
+
return null;
|
|
18224
|
+
}
|
|
18225
|
+
return deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcePorts(entry, context);
|
|
18226
|
+
});
|
|
18227
|
+
};
|
|
18228
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSources = function (output, context) {
|
|
18229
|
+
return {
|
|
18230
|
+
AddressDefinition: __expectString(output.AddressDefinition),
|
|
18231
|
+
};
|
|
18232
|
+
};
|
|
18233
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSourcesList = function (output, context) {
|
|
18234
|
+
return (output || [])
|
|
18235
|
+
.filter(function (e) { return e != null; })
|
|
18236
|
+
.map(function (entry) {
|
|
18237
|
+
if (entry === null) {
|
|
18238
|
+
return null;
|
|
18239
|
+
}
|
|
18240
|
+
return deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesSources(entry, context);
|
|
18241
|
+
});
|
|
18242
|
+
};
|
|
18243
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlags = function (output, context) {
|
|
18244
|
+
return {
|
|
18245
|
+
Flags: output.Flags !== undefined && output.Flags !== null
|
|
18246
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Flags, context)
|
|
18247
|
+
: undefined,
|
|
18248
|
+
Masks: output.Masks !== undefined && output.Masks !== null
|
|
18249
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Masks, context)
|
|
18250
|
+
: undefined,
|
|
18251
|
+
};
|
|
18252
|
+
};
|
|
18253
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList = function (output, context) {
|
|
18254
|
+
return (output || [])
|
|
18255
|
+
.filter(function (e) { return e != null; })
|
|
18256
|
+
.map(function (entry) {
|
|
18257
|
+
if (entry === null) {
|
|
18258
|
+
return null;
|
|
18259
|
+
}
|
|
18260
|
+
return deserializeAws_restJson1RuleGroupSourceStatelessRuleMatchAttributesTcpFlags(entry, context);
|
|
18261
|
+
});
|
|
18262
|
+
};
|
|
18263
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRulesAndCustomActionsDetails = function (output, context) {
|
|
18264
|
+
return {
|
|
18265
|
+
CustomActions: output.CustomActions !== undefined && output.CustomActions !== null
|
|
18266
|
+
? deserializeAws_restJson1RuleGroupSourceCustomActionsList(output.CustomActions, context)
|
|
18267
|
+
: undefined,
|
|
18268
|
+
StatelessRules: output.StatelessRules !== undefined && output.StatelessRules !== null
|
|
18269
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRulesList(output.StatelessRules, context)
|
|
18270
|
+
: undefined,
|
|
18271
|
+
};
|
|
18272
|
+
};
|
|
18273
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRulesDetails = function (output, context) {
|
|
18274
|
+
return {
|
|
18275
|
+
Priority: __expectInt32(output.Priority),
|
|
18276
|
+
RuleDefinition: output.RuleDefinition !== undefined && output.RuleDefinition !== null
|
|
18277
|
+
? deserializeAws_restJson1RuleGroupSourceStatelessRuleDefinition(output.RuleDefinition, context)
|
|
18278
|
+
: undefined,
|
|
18279
|
+
};
|
|
18280
|
+
};
|
|
18281
|
+
var deserializeAws_restJson1RuleGroupSourceStatelessRulesList = function (output, context) {
|
|
18282
|
+
return (output || [])
|
|
18283
|
+
.filter(function (e) { return e != null; })
|
|
18284
|
+
.map(function (entry) {
|
|
18285
|
+
if (entry === null) {
|
|
18286
|
+
return null;
|
|
18287
|
+
}
|
|
18288
|
+
return deserializeAws_restJson1RuleGroupSourceStatelessRulesDetails(entry, context);
|
|
18289
|
+
});
|
|
18290
|
+
};
|
|
18291
|
+
var deserializeAws_restJson1RuleGroupVariables = function (output, context) {
|
|
18292
|
+
return {
|
|
18293
|
+
IpSets: output.IpSets !== undefined && output.IpSets !== null
|
|
18294
|
+
? deserializeAws_restJson1RuleGroupVariablesIpSetsDetails(output.IpSets, context)
|
|
18295
|
+
: undefined,
|
|
18296
|
+
PortSets: output.PortSets !== undefined && output.PortSets !== null
|
|
18297
|
+
? deserializeAws_restJson1RuleGroupVariablesPortSetsDetails(output.PortSets, context)
|
|
18298
|
+
: undefined,
|
|
18299
|
+
};
|
|
18300
|
+
};
|
|
18301
|
+
var deserializeAws_restJson1RuleGroupVariablesIpSetsDetails = function (output, context) {
|
|
18302
|
+
return {
|
|
18303
|
+
Definition: output.Definition !== undefined && output.Definition !== null
|
|
18304
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Definition, context)
|
|
18305
|
+
: undefined,
|
|
18306
|
+
};
|
|
18307
|
+
};
|
|
18308
|
+
var deserializeAws_restJson1RuleGroupVariablesPortSetsDetails = function (output, context) {
|
|
18309
|
+
return {
|
|
18310
|
+
Definition: output.Definition !== undefined && output.Definition !== null
|
|
18311
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Definition, context)
|
|
18312
|
+
: undefined,
|
|
18313
|
+
};
|
|
18314
|
+
};
|
|
17349
18315
|
var deserializeAws_restJson1SecurityGroups = function (output, context) {
|
|
17350
18316
|
return (output || [])
|
|
17351
18317
|
.filter(function (e) { return e != null; })
|
|
@@ -17479,6 +18445,11 @@ var deserializeAws_restJson1StandardsInputParameterMap = function (output, conte
|
|
|
17479
18445
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
17480
18446
|
}, {});
|
|
17481
18447
|
};
|
|
18448
|
+
var deserializeAws_restJson1StandardsStatusReason = function (output, context) {
|
|
18449
|
+
return {
|
|
18450
|
+
StatusReasonCode: __expectString(output.StatusReasonCode),
|
|
18451
|
+
};
|
|
18452
|
+
};
|
|
17482
18453
|
var deserializeAws_restJson1StandardsSubscription = function (output, context) {
|
|
17483
18454
|
return {
|
|
17484
18455
|
StandardsArn: __expectString(output.StandardsArn),
|
|
@@ -17486,6 +18457,9 @@ var deserializeAws_restJson1StandardsSubscription = function (output, context) {
|
|
|
17486
18457
|
? deserializeAws_restJson1StandardsInputParameterMap(output.StandardsInput, context)
|
|
17487
18458
|
: undefined,
|
|
17488
18459
|
StandardsStatus: __expectString(output.StandardsStatus),
|
|
18460
|
+
StandardsStatusReason: output.StandardsStatusReason !== undefined && output.StandardsStatusReason !== null
|
|
18461
|
+
? deserializeAws_restJson1StandardsStatusReason(output.StandardsStatusReason, context)
|
|
18462
|
+
: undefined,
|
|
17489
18463
|
StandardsSubscriptionArn: __expectString(output.StandardsSubscriptionArn),
|
|
17490
18464
|
};
|
|
17491
18465
|
};
|
|
@@ -17499,6 +18473,35 @@ var deserializeAws_restJson1StandardsSubscriptions = function (output, context)
|
|
|
17499
18473
|
return deserializeAws_restJson1StandardsSubscription(entry, context);
|
|
17500
18474
|
});
|
|
17501
18475
|
};
|
|
18476
|
+
var deserializeAws_restJson1StatelessCustomActionDefinition = function (output, context) {
|
|
18477
|
+
return {
|
|
18478
|
+
PublishMetricAction: output.PublishMetricAction !== undefined && output.PublishMetricAction !== null
|
|
18479
|
+
? deserializeAws_restJson1StatelessCustomPublishMetricAction(output.PublishMetricAction, context)
|
|
18480
|
+
: undefined,
|
|
18481
|
+
};
|
|
18482
|
+
};
|
|
18483
|
+
var deserializeAws_restJson1StatelessCustomPublishMetricAction = function (output, context) {
|
|
18484
|
+
return {
|
|
18485
|
+
Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
|
|
18486
|
+
? deserializeAws_restJson1StatelessCustomPublishMetricActionDimensionsList(output.Dimensions, context)
|
|
18487
|
+
: undefined,
|
|
18488
|
+
};
|
|
18489
|
+
};
|
|
18490
|
+
var deserializeAws_restJson1StatelessCustomPublishMetricActionDimension = function (output, context) {
|
|
18491
|
+
return {
|
|
18492
|
+
Value: __expectString(output.Value),
|
|
18493
|
+
};
|
|
18494
|
+
};
|
|
18495
|
+
var deserializeAws_restJson1StatelessCustomPublishMetricActionDimensionsList = function (output, context) {
|
|
18496
|
+
return (output || [])
|
|
18497
|
+
.filter(function (e) { return e != null; })
|
|
18498
|
+
.map(function (entry) {
|
|
18499
|
+
if (entry === null) {
|
|
18500
|
+
return null;
|
|
18501
|
+
}
|
|
18502
|
+
return deserializeAws_restJson1StatelessCustomPublishMetricActionDimension(entry, context);
|
|
18503
|
+
});
|
|
18504
|
+
};
|
|
17502
18505
|
var deserializeAws_restJson1StatusReason = function (output, context) {
|
|
17503
18506
|
return {
|
|
17504
18507
|
Description: __expectString(output.Description),
|