@aws-sdk/client-dataexchange 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_restJson1.js +119 -180
- package/dist-es/protocols/Aws_restJson1.js +87 -148
- package/package.json +26 -26
|
@@ -45,8 +45,7 @@ export var serializeAws_restJson1CreateDataSetCommand = function (input, context
|
|
|
45
45
|
"content-type": "application/json",
|
|
46
46
|
};
|
|
47
47
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/data-sets";
|
|
48
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssetType
|
|
49
|
-
input.Tags !== null && { Tags: serializeAws_restJson1MapOf__string(input.Tags, context) })));
|
|
48
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssetType != null && { AssetType: input.AssetType })), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_restJson1MapOf__string(input.Tags, context) })));
|
|
50
49
|
return [2, new __HttpRequest({
|
|
51
50
|
protocol: protocol,
|
|
52
51
|
hostname: hostname,
|
|
@@ -70,9 +69,7 @@ export var serializeAws_restJson1CreateEventActionCommand = function (input, con
|
|
|
70
69
|
"content-type": "application/json",
|
|
71
70
|
};
|
|
72
71
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/event-actions";
|
|
73
|
-
body = JSON.stringify(__assign(__assign({}, (input.Action
|
|
74
|
-
input.Action !== null && { Action: serializeAws_restJson1Action(input.Action, context) })), (input.Event !== undefined &&
|
|
75
|
-
input.Event !== null && { Event: serializeAws_restJson1Event(input.Event, context) })));
|
|
72
|
+
body = JSON.stringify(__assign(__assign({}, (input.Action != null && { Action: serializeAws_restJson1Action(input.Action, context) })), (input.Event != null && { Event: serializeAws_restJson1Event(input.Event, context) })));
|
|
76
73
|
return [2, new __HttpRequest({
|
|
77
74
|
protocol: protocol,
|
|
78
75
|
hostname: hostname,
|
|
@@ -96,8 +93,7 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
|
|
|
96
93
|
"content-type": "application/json",
|
|
97
94
|
};
|
|
98
95
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/jobs";
|
|
99
|
-
body = JSON.stringify(__assign(__assign({}, (input.Details
|
|
100
|
-
input.Details !== null && { Details: serializeAws_restJson1RequestDetails(input.Details, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })));
|
|
96
|
+
body = JSON.stringify(__assign(__assign({}, (input.Details != null && { Details: serializeAws_restJson1RequestDetails(input.Details, context) })), (input.Type != null && { Type: input.Type })));
|
|
101
97
|
return [2, new __HttpRequest({
|
|
102
98
|
protocol: protocol,
|
|
103
99
|
hostname: hostname,
|
|
@@ -131,8 +127,7 @@ export var serializeAws_restJson1CreateRevisionCommand = function (input, contex
|
|
|
131
127
|
else {
|
|
132
128
|
throw new Error("No value provided for input HTTP label: DataSetId.");
|
|
133
129
|
}
|
|
134
|
-
body = JSON.stringify(__assign(__assign({}, (input.Comment
|
|
135
|
-
input.Tags !== null && { Tags: serializeAws_restJson1MapOf__string(input.Tags, context) })));
|
|
130
|
+
body = JSON.stringify(__assign(__assign({}, (input.Comment != null && { Comment: input.Comment })), (input.Tags != null && { Tags: serializeAws_restJson1MapOf__string(input.Tags, context) })));
|
|
136
131
|
return [2, new __HttpRequest({
|
|
137
132
|
protocol: protocol,
|
|
138
133
|
hostname: hostname,
|
|
@@ -697,8 +692,7 @@ export var serializeAws_restJson1RevokeRevisionCommand = function (input, contex
|
|
|
697
692
|
else {
|
|
698
693
|
throw new Error("No value provided for input HTTP label: RevisionId.");
|
|
699
694
|
}
|
|
700
|
-
body = JSON.stringify(__assign({}, (input.RevocationComment
|
|
701
|
-
input.RevocationComment !== null && { RevocationComment: input.RevocationComment })));
|
|
695
|
+
body = JSON.stringify(__assign({}, (input.RevocationComment != null && { RevocationComment: input.RevocationComment })));
|
|
702
696
|
return [2, new __HttpRequest({
|
|
703
697
|
protocol: protocol,
|
|
704
698
|
hostname: hostname,
|
|
@@ -802,8 +796,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
802
796
|
else {
|
|
803
797
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
804
798
|
}
|
|
805
|
-
body = JSON.stringify(__assign({}, (input.Tags
|
|
806
|
-
input.Tags !== null && { tags: serializeAws_restJson1MapOf__string(input.Tags, context) })));
|
|
799
|
+
body = JSON.stringify(__assign({}, (input.Tags != null && { tags: serializeAws_restJson1MapOf__string(input.Tags, context) })));
|
|
807
800
|
return [2, new __HttpRequest({
|
|
808
801
|
protocol: protocol,
|
|
809
802
|
hostname: hostname,
|
|
@@ -891,7 +884,7 @@ export var serializeAws_restJson1UpdateAssetCommand = function (input, context)
|
|
|
891
884
|
else {
|
|
892
885
|
throw new Error("No value provided for input HTTP label: RevisionId.");
|
|
893
886
|
}
|
|
894
|
-
body = JSON.stringify(__assign({}, (input.Name
|
|
887
|
+
body = JSON.stringify(__assign({}, (input.Name != null && { Name: input.Name })));
|
|
895
888
|
return [2, new __HttpRequest({
|
|
896
889
|
protocol: protocol,
|
|
897
890
|
hostname: hostname,
|
|
@@ -925,7 +918,7 @@ export var serializeAws_restJson1UpdateDataSetCommand = function (input, context
|
|
|
925
918
|
else {
|
|
926
919
|
throw new Error("No value provided for input HTTP label: DataSetId.");
|
|
927
920
|
}
|
|
928
|
-
body = JSON.stringify(__assign(__assign({}, (input.Description
|
|
921
|
+
body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })));
|
|
929
922
|
return [2, new __HttpRequest({
|
|
930
923
|
protocol: protocol,
|
|
931
924
|
hostname: hostname,
|
|
@@ -959,8 +952,7 @@ export var serializeAws_restJson1UpdateEventActionCommand = function (input, con
|
|
|
959
952
|
else {
|
|
960
953
|
throw new Error("No value provided for input HTTP label: EventActionId.");
|
|
961
954
|
}
|
|
962
|
-
body = JSON.stringify(__assign({}, (input.Action
|
|
963
|
-
input.Action !== null && { Action: serializeAws_restJson1Action(input.Action, context) })));
|
|
955
|
+
body = JSON.stringify(__assign({}, (input.Action != null && { Action: serializeAws_restJson1Action(input.Action, context) })));
|
|
964
956
|
return [2, new __HttpRequest({
|
|
965
957
|
protocol: protocol,
|
|
966
958
|
hostname: hostname,
|
|
@@ -1005,7 +997,7 @@ export var serializeAws_restJson1UpdateRevisionCommand = function (input, contex
|
|
|
1005
997
|
else {
|
|
1006
998
|
throw new Error("No value provided for input HTTP label: RevisionId.");
|
|
1007
999
|
}
|
|
1008
|
-
body = JSON.stringify(__assign(__assign({}, (input.Comment
|
|
1000
|
+
body = JSON.stringify(__assign(__assign({}, (input.Comment != null && { Comment: input.Comment })), (input.Finalized != null && { Finalized: input.Finalized })));
|
|
1009
1001
|
return [2, new __HttpRequest({
|
|
1010
1002
|
protocol: protocol,
|
|
1011
1003
|
hostname: hostname,
|
|
@@ -3615,78 +3607,66 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
|
|
|
3615
3607
|
});
|
|
3616
3608
|
}); };
|
|
3617
3609
|
var serializeAws_restJson1Action = function (input, context) {
|
|
3618
|
-
return __assign({}, (input.ExportRevisionToS3
|
|
3619
|
-
input.ExportRevisionToS3 !== null && {
|
|
3610
|
+
return __assign({}, (input.ExportRevisionToS3 != null && {
|
|
3620
3611
|
ExportRevisionToS3: serializeAws_restJson1AutoExportRevisionToS3RequestDetails(input.ExportRevisionToS3, context),
|
|
3621
3612
|
}));
|
|
3622
3613
|
};
|
|
3623
3614
|
var serializeAws_restJson1AssetDestinationEntry = function (input, context) {
|
|
3624
|
-
return __assign(__assign(__assign({}, (input.AssetId
|
|
3615
|
+
return __assign(__assign(__assign({}, (input.AssetId != null && { AssetId: input.AssetId })), (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
|
|
3625
3616
|
};
|
|
3626
3617
|
var serializeAws_restJson1AssetSourceEntry = function (input, context) {
|
|
3627
|
-
return __assign(__assign({}, (input.Bucket
|
|
3618
|
+
return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
|
|
3628
3619
|
};
|
|
3629
3620
|
var serializeAws_restJson1AutoExportRevisionDestinationEntry = function (input, context) {
|
|
3630
|
-
return __assign(__assign({}, (input.Bucket
|
|
3621
|
+
return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.KeyPattern != null && { KeyPattern: input.KeyPattern }));
|
|
3631
3622
|
};
|
|
3632
3623
|
var serializeAws_restJson1AutoExportRevisionToS3RequestDetails = function (input, context) {
|
|
3633
|
-
return __assign(__assign({}, (input.Encryption
|
|
3634
|
-
input.Encryption !== null && {
|
|
3624
|
+
return __assign(__assign({}, (input.Encryption != null && {
|
|
3635
3625
|
Encryption: serializeAws_restJson1ExportServerSideEncryption(input.Encryption, context),
|
|
3636
|
-
})), (input.RevisionDestination
|
|
3637
|
-
input.RevisionDestination !== null && {
|
|
3626
|
+
})), (input.RevisionDestination != null && {
|
|
3638
3627
|
RevisionDestination: serializeAws_restJson1AutoExportRevisionDestinationEntry(input.RevisionDestination, context),
|
|
3639
3628
|
}));
|
|
3640
3629
|
};
|
|
3641
3630
|
var serializeAws_restJson1Event = function (input, context) {
|
|
3642
|
-
return __assign({}, (input.RevisionPublished
|
|
3643
|
-
input.RevisionPublished !== null && {
|
|
3631
|
+
return __assign({}, (input.RevisionPublished != null && {
|
|
3644
3632
|
RevisionPublished: serializeAws_restJson1RevisionPublished(input.RevisionPublished, context),
|
|
3645
3633
|
}));
|
|
3646
3634
|
};
|
|
3647
3635
|
var serializeAws_restJson1ExportAssetsToS3RequestDetails = function (input, context) {
|
|
3648
|
-
return __assign(__assign(__assign(__assign({}, (input.AssetDestinations
|
|
3649
|
-
input.AssetDestinations !== null && {
|
|
3636
|
+
return __assign(__assign(__assign(__assign({}, (input.AssetDestinations != null && {
|
|
3650
3637
|
AssetDestinations: serializeAws_restJson1ListOfAssetDestinationEntry(input.AssetDestinations, context),
|
|
3651
|
-
})), (input.DataSetId
|
|
3652
|
-
input.Encryption !== null && {
|
|
3638
|
+
})), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.Encryption != null && {
|
|
3653
3639
|
Encryption: serializeAws_restJson1ExportServerSideEncryption(input.Encryption, context),
|
|
3654
|
-
})), (input.RevisionId
|
|
3640
|
+
})), (input.RevisionId != null && { RevisionId: input.RevisionId }));
|
|
3655
3641
|
};
|
|
3656
3642
|
var serializeAws_restJson1ExportAssetToSignedUrlRequestDetails = function (input, context) {
|
|
3657
|
-
return __assign(__assign(__assign({}, (input.AssetId
|
|
3643
|
+
return __assign(__assign(__assign({}, (input.AssetId != null && { AssetId: input.AssetId })), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.RevisionId != null && { RevisionId: input.RevisionId }));
|
|
3658
3644
|
};
|
|
3659
3645
|
var serializeAws_restJson1ExportRevisionsToS3RequestDetails = function (input, context) {
|
|
3660
|
-
return __assign(__assign(__assign({}, (input.DataSetId
|
|
3661
|
-
input.Encryption !== null && {
|
|
3646
|
+
return __assign(__assign(__assign({}, (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.Encryption != null && {
|
|
3662
3647
|
Encryption: serializeAws_restJson1ExportServerSideEncryption(input.Encryption, context),
|
|
3663
|
-
})), (input.RevisionDestinations
|
|
3664
|
-
input.RevisionDestinations !== null && {
|
|
3648
|
+
})), (input.RevisionDestinations != null && {
|
|
3665
3649
|
RevisionDestinations: serializeAws_restJson1ListOfRevisionDestinationEntry(input.RevisionDestinations, context),
|
|
3666
3650
|
}));
|
|
3667
3651
|
};
|
|
3668
3652
|
var serializeAws_restJson1ExportServerSideEncryption = function (input, context) {
|
|
3669
|
-
return __assign(__assign({}, (input.KmsKeyArn
|
|
3653
|
+
return __assign(__assign({}, (input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn })), (input.Type != null && { Type: input.Type }));
|
|
3670
3654
|
};
|
|
3671
3655
|
var serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails = function (input, context) {
|
|
3672
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApiDescription
|
|
3673
|
-
input.ApiDescription !== null && { ApiDescription: input.ApiDescription })), (input.ApiId !== undefined && input.ApiId !== null && { ApiId: input.ApiId })), (input.ApiKey !== undefined && input.ApiKey !== null && { ApiKey: input.ApiKey })), (input.ApiName !== undefined && input.ApiName !== null && { ApiName: input.ApiName })), (input.ApiSpecificationMd5Hash !== undefined &&
|
|
3674
|
-
input.ApiSpecificationMd5Hash !== null && { ApiSpecificationMd5Hash: input.ApiSpecificationMd5Hash })), (input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId })), (input.ProtocolType !== undefined && input.ProtocolType !== null && { ProtocolType: input.ProtocolType })), (input.RevisionId !== undefined && input.RevisionId !== null && { RevisionId: input.RevisionId })), (input.Stage !== undefined && input.Stage !== null && { Stage: input.Stage }));
|
|
3656
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApiDescription != null && { ApiDescription: input.ApiDescription })), (input.ApiId != null && { ApiId: input.ApiId })), (input.ApiKey != null && { ApiKey: input.ApiKey })), (input.ApiName != null && { ApiName: input.ApiName })), (input.ApiSpecificationMd5Hash != null && { ApiSpecificationMd5Hash: input.ApiSpecificationMd5Hash })), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.ProtocolType != null && { ProtocolType: input.ProtocolType })), (input.RevisionId != null && { RevisionId: input.RevisionId })), (input.Stage != null && { Stage: input.Stage }));
|
|
3675
3657
|
};
|
|
3676
3658
|
var serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = function (input, context) {
|
|
3677
|
-
return __assign(__assign(__assign(__assign({}, (input.AssetName
|
|
3659
|
+
return __assign(__assign(__assign(__assign({}, (input.AssetName != null && { AssetName: input.AssetName })), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.Md5Hash != null && { Md5Hash: input.Md5Hash })), (input.RevisionId != null && { RevisionId: input.RevisionId }));
|
|
3678
3660
|
};
|
|
3679
3661
|
var serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails = function (input, context) {
|
|
3680
|
-
return __assign(__assign(__assign({}, (input.AssetSources
|
|
3681
|
-
input.AssetSources !== null && {
|
|
3662
|
+
return __assign(__assign(__assign({}, (input.AssetSources != null && {
|
|
3682
3663
|
AssetSources: serializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry(input.AssetSources, context),
|
|
3683
|
-
})), (input.DataSetId
|
|
3664
|
+
})), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.RevisionId != null && { RevisionId: input.RevisionId }));
|
|
3684
3665
|
};
|
|
3685
3666
|
var serializeAws_restJson1ImportAssetsFromS3RequestDetails = function (input, context) {
|
|
3686
|
-
return __assign(__assign(__assign({}, (input.AssetSources
|
|
3687
|
-
input.AssetSources !== null && {
|
|
3667
|
+
return __assign(__assign(__assign({}, (input.AssetSources != null && {
|
|
3688
3668
|
AssetSources: serializeAws_restJson1ListOfAssetSourceEntry(input.AssetSources, context),
|
|
3689
|
-
})), (input.DataSetId
|
|
3669
|
+
})), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.RevisionId != null && { RevisionId: input.RevisionId }));
|
|
3690
3670
|
};
|
|
3691
3671
|
var serializeAws_restJson1ListOfAssetDestinationEntry = function (input, context) {
|
|
3692
3672
|
return input
|
|
@@ -3739,41 +3719,34 @@ var serializeAws_restJson1MapOf__string = function (input, context) {
|
|
|
3739
3719
|
}, {});
|
|
3740
3720
|
};
|
|
3741
3721
|
var serializeAws_restJson1RedshiftDataShareAssetSourceEntry = function (input, context) {
|
|
3742
|
-
return __assign({}, (input.DataShareArn
|
|
3722
|
+
return __assign({}, (input.DataShareArn != null && { DataShareArn: input.DataShareArn }));
|
|
3743
3723
|
};
|
|
3744
3724
|
var serializeAws_restJson1RequestDetails = function (input, context) {
|
|
3745
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExportAssetToSignedUrl
|
|
3746
|
-
input.ExportAssetToSignedUrl !== null && {
|
|
3725
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExportAssetToSignedUrl != null && {
|
|
3747
3726
|
ExportAssetToSignedUrl: serializeAws_restJson1ExportAssetToSignedUrlRequestDetails(input.ExportAssetToSignedUrl, context),
|
|
3748
|
-
})), (input.ExportAssetsToS3
|
|
3749
|
-
input.ExportAssetsToS3 !== null && {
|
|
3727
|
+
})), (input.ExportAssetsToS3 != null && {
|
|
3750
3728
|
ExportAssetsToS3: serializeAws_restJson1ExportAssetsToS3RequestDetails(input.ExportAssetsToS3, context),
|
|
3751
|
-
})), (input.ExportRevisionsToS3
|
|
3752
|
-
input.ExportRevisionsToS3 !== null && {
|
|
3729
|
+
})), (input.ExportRevisionsToS3 != null && {
|
|
3753
3730
|
ExportRevisionsToS3: serializeAws_restJson1ExportRevisionsToS3RequestDetails(input.ExportRevisionsToS3, context),
|
|
3754
|
-
})), (input.ImportAssetFromApiGatewayApi
|
|
3755
|
-
input.ImportAssetFromApiGatewayApi !== null && {
|
|
3731
|
+
})), (input.ImportAssetFromApiGatewayApi != null && {
|
|
3756
3732
|
ImportAssetFromApiGatewayApi: serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails(input.ImportAssetFromApiGatewayApi, context),
|
|
3757
|
-
})), (input.ImportAssetFromSignedUrl
|
|
3758
|
-
input.ImportAssetFromSignedUrl !== null && {
|
|
3733
|
+
})), (input.ImportAssetFromSignedUrl != null && {
|
|
3759
3734
|
ImportAssetFromSignedUrl: serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
|
|
3760
|
-
})), (input.ImportAssetsFromRedshiftDataShares
|
|
3761
|
-
input.ImportAssetsFromRedshiftDataShares !== null && {
|
|
3735
|
+
})), (input.ImportAssetsFromRedshiftDataShares != null && {
|
|
3762
3736
|
ImportAssetsFromRedshiftDataShares: serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails(input.ImportAssetsFromRedshiftDataShares, context),
|
|
3763
|
-
})), (input.ImportAssetsFromS3
|
|
3764
|
-
input.ImportAssetsFromS3 !== null && {
|
|
3737
|
+
})), (input.ImportAssetsFromS3 != null && {
|
|
3765
3738
|
ImportAssetsFromS3: serializeAws_restJson1ImportAssetsFromS3RequestDetails(input.ImportAssetsFromS3, context),
|
|
3766
3739
|
}));
|
|
3767
3740
|
};
|
|
3768
3741
|
var serializeAws_restJson1RevisionDestinationEntry = function (input, context) {
|
|
3769
|
-
return __assign(__assign(__assign({}, (input.Bucket
|
|
3742
|
+
return __assign(__assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.KeyPattern != null && { KeyPattern: input.KeyPattern })), (input.RevisionId != null && { RevisionId: input.RevisionId }));
|
|
3770
3743
|
};
|
|
3771
3744
|
var serializeAws_restJson1RevisionPublished = function (input, context) {
|
|
3772
|
-
return __assign({}, (input.DataSetId
|
|
3745
|
+
return __assign({}, (input.DataSetId != null && { DataSetId: input.DataSetId }));
|
|
3773
3746
|
};
|
|
3774
3747
|
var deserializeAws_restJson1Action = function (output, context) {
|
|
3775
3748
|
return {
|
|
3776
|
-
ExportRevisionToS3: output.ExportRevisionToS3
|
|
3749
|
+
ExportRevisionToS3: output.ExportRevisionToS3 != null
|
|
3777
3750
|
? deserializeAws_restJson1AutoExportRevisionToS3RequestDetails(output.ExportRevisionToS3, context)
|
|
3778
3751
|
: undefined,
|
|
3779
3752
|
};
|
|
@@ -3786,7 +3759,7 @@ var deserializeAws_restJson1ApiGatewayApiAsset = function (output, context) {
|
|
|
3786
3759
|
ApiKey: __expectString(output.ApiKey),
|
|
3787
3760
|
ApiName: __expectString(output.ApiName),
|
|
3788
3761
|
ApiSpecificationDownloadUrl: __expectString(output.ApiSpecificationDownloadUrl),
|
|
3789
|
-
ApiSpecificationDownloadUrlExpiresAt: output.ApiSpecificationDownloadUrlExpiresAt
|
|
3762
|
+
ApiSpecificationDownloadUrlExpiresAt: output.ApiSpecificationDownloadUrlExpiresAt != null
|
|
3790
3763
|
? __expectNonNull(__parseRfc3339DateTime(output.ApiSpecificationDownloadUrlExpiresAt))
|
|
3791
3764
|
: undefined,
|
|
3792
3765
|
ProtocolType: __expectString(output.ProtocolType),
|
|
@@ -3802,13 +3775,13 @@ var deserializeAws_restJson1AssetDestinationEntry = function (output, context) {
|
|
|
3802
3775
|
};
|
|
3803
3776
|
var deserializeAws_restJson1AssetDetails = function (output, context) {
|
|
3804
3777
|
return {
|
|
3805
|
-
ApiGatewayApiAsset: output.ApiGatewayApiAsset
|
|
3778
|
+
ApiGatewayApiAsset: output.ApiGatewayApiAsset != null
|
|
3806
3779
|
? deserializeAws_restJson1ApiGatewayApiAsset(output.ApiGatewayApiAsset, context)
|
|
3807
3780
|
: undefined,
|
|
3808
|
-
RedshiftDataShareAsset: output.RedshiftDataShareAsset
|
|
3781
|
+
RedshiftDataShareAsset: output.RedshiftDataShareAsset != null
|
|
3809
3782
|
? deserializeAws_restJson1RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
|
|
3810
3783
|
: undefined,
|
|
3811
|
-
S3SnapshotAsset: output.S3SnapshotAsset
|
|
3784
|
+
S3SnapshotAsset: output.S3SnapshotAsset != null
|
|
3812
3785
|
? deserializeAws_restJson1S3SnapshotAsset(output.S3SnapshotAsset, context)
|
|
3813
3786
|
: undefined,
|
|
3814
3787
|
};
|
|
@@ -3816,21 +3789,15 @@ var deserializeAws_restJson1AssetDetails = function (output, context) {
|
|
|
3816
3789
|
var deserializeAws_restJson1AssetEntry = function (output, context) {
|
|
3817
3790
|
return {
|
|
3818
3791
|
Arn: __expectString(output.Arn),
|
|
3819
|
-
AssetDetails: output.AssetDetails
|
|
3820
|
-
? deserializeAws_restJson1AssetDetails(output.AssetDetails, context)
|
|
3821
|
-
: undefined,
|
|
3792
|
+
AssetDetails: output.AssetDetails != null ? deserializeAws_restJson1AssetDetails(output.AssetDetails, context) : undefined,
|
|
3822
3793
|
AssetType: __expectString(output.AssetType),
|
|
3823
|
-
CreatedAt: output.CreatedAt
|
|
3824
|
-
? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt))
|
|
3825
|
-
: undefined,
|
|
3794
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt)) : undefined,
|
|
3826
3795
|
DataSetId: __expectString(output.DataSetId),
|
|
3827
3796
|
Id: __expectString(output.Id),
|
|
3828
3797
|
Name: __expectString(output.Name),
|
|
3829
3798
|
RevisionId: __expectString(output.RevisionId),
|
|
3830
3799
|
SourceId: __expectString(output.SourceId),
|
|
3831
|
-
UpdatedAt: output.UpdatedAt
|
|
3832
|
-
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
3833
|
-
: undefined,
|
|
3800
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt)) : undefined,
|
|
3834
3801
|
};
|
|
3835
3802
|
};
|
|
3836
3803
|
var deserializeAws_restJson1AssetSourceEntry = function (output, context) {
|
|
@@ -3847,10 +3814,10 @@ var deserializeAws_restJson1AutoExportRevisionDestinationEntry = function (outpu
|
|
|
3847
3814
|
};
|
|
3848
3815
|
var deserializeAws_restJson1AutoExportRevisionToS3RequestDetails = function (output, context) {
|
|
3849
3816
|
return {
|
|
3850
|
-
Encryption: output.Encryption
|
|
3817
|
+
Encryption: output.Encryption != null
|
|
3851
3818
|
? deserializeAws_restJson1ExportServerSideEncryption(output.Encryption, context)
|
|
3852
3819
|
: undefined,
|
|
3853
|
-
RevisionDestination: output.RevisionDestination
|
|
3820
|
+
RevisionDestination: output.RevisionDestination != null
|
|
3854
3821
|
? deserializeAws_restJson1AutoExportRevisionDestinationEntry(output.RevisionDestination, context)
|
|
3855
3822
|
: undefined,
|
|
3856
3823
|
};
|
|
@@ -3859,65 +3826,50 @@ var deserializeAws_restJson1DataSetEntry = function (output, context) {
|
|
|
3859
3826
|
return {
|
|
3860
3827
|
Arn: __expectString(output.Arn),
|
|
3861
3828
|
AssetType: __expectString(output.AssetType),
|
|
3862
|
-
CreatedAt: output.CreatedAt
|
|
3863
|
-
? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt))
|
|
3864
|
-
: undefined,
|
|
3829
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt)) : undefined,
|
|
3865
3830
|
Description: __expectString(output.Description),
|
|
3866
3831
|
Id: __expectString(output.Id),
|
|
3867
3832
|
Name: __expectString(output.Name),
|
|
3868
3833
|
Origin: __expectString(output.Origin),
|
|
3869
|
-
OriginDetails: output.OriginDetails
|
|
3870
|
-
? deserializeAws_restJson1OriginDetails(output.OriginDetails, context)
|
|
3871
|
-
: undefined,
|
|
3834
|
+
OriginDetails: output.OriginDetails != null ? deserializeAws_restJson1OriginDetails(output.OriginDetails, context) : undefined,
|
|
3872
3835
|
SourceId: __expectString(output.SourceId),
|
|
3873
|
-
UpdatedAt: output.UpdatedAt
|
|
3874
|
-
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
3875
|
-
: undefined,
|
|
3836
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt)) : undefined,
|
|
3876
3837
|
};
|
|
3877
3838
|
};
|
|
3878
3839
|
var deserializeAws_restJson1Details = function (output, context) {
|
|
3879
3840
|
return {
|
|
3880
|
-
ImportAssetFromSignedUrlJobErrorDetails: output.ImportAssetFromSignedUrlJobErrorDetails
|
|
3881
|
-
output.ImportAssetFromSignedUrlJobErrorDetails !== null
|
|
3841
|
+
ImportAssetFromSignedUrlJobErrorDetails: output.ImportAssetFromSignedUrlJobErrorDetails != null
|
|
3882
3842
|
? deserializeAws_restJson1ImportAssetFromSignedUrlJobErrorDetails(output.ImportAssetFromSignedUrlJobErrorDetails, context)
|
|
3883
3843
|
: undefined,
|
|
3884
|
-
ImportAssetsFromS3JobErrorDetails: output.ImportAssetsFromS3JobErrorDetails
|
|
3844
|
+
ImportAssetsFromS3JobErrorDetails: output.ImportAssetsFromS3JobErrorDetails != null
|
|
3885
3845
|
? deserializeAws_restJson1ListOfAssetSourceEntry(output.ImportAssetsFromS3JobErrorDetails, context)
|
|
3886
3846
|
: undefined,
|
|
3887
3847
|
};
|
|
3888
3848
|
};
|
|
3889
3849
|
var deserializeAws_restJson1Event = function (output, context) {
|
|
3890
3850
|
return {
|
|
3891
|
-
RevisionPublished: output.RevisionPublished
|
|
3851
|
+
RevisionPublished: output.RevisionPublished != null
|
|
3892
3852
|
? deserializeAws_restJson1RevisionPublished(output.RevisionPublished, context)
|
|
3893
3853
|
: undefined,
|
|
3894
3854
|
};
|
|
3895
3855
|
};
|
|
3896
3856
|
var deserializeAws_restJson1EventActionEntry = function (output, context) {
|
|
3897
3857
|
return {
|
|
3898
|
-
Action: output.Action
|
|
3899
|
-
? deserializeAws_restJson1Action(output.Action, context)
|
|
3900
|
-
: undefined,
|
|
3858
|
+
Action: output.Action != null ? deserializeAws_restJson1Action(output.Action, context) : undefined,
|
|
3901
3859
|
Arn: __expectString(output.Arn),
|
|
3902
|
-
CreatedAt: output.CreatedAt
|
|
3903
|
-
|
|
3904
|
-
: undefined,
|
|
3905
|
-
Event: output.Event !== undefined && output.Event !== null
|
|
3906
|
-
? deserializeAws_restJson1Event(output.Event, context)
|
|
3907
|
-
: undefined,
|
|
3860
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt)) : undefined,
|
|
3861
|
+
Event: output.Event != null ? deserializeAws_restJson1Event(output.Event, context) : undefined,
|
|
3908
3862
|
Id: __expectString(output.Id),
|
|
3909
|
-
UpdatedAt: output.UpdatedAt
|
|
3910
|
-
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
3911
|
-
: undefined,
|
|
3863
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt)) : undefined,
|
|
3912
3864
|
};
|
|
3913
3865
|
};
|
|
3914
3866
|
var deserializeAws_restJson1ExportAssetsToS3ResponseDetails = function (output, context) {
|
|
3915
3867
|
return {
|
|
3916
|
-
AssetDestinations: output.AssetDestinations
|
|
3868
|
+
AssetDestinations: output.AssetDestinations != null
|
|
3917
3869
|
? deserializeAws_restJson1ListOfAssetDestinationEntry(output.AssetDestinations, context)
|
|
3918
3870
|
: undefined,
|
|
3919
3871
|
DataSetId: __expectString(output.DataSetId),
|
|
3920
|
-
Encryption: output.Encryption
|
|
3872
|
+
Encryption: output.Encryption != null
|
|
3921
3873
|
? deserializeAws_restJson1ExportServerSideEncryption(output.Encryption, context)
|
|
3922
3874
|
: undefined,
|
|
3923
3875
|
RevisionId: __expectString(output.RevisionId),
|
|
@@ -3929,7 +3881,7 @@ var deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails = function (ou
|
|
|
3929
3881
|
DataSetId: __expectString(output.DataSetId),
|
|
3930
3882
|
RevisionId: __expectString(output.RevisionId),
|
|
3931
3883
|
SignedUrl: __expectString(output.SignedUrl),
|
|
3932
|
-
SignedUrlExpiresAt: output.SignedUrlExpiresAt
|
|
3884
|
+
SignedUrlExpiresAt: output.SignedUrlExpiresAt != null
|
|
3933
3885
|
? __expectNonNull(__parseRfc3339DateTime(output.SignedUrlExpiresAt))
|
|
3934
3886
|
: undefined,
|
|
3935
3887
|
};
|
|
@@ -3937,11 +3889,11 @@ var deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails = function (ou
|
|
|
3937
3889
|
var deserializeAws_restJson1ExportRevisionsToS3ResponseDetails = function (output, context) {
|
|
3938
3890
|
return {
|
|
3939
3891
|
DataSetId: __expectString(output.DataSetId),
|
|
3940
|
-
Encryption: output.Encryption
|
|
3892
|
+
Encryption: output.Encryption != null
|
|
3941
3893
|
? deserializeAws_restJson1ExportServerSideEncryption(output.Encryption, context)
|
|
3942
3894
|
: undefined,
|
|
3943
3895
|
EventActionArn: __expectString(output.EventActionArn),
|
|
3944
|
-
RevisionDestinations: output.RevisionDestinations
|
|
3896
|
+
RevisionDestinations: output.RevisionDestinations != null
|
|
3945
3897
|
? deserializeAws_restJson1ListOfRevisionDestinationEntry(output.RevisionDestinations, context)
|
|
3946
3898
|
: undefined,
|
|
3947
3899
|
};
|
|
@@ -3960,7 +3912,7 @@ var deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails = functi
|
|
|
3960
3912
|
ApiName: __expectString(output.ApiName),
|
|
3961
3913
|
ApiSpecificationMd5Hash: __expectString(output.ApiSpecificationMd5Hash),
|
|
3962
3914
|
ApiSpecificationUploadUrl: __expectString(output.ApiSpecificationUploadUrl),
|
|
3963
|
-
ApiSpecificationUploadUrlExpiresAt: output.ApiSpecificationUploadUrlExpiresAt
|
|
3915
|
+
ApiSpecificationUploadUrlExpiresAt: output.ApiSpecificationUploadUrlExpiresAt != null
|
|
3964
3916
|
? __expectNonNull(__parseRfc3339DateTime(output.ApiSpecificationUploadUrlExpiresAt))
|
|
3965
3917
|
: undefined,
|
|
3966
3918
|
DataSetId: __expectString(output.DataSetId),
|
|
@@ -3981,14 +3933,14 @@ var deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = function (
|
|
|
3981
3933
|
Md5Hash: __expectString(output.Md5Hash),
|
|
3982
3934
|
RevisionId: __expectString(output.RevisionId),
|
|
3983
3935
|
SignedUrl: __expectString(output.SignedUrl),
|
|
3984
|
-
SignedUrlExpiresAt: output.SignedUrlExpiresAt
|
|
3936
|
+
SignedUrlExpiresAt: output.SignedUrlExpiresAt != null
|
|
3985
3937
|
? __expectNonNull(__parseRfc3339DateTime(output.SignedUrlExpiresAt))
|
|
3986
3938
|
: undefined,
|
|
3987
3939
|
};
|
|
3988
3940
|
};
|
|
3989
3941
|
var deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails = function (output, context) {
|
|
3990
3942
|
return {
|
|
3991
|
-
AssetSources: output.AssetSources
|
|
3943
|
+
AssetSources: output.AssetSources != null
|
|
3992
3944
|
? deserializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry(output.AssetSources, context)
|
|
3993
3945
|
: undefined,
|
|
3994
3946
|
DataSetId: __expectString(output.DataSetId),
|
|
@@ -3997,7 +3949,7 @@ var deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails =
|
|
|
3997
3949
|
};
|
|
3998
3950
|
var deserializeAws_restJson1ImportAssetsFromS3ResponseDetails = function (output, context) {
|
|
3999
3951
|
return {
|
|
4000
|
-
AssetSources: output.AssetSources
|
|
3952
|
+
AssetSources: output.AssetSources != null
|
|
4001
3953
|
? deserializeAws_restJson1ListOfAssetSourceEntry(output.AssetSources, context)
|
|
4002
3954
|
: undefined,
|
|
4003
3955
|
DataSetId: __expectString(output.DataSetId),
|
|
@@ -4007,29 +3959,19 @@ var deserializeAws_restJson1ImportAssetsFromS3ResponseDetails = function (output
|
|
|
4007
3959
|
var deserializeAws_restJson1JobEntry = function (output, context) {
|
|
4008
3960
|
return {
|
|
4009
3961
|
Arn: __expectString(output.Arn),
|
|
4010
|
-
CreatedAt: output.CreatedAt
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
Details: output.Details !== undefined && output.Details !== null
|
|
4014
|
-
? deserializeAws_restJson1ResponseDetails(output.Details, context)
|
|
4015
|
-
: undefined,
|
|
4016
|
-
Errors: output.Errors !== undefined && output.Errors !== null
|
|
4017
|
-
? deserializeAws_restJson1ListOfJobError(output.Errors, context)
|
|
4018
|
-
: undefined,
|
|
3962
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt)) : undefined,
|
|
3963
|
+
Details: output.Details != null ? deserializeAws_restJson1ResponseDetails(output.Details, context) : undefined,
|
|
3964
|
+
Errors: output.Errors != null ? deserializeAws_restJson1ListOfJobError(output.Errors, context) : undefined,
|
|
4019
3965
|
Id: __expectString(output.Id),
|
|
4020
3966
|
State: __expectString(output.State),
|
|
4021
3967
|
Type: __expectString(output.Type),
|
|
4022
|
-
UpdatedAt: output.UpdatedAt
|
|
4023
|
-
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
4024
|
-
: undefined,
|
|
3968
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt)) : undefined,
|
|
4025
3969
|
};
|
|
4026
3970
|
};
|
|
4027
3971
|
var deserializeAws_restJson1JobError = function (output, context) {
|
|
4028
3972
|
return {
|
|
4029
3973
|
Code: __expectString(output.Code),
|
|
4030
|
-
Details: output.Details
|
|
4031
|
-
? deserializeAws_restJson1Details(output.Details, context)
|
|
4032
|
-
: undefined,
|
|
3974
|
+
Details: output.Details != null ? deserializeAws_restJson1Details(output.Details, context) : undefined,
|
|
4033
3975
|
LimitName: __expectString(output.LimitName),
|
|
4034
3976
|
LimitValue: __limitedParseDouble(output.LimitValue),
|
|
4035
3977
|
Message: __expectString(output.Message),
|
|
@@ -4174,25 +4116,25 @@ var deserializeAws_restJson1RedshiftDataShareAssetSourceEntry = function (output
|
|
|
4174
4116
|
};
|
|
4175
4117
|
var deserializeAws_restJson1ResponseDetails = function (output, context) {
|
|
4176
4118
|
return {
|
|
4177
|
-
ExportAssetToSignedUrl: output.ExportAssetToSignedUrl
|
|
4119
|
+
ExportAssetToSignedUrl: output.ExportAssetToSignedUrl != null
|
|
4178
4120
|
? deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails(output.ExportAssetToSignedUrl, context)
|
|
4179
4121
|
: undefined,
|
|
4180
|
-
ExportAssetsToS3: output.ExportAssetsToS3
|
|
4122
|
+
ExportAssetsToS3: output.ExportAssetsToS3 != null
|
|
4181
4123
|
? deserializeAws_restJson1ExportAssetsToS3ResponseDetails(output.ExportAssetsToS3, context)
|
|
4182
4124
|
: undefined,
|
|
4183
|
-
ExportRevisionsToS3: output.ExportRevisionsToS3
|
|
4125
|
+
ExportRevisionsToS3: output.ExportRevisionsToS3 != null
|
|
4184
4126
|
? deserializeAws_restJson1ExportRevisionsToS3ResponseDetails(output.ExportRevisionsToS3, context)
|
|
4185
4127
|
: undefined,
|
|
4186
|
-
ImportAssetFromApiGatewayApi: output.ImportAssetFromApiGatewayApi
|
|
4128
|
+
ImportAssetFromApiGatewayApi: output.ImportAssetFromApiGatewayApi != null
|
|
4187
4129
|
? deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails(output.ImportAssetFromApiGatewayApi, context)
|
|
4188
4130
|
: undefined,
|
|
4189
|
-
ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl
|
|
4131
|
+
ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl != null
|
|
4190
4132
|
? deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
|
|
4191
4133
|
: undefined,
|
|
4192
|
-
ImportAssetsFromRedshiftDataShares: output.ImportAssetsFromRedshiftDataShares
|
|
4134
|
+
ImportAssetsFromRedshiftDataShares: output.ImportAssetsFromRedshiftDataShares != null
|
|
4193
4135
|
? deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails(output.ImportAssetsFromRedshiftDataShares, context)
|
|
4194
4136
|
: undefined,
|
|
4195
|
-
ImportAssetsFromS3: output.ImportAssetsFromS3
|
|
4137
|
+
ImportAssetsFromS3: output.ImportAssetsFromS3 != null
|
|
4196
4138
|
? deserializeAws_restJson1ImportAssetsFromS3ResponseDetails(output.ImportAssetsFromS3, context)
|
|
4197
4139
|
: undefined,
|
|
4198
4140
|
};
|
|
@@ -4208,21 +4150,15 @@ var deserializeAws_restJson1RevisionEntry = function (output, context) {
|
|
|
4208
4150
|
return {
|
|
4209
4151
|
Arn: __expectString(output.Arn),
|
|
4210
4152
|
Comment: __expectString(output.Comment),
|
|
4211
|
-
CreatedAt: output.CreatedAt
|
|
4212
|
-
? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt))
|
|
4213
|
-
: undefined,
|
|
4153
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedAt)) : undefined,
|
|
4214
4154
|
DataSetId: __expectString(output.DataSetId),
|
|
4215
4155
|
Finalized: __expectBoolean(output.Finalized),
|
|
4216
4156
|
Id: __expectString(output.Id),
|
|
4217
4157
|
RevocationComment: __expectString(output.RevocationComment),
|
|
4218
4158
|
Revoked: __expectBoolean(output.Revoked),
|
|
4219
|
-
RevokedAt: output.RevokedAt
|
|
4220
|
-
? __expectNonNull(__parseRfc3339DateTime(output.RevokedAt))
|
|
4221
|
-
: undefined,
|
|
4159
|
+
RevokedAt: output.RevokedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.RevokedAt)) : undefined,
|
|
4222
4160
|
SourceId: __expectString(output.SourceId),
|
|
4223
|
-
UpdatedAt: output.UpdatedAt
|
|
4224
|
-
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
4225
|
-
: undefined,
|
|
4161
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt)) : undefined,
|
|
4226
4162
|
};
|
|
4227
4163
|
};
|
|
4228
4164
|
var deserializeAws_restJson1RevisionPublished = function (output, context) {
|
|
@@ -4273,6 +4209,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4273
4209
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4274
4210
|
var sanitizeErrorCode = function (rawValue) {
|
|
4275
4211
|
var cleanValue = rawValue;
|
|
4212
|
+
if (typeof cleanValue === "number") {
|
|
4213
|
+
cleanValue = cleanValue.toString();
|
|
4214
|
+
}
|
|
4276
4215
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4277
4216
|
cleanValue = cleanValue.split(":")[0];
|
|
4278
4217
|
}
|