@aws-sdk/client-s3 3.52.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist-cjs/S3.js +15 -0
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +2 -0
- package/dist-cjs/commands/DeleteObjectsCommand.js +6 -2
- package/dist-cjs/commands/GetObjectAttributesCommand.js +40 -0
- package/dist-cjs/commands/GetObjectCommand.js +7 -0
- package/dist-cjs/commands/ListPartsCommand.js +2 -0
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
- package/dist-cjs/commands/PutBucketAclCommand.js +6 -2
- package/dist-cjs/commands/PutBucketCorsCommand.js +6 -2
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +6 -2
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
- package/dist-cjs/commands/PutBucketLoggingCommand.js +6 -2
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-cjs/commands/PutBucketPolicyCommand.js +6 -2
- package/dist-cjs/commands/PutBucketReplicationCommand.js +6 -2
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +6 -2
- package/dist-cjs/commands/PutBucketTaggingCommand.js +6 -2
- package/dist-cjs/commands/PutBucketVersioningCommand.js +6 -2
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +6 -2
- package/dist-cjs/commands/PutObjectAclCommand.js +6 -2
- package/dist-cjs/commands/PutObjectCommand.js +6 -0
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -2
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -2
- package/dist-cjs/commands/PutObjectRetentionCommand.js +9 -5
- package/dist-cjs/commands/PutObjectTaggingCommand.js +9 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +8 -4
- package/dist-cjs/commands/RestoreObjectCommand.js +7 -2
- package/dist-cjs/commands/UploadPartCommand.js +6 -0
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/S3ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +165 -41
- package/dist-cjs/models/models_1.js +51 -1
- package/dist-cjs/protocols/Aws_restXml.js +962 -1057
- package/dist-cjs/runtimeConfig.browser.js +17 -13
- package/dist-cjs/runtimeConfig.js +17 -14
- package/dist-es/S3.js +15 -0
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -0
- package/dist-es/commands/DeleteObjectsCommand.js +6 -2
- package/dist-es/commands/GetObjectAttributesCommand.js +43 -0
- package/dist-es/commands/GetObjectCommand.js +7 -0
- package/dist-es/commands/ListPartsCommand.js +2 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
- package/dist-es/commands/PutBucketAclCommand.js +6 -2
- package/dist-es/commands/PutBucketCorsCommand.js +6 -2
- package/dist-es/commands/PutBucketEncryptionCommand.js +6 -2
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
- package/dist-es/commands/PutBucketLoggingCommand.js +6 -2
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-es/commands/PutBucketPolicyCommand.js +6 -2
- package/dist-es/commands/PutBucketReplicationCommand.js +6 -2
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +6 -2
- package/dist-es/commands/PutBucketTaggingCommand.js +6 -2
- package/dist-es/commands/PutBucketVersioningCommand.js +6 -2
- package/dist-es/commands/PutBucketWebsiteCommand.js +6 -2
- package/dist-es/commands/PutObjectAclCommand.js +6 -2
- package/dist-es/commands/PutObjectCommand.js +6 -0
- package/dist-es/commands/PutObjectLegalHoldCommand.js +6 -2
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -2
- package/dist-es/commands/PutObjectRetentionCommand.js +7 -3
- package/dist-es/commands/PutObjectTaggingCommand.js +7 -3
- package/dist-es/commands/PutPublicAccessBlockCommand.js +7 -3
- package/dist-es/commands/RestoreObjectCommand.js +7 -2
- package/dist-es/commands/UploadPartCommand.js +6 -0
- package/dist-es/commands/WriteGetObjectResponseCommand.js +0 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/S3ServiceException.js +12 -0
- package/dist-es/models/models_0.js +141 -27
- package/dist-es/models/models_1.js +38 -1
- package/dist-es/protocols/Aws_restXml.js +1366 -900
- package/dist-es/runtimeConfig.browser.js +5 -3
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-types/S3.d.ts +332 -90
- package/dist-types/S3Client.d.ts +19 -7
- package/dist-types/commands/CopyObjectCommand.d.ts +11 -5
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +33 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +7 -5
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -1
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +190 -0
- package/dist-types/commands/GetObjectCommand.d.ts +3 -5
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +9 -0
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -3
- package/dist-types/commands/HeadObjectCommand.d.ts +6 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListPartsCommand.d.ts +8 -0
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -8
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +24 -32
- package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/S3ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1065 -406
- package/dist-types/models/models_1.d.ts +434 -48
- package/dist-types/protocols/Aws_restXml.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +3 -1
- package/dist-types/ts3.4/S3.d.ts +5 -0
- package/dist-types/ts3.4/S3Client.d.ts +10 -5
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +300 -114
- package/dist-types/ts3.4/models/models_1.d.ts +135 -1
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +41 -38
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutObjectTaggingCommand = void 0;
|
|
4
|
-
const middleware_apply_body_checksum_1 = require("@aws-sdk/middleware-apply-body-checksum");
|
|
5
4
|
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
5
|
+
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
6
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const
|
|
8
|
+
const models_1_1 = require("../models/models_1");
|
|
9
9
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
10
|
class PutObjectTaggingCommand extends smithy_client_1.Command {
|
|
11
11
|
constructor(input) {
|
|
@@ -15,7 +15,11 @@ class PutObjectTaggingCommand extends smithy_client_1.Command {
|
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
16
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
17
|
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(
|
|
18
|
+
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
19
|
+
input: this.input,
|
|
20
|
+
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
|
+
requestChecksumRequired: true,
|
|
22
|
+
}));
|
|
19
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20
24
|
const { logger } = configuration;
|
|
21
25
|
const clientName = "S3Client";
|
|
@@ -24,8 +28,8 @@ class PutObjectTaggingCommand extends smithy_client_1.Command {
|
|
|
24
28
|
logger,
|
|
25
29
|
clientName,
|
|
26
30
|
commandName,
|
|
27
|
-
inputFilterSensitiveLog:
|
|
28
|
-
outputFilterSensitiveLog:
|
|
31
|
+
inputFilterSensitiveLog: models_1_1.PutObjectTaggingRequest.filterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: models_1_1.PutObjectTaggingOutput.filterSensitiveLog,
|
|
29
33
|
};
|
|
30
34
|
const { requestHandler } = configuration;
|
|
31
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutPublicAccessBlockCommand = void 0;
|
|
4
|
-
const middleware_apply_body_checksum_1 = require("@aws-sdk/middleware-apply-body-checksum");
|
|
5
4
|
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
5
|
+
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
6
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const
|
|
8
|
+
const models_1_1 = require("../models/models_1");
|
|
9
9
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
10
|
class PutPublicAccessBlockCommand extends smithy_client_1.Command {
|
|
11
11
|
constructor(input) {
|
|
@@ -15,7 +15,11 @@ class PutPublicAccessBlockCommand extends smithy_client_1.Command {
|
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
16
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
17
|
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(
|
|
18
|
+
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
19
|
+
input: this.input,
|
|
20
|
+
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
|
+
requestChecksumRequired: true,
|
|
22
|
+
}));
|
|
19
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20
24
|
const { logger } = configuration;
|
|
21
25
|
const clientName = "S3Client";
|
|
@@ -24,7 +28,7 @@ class PutPublicAccessBlockCommand extends smithy_client_1.Command {
|
|
|
24
28
|
logger,
|
|
25
29
|
clientName,
|
|
26
30
|
commandName,
|
|
27
|
-
inputFilterSensitiveLog:
|
|
31
|
+
inputFilterSensitiveLog: models_1_1.PutPublicAccessBlockRequest.filterSensitiveLog,
|
|
28
32
|
outputFilterSensitiveLog: (output) => output,
|
|
29
33
|
};
|
|
30
34
|
const { requestHandler } = configuration;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RestoreObjectCommand = void 0;
|
|
4
4
|
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
5
|
+
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
5
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const models_1_1 = require("../models/models_1");
|
|
9
9
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
10
|
class RestoreObjectCommand extends smithy_client_1.Command {
|
|
@@ -15,6 +15,11 @@ class RestoreObjectCommand extends smithy_client_1.Command {
|
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
16
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
17
|
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
+
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
19
|
+
input: this.input,
|
|
20
|
+
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
|
+
requestChecksumRequired: false,
|
|
22
|
+
}));
|
|
18
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
19
24
|
const { logger } = configuration;
|
|
20
25
|
const clientName = "S3Client";
|
|
@@ -24,7 +29,7 @@ class RestoreObjectCommand extends smithy_client_1.Command {
|
|
|
24
29
|
clientName,
|
|
25
30
|
commandName,
|
|
26
31
|
inputFilterSensitiveLog: models_1_1.RestoreObjectRequest.filterSensitiveLog,
|
|
27
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: models_1_1.RestoreObjectOutput.filterSensitiveLog,
|
|
28
33
|
};
|
|
29
34
|
const { requestHandler } = configuration;
|
|
30
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UploadPartCommand = void 0;
|
|
4
4
|
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
5
|
+
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
5
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
7
|
const middleware_ssec_1 = require("@aws-sdk/middleware-ssec");
|
|
7
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -16,6 +17,11 @@ class UploadPartCommand extends smithy_client_1.Command {
|
|
|
16
17
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
18
|
this.middlewareStack.use(middleware_ssec_1.getSsecPlugin(configuration));
|
|
18
19
|
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
20
|
+
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
21
|
+
input: this.input,
|
|
22
|
+
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
23
|
+
requestChecksumRequired: false,
|
|
24
|
+
}));
|
|
19
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20
26
|
const { logger } = configuration;
|
|
21
27
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WriteGetObjectResponseCommand = void 0;
|
|
4
|
-
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
5
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
6
|
const models_1_1 = require("../models/models_1");
|
|
@@ -13,7 +12,6 @@ class WriteGetObjectResponseCommand extends smithy_client_1.Command {
|
|
|
13
12
|
}
|
|
14
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
17
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
16
|
const { logger } = configuration;
|
|
19
17
|
const clientName = "S3Client";
|
|
@@ -44,6 +44,7 @@ tslib_1.__exportStar(require("./GetBucketTaggingCommand"), exports);
|
|
|
44
44
|
tslib_1.__exportStar(require("./GetBucketVersioningCommand"), exports);
|
|
45
45
|
tslib_1.__exportStar(require("./GetBucketWebsiteCommand"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./GetObjectAclCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetObjectAttributesCommand"), exports);
|
|
47
48
|
tslib_1.__exportStar(require("./GetObjectCommand"), exports);
|
|
48
49
|
tslib_1.__exportStar(require("./GetObjectLegalHoldCommand"), exports);
|
|
49
50
|
tslib_1.__exportStar(require("./GetObjectLockConfigurationCommand"), exports);
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.S3ServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./S3"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./S3Client"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var S3ServiceException_1 = require("./models/S3ServiceException");
|
|
12
|
+
Object.defineProperty(exports, "S3ServiceException", { enumerable: true, get: function () { return S3ServiceException_1.S3ServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.S3ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class S3ServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, S3ServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.S3ServiceException = S3ServiceException;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
3
|
+
exports.DeletePublicAccessBlockRequest = exports.DeleteObjectTaggingRequest = exports.DeleteObjectTaggingOutput = exports.DeleteObjectsRequest = exports.Delete = exports.ObjectIdentifier = exports.DeleteObjectsOutput = exports._Error = exports.DeletedObject = exports.DeleteObjectRequest = exports.DeleteObjectOutput = exports.DeleteBucketWebsiteRequest = exports.DeleteBucketTaggingRequest = exports.DeleteBucketReplicationRequest = exports.DeleteBucketPolicyRequest = exports.DeleteBucketOwnershipControlsRequest = exports.DeleteBucketMetricsConfigurationRequest = exports.DeleteBucketLifecycleRequest = exports.DeleteBucketInventoryConfigurationRequest = exports.DeleteBucketIntelligentTieringConfigurationRequest = exports.DeleteBucketEncryptionRequest = exports.DeleteBucketCorsRequest = exports.DeleteBucketAnalyticsConfigurationRequest = exports.DeleteBucketRequest = exports.CreateMultipartUploadRequest = exports.CreateMultipartUploadOutput = exports.CreateBucketRequest = exports.CreateBucketConfiguration = exports.CreateBucketOutput = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.CopyObjectRequest = exports.ChecksumAlgorithm = exports.CopyObjectOutput = exports.CopyObjectResult = exports.CompleteMultipartUploadRequest = exports.CompletedMultipartUpload = exports.CompletedPart = exports.CompleteMultipartUploadOutput = exports.AccessControlTranslation = exports.AccessControlPolicy = exports.Owner = exports.Grant = exports.Grantee = exports.AccelerateConfiguration = exports.NoSuchUpload = exports.AbortMultipartUploadRequest = exports.AbortMultipartUploadOutput = exports.AbortIncompleteMultipartUpload = void 0;
|
|
4
|
+
exports.TargetGrant = exports.GetBucketLocationRequest = exports.GetBucketLocationOutput = exports.GetBucketLifecycleConfigurationRequest = exports.GetBucketLifecycleConfigurationOutput = exports.LifecycleRule = exports.Transition = exports.NoncurrentVersionTransition = exports.NoncurrentVersionExpiration = exports.LifecycleRuleFilter = exports.LifecycleRuleAndOperator = exports.LifecycleExpiration = exports.GetBucketInventoryConfigurationRequest = exports.GetBucketInventoryConfigurationOutput = exports.InventoryConfiguration = exports.InventorySchedule = exports.InventoryFilter = exports.InventoryDestination = exports.InventoryS3BucketDestination = exports.InventoryEncryption = exports.SSES3 = exports.SSEKMS = exports.GetBucketIntelligentTieringConfigurationRequest = exports.GetBucketIntelligentTieringConfigurationOutput = exports.IntelligentTieringConfiguration = exports.Tiering = exports.IntelligentTieringFilter = exports.IntelligentTieringAndOperator = exports.GetBucketEncryptionRequest = exports.GetBucketEncryptionOutput = exports.ServerSideEncryptionConfiguration = exports.ServerSideEncryptionRule = exports.ServerSideEncryptionByDefault = exports.GetBucketCorsRequest = exports.GetBucketCorsOutput = exports.CORSRule = exports.GetBucketAnalyticsConfigurationRequest = exports.GetBucketAnalyticsConfigurationOutput = exports.AnalyticsConfiguration = exports.StorageClassAnalysis = exports.StorageClassAnalysisDataExport = exports.AnalyticsExportDestination = exports.AnalyticsS3BucketDestination = exports.AnalyticsFilter = exports.AnalyticsAndOperator = exports.Tag = exports.GetBucketAclRequest = exports.GetBucketAclOutput = exports.GetBucketAccelerateConfigurationRequest = exports.GetBucketAccelerateConfigurationOutput = void 0;
|
|
5
|
+
exports.IndexDocument = exports.ErrorDocument = exports.GetBucketVersioningRequest = exports.GetBucketVersioningOutput = exports.GetBucketTaggingRequest = exports.GetBucketTaggingOutput = exports.GetBucketRequestPaymentRequest = exports.GetBucketRequestPaymentOutput = exports.GetBucketReplicationRequest = exports.GetBucketReplicationOutput = exports.ReplicationConfiguration = exports.ReplicationRule = exports.SourceSelectionCriteria = exports.SseKmsEncryptedObjects = exports.ReplicaModifications = exports.ReplicationRuleFilter = exports.ReplicationRuleAndOperator = exports.ExistingObjectReplication = exports.Destination = exports.ReplicationTime = exports.Metrics = exports.ReplicationTimeValue = exports.EncryptionConfiguration = exports.DeleteMarkerReplication = exports.GetBucketPolicyStatusRequest = exports.GetBucketPolicyStatusOutput = exports.PolicyStatus = exports.GetBucketPolicyRequest = exports.GetBucketPolicyOutput = exports.GetBucketOwnershipControlsRequest = exports.GetBucketOwnershipControlsOutput = exports.OwnershipControls = exports.OwnershipControlsRule = exports.NotificationConfiguration = exports.TopicConfiguration = exports.QueueConfiguration = exports.LambdaFunctionConfiguration = exports.NotificationConfigurationFilter = exports.S3KeyFilter = exports.FilterRule = exports.EventBridgeConfiguration = exports.GetBucketNotificationConfigurationRequest = exports.GetBucketMetricsConfigurationRequest = exports.GetBucketMetricsConfigurationOutput = exports.MetricsConfiguration = exports.MetricsFilter = exports.MetricsAndOperator = exports.GetBucketLoggingRequest = exports.GetBucketLoggingOutput = exports.LoggingEnabled = void 0;
|
|
6
|
+
exports.Bucket = exports.ListBucketMetricsConfigurationsRequest = exports.ListBucketMetricsConfigurationsOutput = exports.ListBucketInventoryConfigurationsRequest = exports.ListBucketInventoryConfigurationsOutput = exports.ListBucketIntelligentTieringConfigurationsRequest = exports.ListBucketIntelligentTieringConfigurationsOutput = exports.ListBucketAnalyticsConfigurationsRequest = exports.ListBucketAnalyticsConfigurationsOutput = exports.HeadObjectRequest = exports.HeadObjectOutput = exports.NotFound = exports.HeadBucketRequest = exports.GetPublicAccessBlockRequest = exports.GetPublicAccessBlockOutput = exports.PublicAccessBlockConfiguration = exports.GetObjectTorrentRequest = exports.GetObjectTorrentOutput = exports.GetObjectTaggingRequest = exports.GetObjectTaggingOutput = exports.GetObjectRetentionRequest = exports.GetObjectRetentionOutput = exports.ObjectLockRetention = exports.GetObjectLockConfigurationRequest = exports.GetObjectLockConfigurationOutput = exports.ObjectLockConfiguration = exports.ObjectLockRule = exports.DefaultRetention = exports.GetObjectLegalHoldRequest = exports.GetObjectLegalHoldOutput = exports.ObjectLockLegalHold = exports.GetObjectAttributesRequest = exports.ObjectAttributes = exports.GetObjectAttributesOutput = exports.GetObjectAttributesParts = exports.ObjectPart = exports.Checksum = exports.GetObjectAclRequest = exports.GetObjectAclOutput = exports.NoSuchKey = exports.InvalidObjectState = exports.GetObjectRequest = exports.ChecksumMode = exports.GetObjectOutput = exports.GetBucketWebsiteRequest = exports.GetBucketWebsiteOutput = exports.RoutingRule = exports.Redirect = exports.Condition = exports.RedirectAllRequestsTo = void 0;
|
|
7
|
+
exports.PutObjectLegalHoldRequest = exports.PutObjectLegalHoldOutput = exports.PutObjectAclRequest = exports.PutObjectAclOutput = exports.PutObjectRequest = exports.PutObjectOutput = exports.PutBucketWebsiteRequest = exports.WebsiteConfiguration = exports.PutBucketVersioningRequest = exports.VersioningConfiguration = exports.PutBucketTaggingRequest = exports.Tagging = exports.PutBucketRequestPaymentRequest = exports.RequestPaymentConfiguration = exports.PutBucketReplicationRequest = exports.PutBucketPolicyRequest = exports.PutBucketOwnershipControlsRequest = exports.PutBucketNotificationConfigurationRequest = exports.PutBucketMetricsConfigurationRequest = exports.PutBucketLoggingRequest = exports.BucketLoggingStatus = exports.PutBucketLifecycleConfigurationRequest = exports.BucketLifecycleConfiguration = exports.PutBucketInventoryConfigurationRequest = exports.PutBucketIntelligentTieringConfigurationRequest = exports.PutBucketEncryptionRequest = exports.PutBucketCorsRequest = exports.CORSConfiguration = exports.PutBucketAnalyticsConfigurationRequest = exports.PutBucketAclRequest = exports.PutBucketAccelerateConfigurationRequest = exports.ListPartsRequest = exports.ListPartsOutput = exports.Part = exports.ListObjectVersionsRequest = exports.ListObjectVersionsOutput = exports.ObjectVersion = exports.DeleteMarkerEntry = exports.ListObjectsV2Request = exports.ListObjectsV2Output = exports.NoSuchBucket = exports.ListObjectsRequest = exports.ListObjectsOutput = exports._Object = exports.ListMultipartUploadsRequest = exports.ListMultipartUploadsOutput = exports.MultipartUpload = exports.Initiator = exports.CommonPrefix = exports.ListBucketsOutput = void 0;
|
|
8
|
+
exports.PutObjectLockConfigurationRequest = exports.PutObjectLockConfigurationOutput = void 0;
|
|
8
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
|
+
const S3ServiceException_1 = require("./S3ServiceException");
|
|
9
11
|
var AbortIncompleteMultipartUpload;
|
|
10
12
|
(function (AbortIncompleteMultipartUpload) {
|
|
11
13
|
AbortIncompleteMultipartUpload.filterSensitiveLog = (obj) => ({
|
|
@@ -24,6 +26,19 @@ var AbortMultipartUploadRequest;
|
|
|
24
26
|
...obj,
|
|
25
27
|
});
|
|
26
28
|
})(AbortMultipartUploadRequest = exports.AbortMultipartUploadRequest || (exports.AbortMultipartUploadRequest = {}));
|
|
29
|
+
class NoSuchUpload extends S3ServiceException_1.S3ServiceException {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "NoSuchUpload",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
this.name = "NoSuchUpload";
|
|
37
|
+
this.$fault = "client";
|
|
38
|
+
Object.setPrototypeOf(this, NoSuchUpload.prototype);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.NoSuchUpload = NoSuchUpload;
|
|
27
42
|
var AccelerateConfiguration;
|
|
28
43
|
(function (AccelerateConfiguration) {
|
|
29
44
|
AccelerateConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -83,6 +98,7 @@ var CompleteMultipartUploadRequest;
|
|
|
83
98
|
(function (CompleteMultipartUploadRequest) {
|
|
84
99
|
CompleteMultipartUploadRequest.filterSensitiveLog = (obj) => ({
|
|
85
100
|
...obj,
|
|
101
|
+
...(obj.SSECustomerKey && { SSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
|
|
86
102
|
});
|
|
87
103
|
})(CompleteMultipartUploadRequest = exports.CompleteMultipartUploadRequest || (exports.CompleteMultipartUploadRequest = {}));
|
|
88
104
|
var CopyObjectResult;
|
|
@@ -99,6 +115,13 @@ var CopyObjectOutput;
|
|
|
99
115
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: smithy_client_1.SENSITIVE_STRING }),
|
|
100
116
|
});
|
|
101
117
|
})(CopyObjectOutput = exports.CopyObjectOutput || (exports.CopyObjectOutput = {}));
|
|
118
|
+
var ChecksumAlgorithm;
|
|
119
|
+
(function (ChecksumAlgorithm) {
|
|
120
|
+
ChecksumAlgorithm["CRC32"] = "CRC32";
|
|
121
|
+
ChecksumAlgorithm["CRC32C"] = "CRC32C";
|
|
122
|
+
ChecksumAlgorithm["SHA1"] = "SHA1";
|
|
123
|
+
ChecksumAlgorithm["SHA256"] = "SHA256";
|
|
124
|
+
})(ChecksumAlgorithm = exports.ChecksumAlgorithm || (exports.ChecksumAlgorithm = {}));
|
|
102
125
|
var CopyObjectRequest;
|
|
103
126
|
(function (CopyObjectRequest) {
|
|
104
127
|
CopyObjectRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -109,6 +132,45 @@ var CopyObjectRequest;
|
|
|
109
132
|
...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
|
|
110
133
|
});
|
|
111
134
|
})(CopyObjectRequest = exports.CopyObjectRequest || (exports.CopyObjectRequest = {}));
|
|
135
|
+
class ObjectNotInActiveTierError extends S3ServiceException_1.S3ServiceException {
|
|
136
|
+
constructor(opts) {
|
|
137
|
+
super({
|
|
138
|
+
name: "ObjectNotInActiveTierError",
|
|
139
|
+
$fault: "client",
|
|
140
|
+
...opts,
|
|
141
|
+
});
|
|
142
|
+
this.name = "ObjectNotInActiveTierError";
|
|
143
|
+
this.$fault = "client";
|
|
144
|
+
Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.ObjectNotInActiveTierError = ObjectNotInActiveTierError;
|
|
148
|
+
class BucketAlreadyExists extends S3ServiceException_1.S3ServiceException {
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "BucketAlreadyExists",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
this.name = "BucketAlreadyExists";
|
|
156
|
+
this.$fault = "client";
|
|
157
|
+
Object.setPrototypeOf(this, BucketAlreadyExists.prototype);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.BucketAlreadyExists = BucketAlreadyExists;
|
|
161
|
+
class BucketAlreadyOwnedByYou extends S3ServiceException_1.S3ServiceException {
|
|
162
|
+
constructor(opts) {
|
|
163
|
+
super({
|
|
164
|
+
name: "BucketAlreadyOwnedByYou",
|
|
165
|
+
$fault: "client",
|
|
166
|
+
...opts,
|
|
167
|
+
});
|
|
168
|
+
this.name = "BucketAlreadyOwnedByYou";
|
|
169
|
+
this.$fault = "client";
|
|
170
|
+
Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.BucketAlreadyOwnedByYou = BucketAlreadyOwnedByYou;
|
|
112
174
|
var CreateBucketOutput;
|
|
113
175
|
(function (CreateBucketOutput) {
|
|
114
176
|
CreateBucketOutput.filterSensitiveLog = (obj) => ({
|
|
@@ -1040,6 +1102,10 @@ var GetObjectOutput;
|
|
|
1040
1102
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: smithy_client_1.SENSITIVE_STRING }),
|
|
1041
1103
|
});
|
|
1042
1104
|
})(GetObjectOutput = exports.GetObjectOutput || (exports.GetObjectOutput = {}));
|
|
1105
|
+
var ChecksumMode;
|
|
1106
|
+
(function (ChecksumMode) {
|
|
1107
|
+
ChecksumMode["ENABLED"] = "ENABLED";
|
|
1108
|
+
})(ChecksumMode = exports.ChecksumMode || (exports.ChecksumMode = {}));
|
|
1043
1109
|
var GetObjectRequest;
|
|
1044
1110
|
(function (GetObjectRequest) {
|
|
1045
1111
|
GetObjectRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1047,6 +1113,34 @@ var GetObjectRequest;
|
|
|
1047
1113
|
...(obj.SSECustomerKey && { SSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
|
|
1048
1114
|
});
|
|
1049
1115
|
})(GetObjectRequest = exports.GetObjectRequest || (exports.GetObjectRequest = {}));
|
|
1116
|
+
class InvalidObjectState extends S3ServiceException_1.S3ServiceException {
|
|
1117
|
+
constructor(opts) {
|
|
1118
|
+
super({
|
|
1119
|
+
name: "InvalidObjectState",
|
|
1120
|
+
$fault: "client",
|
|
1121
|
+
...opts,
|
|
1122
|
+
});
|
|
1123
|
+
this.name = "InvalidObjectState";
|
|
1124
|
+
this.$fault = "client";
|
|
1125
|
+
Object.setPrototypeOf(this, InvalidObjectState.prototype);
|
|
1126
|
+
this.StorageClass = opts.StorageClass;
|
|
1127
|
+
this.AccessTier = opts.AccessTier;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
exports.InvalidObjectState = InvalidObjectState;
|
|
1131
|
+
class NoSuchKey extends S3ServiceException_1.S3ServiceException {
|
|
1132
|
+
constructor(opts) {
|
|
1133
|
+
super({
|
|
1134
|
+
name: "NoSuchKey",
|
|
1135
|
+
$fault: "client",
|
|
1136
|
+
...opts,
|
|
1137
|
+
});
|
|
1138
|
+
this.name = "NoSuchKey";
|
|
1139
|
+
this.$fault = "client";
|
|
1140
|
+
Object.setPrototypeOf(this, NoSuchKey.prototype);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
exports.NoSuchKey = NoSuchKey;
|
|
1050
1144
|
var GetObjectAclOutput;
|
|
1051
1145
|
(function (GetObjectAclOutput) {
|
|
1052
1146
|
GetObjectAclOutput.filterSensitiveLog = (obj) => ({
|
|
@@ -1059,6 +1153,45 @@ var GetObjectAclRequest;
|
|
|
1059
1153
|
...obj,
|
|
1060
1154
|
});
|
|
1061
1155
|
})(GetObjectAclRequest = exports.GetObjectAclRequest || (exports.GetObjectAclRequest = {}));
|
|
1156
|
+
var Checksum;
|
|
1157
|
+
(function (Checksum) {
|
|
1158
|
+
Checksum.filterSensitiveLog = (obj) => ({
|
|
1159
|
+
...obj,
|
|
1160
|
+
});
|
|
1161
|
+
})(Checksum = exports.Checksum || (exports.Checksum = {}));
|
|
1162
|
+
var ObjectPart;
|
|
1163
|
+
(function (ObjectPart) {
|
|
1164
|
+
ObjectPart.filterSensitiveLog = (obj) => ({
|
|
1165
|
+
...obj,
|
|
1166
|
+
});
|
|
1167
|
+
})(ObjectPart = exports.ObjectPart || (exports.ObjectPart = {}));
|
|
1168
|
+
var GetObjectAttributesParts;
|
|
1169
|
+
(function (GetObjectAttributesParts) {
|
|
1170
|
+
GetObjectAttributesParts.filterSensitiveLog = (obj) => ({
|
|
1171
|
+
...obj,
|
|
1172
|
+
});
|
|
1173
|
+
})(GetObjectAttributesParts = exports.GetObjectAttributesParts || (exports.GetObjectAttributesParts = {}));
|
|
1174
|
+
var GetObjectAttributesOutput;
|
|
1175
|
+
(function (GetObjectAttributesOutput) {
|
|
1176
|
+
GetObjectAttributesOutput.filterSensitiveLog = (obj) => ({
|
|
1177
|
+
...obj,
|
|
1178
|
+
});
|
|
1179
|
+
})(GetObjectAttributesOutput = exports.GetObjectAttributesOutput || (exports.GetObjectAttributesOutput = {}));
|
|
1180
|
+
var ObjectAttributes;
|
|
1181
|
+
(function (ObjectAttributes) {
|
|
1182
|
+
ObjectAttributes["CHECKSUM"] = "Checksum";
|
|
1183
|
+
ObjectAttributes["ETAG"] = "ETag";
|
|
1184
|
+
ObjectAttributes["OBJECT_PARTS"] = "ObjectParts";
|
|
1185
|
+
ObjectAttributes["OBJECT_SIZE"] = "ObjectSize";
|
|
1186
|
+
ObjectAttributes["STORAGE_CLASS"] = "StorageClass";
|
|
1187
|
+
})(ObjectAttributes = exports.ObjectAttributes || (exports.ObjectAttributes = {}));
|
|
1188
|
+
var GetObjectAttributesRequest;
|
|
1189
|
+
(function (GetObjectAttributesRequest) {
|
|
1190
|
+
GetObjectAttributesRequest.filterSensitiveLog = (obj) => ({
|
|
1191
|
+
...obj,
|
|
1192
|
+
...(obj.SSECustomerKey && { SSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
|
|
1193
|
+
});
|
|
1194
|
+
})(GetObjectAttributesRequest = exports.GetObjectAttributesRequest || (exports.GetObjectAttributesRequest = {}));
|
|
1062
1195
|
var ObjectLockLegalHold;
|
|
1063
1196
|
(function (ObjectLockLegalHold) {
|
|
1064
1197
|
ObjectLockLegalHold.filterSensitiveLog = (obj) => ({
|
|
@@ -1173,6 +1306,19 @@ var HeadBucketRequest;
|
|
|
1173
1306
|
...obj,
|
|
1174
1307
|
});
|
|
1175
1308
|
})(HeadBucketRequest = exports.HeadBucketRequest || (exports.HeadBucketRequest = {}));
|
|
1309
|
+
class NotFound extends S3ServiceException_1.S3ServiceException {
|
|
1310
|
+
constructor(opts) {
|
|
1311
|
+
super({
|
|
1312
|
+
name: "NotFound",
|
|
1313
|
+
$fault: "client",
|
|
1314
|
+
...opts,
|
|
1315
|
+
});
|
|
1316
|
+
this.name = "NotFound";
|
|
1317
|
+
this.$fault = "client";
|
|
1318
|
+
Object.setPrototypeOf(this, NotFound.prototype);
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
exports.NotFound = NotFound;
|
|
1176
1322
|
var HeadObjectOutput;
|
|
1177
1323
|
(function (HeadObjectOutput) {
|
|
1178
1324
|
HeadObjectOutput.filterSensitiveLog = (obj) => ({
|
|
@@ -1304,6 +1450,19 @@ var ListObjectsRequest;
|
|
|
1304
1450
|
...obj,
|
|
1305
1451
|
});
|
|
1306
1452
|
})(ListObjectsRequest = exports.ListObjectsRequest || (exports.ListObjectsRequest = {}));
|
|
1453
|
+
class NoSuchBucket extends S3ServiceException_1.S3ServiceException {
|
|
1454
|
+
constructor(opts) {
|
|
1455
|
+
super({
|
|
1456
|
+
name: "NoSuchBucket",
|
|
1457
|
+
$fault: "client",
|
|
1458
|
+
...opts,
|
|
1459
|
+
});
|
|
1460
|
+
this.name = "NoSuchBucket";
|
|
1461
|
+
this.$fault = "client";
|
|
1462
|
+
Object.setPrototypeOf(this, NoSuchBucket.prototype);
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
exports.NoSuchBucket = NoSuchBucket;
|
|
1307
1466
|
var ListObjectsV2Output;
|
|
1308
1467
|
(function (ListObjectsV2Output) {
|
|
1309
1468
|
ListObjectsV2Output.filterSensitiveLog = (obj) => ({
|
|
@@ -1356,6 +1515,7 @@ var ListPartsRequest;
|
|
|
1356
1515
|
(function (ListPartsRequest) {
|
|
1357
1516
|
ListPartsRequest.filterSensitiveLog = (obj) => ({
|
|
1358
1517
|
...obj,
|
|
1518
|
+
...(obj.SSECustomerKey && { SSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
|
|
1359
1519
|
});
|
|
1360
1520
|
})(ListPartsRequest = exports.ListPartsRequest || (exports.ListPartsRequest = {}));
|
|
1361
1521
|
var PutBucketAccelerateConfigurationRequest;
|
|
@@ -1580,39 +1740,3 @@ var PutObjectLockConfigurationRequest;
|
|
|
1580
1740
|
...obj,
|
|
1581
1741
|
});
|
|
1582
1742
|
})(PutObjectLockConfigurationRequest = exports.PutObjectLockConfigurationRequest || (exports.PutObjectLockConfigurationRequest = {}));
|
|
1583
|
-
var PutObjectRetentionOutput;
|
|
1584
|
-
(function (PutObjectRetentionOutput) {
|
|
1585
|
-
PutObjectRetentionOutput.filterSensitiveLog = (obj) => ({
|
|
1586
|
-
...obj,
|
|
1587
|
-
});
|
|
1588
|
-
})(PutObjectRetentionOutput = exports.PutObjectRetentionOutput || (exports.PutObjectRetentionOutput = {}));
|
|
1589
|
-
var PutObjectRetentionRequest;
|
|
1590
|
-
(function (PutObjectRetentionRequest) {
|
|
1591
|
-
PutObjectRetentionRequest.filterSensitiveLog = (obj) => ({
|
|
1592
|
-
...obj,
|
|
1593
|
-
});
|
|
1594
|
-
})(PutObjectRetentionRequest = exports.PutObjectRetentionRequest || (exports.PutObjectRetentionRequest = {}));
|
|
1595
|
-
var PutObjectTaggingOutput;
|
|
1596
|
-
(function (PutObjectTaggingOutput) {
|
|
1597
|
-
PutObjectTaggingOutput.filterSensitiveLog = (obj) => ({
|
|
1598
|
-
...obj,
|
|
1599
|
-
});
|
|
1600
|
-
})(PutObjectTaggingOutput = exports.PutObjectTaggingOutput || (exports.PutObjectTaggingOutput = {}));
|
|
1601
|
-
var PutObjectTaggingRequest;
|
|
1602
|
-
(function (PutObjectTaggingRequest) {
|
|
1603
|
-
PutObjectTaggingRequest.filterSensitiveLog = (obj) => ({
|
|
1604
|
-
...obj,
|
|
1605
|
-
});
|
|
1606
|
-
})(PutObjectTaggingRequest = exports.PutObjectTaggingRequest || (exports.PutObjectTaggingRequest = {}));
|
|
1607
|
-
var PutPublicAccessBlockRequest;
|
|
1608
|
-
(function (PutPublicAccessBlockRequest) {
|
|
1609
|
-
PutPublicAccessBlockRequest.filterSensitiveLog = (obj) => ({
|
|
1610
|
-
...obj,
|
|
1611
|
-
});
|
|
1612
|
-
})(PutPublicAccessBlockRequest = exports.PutPublicAccessBlockRequest || (exports.PutPublicAccessBlockRequest = {}));
|
|
1613
|
-
var RestoreObjectOutput;
|
|
1614
|
-
(function (RestoreObjectOutput) {
|
|
1615
|
-
RestoreObjectOutput.filterSensitiveLog = (obj) => ({
|
|
1616
|
-
...obj,
|
|
1617
|
-
});
|
|
1618
|
-
})(RestoreObjectOutput = exports.RestoreObjectOutput || (exports.RestoreObjectOutput = {}));
|
|
@@ -1,7 +1,57 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WriteGetObjectResponseRequest = exports.UploadPartCopyRequest = exports.UploadPartCopyOutput = exports.CopyPartResult = exports.UploadPartRequest = exports.UploadPartOutput = exports.SelectObjectContentRequest = exports.ScanRange = exports.RequestProgress = exports.SelectObjectContentOutput = exports.SelectObjectContentEventStream = exports.StatsEvent = exports.Stats = exports.RecordsEvent = exports.ProgressEvent = exports.Progress = exports.EndEvent = exports.ContinuationEvent = exports.RestoreObjectRequest = exports.RestoreRequest = exports.RestoreRequestType = exports.SelectParameters = exports.OutputSerialization = exports.JSONOutput = exports.CSVOutput = exports.QuoteFields = exports.InputSerialization = exports.ParquetInput = exports.JSONInput = exports.JSONType = exports.CSVInput = exports.FileHeaderInfo = exports.OutputLocation = exports.S3Location = exports.MetadataEntry = exports.Encryption = exports.GlacierJobParameters = void 0;
|
|
3
|
+
exports.WriteGetObjectResponseRequest = exports.UploadPartCopyRequest = exports.UploadPartCopyOutput = exports.CopyPartResult = exports.UploadPartRequest = exports.UploadPartOutput = exports.SelectObjectContentRequest = exports.ScanRange = exports.RequestProgress = exports.SelectObjectContentOutput = exports.SelectObjectContentEventStream = exports.StatsEvent = exports.Stats = exports.RecordsEvent = exports.ProgressEvent = exports.Progress = exports.EndEvent = exports.ContinuationEvent = exports.RestoreObjectRequest = exports.RestoreRequest = exports.RestoreRequestType = exports.SelectParameters = exports.OutputSerialization = exports.JSONOutput = exports.CSVOutput = exports.QuoteFields = exports.InputSerialization = exports.ParquetInput = exports.JSONInput = exports.JSONType = exports.CSVInput = exports.FileHeaderInfo = exports.OutputLocation = exports.S3Location = exports.MetadataEntry = exports.Encryption = exports.GlacierJobParameters = exports.RestoreObjectOutput = exports.ObjectAlreadyInActiveTierError = exports.PutPublicAccessBlockRequest = exports.PutObjectTaggingRequest = exports.PutObjectTaggingOutput = exports.PutObjectRetentionRequest = exports.PutObjectRetentionOutput = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const S3ServiceException_1 = require("./S3ServiceException");
|
|
6
|
+
var PutObjectRetentionOutput;
|
|
7
|
+
(function (PutObjectRetentionOutput) {
|
|
8
|
+
PutObjectRetentionOutput.filterSensitiveLog = (obj) => ({
|
|
9
|
+
...obj,
|
|
10
|
+
});
|
|
11
|
+
})(PutObjectRetentionOutput = exports.PutObjectRetentionOutput || (exports.PutObjectRetentionOutput = {}));
|
|
12
|
+
var PutObjectRetentionRequest;
|
|
13
|
+
(function (PutObjectRetentionRequest) {
|
|
14
|
+
PutObjectRetentionRequest.filterSensitiveLog = (obj) => ({
|
|
15
|
+
...obj,
|
|
16
|
+
});
|
|
17
|
+
})(PutObjectRetentionRequest = exports.PutObjectRetentionRequest || (exports.PutObjectRetentionRequest = {}));
|
|
18
|
+
var PutObjectTaggingOutput;
|
|
19
|
+
(function (PutObjectTaggingOutput) {
|
|
20
|
+
PutObjectTaggingOutput.filterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
});
|
|
23
|
+
})(PutObjectTaggingOutput = exports.PutObjectTaggingOutput || (exports.PutObjectTaggingOutput = {}));
|
|
24
|
+
var PutObjectTaggingRequest;
|
|
25
|
+
(function (PutObjectTaggingRequest) {
|
|
26
|
+
PutObjectTaggingRequest.filterSensitiveLog = (obj) => ({
|
|
27
|
+
...obj,
|
|
28
|
+
});
|
|
29
|
+
})(PutObjectTaggingRequest = exports.PutObjectTaggingRequest || (exports.PutObjectTaggingRequest = {}));
|
|
30
|
+
var PutPublicAccessBlockRequest;
|
|
31
|
+
(function (PutPublicAccessBlockRequest) {
|
|
32
|
+
PutPublicAccessBlockRequest.filterSensitiveLog = (obj) => ({
|
|
33
|
+
...obj,
|
|
34
|
+
});
|
|
35
|
+
})(PutPublicAccessBlockRequest = exports.PutPublicAccessBlockRequest || (exports.PutPublicAccessBlockRequest = {}));
|
|
36
|
+
class ObjectAlreadyInActiveTierError extends S3ServiceException_1.S3ServiceException {
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "ObjectAlreadyInActiveTierError",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
this.name = "ObjectAlreadyInActiveTierError";
|
|
44
|
+
this.$fault = "client";
|
|
45
|
+
Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.ObjectAlreadyInActiveTierError = ObjectAlreadyInActiveTierError;
|
|
49
|
+
var RestoreObjectOutput;
|
|
50
|
+
(function (RestoreObjectOutput) {
|
|
51
|
+
RestoreObjectOutput.filterSensitiveLog = (obj) => ({
|
|
52
|
+
...obj,
|
|
53
|
+
});
|
|
54
|
+
})(RestoreObjectOutput = exports.RestoreObjectOutput || (exports.RestoreObjectOutput = {}));
|
|
5
55
|
var GlacierJobParameters;
|
|
6
56
|
(function (GlacierJobParameters) {
|
|
7
57
|
GlacierJobParameters.filterSensitiveLog = (obj) => ({
|