@aws-sdk/client-s3-control 3.583.0 → 3.587.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/dist-cjs/index.js +9 -9
- package/dist-es/protocols/Aws_restXml.js +10 -10
- package/package.json +19 -19
package/dist-cjs/index.js
CHANGED
|
@@ -5084,10 +5084,10 @@ var se_JobManifestGeneratorFilter = /* @__PURE__ */ __name((input, context) => {
|
|
|
5084
5084
|
bn.c(import_xml_builder.XmlNode.of(_Bo, String(input[_EFR])).n(_EFR));
|
|
5085
5085
|
}
|
|
5086
5086
|
if (input[_CAr] != null) {
|
|
5087
|
-
bn.c(import_xml_builder.XmlNode.of(_OCT, input[_CAr]
|
|
5087
|
+
bn.c(import_xml_builder.XmlNode.of(_OCT, (0, import_smithy_client.serializeDateTime)(input[_CAr])).n(_CAr));
|
|
5088
5088
|
}
|
|
5089
5089
|
if (input[_CB] != null) {
|
|
5090
|
-
bn.c(import_xml_builder.XmlNode.of(_OCT, input[_CB]
|
|
5090
|
+
bn.c(import_xml_builder.XmlNode.of(_OCT, (0, import_smithy_client.serializeDateTime)(input[_CB])).n(_CB));
|
|
5091
5091
|
}
|
|
5092
5092
|
bn.lc(
|
|
5093
5093
|
input,
|
|
@@ -5209,7 +5209,7 @@ var se_LifecycleConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
5209
5209
|
var se_LifecycleExpiration = /* @__PURE__ */ __name((input, context) => {
|
|
5210
5210
|
const bn = new import_xml_builder.XmlNode(_LE);
|
|
5211
5211
|
if (input[_Da] != null) {
|
|
5212
|
-
bn.c(import_xml_builder.XmlNode.of(_Da, input[_Da]
|
|
5212
|
+
bn.c(import_xml_builder.XmlNode.of(_Da, (0, import_smithy_client.serializeDateTime)(input[_Da])).n(_Da));
|
|
5213
5213
|
}
|
|
5214
5214
|
if (input[_Day] != null) {
|
|
5215
5215
|
bn.c(import_xml_builder.XmlNode.of(_Day, String(input[_Day])).n(_Day));
|
|
@@ -5642,7 +5642,7 @@ var se_S3CopyObjectOperation = /* @__PURE__ */ __name((input, context) => {
|
|
|
5642
5642
|
bn.c(import_xml_builder.XmlNode.of(_SMD, input[_MDe]).n(_MDe));
|
|
5643
5643
|
}
|
|
5644
5644
|
if (input[_MSC] != null) {
|
|
5645
|
-
bn.c(import_xml_builder.XmlNode.of(_TSi, input[_MSC]
|
|
5645
|
+
bn.c(import_xml_builder.XmlNode.of(_TSi, (0, import_smithy_client.serializeDateTime)(input[_MSC])).n(_MSC));
|
|
5646
5646
|
}
|
|
5647
5647
|
if (input[_NOM] != null) {
|
|
5648
5648
|
bn.c(se_S3ObjectMetadata(input[_NOM], context).n(_NOM));
|
|
@@ -5658,7 +5658,7 @@ var se_S3CopyObjectOperation = /* @__PURE__ */ __name((input, context) => {
|
|
|
5658
5658
|
bn.c(import_xml_builder.XmlNode.of(_SSCt, input[_SC]).n(_SC));
|
|
5659
5659
|
}
|
|
5660
5660
|
if (input[_UMSC] != null) {
|
|
5661
|
-
bn.c(import_xml_builder.XmlNode.of(_TSi, input[_UMSC]
|
|
5661
|
+
bn.c(import_xml_builder.XmlNode.of(_TSi, (0, import_smithy_client.serializeDateTime)(input[_UMSC])).n(_UMSC));
|
|
5662
5662
|
}
|
|
5663
5663
|
if (input[_SSEAKKI] != null) {
|
|
5664
5664
|
bn.c(import_xml_builder.XmlNode.of(_KKAS, input[_SSEAKKI]).n(_SSEAKKI));
|
|
@@ -5673,7 +5673,7 @@ var se_S3CopyObjectOperation = /* @__PURE__ */ __name((input, context) => {
|
|
|
5673
5673
|
bn.c(import_xml_builder.XmlNode.of(_SOLM, input[_OLM]).n(_OLM));
|
|
5674
5674
|
}
|
|
5675
5675
|
if (input[_OLRUD] != null) {
|
|
5676
|
-
bn.c(import_xml_builder.XmlNode.of(_TSi, input[_OLRUD]
|
|
5676
|
+
bn.c(import_xml_builder.XmlNode.of(_TSi, (0, import_smithy_client.serializeDateTime)(input[_OLRUD])).n(_OLRUD));
|
|
5677
5677
|
}
|
|
5678
5678
|
if (input[_BKE] != null) {
|
|
5679
5679
|
bn.c(import_xml_builder.XmlNode.of(_Bo, String(input[_BKE])).n(_BKE));
|
|
@@ -5796,7 +5796,7 @@ var se_S3ObjectMetadata = /* @__PURE__ */ __name((input, context) => {
|
|
|
5796
5796
|
bn.c(import_xml_builder.XmlNode.of(_NEMLSon, input[_CTon]).n(_CTon));
|
|
5797
5797
|
}
|
|
5798
5798
|
if (input[_HED] != null) {
|
|
5799
|
-
bn.c(import_xml_builder.XmlNode.of(_TSi, input[_HED]
|
|
5799
|
+
bn.c(import_xml_builder.XmlNode.of(_TSi, (0, import_smithy_client.serializeDateTime)(input[_HED])).n(_HED));
|
|
5800
5800
|
}
|
|
5801
5801
|
if (input[_RCe] != null) {
|
|
5802
5802
|
bn.c(import_xml_builder.XmlNode.of(_Bo, String(input[_RCe])).n(_RCe));
|
|
@@ -5823,7 +5823,7 @@ var se_S3ReplicateObjectOperation = /* @__PURE__ */ __name((input, context) => {
|
|
|
5823
5823
|
var se_S3Retention = /* @__PURE__ */ __name((input, context) => {
|
|
5824
5824
|
const bn = new import_xml_builder.XmlNode(_SR);
|
|
5825
5825
|
if (input[_RUD] != null) {
|
|
5826
|
-
bn.c(import_xml_builder.XmlNode.of(_TSi, input[_RUD]
|
|
5826
|
+
bn.c(import_xml_builder.XmlNode.of(_TSi, (0, import_smithy_client.serializeDateTime)(input[_RUD])).n(_RUD));
|
|
5827
5827
|
}
|
|
5828
5828
|
if (input[_Mo] != null) {
|
|
5829
5829
|
bn.c(import_xml_builder.XmlNode.of(_SOLRM, input[_Mo]).n(_Mo));
|
|
@@ -6118,7 +6118,7 @@ var se_TagList = /* @__PURE__ */ __name((input, context) => {
|
|
|
6118
6118
|
var se_Transition = /* @__PURE__ */ __name((input, context) => {
|
|
6119
6119
|
const bn = new import_xml_builder.XmlNode(_Tra);
|
|
6120
6120
|
if (input[_Da] != null) {
|
|
6121
|
-
bn.c(import_xml_builder.XmlNode.of(_Da, input[_Da]
|
|
6121
|
+
bn.c(import_xml_builder.XmlNode.of(_Da, (0, import_smithy_client.serializeDateTime)(input[_Da])).n(_Da));
|
|
6122
6122
|
}
|
|
6123
6123
|
if (input[_Day] != null) {
|
|
6124
6124
|
bn.c(import_xml_builder.XmlNode.of(_Day, String(input[_Day])).n(_Day));
|
|
@@ -2,7 +2,7 @@ import { loadRestXmlErrorCode, parseXmlBody as parseBody, parseXmlErrorBody as p
|
|
|
2
2
|
import { XmlNode as __XmlNode, XmlText as __XmlText } from "@aws-sdk/xml-builder";
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
4
|
import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
5
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
5
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
6
6
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
7
7
|
import { BadRequestException, BucketAlreadyExists, BucketAlreadyOwnedByYou, IdempotencyException, InternalServiceException, InvalidNextTokenException, InvalidRequestException, JobManifestGenerator, NoSuchPublicAccessBlockConfiguration, NotFoundException, ObjectLambdaContentTransformation, TooManyRequestsException, } from "../models/models_0";
|
|
8
8
|
import { JobStatusException, TooManyTagsException, } from "../models/models_1";
|
|
@@ -4233,10 +4233,10 @@ const se_JobManifestGeneratorFilter = (input, context) => {
|
|
|
4233
4233
|
bn.c(__XmlNode.of(_Bo, String(input[_EFR])).n(_EFR));
|
|
4234
4234
|
}
|
|
4235
4235
|
if (input[_CAr] != null) {
|
|
4236
|
-
bn.c(__XmlNode.of(_OCT, input[_CAr]
|
|
4236
|
+
bn.c(__XmlNode.of(_OCT, __serializeDateTime(input[_CAr])).n(_CAr));
|
|
4237
4237
|
}
|
|
4238
4238
|
if (input[_CB] != null) {
|
|
4239
|
-
bn.c(__XmlNode.of(_OCT, input[_CB]
|
|
4239
|
+
bn.c(__XmlNode.of(_OCT, __serializeDateTime(input[_CB])).n(_CB));
|
|
4240
4240
|
}
|
|
4241
4241
|
bn.lc(input, "ObjectReplicationStatuses", "ObjectReplicationStatuses", () => se_ReplicationStatusFilterList(input[_ORS], context));
|
|
4242
4242
|
if (input[_KNC] != null) {
|
|
@@ -4348,7 +4348,7 @@ const se_LifecycleConfiguration = (input, context) => {
|
|
|
4348
4348
|
const se_LifecycleExpiration = (input, context) => {
|
|
4349
4349
|
const bn = new __XmlNode(_LE);
|
|
4350
4350
|
if (input[_Da] != null) {
|
|
4351
|
-
bn.c(__XmlNode.of(_Da, input[_Da]
|
|
4351
|
+
bn.c(__XmlNode.of(_Da, __serializeDateTime(input[_Da])).n(_Da));
|
|
4352
4352
|
}
|
|
4353
4353
|
if (input[_Day] != null) {
|
|
4354
4354
|
bn.c(__XmlNode.of(_Day, String(input[_Day])).n(_Day));
|
|
@@ -4794,7 +4794,7 @@ const se_S3CopyObjectOperation = (input, context) => {
|
|
|
4794
4794
|
bn.c(__XmlNode.of(_SMD, input[_MDe]).n(_MDe));
|
|
4795
4795
|
}
|
|
4796
4796
|
if (input[_MSC] != null) {
|
|
4797
|
-
bn.c(__XmlNode.of(_TSi, input[_MSC]
|
|
4797
|
+
bn.c(__XmlNode.of(_TSi, __serializeDateTime(input[_MSC])).n(_MSC));
|
|
4798
4798
|
}
|
|
4799
4799
|
if (input[_NOM] != null) {
|
|
4800
4800
|
bn.c(se_S3ObjectMetadata(input[_NOM], context).n(_NOM));
|
|
@@ -4810,7 +4810,7 @@ const se_S3CopyObjectOperation = (input, context) => {
|
|
|
4810
4810
|
bn.c(__XmlNode.of(_SSCt, input[_SC]).n(_SC));
|
|
4811
4811
|
}
|
|
4812
4812
|
if (input[_UMSC] != null) {
|
|
4813
|
-
bn.c(__XmlNode.of(_TSi, input[_UMSC]
|
|
4813
|
+
bn.c(__XmlNode.of(_TSi, __serializeDateTime(input[_UMSC])).n(_UMSC));
|
|
4814
4814
|
}
|
|
4815
4815
|
if (input[_SSEAKKI] != null) {
|
|
4816
4816
|
bn.c(__XmlNode.of(_KKAS, input[_SSEAKKI]).n(_SSEAKKI));
|
|
@@ -4825,7 +4825,7 @@ const se_S3CopyObjectOperation = (input, context) => {
|
|
|
4825
4825
|
bn.c(__XmlNode.of(_SOLM, input[_OLM]).n(_OLM));
|
|
4826
4826
|
}
|
|
4827
4827
|
if (input[_OLRUD] != null) {
|
|
4828
|
-
bn.c(__XmlNode.of(_TSi, input[_OLRUD]
|
|
4828
|
+
bn.c(__XmlNode.of(_TSi, __serializeDateTime(input[_OLRUD])).n(_OLRUD));
|
|
4829
4829
|
}
|
|
4830
4830
|
if (input[_BKE] != null) {
|
|
4831
4831
|
bn.c(__XmlNode.of(_Bo, String(input[_BKE])).n(_BKE));
|
|
@@ -4950,7 +4950,7 @@ const se_S3ObjectMetadata = (input, context) => {
|
|
|
4950
4950
|
bn.c(__XmlNode.of(_NEMLSon, input[_CTon]).n(_CTon));
|
|
4951
4951
|
}
|
|
4952
4952
|
if (input[_HED] != null) {
|
|
4953
|
-
bn.c(__XmlNode.of(_TSi, input[_HED]
|
|
4953
|
+
bn.c(__XmlNode.of(_TSi, __serializeDateTime(input[_HED])).n(_HED));
|
|
4954
4954
|
}
|
|
4955
4955
|
if (input[_RCe] != null) {
|
|
4956
4956
|
bn.c(__XmlNode.of(_Bo, String(input[_RCe])).n(_RCe));
|
|
@@ -4977,7 +4977,7 @@ const se_S3ReplicateObjectOperation = (input, context) => {
|
|
|
4977
4977
|
const se_S3Retention = (input, context) => {
|
|
4978
4978
|
const bn = new __XmlNode(_SR);
|
|
4979
4979
|
if (input[_RUD] != null) {
|
|
4980
|
-
bn.c(__XmlNode.of(_TSi, input[_RUD]
|
|
4980
|
+
bn.c(__XmlNode.of(_TSi, __serializeDateTime(input[_RUD])).n(_RUD));
|
|
4981
4981
|
}
|
|
4982
4982
|
if (input[_Mo] != null) {
|
|
4983
4983
|
bn.c(__XmlNode.of(_SOLRM, input[_Mo]).n(_Mo));
|
|
@@ -5286,7 +5286,7 @@ const se_TagList = (input, context) => {
|
|
|
5286
5286
|
const se_Transition = (input, context) => {
|
|
5287
5287
|
const bn = new __XmlNode(_Tra);
|
|
5288
5288
|
if (input[_Da] != null) {
|
|
5289
|
-
bn.c(__XmlNode.of(_Da, input[_Da]
|
|
5289
|
+
bn.c(__XmlNode.of(_Da, __serializeDateTime(input[_Da])).n(_Da));
|
|
5290
5290
|
}
|
|
5291
5291
|
if (input[_Day] != null) {
|
|
5292
5292
|
bn.c(__XmlNode.of(_Day, String(input[_Day])).n(_Day));
|
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.587.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3-control",
|
|
@@ -22,23 +22,23 @@
|
|
|
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-sso-oidc": "3.
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.587.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.587.0",
|
|
27
|
+
"@aws-sdk/core": "3.587.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.587.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
32
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
34
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.587.0",
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
35
35
|
"@aws-sdk/types": "3.577.0",
|
|
36
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
37
37
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
38
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
39
39
|
"@aws-sdk/xml-builder": "3.575.0",
|
|
40
|
-
"@smithy/config-resolver": "^3.0.
|
|
41
|
-
"@smithy/core": "^2.
|
|
40
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
41
|
+
"@smithy/core": "^2.1.1",
|
|
42
42
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
43
43
|
"@smithy/hash-blob-browser": "^3.0.0",
|
|
44
44
|
"@smithy/hash-node": "^3.0.0",
|
|
@@ -47,22 +47,22 @@
|
|
|
47
47
|
"@smithy/md5-js": "^3.0.0",
|
|
48
48
|
"@smithy/middleware-apply-body-checksum": "^3.0.0",
|
|
49
49
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
50
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
51
|
-
"@smithy/middleware-retry": "^3.0.
|
|
50
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
51
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
52
52
|
"@smithy/middleware-serde": "^3.0.0",
|
|
53
53
|
"@smithy/middleware-stack": "^3.0.0",
|
|
54
|
-
"@smithy/node-config-provider": "^3.
|
|
54
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
55
55
|
"@smithy/node-http-handler": "^3.0.0",
|
|
56
56
|
"@smithy/protocol-http": "^4.0.0",
|
|
57
|
-
"@smithy/smithy-client": "^3.
|
|
57
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
58
58
|
"@smithy/types": "^3.0.0",
|
|
59
59
|
"@smithy/url-parser": "^3.0.0",
|
|
60
60
|
"@smithy/util-base64": "^3.0.0",
|
|
61
61
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
62
62
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
63
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
64
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
65
|
-
"@smithy/util-endpoints": "^2.0.
|
|
63
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
64
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
65
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
66
66
|
"@smithy/util-middleware": "^3.0.0",
|
|
67
67
|
"@smithy/util-retry": "^3.0.0",
|
|
68
68
|
"@smithy/util-utf8": "^3.0.0",
|