@aws-sdk/client-securityhub 3.110.0 → 3.118.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 +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateActionTargetCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateInsightCommand.js +3 -3
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateStandardsControlCommand.js +3 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +161 -161
- package/dist-cjs/models/models_1.js +276 -114
- package/dist-cjs/models/models_2.js +111 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1490 -33
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateActionTargetCommand.js +1 -1
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +1 -1
- package/dist-es/commands/UpdateFindingsCommand.js +1 -1
- package/dist-es/commands/UpdateInsightCommand.js +1 -1
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateStandardsControlCommand.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +104 -104
- package/dist-es/models/models_1.js +180 -72
- package/dist-es/models/models_2.js +73 -0
- package/dist-es/protocols/Aws_restJson1.js +1207 -19
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1104 -975
- package/dist-types/models/models_1.d.ts +3525 -2223
- package/dist-types/models/models_2.d.ts +285 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +509 -519
- package/dist-types/ts3.4/models/models_1.d.ts +839 -228
- package/dist-types/ts3.4/models/models_2.d.ts +164 -0
- package/package.json +6 -6
|
@@ -5997,6 +5997,43 @@ var serializeAws_restJson1AwsCertificateManagerCertificateRenewalSummary = funct
|
|
|
5997
5997
|
var serializeAws_restJson1AwsCertificateManagerCertificateResourceRecord = function (input, context) {
|
|
5998
5998
|
return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
5999
5999
|
};
|
|
6000
|
+
var serializeAws_restJson1AwsCloudFormationStackDetails = function (input, context) {
|
|
6001
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Capabilities !== undefined &&
|
|
6002
|
+
input.Capabilities !== null && {
|
|
6003
|
+
Capabilities: serializeAws_restJson1NonEmptyStringList(input.Capabilities, context),
|
|
6004
|
+
})), (input.CreationTime !== undefined && input.CreationTime !== null && { CreationTime: input.CreationTime })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisableRollback !== undefined &&
|
|
6005
|
+
input.DisableRollback !== null && { DisableRollback: input.DisableRollback })), (input.DriftInformation !== undefined &&
|
|
6006
|
+
input.DriftInformation !== null && {
|
|
6007
|
+
DriftInformation: serializeAws_restJson1AwsCloudFormationStackDriftInformationDetails(input.DriftInformation, context),
|
|
6008
|
+
})), (input.EnableTerminationProtection !== undefined &&
|
|
6009
|
+
input.EnableTerminationProtection !== null && { EnableTerminationProtection: input.EnableTerminationProtection })), (input.LastUpdatedTime !== undefined &&
|
|
6010
|
+
input.LastUpdatedTime !== null && { LastUpdatedTime: input.LastUpdatedTime })), (input.NotificationArns !== undefined &&
|
|
6011
|
+
input.NotificationArns !== null && {
|
|
6012
|
+
NotificationArns: serializeAws_restJson1NonEmptyStringList(input.NotificationArns, context),
|
|
6013
|
+
})), (input.Outputs !== undefined &&
|
|
6014
|
+
input.Outputs !== null && {
|
|
6015
|
+
Outputs: serializeAws_restJson1AwsCloudFormationStackOutputsList(input.Outputs, context),
|
|
6016
|
+
})), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.StackId !== undefined && input.StackId !== null && { StackId: input.StackId })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.StackStatus !== undefined && input.StackStatus !== null && { StackStatus: input.StackStatus })), (input.StackStatusReason !== undefined &&
|
|
6017
|
+
input.StackStatusReason !== null && { StackStatusReason: input.StackStatusReason })), (input.TimeoutInMinutes !== undefined &&
|
|
6018
|
+
input.TimeoutInMinutes !== null && { TimeoutInMinutes: input.TimeoutInMinutes }));
|
|
6019
|
+
};
|
|
6020
|
+
var serializeAws_restJson1AwsCloudFormationStackDriftInformationDetails = function (input, context) {
|
|
6021
|
+
return __assign({}, (input.StackDriftStatus !== undefined &&
|
|
6022
|
+
input.StackDriftStatus !== null && { StackDriftStatus: input.StackDriftStatus }));
|
|
6023
|
+
};
|
|
6024
|
+
var serializeAws_restJson1AwsCloudFormationStackOutputsDetails = function (input, context) {
|
|
6025
|
+
return __assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey })), (input.OutputValue !== undefined && input.OutputValue !== null && { OutputValue: input.OutputValue }));
|
|
6026
|
+
};
|
|
6027
|
+
var serializeAws_restJson1AwsCloudFormationStackOutputsList = function (input, context) {
|
|
6028
|
+
return input
|
|
6029
|
+
.filter(function (e) { return e != null; })
|
|
6030
|
+
.map(function (entry) {
|
|
6031
|
+
if (entry === null) {
|
|
6032
|
+
return null;
|
|
6033
|
+
}
|
|
6034
|
+
return serializeAws_restJson1AwsCloudFormationStackOutputsDetails(entry, context);
|
|
6035
|
+
});
|
|
6036
|
+
};
|
|
6000
6037
|
var serializeAws_restJson1AwsCloudFrontDistributionCacheBehavior = function (input, context) {
|
|
6001
6038
|
return __assign({}, (input.ViewerProtocolPolicy !== undefined &&
|
|
6002
6039
|
input.ViewerProtocolPolicy !== null && { ViewerProtocolPolicy: input.ViewerProtocolPolicy }));
|
|
@@ -6048,6 +6085,15 @@ var serializeAws_restJson1AwsCloudFrontDistributionLogging = function (input, co
|
|
|
6048
6085
|
return __assign(__assign(__assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket })), (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.IncludeCookies !== undefined &&
|
|
6049
6086
|
input.IncludeCookies !== null && { IncludeCookies: input.IncludeCookies })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix }));
|
|
6050
6087
|
};
|
|
6088
|
+
var serializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig = function (input, context) {
|
|
6089
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.HttpPort !== undefined && input.HttpPort !== null && { HttpPort: input.HttpPort })), (input.HttpsPort !== undefined && input.HttpsPort !== null && { HttpsPort: input.HttpsPort })), (input.OriginKeepaliveTimeout !== undefined &&
|
|
6090
|
+
input.OriginKeepaliveTimeout !== null && { OriginKeepaliveTimeout: input.OriginKeepaliveTimeout })), (input.OriginProtocolPolicy !== undefined &&
|
|
6091
|
+
input.OriginProtocolPolicy !== null && { OriginProtocolPolicy: input.OriginProtocolPolicy })), (input.OriginReadTimeout !== undefined &&
|
|
6092
|
+
input.OriginReadTimeout !== null && { OriginReadTimeout: input.OriginReadTimeout })), (input.OriginSslProtocols !== undefined &&
|
|
6093
|
+
input.OriginSslProtocols !== null && {
|
|
6094
|
+
OriginSslProtocols: serializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols(input.OriginSslProtocols, context),
|
|
6095
|
+
}));
|
|
6096
|
+
};
|
|
6051
6097
|
var serializeAws_restJson1AwsCloudFrontDistributionOriginGroup = function (input, context) {
|
|
6052
6098
|
return __assign({}, (input.FailoverCriteria !== undefined &&
|
|
6053
6099
|
input.FailoverCriteria !== null && {
|
|
@@ -6093,7 +6139,10 @@ var serializeAws_restJson1AwsCloudFrontDistributionOriginGroupsItemList = functi
|
|
|
6093
6139
|
});
|
|
6094
6140
|
};
|
|
6095
6141
|
var serializeAws_restJson1AwsCloudFrontDistributionOriginItem = function (input, context) {
|
|
6096
|
-
return __assign(__assign(__assign(__assign(
|
|
6142
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CustomOriginConfig !== undefined &&
|
|
6143
|
+
input.CustomOriginConfig !== null && {
|
|
6144
|
+
CustomOriginConfig: serializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig(input.CustomOriginConfig, context),
|
|
6145
|
+
})), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.OriginPath !== undefined && input.OriginPath !== null && { OriginPath: input.OriginPath })), (input.S3OriginConfig !== undefined &&
|
|
6097
6146
|
input.S3OriginConfig !== null && {
|
|
6098
6147
|
S3OriginConfig: serializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig(input.S3OriginConfig, context),
|
|
6099
6148
|
}));
|
|
@@ -6118,6 +6167,10 @@ var serializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig = functi
|
|
|
6118
6167
|
return __assign({}, (input.OriginAccessIdentity !== undefined &&
|
|
6119
6168
|
input.OriginAccessIdentity !== null && { OriginAccessIdentity: input.OriginAccessIdentity }));
|
|
6120
6169
|
};
|
|
6170
|
+
var serializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols = function (input, context) {
|
|
6171
|
+
return __assign(__assign({}, (input.Items !== undefined &&
|
|
6172
|
+
input.Items !== null && { Items: serializeAws_restJson1NonEmptyStringList(input.Items, context) })), (input.Quantity !== undefined && input.Quantity !== null && { Quantity: input.Quantity }));
|
|
6173
|
+
};
|
|
6121
6174
|
var serializeAws_restJson1AwsCloudFrontDistributionViewerCertificate = function (input, context) {
|
|
6122
6175
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcmCertificateArn !== undefined &&
|
|
6123
6176
|
input.AcmCertificateArn !== null && { AcmCertificateArn: input.AcmCertificateArn })), (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.CertificateSource !== undefined &&
|
|
@@ -6139,6 +6192,46 @@ var serializeAws_restJson1AwsCloudTrailTrailDetails = function (input, context)
|
|
|
6139
6192
|
input.IsOrganizationTrail !== null && { IsOrganizationTrail: input.IsOrganizationTrail })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.LogFileValidationEnabled !== undefined &&
|
|
6140
6193
|
input.LogFileValidationEnabled !== null && { LogFileValidationEnabled: input.LogFileValidationEnabled })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.S3BucketName !== undefined && input.S3BucketName !== null && { S3BucketName: input.S3BucketName })), (input.S3KeyPrefix !== undefined && input.S3KeyPrefix !== null && { S3KeyPrefix: input.S3KeyPrefix })), (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn })), (input.SnsTopicName !== undefined && input.SnsTopicName !== null && { SnsTopicName: input.SnsTopicName })), (input.TrailArn !== undefined && input.TrailArn !== null && { TrailArn: input.TrailArn }));
|
|
6141
6194
|
};
|
|
6195
|
+
var serializeAws_restJson1AwsCloudWatchAlarmDetails = function (input, context) {
|
|
6196
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActionsEnabled !== undefined &&
|
|
6197
|
+
input.ActionsEnabled !== null && { ActionsEnabled: input.ActionsEnabled })), (input.AlarmActions !== undefined &&
|
|
6198
|
+
input.AlarmActions !== null && {
|
|
6199
|
+
AlarmActions: serializeAws_restJson1NonEmptyStringList(input.AlarmActions, context),
|
|
6200
|
+
})), (input.AlarmArn !== undefined && input.AlarmArn !== null && { AlarmArn: input.AlarmArn })), (input.AlarmConfigurationUpdatedTimestamp !== undefined &&
|
|
6201
|
+
input.AlarmConfigurationUpdatedTimestamp !== null && {
|
|
6202
|
+
AlarmConfigurationUpdatedTimestamp: input.AlarmConfigurationUpdatedTimestamp,
|
|
6203
|
+
})), (input.AlarmDescription !== undefined &&
|
|
6204
|
+
input.AlarmDescription !== null && { AlarmDescription: input.AlarmDescription })), (input.AlarmName !== undefined && input.AlarmName !== null && { AlarmName: input.AlarmName })), (input.ComparisonOperator !== undefined &&
|
|
6205
|
+
input.ComparisonOperator !== null && { ComparisonOperator: input.ComparisonOperator })), (input.DatapointsToAlarm !== undefined &&
|
|
6206
|
+
input.DatapointsToAlarm !== null && { DatapointsToAlarm: input.DatapointsToAlarm })), (input.Dimensions !== undefined &&
|
|
6207
|
+
input.Dimensions !== null && {
|
|
6208
|
+
Dimensions: serializeAws_restJson1AwsCloudWatchAlarmDimensionsList(input.Dimensions, context),
|
|
6209
|
+
})), (input.EvaluateLowSampleCountPercentile !== undefined &&
|
|
6210
|
+
input.EvaluateLowSampleCountPercentile !== null && {
|
|
6211
|
+
EvaluateLowSampleCountPercentile: input.EvaluateLowSampleCountPercentile,
|
|
6212
|
+
})), (input.EvaluationPeriods !== undefined &&
|
|
6213
|
+
input.EvaluationPeriods !== null && { EvaluationPeriods: input.EvaluationPeriods })), (input.ExtendedStatistic !== undefined &&
|
|
6214
|
+
input.ExtendedStatistic !== null && { ExtendedStatistic: input.ExtendedStatistic })), (input.InsufficientDataActions !== undefined &&
|
|
6215
|
+
input.InsufficientDataActions !== null && {
|
|
6216
|
+
InsufficientDataActions: serializeAws_restJson1NonEmptyStringList(input.InsufficientDataActions, context),
|
|
6217
|
+
})), (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace })), (input.OkActions !== undefined &&
|
|
6218
|
+
input.OkActions !== null && { OkActions: serializeAws_restJson1NonEmptyStringList(input.OkActions, context) })), (input.Period !== undefined && input.Period !== null && { Period: input.Period })), (input.Statistic !== undefined && input.Statistic !== null && { Statistic: input.Statistic })), (input.Threshold !== undefined && input.Threshold !== null && { Threshold: __serializeFloat(input.Threshold) })), (input.ThresholdMetricId !== undefined &&
|
|
6219
|
+
input.ThresholdMetricId !== null && { ThresholdMetricId: input.ThresholdMetricId })), (input.TreatMissingData !== undefined &&
|
|
6220
|
+
input.TreatMissingData !== null && { TreatMissingData: input.TreatMissingData })), (input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }));
|
|
6221
|
+
};
|
|
6222
|
+
var serializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails = function (input, context) {
|
|
6223
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
6224
|
+
};
|
|
6225
|
+
var serializeAws_restJson1AwsCloudWatchAlarmDimensionsList = function (input, context) {
|
|
6226
|
+
return input
|
|
6227
|
+
.filter(function (e) { return e != null; })
|
|
6228
|
+
.map(function (entry) {
|
|
6229
|
+
if (entry === null) {
|
|
6230
|
+
return null;
|
|
6231
|
+
}
|
|
6232
|
+
return serializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails(entry, context);
|
|
6233
|
+
});
|
|
6234
|
+
};
|
|
6142
6235
|
var serializeAws_restJson1AwsCodeBuildProjectArtifactsDetails = function (input, context) {
|
|
6143
6236
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArtifactIdentifier !== undefined &&
|
|
6144
6237
|
input.ArtifactIdentifier !== null && { ArtifactIdentifier: input.ArtifactIdentifier })), (input.EncryptionDisabled !== undefined &&
|
|
@@ -6439,17 +6532,27 @@ var serializeAws_restJson1AwsEc2EipDetails = function (input, context) {
|
|
|
6439
6532
|
input.PublicIpv4Pool !== null && { PublicIpv4Pool: input.PublicIpv4Pool }));
|
|
6440
6533
|
};
|
|
6441
6534
|
var serializeAws_restJson1AwsEc2InstanceDetails = function (input, context) {
|
|
6442
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.IamInstanceProfileArn !== undefined &&
|
|
6535
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.IamInstanceProfileArn !== undefined &&
|
|
6443
6536
|
input.IamInstanceProfileArn !== null && { IamInstanceProfileArn: input.IamInstanceProfileArn })), (input.ImageId !== undefined && input.ImageId !== null && { ImageId: input.ImageId })), (input.IpV4Addresses !== undefined &&
|
|
6444
6537
|
input.IpV4Addresses !== null && {
|
|
6445
6538
|
IpV4Addresses: serializeAws_restJson1StringList(input.IpV4Addresses, context),
|
|
6446
6539
|
})), (input.IpV6Addresses !== undefined &&
|
|
6447
6540
|
input.IpV6Addresses !== null && {
|
|
6448
6541
|
IpV6Addresses: serializeAws_restJson1StringList(input.IpV6Addresses, context),
|
|
6449
|
-
})), (input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName })), (input.LaunchedAt !== undefined && input.LaunchedAt !== null && { LaunchedAt: input.LaunchedAt })), (input.
|
|
6542
|
+
})), (input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName })), (input.LaunchedAt !== undefined && input.LaunchedAt !== null && { LaunchedAt: input.LaunchedAt })), (input.MetadataOptions !== undefined &&
|
|
6543
|
+
input.MetadataOptions !== null && {
|
|
6544
|
+
MetadataOptions: serializeAws_restJson1AwsEc2InstanceMetadataOptions(input.MetadataOptions, context),
|
|
6545
|
+
})), (input.NetworkInterfaces !== undefined &&
|
|
6450
6546
|
input.NetworkInterfaces !== null && {
|
|
6451
6547
|
NetworkInterfaces: serializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(input.NetworkInterfaces, context),
|
|
6452
|
-
})), (input.SubnetId !== undefined && input.SubnetId !== null && { SubnetId: input.SubnetId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.
|
|
6548
|
+
})), (input.SubnetId !== undefined && input.SubnetId !== null && { SubnetId: input.SubnetId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.VirtualizationType !== undefined &&
|
|
6549
|
+
input.VirtualizationType !== null && { VirtualizationType: input.VirtualizationType })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
6550
|
+
};
|
|
6551
|
+
var serializeAws_restJson1AwsEc2InstanceMetadataOptions = function (input, context) {
|
|
6552
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.HttpEndpoint !== undefined && input.HttpEndpoint !== null && { HttpEndpoint: input.HttpEndpoint })), (input.HttpProtocolIpv6 !== undefined &&
|
|
6553
|
+
input.HttpProtocolIpv6 !== null && { HttpProtocolIpv6: input.HttpProtocolIpv6 })), (input.HttpPutResponseHopLimit !== undefined &&
|
|
6554
|
+
input.HttpPutResponseHopLimit !== null && { HttpPutResponseHopLimit: input.HttpPutResponseHopLimit })), (input.HttpTokens !== undefined && input.HttpTokens !== null && { HttpTokens: input.HttpTokens })), (input.InstanceMetadataTags !== undefined &&
|
|
6555
|
+
input.InstanceMetadataTags !== null && { InstanceMetadataTags: input.InstanceMetadataTags }));
|
|
6453
6556
|
};
|
|
6454
6557
|
var serializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = function (input, context) {
|
|
6455
6558
|
return __assign({}, (input.NetworkInterfaceId !== undefined &&
|
|
@@ -6662,6 +6765,27 @@ var serializeAws_restJson1AwsEc2SubnetDetails = function (input, context) {
|
|
|
6662
6765
|
})), (input.MapPublicIpOnLaunch !== undefined &&
|
|
6663
6766
|
input.MapPublicIpOnLaunch !== null && { MapPublicIpOnLaunch: input.MapPublicIpOnLaunch })), (input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId })), (input.State !== undefined && input.State !== null && { State: input.State })), (input.SubnetArn !== undefined && input.SubnetArn !== null && { SubnetArn: input.SubnetArn })), (input.SubnetId !== undefined && input.SubnetId !== null && { SubnetId: input.SubnetId })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
6664
6767
|
};
|
|
6768
|
+
var serializeAws_restJson1AwsEc2TransitGatewayDetails = function (input, context) {
|
|
6769
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AmazonSideAsn !== undefined && input.AmazonSideAsn !== null && { AmazonSideAsn: input.AmazonSideAsn })), (input.AssociationDefaultRouteTableId !== undefined &&
|
|
6770
|
+
input.AssociationDefaultRouteTableId !== null && {
|
|
6771
|
+
AssociationDefaultRouteTableId: input.AssociationDefaultRouteTableId,
|
|
6772
|
+
})), (input.AutoAcceptSharedAttachments !== undefined &&
|
|
6773
|
+
input.AutoAcceptSharedAttachments !== null && { AutoAcceptSharedAttachments: input.AutoAcceptSharedAttachments })), (input.DefaultRouteTableAssociation !== undefined &&
|
|
6774
|
+
input.DefaultRouteTableAssociation !== null && {
|
|
6775
|
+
DefaultRouteTableAssociation: input.DefaultRouteTableAssociation,
|
|
6776
|
+
})), (input.DefaultRouteTablePropagation !== undefined &&
|
|
6777
|
+
input.DefaultRouteTablePropagation !== null && {
|
|
6778
|
+
DefaultRouteTablePropagation: input.DefaultRouteTablePropagation,
|
|
6779
|
+
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DnsSupport !== undefined && input.DnsSupport !== null && { DnsSupport: input.DnsSupport })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.MulticastSupport !== undefined &&
|
|
6780
|
+
input.MulticastSupport !== null && { MulticastSupport: input.MulticastSupport })), (input.PropagationDefaultRouteTableId !== undefined &&
|
|
6781
|
+
input.PropagationDefaultRouteTableId !== null && {
|
|
6782
|
+
PropagationDefaultRouteTableId: input.PropagationDefaultRouteTableId,
|
|
6783
|
+
})), (input.TransitGatewayCidrBlocks !== undefined &&
|
|
6784
|
+
input.TransitGatewayCidrBlocks !== null && {
|
|
6785
|
+
TransitGatewayCidrBlocks: serializeAws_restJson1NonEmptyStringList(input.TransitGatewayCidrBlocks, context),
|
|
6786
|
+
})), (input.VpnEcmpSupport !== undefined &&
|
|
6787
|
+
input.VpnEcmpSupport !== null && { VpnEcmpSupport: input.VpnEcmpSupport }));
|
|
6788
|
+
};
|
|
6665
6789
|
var serializeAws_restJson1AwsEc2VolumeAttachment = function (input, context) {
|
|
6666
6790
|
return __assign(__assign(__assign(__assign({}, (input.AttachTime !== undefined && input.AttachTime !== null && { AttachTime: input.AttachTime })), (input.DeleteOnTermination !== undefined &&
|
|
6667
6791
|
input.DeleteOnTermination !== null && { DeleteOnTermination: input.DeleteOnTermination })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
@@ -6677,10 +6801,11 @@ var serializeAws_restJson1AwsEc2VolumeAttachmentList = function (input, context)
|
|
|
6677
6801
|
});
|
|
6678
6802
|
};
|
|
6679
6803
|
var serializeAws_restJson1AwsEc2VolumeDetails = function (input, context) {
|
|
6680
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attachments !== undefined &&
|
|
6804
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attachments !== undefined &&
|
|
6681
6805
|
input.Attachments !== null && {
|
|
6682
6806
|
Attachments: serializeAws_restJson1AwsEc2VolumeAttachmentList(input.Attachments, context),
|
|
6683
|
-
})), (input.CreateTime !== undefined && input.CreateTime !== null && { CreateTime: input.CreateTime })), (input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.Size !== undefined && input.Size !== null && { Size: input.Size })), (input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }))
|
|
6807
|
+
})), (input.CreateTime !== undefined && input.CreateTime !== null && { CreateTime: input.CreateTime })), (input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName })), (input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.Size !== undefined && input.Size !== null && { Size: input.Size })), (input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId })), (input.Status !== undefined && input.Status !== null && { Status: input.Status })), (input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId })), (input.VolumeScanStatus !== undefined &&
|
|
6808
|
+
input.VolumeScanStatus !== null && { VolumeScanStatus: input.VolumeScanStatus })), (input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }));
|
|
6684
6809
|
};
|
|
6685
6810
|
var serializeAws_restJson1AwsEc2VpcDetails = function (input, context) {
|
|
6686
6811
|
return __assign(__assign(__assign(__assign({}, (input.CidrBlockAssociationSet !== undefined &&
|
|
@@ -6725,6 +6850,35 @@ var serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList = function (in
|
|
|
6725
6850
|
return serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeDetails(entry, context);
|
|
6726
6851
|
});
|
|
6727
6852
|
};
|
|
6853
|
+
var serializeAws_restJson1AwsEc2VpcPeeringConnectionDetails = function (input, context) {
|
|
6854
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AccepterVpcInfo !== undefined &&
|
|
6855
|
+
input.AccepterVpcInfo !== null && {
|
|
6856
|
+
AccepterVpcInfo: serializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(input.AccepterVpcInfo, context),
|
|
6857
|
+
})), (input.ExpirationTime !== undefined &&
|
|
6858
|
+
input.ExpirationTime !== null && { ExpirationTime: input.ExpirationTime })), (input.RequesterVpcInfo !== undefined &&
|
|
6859
|
+
input.RequesterVpcInfo !== null && {
|
|
6860
|
+
RequesterVpcInfo: serializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(input.RequesterVpcInfo, context),
|
|
6861
|
+
})), (input.Status !== undefined &&
|
|
6862
|
+
input.Status !== null && {
|
|
6863
|
+
Status: serializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails(input.Status, context),
|
|
6864
|
+
})), (input.VpcPeeringConnectionId !== undefined &&
|
|
6865
|
+
input.VpcPeeringConnectionId !== null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }));
|
|
6866
|
+
};
|
|
6867
|
+
var serializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails = function (input, context) {
|
|
6868
|
+
return __assign(__assign({}, (input.Code !== undefined && input.Code !== null && { Code: input.Code })), (input.Message !== undefined && input.Message !== null && { Message: input.Message }));
|
|
6869
|
+
};
|
|
6870
|
+
var serializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails = function (input, context) {
|
|
6871
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CidrBlock !== undefined && input.CidrBlock !== null && { CidrBlock: input.CidrBlock })), (input.CidrBlockSet !== undefined &&
|
|
6872
|
+
input.CidrBlockSet !== null && {
|
|
6873
|
+
CidrBlockSet: serializeAws_restJson1VpcInfoCidrBlockSetList(input.CidrBlockSet, context),
|
|
6874
|
+
})), (input.Ipv6CidrBlockSet !== undefined &&
|
|
6875
|
+
input.Ipv6CidrBlockSet !== null && {
|
|
6876
|
+
Ipv6CidrBlockSet: serializeAws_restJson1VpcInfoIpv6CidrBlockSetList(input.Ipv6CidrBlockSet, context),
|
|
6877
|
+
})), (input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId })), (input.PeeringOptions !== undefined &&
|
|
6878
|
+
input.PeeringOptions !== null && {
|
|
6879
|
+
PeeringOptions: serializeAws_restJson1VpcInfoPeeringOptionsDetails(input.PeeringOptions, context),
|
|
6880
|
+
})), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
6881
|
+
};
|
|
6728
6882
|
var serializeAws_restJson1AwsEc2VpnConnectionDetails = function (input, context) {
|
|
6729
6883
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Category !== undefined && input.Category !== null && { Category: input.Category })), (input.CustomerGatewayConfiguration !== undefined &&
|
|
6730
6884
|
input.CustomerGatewayConfiguration !== null && {
|
|
@@ -6892,10 +7046,11 @@ var serializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList = fun
|
|
|
6892
7046
|
});
|
|
6893
7047
|
};
|
|
6894
7048
|
var serializeAws_restJson1AwsEcsClusterDetails = function (input, context) {
|
|
6895
|
-
return __assign(__assign(__assign(__assign({}, (input.
|
|
7049
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveServicesCount !== undefined &&
|
|
7050
|
+
input.ActiveServicesCount !== null && { ActiveServicesCount: input.ActiveServicesCount })), (input.CapacityProviders !== undefined &&
|
|
6896
7051
|
input.CapacityProviders !== null && {
|
|
6897
7052
|
CapacityProviders: serializeAws_restJson1NonEmptyStringList(input.CapacityProviders, context),
|
|
6898
|
-
})), (input.ClusterSettings !== undefined &&
|
|
7053
|
+
})), (input.ClusterArn !== undefined && input.ClusterArn !== null && { ClusterArn: input.ClusterArn })), (input.ClusterName !== undefined && input.ClusterName !== null && { ClusterName: input.ClusterName })), (input.ClusterSettings !== undefined &&
|
|
6899
7054
|
input.ClusterSettings !== null && {
|
|
6900
7055
|
ClusterSettings: serializeAws_restJson1AwsEcsClusterClusterSettingsList(input.ClusterSettings, context),
|
|
6901
7056
|
})), (input.Configuration !== undefined &&
|
|
@@ -6904,7 +7059,27 @@ var serializeAws_restJson1AwsEcsClusterDetails = function (input, context) {
|
|
|
6904
7059
|
})), (input.DefaultCapacityProviderStrategy !== undefined &&
|
|
6905
7060
|
input.DefaultCapacityProviderStrategy !== null && {
|
|
6906
7061
|
DefaultCapacityProviderStrategy: serializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList(input.DefaultCapacityProviderStrategy, context),
|
|
6907
|
-
}))
|
|
7062
|
+
})), (input.RegisteredContainerInstancesCount !== undefined &&
|
|
7063
|
+
input.RegisteredContainerInstancesCount !== null && {
|
|
7064
|
+
RegisteredContainerInstancesCount: input.RegisteredContainerInstancesCount,
|
|
7065
|
+
})), (input.RunningTasksCount !== undefined &&
|
|
7066
|
+
input.RunningTasksCount !== null && { RunningTasksCount: input.RunningTasksCount })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
7067
|
+
};
|
|
7068
|
+
var serializeAws_restJson1AwsEcsContainerDetails = function (input, context) {
|
|
7069
|
+
return __assign(__assign(__assign(__assign({}, (input.Image !== undefined && input.Image !== null && { Image: input.Image })), (input.MountPoints !== undefined &&
|
|
7070
|
+
input.MountPoints !== null && {
|
|
7071
|
+
MountPoints: serializeAws_restJson1AwsMountPointList(input.MountPoints, context),
|
|
7072
|
+
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Privileged !== undefined && input.Privileged !== null && { Privileged: input.Privileged }));
|
|
7073
|
+
};
|
|
7074
|
+
var serializeAws_restJson1AwsEcsContainerDetailsList = function (input, context) {
|
|
7075
|
+
return input
|
|
7076
|
+
.filter(function (e) { return e != null; })
|
|
7077
|
+
.map(function (entry) {
|
|
7078
|
+
if (entry === null) {
|
|
7079
|
+
return null;
|
|
7080
|
+
}
|
|
7081
|
+
return serializeAws_restJson1AwsEcsContainerDetails(entry, context);
|
|
7082
|
+
});
|
|
6908
7083
|
};
|
|
6909
7084
|
var serializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = function (input, context) {
|
|
6910
7085
|
return __assign(__assign(__assign({}, (input.Base !== undefined && input.Base !== null && { Base: input.Base })), (input.CapacityProvider !== undefined &&
|
|
@@ -7449,6 +7624,55 @@ var serializeAws_restJson1AwsEcsTaskDefinitionVolumesList = function (input, con
|
|
|
7449
7624
|
return serializeAws_restJson1AwsEcsTaskDefinitionVolumesDetails(entry, context);
|
|
7450
7625
|
});
|
|
7451
7626
|
};
|
|
7627
|
+
var serializeAws_restJson1AwsEcsTaskDetails = function (input, context) {
|
|
7628
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterArn !== undefined && input.ClusterArn !== null && { ClusterArn: input.ClusterArn })), (input.Containers !== undefined &&
|
|
7629
|
+
input.Containers !== null && {
|
|
7630
|
+
Containers: serializeAws_restJson1AwsEcsContainerDetailsList(input.Containers, context),
|
|
7631
|
+
})), (input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt })), (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.StartedAt !== undefined && input.StartedAt !== null && { StartedAt: input.StartedAt })), (input.StartedBy !== undefined && input.StartedBy !== null && { StartedBy: input.StartedBy })), (input.TaskDefinitionArn !== undefined &&
|
|
7632
|
+
input.TaskDefinitionArn !== null && { TaskDefinitionArn: input.TaskDefinitionArn })), (input.Version !== undefined && input.Version !== null && { Version: input.Version })), (input.Volumes !== undefined &&
|
|
7633
|
+
input.Volumes !== null && { Volumes: serializeAws_restJson1AwsEcsTaskVolumeDetailsList(input.Volumes, context) }));
|
|
7634
|
+
};
|
|
7635
|
+
var serializeAws_restJson1AwsEcsTaskVolumeDetails = function (input, context) {
|
|
7636
|
+
return __assign(__assign({}, (input.Host !== undefined &&
|
|
7637
|
+
input.Host !== null && { Host: serializeAws_restJson1AwsEcsTaskVolumeHostDetails(input.Host, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
7638
|
+
};
|
|
7639
|
+
var serializeAws_restJson1AwsEcsTaskVolumeDetailsList = function (input, context) {
|
|
7640
|
+
return input
|
|
7641
|
+
.filter(function (e) { return e != null; })
|
|
7642
|
+
.map(function (entry) {
|
|
7643
|
+
if (entry === null) {
|
|
7644
|
+
return null;
|
|
7645
|
+
}
|
|
7646
|
+
return serializeAws_restJson1AwsEcsTaskVolumeDetails(entry, context);
|
|
7647
|
+
});
|
|
7648
|
+
};
|
|
7649
|
+
var serializeAws_restJson1AwsEcsTaskVolumeHostDetails = function (input, context) {
|
|
7650
|
+
return __assign({}, (input.SourcePath !== undefined && input.SourcePath !== null && { SourcePath: input.SourcePath }));
|
|
7651
|
+
};
|
|
7652
|
+
var serializeAws_restJson1AwsEfsAccessPointDetails = function (input, context) {
|
|
7653
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPointId !== undefined && input.AccessPointId !== null && { AccessPointId: input.AccessPointId })), (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.ClientToken !== undefined && input.ClientToken !== null && { ClientToken: input.ClientToken })), (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId })), (input.PosixUser !== undefined &&
|
|
7654
|
+
input.PosixUser !== null && {
|
|
7655
|
+
PosixUser: serializeAws_restJson1AwsEfsAccessPointPosixUserDetails(input.PosixUser, context),
|
|
7656
|
+
})), (input.RootDirectory !== undefined &&
|
|
7657
|
+
input.RootDirectory !== null && {
|
|
7658
|
+
RootDirectory: serializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails(input.RootDirectory, context),
|
|
7659
|
+
}));
|
|
7660
|
+
};
|
|
7661
|
+
var serializeAws_restJson1AwsEfsAccessPointPosixUserDetails = function (input, context) {
|
|
7662
|
+
return __assign(__assign(__assign({}, (input.Gid !== undefined && input.Gid !== null && { Gid: input.Gid })), (input.SecondaryGids !== undefined &&
|
|
7663
|
+
input.SecondaryGids !== null && {
|
|
7664
|
+
SecondaryGids: serializeAws_restJson1NonEmptyStringList(input.SecondaryGids, context),
|
|
7665
|
+
})), (input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid }));
|
|
7666
|
+
};
|
|
7667
|
+
var serializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails = function (input, context) {
|
|
7668
|
+
return __assign(__assign(__assign({}, (input.OwnerGid !== undefined && input.OwnerGid !== null && { OwnerGid: input.OwnerGid })), (input.OwnerUid !== undefined && input.OwnerUid !== null && { OwnerUid: input.OwnerUid })), (input.Permissions !== undefined && input.Permissions !== null && { Permissions: input.Permissions }));
|
|
7669
|
+
};
|
|
7670
|
+
var serializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails = function (input, context) {
|
|
7671
|
+
return __assign(__assign({}, (input.CreationInfo !== undefined &&
|
|
7672
|
+
input.CreationInfo !== null && {
|
|
7673
|
+
CreationInfo: serializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails(input.CreationInfo, context),
|
|
7674
|
+
})), (input.Path !== undefined && input.Path !== null && { Path: input.Path }));
|
|
7675
|
+
};
|
|
7452
7676
|
var serializeAws_restJson1AwsEksClusterDetails = function (input, context) {
|
|
7453
7677
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.CertificateAuthorityData !== undefined &&
|
|
7454
7678
|
input.CertificateAuthorityData !== null && { CertificateAuthorityData: input.CertificateAuthorityData })), (input.ClusterStatus !== undefined && input.ClusterStatus !== null && { ClusterStatus: input.ClusterStatus })), (input.Endpoint !== undefined && input.Endpoint !== null && { Endpoint: input.Endpoint })), (input.Logging !== undefined &&
|
|
@@ -7986,6 +8210,17 @@ var serializeAws_restJson1AwsIamUserPolicyList = function (input, context) {
|
|
|
7986
8210
|
return serializeAws_restJson1AwsIamUserPolicy(entry, context);
|
|
7987
8211
|
});
|
|
7988
8212
|
};
|
|
8213
|
+
var serializeAws_restJson1AwsKinesisStreamDetails = function (input, context) {
|
|
8214
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RetentionPeriodHours !== undefined &&
|
|
8215
|
+
input.RetentionPeriodHours !== null && { RetentionPeriodHours: input.RetentionPeriodHours })), (input.ShardCount !== undefined && input.ShardCount !== null && { ShardCount: input.ShardCount })), (input.StreamEncryption !== undefined &&
|
|
8216
|
+
input.StreamEncryption !== null && {
|
|
8217
|
+
StreamEncryption: serializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails(input.StreamEncryption, context),
|
|
8218
|
+
}));
|
|
8219
|
+
};
|
|
8220
|
+
var serializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails = function (input, context) {
|
|
8221
|
+
return __assign(__assign({}, (input.EncryptionType !== undefined &&
|
|
8222
|
+
input.EncryptionType !== null && { EncryptionType: input.EncryptionType })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }));
|
|
8223
|
+
};
|
|
7989
8224
|
var serializeAws_restJson1AwsKmsKeyDetails = function (input, context) {
|
|
7990
8225
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AWSAccountId !== undefined && input.AWSAccountId !== null && { AWSAccountId: input.AWSAccountId })), (input.CreationDate !== undefined &&
|
|
7991
8226
|
input.CreationDate !== null && { CreationDate: __serializeFloat(input.CreationDate) })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId })), (input.KeyManager !== undefined && input.KeyManager !== null && { KeyManager: input.KeyManager })), (input.KeyRotationStatus !== undefined &&
|
|
@@ -8052,6 +8287,19 @@ var serializeAws_restJson1AwsLambdaLayerVersionDetails = function (input, contex
|
|
|
8052
8287
|
CompatibleRuntimes: serializeAws_restJson1NonEmptyStringList(input.CompatibleRuntimes, context),
|
|
8053
8288
|
})), (input.CreatedDate !== undefined && input.CreatedDate !== null && { CreatedDate: input.CreatedDate })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
8054
8289
|
};
|
|
8290
|
+
var serializeAws_restJson1AwsMountPoint = function (input, context) {
|
|
8291
|
+
return __assign(__assign({}, (input.ContainerPath !== undefined && input.ContainerPath !== null && { ContainerPath: input.ContainerPath })), (input.SourceVolume !== undefined && input.SourceVolume !== null && { SourceVolume: input.SourceVolume }));
|
|
8292
|
+
};
|
|
8293
|
+
var serializeAws_restJson1AwsMountPointList = function (input, context) {
|
|
8294
|
+
return input
|
|
8295
|
+
.filter(function (e) { return e != null; })
|
|
8296
|
+
.map(function (entry) {
|
|
8297
|
+
if (entry === null) {
|
|
8298
|
+
return null;
|
|
8299
|
+
}
|
|
8300
|
+
return serializeAws_restJson1AwsMountPoint(entry, context);
|
|
8301
|
+
});
|
|
8302
|
+
};
|
|
8055
8303
|
var serializeAws_restJson1AwsNetworkFirewallFirewallDetails = function (input, context) {
|
|
8056
8304
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteProtection !== undefined &&
|
|
8057
8305
|
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 &&
|
|
@@ -8090,6 +8338,13 @@ var serializeAws_restJson1AwsNetworkFirewallRuleGroupDetails = function (input,
|
|
|
8090
8338
|
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 &&
|
|
8091
8339
|
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 }));
|
|
8092
8340
|
};
|
|
8341
|
+
var serializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails = function (input, context) {
|
|
8342
|
+
return __assign(__assign(__assign({}, (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.InternalUserDatabaseEnabled !== undefined &&
|
|
8343
|
+
input.InternalUserDatabaseEnabled !== null && { InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled })), (input.MasterUserOptions !== undefined &&
|
|
8344
|
+
input.MasterUserOptions !== null && {
|
|
8345
|
+
MasterUserOptions: serializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails(input.MasterUserOptions, context),
|
|
8346
|
+
}));
|
|
8347
|
+
};
|
|
8093
8348
|
var serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = function (input, context) {
|
|
8094
8349
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DedicatedMasterCount !== undefined &&
|
|
8095
8350
|
input.DedicatedMasterCount !== null && { DedicatedMasterCount: input.DedicatedMasterCount })), (input.DedicatedMasterEnabled !== undefined &&
|
|
@@ -8105,8 +8360,11 @@ var serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessCo
|
|
|
8105
8360
|
input.AvailabilityZoneCount !== null && { AvailabilityZoneCount: input.AvailabilityZoneCount }));
|
|
8106
8361
|
};
|
|
8107
8362
|
var serializeAws_restJson1AwsOpenSearchServiceDomainDetails = function (input, context) {
|
|
8108
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies !== undefined &&
|
|
8109
|
-
input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies })), (input.
|
|
8363
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies !== undefined &&
|
|
8364
|
+
input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedSecurityOptions !== undefined &&
|
|
8365
|
+
input.AdvancedSecurityOptions !== null && {
|
|
8366
|
+
AdvancedSecurityOptions: serializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails(input.AdvancedSecurityOptions, context),
|
|
8367
|
+
})), (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.ClusterConfig !== undefined &&
|
|
8110
8368
|
input.ClusterConfig !== null && {
|
|
8111
8369
|
ClusterConfig: serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails(input.ClusterConfig, context),
|
|
8112
8370
|
})), (input.DomainEndpoint !== undefined &&
|
|
@@ -8161,6 +8419,11 @@ var serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetails
|
|
|
8161
8419
|
SearchSlowLogs: serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption(input.SearchSlowLogs, context),
|
|
8162
8420
|
}));
|
|
8163
8421
|
};
|
|
8422
|
+
var serializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails = function (input, context) {
|
|
8423
|
+
return __assign(__assign(__assign({}, (input.MasterUserArn !== undefined && input.MasterUserArn !== null && { MasterUserArn: input.MasterUserArn })), (input.MasterUserName !== undefined &&
|
|
8424
|
+
input.MasterUserName !== null && { MasterUserName: input.MasterUserName })), (input.MasterUserPassword !== undefined &&
|
|
8425
|
+
input.MasterUserPassword !== null && { MasterUserPassword: input.MasterUserPassword }));
|
|
8426
|
+
};
|
|
8164
8427
|
var serializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails = function (input, context) {
|
|
8165
8428
|
return __assign({}, (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }));
|
|
8166
8429
|
};
|
|
@@ -9139,7 +9402,7 @@ var serializeAws_restJson1AwsSecretsManagerSecretRotationRules = function (input
|
|
|
9139
9402
|
input.AutomaticallyAfterDays !== null && { AutomaticallyAfterDays: input.AutomaticallyAfterDays }));
|
|
9140
9403
|
};
|
|
9141
9404
|
var serializeAws_restJson1AwsSecurityFinding = function (input, context) {
|
|
9142
|
-
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({}, (input.Action !== undefined &&
|
|
9405
|
+
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({}, (input.Action !== undefined &&
|
|
9143
9406
|
input.Action !== null && { Action: serializeAws_restJson1Action(input.Action, context) })), (input.AwsAccountId !== undefined && input.AwsAccountId !== null && { AwsAccountId: input.AwsAccountId })), (input.CompanyName !== undefined && input.CompanyName !== null && { CompanyName: input.CompanyName })), (input.Compliance !== undefined &&
|
|
9144
9407
|
input.Compliance !== null && { Compliance: serializeAws_restJson1Compliance(input.Compliance, context) })), (input.Confidence !== undefined && input.Confidence !== null && { Confidence: input.Confidence })), (input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt })), (input.Criticality !== undefined && input.Criticality !== null && { Criticality: input.Criticality })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FindingProviderFields !== undefined &&
|
|
9145
9408
|
input.FindingProviderFields !== null && {
|
|
@@ -9161,7 +9424,8 @@ var serializeAws_restJson1AwsSecurityFinding = function (input, context) {
|
|
|
9161
9424
|
input.Severity !== null && { Severity: serializeAws_restJson1Severity(input.Severity, context) })), (input.SourceUrl !== undefined && input.SourceUrl !== null && { SourceUrl: input.SourceUrl })), (input.ThreatIntelIndicators !== undefined &&
|
|
9162
9425
|
input.ThreatIntelIndicators !== null && {
|
|
9163
9426
|
ThreatIntelIndicators: serializeAws_restJson1ThreatIntelIndicatorList(input.ThreatIntelIndicators, context),
|
|
9164
|
-
})), (input.
|
|
9427
|
+
})), (input.Threats !== undefined &&
|
|
9428
|
+
input.Threats !== null && { Threats: serializeAws_restJson1ThreatList(input.Threats, context) })), (input.Title !== undefined && input.Title !== null && { Title: input.Title })), (input.Types !== undefined &&
|
|
9165
9429
|
input.Types !== null && { Types: serializeAws_restJson1TypeList(input.Types, context) })), (input.UpdatedAt !== undefined && input.UpdatedAt !== null && { UpdatedAt: input.UpdatedAt })), (input.UserDefinedFields !== undefined &&
|
|
9166
9430
|
input.UserDefinedFields !== null && {
|
|
9167
9431
|
UserDefinedFields: serializeAws_restJson1FieldMap(input.UserDefinedFields, context),
|
|
@@ -9446,8 +9710,21 @@ var serializeAws_restJson1AwsSecurityFindingIdentifierList = function (input, co
|
|
|
9446
9710
|
});
|
|
9447
9711
|
};
|
|
9448
9712
|
var serializeAws_restJson1AwsSnsTopicDetails = function (input, context) {
|
|
9449
|
-
return __assign(__assign(__assign(__assign({}, (input.
|
|
9450
|
-
input.
|
|
9713
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationSuccessFeedbackRoleArn !== undefined &&
|
|
9714
|
+
input.ApplicationSuccessFeedbackRoleArn !== null && {
|
|
9715
|
+
ApplicationSuccessFeedbackRoleArn: input.ApplicationSuccessFeedbackRoleArn,
|
|
9716
|
+
})), (input.FirehoseFailureFeedbackRoleArn !== undefined &&
|
|
9717
|
+
input.FirehoseFailureFeedbackRoleArn !== null && {
|
|
9718
|
+
FirehoseFailureFeedbackRoleArn: input.FirehoseFailureFeedbackRoleArn,
|
|
9719
|
+
})), (input.FirehoseSuccessFeedbackRoleArn !== undefined &&
|
|
9720
|
+
input.FirehoseSuccessFeedbackRoleArn !== null && {
|
|
9721
|
+
FirehoseSuccessFeedbackRoleArn: input.FirehoseSuccessFeedbackRoleArn,
|
|
9722
|
+
})), (input.HttpFailureFeedbackRoleArn !== undefined &&
|
|
9723
|
+
input.HttpFailureFeedbackRoleArn !== null && { HttpFailureFeedbackRoleArn: input.HttpFailureFeedbackRoleArn })), (input.HttpSuccessFeedbackRoleArn !== undefined &&
|
|
9724
|
+
input.HttpSuccessFeedbackRoleArn !== null && { HttpSuccessFeedbackRoleArn: input.HttpSuccessFeedbackRoleArn })), (input.KmsMasterKeyId !== undefined &&
|
|
9725
|
+
input.KmsMasterKeyId !== null && { KmsMasterKeyId: input.KmsMasterKeyId })), (input.Owner !== undefined && input.Owner !== null && { Owner: input.Owner })), (input.SqsFailureFeedbackRoleArn !== undefined &&
|
|
9726
|
+
input.SqsFailureFeedbackRoleArn !== null && { SqsFailureFeedbackRoleArn: input.SqsFailureFeedbackRoleArn })), (input.SqsSuccessFeedbackRoleArn !== undefined &&
|
|
9727
|
+
input.SqsSuccessFeedbackRoleArn !== null && { SqsSuccessFeedbackRoleArn: input.SqsSuccessFeedbackRoleArn })), (input.Subscription !== undefined &&
|
|
9451
9728
|
input.Subscription !== null && {
|
|
9452
9729
|
Subscription: serializeAws_restJson1AwsSnsTopicSubscriptionList(input.Subscription, context),
|
|
9453
9730
|
})), (input.TopicName !== undefined && input.TopicName !== null && { TopicName: input.TopicName }));
|
|
@@ -9543,6 +9820,121 @@ var serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList = functi
|
|
|
9543
9820
|
return serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicate(entry, context);
|
|
9544
9821
|
});
|
|
9545
9822
|
};
|
|
9823
|
+
var serializeAws_restJson1AwsWafRegionalRuleDetails = function (input, context) {
|
|
9824
|
+
return __assign(__assign(__assign(__assign({}, (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PredicateList !== undefined &&
|
|
9825
|
+
input.PredicateList !== null && {
|
|
9826
|
+
PredicateList: serializeAws_restJson1AwsWafRegionalRulePredicateList(input.PredicateList, context),
|
|
9827
|
+
})), (input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }));
|
|
9828
|
+
};
|
|
9829
|
+
var serializeAws_restJson1AwsWafRegionalRuleGroupDetails = function (input, context) {
|
|
9830
|
+
return __assign(__assign(__assign(__assign({}, (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RuleGroupId !== undefined && input.RuleGroupId !== null && { RuleGroupId: input.RuleGroupId })), (input.Rules !== undefined &&
|
|
9831
|
+
input.Rules !== null && { Rules: serializeAws_restJson1AwsWafRegionalRuleGroupRulesList(input.Rules, context) }));
|
|
9832
|
+
};
|
|
9833
|
+
var serializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails = function (input, context) {
|
|
9834
|
+
return __assign({}, (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9835
|
+
};
|
|
9836
|
+
var serializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails = function (input, context) {
|
|
9837
|
+
return __assign(__assign(__assign(__assign({}, (input.Action !== undefined &&
|
|
9838
|
+
input.Action !== null && {
|
|
9839
|
+
Action: serializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails(input.Action, context),
|
|
9840
|
+
})), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9841
|
+
};
|
|
9842
|
+
var serializeAws_restJson1AwsWafRegionalRuleGroupRulesList = function (input, context) {
|
|
9843
|
+
return input
|
|
9844
|
+
.filter(function (e) { return e != null; })
|
|
9845
|
+
.map(function (entry) {
|
|
9846
|
+
if (entry === null) {
|
|
9847
|
+
return null;
|
|
9848
|
+
}
|
|
9849
|
+
return serializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails(entry, context);
|
|
9850
|
+
});
|
|
9851
|
+
};
|
|
9852
|
+
var serializeAws_restJson1AwsWafRegionalRulePredicateList = function (input, context) {
|
|
9853
|
+
return input
|
|
9854
|
+
.filter(function (e) { return e != null; })
|
|
9855
|
+
.map(function (entry) {
|
|
9856
|
+
if (entry === null) {
|
|
9857
|
+
return null;
|
|
9858
|
+
}
|
|
9859
|
+
return serializeAws_restJson1AwsWafRegionalRulePredicateListDetails(entry, context);
|
|
9860
|
+
});
|
|
9861
|
+
};
|
|
9862
|
+
var serializeAws_restJson1AwsWafRegionalRulePredicateListDetails = function (input, context) {
|
|
9863
|
+
return __assign(__assign(__assign({}, (input.DataId !== undefined && input.DataId !== null && { DataId: input.DataId })), (input.Negated !== undefined && input.Negated !== null && { Negated: input.Negated })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9864
|
+
};
|
|
9865
|
+
var serializeAws_restJson1AwsWafRegionalWebAclDetails = function (input, context) {
|
|
9866
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DefaultAction !== undefined && input.DefaultAction !== null && { DefaultAction: input.DefaultAction })), (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RulesList !== undefined &&
|
|
9867
|
+
input.RulesList !== null && {
|
|
9868
|
+
RulesList: serializeAws_restJson1AwsWafRegionalWebAclRulesList(input.RulesList, context),
|
|
9869
|
+
})), (input.WebAclId !== undefined && input.WebAclId !== null && { WebAclId: input.WebAclId }));
|
|
9870
|
+
};
|
|
9871
|
+
var serializeAws_restJson1AwsWafRegionalWebAclRulesList = function (input, context) {
|
|
9872
|
+
return input
|
|
9873
|
+
.filter(function (e) { return e != null; })
|
|
9874
|
+
.map(function (entry) {
|
|
9875
|
+
if (entry === null) {
|
|
9876
|
+
return null;
|
|
9877
|
+
}
|
|
9878
|
+
return serializeAws_restJson1AwsWafRegionalWebAclRulesListDetails(entry, context);
|
|
9879
|
+
});
|
|
9880
|
+
};
|
|
9881
|
+
var serializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails = function (input, context) {
|
|
9882
|
+
return __assign({}, (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9883
|
+
};
|
|
9884
|
+
var serializeAws_restJson1AwsWafRegionalWebAclRulesListDetails = function (input, context) {
|
|
9885
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Action !== undefined &&
|
|
9886
|
+
input.Action !== null && {
|
|
9887
|
+
Action: serializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails(input.Action, context),
|
|
9888
|
+
})), (input.OverrideAction !== undefined &&
|
|
9889
|
+
input.OverrideAction !== null && {
|
|
9890
|
+
OverrideAction: serializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails(input.OverrideAction, context),
|
|
9891
|
+
})), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9892
|
+
};
|
|
9893
|
+
var serializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails = function (input, context) {
|
|
9894
|
+
return __assign({}, (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9895
|
+
};
|
|
9896
|
+
var serializeAws_restJson1AwsWafRuleDetails = function (input, context) {
|
|
9897
|
+
return __assign(__assign(__assign(__assign({}, (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PredicateList !== undefined &&
|
|
9898
|
+
input.PredicateList !== null && {
|
|
9899
|
+
PredicateList: serializeAws_restJson1AwsWafRulePredicateList(input.PredicateList, context),
|
|
9900
|
+
})), (input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }));
|
|
9901
|
+
};
|
|
9902
|
+
var serializeAws_restJson1AwsWafRuleGroupDetails = function (input, context) {
|
|
9903
|
+
return __assign(__assign(__assign(__assign({}, (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RuleGroupId !== undefined && input.RuleGroupId !== null && { RuleGroupId: input.RuleGroupId })), (input.Rules !== undefined &&
|
|
9904
|
+
input.Rules !== null && { Rules: serializeAws_restJson1AwsWafRuleGroupRulesList(input.Rules, context) }));
|
|
9905
|
+
};
|
|
9906
|
+
var serializeAws_restJson1AwsWafRuleGroupRulesActionDetails = function (input, context) {
|
|
9907
|
+
return __assign({}, (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9908
|
+
};
|
|
9909
|
+
var serializeAws_restJson1AwsWafRuleGroupRulesDetails = function (input, context) {
|
|
9910
|
+
return __assign(__assign(__assign(__assign({}, (input.Action !== undefined &&
|
|
9911
|
+
input.Action !== null && {
|
|
9912
|
+
Action: serializeAws_restJson1AwsWafRuleGroupRulesActionDetails(input.Action, context),
|
|
9913
|
+
})), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9914
|
+
};
|
|
9915
|
+
var serializeAws_restJson1AwsWafRuleGroupRulesList = function (input, context) {
|
|
9916
|
+
return input
|
|
9917
|
+
.filter(function (e) { return e != null; })
|
|
9918
|
+
.map(function (entry) {
|
|
9919
|
+
if (entry === null) {
|
|
9920
|
+
return null;
|
|
9921
|
+
}
|
|
9922
|
+
return serializeAws_restJson1AwsWafRuleGroupRulesDetails(entry, context);
|
|
9923
|
+
});
|
|
9924
|
+
};
|
|
9925
|
+
var serializeAws_restJson1AwsWafRulePredicateList = function (input, context) {
|
|
9926
|
+
return input
|
|
9927
|
+
.filter(function (e) { return e != null; })
|
|
9928
|
+
.map(function (entry) {
|
|
9929
|
+
if (entry === null) {
|
|
9930
|
+
return null;
|
|
9931
|
+
}
|
|
9932
|
+
return serializeAws_restJson1AwsWafRulePredicateListDetails(entry, context);
|
|
9933
|
+
});
|
|
9934
|
+
};
|
|
9935
|
+
var serializeAws_restJson1AwsWafRulePredicateListDetails = function (input, context) {
|
|
9936
|
+
return __assign(__assign(__assign({}, (input.DataId !== undefined && input.DataId !== null && { DataId: input.DataId })), (input.Negated !== undefined && input.Negated !== null && { Negated: input.Negated })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
9937
|
+
};
|
|
9546
9938
|
var serializeAws_restJson1AwsWafWebAclDetails = function (input, context) {
|
|
9547
9939
|
return __assign(__assign(__assign(__assign({}, (input.DefaultAction !== undefined && input.DefaultAction !== null && { DefaultAction: input.DefaultAction })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Rules !== undefined &&
|
|
9548
9940
|
input.Rules !== null && { Rules: serializeAws_restJson1AwsWafWebAclRuleList(input.Rules, context) })), (input.WebAclId !== undefined && input.WebAclId !== null && { WebAclId: input.WebAclId }));
|
|
@@ -9648,7 +10040,11 @@ var serializeAws_restJson1Compliance = function (input, context) {
|
|
|
9648
10040
|
}));
|
|
9649
10041
|
};
|
|
9650
10042
|
var serializeAws_restJson1ContainerDetails = function (input, context) {
|
|
9651
|
-
return __assign(__assign(__assign(__assign(
|
|
10043
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerRuntime !== undefined &&
|
|
10044
|
+
input.ContainerRuntime !== null && { ContainerRuntime: input.ContainerRuntime })), (input.ImageId !== undefined && input.ImageId !== null && { ImageId: input.ImageId })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.LaunchedAt !== undefined && input.LaunchedAt !== null && { LaunchedAt: input.LaunchedAt })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Privileged !== undefined && input.Privileged !== null && { Privileged: input.Privileged })), (input.VolumeMounts !== undefined &&
|
|
10045
|
+
input.VolumeMounts !== null && {
|
|
10046
|
+
VolumeMounts: serializeAws_restJson1VolumeMountList(input.VolumeMounts, context),
|
|
10047
|
+
}));
|
|
9652
10048
|
};
|
|
9653
10049
|
var serializeAws_restJson1Country = function (input, context) {
|
|
9654
10050
|
return __assign(__assign({}, (input.CountryCode !== undefined && input.CountryCode !== null && { CountryCode: input.CountryCode })), (input.CountryName !== undefined && input.CountryName !== null && { CountryName: input.CountryName }));
|
|
@@ -9722,6 +10118,19 @@ var serializeAws_restJson1FieldMap = function (input, context) {
|
|
|
9722
10118
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
9723
10119
|
}, {});
|
|
9724
10120
|
};
|
|
10121
|
+
var serializeAws_restJson1FilePathList = function (input, context) {
|
|
10122
|
+
return input
|
|
10123
|
+
.filter(function (e) { return e != null; })
|
|
10124
|
+
.map(function (entry) {
|
|
10125
|
+
if (entry === null) {
|
|
10126
|
+
return null;
|
|
10127
|
+
}
|
|
10128
|
+
return serializeAws_restJson1FilePaths(entry, context);
|
|
10129
|
+
});
|
|
10130
|
+
};
|
|
10131
|
+
var serializeAws_restJson1FilePaths = function (input, context) {
|
|
10132
|
+
return __assign(__assign(__assign(__assign({}, (input.FileName !== undefined && input.FileName !== null && { FileName: input.FileName })), (input.FilePath !== undefined && input.FilePath !== null && { FilePath: input.FilePath })), (input.Hash !== undefined && input.Hash !== null && { Hash: input.Hash })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
10133
|
+
};
|
|
9725
10134
|
var serializeAws_restJson1FindingProviderFields = function (input, context) {
|
|
9726
10135
|
return __assign(__assign(__assign(__assign(__assign({}, (input.Confidence !== undefined && input.Confidence !== null && { Confidence: input.Confidence })), (input.Criticality !== undefined && input.Criticality !== null && { Criticality: input.Criticality })), (input.RelatedFindings !== undefined &&
|
|
9727
10136
|
input.RelatedFindings !== null && {
|
|
@@ -10104,7 +10513,7 @@ var serializeAws_restJson1Resource = function (input, context) {
|
|
|
10104
10513
|
input.Tags !== null && { Tags: serializeAws_restJson1FieldMap(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
10105
10514
|
};
|
|
10106
10515
|
var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
10107
|
-
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(__assign({}, (input.AwsApiGatewayRestApi !== undefined &&
|
|
10516
|
+
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(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi !== undefined &&
|
|
10108
10517
|
input.AwsApiGatewayRestApi !== null && {
|
|
10109
10518
|
AwsApiGatewayRestApi: serializeAws_restJson1AwsApiGatewayRestApiDetails(input.AwsApiGatewayRestApi, context),
|
|
10110
10519
|
})), (input.AwsApiGatewayStage !== undefined &&
|
|
@@ -10125,12 +10534,18 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
10125
10534
|
})), (input.AwsCertificateManagerCertificate !== undefined &&
|
|
10126
10535
|
input.AwsCertificateManagerCertificate !== null && {
|
|
10127
10536
|
AwsCertificateManagerCertificate: serializeAws_restJson1AwsCertificateManagerCertificateDetails(input.AwsCertificateManagerCertificate, context),
|
|
10537
|
+
})), (input.AwsCloudFormationStack !== undefined &&
|
|
10538
|
+
input.AwsCloudFormationStack !== null && {
|
|
10539
|
+
AwsCloudFormationStack: serializeAws_restJson1AwsCloudFormationStackDetails(input.AwsCloudFormationStack, context),
|
|
10128
10540
|
})), (input.AwsCloudFrontDistribution !== undefined &&
|
|
10129
10541
|
input.AwsCloudFrontDistribution !== null && {
|
|
10130
10542
|
AwsCloudFrontDistribution: serializeAws_restJson1AwsCloudFrontDistributionDetails(input.AwsCloudFrontDistribution, context),
|
|
10131
10543
|
})), (input.AwsCloudTrailTrail !== undefined &&
|
|
10132
10544
|
input.AwsCloudTrailTrail !== null && {
|
|
10133
10545
|
AwsCloudTrailTrail: serializeAws_restJson1AwsCloudTrailTrailDetails(input.AwsCloudTrailTrail, context),
|
|
10546
|
+
})), (input.AwsCloudWatchAlarm !== undefined &&
|
|
10547
|
+
input.AwsCloudWatchAlarm !== null && {
|
|
10548
|
+
AwsCloudWatchAlarm: serializeAws_restJson1AwsCloudWatchAlarmDetails(input.AwsCloudWatchAlarm, context),
|
|
10134
10549
|
})), (input.AwsCodeBuildProject !== undefined &&
|
|
10135
10550
|
input.AwsCodeBuildProject !== null && {
|
|
10136
10551
|
AwsCodeBuildProject: serializeAws_restJson1AwsCodeBuildProjectDetails(input.AwsCodeBuildProject, context),
|
|
@@ -10153,6 +10568,9 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
10153
10568
|
})), (input.AwsEc2Subnet !== undefined &&
|
|
10154
10569
|
input.AwsEc2Subnet !== null && {
|
|
10155
10570
|
AwsEc2Subnet: serializeAws_restJson1AwsEc2SubnetDetails(input.AwsEc2Subnet, context),
|
|
10571
|
+
})), (input.AwsEc2TransitGateway !== undefined &&
|
|
10572
|
+
input.AwsEc2TransitGateway !== null && {
|
|
10573
|
+
AwsEc2TransitGateway: serializeAws_restJson1AwsEc2TransitGatewayDetails(input.AwsEc2TransitGateway, context),
|
|
10156
10574
|
})), (input.AwsEc2Volume !== undefined &&
|
|
10157
10575
|
input.AwsEc2Volume !== null && {
|
|
10158
10576
|
AwsEc2Volume: serializeAws_restJson1AwsEc2VolumeDetails(input.AwsEc2Volume, context),
|
|
@@ -10160,6 +10578,9 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
10160
10578
|
input.AwsEc2Vpc !== null && { AwsEc2Vpc: serializeAws_restJson1AwsEc2VpcDetails(input.AwsEc2Vpc, context) })), (input.AwsEc2VpcEndpointService !== undefined &&
|
|
10161
10579
|
input.AwsEc2VpcEndpointService !== null && {
|
|
10162
10580
|
AwsEc2VpcEndpointService: serializeAws_restJson1AwsEc2VpcEndpointServiceDetails(input.AwsEc2VpcEndpointService, context),
|
|
10581
|
+
})), (input.AwsEc2VpcPeeringConnection !== undefined &&
|
|
10582
|
+
input.AwsEc2VpcPeeringConnection !== null && {
|
|
10583
|
+
AwsEc2VpcPeeringConnection: serializeAws_restJson1AwsEc2VpcPeeringConnectionDetails(input.AwsEc2VpcPeeringConnection, context),
|
|
10163
10584
|
})), (input.AwsEc2VpnConnection !== undefined &&
|
|
10164
10585
|
input.AwsEc2VpnConnection !== null && {
|
|
10165
10586
|
AwsEc2VpnConnection: serializeAws_restJson1AwsEc2VpnConnectionDetails(input.AwsEc2VpnConnection, context),
|
|
@@ -10172,12 +10593,19 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
10172
10593
|
})), (input.AwsEcsCluster !== undefined &&
|
|
10173
10594
|
input.AwsEcsCluster !== null && {
|
|
10174
10595
|
AwsEcsCluster: serializeAws_restJson1AwsEcsClusterDetails(input.AwsEcsCluster, context),
|
|
10596
|
+
})), (input.AwsEcsContainer !== undefined &&
|
|
10597
|
+
input.AwsEcsContainer !== null && {
|
|
10598
|
+
AwsEcsContainer: serializeAws_restJson1AwsEcsContainerDetails(input.AwsEcsContainer, context),
|
|
10175
10599
|
})), (input.AwsEcsService !== undefined &&
|
|
10176
10600
|
input.AwsEcsService !== null && {
|
|
10177
10601
|
AwsEcsService: serializeAws_restJson1AwsEcsServiceDetails(input.AwsEcsService, context),
|
|
10178
|
-
})), (input.
|
|
10602
|
+
})), (input.AwsEcsTask !== undefined &&
|
|
10603
|
+
input.AwsEcsTask !== null && { AwsEcsTask: serializeAws_restJson1AwsEcsTaskDetails(input.AwsEcsTask, context) })), (input.AwsEcsTaskDefinition !== undefined &&
|
|
10179
10604
|
input.AwsEcsTaskDefinition !== null && {
|
|
10180
10605
|
AwsEcsTaskDefinition: serializeAws_restJson1AwsEcsTaskDefinitionDetails(input.AwsEcsTaskDefinition, context),
|
|
10606
|
+
})), (input.AwsEfsAccessPoint !== undefined &&
|
|
10607
|
+
input.AwsEfsAccessPoint !== null && {
|
|
10608
|
+
AwsEfsAccessPoint: serializeAws_restJson1AwsEfsAccessPointDetails(input.AwsEfsAccessPoint, context),
|
|
10181
10609
|
})), (input.AwsEksCluster !== undefined &&
|
|
10182
10610
|
input.AwsEksCluster !== null && {
|
|
10183
10611
|
AwsEksCluster: serializeAws_restJson1AwsEksClusterDetails(input.AwsEksCluster, context),
|
|
@@ -10204,7 +10632,10 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
10204
10632
|
AwsIamPolicy: serializeAws_restJson1AwsIamPolicyDetails(input.AwsIamPolicy, context),
|
|
10205
10633
|
})), (input.AwsIamRole !== undefined &&
|
|
10206
10634
|
input.AwsIamRole !== null && { AwsIamRole: serializeAws_restJson1AwsIamRoleDetails(input.AwsIamRole, context) })), (input.AwsIamUser !== undefined &&
|
|
10207
|
-
input.AwsIamUser !== null && { AwsIamUser: serializeAws_restJson1AwsIamUserDetails(input.AwsIamUser, context) })), (input.
|
|
10635
|
+
input.AwsIamUser !== null && { AwsIamUser: serializeAws_restJson1AwsIamUserDetails(input.AwsIamUser, context) })), (input.AwsKinesisStream !== undefined &&
|
|
10636
|
+
input.AwsKinesisStream !== null && {
|
|
10637
|
+
AwsKinesisStream: serializeAws_restJson1AwsKinesisStreamDetails(input.AwsKinesisStream, context),
|
|
10638
|
+
})), (input.AwsKmsKey !== undefined &&
|
|
10208
10639
|
input.AwsKmsKey !== null && { AwsKmsKey: serializeAws_restJson1AwsKmsKeyDetails(input.AwsKmsKey, context) })), (input.AwsLambdaFunction !== undefined &&
|
|
10209
10640
|
input.AwsLambdaFunction !== null && {
|
|
10210
10641
|
AwsLambdaFunction: serializeAws_restJson1AwsLambdaFunctionDetails(input.AwsLambdaFunction, context),
|
|
@@ -10271,6 +10702,19 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
|
|
|
10271
10702
|
})), (input.AwsWafRegionalRateBasedRule !== undefined &&
|
|
10272
10703
|
input.AwsWafRegionalRateBasedRule !== null && {
|
|
10273
10704
|
AwsWafRegionalRateBasedRule: serializeAws_restJson1AwsWafRegionalRateBasedRuleDetails(input.AwsWafRegionalRateBasedRule, context),
|
|
10705
|
+
})), (input.AwsWafRegionalRule !== undefined &&
|
|
10706
|
+
input.AwsWafRegionalRule !== null && {
|
|
10707
|
+
AwsWafRegionalRule: serializeAws_restJson1AwsWafRegionalRuleDetails(input.AwsWafRegionalRule, context),
|
|
10708
|
+
})), (input.AwsWafRegionalRuleGroup !== undefined &&
|
|
10709
|
+
input.AwsWafRegionalRuleGroup !== null && {
|
|
10710
|
+
AwsWafRegionalRuleGroup: serializeAws_restJson1AwsWafRegionalRuleGroupDetails(input.AwsWafRegionalRuleGroup, context),
|
|
10711
|
+
})), (input.AwsWafRegionalWebAcl !== undefined &&
|
|
10712
|
+
input.AwsWafRegionalWebAcl !== null && {
|
|
10713
|
+
AwsWafRegionalWebAcl: serializeAws_restJson1AwsWafRegionalWebAclDetails(input.AwsWafRegionalWebAcl, context),
|
|
10714
|
+
})), (input.AwsWafRule !== undefined &&
|
|
10715
|
+
input.AwsWafRule !== null && { AwsWafRule: serializeAws_restJson1AwsWafRuleDetails(input.AwsWafRule, context) })), (input.AwsWafRuleGroup !== undefined &&
|
|
10716
|
+
input.AwsWafRuleGroup !== null && {
|
|
10717
|
+
AwsWafRuleGroup: serializeAws_restJson1AwsWafRuleGroupDetails(input.AwsWafRuleGroup, context),
|
|
10274
10718
|
})), (input.AwsWafWebAcl !== undefined &&
|
|
10275
10719
|
input.AwsWafWebAcl !== null && {
|
|
10276
10720
|
AwsWafWebAcl: serializeAws_restJson1AwsWafWebAclDetails(input.AwsWafWebAcl, context),
|
|
@@ -10712,6 +11156,10 @@ var serializeAws_restJson1TagMap = function (input, context) {
|
|
|
10712
11156
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
10713
11157
|
}, {});
|
|
10714
11158
|
};
|
|
11159
|
+
var serializeAws_restJson1Threat = function (input, context) {
|
|
11160
|
+
return __assign(__assign(__assign(__assign({}, (input.FilePaths !== undefined &&
|
|
11161
|
+
input.FilePaths !== null && { FilePaths: serializeAws_restJson1FilePathList(input.FilePaths, context) })), (input.ItemCount !== undefined && input.ItemCount !== null && { ItemCount: input.ItemCount })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Severity !== undefined && input.Severity !== null && { Severity: input.Severity }));
|
|
11162
|
+
};
|
|
10715
11163
|
var serializeAws_restJson1ThreatIntelIndicator = function (input, context) {
|
|
10716
11164
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Category !== undefined && input.Category !== null && { Category: input.Category })), (input.LastObservedAt !== undefined &&
|
|
10717
11165
|
input.LastObservedAt !== null && { LastObservedAt: input.LastObservedAt })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.SourceUrl !== undefined && input.SourceUrl !== null && { SourceUrl: input.SourceUrl })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
@@ -10726,6 +11174,16 @@ var serializeAws_restJson1ThreatIntelIndicatorList = function (input, context) {
|
|
|
10726
11174
|
return serializeAws_restJson1ThreatIntelIndicator(entry, context);
|
|
10727
11175
|
});
|
|
10728
11176
|
};
|
|
11177
|
+
var serializeAws_restJson1ThreatList = function (input, context) {
|
|
11178
|
+
return input
|
|
11179
|
+
.filter(function (e) { return e != null; })
|
|
11180
|
+
.map(function (entry) {
|
|
11181
|
+
if (entry === null) {
|
|
11182
|
+
return null;
|
|
11183
|
+
}
|
|
11184
|
+
return serializeAws_restJson1Threat(entry, context);
|
|
11185
|
+
});
|
|
11186
|
+
};
|
|
10729
11187
|
var serializeAws_restJson1TypeList = function (input, context) {
|
|
10730
11188
|
return input
|
|
10731
11189
|
.filter(function (e) { return e != null; })
|
|
@@ -10736,6 +11194,57 @@ var serializeAws_restJson1TypeList = function (input, context) {
|
|
|
10736
11194
|
return entry;
|
|
10737
11195
|
});
|
|
10738
11196
|
};
|
|
11197
|
+
var serializeAws_restJson1VolumeMount = function (input, context) {
|
|
11198
|
+
return __assign(__assign({}, (input.MountPath !== undefined && input.MountPath !== null && { MountPath: input.MountPath })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
11199
|
+
};
|
|
11200
|
+
var serializeAws_restJson1VolumeMountList = function (input, context) {
|
|
11201
|
+
return input
|
|
11202
|
+
.filter(function (e) { return e != null; })
|
|
11203
|
+
.map(function (entry) {
|
|
11204
|
+
if (entry === null) {
|
|
11205
|
+
return null;
|
|
11206
|
+
}
|
|
11207
|
+
return serializeAws_restJson1VolumeMount(entry, context);
|
|
11208
|
+
});
|
|
11209
|
+
};
|
|
11210
|
+
var serializeAws_restJson1VpcInfoCidrBlockSetDetails = function (input, context) {
|
|
11211
|
+
return __assign({}, (input.CidrBlock !== undefined && input.CidrBlock !== null && { CidrBlock: input.CidrBlock }));
|
|
11212
|
+
};
|
|
11213
|
+
var serializeAws_restJson1VpcInfoCidrBlockSetList = function (input, context) {
|
|
11214
|
+
return input
|
|
11215
|
+
.filter(function (e) { return e != null; })
|
|
11216
|
+
.map(function (entry) {
|
|
11217
|
+
if (entry === null) {
|
|
11218
|
+
return null;
|
|
11219
|
+
}
|
|
11220
|
+
return serializeAws_restJson1VpcInfoCidrBlockSetDetails(entry, context);
|
|
11221
|
+
});
|
|
11222
|
+
};
|
|
11223
|
+
var serializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails = function (input, context) {
|
|
11224
|
+
return __assign({}, (input.Ipv6CidrBlock !== undefined && input.Ipv6CidrBlock !== null && { Ipv6CidrBlock: input.Ipv6CidrBlock }));
|
|
11225
|
+
};
|
|
11226
|
+
var serializeAws_restJson1VpcInfoIpv6CidrBlockSetList = function (input, context) {
|
|
11227
|
+
return input
|
|
11228
|
+
.filter(function (e) { return e != null; })
|
|
11229
|
+
.map(function (entry) {
|
|
11230
|
+
if (entry === null) {
|
|
11231
|
+
return null;
|
|
11232
|
+
}
|
|
11233
|
+
return serializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails(entry, context);
|
|
11234
|
+
});
|
|
11235
|
+
};
|
|
11236
|
+
var serializeAws_restJson1VpcInfoPeeringOptionsDetails = function (input, context) {
|
|
11237
|
+
return __assign(__assign(__assign({}, (input.AllowDnsResolutionFromRemoteVpc !== undefined &&
|
|
11238
|
+
input.AllowDnsResolutionFromRemoteVpc !== null && {
|
|
11239
|
+
AllowDnsResolutionFromRemoteVpc: input.AllowDnsResolutionFromRemoteVpc,
|
|
11240
|
+
})), (input.AllowEgressFromLocalClassicLinkToRemoteVpc !== undefined &&
|
|
11241
|
+
input.AllowEgressFromLocalClassicLinkToRemoteVpc !== null && {
|
|
11242
|
+
AllowEgressFromLocalClassicLinkToRemoteVpc: input.AllowEgressFromLocalClassicLinkToRemoteVpc,
|
|
11243
|
+
})), (input.AllowEgressFromLocalVpcToRemoteClassicLink !== undefined &&
|
|
11244
|
+
input.AllowEgressFromLocalVpcToRemoteClassicLink !== null && {
|
|
11245
|
+
AllowEgressFromLocalVpcToRemoteClassicLink: input.AllowEgressFromLocalVpcToRemoteClassicLink,
|
|
11246
|
+
}));
|
|
11247
|
+
};
|
|
10739
11248
|
var serializeAws_restJson1Vulnerability = function (input, context) {
|
|
10740
11249
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Cvss !== undefined &&
|
|
10741
11250
|
input.Cvss !== null && { Cvss: serializeAws_restJson1CvssList(input.Cvss, context) })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.ReferenceUrls !== undefined &&
|
|
@@ -11374,6 +11883,56 @@ var deserializeAws_restJson1AwsCertificateManagerCertificateResourceRecord = fun
|
|
|
11374
11883
|
Value: __expectString(output.Value),
|
|
11375
11884
|
};
|
|
11376
11885
|
};
|
|
11886
|
+
var deserializeAws_restJson1AwsCloudFormationStackDetails = function (output, context) {
|
|
11887
|
+
return {
|
|
11888
|
+
Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
|
|
11889
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Capabilities, context)
|
|
11890
|
+
: undefined,
|
|
11891
|
+
CreationTime: __expectString(output.CreationTime),
|
|
11892
|
+
Description: __expectString(output.Description),
|
|
11893
|
+
DisableRollback: __expectBoolean(output.DisableRollback),
|
|
11894
|
+
DriftInformation: output.DriftInformation !== undefined && output.DriftInformation !== null
|
|
11895
|
+
? deserializeAws_restJson1AwsCloudFormationStackDriftInformationDetails(output.DriftInformation, context)
|
|
11896
|
+
: undefined,
|
|
11897
|
+
EnableTerminationProtection: __expectBoolean(output.EnableTerminationProtection),
|
|
11898
|
+
LastUpdatedTime: __expectString(output.LastUpdatedTime),
|
|
11899
|
+
NotificationArns: output.NotificationArns !== undefined && output.NotificationArns !== null
|
|
11900
|
+
? deserializeAws_restJson1NonEmptyStringList(output.NotificationArns, context)
|
|
11901
|
+
: undefined,
|
|
11902
|
+
Outputs: output.Outputs !== undefined && output.Outputs !== null
|
|
11903
|
+
? deserializeAws_restJson1AwsCloudFormationStackOutputsList(output.Outputs, context)
|
|
11904
|
+
: undefined,
|
|
11905
|
+
RoleArn: __expectString(output.RoleArn),
|
|
11906
|
+
StackId: __expectString(output.StackId),
|
|
11907
|
+
StackName: __expectString(output.StackName),
|
|
11908
|
+
StackStatus: __expectString(output.StackStatus),
|
|
11909
|
+
StackStatusReason: __expectString(output.StackStatusReason),
|
|
11910
|
+
TimeoutInMinutes: __expectInt32(output.TimeoutInMinutes),
|
|
11911
|
+
};
|
|
11912
|
+
};
|
|
11913
|
+
var deserializeAws_restJson1AwsCloudFormationStackDriftInformationDetails = function (output, context) {
|
|
11914
|
+
return {
|
|
11915
|
+
StackDriftStatus: __expectString(output.StackDriftStatus),
|
|
11916
|
+
};
|
|
11917
|
+
};
|
|
11918
|
+
var deserializeAws_restJson1AwsCloudFormationStackOutputsDetails = function (output, context) {
|
|
11919
|
+
return {
|
|
11920
|
+
Description: __expectString(output.Description),
|
|
11921
|
+
OutputKey: __expectString(output.OutputKey),
|
|
11922
|
+
OutputValue: __expectString(output.OutputValue),
|
|
11923
|
+
};
|
|
11924
|
+
};
|
|
11925
|
+
var deserializeAws_restJson1AwsCloudFormationStackOutputsList = function (output, context) {
|
|
11926
|
+
var retVal = (output || [])
|
|
11927
|
+
.filter(function (e) { return e != null; })
|
|
11928
|
+
.map(function (entry) {
|
|
11929
|
+
if (entry === null) {
|
|
11930
|
+
return null;
|
|
11931
|
+
}
|
|
11932
|
+
return deserializeAws_restJson1AwsCloudFormationStackOutputsDetails(entry, context);
|
|
11933
|
+
});
|
|
11934
|
+
return retVal;
|
|
11935
|
+
};
|
|
11377
11936
|
var deserializeAws_restJson1AwsCloudFrontDistributionCacheBehavior = function (output, context) {
|
|
11378
11937
|
return {
|
|
11379
11938
|
ViewerProtocolPolicy: __expectString(output.ViewerProtocolPolicy),
|
|
@@ -11438,6 +11997,18 @@ var deserializeAws_restJson1AwsCloudFrontDistributionLogging = function (output,
|
|
|
11438
11997
|
Prefix: __expectString(output.Prefix),
|
|
11439
11998
|
};
|
|
11440
11999
|
};
|
|
12000
|
+
var deserializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig = function (output, context) {
|
|
12001
|
+
return {
|
|
12002
|
+
HttpPort: __expectInt32(output.HttpPort),
|
|
12003
|
+
HttpsPort: __expectInt32(output.HttpsPort),
|
|
12004
|
+
OriginKeepaliveTimeout: __expectInt32(output.OriginKeepaliveTimeout),
|
|
12005
|
+
OriginProtocolPolicy: __expectString(output.OriginProtocolPolicy),
|
|
12006
|
+
OriginReadTimeout: __expectInt32(output.OriginReadTimeout),
|
|
12007
|
+
OriginSslProtocols: output.OriginSslProtocols !== undefined && output.OriginSslProtocols !== null
|
|
12008
|
+
? deserializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols(output.OriginSslProtocols, context)
|
|
12009
|
+
: undefined,
|
|
12010
|
+
};
|
|
12011
|
+
};
|
|
11441
12012
|
var deserializeAws_restJson1AwsCloudFrontDistributionOriginGroup = function (output, context) {
|
|
11442
12013
|
return {
|
|
11443
12014
|
FailoverCriteria: output.FailoverCriteria !== undefined && output.FailoverCriteria !== null
|
|
@@ -11491,6 +12062,9 @@ var deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupsItemList = func
|
|
|
11491
12062
|
};
|
|
11492
12063
|
var deserializeAws_restJson1AwsCloudFrontDistributionOriginItem = function (output, context) {
|
|
11493
12064
|
return {
|
|
12065
|
+
CustomOriginConfig: output.CustomOriginConfig !== undefined && output.CustomOriginConfig !== null
|
|
12066
|
+
? deserializeAws_restJson1AwsCloudFrontDistributionOriginCustomOriginConfig(output.CustomOriginConfig, context)
|
|
12067
|
+
: undefined,
|
|
11494
12068
|
DomainName: __expectString(output.DomainName),
|
|
11495
12069
|
Id: __expectString(output.Id),
|
|
11496
12070
|
OriginPath: __expectString(output.OriginPath),
|
|
@@ -11522,6 +12096,14 @@ var deserializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig = func
|
|
|
11522
12096
|
OriginAccessIdentity: __expectString(output.OriginAccessIdentity),
|
|
11523
12097
|
};
|
|
11524
12098
|
};
|
|
12099
|
+
var deserializeAws_restJson1AwsCloudFrontDistributionOriginSslProtocols = function (output, context) {
|
|
12100
|
+
return {
|
|
12101
|
+
Items: output.Items !== undefined && output.Items !== null
|
|
12102
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Items, context)
|
|
12103
|
+
: undefined,
|
|
12104
|
+
Quantity: __expectInt32(output.Quantity),
|
|
12105
|
+
};
|
|
12106
|
+
};
|
|
11525
12107
|
var deserializeAws_restJson1AwsCloudFrontDistributionViewerCertificate = function (output, context) {
|
|
11526
12108
|
return {
|
|
11527
12109
|
AcmCertificateArn: __expectString(output.AcmCertificateArn),
|
|
@@ -11552,6 +12134,57 @@ var deserializeAws_restJson1AwsCloudTrailTrailDetails = function (output, contex
|
|
|
11552
12134
|
TrailArn: __expectString(output.TrailArn),
|
|
11553
12135
|
};
|
|
11554
12136
|
};
|
|
12137
|
+
var deserializeAws_restJson1AwsCloudWatchAlarmDetails = function (output, context) {
|
|
12138
|
+
return {
|
|
12139
|
+
ActionsEnabled: __expectBoolean(output.ActionsEnabled),
|
|
12140
|
+
AlarmActions: output.AlarmActions !== undefined && output.AlarmActions !== null
|
|
12141
|
+
? deserializeAws_restJson1NonEmptyStringList(output.AlarmActions, context)
|
|
12142
|
+
: undefined,
|
|
12143
|
+
AlarmArn: __expectString(output.AlarmArn),
|
|
12144
|
+
AlarmConfigurationUpdatedTimestamp: __expectString(output.AlarmConfigurationUpdatedTimestamp),
|
|
12145
|
+
AlarmDescription: __expectString(output.AlarmDescription),
|
|
12146
|
+
AlarmName: __expectString(output.AlarmName),
|
|
12147
|
+
ComparisonOperator: __expectString(output.ComparisonOperator),
|
|
12148
|
+
DatapointsToAlarm: __expectInt32(output.DatapointsToAlarm),
|
|
12149
|
+
Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
|
|
12150
|
+
? deserializeAws_restJson1AwsCloudWatchAlarmDimensionsList(output.Dimensions, context)
|
|
12151
|
+
: undefined,
|
|
12152
|
+
EvaluateLowSampleCountPercentile: __expectString(output.EvaluateLowSampleCountPercentile),
|
|
12153
|
+
EvaluationPeriods: __expectInt32(output.EvaluationPeriods),
|
|
12154
|
+
ExtendedStatistic: __expectString(output.ExtendedStatistic),
|
|
12155
|
+
InsufficientDataActions: output.InsufficientDataActions !== undefined && output.InsufficientDataActions !== null
|
|
12156
|
+
? deserializeAws_restJson1NonEmptyStringList(output.InsufficientDataActions, context)
|
|
12157
|
+
: undefined,
|
|
12158
|
+
MetricName: __expectString(output.MetricName),
|
|
12159
|
+
Namespace: __expectString(output.Namespace),
|
|
12160
|
+
OkActions: output.OkActions !== undefined && output.OkActions !== null
|
|
12161
|
+
? deserializeAws_restJson1NonEmptyStringList(output.OkActions, context)
|
|
12162
|
+
: undefined,
|
|
12163
|
+
Period: __expectInt32(output.Period),
|
|
12164
|
+
Statistic: __expectString(output.Statistic),
|
|
12165
|
+
Threshold: __limitedParseDouble(output.Threshold),
|
|
12166
|
+
ThresholdMetricId: __expectString(output.ThresholdMetricId),
|
|
12167
|
+
TreatMissingData: __expectString(output.TreatMissingData),
|
|
12168
|
+
Unit: __expectString(output.Unit),
|
|
12169
|
+
};
|
|
12170
|
+
};
|
|
12171
|
+
var deserializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails = function (output, context) {
|
|
12172
|
+
return {
|
|
12173
|
+
Name: __expectString(output.Name),
|
|
12174
|
+
Value: __expectString(output.Value),
|
|
12175
|
+
};
|
|
12176
|
+
};
|
|
12177
|
+
var deserializeAws_restJson1AwsCloudWatchAlarmDimensionsList = function (output, context) {
|
|
12178
|
+
var retVal = (output || [])
|
|
12179
|
+
.filter(function (e) { return e != null; })
|
|
12180
|
+
.map(function (entry) {
|
|
12181
|
+
if (entry === null) {
|
|
12182
|
+
return null;
|
|
12183
|
+
}
|
|
12184
|
+
return deserializeAws_restJson1AwsCloudWatchAlarmDimensionsDetails(entry, context);
|
|
12185
|
+
});
|
|
12186
|
+
return retVal;
|
|
12187
|
+
};
|
|
11555
12188
|
var deserializeAws_restJson1AwsCodeBuildProjectArtifactsDetails = function (output, context) {
|
|
11556
12189
|
return {
|
|
11557
12190
|
ArtifactIdentifier: __expectString(output.ArtifactIdentifier),
|
|
@@ -11950,14 +12583,27 @@ var deserializeAws_restJson1AwsEc2InstanceDetails = function (output, context) {
|
|
|
11950
12583
|
: undefined,
|
|
11951
12584
|
KeyName: __expectString(output.KeyName),
|
|
11952
12585
|
LaunchedAt: __expectString(output.LaunchedAt),
|
|
12586
|
+
MetadataOptions: output.MetadataOptions !== undefined && output.MetadataOptions !== null
|
|
12587
|
+
? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
|
|
12588
|
+
: undefined,
|
|
11953
12589
|
NetworkInterfaces: output.NetworkInterfaces !== undefined && output.NetworkInterfaces !== null
|
|
11954
12590
|
? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
|
|
11955
12591
|
: undefined,
|
|
11956
12592
|
SubnetId: __expectString(output.SubnetId),
|
|
11957
12593
|
Type: __expectString(output.Type),
|
|
12594
|
+
VirtualizationType: __expectString(output.VirtualizationType),
|
|
11958
12595
|
VpcId: __expectString(output.VpcId),
|
|
11959
12596
|
};
|
|
11960
12597
|
};
|
|
12598
|
+
var deserializeAws_restJson1AwsEc2InstanceMetadataOptions = function (output, context) {
|
|
12599
|
+
return {
|
|
12600
|
+
HttpEndpoint: __expectString(output.HttpEndpoint),
|
|
12601
|
+
HttpProtocolIpv6: __expectString(output.HttpProtocolIpv6),
|
|
12602
|
+
HttpPutResponseHopLimit: __expectInt32(output.HttpPutResponseHopLimit),
|
|
12603
|
+
HttpTokens: __expectString(output.HttpTokens),
|
|
12604
|
+
InstanceMetadataTags: __expectString(output.InstanceMetadataTags),
|
|
12605
|
+
};
|
|
12606
|
+
};
|
|
11961
12607
|
var deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = function (output, context) {
|
|
11962
12608
|
return {
|
|
11963
12609
|
NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
|
|
@@ -12246,6 +12892,24 @@ var deserializeAws_restJson1AwsEc2SubnetDetails = function (output, context) {
|
|
|
12246
12892
|
VpcId: __expectString(output.VpcId),
|
|
12247
12893
|
};
|
|
12248
12894
|
};
|
|
12895
|
+
var deserializeAws_restJson1AwsEc2TransitGatewayDetails = function (output, context) {
|
|
12896
|
+
return {
|
|
12897
|
+
AmazonSideAsn: __expectInt32(output.AmazonSideAsn),
|
|
12898
|
+
AssociationDefaultRouteTableId: __expectString(output.AssociationDefaultRouteTableId),
|
|
12899
|
+
AutoAcceptSharedAttachments: __expectString(output.AutoAcceptSharedAttachments),
|
|
12900
|
+
DefaultRouteTableAssociation: __expectString(output.DefaultRouteTableAssociation),
|
|
12901
|
+
DefaultRouteTablePropagation: __expectString(output.DefaultRouteTablePropagation),
|
|
12902
|
+
Description: __expectString(output.Description),
|
|
12903
|
+
DnsSupport: __expectString(output.DnsSupport),
|
|
12904
|
+
Id: __expectString(output.Id),
|
|
12905
|
+
MulticastSupport: __expectString(output.MulticastSupport),
|
|
12906
|
+
PropagationDefaultRouteTableId: __expectString(output.PropagationDefaultRouteTableId),
|
|
12907
|
+
TransitGatewayCidrBlocks: output.TransitGatewayCidrBlocks !== undefined && output.TransitGatewayCidrBlocks !== null
|
|
12908
|
+
? deserializeAws_restJson1NonEmptyStringList(output.TransitGatewayCidrBlocks, context)
|
|
12909
|
+
: undefined,
|
|
12910
|
+
VpnEcmpSupport: __expectString(output.VpnEcmpSupport),
|
|
12911
|
+
};
|
|
12912
|
+
};
|
|
12249
12913
|
var deserializeAws_restJson1AwsEc2VolumeAttachment = function (output, context) {
|
|
12250
12914
|
return {
|
|
12251
12915
|
AttachTime: __expectString(output.AttachTime),
|
|
@@ -12271,11 +12935,15 @@ var deserializeAws_restJson1AwsEc2VolumeDetails = function (output, context) {
|
|
|
12271
12935
|
? deserializeAws_restJson1AwsEc2VolumeAttachmentList(output.Attachments, context)
|
|
12272
12936
|
: undefined,
|
|
12273
12937
|
CreateTime: __expectString(output.CreateTime),
|
|
12938
|
+
DeviceName: __expectString(output.DeviceName),
|
|
12274
12939
|
Encrypted: __expectBoolean(output.Encrypted),
|
|
12275
12940
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
12276
12941
|
Size: __expectInt32(output.Size),
|
|
12277
12942
|
SnapshotId: __expectString(output.SnapshotId),
|
|
12278
12943
|
Status: __expectString(output.Status),
|
|
12944
|
+
VolumeId: __expectString(output.VolumeId),
|
|
12945
|
+
VolumeScanStatus: __expectString(output.VolumeScanStatus),
|
|
12946
|
+
VolumeType: __expectString(output.VolumeType),
|
|
12279
12947
|
};
|
|
12280
12948
|
};
|
|
12281
12949
|
var deserializeAws_restJson1AwsEc2VpcDetails = function (output, context) {
|
|
@@ -12331,6 +12999,44 @@ var deserializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList = function (
|
|
|
12331
12999
|
});
|
|
12332
13000
|
return retVal;
|
|
12333
13001
|
};
|
|
13002
|
+
var deserializeAws_restJson1AwsEc2VpcPeeringConnectionDetails = function (output, context) {
|
|
13003
|
+
return {
|
|
13004
|
+
AccepterVpcInfo: output.AccepterVpcInfo !== undefined && output.AccepterVpcInfo !== null
|
|
13005
|
+
? deserializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(output.AccepterVpcInfo, context)
|
|
13006
|
+
: undefined,
|
|
13007
|
+
ExpirationTime: __expectString(output.ExpirationTime),
|
|
13008
|
+
RequesterVpcInfo: output.RequesterVpcInfo !== undefined && output.RequesterVpcInfo !== null
|
|
13009
|
+
? deserializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails(output.RequesterVpcInfo, context)
|
|
13010
|
+
: undefined,
|
|
13011
|
+
Status: output.Status !== undefined && output.Status !== null
|
|
13012
|
+
? deserializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails(output.Status, context)
|
|
13013
|
+
: undefined,
|
|
13014
|
+
VpcPeeringConnectionId: __expectString(output.VpcPeeringConnectionId),
|
|
13015
|
+
};
|
|
13016
|
+
};
|
|
13017
|
+
var deserializeAws_restJson1AwsEc2VpcPeeringConnectionStatusDetails = function (output, context) {
|
|
13018
|
+
return {
|
|
13019
|
+
Code: __expectString(output.Code),
|
|
13020
|
+
Message: __expectString(output.Message),
|
|
13021
|
+
};
|
|
13022
|
+
};
|
|
13023
|
+
var deserializeAws_restJson1AwsEc2VpcPeeringConnectionVpcInfoDetails = function (output, context) {
|
|
13024
|
+
return {
|
|
13025
|
+
CidrBlock: __expectString(output.CidrBlock),
|
|
13026
|
+
CidrBlockSet: output.CidrBlockSet !== undefined && output.CidrBlockSet !== null
|
|
13027
|
+
? deserializeAws_restJson1VpcInfoCidrBlockSetList(output.CidrBlockSet, context)
|
|
13028
|
+
: undefined,
|
|
13029
|
+
Ipv6CidrBlockSet: output.Ipv6CidrBlockSet !== undefined && output.Ipv6CidrBlockSet !== null
|
|
13030
|
+
? deserializeAws_restJson1VpcInfoIpv6CidrBlockSetList(output.Ipv6CidrBlockSet, context)
|
|
13031
|
+
: undefined,
|
|
13032
|
+
OwnerId: __expectString(output.OwnerId),
|
|
13033
|
+
PeeringOptions: output.PeeringOptions !== undefined && output.PeeringOptions !== null
|
|
13034
|
+
? deserializeAws_restJson1VpcInfoPeeringOptionsDetails(output.PeeringOptions, context)
|
|
13035
|
+
: undefined,
|
|
13036
|
+
Region: __expectString(output.Region),
|
|
13037
|
+
VpcId: __expectString(output.VpcId),
|
|
13038
|
+
};
|
|
13039
|
+
};
|
|
12334
13040
|
var deserializeAws_restJson1AwsEc2VpnConnectionDetails = function (output, context) {
|
|
12335
13041
|
return {
|
|
12336
13042
|
Category: __expectString(output.Category),
|
|
@@ -12542,9 +13248,12 @@ var deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList = f
|
|
|
12542
13248
|
};
|
|
12543
13249
|
var deserializeAws_restJson1AwsEcsClusterDetails = function (output, context) {
|
|
12544
13250
|
return {
|
|
13251
|
+
ActiveServicesCount: __expectInt32(output.ActiveServicesCount),
|
|
12545
13252
|
CapacityProviders: output.CapacityProviders !== undefined && output.CapacityProviders !== null
|
|
12546
13253
|
? deserializeAws_restJson1NonEmptyStringList(output.CapacityProviders, context)
|
|
12547
13254
|
: undefined,
|
|
13255
|
+
ClusterArn: __expectString(output.ClusterArn),
|
|
13256
|
+
ClusterName: __expectString(output.ClusterName),
|
|
12548
13257
|
ClusterSettings: output.ClusterSettings !== undefined && output.ClusterSettings !== null
|
|
12549
13258
|
? deserializeAws_restJson1AwsEcsClusterClusterSettingsList(output.ClusterSettings, context)
|
|
12550
13259
|
: undefined,
|
|
@@ -12554,8 +13263,32 @@ var deserializeAws_restJson1AwsEcsClusterDetails = function (output, context) {
|
|
|
12554
13263
|
DefaultCapacityProviderStrategy: output.DefaultCapacityProviderStrategy !== undefined && output.DefaultCapacityProviderStrategy !== null
|
|
12555
13264
|
? deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList(output.DefaultCapacityProviderStrategy, context)
|
|
12556
13265
|
: undefined,
|
|
13266
|
+
RegisteredContainerInstancesCount: __expectInt32(output.RegisteredContainerInstancesCount),
|
|
13267
|
+
RunningTasksCount: __expectInt32(output.RunningTasksCount),
|
|
13268
|
+
Status: __expectString(output.Status),
|
|
13269
|
+
};
|
|
13270
|
+
};
|
|
13271
|
+
var deserializeAws_restJson1AwsEcsContainerDetails = function (output, context) {
|
|
13272
|
+
return {
|
|
13273
|
+
Image: __expectString(output.Image),
|
|
13274
|
+
MountPoints: output.MountPoints !== undefined && output.MountPoints !== null
|
|
13275
|
+
? deserializeAws_restJson1AwsMountPointList(output.MountPoints, context)
|
|
13276
|
+
: undefined,
|
|
13277
|
+
Name: __expectString(output.Name),
|
|
13278
|
+
Privileged: __expectBoolean(output.Privileged),
|
|
12557
13279
|
};
|
|
12558
13280
|
};
|
|
13281
|
+
var deserializeAws_restJson1AwsEcsContainerDetailsList = function (output, context) {
|
|
13282
|
+
var retVal = (output || [])
|
|
13283
|
+
.filter(function (e) { return e != null; })
|
|
13284
|
+
.map(function (entry) {
|
|
13285
|
+
if (entry === null) {
|
|
13286
|
+
return null;
|
|
13287
|
+
}
|
|
13288
|
+
return deserializeAws_restJson1AwsEcsContainerDetails(entry, context);
|
|
13289
|
+
});
|
|
13290
|
+
return retVal;
|
|
13291
|
+
};
|
|
12559
13292
|
var deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = function (output, context) {
|
|
12560
13293
|
return {
|
|
12561
13294
|
Base: __expectInt32(output.Base),
|
|
@@ -13285,6 +14018,85 @@ var deserializeAws_restJson1AwsEcsTaskDefinitionVolumesList = function (output,
|
|
|
13285
14018
|
});
|
|
13286
14019
|
return retVal;
|
|
13287
14020
|
};
|
|
14021
|
+
var deserializeAws_restJson1AwsEcsTaskDetails = function (output, context) {
|
|
14022
|
+
return {
|
|
14023
|
+
ClusterArn: __expectString(output.ClusterArn),
|
|
14024
|
+
Containers: output.Containers !== undefined && output.Containers !== null
|
|
14025
|
+
? deserializeAws_restJson1AwsEcsContainerDetailsList(output.Containers, context)
|
|
14026
|
+
: undefined,
|
|
14027
|
+
CreatedAt: __expectString(output.CreatedAt),
|
|
14028
|
+
Group: __expectString(output.Group),
|
|
14029
|
+
StartedAt: __expectString(output.StartedAt),
|
|
14030
|
+
StartedBy: __expectString(output.StartedBy),
|
|
14031
|
+
TaskDefinitionArn: __expectString(output.TaskDefinitionArn),
|
|
14032
|
+
Version: __expectString(output.Version),
|
|
14033
|
+
Volumes: output.Volumes !== undefined && output.Volumes !== null
|
|
14034
|
+
? deserializeAws_restJson1AwsEcsTaskVolumeDetailsList(output.Volumes, context)
|
|
14035
|
+
: undefined,
|
|
14036
|
+
};
|
|
14037
|
+
};
|
|
14038
|
+
var deserializeAws_restJson1AwsEcsTaskVolumeDetails = function (output, context) {
|
|
14039
|
+
return {
|
|
14040
|
+
Host: output.Host !== undefined && output.Host !== null
|
|
14041
|
+
? deserializeAws_restJson1AwsEcsTaskVolumeHostDetails(output.Host, context)
|
|
14042
|
+
: undefined,
|
|
14043
|
+
Name: __expectString(output.Name),
|
|
14044
|
+
};
|
|
14045
|
+
};
|
|
14046
|
+
var deserializeAws_restJson1AwsEcsTaskVolumeDetailsList = function (output, context) {
|
|
14047
|
+
var retVal = (output || [])
|
|
14048
|
+
.filter(function (e) { return e != null; })
|
|
14049
|
+
.map(function (entry) {
|
|
14050
|
+
if (entry === null) {
|
|
14051
|
+
return null;
|
|
14052
|
+
}
|
|
14053
|
+
return deserializeAws_restJson1AwsEcsTaskVolumeDetails(entry, context);
|
|
14054
|
+
});
|
|
14055
|
+
return retVal;
|
|
14056
|
+
};
|
|
14057
|
+
var deserializeAws_restJson1AwsEcsTaskVolumeHostDetails = function (output, context) {
|
|
14058
|
+
return {
|
|
14059
|
+
SourcePath: __expectString(output.SourcePath),
|
|
14060
|
+
};
|
|
14061
|
+
};
|
|
14062
|
+
var deserializeAws_restJson1AwsEfsAccessPointDetails = function (output, context) {
|
|
14063
|
+
return {
|
|
14064
|
+
AccessPointId: __expectString(output.AccessPointId),
|
|
14065
|
+
Arn: __expectString(output.Arn),
|
|
14066
|
+
ClientToken: __expectString(output.ClientToken),
|
|
14067
|
+
FileSystemId: __expectString(output.FileSystemId),
|
|
14068
|
+
PosixUser: output.PosixUser !== undefined && output.PosixUser !== null
|
|
14069
|
+
? deserializeAws_restJson1AwsEfsAccessPointPosixUserDetails(output.PosixUser, context)
|
|
14070
|
+
: undefined,
|
|
14071
|
+
RootDirectory: output.RootDirectory !== undefined && output.RootDirectory !== null
|
|
14072
|
+
? deserializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails(output.RootDirectory, context)
|
|
14073
|
+
: undefined,
|
|
14074
|
+
};
|
|
14075
|
+
};
|
|
14076
|
+
var deserializeAws_restJson1AwsEfsAccessPointPosixUserDetails = function (output, context) {
|
|
14077
|
+
return {
|
|
14078
|
+
Gid: __expectString(output.Gid),
|
|
14079
|
+
SecondaryGids: output.SecondaryGids !== undefined && output.SecondaryGids !== null
|
|
14080
|
+
? deserializeAws_restJson1NonEmptyStringList(output.SecondaryGids, context)
|
|
14081
|
+
: undefined,
|
|
14082
|
+
Uid: __expectString(output.Uid),
|
|
14083
|
+
};
|
|
14084
|
+
};
|
|
14085
|
+
var deserializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails = function (output, context) {
|
|
14086
|
+
return {
|
|
14087
|
+
OwnerGid: __expectString(output.OwnerGid),
|
|
14088
|
+
OwnerUid: __expectString(output.OwnerUid),
|
|
14089
|
+
Permissions: __expectString(output.Permissions),
|
|
14090
|
+
};
|
|
14091
|
+
};
|
|
14092
|
+
var deserializeAws_restJson1AwsEfsAccessPointRootDirectoryDetails = function (output, context) {
|
|
14093
|
+
return {
|
|
14094
|
+
CreationInfo: output.CreationInfo !== undefined && output.CreationInfo !== null
|
|
14095
|
+
? deserializeAws_restJson1AwsEfsAccessPointRootDirectoryCreationInfoDetails(output.CreationInfo, context)
|
|
14096
|
+
: undefined,
|
|
14097
|
+
Path: __expectString(output.Path),
|
|
14098
|
+
};
|
|
14099
|
+
};
|
|
13288
14100
|
var deserializeAws_restJson1AwsEksClusterDetails = function (output, context) {
|
|
13289
14101
|
return {
|
|
13290
14102
|
Arn: __expectString(output.Arn),
|
|
@@ -14033,6 +14845,23 @@ var deserializeAws_restJson1AwsIamUserPolicyList = function (output, context) {
|
|
|
14033
14845
|
});
|
|
14034
14846
|
return retVal;
|
|
14035
14847
|
};
|
|
14848
|
+
var deserializeAws_restJson1AwsKinesisStreamDetails = function (output, context) {
|
|
14849
|
+
return {
|
|
14850
|
+
Arn: __expectString(output.Arn),
|
|
14851
|
+
Name: __expectString(output.Name),
|
|
14852
|
+
RetentionPeriodHours: __expectInt32(output.RetentionPeriodHours),
|
|
14853
|
+
ShardCount: __expectInt32(output.ShardCount),
|
|
14854
|
+
StreamEncryption: output.StreamEncryption !== undefined && output.StreamEncryption !== null
|
|
14855
|
+
? deserializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails(output.StreamEncryption, context)
|
|
14856
|
+
: undefined,
|
|
14857
|
+
};
|
|
14858
|
+
};
|
|
14859
|
+
var deserializeAws_restJson1AwsKinesisStreamStreamEncryptionDetails = function (output, context) {
|
|
14860
|
+
return {
|
|
14861
|
+
EncryptionType: __expectString(output.EncryptionType),
|
|
14862
|
+
KeyId: __expectString(output.KeyId),
|
|
14863
|
+
};
|
|
14864
|
+
};
|
|
14036
14865
|
var deserializeAws_restJson1AwsKmsKeyDetails = function (output, context) {
|
|
14037
14866
|
return {
|
|
14038
14867
|
AWSAccountId: __expectString(output.AWSAccountId),
|
|
@@ -14150,6 +14979,23 @@ var deserializeAws_restJson1AwsLambdaLayerVersionDetails = function (output, con
|
|
|
14150
14979
|
Version: __expectLong(output.Version),
|
|
14151
14980
|
};
|
|
14152
14981
|
};
|
|
14982
|
+
var deserializeAws_restJson1AwsMountPoint = function (output, context) {
|
|
14983
|
+
return {
|
|
14984
|
+
ContainerPath: __expectString(output.ContainerPath),
|
|
14985
|
+
SourceVolume: __expectString(output.SourceVolume),
|
|
14986
|
+
};
|
|
14987
|
+
};
|
|
14988
|
+
var deserializeAws_restJson1AwsMountPointList = function (output, context) {
|
|
14989
|
+
var retVal = (output || [])
|
|
14990
|
+
.filter(function (e) { return e != null; })
|
|
14991
|
+
.map(function (entry) {
|
|
14992
|
+
if (entry === null) {
|
|
14993
|
+
return null;
|
|
14994
|
+
}
|
|
14995
|
+
return deserializeAws_restJson1AwsMountPoint(entry, context);
|
|
14996
|
+
});
|
|
14997
|
+
return retVal;
|
|
14998
|
+
};
|
|
14153
14999
|
var deserializeAws_restJson1AwsNetworkFirewallFirewallDetails = function (output, context) {
|
|
14154
15000
|
return {
|
|
14155
15001
|
DeleteProtection: __expectBoolean(output.DeleteProtection),
|
|
@@ -14206,6 +15052,15 @@ var deserializeAws_restJson1AwsNetworkFirewallRuleGroupDetails = function (outpu
|
|
|
14206
15052
|
Type: __expectString(output.Type),
|
|
14207
15053
|
};
|
|
14208
15054
|
};
|
|
15055
|
+
var deserializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails = function (output, context) {
|
|
15056
|
+
return {
|
|
15057
|
+
Enabled: __expectBoolean(output.Enabled),
|
|
15058
|
+
InternalUserDatabaseEnabled: __expectBoolean(output.InternalUserDatabaseEnabled),
|
|
15059
|
+
MasterUserOptions: output.MasterUserOptions !== undefined && output.MasterUserOptions !== null
|
|
15060
|
+
? deserializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails(output.MasterUserOptions, context)
|
|
15061
|
+
: undefined,
|
|
15062
|
+
};
|
|
15063
|
+
};
|
|
14209
15064
|
var deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = function (output, context) {
|
|
14210
15065
|
return {
|
|
14211
15066
|
DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount),
|
|
@@ -14230,6 +15085,9 @@ var deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwareness
|
|
|
14230
15085
|
var deserializeAws_restJson1AwsOpenSearchServiceDomainDetails = function (output, context) {
|
|
14231
15086
|
return {
|
|
14232
15087
|
AccessPolicies: __expectString(output.AccessPolicies),
|
|
15088
|
+
AdvancedSecurityOptions: output.AdvancedSecurityOptions !== undefined && output.AdvancedSecurityOptions !== null
|
|
15089
|
+
? deserializeAws_restJson1AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails(output.AdvancedSecurityOptions, context)
|
|
15090
|
+
: undefined,
|
|
14233
15091
|
Arn: __expectString(output.Arn),
|
|
14234
15092
|
ClusterConfig: output.ClusterConfig !== undefined && output.ClusterConfig !== null
|
|
14235
15093
|
? deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails(output.ClusterConfig, context)
|
|
@@ -14295,6 +15153,13 @@ var deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetail
|
|
|
14295
15153
|
: undefined,
|
|
14296
15154
|
};
|
|
14297
15155
|
};
|
|
15156
|
+
var deserializeAws_restJson1AwsOpenSearchServiceDomainMasterUserOptionsDetails = function (output, context) {
|
|
15157
|
+
return {
|
|
15158
|
+
MasterUserArn: __expectString(output.MasterUserArn),
|
|
15159
|
+
MasterUserName: __expectString(output.MasterUserName),
|
|
15160
|
+
MasterUserPassword: __expectString(output.MasterUserPassword),
|
|
15161
|
+
};
|
|
15162
|
+
};
|
|
14298
15163
|
var deserializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails = function (output, context) {
|
|
14299
15164
|
return {
|
|
14300
15165
|
Enabled: __expectBoolean(output.Enabled),
|
|
@@ -15555,6 +16420,9 @@ var deserializeAws_restJson1AwsSecurityFinding = function (output, context) {
|
|
|
15555
16420
|
ThreatIntelIndicators: output.ThreatIntelIndicators !== undefined && output.ThreatIntelIndicators !== null
|
|
15556
16421
|
? deserializeAws_restJson1ThreatIntelIndicatorList(output.ThreatIntelIndicators, context)
|
|
15557
16422
|
: undefined,
|
|
16423
|
+
Threats: output.Threats !== undefined && output.Threats !== null
|
|
16424
|
+
? deserializeAws_restJson1ThreatList(output.Threats, context)
|
|
16425
|
+
: undefined,
|
|
15558
16426
|
Title: __expectString(output.Title),
|
|
15559
16427
|
Types: output.Types !== undefined && output.Types !== null
|
|
15560
16428
|
? deserializeAws_restJson1TypeList(output.Types, context)
|
|
@@ -15896,8 +16764,15 @@ var deserializeAws_restJson1AwsSecurityFindingList = function (output, context)
|
|
|
15896
16764
|
};
|
|
15897
16765
|
var deserializeAws_restJson1AwsSnsTopicDetails = function (output, context) {
|
|
15898
16766
|
return {
|
|
16767
|
+
ApplicationSuccessFeedbackRoleArn: __expectString(output.ApplicationSuccessFeedbackRoleArn),
|
|
16768
|
+
FirehoseFailureFeedbackRoleArn: __expectString(output.FirehoseFailureFeedbackRoleArn),
|
|
16769
|
+
FirehoseSuccessFeedbackRoleArn: __expectString(output.FirehoseSuccessFeedbackRoleArn),
|
|
16770
|
+
HttpFailureFeedbackRoleArn: __expectString(output.HttpFailureFeedbackRoleArn),
|
|
16771
|
+
HttpSuccessFeedbackRoleArn: __expectString(output.HttpSuccessFeedbackRoleArn),
|
|
15899
16772
|
KmsMasterKeyId: __expectString(output.KmsMasterKeyId),
|
|
15900
16773
|
Owner: __expectString(output.Owner),
|
|
16774
|
+
SqsFailureFeedbackRoleArn: __expectString(output.SqsFailureFeedbackRoleArn),
|
|
16775
|
+
SqsSuccessFeedbackRoleArn: __expectString(output.SqsSuccessFeedbackRoleArn),
|
|
15901
16776
|
Subscription: output.Subscription !== undefined && output.Subscription !== null
|
|
15902
16777
|
? deserializeAws_restJson1AwsSnsTopicSubscriptionList(output.Subscription, context)
|
|
15903
16778
|
: undefined,
|
|
@@ -16025,6 +16900,179 @@ var deserializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList = func
|
|
|
16025
16900
|
});
|
|
16026
16901
|
return retVal;
|
|
16027
16902
|
};
|
|
16903
|
+
var deserializeAws_restJson1AwsWafRegionalRuleDetails = function (output, context) {
|
|
16904
|
+
return {
|
|
16905
|
+
MetricName: __expectString(output.MetricName),
|
|
16906
|
+
Name: __expectString(output.Name),
|
|
16907
|
+
PredicateList: output.PredicateList !== undefined && output.PredicateList !== null
|
|
16908
|
+
? deserializeAws_restJson1AwsWafRegionalRulePredicateList(output.PredicateList, context)
|
|
16909
|
+
: undefined,
|
|
16910
|
+
RuleId: __expectString(output.RuleId),
|
|
16911
|
+
};
|
|
16912
|
+
};
|
|
16913
|
+
var deserializeAws_restJson1AwsWafRegionalRuleGroupDetails = function (output, context) {
|
|
16914
|
+
return {
|
|
16915
|
+
MetricName: __expectString(output.MetricName),
|
|
16916
|
+
Name: __expectString(output.Name),
|
|
16917
|
+
RuleGroupId: __expectString(output.RuleGroupId),
|
|
16918
|
+
Rules: output.Rules !== undefined && output.Rules !== null
|
|
16919
|
+
? deserializeAws_restJson1AwsWafRegionalRuleGroupRulesList(output.Rules, context)
|
|
16920
|
+
: undefined,
|
|
16921
|
+
};
|
|
16922
|
+
};
|
|
16923
|
+
var deserializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails = function (output, context) {
|
|
16924
|
+
return {
|
|
16925
|
+
Type: __expectString(output.Type),
|
|
16926
|
+
};
|
|
16927
|
+
};
|
|
16928
|
+
var deserializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails = function (output, context) {
|
|
16929
|
+
return {
|
|
16930
|
+
Action: output.Action !== undefined && output.Action !== null
|
|
16931
|
+
? deserializeAws_restJson1AwsWafRegionalRuleGroupRulesActionDetails(output.Action, context)
|
|
16932
|
+
: undefined,
|
|
16933
|
+
Priority: __expectInt32(output.Priority),
|
|
16934
|
+
RuleId: __expectString(output.RuleId),
|
|
16935
|
+
Type: __expectString(output.Type),
|
|
16936
|
+
};
|
|
16937
|
+
};
|
|
16938
|
+
var deserializeAws_restJson1AwsWafRegionalRuleGroupRulesList = function (output, context) {
|
|
16939
|
+
var retVal = (output || [])
|
|
16940
|
+
.filter(function (e) { return e != null; })
|
|
16941
|
+
.map(function (entry) {
|
|
16942
|
+
if (entry === null) {
|
|
16943
|
+
return null;
|
|
16944
|
+
}
|
|
16945
|
+
return deserializeAws_restJson1AwsWafRegionalRuleGroupRulesDetails(entry, context);
|
|
16946
|
+
});
|
|
16947
|
+
return retVal;
|
|
16948
|
+
};
|
|
16949
|
+
var deserializeAws_restJson1AwsWafRegionalRulePredicateList = function (output, context) {
|
|
16950
|
+
var retVal = (output || [])
|
|
16951
|
+
.filter(function (e) { return e != null; })
|
|
16952
|
+
.map(function (entry) {
|
|
16953
|
+
if (entry === null) {
|
|
16954
|
+
return null;
|
|
16955
|
+
}
|
|
16956
|
+
return deserializeAws_restJson1AwsWafRegionalRulePredicateListDetails(entry, context);
|
|
16957
|
+
});
|
|
16958
|
+
return retVal;
|
|
16959
|
+
};
|
|
16960
|
+
var deserializeAws_restJson1AwsWafRegionalRulePredicateListDetails = function (output, context) {
|
|
16961
|
+
return {
|
|
16962
|
+
DataId: __expectString(output.DataId),
|
|
16963
|
+
Negated: __expectBoolean(output.Negated),
|
|
16964
|
+
Type: __expectString(output.Type),
|
|
16965
|
+
};
|
|
16966
|
+
};
|
|
16967
|
+
var deserializeAws_restJson1AwsWafRegionalWebAclDetails = function (output, context) {
|
|
16968
|
+
return {
|
|
16969
|
+
DefaultAction: __expectString(output.DefaultAction),
|
|
16970
|
+
MetricName: __expectString(output.MetricName),
|
|
16971
|
+
Name: __expectString(output.Name),
|
|
16972
|
+
RulesList: output.RulesList !== undefined && output.RulesList !== null
|
|
16973
|
+
? deserializeAws_restJson1AwsWafRegionalWebAclRulesList(output.RulesList, context)
|
|
16974
|
+
: undefined,
|
|
16975
|
+
WebAclId: __expectString(output.WebAclId),
|
|
16976
|
+
};
|
|
16977
|
+
};
|
|
16978
|
+
var deserializeAws_restJson1AwsWafRegionalWebAclRulesList = function (output, context) {
|
|
16979
|
+
var retVal = (output || [])
|
|
16980
|
+
.filter(function (e) { return e != null; })
|
|
16981
|
+
.map(function (entry) {
|
|
16982
|
+
if (entry === null) {
|
|
16983
|
+
return null;
|
|
16984
|
+
}
|
|
16985
|
+
return deserializeAws_restJson1AwsWafRegionalWebAclRulesListDetails(entry, context);
|
|
16986
|
+
});
|
|
16987
|
+
return retVal;
|
|
16988
|
+
};
|
|
16989
|
+
var deserializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails = function (output, context) {
|
|
16990
|
+
return {
|
|
16991
|
+
Type: __expectString(output.Type),
|
|
16992
|
+
};
|
|
16993
|
+
};
|
|
16994
|
+
var deserializeAws_restJson1AwsWafRegionalWebAclRulesListDetails = function (output, context) {
|
|
16995
|
+
return {
|
|
16996
|
+
Action: output.Action !== undefined && output.Action !== null
|
|
16997
|
+
? deserializeAws_restJson1AwsWafRegionalWebAclRulesListActionDetails(output.Action, context)
|
|
16998
|
+
: undefined,
|
|
16999
|
+
OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
|
|
17000
|
+
? deserializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails(output.OverrideAction, context)
|
|
17001
|
+
: undefined,
|
|
17002
|
+
Priority: __expectInt32(output.Priority),
|
|
17003
|
+
RuleId: __expectString(output.RuleId),
|
|
17004
|
+
Type: __expectString(output.Type),
|
|
17005
|
+
};
|
|
17006
|
+
};
|
|
17007
|
+
var deserializeAws_restJson1AwsWafRegionalWebAclRulesListOverrideActionDetails = function (output, context) {
|
|
17008
|
+
return {
|
|
17009
|
+
Type: __expectString(output.Type),
|
|
17010
|
+
};
|
|
17011
|
+
};
|
|
17012
|
+
var deserializeAws_restJson1AwsWafRuleDetails = function (output, context) {
|
|
17013
|
+
return {
|
|
17014
|
+
MetricName: __expectString(output.MetricName),
|
|
17015
|
+
Name: __expectString(output.Name),
|
|
17016
|
+
PredicateList: output.PredicateList !== undefined && output.PredicateList !== null
|
|
17017
|
+
? deserializeAws_restJson1AwsWafRulePredicateList(output.PredicateList, context)
|
|
17018
|
+
: undefined,
|
|
17019
|
+
RuleId: __expectString(output.RuleId),
|
|
17020
|
+
};
|
|
17021
|
+
};
|
|
17022
|
+
var deserializeAws_restJson1AwsWafRuleGroupDetails = function (output, context) {
|
|
17023
|
+
return {
|
|
17024
|
+
MetricName: __expectString(output.MetricName),
|
|
17025
|
+
Name: __expectString(output.Name),
|
|
17026
|
+
RuleGroupId: __expectString(output.RuleGroupId),
|
|
17027
|
+
Rules: output.Rules !== undefined && output.Rules !== null
|
|
17028
|
+
? deserializeAws_restJson1AwsWafRuleGroupRulesList(output.Rules, context)
|
|
17029
|
+
: undefined,
|
|
17030
|
+
};
|
|
17031
|
+
};
|
|
17032
|
+
var deserializeAws_restJson1AwsWafRuleGroupRulesActionDetails = function (output, context) {
|
|
17033
|
+
return {
|
|
17034
|
+
Type: __expectString(output.Type),
|
|
17035
|
+
};
|
|
17036
|
+
};
|
|
17037
|
+
var deserializeAws_restJson1AwsWafRuleGroupRulesDetails = function (output, context) {
|
|
17038
|
+
return {
|
|
17039
|
+
Action: output.Action !== undefined && output.Action !== null
|
|
17040
|
+
? deserializeAws_restJson1AwsWafRuleGroupRulesActionDetails(output.Action, context)
|
|
17041
|
+
: undefined,
|
|
17042
|
+
Priority: __expectInt32(output.Priority),
|
|
17043
|
+
RuleId: __expectString(output.RuleId),
|
|
17044
|
+
Type: __expectString(output.Type),
|
|
17045
|
+
};
|
|
17046
|
+
};
|
|
17047
|
+
var deserializeAws_restJson1AwsWafRuleGroupRulesList = function (output, context) {
|
|
17048
|
+
var retVal = (output || [])
|
|
17049
|
+
.filter(function (e) { return e != null; })
|
|
17050
|
+
.map(function (entry) {
|
|
17051
|
+
if (entry === null) {
|
|
17052
|
+
return null;
|
|
17053
|
+
}
|
|
17054
|
+
return deserializeAws_restJson1AwsWafRuleGroupRulesDetails(entry, context);
|
|
17055
|
+
});
|
|
17056
|
+
return retVal;
|
|
17057
|
+
};
|
|
17058
|
+
var deserializeAws_restJson1AwsWafRulePredicateList = function (output, context) {
|
|
17059
|
+
var retVal = (output || [])
|
|
17060
|
+
.filter(function (e) { return e != null; })
|
|
17061
|
+
.map(function (entry) {
|
|
17062
|
+
if (entry === null) {
|
|
17063
|
+
return null;
|
|
17064
|
+
}
|
|
17065
|
+
return deserializeAws_restJson1AwsWafRulePredicateListDetails(entry, context);
|
|
17066
|
+
});
|
|
17067
|
+
return retVal;
|
|
17068
|
+
};
|
|
17069
|
+
var deserializeAws_restJson1AwsWafRulePredicateListDetails = function (output, context) {
|
|
17070
|
+
return {
|
|
17071
|
+
DataId: __expectString(output.DataId),
|
|
17072
|
+
Negated: __expectBoolean(output.Negated),
|
|
17073
|
+
Type: __expectString(output.Type),
|
|
17074
|
+
};
|
|
17075
|
+
};
|
|
16028
17076
|
var deserializeAws_restJson1AwsWafWebAclDetails = function (output, context) {
|
|
16029
17077
|
return {
|
|
16030
17078
|
DefaultAction: __expectString(output.DefaultAction),
|
|
@@ -16193,10 +17241,15 @@ var deserializeAws_restJson1Compliance = function (output, context) {
|
|
|
16193
17241
|
};
|
|
16194
17242
|
var deserializeAws_restJson1ContainerDetails = function (output, context) {
|
|
16195
17243
|
return {
|
|
17244
|
+
ContainerRuntime: __expectString(output.ContainerRuntime),
|
|
16196
17245
|
ImageId: __expectString(output.ImageId),
|
|
16197
17246
|
ImageName: __expectString(output.ImageName),
|
|
16198
17247
|
LaunchedAt: __expectString(output.LaunchedAt),
|
|
16199
17248
|
Name: __expectString(output.Name),
|
|
17249
|
+
Privileged: __expectBoolean(output.Privileged),
|
|
17250
|
+
VolumeMounts: output.VolumeMounts !== undefined && output.VolumeMounts !== null
|
|
17251
|
+
? deserializeAws_restJson1VolumeMountList(output.VolumeMounts, context)
|
|
17252
|
+
: undefined,
|
|
16200
17253
|
};
|
|
16201
17254
|
};
|
|
16202
17255
|
var deserializeAws_restJson1Country = function (output, context) {
|
|
@@ -16307,6 +17360,25 @@ var deserializeAws_restJson1FieldMap = function (output, context) {
|
|
|
16307
17360
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
16308
17361
|
}, {});
|
|
16309
17362
|
};
|
|
17363
|
+
var deserializeAws_restJson1FilePathList = function (output, context) {
|
|
17364
|
+
var retVal = (output || [])
|
|
17365
|
+
.filter(function (e) { return e != null; })
|
|
17366
|
+
.map(function (entry) {
|
|
17367
|
+
if (entry === null) {
|
|
17368
|
+
return null;
|
|
17369
|
+
}
|
|
17370
|
+
return deserializeAws_restJson1FilePaths(entry, context);
|
|
17371
|
+
});
|
|
17372
|
+
return retVal;
|
|
17373
|
+
};
|
|
17374
|
+
var deserializeAws_restJson1FilePaths = function (output, context) {
|
|
17375
|
+
return {
|
|
17376
|
+
FileName: __expectString(output.FileName),
|
|
17377
|
+
FilePath: __expectString(output.FilePath),
|
|
17378
|
+
Hash: __expectString(output.Hash),
|
|
17379
|
+
ResourceId: __expectString(output.ResourceId),
|
|
17380
|
+
};
|
|
17381
|
+
};
|
|
16310
17382
|
var deserializeAws_restJson1FindingAggregator = function (output, context) {
|
|
16311
17383
|
return {
|
|
16312
17384
|
FindingAggregatorArn: __expectString(output.FindingAggregatorArn),
|
|
@@ -17053,12 +18125,18 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17053
18125
|
AwsCertificateManagerCertificate: output.AwsCertificateManagerCertificate !== undefined && output.AwsCertificateManagerCertificate !== null
|
|
17054
18126
|
? deserializeAws_restJson1AwsCertificateManagerCertificateDetails(output.AwsCertificateManagerCertificate, context)
|
|
17055
18127
|
: undefined,
|
|
18128
|
+
AwsCloudFormationStack: output.AwsCloudFormationStack !== undefined && output.AwsCloudFormationStack !== null
|
|
18129
|
+
? deserializeAws_restJson1AwsCloudFormationStackDetails(output.AwsCloudFormationStack, context)
|
|
18130
|
+
: undefined,
|
|
17056
18131
|
AwsCloudFrontDistribution: output.AwsCloudFrontDistribution !== undefined && output.AwsCloudFrontDistribution !== null
|
|
17057
18132
|
? deserializeAws_restJson1AwsCloudFrontDistributionDetails(output.AwsCloudFrontDistribution, context)
|
|
17058
18133
|
: undefined,
|
|
17059
18134
|
AwsCloudTrailTrail: output.AwsCloudTrailTrail !== undefined && output.AwsCloudTrailTrail !== null
|
|
17060
18135
|
? deserializeAws_restJson1AwsCloudTrailTrailDetails(output.AwsCloudTrailTrail, context)
|
|
17061
18136
|
: undefined,
|
|
18137
|
+
AwsCloudWatchAlarm: output.AwsCloudWatchAlarm !== undefined && output.AwsCloudWatchAlarm !== null
|
|
18138
|
+
? deserializeAws_restJson1AwsCloudWatchAlarmDetails(output.AwsCloudWatchAlarm, context)
|
|
18139
|
+
: undefined,
|
|
17062
18140
|
AwsCodeBuildProject: output.AwsCodeBuildProject !== undefined && output.AwsCodeBuildProject !== null
|
|
17063
18141
|
? deserializeAws_restJson1AwsCodeBuildProjectDetails(output.AwsCodeBuildProject, context)
|
|
17064
18142
|
: undefined,
|
|
@@ -17083,6 +18161,9 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17083
18161
|
AwsEc2Subnet: output.AwsEc2Subnet !== undefined && output.AwsEc2Subnet !== null
|
|
17084
18162
|
? deserializeAws_restJson1AwsEc2SubnetDetails(output.AwsEc2Subnet, context)
|
|
17085
18163
|
: undefined,
|
|
18164
|
+
AwsEc2TransitGateway: output.AwsEc2TransitGateway !== undefined && output.AwsEc2TransitGateway !== null
|
|
18165
|
+
? deserializeAws_restJson1AwsEc2TransitGatewayDetails(output.AwsEc2TransitGateway, context)
|
|
18166
|
+
: undefined,
|
|
17086
18167
|
AwsEc2Volume: output.AwsEc2Volume !== undefined && output.AwsEc2Volume !== null
|
|
17087
18168
|
? deserializeAws_restJson1AwsEc2VolumeDetails(output.AwsEc2Volume, context)
|
|
17088
18169
|
: undefined,
|
|
@@ -17092,6 +18173,9 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17092
18173
|
AwsEc2VpcEndpointService: output.AwsEc2VpcEndpointService !== undefined && output.AwsEc2VpcEndpointService !== null
|
|
17093
18174
|
? deserializeAws_restJson1AwsEc2VpcEndpointServiceDetails(output.AwsEc2VpcEndpointService, context)
|
|
17094
18175
|
: undefined,
|
|
18176
|
+
AwsEc2VpcPeeringConnection: output.AwsEc2VpcPeeringConnection !== undefined && output.AwsEc2VpcPeeringConnection !== null
|
|
18177
|
+
? deserializeAws_restJson1AwsEc2VpcPeeringConnectionDetails(output.AwsEc2VpcPeeringConnection, context)
|
|
18178
|
+
: undefined,
|
|
17095
18179
|
AwsEc2VpnConnection: output.AwsEc2VpnConnection !== undefined && output.AwsEc2VpnConnection !== null
|
|
17096
18180
|
? deserializeAws_restJson1AwsEc2VpnConnectionDetails(output.AwsEc2VpnConnection, context)
|
|
17097
18181
|
: undefined,
|
|
@@ -17104,12 +18188,21 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17104
18188
|
AwsEcsCluster: output.AwsEcsCluster !== undefined && output.AwsEcsCluster !== null
|
|
17105
18189
|
? deserializeAws_restJson1AwsEcsClusterDetails(output.AwsEcsCluster, context)
|
|
17106
18190
|
: undefined,
|
|
18191
|
+
AwsEcsContainer: output.AwsEcsContainer !== undefined && output.AwsEcsContainer !== null
|
|
18192
|
+
? deserializeAws_restJson1AwsEcsContainerDetails(output.AwsEcsContainer, context)
|
|
18193
|
+
: undefined,
|
|
17107
18194
|
AwsEcsService: output.AwsEcsService !== undefined && output.AwsEcsService !== null
|
|
17108
18195
|
? deserializeAws_restJson1AwsEcsServiceDetails(output.AwsEcsService, context)
|
|
17109
18196
|
: undefined,
|
|
18197
|
+
AwsEcsTask: output.AwsEcsTask !== undefined && output.AwsEcsTask !== null
|
|
18198
|
+
? deserializeAws_restJson1AwsEcsTaskDetails(output.AwsEcsTask, context)
|
|
18199
|
+
: undefined,
|
|
17110
18200
|
AwsEcsTaskDefinition: output.AwsEcsTaskDefinition !== undefined && output.AwsEcsTaskDefinition !== null
|
|
17111
18201
|
? deserializeAws_restJson1AwsEcsTaskDefinitionDetails(output.AwsEcsTaskDefinition, context)
|
|
17112
18202
|
: undefined,
|
|
18203
|
+
AwsEfsAccessPoint: output.AwsEfsAccessPoint !== undefined && output.AwsEfsAccessPoint !== null
|
|
18204
|
+
? deserializeAws_restJson1AwsEfsAccessPointDetails(output.AwsEfsAccessPoint, context)
|
|
18205
|
+
: undefined,
|
|
17113
18206
|
AwsEksCluster: output.AwsEksCluster !== undefined && output.AwsEksCluster !== null
|
|
17114
18207
|
? deserializeAws_restJson1AwsEksClusterDetails(output.AwsEksCluster, context)
|
|
17115
18208
|
: undefined,
|
|
@@ -17140,6 +18233,9 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17140
18233
|
AwsIamUser: output.AwsIamUser !== undefined && output.AwsIamUser !== null
|
|
17141
18234
|
? deserializeAws_restJson1AwsIamUserDetails(output.AwsIamUser, context)
|
|
17142
18235
|
: undefined,
|
|
18236
|
+
AwsKinesisStream: output.AwsKinesisStream !== undefined && output.AwsKinesisStream !== null
|
|
18237
|
+
? deserializeAws_restJson1AwsKinesisStreamDetails(output.AwsKinesisStream, context)
|
|
18238
|
+
: undefined,
|
|
17143
18239
|
AwsKmsKey: output.AwsKmsKey !== undefined && output.AwsKmsKey !== null
|
|
17144
18240
|
? deserializeAws_restJson1AwsKmsKeyDetails(output.AwsKmsKey, context)
|
|
17145
18241
|
: undefined,
|
|
@@ -17209,6 +18305,21 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
|
|
|
17209
18305
|
AwsWafRegionalRateBasedRule: output.AwsWafRegionalRateBasedRule !== undefined && output.AwsWafRegionalRateBasedRule !== null
|
|
17210
18306
|
? deserializeAws_restJson1AwsWafRegionalRateBasedRuleDetails(output.AwsWafRegionalRateBasedRule, context)
|
|
17211
18307
|
: undefined,
|
|
18308
|
+
AwsWafRegionalRule: output.AwsWafRegionalRule !== undefined && output.AwsWafRegionalRule !== null
|
|
18309
|
+
? deserializeAws_restJson1AwsWafRegionalRuleDetails(output.AwsWafRegionalRule, context)
|
|
18310
|
+
: undefined,
|
|
18311
|
+
AwsWafRegionalRuleGroup: output.AwsWafRegionalRuleGroup !== undefined && output.AwsWafRegionalRuleGroup !== null
|
|
18312
|
+
? deserializeAws_restJson1AwsWafRegionalRuleGroupDetails(output.AwsWafRegionalRuleGroup, context)
|
|
18313
|
+
: undefined,
|
|
18314
|
+
AwsWafRegionalWebAcl: output.AwsWafRegionalWebAcl !== undefined && output.AwsWafRegionalWebAcl !== null
|
|
18315
|
+
? deserializeAws_restJson1AwsWafRegionalWebAclDetails(output.AwsWafRegionalWebAcl, context)
|
|
18316
|
+
: undefined,
|
|
18317
|
+
AwsWafRule: output.AwsWafRule !== undefined && output.AwsWafRule !== null
|
|
18318
|
+
? deserializeAws_restJson1AwsWafRuleDetails(output.AwsWafRule, context)
|
|
18319
|
+
: undefined,
|
|
18320
|
+
AwsWafRuleGroup: output.AwsWafRuleGroup !== undefined && output.AwsWafRuleGroup !== null
|
|
18321
|
+
? deserializeAws_restJson1AwsWafRuleGroupDetails(output.AwsWafRuleGroup, context)
|
|
18322
|
+
: undefined,
|
|
17212
18323
|
AwsWafWebAcl: output.AwsWafWebAcl !== undefined && output.AwsWafWebAcl !== null
|
|
17213
18324
|
? deserializeAws_restJson1AwsWafWebAclDetails(output.AwsWafWebAcl, context)
|
|
17214
18325
|
: undefined,
|
|
@@ -17803,6 +18914,16 @@ var deserializeAws_restJson1TagMap = function (output, context) {
|
|
|
17803
18914
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
17804
18915
|
}, {});
|
|
17805
18916
|
};
|
|
18917
|
+
var deserializeAws_restJson1Threat = function (output, context) {
|
|
18918
|
+
return {
|
|
18919
|
+
FilePaths: output.FilePaths !== undefined && output.FilePaths !== null
|
|
18920
|
+
? deserializeAws_restJson1FilePathList(output.FilePaths, context)
|
|
18921
|
+
: undefined,
|
|
18922
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
18923
|
+
Name: __expectString(output.Name),
|
|
18924
|
+
Severity: __expectString(output.Severity),
|
|
18925
|
+
};
|
|
18926
|
+
};
|
|
17806
18927
|
var deserializeAws_restJson1ThreatIntelIndicator = function (output, context) {
|
|
17807
18928
|
return {
|
|
17808
18929
|
Category: __expectString(output.Category),
|
|
@@ -17824,6 +18945,17 @@ var deserializeAws_restJson1ThreatIntelIndicatorList = function (output, context
|
|
|
17824
18945
|
});
|
|
17825
18946
|
return retVal;
|
|
17826
18947
|
};
|
|
18948
|
+
var deserializeAws_restJson1ThreatList = function (output, context) {
|
|
18949
|
+
var retVal = (output || [])
|
|
18950
|
+
.filter(function (e) { return e != null; })
|
|
18951
|
+
.map(function (entry) {
|
|
18952
|
+
if (entry === null) {
|
|
18953
|
+
return null;
|
|
18954
|
+
}
|
|
18955
|
+
return deserializeAws_restJson1Threat(entry, context);
|
|
18956
|
+
});
|
|
18957
|
+
return retVal;
|
|
18958
|
+
};
|
|
17827
18959
|
var deserializeAws_restJson1TypeList = function (output, context) {
|
|
17828
18960
|
var retVal = (output || [])
|
|
17829
18961
|
.filter(function (e) { return e != null; })
|
|
@@ -17835,6 +18967,62 @@ var deserializeAws_restJson1TypeList = function (output, context) {
|
|
|
17835
18967
|
});
|
|
17836
18968
|
return retVal;
|
|
17837
18969
|
};
|
|
18970
|
+
var deserializeAws_restJson1VolumeMount = function (output, context) {
|
|
18971
|
+
return {
|
|
18972
|
+
MountPath: __expectString(output.MountPath),
|
|
18973
|
+
Name: __expectString(output.Name),
|
|
18974
|
+
};
|
|
18975
|
+
};
|
|
18976
|
+
var deserializeAws_restJson1VolumeMountList = function (output, context) {
|
|
18977
|
+
var retVal = (output || [])
|
|
18978
|
+
.filter(function (e) { return e != null; })
|
|
18979
|
+
.map(function (entry) {
|
|
18980
|
+
if (entry === null) {
|
|
18981
|
+
return null;
|
|
18982
|
+
}
|
|
18983
|
+
return deserializeAws_restJson1VolumeMount(entry, context);
|
|
18984
|
+
});
|
|
18985
|
+
return retVal;
|
|
18986
|
+
};
|
|
18987
|
+
var deserializeAws_restJson1VpcInfoCidrBlockSetDetails = function (output, context) {
|
|
18988
|
+
return {
|
|
18989
|
+
CidrBlock: __expectString(output.CidrBlock),
|
|
18990
|
+
};
|
|
18991
|
+
};
|
|
18992
|
+
var deserializeAws_restJson1VpcInfoCidrBlockSetList = function (output, context) {
|
|
18993
|
+
var retVal = (output || [])
|
|
18994
|
+
.filter(function (e) { return e != null; })
|
|
18995
|
+
.map(function (entry) {
|
|
18996
|
+
if (entry === null) {
|
|
18997
|
+
return null;
|
|
18998
|
+
}
|
|
18999
|
+
return deserializeAws_restJson1VpcInfoCidrBlockSetDetails(entry, context);
|
|
19000
|
+
});
|
|
19001
|
+
return retVal;
|
|
19002
|
+
};
|
|
19003
|
+
var deserializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails = function (output, context) {
|
|
19004
|
+
return {
|
|
19005
|
+
Ipv6CidrBlock: __expectString(output.Ipv6CidrBlock),
|
|
19006
|
+
};
|
|
19007
|
+
};
|
|
19008
|
+
var deserializeAws_restJson1VpcInfoIpv6CidrBlockSetList = function (output, context) {
|
|
19009
|
+
var retVal = (output || [])
|
|
19010
|
+
.filter(function (e) { return e != null; })
|
|
19011
|
+
.map(function (entry) {
|
|
19012
|
+
if (entry === null) {
|
|
19013
|
+
return null;
|
|
19014
|
+
}
|
|
19015
|
+
return deserializeAws_restJson1VpcInfoIpv6CidrBlockSetDetails(entry, context);
|
|
19016
|
+
});
|
|
19017
|
+
return retVal;
|
|
19018
|
+
};
|
|
19019
|
+
var deserializeAws_restJson1VpcInfoPeeringOptionsDetails = function (output, context) {
|
|
19020
|
+
return {
|
|
19021
|
+
AllowDnsResolutionFromRemoteVpc: __expectBoolean(output.AllowDnsResolutionFromRemoteVpc),
|
|
19022
|
+
AllowEgressFromLocalClassicLinkToRemoteVpc: __expectBoolean(output.AllowEgressFromLocalClassicLinkToRemoteVpc),
|
|
19023
|
+
AllowEgressFromLocalVpcToRemoteClassicLink: __expectBoolean(output.AllowEgressFromLocalVpcToRemoteClassicLink),
|
|
19024
|
+
};
|
|
19025
|
+
};
|
|
17838
19026
|
var deserializeAws_restJson1Vulnerability = function (output, context) {
|
|
17839
19027
|
return {
|
|
17840
19028
|
Cvss: output.Cvss !== undefined && output.Cvss !== null
|