@aws-sdk/client-dataexchange 3.261.0 → 3.264.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.
|
@@ -689,7 +689,7 @@ const deserializeAws_restJson1CreateDataSetCommand = async (output, context) =>
|
|
|
689
689
|
contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
|
|
690
690
|
}
|
|
691
691
|
if (data.CreatedAt != null) {
|
|
692
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
692
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
693
693
|
}
|
|
694
694
|
if (data.Description != null) {
|
|
695
695
|
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
@@ -713,7 +713,7 @@ const deserializeAws_restJson1CreateDataSetCommand = async (output, context) =>
|
|
|
713
713
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
714
714
|
}
|
|
715
715
|
if (data.UpdatedAt != null) {
|
|
716
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
716
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
717
717
|
}
|
|
718
718
|
return contents;
|
|
719
719
|
};
|
|
@@ -765,7 +765,7 @@ const deserializeAws_restJson1CreateEventActionCommand = async (output, context)
|
|
|
765
765
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
766
766
|
}
|
|
767
767
|
if (data.CreatedAt != null) {
|
|
768
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
768
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
769
769
|
}
|
|
770
770
|
if (data.Event != null) {
|
|
771
771
|
contents.Event = deserializeAws_restJson1Event(data.Event, context);
|
|
@@ -774,7 +774,7 @@ const deserializeAws_restJson1CreateEventActionCommand = async (output, context)
|
|
|
774
774
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
775
775
|
}
|
|
776
776
|
if (data.UpdatedAt != null) {
|
|
777
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
777
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
778
778
|
}
|
|
779
779
|
return contents;
|
|
780
780
|
};
|
|
@@ -823,7 +823,7 @@ const deserializeAws_restJson1CreateJobCommand = async (output, context) => {
|
|
|
823
823
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
824
824
|
}
|
|
825
825
|
if (data.CreatedAt != null) {
|
|
826
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
826
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
827
827
|
}
|
|
828
828
|
if (data.Details != null) {
|
|
829
829
|
contents.Details = deserializeAws_restJson1ResponseDetails(data.Details, context);
|
|
@@ -841,7 +841,7 @@ const deserializeAws_restJson1CreateJobCommand = async (output, context) => {
|
|
|
841
841
|
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
842
842
|
}
|
|
843
843
|
if (data.UpdatedAt != null) {
|
|
844
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
844
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
845
845
|
}
|
|
846
846
|
return contents;
|
|
847
847
|
};
|
|
@@ -896,7 +896,7 @@ const deserializeAws_restJson1CreateRevisionCommand = async (output, context) =>
|
|
|
896
896
|
contents.Comment = (0, smithy_client_1.expectString)(data.Comment);
|
|
897
897
|
}
|
|
898
898
|
if (data.CreatedAt != null) {
|
|
899
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
899
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
900
900
|
}
|
|
901
901
|
if (data.DataSetId != null) {
|
|
902
902
|
contents.DataSetId = (0, smithy_client_1.expectString)(data.DataSetId);
|
|
@@ -914,7 +914,7 @@ const deserializeAws_restJson1CreateRevisionCommand = async (output, context) =>
|
|
|
914
914
|
contents.Revoked = (0, smithy_client_1.expectBoolean)(data.Revoked);
|
|
915
915
|
}
|
|
916
916
|
if (data.RevokedAt != null) {
|
|
917
|
-
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
917
|
+
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.RevokedAt));
|
|
918
918
|
}
|
|
919
919
|
if (data.SourceId != null) {
|
|
920
920
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
@@ -923,7 +923,7 @@ const deserializeAws_restJson1CreateRevisionCommand = async (output, context) =>
|
|
|
923
923
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
924
924
|
}
|
|
925
925
|
if (data.UpdatedAt != null) {
|
|
926
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
926
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
927
927
|
}
|
|
928
928
|
return contents;
|
|
929
929
|
};
|
|
@@ -1156,7 +1156,7 @@ const deserializeAws_restJson1GetAssetCommand = async (output, context) => {
|
|
|
1156
1156
|
contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
|
|
1157
1157
|
}
|
|
1158
1158
|
if (data.CreatedAt != null) {
|
|
1159
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1159
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1160
1160
|
}
|
|
1161
1161
|
if (data.DataSetId != null) {
|
|
1162
1162
|
contents.DataSetId = (0, smithy_client_1.expectString)(data.DataSetId);
|
|
@@ -1174,7 +1174,7 @@ const deserializeAws_restJson1GetAssetCommand = async (output, context) => {
|
|
|
1174
1174
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
1175
1175
|
}
|
|
1176
1176
|
if (data.UpdatedAt != null) {
|
|
1177
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1177
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
1178
1178
|
}
|
|
1179
1179
|
return contents;
|
|
1180
1180
|
};
|
|
@@ -1223,7 +1223,7 @@ const deserializeAws_restJson1GetDataSetCommand = async (output, context) => {
|
|
|
1223
1223
|
contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
|
|
1224
1224
|
}
|
|
1225
1225
|
if (data.CreatedAt != null) {
|
|
1226
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1226
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1227
1227
|
}
|
|
1228
1228
|
if (data.Description != null) {
|
|
1229
1229
|
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
@@ -1247,7 +1247,7 @@ const deserializeAws_restJson1GetDataSetCommand = async (output, context) => {
|
|
|
1247
1247
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
1248
1248
|
}
|
|
1249
1249
|
if (data.UpdatedAt != null) {
|
|
1250
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1250
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
1251
1251
|
}
|
|
1252
1252
|
return contents;
|
|
1253
1253
|
};
|
|
@@ -1296,7 +1296,7 @@ const deserializeAws_restJson1GetEventActionCommand = async (output, context) =>
|
|
|
1296
1296
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1297
1297
|
}
|
|
1298
1298
|
if (data.CreatedAt != null) {
|
|
1299
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1299
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1300
1300
|
}
|
|
1301
1301
|
if (data.Event != null) {
|
|
1302
1302
|
contents.Event = deserializeAws_restJson1Event(data.Event, context);
|
|
@@ -1305,7 +1305,7 @@ const deserializeAws_restJson1GetEventActionCommand = async (output, context) =>
|
|
|
1305
1305
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
1306
1306
|
}
|
|
1307
1307
|
if (data.UpdatedAt != null) {
|
|
1308
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1308
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
1309
1309
|
}
|
|
1310
1310
|
return contents;
|
|
1311
1311
|
};
|
|
@@ -1351,7 +1351,7 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
|
1351
1351
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1352
1352
|
}
|
|
1353
1353
|
if (data.CreatedAt != null) {
|
|
1354
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1354
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1355
1355
|
}
|
|
1356
1356
|
if (data.Details != null) {
|
|
1357
1357
|
contents.Details = deserializeAws_restJson1ResponseDetails(data.Details, context);
|
|
@@ -1369,7 +1369,7 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
|
1369
1369
|
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
1370
1370
|
}
|
|
1371
1371
|
if (data.UpdatedAt != null) {
|
|
1372
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1372
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
1373
1373
|
}
|
|
1374
1374
|
return contents;
|
|
1375
1375
|
};
|
|
@@ -1418,7 +1418,7 @@ const deserializeAws_restJson1GetRevisionCommand = async (output, context) => {
|
|
|
1418
1418
|
contents.Comment = (0, smithy_client_1.expectString)(data.Comment);
|
|
1419
1419
|
}
|
|
1420
1420
|
if (data.CreatedAt != null) {
|
|
1421
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1421
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1422
1422
|
}
|
|
1423
1423
|
if (data.DataSetId != null) {
|
|
1424
1424
|
contents.DataSetId = (0, smithy_client_1.expectString)(data.DataSetId);
|
|
@@ -1436,7 +1436,7 @@ const deserializeAws_restJson1GetRevisionCommand = async (output, context) => {
|
|
|
1436
1436
|
contents.Revoked = (0, smithy_client_1.expectBoolean)(data.Revoked);
|
|
1437
1437
|
}
|
|
1438
1438
|
if (data.RevokedAt != null) {
|
|
1439
|
-
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1439
|
+
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.RevokedAt));
|
|
1440
1440
|
}
|
|
1441
1441
|
if (data.SourceId != null) {
|
|
1442
1442
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
@@ -1445,7 +1445,7 @@ const deserializeAws_restJson1GetRevisionCommand = async (output, context) => {
|
|
|
1445
1445
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
1446
1446
|
}
|
|
1447
1447
|
if (data.UpdatedAt != null) {
|
|
1448
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1448
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
1449
1449
|
}
|
|
1450
1450
|
return contents;
|
|
1451
1451
|
};
|
|
@@ -1752,7 +1752,7 @@ const deserializeAws_restJson1RevokeRevisionCommand = async (output, context) =>
|
|
|
1752
1752
|
contents.Comment = (0, smithy_client_1.expectString)(data.Comment);
|
|
1753
1753
|
}
|
|
1754
1754
|
if (data.CreatedAt != null) {
|
|
1755
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1755
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1756
1756
|
}
|
|
1757
1757
|
if (data.DataSetId != null) {
|
|
1758
1758
|
contents.DataSetId = (0, smithy_client_1.expectString)(data.DataSetId);
|
|
@@ -1770,13 +1770,13 @@ const deserializeAws_restJson1RevokeRevisionCommand = async (output, context) =>
|
|
|
1770
1770
|
contents.Revoked = (0, smithy_client_1.expectBoolean)(data.Revoked);
|
|
1771
1771
|
}
|
|
1772
1772
|
if (data.RevokedAt != null) {
|
|
1773
|
-
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1773
|
+
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.RevokedAt));
|
|
1774
1774
|
}
|
|
1775
1775
|
if (data.SourceId != null) {
|
|
1776
1776
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
1777
1777
|
}
|
|
1778
1778
|
if (data.UpdatedAt != null) {
|
|
1779
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1779
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
1780
1780
|
}
|
|
1781
1781
|
return contents;
|
|
1782
1782
|
};
|
|
@@ -1983,7 +1983,7 @@ const deserializeAws_restJson1UpdateAssetCommand = async (output, context) => {
|
|
|
1983
1983
|
contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
|
|
1984
1984
|
}
|
|
1985
1985
|
if (data.CreatedAt != null) {
|
|
1986
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1986
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
1987
1987
|
}
|
|
1988
1988
|
if (data.DataSetId != null) {
|
|
1989
1989
|
contents.DataSetId = (0, smithy_client_1.expectString)(data.DataSetId);
|
|
@@ -2001,7 +2001,7 @@ const deserializeAws_restJson1UpdateAssetCommand = async (output, context) => {
|
|
|
2001
2001
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
2002
2002
|
}
|
|
2003
2003
|
if (data.UpdatedAt != null) {
|
|
2004
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2004
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
2005
2005
|
}
|
|
2006
2006
|
return contents;
|
|
2007
2007
|
};
|
|
@@ -2056,7 +2056,7 @@ const deserializeAws_restJson1UpdateDataSetCommand = async (output, context) =>
|
|
|
2056
2056
|
contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
|
|
2057
2057
|
}
|
|
2058
2058
|
if (data.CreatedAt != null) {
|
|
2059
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2059
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
2060
2060
|
}
|
|
2061
2061
|
if (data.Description != null) {
|
|
2062
2062
|
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
@@ -2077,7 +2077,7 @@ const deserializeAws_restJson1UpdateDataSetCommand = async (output, context) =>
|
|
|
2077
2077
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
2078
2078
|
}
|
|
2079
2079
|
if (data.UpdatedAt != null) {
|
|
2080
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2080
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
2081
2081
|
}
|
|
2082
2082
|
return contents;
|
|
2083
2083
|
};
|
|
@@ -2129,7 +2129,7 @@ const deserializeAws_restJson1UpdateEventActionCommand = async (output, context)
|
|
|
2129
2129
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2130
2130
|
}
|
|
2131
2131
|
if (data.CreatedAt != null) {
|
|
2132
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2132
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
2133
2133
|
}
|
|
2134
2134
|
if (data.Event != null) {
|
|
2135
2135
|
contents.Event = deserializeAws_restJson1Event(data.Event, context);
|
|
@@ -2138,7 +2138,7 @@ const deserializeAws_restJson1UpdateEventActionCommand = async (output, context)
|
|
|
2138
2138
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
2139
2139
|
}
|
|
2140
2140
|
if (data.UpdatedAt != null) {
|
|
2141
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2141
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
2142
2142
|
}
|
|
2143
2143
|
return contents;
|
|
2144
2144
|
};
|
|
@@ -2190,7 +2190,7 @@ const deserializeAws_restJson1UpdateRevisionCommand = async (output, context) =>
|
|
|
2190
2190
|
contents.Comment = (0, smithy_client_1.expectString)(data.Comment);
|
|
2191
2191
|
}
|
|
2192
2192
|
if (data.CreatedAt != null) {
|
|
2193
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2193
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
|
|
2194
2194
|
}
|
|
2195
2195
|
if (data.DataSetId != null) {
|
|
2196
2196
|
contents.DataSetId = (0, smithy_client_1.expectString)(data.DataSetId);
|
|
@@ -2208,13 +2208,13 @@ const deserializeAws_restJson1UpdateRevisionCommand = async (output, context) =>
|
|
|
2208
2208
|
contents.Revoked = (0, smithy_client_1.expectBoolean)(data.Revoked);
|
|
2209
2209
|
}
|
|
2210
2210
|
if (data.RevokedAt != null) {
|
|
2211
|
-
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2211
|
+
contents.RevokedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.RevokedAt));
|
|
2212
2212
|
}
|
|
2213
2213
|
if (data.SourceId != null) {
|
|
2214
2214
|
contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
|
|
2215
2215
|
}
|
|
2216
2216
|
if (data.UpdatedAt != null) {
|
|
2217
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2217
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
|
|
2218
2218
|
}
|
|
2219
2219
|
return contents;
|
|
2220
2220
|
};
|
|
@@ -2664,7 +2664,7 @@ const deserializeAws_restJson1ApiGatewayApiAsset = (output, context) => {
|
|
|
2664
2664
|
ApiName: (0, smithy_client_1.expectString)(output.ApiName),
|
|
2665
2665
|
ApiSpecificationDownloadUrl: (0, smithy_client_1.expectString)(output.ApiSpecificationDownloadUrl),
|
|
2666
2666
|
ApiSpecificationDownloadUrlExpiresAt: output.ApiSpecificationDownloadUrlExpiresAt != null
|
|
2667
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2667
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.ApiSpecificationDownloadUrlExpiresAt))
|
|
2668
2668
|
: undefined,
|
|
2669
2669
|
ProtocolType: (0, smithy_client_1.expectString)(output.ProtocolType),
|
|
2670
2670
|
Stage: (0, smithy_client_1.expectString)(output.Stage),
|
|
@@ -2701,13 +2701,13 @@ const deserializeAws_restJson1AssetEntry = (output, context) => {
|
|
|
2701
2701
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2702
2702
|
AssetDetails: output.AssetDetails != null ? deserializeAws_restJson1AssetDetails(output.AssetDetails, context) : undefined,
|
|
2703
2703
|
AssetType: (0, smithy_client_1.expectString)(output.AssetType),
|
|
2704
|
-
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2704
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
|
|
2705
2705
|
DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
|
|
2706
2706
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
2707
2707
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2708
2708
|
RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
|
|
2709
2709
|
SourceId: (0, smithy_client_1.expectString)(output.SourceId),
|
|
2710
|
-
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2710
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
|
|
2711
2711
|
};
|
|
2712
2712
|
};
|
|
2713
2713
|
const deserializeAws_restJson1AssetSourceEntry = (output, context) => {
|
|
@@ -2758,14 +2758,14 @@ const deserializeAws_restJson1DataSetEntry = (output, context) => {
|
|
|
2758
2758
|
return {
|
|
2759
2759
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2760
2760
|
AssetType: (0, smithy_client_1.expectString)(output.AssetType),
|
|
2761
|
-
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2761
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
|
|
2762
2762
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2763
2763
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
2764
2764
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2765
2765
|
Origin: (0, smithy_client_1.expectString)(output.Origin),
|
|
2766
2766
|
OriginDetails: output.OriginDetails != null ? deserializeAws_restJson1OriginDetails(output.OriginDetails, context) : undefined,
|
|
2767
2767
|
SourceId: (0, smithy_client_1.expectString)(output.SourceId),
|
|
2768
|
-
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2768
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
|
|
2769
2769
|
};
|
|
2770
2770
|
};
|
|
2771
2771
|
const deserializeAws_restJson1Details = (output, context) => {
|
|
@@ -2789,10 +2789,10 @@ const deserializeAws_restJson1EventActionEntry = (output, context) => {
|
|
|
2789
2789
|
return {
|
|
2790
2790
|
Action: output.Action != null ? deserializeAws_restJson1Action(output.Action, context) : undefined,
|
|
2791
2791
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2792
|
-
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2792
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
|
|
2793
2793
|
Event: output.Event != null ? deserializeAws_restJson1Event(output.Event, context) : undefined,
|
|
2794
2794
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
2795
|
-
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2795
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
|
|
2796
2796
|
};
|
|
2797
2797
|
};
|
|
2798
2798
|
const deserializeAws_restJson1ExportAssetsToS3ResponseDetails = (output, context) => {
|
|
@@ -2814,7 +2814,7 @@ const deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails = (output, c
|
|
|
2814
2814
|
RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
|
|
2815
2815
|
SignedUrl: (0, smithy_client_1.expectString)(output.SignedUrl),
|
|
2816
2816
|
SignedUrlExpiresAt: output.SignedUrlExpiresAt != null
|
|
2817
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2817
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.SignedUrlExpiresAt))
|
|
2818
2818
|
: undefined,
|
|
2819
2819
|
};
|
|
2820
2820
|
};
|
|
@@ -2845,7 +2845,7 @@ const deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails = (out
|
|
|
2845
2845
|
ApiSpecificationMd5Hash: (0, smithy_client_1.expectString)(output.ApiSpecificationMd5Hash),
|
|
2846
2846
|
ApiSpecificationUploadUrl: (0, smithy_client_1.expectString)(output.ApiSpecificationUploadUrl),
|
|
2847
2847
|
ApiSpecificationUploadUrlExpiresAt: output.ApiSpecificationUploadUrlExpiresAt != null
|
|
2848
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2848
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.ApiSpecificationUploadUrlExpiresAt))
|
|
2849
2849
|
: undefined,
|
|
2850
2850
|
DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
|
|
2851
2851
|
ProtocolType: (0, smithy_client_1.expectString)(output.ProtocolType),
|
|
@@ -2866,7 +2866,7 @@ const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output,
|
|
|
2866
2866
|
RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
|
|
2867
2867
|
SignedUrl: (0, smithy_client_1.expectString)(output.SignedUrl),
|
|
2868
2868
|
SignedUrlExpiresAt: output.SignedUrlExpiresAt != null
|
|
2869
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2869
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.SignedUrlExpiresAt))
|
|
2870
2870
|
: undefined,
|
|
2871
2871
|
};
|
|
2872
2872
|
};
|
|
@@ -2903,13 +2903,13 @@ const deserializeAws_restJson1ImportAssetsFromS3ResponseDetails = (output, conte
|
|
|
2903
2903
|
const deserializeAws_restJson1JobEntry = (output, context) => {
|
|
2904
2904
|
return {
|
|
2905
2905
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2906
|
-
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2906
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
|
|
2907
2907
|
Details: output.Details != null ? deserializeAws_restJson1ResponseDetails(output.Details, context) : undefined,
|
|
2908
2908
|
Errors: output.Errors != null ? deserializeAws_restJson1ListOfJobError(output.Errors, context) : undefined,
|
|
2909
2909
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
2910
2910
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2911
2911
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2912
|
-
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2912
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
|
|
2913
2913
|
};
|
|
2914
2914
|
};
|
|
2915
2915
|
const deserializeAws_restJson1JobError = (output, context) => {
|
|
@@ -3201,15 +3201,15 @@ const deserializeAws_restJson1RevisionEntry = (output, context) => {
|
|
|
3201
3201
|
return {
|
|
3202
3202
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3203
3203
|
Comment: (0, smithy_client_1.expectString)(output.Comment),
|
|
3204
|
-
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3204
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
|
|
3205
3205
|
DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
|
|
3206
3206
|
Finalized: (0, smithy_client_1.expectBoolean)(output.Finalized),
|
|
3207
3207
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3208
3208
|
RevocationComment: (0, smithy_client_1.expectString)(output.RevocationComment),
|
|
3209
3209
|
Revoked: (0, smithy_client_1.expectBoolean)(output.Revoked),
|
|
3210
|
-
RevokedAt: output.RevokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3210
|
+
RevokedAt: output.RevokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.RevokedAt)) : undefined,
|
|
3211
3211
|
SourceId: (0, smithy_client_1.expectString)(output.SourceId),
|
|
3212
|
-
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3212
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
|
|
3213
3213
|
};
|
|
3214
3214
|
};
|
|
3215
3215
|
const deserializeAws_restJson1RevisionPublished = (output, context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { convertMap, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map,
|
|
2
|
+
import { convertMap, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { DataExchangeServiceException as __BaseException } from "../models/DataExchangeServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const serializeAws_restJson1CancelJobCommand = async (input, context) => {
|
|
@@ -655,7 +655,7 @@ export const deserializeAws_restJson1CreateDataSetCommand = async (output, conte
|
|
|
655
655
|
contents.AssetType = __expectString(data.AssetType);
|
|
656
656
|
}
|
|
657
657
|
if (data.CreatedAt != null) {
|
|
658
|
-
contents.CreatedAt = __expectNonNull(
|
|
658
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
659
659
|
}
|
|
660
660
|
if (data.Description != null) {
|
|
661
661
|
contents.Description = __expectString(data.Description);
|
|
@@ -679,7 +679,7 @@ export const deserializeAws_restJson1CreateDataSetCommand = async (output, conte
|
|
|
679
679
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
680
680
|
}
|
|
681
681
|
if (data.UpdatedAt != null) {
|
|
682
|
-
contents.UpdatedAt = __expectNonNull(
|
|
682
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
683
683
|
}
|
|
684
684
|
return contents;
|
|
685
685
|
};
|
|
@@ -730,7 +730,7 @@ export const deserializeAws_restJson1CreateEventActionCommand = async (output, c
|
|
|
730
730
|
contents.Arn = __expectString(data.Arn);
|
|
731
731
|
}
|
|
732
732
|
if (data.CreatedAt != null) {
|
|
733
|
-
contents.CreatedAt = __expectNonNull(
|
|
733
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
734
734
|
}
|
|
735
735
|
if (data.Event != null) {
|
|
736
736
|
contents.Event = deserializeAws_restJson1Event(data.Event, context);
|
|
@@ -739,7 +739,7 @@ export const deserializeAws_restJson1CreateEventActionCommand = async (output, c
|
|
|
739
739
|
contents.Id = __expectString(data.Id);
|
|
740
740
|
}
|
|
741
741
|
if (data.UpdatedAt != null) {
|
|
742
|
-
contents.UpdatedAt = __expectNonNull(
|
|
742
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
743
743
|
}
|
|
744
744
|
return contents;
|
|
745
745
|
};
|
|
@@ -787,7 +787,7 @@ export const deserializeAws_restJson1CreateJobCommand = async (output, context)
|
|
|
787
787
|
contents.Arn = __expectString(data.Arn);
|
|
788
788
|
}
|
|
789
789
|
if (data.CreatedAt != null) {
|
|
790
|
-
contents.CreatedAt = __expectNonNull(
|
|
790
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
791
791
|
}
|
|
792
792
|
if (data.Details != null) {
|
|
793
793
|
contents.Details = deserializeAws_restJson1ResponseDetails(data.Details, context);
|
|
@@ -805,7 +805,7 @@ export const deserializeAws_restJson1CreateJobCommand = async (output, context)
|
|
|
805
805
|
contents.Type = __expectString(data.Type);
|
|
806
806
|
}
|
|
807
807
|
if (data.UpdatedAt != null) {
|
|
808
|
-
contents.UpdatedAt = __expectNonNull(
|
|
808
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
809
809
|
}
|
|
810
810
|
return contents;
|
|
811
811
|
};
|
|
@@ -859,7 +859,7 @@ export const deserializeAws_restJson1CreateRevisionCommand = async (output, cont
|
|
|
859
859
|
contents.Comment = __expectString(data.Comment);
|
|
860
860
|
}
|
|
861
861
|
if (data.CreatedAt != null) {
|
|
862
|
-
contents.CreatedAt = __expectNonNull(
|
|
862
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
863
863
|
}
|
|
864
864
|
if (data.DataSetId != null) {
|
|
865
865
|
contents.DataSetId = __expectString(data.DataSetId);
|
|
@@ -877,7 +877,7 @@ export const deserializeAws_restJson1CreateRevisionCommand = async (output, cont
|
|
|
877
877
|
contents.Revoked = __expectBoolean(data.Revoked);
|
|
878
878
|
}
|
|
879
879
|
if (data.RevokedAt != null) {
|
|
880
|
-
contents.RevokedAt = __expectNonNull(
|
|
880
|
+
contents.RevokedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.RevokedAt));
|
|
881
881
|
}
|
|
882
882
|
if (data.SourceId != null) {
|
|
883
883
|
contents.SourceId = __expectString(data.SourceId);
|
|
@@ -886,7 +886,7 @@ export const deserializeAws_restJson1CreateRevisionCommand = async (output, cont
|
|
|
886
886
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
887
887
|
}
|
|
888
888
|
if (data.UpdatedAt != null) {
|
|
889
|
-
contents.UpdatedAt = __expectNonNull(
|
|
889
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
890
890
|
}
|
|
891
891
|
return contents;
|
|
892
892
|
};
|
|
@@ -1114,7 +1114,7 @@ export const deserializeAws_restJson1GetAssetCommand = async (output, context) =
|
|
|
1114
1114
|
contents.AssetType = __expectString(data.AssetType);
|
|
1115
1115
|
}
|
|
1116
1116
|
if (data.CreatedAt != null) {
|
|
1117
|
-
contents.CreatedAt = __expectNonNull(
|
|
1117
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1118
1118
|
}
|
|
1119
1119
|
if (data.DataSetId != null) {
|
|
1120
1120
|
contents.DataSetId = __expectString(data.DataSetId);
|
|
@@ -1132,7 +1132,7 @@ export const deserializeAws_restJson1GetAssetCommand = async (output, context) =
|
|
|
1132
1132
|
contents.SourceId = __expectString(data.SourceId);
|
|
1133
1133
|
}
|
|
1134
1134
|
if (data.UpdatedAt != null) {
|
|
1135
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1135
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1136
1136
|
}
|
|
1137
1137
|
return contents;
|
|
1138
1138
|
};
|
|
@@ -1180,7 +1180,7 @@ export const deserializeAws_restJson1GetDataSetCommand = async (output, context)
|
|
|
1180
1180
|
contents.AssetType = __expectString(data.AssetType);
|
|
1181
1181
|
}
|
|
1182
1182
|
if (data.CreatedAt != null) {
|
|
1183
|
-
contents.CreatedAt = __expectNonNull(
|
|
1183
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1184
1184
|
}
|
|
1185
1185
|
if (data.Description != null) {
|
|
1186
1186
|
contents.Description = __expectString(data.Description);
|
|
@@ -1204,7 +1204,7 @@ export const deserializeAws_restJson1GetDataSetCommand = async (output, context)
|
|
|
1204
1204
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
1205
1205
|
}
|
|
1206
1206
|
if (data.UpdatedAt != null) {
|
|
1207
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1207
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1208
1208
|
}
|
|
1209
1209
|
return contents;
|
|
1210
1210
|
};
|
|
@@ -1252,7 +1252,7 @@ export const deserializeAws_restJson1GetEventActionCommand = async (output, cont
|
|
|
1252
1252
|
contents.Arn = __expectString(data.Arn);
|
|
1253
1253
|
}
|
|
1254
1254
|
if (data.CreatedAt != null) {
|
|
1255
|
-
contents.CreatedAt = __expectNonNull(
|
|
1255
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1256
1256
|
}
|
|
1257
1257
|
if (data.Event != null) {
|
|
1258
1258
|
contents.Event = deserializeAws_restJson1Event(data.Event, context);
|
|
@@ -1261,7 +1261,7 @@ export const deserializeAws_restJson1GetEventActionCommand = async (output, cont
|
|
|
1261
1261
|
contents.Id = __expectString(data.Id);
|
|
1262
1262
|
}
|
|
1263
1263
|
if (data.UpdatedAt != null) {
|
|
1264
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1264
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1265
1265
|
}
|
|
1266
1266
|
return contents;
|
|
1267
1267
|
};
|
|
@@ -1306,7 +1306,7 @@ export const deserializeAws_restJson1GetJobCommand = async (output, context) =>
|
|
|
1306
1306
|
contents.Arn = __expectString(data.Arn);
|
|
1307
1307
|
}
|
|
1308
1308
|
if (data.CreatedAt != null) {
|
|
1309
|
-
contents.CreatedAt = __expectNonNull(
|
|
1309
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1310
1310
|
}
|
|
1311
1311
|
if (data.Details != null) {
|
|
1312
1312
|
contents.Details = deserializeAws_restJson1ResponseDetails(data.Details, context);
|
|
@@ -1324,7 +1324,7 @@ export const deserializeAws_restJson1GetJobCommand = async (output, context) =>
|
|
|
1324
1324
|
contents.Type = __expectString(data.Type);
|
|
1325
1325
|
}
|
|
1326
1326
|
if (data.UpdatedAt != null) {
|
|
1327
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1327
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1328
1328
|
}
|
|
1329
1329
|
return contents;
|
|
1330
1330
|
};
|
|
@@ -1372,7 +1372,7 @@ export const deserializeAws_restJson1GetRevisionCommand = async (output, context
|
|
|
1372
1372
|
contents.Comment = __expectString(data.Comment);
|
|
1373
1373
|
}
|
|
1374
1374
|
if (data.CreatedAt != null) {
|
|
1375
|
-
contents.CreatedAt = __expectNonNull(
|
|
1375
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1376
1376
|
}
|
|
1377
1377
|
if (data.DataSetId != null) {
|
|
1378
1378
|
contents.DataSetId = __expectString(data.DataSetId);
|
|
@@ -1390,7 +1390,7 @@ export const deserializeAws_restJson1GetRevisionCommand = async (output, context
|
|
|
1390
1390
|
contents.Revoked = __expectBoolean(data.Revoked);
|
|
1391
1391
|
}
|
|
1392
1392
|
if (data.RevokedAt != null) {
|
|
1393
|
-
contents.RevokedAt = __expectNonNull(
|
|
1393
|
+
contents.RevokedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.RevokedAt));
|
|
1394
1394
|
}
|
|
1395
1395
|
if (data.SourceId != null) {
|
|
1396
1396
|
contents.SourceId = __expectString(data.SourceId);
|
|
@@ -1399,7 +1399,7 @@ export const deserializeAws_restJson1GetRevisionCommand = async (output, context
|
|
|
1399
1399
|
contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
|
|
1400
1400
|
}
|
|
1401
1401
|
if (data.UpdatedAt != null) {
|
|
1402
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1402
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1403
1403
|
}
|
|
1404
1404
|
return contents;
|
|
1405
1405
|
};
|
|
@@ -1699,7 +1699,7 @@ export const deserializeAws_restJson1RevokeRevisionCommand = async (output, cont
|
|
|
1699
1699
|
contents.Comment = __expectString(data.Comment);
|
|
1700
1700
|
}
|
|
1701
1701
|
if (data.CreatedAt != null) {
|
|
1702
|
-
contents.CreatedAt = __expectNonNull(
|
|
1702
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1703
1703
|
}
|
|
1704
1704
|
if (data.DataSetId != null) {
|
|
1705
1705
|
contents.DataSetId = __expectString(data.DataSetId);
|
|
@@ -1717,13 +1717,13 @@ export const deserializeAws_restJson1RevokeRevisionCommand = async (output, cont
|
|
|
1717
1717
|
contents.Revoked = __expectBoolean(data.Revoked);
|
|
1718
1718
|
}
|
|
1719
1719
|
if (data.RevokedAt != null) {
|
|
1720
|
-
contents.RevokedAt = __expectNonNull(
|
|
1720
|
+
contents.RevokedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.RevokedAt));
|
|
1721
1721
|
}
|
|
1722
1722
|
if (data.SourceId != null) {
|
|
1723
1723
|
contents.SourceId = __expectString(data.SourceId);
|
|
1724
1724
|
}
|
|
1725
1725
|
if (data.UpdatedAt != null) {
|
|
1726
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1726
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1727
1727
|
}
|
|
1728
1728
|
return contents;
|
|
1729
1729
|
};
|
|
@@ -1925,7 +1925,7 @@ export const deserializeAws_restJson1UpdateAssetCommand = async (output, context
|
|
|
1925
1925
|
contents.AssetType = __expectString(data.AssetType);
|
|
1926
1926
|
}
|
|
1927
1927
|
if (data.CreatedAt != null) {
|
|
1928
|
-
contents.CreatedAt = __expectNonNull(
|
|
1928
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
1929
1929
|
}
|
|
1930
1930
|
if (data.DataSetId != null) {
|
|
1931
1931
|
contents.DataSetId = __expectString(data.DataSetId);
|
|
@@ -1943,7 +1943,7 @@ export const deserializeAws_restJson1UpdateAssetCommand = async (output, context
|
|
|
1943
1943
|
contents.SourceId = __expectString(data.SourceId);
|
|
1944
1944
|
}
|
|
1945
1945
|
if (data.UpdatedAt != null) {
|
|
1946
|
-
contents.UpdatedAt = __expectNonNull(
|
|
1946
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
1947
1947
|
}
|
|
1948
1948
|
return contents;
|
|
1949
1949
|
};
|
|
@@ -1997,7 +1997,7 @@ export const deserializeAws_restJson1UpdateDataSetCommand = async (output, conte
|
|
|
1997
1997
|
contents.AssetType = __expectString(data.AssetType);
|
|
1998
1998
|
}
|
|
1999
1999
|
if (data.CreatedAt != null) {
|
|
2000
|
-
contents.CreatedAt = __expectNonNull(
|
|
2000
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
2001
2001
|
}
|
|
2002
2002
|
if (data.Description != null) {
|
|
2003
2003
|
contents.Description = __expectString(data.Description);
|
|
@@ -2018,7 +2018,7 @@ export const deserializeAws_restJson1UpdateDataSetCommand = async (output, conte
|
|
|
2018
2018
|
contents.SourceId = __expectString(data.SourceId);
|
|
2019
2019
|
}
|
|
2020
2020
|
if (data.UpdatedAt != null) {
|
|
2021
|
-
contents.UpdatedAt = __expectNonNull(
|
|
2021
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
2022
2022
|
}
|
|
2023
2023
|
return contents;
|
|
2024
2024
|
};
|
|
@@ -2069,7 +2069,7 @@ export const deserializeAws_restJson1UpdateEventActionCommand = async (output, c
|
|
|
2069
2069
|
contents.Arn = __expectString(data.Arn);
|
|
2070
2070
|
}
|
|
2071
2071
|
if (data.CreatedAt != null) {
|
|
2072
|
-
contents.CreatedAt = __expectNonNull(
|
|
2072
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
2073
2073
|
}
|
|
2074
2074
|
if (data.Event != null) {
|
|
2075
2075
|
contents.Event = deserializeAws_restJson1Event(data.Event, context);
|
|
@@ -2078,7 +2078,7 @@ export const deserializeAws_restJson1UpdateEventActionCommand = async (output, c
|
|
|
2078
2078
|
contents.Id = __expectString(data.Id);
|
|
2079
2079
|
}
|
|
2080
2080
|
if (data.UpdatedAt != null) {
|
|
2081
|
-
contents.UpdatedAt = __expectNonNull(
|
|
2081
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
2082
2082
|
}
|
|
2083
2083
|
return contents;
|
|
2084
2084
|
};
|
|
@@ -2129,7 +2129,7 @@ export const deserializeAws_restJson1UpdateRevisionCommand = async (output, cont
|
|
|
2129
2129
|
contents.Comment = __expectString(data.Comment);
|
|
2130
2130
|
}
|
|
2131
2131
|
if (data.CreatedAt != null) {
|
|
2132
|
-
contents.CreatedAt = __expectNonNull(
|
|
2132
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreatedAt));
|
|
2133
2133
|
}
|
|
2134
2134
|
if (data.DataSetId != null) {
|
|
2135
2135
|
contents.DataSetId = __expectString(data.DataSetId);
|
|
@@ -2147,13 +2147,13 @@ export const deserializeAws_restJson1UpdateRevisionCommand = async (output, cont
|
|
|
2147
2147
|
contents.Revoked = __expectBoolean(data.Revoked);
|
|
2148
2148
|
}
|
|
2149
2149
|
if (data.RevokedAt != null) {
|
|
2150
|
-
contents.RevokedAt = __expectNonNull(
|
|
2150
|
+
contents.RevokedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.RevokedAt));
|
|
2151
2151
|
}
|
|
2152
2152
|
if (data.SourceId != null) {
|
|
2153
2153
|
contents.SourceId = __expectString(data.SourceId);
|
|
2154
2154
|
}
|
|
2155
2155
|
if (data.UpdatedAt != null) {
|
|
2156
|
-
contents.UpdatedAt = __expectNonNull(
|
|
2156
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdatedAt));
|
|
2157
2157
|
}
|
|
2158
2158
|
return contents;
|
|
2159
2159
|
};
|
|
@@ -2602,7 +2602,7 @@ const deserializeAws_restJson1ApiGatewayApiAsset = (output, context) => {
|
|
|
2602
2602
|
ApiName: __expectString(output.ApiName),
|
|
2603
2603
|
ApiSpecificationDownloadUrl: __expectString(output.ApiSpecificationDownloadUrl),
|
|
2604
2604
|
ApiSpecificationDownloadUrlExpiresAt: output.ApiSpecificationDownloadUrlExpiresAt != null
|
|
2605
|
-
? __expectNonNull(
|
|
2605
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.ApiSpecificationDownloadUrlExpiresAt))
|
|
2606
2606
|
: undefined,
|
|
2607
2607
|
ProtocolType: __expectString(output.ProtocolType),
|
|
2608
2608
|
Stage: __expectString(output.Stage),
|
|
@@ -2639,13 +2639,13 @@ const deserializeAws_restJson1AssetEntry = (output, context) => {
|
|
|
2639
2639
|
Arn: __expectString(output.Arn),
|
|
2640
2640
|
AssetDetails: output.AssetDetails != null ? deserializeAws_restJson1AssetDetails(output.AssetDetails, context) : undefined,
|
|
2641
2641
|
AssetType: __expectString(output.AssetType),
|
|
2642
|
-
CreatedAt: output.CreatedAt != null ? __expectNonNull(
|
|
2642
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedAt)) : undefined,
|
|
2643
2643
|
DataSetId: __expectString(output.DataSetId),
|
|
2644
2644
|
Id: __expectString(output.Id),
|
|
2645
2645
|
Name: __expectString(output.Name),
|
|
2646
2646
|
RevisionId: __expectString(output.RevisionId),
|
|
2647
2647
|
SourceId: __expectString(output.SourceId),
|
|
2648
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(
|
|
2648
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedAt)) : undefined,
|
|
2649
2649
|
};
|
|
2650
2650
|
};
|
|
2651
2651
|
const deserializeAws_restJson1AssetSourceEntry = (output, context) => {
|
|
@@ -2696,14 +2696,14 @@ const deserializeAws_restJson1DataSetEntry = (output, context) => {
|
|
|
2696
2696
|
return {
|
|
2697
2697
|
Arn: __expectString(output.Arn),
|
|
2698
2698
|
AssetType: __expectString(output.AssetType),
|
|
2699
|
-
CreatedAt: output.CreatedAt != null ? __expectNonNull(
|
|
2699
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedAt)) : undefined,
|
|
2700
2700
|
Description: __expectString(output.Description),
|
|
2701
2701
|
Id: __expectString(output.Id),
|
|
2702
2702
|
Name: __expectString(output.Name),
|
|
2703
2703
|
Origin: __expectString(output.Origin),
|
|
2704
2704
|
OriginDetails: output.OriginDetails != null ? deserializeAws_restJson1OriginDetails(output.OriginDetails, context) : undefined,
|
|
2705
2705
|
SourceId: __expectString(output.SourceId),
|
|
2706
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(
|
|
2706
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedAt)) : undefined,
|
|
2707
2707
|
};
|
|
2708
2708
|
};
|
|
2709
2709
|
const deserializeAws_restJson1Details = (output, context) => {
|
|
@@ -2727,10 +2727,10 @@ const deserializeAws_restJson1EventActionEntry = (output, context) => {
|
|
|
2727
2727
|
return {
|
|
2728
2728
|
Action: output.Action != null ? deserializeAws_restJson1Action(output.Action, context) : undefined,
|
|
2729
2729
|
Arn: __expectString(output.Arn),
|
|
2730
|
-
CreatedAt: output.CreatedAt != null ? __expectNonNull(
|
|
2730
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedAt)) : undefined,
|
|
2731
2731
|
Event: output.Event != null ? deserializeAws_restJson1Event(output.Event, context) : undefined,
|
|
2732
2732
|
Id: __expectString(output.Id),
|
|
2733
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(
|
|
2733
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedAt)) : undefined,
|
|
2734
2734
|
};
|
|
2735
2735
|
};
|
|
2736
2736
|
const deserializeAws_restJson1ExportAssetsToS3ResponseDetails = (output, context) => {
|
|
@@ -2752,7 +2752,7 @@ const deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails = (output, c
|
|
|
2752
2752
|
RevisionId: __expectString(output.RevisionId),
|
|
2753
2753
|
SignedUrl: __expectString(output.SignedUrl),
|
|
2754
2754
|
SignedUrlExpiresAt: output.SignedUrlExpiresAt != null
|
|
2755
|
-
? __expectNonNull(
|
|
2755
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.SignedUrlExpiresAt))
|
|
2756
2756
|
: undefined,
|
|
2757
2757
|
};
|
|
2758
2758
|
};
|
|
@@ -2783,7 +2783,7 @@ const deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails = (out
|
|
|
2783
2783
|
ApiSpecificationMd5Hash: __expectString(output.ApiSpecificationMd5Hash),
|
|
2784
2784
|
ApiSpecificationUploadUrl: __expectString(output.ApiSpecificationUploadUrl),
|
|
2785
2785
|
ApiSpecificationUploadUrlExpiresAt: output.ApiSpecificationUploadUrlExpiresAt != null
|
|
2786
|
-
? __expectNonNull(
|
|
2786
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.ApiSpecificationUploadUrlExpiresAt))
|
|
2787
2787
|
: undefined,
|
|
2788
2788
|
DataSetId: __expectString(output.DataSetId),
|
|
2789
2789
|
ProtocolType: __expectString(output.ProtocolType),
|
|
@@ -2804,7 +2804,7 @@ const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output,
|
|
|
2804
2804
|
RevisionId: __expectString(output.RevisionId),
|
|
2805
2805
|
SignedUrl: __expectString(output.SignedUrl),
|
|
2806
2806
|
SignedUrlExpiresAt: output.SignedUrlExpiresAt != null
|
|
2807
|
-
? __expectNonNull(
|
|
2807
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.SignedUrlExpiresAt))
|
|
2808
2808
|
: undefined,
|
|
2809
2809
|
};
|
|
2810
2810
|
};
|
|
@@ -2841,13 +2841,13 @@ const deserializeAws_restJson1ImportAssetsFromS3ResponseDetails = (output, conte
|
|
|
2841
2841
|
const deserializeAws_restJson1JobEntry = (output, context) => {
|
|
2842
2842
|
return {
|
|
2843
2843
|
Arn: __expectString(output.Arn),
|
|
2844
|
-
CreatedAt: output.CreatedAt != null ? __expectNonNull(
|
|
2844
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedAt)) : undefined,
|
|
2845
2845
|
Details: output.Details != null ? deserializeAws_restJson1ResponseDetails(output.Details, context) : undefined,
|
|
2846
2846
|
Errors: output.Errors != null ? deserializeAws_restJson1ListOfJobError(output.Errors, context) : undefined,
|
|
2847
2847
|
Id: __expectString(output.Id),
|
|
2848
2848
|
State: __expectString(output.State),
|
|
2849
2849
|
Type: __expectString(output.Type),
|
|
2850
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(
|
|
2850
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedAt)) : undefined,
|
|
2851
2851
|
};
|
|
2852
2852
|
};
|
|
2853
2853
|
const deserializeAws_restJson1JobError = (output, context) => {
|
|
@@ -3139,15 +3139,15 @@ const deserializeAws_restJson1RevisionEntry = (output, context) => {
|
|
|
3139
3139
|
return {
|
|
3140
3140
|
Arn: __expectString(output.Arn),
|
|
3141
3141
|
Comment: __expectString(output.Comment),
|
|
3142
|
-
CreatedAt: output.CreatedAt != null ? __expectNonNull(
|
|
3142
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedAt)) : undefined,
|
|
3143
3143
|
DataSetId: __expectString(output.DataSetId),
|
|
3144
3144
|
Finalized: __expectBoolean(output.Finalized),
|
|
3145
3145
|
Id: __expectString(output.Id),
|
|
3146
3146
|
RevocationComment: __expectString(output.RevocationComment),
|
|
3147
3147
|
Revoked: __expectBoolean(output.Revoked),
|
|
3148
|
-
RevokedAt: output.RevokedAt != null ? __expectNonNull(
|
|
3148
|
+
RevokedAt: output.RevokedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.RevokedAt)) : undefined,
|
|
3149
3149
|
SourceId: __expectString(output.SourceId),
|
|
3150
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(
|
|
3150
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedAt)) : undefined,
|
|
3151
3151
|
};
|
|
3152
3152
|
};
|
|
3153
3153
|
const deserializeAws_restJson1RevisionPublished = (output, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dataexchange",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.264.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.264.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|