@aws-sdk/client-firehose 3.121.0 → 3.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +361 -570
- package/dist-es/protocols/Aws_json1_1.js +242 -451
- package/package.json +26 -26
|
@@ -918,60 +918,42 @@ var deserializeAws_json1_1ServiceUnavailableExceptionResponse = function (parsed
|
|
|
918
918
|
});
|
|
919
919
|
}); };
|
|
920
920
|
var serializeAws_json1_1AmazonopensearchserviceBufferingHints = function (input, context) {
|
|
921
|
-
return __assign(__assign({}, (input.IntervalInSeconds
|
|
922
|
-
input.IntervalInSeconds !== null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }));
|
|
921
|
+
return __assign(__assign({}, (input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }));
|
|
923
922
|
};
|
|
924
923
|
var serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration = function (input, context) {
|
|
925
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints
|
|
926
|
-
input.BufferingHints !== null && {
|
|
924
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints != null && {
|
|
927
925
|
BufferingHints: serializeAws_json1_1AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
928
|
-
})), (input.CloudWatchLoggingOptions
|
|
929
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
926
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
930
927
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
931
|
-
})), (input.ClusterEndpoint
|
|
932
|
-
input.ClusterEndpoint !== null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN !== undefined && input.DomainARN !== null && { DomainARN: input.DomainARN })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.IndexRotationPeriod !== undefined &&
|
|
933
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration !== undefined &&
|
|
934
|
-
input.ProcessingConfiguration !== null && {
|
|
928
|
+
})), (input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN != null && { DomainARN: input.DomainARN })), (input.IndexName != null && { IndexName: input.IndexName })), (input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration != null && {
|
|
935
929
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
936
|
-
})), (input.RetryOptions
|
|
937
|
-
input.RetryOptions !== null && {
|
|
930
|
+
})), (input.RetryOptions != null && {
|
|
938
931
|
RetryOptions: serializeAws_json1_1AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
939
|
-
})), (input.RoleARN
|
|
940
|
-
input.S3Configuration !== null && {
|
|
932
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Configuration != null && {
|
|
941
933
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
942
|
-
})), (input.TypeName
|
|
943
|
-
input.VpcConfiguration !== null && {
|
|
934
|
+
})), (input.TypeName != null && { TypeName: input.TypeName })), (input.VpcConfiguration != null && {
|
|
944
935
|
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
945
936
|
}));
|
|
946
937
|
};
|
|
947
938
|
var serializeAws_json1_1AmazonopensearchserviceDestinationUpdate = function (input, context) {
|
|
948
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints
|
|
949
|
-
input.BufferingHints !== null && {
|
|
939
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints != null && {
|
|
950
940
|
BufferingHints: serializeAws_json1_1AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
951
|
-
})), (input.CloudWatchLoggingOptions
|
|
952
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
941
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
953
942
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
954
|
-
})), (input.ClusterEndpoint
|
|
955
|
-
input.ClusterEndpoint !== null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN !== undefined && input.DomainARN !== null && { DomainARN: input.DomainARN })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.IndexRotationPeriod !== undefined &&
|
|
956
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration !== undefined &&
|
|
957
|
-
input.ProcessingConfiguration !== null && {
|
|
943
|
+
})), (input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN != null && { DomainARN: input.DomainARN })), (input.IndexName != null && { IndexName: input.IndexName })), (input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration != null && {
|
|
958
944
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
959
|
-
})), (input.RetryOptions
|
|
960
|
-
input.RetryOptions !== null && {
|
|
945
|
+
})), (input.RetryOptions != null && {
|
|
961
946
|
RetryOptions: serializeAws_json1_1AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
962
|
-
})), (input.RoleARN
|
|
963
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
|
|
947
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) })), (input.TypeName != null && { TypeName: input.TypeName }));
|
|
964
948
|
};
|
|
965
949
|
var serializeAws_json1_1AmazonopensearchserviceRetryOptions = function (input, context) {
|
|
966
|
-
return __assign({}, (input.DurationInSeconds
|
|
967
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }));
|
|
950
|
+
return __assign({}, (input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }));
|
|
968
951
|
};
|
|
969
952
|
var serializeAws_json1_1BufferingHints = function (input, context) {
|
|
970
|
-
return __assign(__assign({}, (input.IntervalInSeconds
|
|
971
|
-
input.IntervalInSeconds !== null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }));
|
|
953
|
+
return __assign(__assign({}, (input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }));
|
|
972
954
|
};
|
|
973
955
|
var serializeAws_json1_1CloudWatchLoggingOptions = function (input, context) {
|
|
974
|
-
return __assign(__assign(__assign({}, (input.Enabled
|
|
956
|
+
return __assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.LogGroupName != null && { LogGroupName: input.LogGroupName })), (input.LogStreamName != null && { LogStreamName: input.LogStreamName }));
|
|
975
957
|
};
|
|
976
958
|
var serializeAws_json1_1ColumnToJsonKeyMappings = function (input, context) {
|
|
977
959
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -984,201 +966,140 @@ var serializeAws_json1_1ColumnToJsonKeyMappings = function (input, context) {
|
|
|
984
966
|
}, {});
|
|
985
967
|
};
|
|
986
968
|
var serializeAws_json1_1CopyCommand = function (input, context) {
|
|
987
|
-
return __assign(__assign(__assign({}, (input.CopyOptions
|
|
988
|
-
input.DataTableColumns !== null && { DataTableColumns: input.DataTableColumns })), (input.DataTableName !== undefined && input.DataTableName !== null && { DataTableName: input.DataTableName }));
|
|
969
|
+
return __assign(__assign(__assign({}, (input.CopyOptions != null && { CopyOptions: input.CopyOptions })), (input.DataTableColumns != null && { DataTableColumns: input.DataTableColumns })), (input.DataTableName != null && { DataTableName: input.DataTableName }));
|
|
989
970
|
};
|
|
990
971
|
var serializeAws_json1_1CreateDeliveryStreamInput = function (input, context) {
|
|
991
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AmazonopensearchserviceDestinationConfiguration
|
|
992
|
-
input.AmazonopensearchserviceDestinationConfiguration !== null && {
|
|
972
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AmazonopensearchserviceDestinationConfiguration != null && {
|
|
993
973
|
AmazonopensearchserviceDestinationConfiguration: serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration(input.AmazonopensearchserviceDestinationConfiguration, context),
|
|
994
|
-
})), (input.DeliveryStreamEncryptionConfigurationInput
|
|
995
|
-
input.DeliveryStreamEncryptionConfigurationInput !== null && {
|
|
974
|
+
})), (input.DeliveryStreamEncryptionConfigurationInput != null && {
|
|
996
975
|
DeliveryStreamEncryptionConfigurationInput: serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
|
|
997
|
-
})), (input.DeliveryStreamName
|
|
998
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.DeliveryStreamType !== undefined &&
|
|
999
|
-
input.DeliveryStreamType !== null && { DeliveryStreamType: input.DeliveryStreamType })), (input.ElasticsearchDestinationConfiguration !== undefined &&
|
|
1000
|
-
input.ElasticsearchDestinationConfiguration !== null && {
|
|
976
|
+
})), (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType })), (input.ElasticsearchDestinationConfiguration != null && {
|
|
1001
977
|
ElasticsearchDestinationConfiguration: serializeAws_json1_1ElasticsearchDestinationConfiguration(input.ElasticsearchDestinationConfiguration, context),
|
|
1002
|
-
})), (input.ExtendedS3DestinationConfiguration
|
|
1003
|
-
input.ExtendedS3DestinationConfiguration !== null && {
|
|
978
|
+
})), (input.ExtendedS3DestinationConfiguration != null && {
|
|
1004
979
|
ExtendedS3DestinationConfiguration: serializeAws_json1_1ExtendedS3DestinationConfiguration(input.ExtendedS3DestinationConfiguration, context),
|
|
1005
|
-
})), (input.HttpEndpointDestinationConfiguration
|
|
1006
|
-
input.HttpEndpointDestinationConfiguration !== null && {
|
|
980
|
+
})), (input.HttpEndpointDestinationConfiguration != null && {
|
|
1007
981
|
HttpEndpointDestinationConfiguration: serializeAws_json1_1HttpEndpointDestinationConfiguration(input.HttpEndpointDestinationConfiguration, context),
|
|
1008
|
-
})), (input.KinesisStreamSourceConfiguration
|
|
1009
|
-
input.KinesisStreamSourceConfiguration !== null && {
|
|
982
|
+
})), (input.KinesisStreamSourceConfiguration != null && {
|
|
1010
983
|
KinesisStreamSourceConfiguration: serializeAws_json1_1KinesisStreamSourceConfiguration(input.KinesisStreamSourceConfiguration, context),
|
|
1011
|
-
})), (input.RedshiftDestinationConfiguration
|
|
1012
|
-
input.RedshiftDestinationConfiguration !== null && {
|
|
984
|
+
})), (input.RedshiftDestinationConfiguration != null && {
|
|
1013
985
|
RedshiftDestinationConfiguration: serializeAws_json1_1RedshiftDestinationConfiguration(input.RedshiftDestinationConfiguration, context),
|
|
1014
|
-
})), (input.S3DestinationConfiguration
|
|
1015
|
-
input.S3DestinationConfiguration !== null && {
|
|
986
|
+
})), (input.S3DestinationConfiguration != null && {
|
|
1016
987
|
S3DestinationConfiguration: serializeAws_json1_1S3DestinationConfiguration(input.S3DestinationConfiguration, context),
|
|
1017
|
-
})), (input.SplunkDestinationConfiguration
|
|
1018
|
-
input.SplunkDestinationConfiguration !== null && {
|
|
988
|
+
})), (input.SplunkDestinationConfiguration != null && {
|
|
1019
989
|
SplunkDestinationConfiguration: serializeAws_json1_1SplunkDestinationConfiguration(input.SplunkDestinationConfiguration, context),
|
|
1020
|
-
})), (input.Tags
|
|
1021
|
-
input.Tags !== null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }));
|
|
990
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }));
|
|
1022
991
|
};
|
|
1023
992
|
var serializeAws_json1_1DataFormatConversionConfiguration = function (input, context) {
|
|
1024
|
-
return __assign(__assign(__assign(__assign({}, (input.Enabled
|
|
1025
|
-
input.InputFormatConfiguration !== null && {
|
|
993
|
+
return __assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.InputFormatConfiguration != null && {
|
|
1026
994
|
InputFormatConfiguration: serializeAws_json1_1InputFormatConfiguration(input.InputFormatConfiguration, context),
|
|
1027
|
-
})), (input.OutputFormatConfiguration
|
|
1028
|
-
input.OutputFormatConfiguration !== null && {
|
|
995
|
+
})), (input.OutputFormatConfiguration != null && {
|
|
1029
996
|
OutputFormatConfiguration: serializeAws_json1_1OutputFormatConfiguration(input.OutputFormatConfiguration, context),
|
|
1030
|
-
})), (input.SchemaConfiguration
|
|
1031
|
-
input.SchemaConfiguration !== null && {
|
|
997
|
+
})), (input.SchemaConfiguration != null && {
|
|
1032
998
|
SchemaConfiguration: serializeAws_json1_1SchemaConfiguration(input.SchemaConfiguration, context),
|
|
1033
999
|
}));
|
|
1034
1000
|
};
|
|
1035
1001
|
var serializeAws_json1_1DeleteDeliveryStreamInput = function (input, context) {
|
|
1036
|
-
return __assign(__assign({}, (input.AllowForceDelete
|
|
1037
|
-
input.AllowForceDelete !== null && { AllowForceDelete: input.AllowForceDelete })), (input.DeliveryStreamName !== undefined &&
|
|
1038
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName }));
|
|
1002
|
+
return __assign(__assign({}, (input.AllowForceDelete != null && { AllowForceDelete: input.AllowForceDelete })), (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }));
|
|
1039
1003
|
};
|
|
1040
1004
|
var serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput = function (input, context) {
|
|
1041
|
-
return __assign(__assign({}, (input.KeyARN
|
|
1005
|
+
return __assign(__assign({}, (input.KeyARN != null && { KeyARN: input.KeyARN })), (input.KeyType != null && { KeyType: input.KeyType }));
|
|
1042
1006
|
};
|
|
1043
1007
|
var serializeAws_json1_1DescribeDeliveryStreamInput = function (input, context) {
|
|
1044
|
-
return __assign(__assign(__assign({}, (input.DeliveryStreamName
|
|
1045
|
-
|
|
1046
|
-
|
|
1008
|
+
return __assign(__assign(__assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.ExclusiveStartDestinationId != null && {
|
|
1009
|
+
ExclusiveStartDestinationId: input.ExclusiveStartDestinationId,
|
|
1010
|
+
})), (input.Limit != null && { Limit: input.Limit }));
|
|
1047
1011
|
};
|
|
1048
1012
|
var serializeAws_json1_1Deserializer = function (input, context) {
|
|
1049
|
-
return __assign(__assign({}, (input.HiveJsonSerDe
|
|
1050
|
-
input.HiveJsonSerDe !== null && {
|
|
1013
|
+
return __assign(__assign({}, (input.HiveJsonSerDe != null && {
|
|
1051
1014
|
HiveJsonSerDe: serializeAws_json1_1HiveJsonSerDe(input.HiveJsonSerDe, context),
|
|
1052
|
-
})), (input.OpenXJsonSerDe
|
|
1053
|
-
input.OpenXJsonSerDe !== null && {
|
|
1015
|
+
})), (input.OpenXJsonSerDe != null && {
|
|
1054
1016
|
OpenXJsonSerDe: serializeAws_json1_1OpenXJsonSerDe(input.OpenXJsonSerDe, context),
|
|
1055
1017
|
}));
|
|
1056
1018
|
};
|
|
1057
1019
|
var serializeAws_json1_1DynamicPartitioningConfiguration = function (input, context) {
|
|
1058
|
-
return __assign(__assign({}, (input.Enabled
|
|
1059
|
-
input.RetryOptions !== null && { RetryOptions: serializeAws_json1_1RetryOptions(input.RetryOptions, context) }));
|
|
1020
|
+
return __assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.RetryOptions != null && { RetryOptions: serializeAws_json1_1RetryOptions(input.RetryOptions, context) }));
|
|
1060
1021
|
};
|
|
1061
1022
|
var serializeAws_json1_1ElasticsearchBufferingHints = function (input, context) {
|
|
1062
|
-
return __assign(__assign({}, (input.IntervalInSeconds
|
|
1063
|
-
input.IntervalInSeconds !== null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }));
|
|
1023
|
+
return __assign(__assign({}, (input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }));
|
|
1064
1024
|
};
|
|
1065
1025
|
var serializeAws_json1_1ElasticsearchDestinationConfiguration = function (input, context) {
|
|
1066
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints
|
|
1067
|
-
input.BufferingHints !== null && {
|
|
1026
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints != null && {
|
|
1068
1027
|
BufferingHints: serializeAws_json1_1ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
1069
|
-
})), (input.CloudWatchLoggingOptions
|
|
1070
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1028
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1071
1029
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1072
|
-
})), (input.ClusterEndpoint
|
|
1073
|
-
input.ClusterEndpoint !== null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN !== undefined && input.DomainARN !== null && { DomainARN: input.DomainARN })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.IndexRotationPeriod !== undefined &&
|
|
1074
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration !== undefined &&
|
|
1075
|
-
input.ProcessingConfiguration !== null && {
|
|
1030
|
+
})), (input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN != null && { DomainARN: input.DomainARN })), (input.IndexName != null && { IndexName: input.IndexName })), (input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration != null && {
|
|
1076
1031
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1077
|
-
})), (input.RetryOptions
|
|
1078
|
-
input.RetryOptions !== null && {
|
|
1032
|
+
})), (input.RetryOptions != null && {
|
|
1079
1033
|
RetryOptions: serializeAws_json1_1ElasticsearchRetryOptions(input.RetryOptions, context),
|
|
1080
|
-
})), (input.RoleARN
|
|
1081
|
-
input.S3Configuration !== null && {
|
|
1034
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Configuration != null && {
|
|
1082
1035
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1083
|
-
})), (input.TypeName
|
|
1084
|
-
input.VpcConfiguration !== null && {
|
|
1036
|
+
})), (input.TypeName != null && { TypeName: input.TypeName })), (input.VpcConfiguration != null && {
|
|
1085
1037
|
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
1086
1038
|
}));
|
|
1087
1039
|
};
|
|
1088
1040
|
var serializeAws_json1_1ElasticsearchDestinationUpdate = function (input, context) {
|
|
1089
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints
|
|
1090
|
-
input.BufferingHints !== null && {
|
|
1041
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints != null && {
|
|
1091
1042
|
BufferingHints: serializeAws_json1_1ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
1092
|
-
})), (input.CloudWatchLoggingOptions
|
|
1093
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1043
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1094
1044
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1095
|
-
})), (input.ClusterEndpoint
|
|
1096
|
-
input.ClusterEndpoint !== null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN !== undefined && input.DomainARN !== null && { DomainARN: input.DomainARN })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.IndexRotationPeriod !== undefined &&
|
|
1097
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration !== undefined &&
|
|
1098
|
-
input.ProcessingConfiguration !== null && {
|
|
1045
|
+
})), (input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint })), (input.DomainARN != null && { DomainARN: input.DomainARN })), (input.IndexName != null && { IndexName: input.IndexName })), (input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod })), (input.ProcessingConfiguration != null && {
|
|
1099
1046
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1100
|
-
})), (input.RetryOptions
|
|
1101
|
-
input.RetryOptions !== null && {
|
|
1047
|
+
})), (input.RetryOptions != null && {
|
|
1102
1048
|
RetryOptions: serializeAws_json1_1ElasticsearchRetryOptions(input.RetryOptions, context),
|
|
1103
|
-
})), (input.RoleARN
|
|
1104
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) })), (input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }));
|
|
1049
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) })), (input.TypeName != null && { TypeName: input.TypeName }));
|
|
1105
1050
|
};
|
|
1106
1051
|
var serializeAws_json1_1ElasticsearchRetryOptions = function (input, context) {
|
|
1107
|
-
return __assign({}, (input.DurationInSeconds
|
|
1108
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1052
|
+
return __assign({}, (input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1109
1053
|
};
|
|
1110
1054
|
var serializeAws_json1_1EncryptionConfiguration = function (input, context) {
|
|
1111
|
-
return __assign(__assign({}, (input.KMSEncryptionConfig
|
|
1112
|
-
input.KMSEncryptionConfig !== null && {
|
|
1055
|
+
return __assign(__assign({}, (input.KMSEncryptionConfig != null && {
|
|
1113
1056
|
KMSEncryptionConfig: serializeAws_json1_1KMSEncryptionConfig(input.KMSEncryptionConfig, context),
|
|
1114
|
-
})), (input.NoEncryptionConfig
|
|
1115
|
-
input.NoEncryptionConfig !== null && { NoEncryptionConfig: input.NoEncryptionConfig }));
|
|
1057
|
+
})), (input.NoEncryptionConfig != null && { NoEncryptionConfig: input.NoEncryptionConfig }));
|
|
1116
1058
|
};
|
|
1117
1059
|
var serializeAws_json1_1ExtendedS3DestinationConfiguration = function (input, context) {
|
|
1118
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN
|
|
1119
|
-
input.BufferingHints !== null && {
|
|
1060
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.BufferingHints != null && {
|
|
1120
1061
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1121
|
-
})), (input.CloudWatchLoggingOptions
|
|
1122
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1062
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1123
1063
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1124
|
-
})), (input.CompressionFormat
|
|
1125
|
-
input.CompressionFormat !== null && { CompressionFormat: input.CompressionFormat })), (input.DataFormatConversionConfiguration !== undefined &&
|
|
1126
|
-
input.DataFormatConversionConfiguration !== null && {
|
|
1064
|
+
})), (input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat })), (input.DataFormatConversionConfiguration != null && {
|
|
1127
1065
|
DataFormatConversionConfiguration: serializeAws_json1_1DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
1128
|
-
})), (input.DynamicPartitioningConfiguration
|
|
1129
|
-
input.DynamicPartitioningConfiguration !== null && {
|
|
1066
|
+
})), (input.DynamicPartitioningConfiguration != null && {
|
|
1130
1067
|
DynamicPartitioningConfiguration: serializeAws_json1_1DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
1131
|
-
})), (input.EncryptionConfiguration
|
|
1132
|
-
input.EncryptionConfiguration !== null && {
|
|
1068
|
+
})), (input.EncryptionConfiguration != null && {
|
|
1133
1069
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1134
|
-
})), (input.ErrorOutputPrefix
|
|
1135
|
-
input.ErrorOutputPrefix !== null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix })), (input.ProcessingConfiguration !== undefined &&
|
|
1136
|
-
input.ProcessingConfiguration !== null && {
|
|
1070
|
+
})), (input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix != null && { Prefix: input.Prefix })), (input.ProcessingConfiguration != null && {
|
|
1137
1071
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1138
|
-
})), (input.RoleARN
|
|
1139
|
-
input.S3BackupConfiguration !== null && {
|
|
1072
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupConfiguration != null && {
|
|
1140
1073
|
S3BackupConfiguration: serializeAws_json1_1S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
1141
|
-
})), (input.S3BackupMode
|
|
1074
|
+
})), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }));
|
|
1142
1075
|
};
|
|
1143
1076
|
var serializeAws_json1_1ExtendedS3DestinationUpdate = function (input, context) {
|
|
1144
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN
|
|
1145
|
-
input.BufferingHints !== null && {
|
|
1077
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.BufferingHints != null && {
|
|
1146
1078
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1147
|
-
})), (input.CloudWatchLoggingOptions
|
|
1148
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1079
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1149
1080
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1150
|
-
})), (input.CompressionFormat
|
|
1151
|
-
input.CompressionFormat !== null && { CompressionFormat: input.CompressionFormat })), (input.DataFormatConversionConfiguration !== undefined &&
|
|
1152
|
-
input.DataFormatConversionConfiguration !== null && {
|
|
1081
|
+
})), (input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat })), (input.DataFormatConversionConfiguration != null && {
|
|
1153
1082
|
DataFormatConversionConfiguration: serializeAws_json1_1DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
1154
|
-
})), (input.DynamicPartitioningConfiguration
|
|
1155
|
-
input.DynamicPartitioningConfiguration !== null && {
|
|
1083
|
+
})), (input.DynamicPartitioningConfiguration != null && {
|
|
1156
1084
|
DynamicPartitioningConfiguration: serializeAws_json1_1DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
1157
|
-
})), (input.EncryptionConfiguration
|
|
1158
|
-
input.EncryptionConfiguration !== null && {
|
|
1085
|
+
})), (input.EncryptionConfiguration != null && {
|
|
1159
1086
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1160
|
-
})), (input.ErrorOutputPrefix
|
|
1161
|
-
input.ErrorOutputPrefix !== null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix })), (input.ProcessingConfiguration !== undefined &&
|
|
1162
|
-
input.ProcessingConfiguration !== null && {
|
|
1087
|
+
})), (input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix != null && { Prefix: input.Prefix })), (input.ProcessingConfiguration != null && {
|
|
1163
1088
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1164
|
-
})), (input.RoleARN
|
|
1165
|
-
input.S3BackupUpdate !== null && {
|
|
1089
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3BackupUpdate != null && {
|
|
1166
1090
|
S3BackupUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3BackupUpdate, context),
|
|
1167
1091
|
}));
|
|
1168
1092
|
};
|
|
1169
1093
|
var serializeAws_json1_1HiveJsonSerDe = function (input, context) {
|
|
1170
|
-
return __assign({}, (input.TimestampFormats
|
|
1171
|
-
input.TimestampFormats !== null && {
|
|
1094
|
+
return __assign({}, (input.TimestampFormats != null && {
|
|
1172
1095
|
TimestampFormats: serializeAws_json1_1ListOfNonEmptyStrings(input.TimestampFormats, context),
|
|
1173
1096
|
}));
|
|
1174
1097
|
};
|
|
1175
1098
|
var serializeAws_json1_1HttpEndpointBufferingHints = function (input, context) {
|
|
1176
|
-
return __assign(__assign({}, (input.IntervalInSeconds
|
|
1177
|
-
input.IntervalInSeconds !== null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }));
|
|
1099
|
+
return __assign(__assign({}, (input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds })), (input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }));
|
|
1178
1100
|
};
|
|
1179
1101
|
var serializeAws_json1_1HttpEndpointCommonAttribute = function (input, context) {
|
|
1180
|
-
return __assign(__assign({}, (input.AttributeName
|
|
1181
|
-
input.AttributeValue !== null && { AttributeValue: input.AttributeValue }));
|
|
1102
|
+
return __assign(__assign({}, (input.AttributeName != null && { AttributeName: input.AttributeName })), (input.AttributeValue != null && { AttributeValue: input.AttributeValue }));
|
|
1182
1103
|
};
|
|
1183
1104
|
var serializeAws_json1_1HttpEndpointCommonAttributesList = function (input, context) {
|
|
1184
1105
|
return input
|
|
@@ -1191,82 +1112,61 @@ var serializeAws_json1_1HttpEndpointCommonAttributesList = function (input, cont
|
|
|
1191
1112
|
});
|
|
1192
1113
|
};
|
|
1193
1114
|
var serializeAws_json1_1HttpEndpointConfiguration = function (input, context) {
|
|
1194
|
-
return __assign(__assign(__assign({}, (input.AccessKey
|
|
1115
|
+
return __assign(__assign(__assign({}, (input.AccessKey != null && { AccessKey: input.AccessKey })), (input.Name != null && { Name: input.Name })), (input.Url != null && { Url: input.Url }));
|
|
1195
1116
|
};
|
|
1196
1117
|
var serializeAws_json1_1HttpEndpointDestinationConfiguration = function (input, context) {
|
|
1197
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints
|
|
1198
|
-
input.BufferingHints !== null && {
|
|
1118
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints != null && {
|
|
1199
1119
|
BufferingHints: serializeAws_json1_1HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1200
|
-
})), (input.CloudWatchLoggingOptions
|
|
1201
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1120
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1202
1121
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1203
|
-
})), (input.EndpointConfiguration
|
|
1204
|
-
input.EndpointConfiguration !== null && {
|
|
1122
|
+
})), (input.EndpointConfiguration != null && {
|
|
1205
1123
|
EndpointConfiguration: serializeAws_json1_1HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1206
|
-
})), (input.ProcessingConfiguration
|
|
1207
|
-
input.ProcessingConfiguration !== null && {
|
|
1124
|
+
})), (input.ProcessingConfiguration != null && {
|
|
1208
1125
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1209
|
-
})), (input.RequestConfiguration
|
|
1210
|
-
input.RequestConfiguration !== null && {
|
|
1126
|
+
})), (input.RequestConfiguration != null && {
|
|
1211
1127
|
RequestConfiguration: serializeAws_json1_1HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1212
|
-
})), (input.RetryOptions
|
|
1213
|
-
input.RetryOptions !== null && {
|
|
1128
|
+
})), (input.RetryOptions != null && {
|
|
1214
1129
|
RetryOptions: serializeAws_json1_1HttpEndpointRetryOptions(input.RetryOptions, context),
|
|
1215
|
-
})), (input.RoleARN
|
|
1216
|
-
input.S3Configuration !== null && {
|
|
1130
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Configuration != null && {
|
|
1217
1131
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1218
1132
|
}));
|
|
1219
1133
|
};
|
|
1220
1134
|
var serializeAws_json1_1HttpEndpointDestinationUpdate = function (input, context) {
|
|
1221
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints
|
|
1222
|
-
input.BufferingHints !== null && {
|
|
1135
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BufferingHints != null && {
|
|
1223
1136
|
BufferingHints: serializeAws_json1_1HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1224
|
-
})), (input.CloudWatchLoggingOptions
|
|
1225
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1137
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1226
1138
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1227
|
-
})), (input.EndpointConfiguration
|
|
1228
|
-
input.EndpointConfiguration !== null && {
|
|
1139
|
+
})), (input.EndpointConfiguration != null && {
|
|
1229
1140
|
EndpointConfiguration: serializeAws_json1_1HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1230
|
-
})), (input.ProcessingConfiguration
|
|
1231
|
-
input.ProcessingConfiguration !== null && {
|
|
1141
|
+
})), (input.ProcessingConfiguration != null && {
|
|
1232
1142
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1233
|
-
})), (input.RequestConfiguration
|
|
1234
|
-
input.RequestConfiguration !== null && {
|
|
1143
|
+
})), (input.RequestConfiguration != null && {
|
|
1235
1144
|
RequestConfiguration: serializeAws_json1_1HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1236
|
-
})), (input.RetryOptions
|
|
1237
|
-
input.RetryOptions !== null && {
|
|
1145
|
+
})), (input.RetryOptions != null && {
|
|
1238
1146
|
RetryOptions: serializeAws_json1_1HttpEndpointRetryOptions(input.RetryOptions, context),
|
|
1239
|
-
})), (input.RoleARN
|
|
1240
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }));
|
|
1147
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }));
|
|
1241
1148
|
};
|
|
1242
1149
|
var serializeAws_json1_1HttpEndpointRequestConfiguration = function (input, context) {
|
|
1243
|
-
return __assign(__assign({}, (input.CommonAttributes
|
|
1244
|
-
input.CommonAttributes !== null && {
|
|
1150
|
+
return __assign(__assign({}, (input.CommonAttributes != null && {
|
|
1245
1151
|
CommonAttributes: serializeAws_json1_1HttpEndpointCommonAttributesList(input.CommonAttributes, context),
|
|
1246
|
-
})), (input.ContentEncoding
|
|
1247
|
-
input.ContentEncoding !== null && { ContentEncoding: input.ContentEncoding }));
|
|
1152
|
+
})), (input.ContentEncoding != null && { ContentEncoding: input.ContentEncoding }));
|
|
1248
1153
|
};
|
|
1249
1154
|
var serializeAws_json1_1HttpEndpointRetryOptions = function (input, context) {
|
|
1250
|
-
return __assign({}, (input.DurationInSeconds
|
|
1251
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1155
|
+
return __assign({}, (input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1252
1156
|
};
|
|
1253
1157
|
var serializeAws_json1_1InputFormatConfiguration = function (input, context) {
|
|
1254
|
-
return __assign({}, (input.Deserializer
|
|
1255
|
-
input.Deserializer !== null && { Deserializer: serializeAws_json1_1Deserializer(input.Deserializer, context) }));
|
|
1158
|
+
return __assign({}, (input.Deserializer != null && { Deserializer: serializeAws_json1_1Deserializer(input.Deserializer, context) }));
|
|
1256
1159
|
};
|
|
1257
1160
|
var serializeAws_json1_1KinesisStreamSourceConfiguration = function (input, context) {
|
|
1258
|
-
return __assign(__assign({}, (input.KinesisStreamARN
|
|
1259
|
-
input.KinesisStreamARN !== null && { KinesisStreamARN: input.KinesisStreamARN })), (input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }));
|
|
1161
|
+
return __assign(__assign({}, (input.KinesisStreamARN != null && { KinesisStreamARN: input.KinesisStreamARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1260
1162
|
};
|
|
1261
1163
|
var serializeAws_json1_1KMSEncryptionConfig = function (input, context) {
|
|
1262
|
-
return __assign({}, (input.AWSKMSKeyARN
|
|
1164
|
+
return __assign({}, (input.AWSKMSKeyARN != null && { AWSKMSKeyARN: input.AWSKMSKeyARN }));
|
|
1263
1165
|
};
|
|
1264
1166
|
var serializeAws_json1_1ListDeliveryStreamsInput = function (input, context) {
|
|
1265
|
-
return __assign(__assign(__assign({}, (input.DeliveryStreamType
|
|
1266
|
-
input.DeliveryStreamType !== null && { DeliveryStreamType: input.DeliveryStreamType })), (input.ExclusiveStartDeliveryStreamName !== undefined &&
|
|
1267
|
-
input.ExclusiveStartDeliveryStreamName !== null && {
|
|
1167
|
+
return __assign(__assign(__assign({}, (input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType })), (input.ExclusiveStartDeliveryStreamName != null && {
|
|
1268
1168
|
ExclusiveStartDeliveryStreamName: input.ExclusiveStartDeliveryStreamName,
|
|
1269
|
-
})), (input.Limit
|
|
1169
|
+
})), (input.Limit != null && { Limit: input.Limit }));
|
|
1270
1170
|
};
|
|
1271
1171
|
var serializeAws_json1_1ListOfNonEmptyStrings = function (input, context) {
|
|
1272
1172
|
return input
|
|
@@ -1289,55 +1189,39 @@ var serializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace = function (input
|
|
|
1289
1189
|
});
|
|
1290
1190
|
};
|
|
1291
1191
|
var serializeAws_json1_1ListTagsForDeliveryStreamInput = function (input, context) {
|
|
1292
|
-
return __assign(__assign(__assign({}, (input.DeliveryStreamName
|
|
1293
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.ExclusiveStartTagKey !== undefined &&
|
|
1294
|
-
input.ExclusiveStartTagKey !== null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }));
|
|
1192
|
+
return __assign(__assign(__assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.ExclusiveStartTagKey != null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey })), (input.Limit != null && { Limit: input.Limit }));
|
|
1295
1193
|
};
|
|
1296
1194
|
var serializeAws_json1_1OpenXJsonSerDe = function (input, context) {
|
|
1297
|
-
return __assign(__assign(__assign({}, (input.CaseInsensitive
|
|
1298
|
-
input.CaseInsensitive !== null && { CaseInsensitive: input.CaseInsensitive })), (input.ColumnToJsonKeyMappings !== undefined &&
|
|
1299
|
-
input.ColumnToJsonKeyMappings !== null && {
|
|
1195
|
+
return __assign(__assign(__assign({}, (input.CaseInsensitive != null && { CaseInsensitive: input.CaseInsensitive })), (input.ColumnToJsonKeyMappings != null && {
|
|
1300
1196
|
ColumnToJsonKeyMappings: serializeAws_json1_1ColumnToJsonKeyMappings(input.ColumnToJsonKeyMappings, context),
|
|
1301
|
-
})), (input.ConvertDotsInJsonKeysToUnderscores
|
|
1302
|
-
input.ConvertDotsInJsonKeysToUnderscores !== null && {
|
|
1197
|
+
})), (input.ConvertDotsInJsonKeysToUnderscores != null && {
|
|
1303
1198
|
ConvertDotsInJsonKeysToUnderscores: input.ConvertDotsInJsonKeysToUnderscores,
|
|
1304
1199
|
}));
|
|
1305
1200
|
};
|
|
1306
1201
|
var serializeAws_json1_1OrcSerDe = function (input, context) {
|
|
1307
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlockSizeBytes
|
|
1308
|
-
input.BlockSizeBytes !== null && { BlockSizeBytes: input.BlockSizeBytes })), (input.BloomFilterColumns !== undefined &&
|
|
1309
|
-
input.BloomFilterColumns !== null && {
|
|
1202
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes })), (input.BloomFilterColumns != null && {
|
|
1310
1203
|
BloomFilterColumns: serializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace(input.BloomFilterColumns, context),
|
|
1311
|
-
})), (input.BloomFilterFalsePositiveProbability
|
|
1312
|
-
input.BloomFilterFalsePositiveProbability !== null && {
|
|
1204
|
+
})), (input.BloomFilterFalsePositiveProbability != null && {
|
|
1313
1205
|
BloomFilterFalsePositiveProbability: __serializeFloat(input.BloomFilterFalsePositiveProbability),
|
|
1314
|
-
})), (input.Compression
|
|
1315
|
-
input.DictionaryKeyThreshold !== null && {
|
|
1206
|
+
})), (input.Compression != null && { Compression: input.Compression })), (input.DictionaryKeyThreshold != null && {
|
|
1316
1207
|
DictionaryKeyThreshold: __serializeFloat(input.DictionaryKeyThreshold),
|
|
1317
|
-
})), (input.EnablePadding
|
|
1318
|
-
input.PaddingTolerance !== null && { PaddingTolerance: __serializeFloat(input.PaddingTolerance) })), (input.RowIndexStride !== undefined &&
|
|
1319
|
-
input.RowIndexStride !== null && { RowIndexStride: input.RowIndexStride })), (input.StripeSizeBytes !== undefined &&
|
|
1320
|
-
input.StripeSizeBytes !== null && { StripeSizeBytes: input.StripeSizeBytes }));
|
|
1208
|
+
})), (input.EnablePadding != null && { EnablePadding: input.EnablePadding })), (input.FormatVersion != null && { FormatVersion: input.FormatVersion })), (input.PaddingTolerance != null && { PaddingTolerance: __serializeFloat(input.PaddingTolerance) })), (input.RowIndexStride != null && { RowIndexStride: input.RowIndexStride })), (input.StripeSizeBytes != null && { StripeSizeBytes: input.StripeSizeBytes }));
|
|
1321
1209
|
};
|
|
1322
1210
|
var serializeAws_json1_1OutputFormatConfiguration = function (input, context) {
|
|
1323
|
-
return __assign({}, (input.Serializer
|
|
1324
|
-
input.Serializer !== null && { Serializer: serializeAws_json1_1Serializer(input.Serializer, context) }));
|
|
1211
|
+
return __assign({}, (input.Serializer != null && { Serializer: serializeAws_json1_1Serializer(input.Serializer, context) }));
|
|
1325
1212
|
};
|
|
1326
1213
|
var serializeAws_json1_1ParquetSerDe = function (input, context) {
|
|
1327
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlockSizeBytes
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
input.MaxPaddingBytes !== null && { MaxPaddingBytes: input.MaxPaddingBytes })), (input.PageSizeBytes !== undefined && input.PageSizeBytes !== null && { PageSizeBytes: input.PageSizeBytes })), (input.WriterVersion !== undefined && input.WriterVersion !== null && { WriterVersion: input.WriterVersion }));
|
|
1214
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes })), (input.Compression != null && { Compression: input.Compression })), (input.EnableDictionaryCompression != null && {
|
|
1215
|
+
EnableDictionaryCompression: input.EnableDictionaryCompression,
|
|
1216
|
+
})), (input.MaxPaddingBytes != null && { MaxPaddingBytes: input.MaxPaddingBytes })), (input.PageSizeBytes != null && { PageSizeBytes: input.PageSizeBytes })), (input.WriterVersion != null && { WriterVersion: input.WriterVersion }));
|
|
1331
1217
|
};
|
|
1332
1218
|
var serializeAws_json1_1ProcessingConfiguration = function (input, context) {
|
|
1333
|
-
return __assign(__assign({}, (input.Enabled
|
|
1334
|
-
input.Processors !== null && { Processors: serializeAws_json1_1ProcessorList(input.Processors, context) }));
|
|
1219
|
+
return __assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.Processors != null && { Processors: serializeAws_json1_1ProcessorList(input.Processors, context) }));
|
|
1335
1220
|
};
|
|
1336
1221
|
var serializeAws_json1_1Processor = function (input, context) {
|
|
1337
|
-
return __assign(__assign({}, (input.Parameters
|
|
1338
|
-
input.Parameters !== null && {
|
|
1222
|
+
return __assign(__assign({}, (input.Parameters != null && {
|
|
1339
1223
|
Parameters: serializeAws_json1_1ProcessorParameterList(input.Parameters, context),
|
|
1340
|
-
})), (input.Type
|
|
1224
|
+
})), (input.Type != null && { Type: input.Type }));
|
|
1341
1225
|
};
|
|
1342
1226
|
var serializeAws_json1_1ProcessorList = function (input, context) {
|
|
1343
1227
|
return input
|
|
@@ -1350,8 +1234,7 @@ var serializeAws_json1_1ProcessorList = function (input, context) {
|
|
|
1350
1234
|
});
|
|
1351
1235
|
};
|
|
1352
1236
|
var serializeAws_json1_1ProcessorParameter = function (input, context) {
|
|
1353
|
-
return __assign(__assign({}, (input.ParameterName
|
|
1354
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }));
|
|
1237
|
+
return __assign(__assign({}, (input.ParameterName != null && { ParameterName: input.ParameterName })), (input.ParameterValue != null && { ParameterValue: input.ParameterValue }));
|
|
1355
1238
|
};
|
|
1356
1239
|
var serializeAws_json1_1ProcessorParameterList = function (input, context) {
|
|
1357
1240
|
return input
|
|
@@ -1364,9 +1247,7 @@ var serializeAws_json1_1ProcessorParameterList = function (input, context) {
|
|
|
1364
1247
|
});
|
|
1365
1248
|
};
|
|
1366
1249
|
var serializeAws_json1_1PutRecordBatchInput = function (input, context) {
|
|
1367
|
-
return __assign(__assign({}, (input.DeliveryStreamName
|
|
1368
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.Records !== undefined &&
|
|
1369
|
-
input.Records !== null && {
|
|
1250
|
+
return __assign(__assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.Records != null && {
|
|
1370
1251
|
Records: serializeAws_json1_1PutRecordBatchRequestEntryList(input.Records, context),
|
|
1371
1252
|
}));
|
|
1372
1253
|
};
|
|
@@ -1381,89 +1262,61 @@ var serializeAws_json1_1PutRecordBatchRequestEntryList = function (input, contex
|
|
|
1381
1262
|
});
|
|
1382
1263
|
};
|
|
1383
1264
|
var serializeAws_json1_1PutRecordInput = function (input, context) {
|
|
1384
|
-
return __assign(__assign({}, (input.DeliveryStreamName
|
|
1385
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.Record !== undefined &&
|
|
1386
|
-
input.Record !== null && { Record: serializeAws_json1_1_Record(input.Record, context) }));
|
|
1265
|
+
return __assign(__assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.Record != null && { Record: serializeAws_json1_1_Record(input.Record, context) }));
|
|
1387
1266
|
};
|
|
1388
1267
|
var serializeAws_json1_1_Record = function (input, context) {
|
|
1389
|
-
return __assign({}, (input.Data
|
|
1268
|
+
return __assign({}, (input.Data != null && { Data: context.base64Encoder(input.Data) }));
|
|
1390
1269
|
};
|
|
1391
1270
|
var serializeAws_json1_1RedshiftDestinationConfiguration = function (input, context) {
|
|
1392
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions
|
|
1393
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1271
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions != null && {
|
|
1394
1272
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1395
|
-
})), (input.ClusterJDBCURL
|
|
1396
|
-
input.ClusterJDBCURL !== null && { ClusterJDBCURL: input.ClusterJDBCURL })), (input.CopyCommand !== undefined &&
|
|
1397
|
-
input.CopyCommand !== null && { CopyCommand: serializeAws_json1_1CopyCommand(input.CopyCommand, context) })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.ProcessingConfiguration !== undefined &&
|
|
1398
|
-
input.ProcessingConfiguration !== null && {
|
|
1273
|
+
})), (input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL })), (input.CopyCommand != null && { CopyCommand: serializeAws_json1_1CopyCommand(input.CopyCommand, context) })), (input.Password != null && { Password: input.Password })), (input.ProcessingConfiguration != null && {
|
|
1399
1274
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1400
|
-
})), (input.RetryOptions
|
|
1401
|
-
input.RetryOptions !== null && {
|
|
1275
|
+
})), (input.RetryOptions != null && {
|
|
1402
1276
|
RetryOptions: serializeAws_json1_1RedshiftRetryOptions(input.RetryOptions, context),
|
|
1403
|
-
})), (input.RoleARN
|
|
1404
|
-
input.S3BackupConfiguration !== null && {
|
|
1277
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupConfiguration != null && {
|
|
1405
1278
|
S3BackupConfiguration: serializeAws_json1_1S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
1406
|
-
})), (input.S3BackupMode
|
|
1407
|
-
input.S3Configuration !== null && {
|
|
1279
|
+
})), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Configuration != null && {
|
|
1408
1280
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1409
|
-
})), (input.Username
|
|
1281
|
+
})), (input.Username != null && { Username: input.Username }));
|
|
1410
1282
|
};
|
|
1411
1283
|
var serializeAws_json1_1RedshiftDestinationUpdate = function (input, context) {
|
|
1412
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions
|
|
1413
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1284
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions != null && {
|
|
1414
1285
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1415
|
-
})), (input.ClusterJDBCURL
|
|
1416
|
-
input.ClusterJDBCURL !== null && { ClusterJDBCURL: input.ClusterJDBCURL })), (input.CopyCommand !== undefined &&
|
|
1417
|
-
input.CopyCommand !== null && { CopyCommand: serializeAws_json1_1CopyCommand(input.CopyCommand, context) })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.ProcessingConfiguration !== undefined &&
|
|
1418
|
-
input.ProcessingConfiguration !== null && {
|
|
1286
|
+
})), (input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL })), (input.CopyCommand != null && { CopyCommand: serializeAws_json1_1CopyCommand(input.CopyCommand, context) })), (input.Password != null && { Password: input.Password })), (input.ProcessingConfiguration != null && {
|
|
1419
1287
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1420
|
-
})), (input.RetryOptions
|
|
1421
|
-
input.RetryOptions !== null && {
|
|
1288
|
+
})), (input.RetryOptions != null && {
|
|
1422
1289
|
RetryOptions: serializeAws_json1_1RedshiftRetryOptions(input.RetryOptions, context),
|
|
1423
|
-
})), (input.RoleARN
|
|
1424
|
-
input.S3BackupUpdate !== null && {
|
|
1290
|
+
})), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3BackupUpdate != null && {
|
|
1425
1291
|
S3BackupUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3BackupUpdate, context),
|
|
1426
|
-
})), (input.S3Update
|
|
1427
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
|
|
1292
|
+
})), (input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) })), (input.Username != null && { Username: input.Username }));
|
|
1428
1293
|
};
|
|
1429
1294
|
var serializeAws_json1_1RedshiftRetryOptions = function (input, context) {
|
|
1430
|
-
return __assign({}, (input.DurationInSeconds
|
|
1431
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1295
|
+
return __assign({}, (input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1432
1296
|
};
|
|
1433
1297
|
var serializeAws_json1_1RetryOptions = function (input, context) {
|
|
1434
|
-
return __assign({}, (input.DurationInSeconds
|
|
1435
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1298
|
+
return __assign({}, (input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1436
1299
|
};
|
|
1437
1300
|
var serializeAws_json1_1S3DestinationConfiguration = function (input, context) {
|
|
1438
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN
|
|
1439
|
-
input.BufferingHints !== null && {
|
|
1301
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.BufferingHints != null && {
|
|
1440
1302
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1441
|
-
})), (input.CloudWatchLoggingOptions
|
|
1442
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1303
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1443
1304
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1444
|
-
})), (input.CompressionFormat
|
|
1445
|
-
input.CompressionFormat !== null && { CompressionFormat: input.CompressionFormat })), (input.EncryptionConfiguration !== undefined &&
|
|
1446
|
-
input.EncryptionConfiguration !== null && {
|
|
1305
|
+
})), (input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat })), (input.EncryptionConfiguration != null && {
|
|
1447
1306
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1448
|
-
})), (input.ErrorOutputPrefix
|
|
1449
|
-
input.ErrorOutputPrefix !== null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix })), (input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }));
|
|
1307
|
+
})), (input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix != null && { Prefix: input.Prefix })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1450
1308
|
};
|
|
1451
1309
|
var serializeAws_json1_1S3DestinationUpdate = function (input, context) {
|
|
1452
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN
|
|
1453
|
-
input.BufferingHints !== null && {
|
|
1310
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.BufferingHints != null && {
|
|
1454
1311
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1455
|
-
})), (input.CloudWatchLoggingOptions
|
|
1456
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1312
|
+
})), (input.CloudWatchLoggingOptions != null && {
|
|
1457
1313
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1458
|
-
})), (input.CompressionFormat
|
|
1459
|
-
input.CompressionFormat !== null && { CompressionFormat: input.CompressionFormat })), (input.EncryptionConfiguration !== undefined &&
|
|
1460
|
-
input.EncryptionConfiguration !== null && {
|
|
1314
|
+
})), (input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat })), (input.EncryptionConfiguration != null && {
|
|
1461
1315
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1462
|
-
})), (input.ErrorOutputPrefix
|
|
1463
|
-
input.ErrorOutputPrefix !== null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix })), (input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }));
|
|
1316
|
+
})), (input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix })), (input.Prefix != null && { Prefix: input.Prefix })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1464
1317
|
};
|
|
1465
1318
|
var serializeAws_json1_1SchemaConfiguration = function (input, context) {
|
|
1466
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId
|
|
1319
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId != null && { CatalogId: input.CatalogId })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.Region != null && { Region: input.Region })), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.TableName != null && { TableName: input.TableName })), (input.VersionId != null && { VersionId: input.VersionId }));
|
|
1467
1320
|
};
|
|
1468
1321
|
var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
1469
1322
|
return input
|
|
@@ -1476,60 +1329,42 @@ var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
|
1476
1329
|
});
|
|
1477
1330
|
};
|
|
1478
1331
|
var serializeAws_json1_1Serializer = function (input, context) {
|
|
1479
|
-
return __assign(__assign({}, (input.OrcSerDe
|
|
1480
|
-
input.OrcSerDe !== null && { OrcSerDe: serializeAws_json1_1OrcSerDe(input.OrcSerDe, context) })), (input.ParquetSerDe !== undefined &&
|
|
1481
|
-
input.ParquetSerDe !== null && { ParquetSerDe: serializeAws_json1_1ParquetSerDe(input.ParquetSerDe, context) }));
|
|
1332
|
+
return __assign(__assign({}, (input.OrcSerDe != null && { OrcSerDe: serializeAws_json1_1OrcSerDe(input.OrcSerDe, context) })), (input.ParquetSerDe != null && { ParquetSerDe: serializeAws_json1_1ParquetSerDe(input.ParquetSerDe, context) }));
|
|
1482
1333
|
};
|
|
1483
1334
|
var serializeAws_json1_1SplunkDestinationConfiguration = function (input, context) {
|
|
1484
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions
|
|
1485
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1335
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions != null && {
|
|
1486
1336
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1487
|
-
})), (input.HECAcknowledgmentTimeoutInSeconds
|
|
1488
|
-
input.HECAcknowledgmentTimeoutInSeconds !== null && {
|
|
1337
|
+
})), (input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1489
1338
|
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
1490
|
-
})), (input.HECEndpoint
|
|
1491
|
-
input.HECEndpointType !== null && { HECEndpointType: input.HECEndpointType })), (input.HECToken !== undefined && input.HECToken !== null && { HECToken: input.HECToken })), (input.ProcessingConfiguration !== undefined &&
|
|
1492
|
-
input.ProcessingConfiguration !== null && {
|
|
1339
|
+
})), (input.HECEndpoint != null && { HECEndpoint: input.HECEndpoint })), (input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType })), (input.HECToken != null && { HECToken: input.HECToken })), (input.ProcessingConfiguration != null && {
|
|
1493
1340
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1494
|
-
})), (input.RetryOptions
|
|
1495
|
-
input.RetryOptions !== null && {
|
|
1341
|
+
})), (input.RetryOptions != null && {
|
|
1496
1342
|
RetryOptions: serializeAws_json1_1SplunkRetryOptions(input.RetryOptions, context),
|
|
1497
|
-
})), (input.S3BackupMode
|
|
1498
|
-
input.S3Configuration !== null && {
|
|
1343
|
+
})), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Configuration != null && {
|
|
1499
1344
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1500
1345
|
}));
|
|
1501
1346
|
};
|
|
1502
1347
|
var serializeAws_json1_1SplunkDestinationUpdate = function (input, context) {
|
|
1503
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions
|
|
1504
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1348
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLoggingOptions != null && {
|
|
1505
1349
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1506
|
-
})), (input.HECAcknowledgmentTimeoutInSeconds
|
|
1507
|
-
input.HECAcknowledgmentTimeoutInSeconds !== null && {
|
|
1350
|
+
})), (input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1508
1351
|
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
1509
|
-
})), (input.HECEndpoint
|
|
1510
|
-
input.HECEndpointType !== null && { HECEndpointType: input.HECEndpointType })), (input.HECToken !== undefined && input.HECToken !== null && { HECToken: input.HECToken })), (input.ProcessingConfiguration !== undefined &&
|
|
1511
|
-
input.ProcessingConfiguration !== null && {
|
|
1352
|
+
})), (input.HECEndpoint != null && { HECEndpoint: input.HECEndpoint })), (input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType })), (input.HECToken != null && { HECToken: input.HECToken })), (input.ProcessingConfiguration != null && {
|
|
1512
1353
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1513
|
-
})), (input.RetryOptions
|
|
1514
|
-
input.RetryOptions !== null && {
|
|
1354
|
+
})), (input.RetryOptions != null && {
|
|
1515
1355
|
RetryOptions: serializeAws_json1_1SplunkRetryOptions(input.RetryOptions, context),
|
|
1516
|
-
})), (input.S3BackupMode
|
|
1517
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }));
|
|
1356
|
+
})), (input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode })), (input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }));
|
|
1518
1357
|
};
|
|
1519
1358
|
var serializeAws_json1_1SplunkRetryOptions = function (input, context) {
|
|
1520
|
-
return __assign({}, (input.DurationInSeconds
|
|
1521
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1359
|
+
return __assign({}, (input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }));
|
|
1522
1360
|
};
|
|
1523
1361
|
var serializeAws_json1_1StartDeliveryStreamEncryptionInput = function (input, context) {
|
|
1524
|
-
return __assign(__assign({}, (input.DeliveryStreamEncryptionConfigurationInput
|
|
1525
|
-
input.DeliveryStreamEncryptionConfigurationInput !== null && {
|
|
1362
|
+
return __assign(__assign({}, (input.DeliveryStreamEncryptionConfigurationInput != null && {
|
|
1526
1363
|
DeliveryStreamEncryptionConfigurationInput: serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
|
|
1527
|
-
})), (input.DeliveryStreamName
|
|
1528
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName }));
|
|
1364
|
+
})), (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }));
|
|
1529
1365
|
};
|
|
1530
1366
|
var serializeAws_json1_1StopDeliveryStreamEncryptionInput = function (input, context) {
|
|
1531
|
-
return __assign({}, (input.DeliveryStreamName
|
|
1532
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName }));
|
|
1367
|
+
return __assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }));
|
|
1533
1368
|
};
|
|
1534
1369
|
var serializeAws_json1_1SubnetIdList = function (input, context) {
|
|
1535
1370
|
return input
|
|
@@ -1542,12 +1377,10 @@ var serializeAws_json1_1SubnetIdList = function (input, context) {
|
|
|
1542
1377
|
});
|
|
1543
1378
|
};
|
|
1544
1379
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
1545
|
-
return __assign(__assign({}, (input.Key
|
|
1380
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
1546
1381
|
};
|
|
1547
1382
|
var serializeAws_json1_1TagDeliveryStreamInput = function (input, context) {
|
|
1548
|
-
return __assign(__assign({}, (input.DeliveryStreamName
|
|
1549
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.Tags !== undefined &&
|
|
1550
|
-
input.Tags !== null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }));
|
|
1383
|
+
return __assign(__assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.Tags != null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }));
|
|
1551
1384
|
};
|
|
1552
1385
|
var serializeAws_json1_1TagDeliveryStreamInputTagList = function (input, context) {
|
|
1553
1386
|
return input
|
|
@@ -1570,44 +1403,31 @@ var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
|
1570
1403
|
});
|
|
1571
1404
|
};
|
|
1572
1405
|
var serializeAws_json1_1UntagDeliveryStreamInput = function (input, context) {
|
|
1573
|
-
return __assign(__assign({}, (input.DeliveryStreamName
|
|
1574
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.TagKeys !== undefined &&
|
|
1575
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
1406
|
+
return __assign(__assign({}, (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
1576
1407
|
};
|
|
1577
1408
|
var serializeAws_json1_1UpdateDestinationInput = function (input, context) {
|
|
1578
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AmazonopensearchserviceDestinationUpdate
|
|
1579
|
-
input.AmazonopensearchserviceDestinationUpdate !== null && {
|
|
1409
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AmazonopensearchserviceDestinationUpdate != null && {
|
|
1580
1410
|
AmazonopensearchserviceDestinationUpdate: serializeAws_json1_1AmazonopensearchserviceDestinationUpdate(input.AmazonopensearchserviceDestinationUpdate, context),
|
|
1581
|
-
})), (input.CurrentDeliveryStreamVersionId
|
|
1582
|
-
input.CurrentDeliveryStreamVersionId !== null && {
|
|
1411
|
+
})), (input.CurrentDeliveryStreamVersionId != null && {
|
|
1583
1412
|
CurrentDeliveryStreamVersionId: input.CurrentDeliveryStreamVersionId,
|
|
1584
|
-
})), (input.DeliveryStreamName
|
|
1585
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName })), (input.DestinationId !== undefined && input.DestinationId !== null && { DestinationId: input.DestinationId })), (input.ElasticsearchDestinationUpdate !== undefined &&
|
|
1586
|
-
input.ElasticsearchDestinationUpdate !== null && {
|
|
1413
|
+
})), (input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName })), (input.DestinationId != null && { DestinationId: input.DestinationId })), (input.ElasticsearchDestinationUpdate != null && {
|
|
1587
1414
|
ElasticsearchDestinationUpdate: serializeAws_json1_1ElasticsearchDestinationUpdate(input.ElasticsearchDestinationUpdate, context),
|
|
1588
|
-
})), (input.ExtendedS3DestinationUpdate
|
|
1589
|
-
input.ExtendedS3DestinationUpdate !== null && {
|
|
1415
|
+
})), (input.ExtendedS3DestinationUpdate != null && {
|
|
1590
1416
|
ExtendedS3DestinationUpdate: serializeAws_json1_1ExtendedS3DestinationUpdate(input.ExtendedS3DestinationUpdate, context),
|
|
1591
|
-
})), (input.HttpEndpointDestinationUpdate
|
|
1592
|
-
input.HttpEndpointDestinationUpdate !== null && {
|
|
1417
|
+
})), (input.HttpEndpointDestinationUpdate != null && {
|
|
1593
1418
|
HttpEndpointDestinationUpdate: serializeAws_json1_1HttpEndpointDestinationUpdate(input.HttpEndpointDestinationUpdate, context),
|
|
1594
|
-
})), (input.RedshiftDestinationUpdate
|
|
1595
|
-
input.RedshiftDestinationUpdate !== null && {
|
|
1419
|
+
})), (input.RedshiftDestinationUpdate != null && {
|
|
1596
1420
|
RedshiftDestinationUpdate: serializeAws_json1_1RedshiftDestinationUpdate(input.RedshiftDestinationUpdate, context),
|
|
1597
|
-
})), (input.S3DestinationUpdate
|
|
1598
|
-
input.S3DestinationUpdate !== null && {
|
|
1421
|
+
})), (input.S3DestinationUpdate != null && {
|
|
1599
1422
|
S3DestinationUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3DestinationUpdate, context),
|
|
1600
|
-
})), (input.SplunkDestinationUpdate
|
|
1601
|
-
input.SplunkDestinationUpdate !== null && {
|
|
1423
|
+
})), (input.SplunkDestinationUpdate != null && {
|
|
1602
1424
|
SplunkDestinationUpdate: serializeAws_json1_1SplunkDestinationUpdate(input.SplunkDestinationUpdate, context),
|
|
1603
1425
|
}));
|
|
1604
1426
|
};
|
|
1605
1427
|
var serializeAws_json1_1VpcConfiguration = function (input, context) {
|
|
1606
|
-
return __assign(__assign(__assign({}, (input.RoleARN
|
|
1607
|
-
input.SecurityGroupIds !== null && {
|
|
1428
|
+
return __assign(__assign(__assign({}, (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.SecurityGroupIds != null && {
|
|
1608
1429
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
1609
|
-
})), (input.SubnetIds
|
|
1610
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
1430
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
1611
1431
|
};
|
|
1612
1432
|
var deserializeAws_json1_1AmazonopensearchserviceBufferingHints = function (output, context) {
|
|
1613
1433
|
return {
|
|
@@ -1617,29 +1437,29 @@ var deserializeAws_json1_1AmazonopensearchserviceBufferingHints = function (outp
|
|
|
1617
1437
|
};
|
|
1618
1438
|
var deserializeAws_json1_1AmazonopensearchserviceDestinationDescription = function (output, context) {
|
|
1619
1439
|
return {
|
|
1620
|
-
BufferingHints: output.BufferingHints
|
|
1440
|
+
BufferingHints: output.BufferingHints != null
|
|
1621
1441
|
? deserializeAws_json1_1AmazonopensearchserviceBufferingHints(output.BufferingHints, context)
|
|
1622
1442
|
: undefined,
|
|
1623
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1443
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1624
1444
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1625
1445
|
: undefined,
|
|
1626
1446
|
ClusterEndpoint: __expectString(output.ClusterEndpoint),
|
|
1627
1447
|
DomainARN: __expectString(output.DomainARN),
|
|
1628
1448
|
IndexName: __expectString(output.IndexName),
|
|
1629
1449
|
IndexRotationPeriod: __expectString(output.IndexRotationPeriod),
|
|
1630
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1450
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1631
1451
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1632
1452
|
: undefined,
|
|
1633
|
-
RetryOptions: output.RetryOptions
|
|
1453
|
+
RetryOptions: output.RetryOptions != null
|
|
1634
1454
|
? deserializeAws_json1_1AmazonopensearchserviceRetryOptions(output.RetryOptions, context)
|
|
1635
1455
|
: undefined,
|
|
1636
1456
|
RoleARN: __expectString(output.RoleARN),
|
|
1637
1457
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1638
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1458
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1639
1459
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1640
1460
|
: undefined,
|
|
1641
1461
|
TypeName: __expectString(output.TypeName),
|
|
1642
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription
|
|
1462
|
+
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1643
1463
|
? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1644
1464
|
: undefined,
|
|
1645
1465
|
};
|
|
@@ -1692,13 +1512,13 @@ var deserializeAws_json1_1CreateDeliveryStreamOutput = function (output, context
|
|
|
1692
1512
|
var deserializeAws_json1_1DataFormatConversionConfiguration = function (output, context) {
|
|
1693
1513
|
return {
|
|
1694
1514
|
Enabled: __expectBoolean(output.Enabled),
|
|
1695
|
-
InputFormatConfiguration: output.InputFormatConfiguration
|
|
1515
|
+
InputFormatConfiguration: output.InputFormatConfiguration != null
|
|
1696
1516
|
? deserializeAws_json1_1InputFormatConfiguration(output.InputFormatConfiguration, context)
|
|
1697
1517
|
: undefined,
|
|
1698
|
-
OutputFormatConfiguration: output.OutputFormatConfiguration
|
|
1518
|
+
OutputFormatConfiguration: output.OutputFormatConfiguration != null
|
|
1699
1519
|
? deserializeAws_json1_1OutputFormatConfiguration(output.OutputFormatConfiguration, context)
|
|
1700
1520
|
: undefined,
|
|
1701
|
-
SchemaConfiguration: output.SchemaConfiguration
|
|
1521
|
+
SchemaConfiguration: output.SchemaConfiguration != null
|
|
1702
1522
|
? deserializeAws_json1_1SchemaConfiguration(output.SchemaConfiguration, context)
|
|
1703
1523
|
: undefined,
|
|
1704
1524
|
};
|
|
@@ -1708,36 +1528,33 @@ var deserializeAws_json1_1DeleteDeliveryStreamOutput = function (output, context
|
|
|
1708
1528
|
};
|
|
1709
1529
|
var deserializeAws_json1_1DeliveryStreamDescription = function (output, context) {
|
|
1710
1530
|
return {
|
|
1711
|
-
CreateTimestamp: output.CreateTimestamp
|
|
1531
|
+
CreateTimestamp: output.CreateTimestamp != null
|
|
1712
1532
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTimestamp)))
|
|
1713
1533
|
: undefined,
|
|
1714
1534
|
DeliveryStreamARN: __expectString(output.DeliveryStreamARN),
|
|
1715
|
-
DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration
|
|
1716
|
-
output.DeliveryStreamEncryptionConfiguration !== null
|
|
1535
|
+
DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration != null
|
|
1717
1536
|
? deserializeAws_json1_1DeliveryStreamEncryptionConfiguration(output.DeliveryStreamEncryptionConfiguration, context)
|
|
1718
1537
|
: undefined,
|
|
1719
1538
|
DeliveryStreamName: __expectString(output.DeliveryStreamName),
|
|
1720
1539
|
DeliveryStreamStatus: __expectString(output.DeliveryStreamStatus),
|
|
1721
1540
|
DeliveryStreamType: __expectString(output.DeliveryStreamType),
|
|
1722
|
-
Destinations: output.Destinations
|
|
1541
|
+
Destinations: output.Destinations != null
|
|
1723
1542
|
? deserializeAws_json1_1DestinationDescriptionList(output.Destinations, context)
|
|
1724
1543
|
: undefined,
|
|
1725
|
-
FailureDescription: output.FailureDescription
|
|
1544
|
+
FailureDescription: output.FailureDescription != null
|
|
1726
1545
|
? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
|
|
1727
1546
|
: undefined,
|
|
1728
1547
|
HasMoreDestinations: __expectBoolean(output.HasMoreDestinations),
|
|
1729
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp
|
|
1548
|
+
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1730
1549
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTimestamp)))
|
|
1731
1550
|
: undefined,
|
|
1732
|
-
Source: output.Source
|
|
1733
|
-
? deserializeAws_json1_1SourceDescription(output.Source, context)
|
|
1734
|
-
: undefined,
|
|
1551
|
+
Source: output.Source != null ? deserializeAws_json1_1SourceDescription(output.Source, context) : undefined,
|
|
1735
1552
|
VersionId: __expectString(output.VersionId),
|
|
1736
1553
|
};
|
|
1737
1554
|
};
|
|
1738
1555
|
var deserializeAws_json1_1DeliveryStreamEncryptionConfiguration = function (output, context) {
|
|
1739
1556
|
return {
|
|
1740
|
-
FailureDescription: output.FailureDescription
|
|
1557
|
+
FailureDescription: output.FailureDescription != null
|
|
1741
1558
|
? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
|
|
1742
1559
|
: undefined,
|
|
1743
1560
|
KeyARN: __expectString(output.KeyARN),
|
|
@@ -1758,44 +1575,39 @@ var deserializeAws_json1_1DeliveryStreamNameList = function (output, context) {
|
|
|
1758
1575
|
};
|
|
1759
1576
|
var deserializeAws_json1_1DescribeDeliveryStreamOutput = function (output, context) {
|
|
1760
1577
|
return {
|
|
1761
|
-
DeliveryStreamDescription: output.DeliveryStreamDescription
|
|
1578
|
+
DeliveryStreamDescription: output.DeliveryStreamDescription != null
|
|
1762
1579
|
? deserializeAws_json1_1DeliveryStreamDescription(output.DeliveryStreamDescription, context)
|
|
1763
1580
|
: undefined,
|
|
1764
1581
|
};
|
|
1765
1582
|
};
|
|
1766
1583
|
var deserializeAws_json1_1Deserializer = function (output, context) {
|
|
1767
1584
|
return {
|
|
1768
|
-
HiveJsonSerDe: output.HiveJsonSerDe
|
|
1769
|
-
|
|
1770
|
-
: undefined,
|
|
1771
|
-
OpenXJsonSerDe: output.OpenXJsonSerDe !== undefined && output.OpenXJsonSerDe !== null
|
|
1772
|
-
? deserializeAws_json1_1OpenXJsonSerDe(output.OpenXJsonSerDe, context)
|
|
1773
|
-
: undefined,
|
|
1585
|
+
HiveJsonSerDe: output.HiveJsonSerDe != null ? deserializeAws_json1_1HiveJsonSerDe(output.HiveJsonSerDe, context) : undefined,
|
|
1586
|
+
OpenXJsonSerDe: output.OpenXJsonSerDe != null ? deserializeAws_json1_1OpenXJsonSerDe(output.OpenXJsonSerDe, context) : undefined,
|
|
1774
1587
|
};
|
|
1775
1588
|
};
|
|
1776
1589
|
var deserializeAws_json1_1DestinationDescription = function (output, context) {
|
|
1777
1590
|
return {
|
|
1778
|
-
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription
|
|
1779
|
-
output.AmazonopensearchserviceDestinationDescription !== null
|
|
1591
|
+
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription != null
|
|
1780
1592
|
? deserializeAws_json1_1AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
|
|
1781
1593
|
: undefined,
|
|
1782
1594
|
DestinationId: __expectString(output.DestinationId),
|
|
1783
|
-
ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription
|
|
1595
|
+
ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription != null
|
|
1784
1596
|
? deserializeAws_json1_1ElasticsearchDestinationDescription(output.ElasticsearchDestinationDescription, context)
|
|
1785
1597
|
: undefined,
|
|
1786
|
-
ExtendedS3DestinationDescription: output.ExtendedS3DestinationDescription
|
|
1598
|
+
ExtendedS3DestinationDescription: output.ExtendedS3DestinationDescription != null
|
|
1787
1599
|
? deserializeAws_json1_1ExtendedS3DestinationDescription(output.ExtendedS3DestinationDescription, context)
|
|
1788
1600
|
: undefined,
|
|
1789
|
-
HttpEndpointDestinationDescription: output.HttpEndpointDestinationDescription
|
|
1601
|
+
HttpEndpointDestinationDescription: output.HttpEndpointDestinationDescription != null
|
|
1790
1602
|
? deserializeAws_json1_1HttpEndpointDestinationDescription(output.HttpEndpointDestinationDescription, context)
|
|
1791
1603
|
: undefined,
|
|
1792
|
-
RedshiftDestinationDescription: output.RedshiftDestinationDescription
|
|
1604
|
+
RedshiftDestinationDescription: output.RedshiftDestinationDescription != null
|
|
1793
1605
|
? deserializeAws_json1_1RedshiftDestinationDescription(output.RedshiftDestinationDescription, context)
|
|
1794
1606
|
: undefined,
|
|
1795
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1607
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1796
1608
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1797
1609
|
: undefined,
|
|
1798
|
-
SplunkDestinationDescription: output.SplunkDestinationDescription
|
|
1610
|
+
SplunkDestinationDescription: output.SplunkDestinationDescription != null
|
|
1799
1611
|
? deserializeAws_json1_1SplunkDestinationDescription(output.SplunkDestinationDescription, context)
|
|
1800
1612
|
: undefined,
|
|
1801
1613
|
};
|
|
@@ -1814,9 +1626,7 @@ var deserializeAws_json1_1DestinationDescriptionList = function (output, context
|
|
|
1814
1626
|
var deserializeAws_json1_1DynamicPartitioningConfiguration = function (output, context) {
|
|
1815
1627
|
return {
|
|
1816
1628
|
Enabled: __expectBoolean(output.Enabled),
|
|
1817
|
-
RetryOptions: output.RetryOptions
|
|
1818
|
-
? deserializeAws_json1_1RetryOptions(output.RetryOptions, context)
|
|
1819
|
-
: undefined,
|
|
1629
|
+
RetryOptions: output.RetryOptions != null ? deserializeAws_json1_1RetryOptions(output.RetryOptions, context) : undefined,
|
|
1820
1630
|
};
|
|
1821
1631
|
};
|
|
1822
1632
|
var deserializeAws_json1_1ElasticsearchBufferingHints = function (output, context) {
|
|
@@ -1827,29 +1637,29 @@ var deserializeAws_json1_1ElasticsearchBufferingHints = function (output, contex
|
|
|
1827
1637
|
};
|
|
1828
1638
|
var deserializeAws_json1_1ElasticsearchDestinationDescription = function (output, context) {
|
|
1829
1639
|
return {
|
|
1830
|
-
BufferingHints: output.BufferingHints
|
|
1640
|
+
BufferingHints: output.BufferingHints != null
|
|
1831
1641
|
? deserializeAws_json1_1ElasticsearchBufferingHints(output.BufferingHints, context)
|
|
1832
1642
|
: undefined,
|
|
1833
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1643
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1834
1644
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1835
1645
|
: undefined,
|
|
1836
1646
|
ClusterEndpoint: __expectString(output.ClusterEndpoint),
|
|
1837
1647
|
DomainARN: __expectString(output.DomainARN),
|
|
1838
1648
|
IndexName: __expectString(output.IndexName),
|
|
1839
1649
|
IndexRotationPeriod: __expectString(output.IndexRotationPeriod),
|
|
1840
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1650
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1841
1651
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1842
1652
|
: undefined,
|
|
1843
|
-
RetryOptions: output.RetryOptions
|
|
1653
|
+
RetryOptions: output.RetryOptions != null
|
|
1844
1654
|
? deserializeAws_json1_1ElasticsearchRetryOptions(output.RetryOptions, context)
|
|
1845
1655
|
: undefined,
|
|
1846
1656
|
RoleARN: __expectString(output.RoleARN),
|
|
1847
1657
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1848
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1658
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1849
1659
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1850
1660
|
: undefined,
|
|
1851
1661
|
TypeName: __expectString(output.TypeName),
|
|
1852
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription
|
|
1662
|
+
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1853
1663
|
? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1854
1664
|
: undefined,
|
|
1855
1665
|
};
|
|
@@ -1861,7 +1671,7 @@ var deserializeAws_json1_1ElasticsearchRetryOptions = function (output, context)
|
|
|
1861
1671
|
};
|
|
1862
1672
|
var deserializeAws_json1_1EncryptionConfiguration = function (output, context) {
|
|
1863
1673
|
return {
|
|
1864
|
-
KMSEncryptionConfig: output.KMSEncryptionConfig
|
|
1674
|
+
KMSEncryptionConfig: output.KMSEncryptionConfig != null
|
|
1865
1675
|
? deserializeAws_json1_1KMSEncryptionConfig(output.KMSEncryptionConfig, context)
|
|
1866
1676
|
: undefined,
|
|
1867
1677
|
NoEncryptionConfig: __expectString(output.NoEncryptionConfig),
|
|
@@ -1870,29 +1680,27 @@ var deserializeAws_json1_1EncryptionConfiguration = function (output, context) {
|
|
|
1870
1680
|
var deserializeAws_json1_1ExtendedS3DestinationDescription = function (output, context) {
|
|
1871
1681
|
return {
|
|
1872
1682
|
BucketARN: __expectString(output.BucketARN),
|
|
1873
|
-
BufferingHints: output.BufferingHints
|
|
1874
|
-
|
|
1875
|
-
: undefined,
|
|
1876
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
|
|
1683
|
+
BufferingHints: output.BufferingHints != null ? deserializeAws_json1_1BufferingHints(output.BufferingHints, context) : undefined,
|
|
1684
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1877
1685
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1878
1686
|
: undefined,
|
|
1879
1687
|
CompressionFormat: __expectString(output.CompressionFormat),
|
|
1880
|
-
DataFormatConversionConfiguration: output.DataFormatConversionConfiguration
|
|
1688
|
+
DataFormatConversionConfiguration: output.DataFormatConversionConfiguration != null
|
|
1881
1689
|
? deserializeAws_json1_1DataFormatConversionConfiguration(output.DataFormatConversionConfiguration, context)
|
|
1882
1690
|
: undefined,
|
|
1883
|
-
DynamicPartitioningConfiguration: output.DynamicPartitioningConfiguration
|
|
1691
|
+
DynamicPartitioningConfiguration: output.DynamicPartitioningConfiguration != null
|
|
1884
1692
|
? deserializeAws_json1_1DynamicPartitioningConfiguration(output.DynamicPartitioningConfiguration, context)
|
|
1885
1693
|
: undefined,
|
|
1886
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
1694
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
1887
1695
|
? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
1888
1696
|
: undefined,
|
|
1889
1697
|
ErrorOutputPrefix: __expectString(output.ErrorOutputPrefix),
|
|
1890
1698
|
Prefix: __expectString(output.Prefix),
|
|
1891
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1699
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1892
1700
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1893
1701
|
: undefined,
|
|
1894
1702
|
RoleARN: __expectString(output.RoleARN),
|
|
1895
|
-
S3BackupDescription: output.S3BackupDescription
|
|
1703
|
+
S3BackupDescription: output.S3BackupDescription != null
|
|
1896
1704
|
? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
|
|
1897
1705
|
: undefined,
|
|
1898
1706
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
@@ -1906,7 +1714,7 @@ var deserializeAws_json1_1FailureDescription = function (output, context) {
|
|
|
1906
1714
|
};
|
|
1907
1715
|
var deserializeAws_json1_1HiveJsonSerDe = function (output, context) {
|
|
1908
1716
|
return {
|
|
1909
|
-
TimestampFormats: output.TimestampFormats
|
|
1717
|
+
TimestampFormats: output.TimestampFormats != null
|
|
1910
1718
|
? deserializeAws_json1_1ListOfNonEmptyStrings(output.TimestampFormats, context)
|
|
1911
1719
|
: undefined,
|
|
1912
1720
|
};
|
|
@@ -1942,34 +1750,34 @@ var deserializeAws_json1_1HttpEndpointDescription = function (output, context) {
|
|
|
1942
1750
|
};
|
|
1943
1751
|
var deserializeAws_json1_1HttpEndpointDestinationDescription = function (output, context) {
|
|
1944
1752
|
return {
|
|
1945
|
-
BufferingHints: output.BufferingHints
|
|
1753
|
+
BufferingHints: output.BufferingHints != null
|
|
1946
1754
|
? deserializeAws_json1_1HttpEndpointBufferingHints(output.BufferingHints, context)
|
|
1947
1755
|
: undefined,
|
|
1948
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1756
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1949
1757
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1950
1758
|
: undefined,
|
|
1951
|
-
EndpointConfiguration: output.EndpointConfiguration
|
|
1759
|
+
EndpointConfiguration: output.EndpointConfiguration != null
|
|
1952
1760
|
? deserializeAws_json1_1HttpEndpointDescription(output.EndpointConfiguration, context)
|
|
1953
1761
|
: undefined,
|
|
1954
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1762
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1955
1763
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1956
1764
|
: undefined,
|
|
1957
|
-
RequestConfiguration: output.RequestConfiguration
|
|
1765
|
+
RequestConfiguration: output.RequestConfiguration != null
|
|
1958
1766
|
? deserializeAws_json1_1HttpEndpointRequestConfiguration(output.RequestConfiguration, context)
|
|
1959
1767
|
: undefined,
|
|
1960
|
-
RetryOptions: output.RetryOptions
|
|
1768
|
+
RetryOptions: output.RetryOptions != null
|
|
1961
1769
|
? deserializeAws_json1_1HttpEndpointRetryOptions(output.RetryOptions, context)
|
|
1962
1770
|
: undefined,
|
|
1963
1771
|
RoleARN: __expectString(output.RoleARN),
|
|
1964
1772
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1965
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1773
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1966
1774
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1967
1775
|
: undefined,
|
|
1968
1776
|
};
|
|
1969
1777
|
};
|
|
1970
1778
|
var deserializeAws_json1_1HttpEndpointRequestConfiguration = function (output, context) {
|
|
1971
1779
|
return {
|
|
1972
|
-
CommonAttributes: output.CommonAttributes
|
|
1780
|
+
CommonAttributes: output.CommonAttributes != null
|
|
1973
1781
|
? deserializeAws_json1_1HttpEndpointCommonAttributesList(output.CommonAttributes, context)
|
|
1974
1782
|
: undefined,
|
|
1975
1783
|
ContentEncoding: __expectString(output.ContentEncoding),
|
|
@@ -1982,9 +1790,7 @@ var deserializeAws_json1_1HttpEndpointRetryOptions = function (output, context)
|
|
|
1982
1790
|
};
|
|
1983
1791
|
var deserializeAws_json1_1InputFormatConfiguration = function (output, context) {
|
|
1984
1792
|
return {
|
|
1985
|
-
Deserializer: output.Deserializer
|
|
1986
|
-
? deserializeAws_json1_1Deserializer(output.Deserializer, context)
|
|
1987
|
-
: undefined,
|
|
1793
|
+
Deserializer: output.Deserializer != null ? deserializeAws_json1_1Deserializer(output.Deserializer, context) : undefined,
|
|
1988
1794
|
};
|
|
1989
1795
|
};
|
|
1990
1796
|
var deserializeAws_json1_1InvalidArgumentException = function (output, context) {
|
|
@@ -2000,7 +1806,7 @@ var deserializeAws_json1_1InvalidKMSResourceException = function (output, contex
|
|
|
2000
1806
|
};
|
|
2001
1807
|
var deserializeAws_json1_1KinesisStreamSourceDescription = function (output, context) {
|
|
2002
1808
|
return {
|
|
2003
|
-
DeliveryStartTimestamp: output.DeliveryStartTimestamp
|
|
1809
|
+
DeliveryStartTimestamp: output.DeliveryStartTimestamp != null
|
|
2004
1810
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeliveryStartTimestamp)))
|
|
2005
1811
|
: undefined,
|
|
2006
1812
|
KinesisStreamARN: __expectString(output.KinesisStreamARN),
|
|
@@ -2019,7 +1825,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
2019
1825
|
};
|
|
2020
1826
|
var deserializeAws_json1_1ListDeliveryStreamsOutput = function (output, context) {
|
|
2021
1827
|
return {
|
|
2022
|
-
DeliveryStreamNames: output.DeliveryStreamNames
|
|
1828
|
+
DeliveryStreamNames: output.DeliveryStreamNames != null
|
|
2023
1829
|
? deserializeAws_json1_1DeliveryStreamNameList(output.DeliveryStreamNames, context)
|
|
2024
1830
|
: undefined,
|
|
2025
1831
|
HasMoreDeliveryStreams: __expectBoolean(output.HasMoreDeliveryStreams),
|
|
@@ -2050,7 +1856,7 @@ var deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace = function (out
|
|
|
2050
1856
|
var deserializeAws_json1_1ListTagsForDeliveryStreamOutput = function (output, context) {
|
|
2051
1857
|
return {
|
|
2052
1858
|
HasMoreTags: __expectBoolean(output.HasMoreTags),
|
|
2053
|
-
Tags: output.Tags
|
|
1859
|
+
Tags: output.Tags != null
|
|
2054
1860
|
? deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList(output.Tags, context)
|
|
2055
1861
|
: undefined,
|
|
2056
1862
|
};
|
|
@@ -2069,7 +1875,7 @@ var deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList = function (out
|
|
|
2069
1875
|
var deserializeAws_json1_1OpenXJsonSerDe = function (output, context) {
|
|
2070
1876
|
return {
|
|
2071
1877
|
CaseInsensitive: __expectBoolean(output.CaseInsensitive),
|
|
2072
|
-
ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings
|
|
1878
|
+
ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings != null
|
|
2073
1879
|
? deserializeAws_json1_1ColumnToJsonKeyMappings(output.ColumnToJsonKeyMappings, context)
|
|
2074
1880
|
: undefined,
|
|
2075
1881
|
ConvertDotsInJsonKeysToUnderscores: __expectBoolean(output.ConvertDotsInJsonKeysToUnderscores),
|
|
@@ -2078,7 +1884,7 @@ var deserializeAws_json1_1OpenXJsonSerDe = function (output, context) {
|
|
|
2078
1884
|
var deserializeAws_json1_1OrcSerDe = function (output, context) {
|
|
2079
1885
|
return {
|
|
2080
1886
|
BlockSizeBytes: __expectInt32(output.BlockSizeBytes),
|
|
2081
|
-
BloomFilterColumns: output.BloomFilterColumns
|
|
1887
|
+
BloomFilterColumns: output.BloomFilterColumns != null
|
|
2082
1888
|
? deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace(output.BloomFilterColumns, context)
|
|
2083
1889
|
: undefined,
|
|
2084
1890
|
BloomFilterFalsePositiveProbability: __limitedParseDouble(output.BloomFilterFalsePositiveProbability),
|
|
@@ -2093,9 +1899,7 @@ var deserializeAws_json1_1OrcSerDe = function (output, context) {
|
|
|
2093
1899
|
};
|
|
2094
1900
|
var deserializeAws_json1_1OutputFormatConfiguration = function (output, context) {
|
|
2095
1901
|
return {
|
|
2096
|
-
Serializer: output.Serializer
|
|
2097
|
-
? deserializeAws_json1_1Serializer(output.Serializer, context)
|
|
2098
|
-
: undefined,
|
|
1902
|
+
Serializer: output.Serializer != null ? deserializeAws_json1_1Serializer(output.Serializer, context) : undefined,
|
|
2099
1903
|
};
|
|
2100
1904
|
};
|
|
2101
1905
|
var deserializeAws_json1_1ParquetSerDe = function (output, context) {
|
|
@@ -2111,16 +1915,12 @@ var deserializeAws_json1_1ParquetSerDe = function (output, context) {
|
|
|
2111
1915
|
var deserializeAws_json1_1ProcessingConfiguration = function (output, context) {
|
|
2112
1916
|
return {
|
|
2113
1917
|
Enabled: __expectBoolean(output.Enabled),
|
|
2114
|
-
Processors: output.Processors
|
|
2115
|
-
? deserializeAws_json1_1ProcessorList(output.Processors, context)
|
|
2116
|
-
: undefined,
|
|
1918
|
+
Processors: output.Processors != null ? deserializeAws_json1_1ProcessorList(output.Processors, context) : undefined,
|
|
2117
1919
|
};
|
|
2118
1920
|
};
|
|
2119
1921
|
var deserializeAws_json1_1Processor = function (output, context) {
|
|
2120
1922
|
return {
|
|
2121
|
-
Parameters: output.Parameters
|
|
2122
|
-
? deserializeAws_json1_1ProcessorParameterList(output.Parameters, context)
|
|
2123
|
-
: undefined,
|
|
1923
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ProcessorParameterList(output.Parameters, context) : undefined,
|
|
2124
1924
|
Type: __expectString(output.Type),
|
|
2125
1925
|
};
|
|
2126
1926
|
};
|
|
@@ -2156,7 +1956,7 @@ var deserializeAws_json1_1PutRecordBatchOutput = function (output, context) {
|
|
|
2156
1956
|
return {
|
|
2157
1957
|
Encrypted: __expectBoolean(output.Encrypted),
|
|
2158
1958
|
FailedPutCount: __expectInt32(output.FailedPutCount),
|
|
2159
|
-
RequestResponses: output.RequestResponses
|
|
1959
|
+
RequestResponses: output.RequestResponses != null
|
|
2160
1960
|
? deserializeAws_json1_1PutRecordBatchResponseEntryList(output.RequestResponses, context)
|
|
2161
1961
|
: undefined,
|
|
2162
1962
|
};
|
|
@@ -2187,25 +1987,23 @@ var deserializeAws_json1_1PutRecordOutput = function (output, context) {
|
|
|
2187
1987
|
};
|
|
2188
1988
|
var deserializeAws_json1_1RedshiftDestinationDescription = function (output, context) {
|
|
2189
1989
|
return {
|
|
2190
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1990
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2191
1991
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2192
1992
|
: undefined,
|
|
2193
1993
|
ClusterJDBCURL: __expectString(output.ClusterJDBCURL),
|
|
2194
|
-
CopyCommand: output.CopyCommand
|
|
2195
|
-
|
|
2196
|
-
: undefined,
|
|
2197
|
-
ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
|
|
1994
|
+
CopyCommand: output.CopyCommand != null ? deserializeAws_json1_1CopyCommand(output.CopyCommand, context) : undefined,
|
|
1995
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2198
1996
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2199
1997
|
: undefined,
|
|
2200
|
-
RetryOptions: output.RetryOptions
|
|
1998
|
+
RetryOptions: output.RetryOptions != null
|
|
2201
1999
|
? deserializeAws_json1_1RedshiftRetryOptions(output.RetryOptions, context)
|
|
2202
2000
|
: undefined,
|
|
2203
2001
|
RoleARN: __expectString(output.RoleARN),
|
|
2204
|
-
S3BackupDescription: output.S3BackupDescription
|
|
2002
|
+
S3BackupDescription: output.S3BackupDescription != null
|
|
2205
2003
|
? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
|
|
2206
2004
|
: undefined,
|
|
2207
2005
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
2208
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
2006
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2209
2007
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2210
2008
|
: undefined,
|
|
2211
2009
|
Username: __expectString(output.Username),
|
|
@@ -2234,14 +2032,12 @@ var deserializeAws_json1_1RetryOptions = function (output, context) {
|
|
|
2234
2032
|
var deserializeAws_json1_1S3DestinationDescription = function (output, context) {
|
|
2235
2033
|
return {
|
|
2236
2034
|
BucketARN: __expectString(output.BucketARN),
|
|
2237
|
-
BufferingHints: output.BufferingHints
|
|
2238
|
-
|
|
2239
|
-
: undefined,
|
|
2240
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
|
|
2035
|
+
BufferingHints: output.BufferingHints != null ? deserializeAws_json1_1BufferingHints(output.BufferingHints, context) : undefined,
|
|
2036
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2241
2037
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2242
2038
|
: undefined,
|
|
2243
2039
|
CompressionFormat: __expectString(output.CompressionFormat),
|
|
2244
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
2040
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2245
2041
|
? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2246
2042
|
: undefined,
|
|
2247
2043
|
ErrorOutputPrefix: __expectString(output.ErrorOutputPrefix),
|
|
@@ -2272,12 +2068,8 @@ var deserializeAws_json1_1SecurityGroupIdList = function (output, context) {
|
|
|
2272
2068
|
};
|
|
2273
2069
|
var deserializeAws_json1_1Serializer = function (output, context) {
|
|
2274
2070
|
return {
|
|
2275
|
-
OrcSerDe: output.OrcSerDe
|
|
2276
|
-
|
|
2277
|
-
: undefined,
|
|
2278
|
-
ParquetSerDe: output.ParquetSerDe !== undefined && output.ParquetSerDe !== null
|
|
2279
|
-
? deserializeAws_json1_1ParquetSerDe(output.ParquetSerDe, context)
|
|
2280
|
-
: undefined,
|
|
2071
|
+
OrcSerDe: output.OrcSerDe != null ? deserializeAws_json1_1OrcSerDe(output.OrcSerDe, context) : undefined,
|
|
2072
|
+
ParquetSerDe: output.ParquetSerDe != null ? deserializeAws_json1_1ParquetSerDe(output.ParquetSerDe, context) : undefined,
|
|
2281
2073
|
};
|
|
2282
2074
|
};
|
|
2283
2075
|
var deserializeAws_json1_1ServiceUnavailableException = function (output, context) {
|
|
@@ -2287,28 +2079,26 @@ var deserializeAws_json1_1ServiceUnavailableException = function (output, contex
|
|
|
2287
2079
|
};
|
|
2288
2080
|
var deserializeAws_json1_1SourceDescription = function (output, context) {
|
|
2289
2081
|
return {
|
|
2290
|
-
KinesisStreamSourceDescription: output.KinesisStreamSourceDescription
|
|
2082
|
+
KinesisStreamSourceDescription: output.KinesisStreamSourceDescription != null
|
|
2291
2083
|
? deserializeAws_json1_1KinesisStreamSourceDescription(output.KinesisStreamSourceDescription, context)
|
|
2292
2084
|
: undefined,
|
|
2293
2085
|
};
|
|
2294
2086
|
};
|
|
2295
2087
|
var deserializeAws_json1_1SplunkDestinationDescription = function (output, context) {
|
|
2296
2088
|
return {
|
|
2297
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
2089
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2298
2090
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2299
2091
|
: undefined,
|
|
2300
2092
|
HECAcknowledgmentTimeoutInSeconds: __expectInt32(output.HECAcknowledgmentTimeoutInSeconds),
|
|
2301
2093
|
HECEndpoint: __expectString(output.HECEndpoint),
|
|
2302
2094
|
HECEndpointType: __expectString(output.HECEndpointType),
|
|
2303
2095
|
HECToken: __expectString(output.HECToken),
|
|
2304
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
2096
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2305
2097
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2306
2098
|
: undefined,
|
|
2307
|
-
RetryOptions: output.RetryOptions
|
|
2308
|
-
? deserializeAws_json1_1SplunkRetryOptions(output.RetryOptions, context)
|
|
2309
|
-
: undefined,
|
|
2099
|
+
RetryOptions: output.RetryOptions != null ? deserializeAws_json1_1SplunkRetryOptions(output.RetryOptions, context) : undefined,
|
|
2310
2100
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
2311
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
2101
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2312
2102
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2313
2103
|
: undefined,
|
|
2314
2104
|
};
|
|
@@ -2353,12 +2143,10 @@ var deserializeAws_json1_1UpdateDestinationOutput = function (output, context) {
|
|
|
2353
2143
|
var deserializeAws_json1_1VpcConfigurationDescription = function (output, context) {
|
|
2354
2144
|
return {
|
|
2355
2145
|
RoleARN: __expectString(output.RoleARN),
|
|
2356
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
2146
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
2357
2147
|
? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
|
|
2358
2148
|
: undefined,
|
|
2359
|
-
SubnetIds: output.SubnetIds
|
|
2360
|
-
? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
|
|
2361
|
-
: undefined,
|
|
2149
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
2362
2150
|
VpcId: __expectString(output.VpcId),
|
|
2363
2151
|
};
|
|
2364
2152
|
};
|
|
@@ -2418,6 +2206,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2418
2206
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2419
2207
|
var sanitizeErrorCode = function (rawValue) {
|
|
2420
2208
|
var cleanValue = rawValue;
|
|
2209
|
+
if (typeof cleanValue === "number") {
|
|
2210
|
+
cleanValue = cleanValue.toString();
|
|
2211
|
+
}
|
|
2421
2212
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2422
2213
|
cleanValue = cleanValue.split(":")[0];
|
|
2423
2214
|
}
|