@aws-sdk/client-s3-control 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.
|
@@ -2769,7 +2769,7 @@ const deserializeAws_restXmlGetAccessPointCommand = async (output, context) => {
|
|
|
2769
2769
|
contents.BucketAccountId = (0, smithy_client_1.expectString)(data["BucketAccountId"]);
|
|
2770
2770
|
}
|
|
2771
2771
|
if (data["CreationDate"] !== undefined) {
|
|
2772
|
-
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2772
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data["CreationDate"]));
|
|
2773
2773
|
}
|
|
2774
2774
|
if (data.Endpoints === "") {
|
|
2775
2775
|
contents.Endpoints = {};
|
|
@@ -2843,7 +2843,7 @@ const deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (output
|
|
|
2843
2843
|
});
|
|
2844
2844
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2845
2845
|
if (data["CreationDate"] !== undefined) {
|
|
2846
|
-
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2846
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data["CreationDate"]));
|
|
2847
2847
|
}
|
|
2848
2848
|
if (data["Name"] !== undefined) {
|
|
2849
2849
|
contents.Name = (0, smithy_client_1.expectString)(data["Name"]);
|
|
@@ -2992,7 +2992,7 @@ const deserializeAws_restXmlGetBucketCommand = async (output, context) => {
|
|
|
2992
2992
|
contents.Bucket = (0, smithy_client_1.expectString)(data["Bucket"]);
|
|
2993
2993
|
}
|
|
2994
2994
|
if (data["CreationDate"] !== undefined) {
|
|
2995
|
-
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2995
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data["CreationDate"]));
|
|
2996
2996
|
}
|
|
2997
2997
|
if (data["PublicAccessBlockEnabled"] !== undefined) {
|
|
2998
2998
|
contents.PublicAccessBlockEnabled = (0, smithy_client_1.parseBoolean)(data["PublicAccessBlockEnabled"]);
|
|
@@ -5657,7 +5657,7 @@ const deserializeAws_restXmlAsyncOperation = (output, context) => {
|
|
|
5657
5657
|
ResponseDetails: undefined,
|
|
5658
5658
|
};
|
|
5659
5659
|
if (output["CreationTime"] !== undefined) {
|
|
5660
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
5660
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationTime"]));
|
|
5661
5661
|
}
|
|
5662
5662
|
if (output["Operation"] !== undefined) {
|
|
5663
5663
|
contents.Operation = (0, smithy_client_1.expectString)(output["Operation"]);
|
|
@@ -5929,16 +5929,16 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
|
|
|
5929
5929
|
contents.Report = deserializeAws_restXmlJobReport(output["Report"], context);
|
|
5930
5930
|
}
|
|
5931
5931
|
if (output["CreationTime"] !== undefined) {
|
|
5932
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
5932
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationTime"]));
|
|
5933
5933
|
}
|
|
5934
5934
|
if (output["TerminationDate"] !== undefined) {
|
|
5935
|
-
contents.TerminationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
5935
|
+
contents.TerminationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["TerminationDate"]));
|
|
5936
5936
|
}
|
|
5937
5937
|
if (output["RoleArn"] !== undefined) {
|
|
5938
5938
|
contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
|
|
5939
5939
|
}
|
|
5940
5940
|
if (output["SuspendedDate"] !== undefined) {
|
|
5941
|
-
contents.SuspendedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
5941
|
+
contents.SuspendedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["SuspendedDate"]));
|
|
5942
5942
|
}
|
|
5943
5943
|
if (output["SuspendedCause"] !== undefined) {
|
|
5944
5944
|
contents.SuspendedCause = (0, smithy_client_1.expectString)(output["SuspendedCause"]);
|
|
@@ -6000,10 +6000,10 @@ const deserializeAws_restXmlJobListDescriptor = (output, context) => {
|
|
|
6000
6000
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
6001
6001
|
}
|
|
6002
6002
|
if (output["CreationTime"] !== undefined) {
|
|
6003
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6003
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationTime"]));
|
|
6004
6004
|
}
|
|
6005
6005
|
if (output["TerminationDate"] !== undefined) {
|
|
6006
|
-
contents.TerminationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6006
|
+
contents.TerminationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["TerminationDate"]));
|
|
6007
6007
|
}
|
|
6008
6008
|
if (output["ProgressSummary"] !== undefined) {
|
|
6009
6009
|
contents.ProgressSummary = deserializeAws_restXmlJobProgressSummary(output["ProgressSummary"], context);
|
|
@@ -6056,10 +6056,10 @@ const deserializeAws_restXmlJobManifestGeneratorFilter = (output, context) => {
|
|
|
6056
6056
|
contents.EligibleForReplication = (0, smithy_client_1.parseBoolean)(output["EligibleForReplication"]);
|
|
6057
6057
|
}
|
|
6058
6058
|
if (output["CreatedAfter"] !== undefined) {
|
|
6059
|
-
contents.CreatedAfter = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6059
|
+
contents.CreatedAfter = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedAfter"]));
|
|
6060
6060
|
}
|
|
6061
6061
|
if (output["CreatedBefore"] !== undefined) {
|
|
6062
|
-
contents.CreatedBefore = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6062
|
+
contents.CreatedBefore = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedBefore"]));
|
|
6063
6063
|
}
|
|
6064
6064
|
if (output.ObjectReplicationStatuses === "") {
|
|
6065
6065
|
contents.ObjectReplicationStatuses = [];
|
|
@@ -6215,7 +6215,7 @@ const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
|
|
|
6215
6215
|
ExpiredObjectDeleteMarker: undefined,
|
|
6216
6216
|
};
|
|
6217
6217
|
if (output["Date"] !== undefined) {
|
|
6218
|
-
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6218
|
+
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Date"]));
|
|
6219
6219
|
}
|
|
6220
6220
|
if (output["Days"] !== undefined) {
|
|
6221
6221
|
contents.Days = (0, smithy_client_1.strictParseInt32)(output["Days"]);
|
|
@@ -6395,7 +6395,7 @@ const deserializeAws_restXmlMultiRegionAccessPointReport = (output, context) =>
|
|
|
6395
6395
|
contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
|
|
6396
6396
|
}
|
|
6397
6397
|
if (output["CreatedAt"] !== undefined) {
|
|
6398
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6398
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedAt"]));
|
|
6399
6399
|
}
|
|
6400
6400
|
if (output["PublicAccessBlock"] !== undefined) {
|
|
6401
6401
|
contents.PublicAccessBlock = deserializeAws_restXmlPublicAccessBlockConfiguration(output["PublicAccessBlock"], context);
|
|
@@ -6676,7 +6676,7 @@ const deserializeAws_restXmlRegionalBucket = (output, context) => {
|
|
|
6676
6676
|
contents.PublicAccessBlockEnabled = (0, smithy_client_1.parseBoolean)(output["PublicAccessBlockEnabled"]);
|
|
6677
6677
|
}
|
|
6678
6678
|
if (output["CreationDate"] !== undefined) {
|
|
6679
|
-
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6679
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationDate"]));
|
|
6680
6680
|
}
|
|
6681
6681
|
if (output["OutpostId"] !== undefined) {
|
|
6682
6682
|
contents.OutpostId = (0, smithy_client_1.expectString)(output["OutpostId"]);
|
|
@@ -6833,7 +6833,7 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
6833
6833
|
contents.MetadataDirective = (0, smithy_client_1.expectString)(output["MetadataDirective"]);
|
|
6834
6834
|
}
|
|
6835
6835
|
if (output["ModifiedSinceConstraint"] !== undefined) {
|
|
6836
|
-
contents.ModifiedSinceConstraint = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6836
|
+
contents.ModifiedSinceConstraint = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ModifiedSinceConstraint"]));
|
|
6837
6837
|
}
|
|
6838
6838
|
if (output["NewObjectMetadata"] !== undefined) {
|
|
6839
6839
|
contents.NewObjectMetadata = deserializeAws_restXmlS3ObjectMetadata(output["NewObjectMetadata"], context);
|
|
@@ -6854,7 +6854,7 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
6854
6854
|
contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
|
|
6855
6855
|
}
|
|
6856
6856
|
if (output["UnModifiedSinceConstraint"] !== undefined) {
|
|
6857
|
-
contents.UnModifiedSinceConstraint = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6857
|
+
contents.UnModifiedSinceConstraint = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UnModifiedSinceConstraint"]));
|
|
6858
6858
|
}
|
|
6859
6859
|
if (output["SSEAwsKmsKeyId"] !== undefined) {
|
|
6860
6860
|
contents.SSEAwsKmsKeyId = (0, smithy_client_1.expectString)(output["SSEAwsKmsKeyId"]);
|
|
@@ -6869,7 +6869,7 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
6869
6869
|
contents.ObjectLockMode = (0, smithy_client_1.expectString)(output["ObjectLockMode"]);
|
|
6870
6870
|
}
|
|
6871
6871
|
if (output["ObjectLockRetainUntilDate"] !== undefined) {
|
|
6872
|
-
contents.ObjectLockRetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
6872
|
+
contents.ObjectLockRetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ObjectLockRetainUntilDate"]));
|
|
6873
6873
|
}
|
|
6874
6874
|
if (output["BucketKeyEnabled"] !== undefined) {
|
|
6875
6875
|
contents.BucketKeyEnabled = (0, smithy_client_1.parseBoolean)(output["BucketKeyEnabled"]);
|
|
@@ -7047,7 +7047,7 @@ const deserializeAws_restXmlS3ObjectMetadata = (output, context) => {
|
|
|
7047
7047
|
contents.ContentType = (0, smithy_client_1.expectString)(output["ContentType"]);
|
|
7048
7048
|
}
|
|
7049
7049
|
if (output["HttpExpiresDate"] !== undefined) {
|
|
7050
|
-
contents.HttpExpiresDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
7050
|
+
contents.HttpExpiresDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["HttpExpiresDate"]));
|
|
7051
7051
|
}
|
|
7052
7052
|
if (output["RequesterCharged"] !== undefined) {
|
|
7053
7053
|
contents.RequesterCharged = (0, smithy_client_1.parseBoolean)(output["RequesterCharged"]);
|
|
@@ -7080,7 +7080,7 @@ const deserializeAws_restXmlS3Retention = (output, context) => {
|
|
|
7080
7080
|
Mode: undefined,
|
|
7081
7081
|
};
|
|
7082
7082
|
if (output["RetainUntilDate"] !== undefined) {
|
|
7083
|
-
contents.RetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
7083
|
+
contents.RetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["RetainUntilDate"]));
|
|
7084
7084
|
}
|
|
7085
7085
|
if (output["Mode"] !== undefined) {
|
|
7086
7086
|
contents.Mode = (0, smithy_client_1.expectString)(output["Mode"]);
|
|
@@ -7308,7 +7308,7 @@ const deserializeAws_restXmlTransition = (output, context) => {
|
|
|
7308
7308
|
StorageClass: undefined,
|
|
7309
7309
|
};
|
|
7310
7310
|
if (output["Date"] !== undefined) {
|
|
7311
|
-
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
7311
|
+
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Date"]));
|
|
7312
7312
|
}
|
|
7313
7313
|
if (output["Days"] !== undefined) {
|
|
7314
7314
|
contents.Days = (0, smithy_client_1.strictParseInt32)(output["Days"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map as __map, parseBoolean as __parseBoolean,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map as __map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XmlNode as __XmlNode, XmlText as __XmlText } from "@aws-sdk/xml-builder";
|
|
4
4
|
import { XMLParser } from "fast-xml-parser";
|
|
5
5
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -2683,7 +2683,7 @@ export const deserializeAws_restXmlGetAccessPointCommand = async (output, contex
|
|
|
2683
2683
|
contents.BucketAccountId = __expectString(data["BucketAccountId"]);
|
|
2684
2684
|
}
|
|
2685
2685
|
if (data["CreationDate"] !== undefined) {
|
|
2686
|
-
contents.CreationDate = __expectNonNull(
|
|
2686
|
+
contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(data["CreationDate"]));
|
|
2687
2687
|
}
|
|
2688
2688
|
if (data.Endpoints === "") {
|
|
2689
2689
|
contents.Endpoints = {};
|
|
@@ -2755,7 +2755,7 @@ export const deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = async
|
|
|
2755
2755
|
});
|
|
2756
2756
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2757
2757
|
if (data["CreationDate"] !== undefined) {
|
|
2758
|
-
contents.CreationDate = __expectNonNull(
|
|
2758
|
+
contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(data["CreationDate"]));
|
|
2759
2759
|
}
|
|
2760
2760
|
if (data["Name"] !== undefined) {
|
|
2761
2761
|
contents.Name = __expectString(data["Name"]);
|
|
@@ -2899,7 +2899,7 @@ export const deserializeAws_restXmlGetBucketCommand = async (output, context) =>
|
|
|
2899
2899
|
contents.Bucket = __expectString(data["Bucket"]);
|
|
2900
2900
|
}
|
|
2901
2901
|
if (data["CreationDate"] !== undefined) {
|
|
2902
|
-
contents.CreationDate = __expectNonNull(
|
|
2902
|
+
contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(data["CreationDate"]));
|
|
2903
2903
|
}
|
|
2904
2904
|
if (data["PublicAccessBlockEnabled"] !== undefined) {
|
|
2905
2905
|
contents.PublicAccessBlockEnabled = __parseBoolean(data["PublicAccessBlockEnabled"]);
|
|
@@ -5530,7 +5530,7 @@ const deserializeAws_restXmlAsyncOperation = (output, context) => {
|
|
|
5530
5530
|
ResponseDetails: undefined,
|
|
5531
5531
|
};
|
|
5532
5532
|
if (output["CreationTime"] !== undefined) {
|
|
5533
|
-
contents.CreationTime = __expectNonNull(
|
|
5533
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreationTime"]));
|
|
5534
5534
|
}
|
|
5535
5535
|
if (output["Operation"] !== undefined) {
|
|
5536
5536
|
contents.Operation = __expectString(output["Operation"]);
|
|
@@ -5802,16 +5802,16 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
|
|
|
5802
5802
|
contents.Report = deserializeAws_restXmlJobReport(output["Report"], context);
|
|
5803
5803
|
}
|
|
5804
5804
|
if (output["CreationTime"] !== undefined) {
|
|
5805
|
-
contents.CreationTime = __expectNonNull(
|
|
5805
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreationTime"]));
|
|
5806
5806
|
}
|
|
5807
5807
|
if (output["TerminationDate"] !== undefined) {
|
|
5808
|
-
contents.TerminationDate = __expectNonNull(
|
|
5808
|
+
contents.TerminationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["TerminationDate"]));
|
|
5809
5809
|
}
|
|
5810
5810
|
if (output["RoleArn"] !== undefined) {
|
|
5811
5811
|
contents.RoleArn = __expectString(output["RoleArn"]);
|
|
5812
5812
|
}
|
|
5813
5813
|
if (output["SuspendedDate"] !== undefined) {
|
|
5814
|
-
contents.SuspendedDate = __expectNonNull(
|
|
5814
|
+
contents.SuspendedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["SuspendedDate"]));
|
|
5815
5815
|
}
|
|
5816
5816
|
if (output["SuspendedCause"] !== undefined) {
|
|
5817
5817
|
contents.SuspendedCause = __expectString(output["SuspendedCause"]);
|
|
@@ -5873,10 +5873,10 @@ const deserializeAws_restXmlJobListDescriptor = (output, context) => {
|
|
|
5873
5873
|
contents.Status = __expectString(output["Status"]);
|
|
5874
5874
|
}
|
|
5875
5875
|
if (output["CreationTime"] !== undefined) {
|
|
5876
|
-
contents.CreationTime = __expectNonNull(
|
|
5876
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreationTime"]));
|
|
5877
5877
|
}
|
|
5878
5878
|
if (output["TerminationDate"] !== undefined) {
|
|
5879
|
-
contents.TerminationDate = __expectNonNull(
|
|
5879
|
+
contents.TerminationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["TerminationDate"]));
|
|
5880
5880
|
}
|
|
5881
5881
|
if (output["ProgressSummary"] !== undefined) {
|
|
5882
5882
|
contents.ProgressSummary = deserializeAws_restXmlJobProgressSummary(output["ProgressSummary"], context);
|
|
@@ -5929,10 +5929,10 @@ const deserializeAws_restXmlJobManifestGeneratorFilter = (output, context) => {
|
|
|
5929
5929
|
contents.EligibleForReplication = __parseBoolean(output["EligibleForReplication"]);
|
|
5930
5930
|
}
|
|
5931
5931
|
if (output["CreatedAfter"] !== undefined) {
|
|
5932
|
-
contents.CreatedAfter = __expectNonNull(
|
|
5932
|
+
contents.CreatedAfter = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedAfter"]));
|
|
5933
5933
|
}
|
|
5934
5934
|
if (output["CreatedBefore"] !== undefined) {
|
|
5935
|
-
contents.CreatedBefore = __expectNonNull(
|
|
5935
|
+
contents.CreatedBefore = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedBefore"]));
|
|
5936
5936
|
}
|
|
5937
5937
|
if (output.ObjectReplicationStatuses === "") {
|
|
5938
5938
|
contents.ObjectReplicationStatuses = [];
|
|
@@ -6088,7 +6088,7 @@ const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
|
|
|
6088
6088
|
ExpiredObjectDeleteMarker: undefined,
|
|
6089
6089
|
};
|
|
6090
6090
|
if (output["Date"] !== undefined) {
|
|
6091
|
-
contents.Date = __expectNonNull(
|
|
6091
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Date"]));
|
|
6092
6092
|
}
|
|
6093
6093
|
if (output["Days"] !== undefined) {
|
|
6094
6094
|
contents.Days = __strictParseInt32(output["Days"]);
|
|
@@ -6268,7 +6268,7 @@ const deserializeAws_restXmlMultiRegionAccessPointReport = (output, context) =>
|
|
|
6268
6268
|
contents.Alias = __expectString(output["Alias"]);
|
|
6269
6269
|
}
|
|
6270
6270
|
if (output["CreatedAt"] !== undefined) {
|
|
6271
|
-
contents.CreatedAt = __expectNonNull(
|
|
6271
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedAt"]));
|
|
6272
6272
|
}
|
|
6273
6273
|
if (output["PublicAccessBlock"] !== undefined) {
|
|
6274
6274
|
contents.PublicAccessBlock = deserializeAws_restXmlPublicAccessBlockConfiguration(output["PublicAccessBlock"], context);
|
|
@@ -6549,7 +6549,7 @@ const deserializeAws_restXmlRegionalBucket = (output, context) => {
|
|
|
6549
6549
|
contents.PublicAccessBlockEnabled = __parseBoolean(output["PublicAccessBlockEnabled"]);
|
|
6550
6550
|
}
|
|
6551
6551
|
if (output["CreationDate"] !== undefined) {
|
|
6552
|
-
contents.CreationDate = __expectNonNull(
|
|
6552
|
+
contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreationDate"]));
|
|
6553
6553
|
}
|
|
6554
6554
|
if (output["OutpostId"] !== undefined) {
|
|
6555
6555
|
contents.OutpostId = __expectString(output["OutpostId"]);
|
|
@@ -6706,7 +6706,7 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
6706
6706
|
contents.MetadataDirective = __expectString(output["MetadataDirective"]);
|
|
6707
6707
|
}
|
|
6708
6708
|
if (output["ModifiedSinceConstraint"] !== undefined) {
|
|
6709
|
-
contents.ModifiedSinceConstraint = __expectNonNull(
|
|
6709
|
+
contents.ModifiedSinceConstraint = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ModifiedSinceConstraint"]));
|
|
6710
6710
|
}
|
|
6711
6711
|
if (output["NewObjectMetadata"] !== undefined) {
|
|
6712
6712
|
contents.NewObjectMetadata = deserializeAws_restXmlS3ObjectMetadata(output["NewObjectMetadata"], context);
|
|
@@ -6727,7 +6727,7 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
6727
6727
|
contents.StorageClass = __expectString(output["StorageClass"]);
|
|
6728
6728
|
}
|
|
6729
6729
|
if (output["UnModifiedSinceConstraint"] !== undefined) {
|
|
6730
|
-
contents.UnModifiedSinceConstraint = __expectNonNull(
|
|
6730
|
+
contents.UnModifiedSinceConstraint = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UnModifiedSinceConstraint"]));
|
|
6731
6731
|
}
|
|
6732
6732
|
if (output["SSEAwsKmsKeyId"] !== undefined) {
|
|
6733
6733
|
contents.SSEAwsKmsKeyId = __expectString(output["SSEAwsKmsKeyId"]);
|
|
@@ -6742,7 +6742,7 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
6742
6742
|
contents.ObjectLockMode = __expectString(output["ObjectLockMode"]);
|
|
6743
6743
|
}
|
|
6744
6744
|
if (output["ObjectLockRetainUntilDate"] !== undefined) {
|
|
6745
|
-
contents.ObjectLockRetainUntilDate = __expectNonNull(
|
|
6745
|
+
contents.ObjectLockRetainUntilDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ObjectLockRetainUntilDate"]));
|
|
6746
6746
|
}
|
|
6747
6747
|
if (output["BucketKeyEnabled"] !== undefined) {
|
|
6748
6748
|
contents.BucketKeyEnabled = __parseBoolean(output["BucketKeyEnabled"]);
|
|
@@ -6920,7 +6920,7 @@ const deserializeAws_restXmlS3ObjectMetadata = (output, context) => {
|
|
|
6920
6920
|
contents.ContentType = __expectString(output["ContentType"]);
|
|
6921
6921
|
}
|
|
6922
6922
|
if (output["HttpExpiresDate"] !== undefined) {
|
|
6923
|
-
contents.HttpExpiresDate = __expectNonNull(
|
|
6923
|
+
contents.HttpExpiresDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["HttpExpiresDate"]));
|
|
6924
6924
|
}
|
|
6925
6925
|
if (output["RequesterCharged"] !== undefined) {
|
|
6926
6926
|
contents.RequesterCharged = __parseBoolean(output["RequesterCharged"]);
|
|
@@ -6953,7 +6953,7 @@ const deserializeAws_restXmlS3Retention = (output, context) => {
|
|
|
6953
6953
|
Mode: undefined,
|
|
6954
6954
|
};
|
|
6955
6955
|
if (output["RetainUntilDate"] !== undefined) {
|
|
6956
|
-
contents.RetainUntilDate = __expectNonNull(
|
|
6956
|
+
contents.RetainUntilDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["RetainUntilDate"]));
|
|
6957
6957
|
}
|
|
6958
6958
|
if (output["Mode"] !== undefined) {
|
|
6959
6959
|
contents.Mode = __expectString(output["Mode"]);
|
|
@@ -7181,7 +7181,7 @@ const deserializeAws_restXmlTransition = (output, context) => {
|
|
|
7181
7181
|
StorageClass: undefined,
|
|
7182
7182
|
};
|
|
7183
7183
|
if (output["Date"] !== undefined) {
|
|
7184
|
-
contents.Date = __expectNonNull(
|
|
7184
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Date"]));
|
|
7185
7185
|
}
|
|
7186
7186
|
if (output["Days"] !== undefined) {
|
|
7187
7187
|
contents.Days = __strictParseInt32(output["Days"]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control 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",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.264.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
29
29
|
"@aws-sdk/hash-blob-browser": "3.257.0",
|
|
30
30
|
"@aws-sdk/hash-node": "3.257.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/md5-js": "3.258.0",
|
|
34
34
|
"@aws-sdk/middleware-apply-body-checksum": "3.257.0",
|
|
35
35
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
36
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
37
37
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
38
38
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
39
39
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|