@aws-sdk/client-s3 3.181.0 → 3.183.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 +8 -0
- package/dist-es/S3.js +374 -381
- package/dist-es/S3Client.js +26 -32
- package/dist-es/commands/AbortMultipartUploadCommand.js +21 -28
- package/dist-es/commands/CompleteMultipartUploadCommand.js +21 -28
- package/dist-es/commands/CopyObjectCommand.js +21 -28
- package/dist-es/commands/CreateBucketCommand.js +21 -28
- package/dist-es/commands/CreateMultipartUploadCommand.js +21 -28
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketCommand.js +22 -29
- package/dist-es/commands/DeleteBucketCorsCommand.js +22 -29
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +22 -29
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +22 -29
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +22 -29
- package/dist-es/commands/DeleteBucketPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteBucketReplicationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketTaggingCommand.js +22 -29
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +22 -29
- package/dist-es/commands/DeleteObjectCommand.js +21 -28
- package/dist-es/commands/DeleteObjectTaggingCommand.js +21 -28
- package/dist-es/commands/DeleteObjectsCommand.js +21 -28
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +22 -29
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketAclCommand.js +21 -28
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketCorsCommand.js +21 -28
- package/dist-es/commands/GetBucketEncryptionCommand.js +21 -28
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketLocationCommand.js +21 -28
- package/dist-es/commands/GetBucketLoggingCommand.js +21 -28
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +21 -28
- package/dist-es/commands/GetBucketPolicyCommand.js +21 -28
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +21 -28
- package/dist-es/commands/GetBucketReplicationCommand.js +21 -28
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +21 -28
- package/dist-es/commands/GetBucketTaggingCommand.js +21 -28
- package/dist-es/commands/GetBucketVersioningCommand.js +21 -28
- package/dist-es/commands/GetBucketWebsiteCommand.js +21 -28
- package/dist-es/commands/GetObjectAclCommand.js +21 -28
- package/dist-es/commands/GetObjectAttributesCommand.js +21 -28
- package/dist-es/commands/GetObjectCommand.js +21 -28
- package/dist-es/commands/GetObjectLegalHoldCommand.js +21 -28
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -28
- package/dist-es/commands/GetObjectRetentionCommand.js +21 -28
- package/dist-es/commands/GetObjectTaggingCommand.js +21 -28
- package/dist-es/commands/GetObjectTorrentCommand.js +21 -28
- package/dist-es/commands/GetPublicAccessBlockCommand.js +21 -28
- package/dist-es/commands/HeadBucketCommand.js +22 -29
- package/dist-es/commands/HeadObjectCommand.js +21 -28
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketsCommand.js +22 -29
- package/dist-es/commands/ListMultipartUploadsCommand.js +21 -28
- package/dist-es/commands/ListObjectVersionsCommand.js +21 -28
- package/dist-es/commands/ListObjectsCommand.js +21 -28
- package/dist-es/commands/ListObjectsV2Command.js +21 -28
- package/dist-es/commands/ListPartsCommand.js +21 -28
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketAclCommand.js +22 -29
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketCorsCommand.js +22 -29
- package/dist-es/commands/PutBucketEncryptionCommand.js +22 -29
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketLoggingCommand.js +22 -29
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +22 -29
- package/dist-es/commands/PutBucketPolicyCommand.js +22 -29
- package/dist-es/commands/PutBucketReplicationCommand.js +22 -29
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +22 -29
- package/dist-es/commands/PutBucketTaggingCommand.js +22 -29
- package/dist-es/commands/PutBucketVersioningCommand.js +22 -29
- package/dist-es/commands/PutBucketWebsiteCommand.js +22 -29
- package/dist-es/commands/PutObjectAclCommand.js +21 -28
- package/dist-es/commands/PutObjectCommand.js +21 -28
- package/dist-es/commands/PutObjectLegalHoldCommand.js +21 -28
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +21 -28
- package/dist-es/commands/PutObjectRetentionCommand.js +21 -28
- package/dist-es/commands/PutObjectTaggingCommand.js +21 -28
- package/dist-es/commands/PutPublicAccessBlockCommand.js +22 -29
- package/dist-es/commands/RestoreObjectCommand.js +21 -28
- package/dist-es/commands/SelectObjectContentCommand.js +21 -28
- package/dist-es/commands/UploadPartCommand.js +21 -28
- package/dist-es/commands/UploadPartCopyCommand.js +21 -28
- package/dist-es/commands/WriteGetObjectResponseCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/S3ServiceException.js +5 -10
- package/dist-es/models/models_0.js +896 -378
- package/dist-es/models/models_1.js +141 -54
- package/dist-es/pagination/ListObjectsV2Paginator.js +25 -68
- package/dist-es/pagination/ListPartsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restXml.js +6891 -9022
- package/dist-es/runtimeConfig.browser.js +31 -12
- package/dist-es/runtimeConfig.js +36 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +11 -14
- package/dist-es/waiters/waitForBucketExists.js +23 -42
- package/dist-es/waiters/waitForBucketNotExists.js +22 -42
- package/dist-es/waiters/waitForObjectExists.js +23 -42
- package/dist-es/waiters/waitForObjectNotExists.js +22 -42
- package/package.json +50 -50
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketLoggingRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketLoggingCommand, serializeAws_restXmlPutBucketLoggingCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketLoggingCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
|
|
@@ -20,28 +17,24 @@ var PutBucketLoggingCommand = (function (_super) {
|
|
|
20
17
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
18
|
requestChecksumRequired: true,
|
|
22
19
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
logger
|
|
29
|
-
clientName
|
|
30
|
-
commandName
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "S3Client";
|
|
23
|
+
const commandName = "PutBucketLoggingCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
31
28
|
inputFilterSensitiveLog: PutBucketLoggingRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
29
|
+
outputFilterSensitiveLog: (output) => output,
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
return stack.resolve(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
PutBucketLoggingCommand.prototype.serialize = function (input, context) {
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
40
35
|
return serializeAws_restXmlPutBucketLoggingCommand(input, context);
|
|
41
|
-
}
|
|
42
|
-
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
43
38
|
return deserializeAws_restXmlPutBucketLoggingCommand(output, context);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}($Command));
|
|
47
|
-
export { PutBucketLoggingCommand };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { PutBucketMetricsConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlPutBucketMetricsConfigurationCommand, serializeAws_restXmlPutBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class PutBucketMetricsConfigurationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3Client";
|
|
17
|
+
const commandName = "PutBucketMetricsConfigurationCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: PutBucketMetricsConfigurationRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
PutBucketMetricsConfigurationCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlPutBucketMetricsConfigurationCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlPutBucketMetricsConfigurationCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { PutBucketMetricsConfigurationCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { PutBucketNotificationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlPutBucketNotificationConfigurationCommand, serializeAws_restXmlPutBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class PutBucketNotificationConfigurationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3Client";
|
|
17
|
+
const commandName = "PutBucketNotificationConfigurationCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: PutBucketNotificationConfigurationRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
PutBucketNotificationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlPutBucketNotificationConfigurationCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlPutBucketNotificationConfigurationCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { PutBucketNotificationConfigurationCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketOwnershipControlsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketOwnershipControlsCommand, serializeAws_restXmlPutBucketOwnershipControlsCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketOwnershipControlsCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, { input: this.input, requestChecksumRequired: true }));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
logger
|
|
25
|
-
clientName
|
|
26
|
-
commandName
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "S3Client";
|
|
19
|
+
const commandName = "PutBucketOwnershipControlsCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
27
24
|
inputFilterSensitiveLog: PutBucketOwnershipControlsRequestFilterSensitiveLog,
|
|
28
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: (output) => output,
|
|
29
26
|
};
|
|
30
|
-
|
|
31
|
-
return stack.resolve(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
PutBucketOwnershipControlsCommand.prototype.serialize = function (input, context) {
|
|
27
|
+
const { requestHandler } = configuration;
|
|
28
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
29
|
+
}
|
|
30
|
+
serialize(input, context) {
|
|
36
31
|
return serializeAws_restXmlPutBucketOwnershipControlsCommand(input, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
}
|
|
33
|
+
deserialize(output, context) {
|
|
39
34
|
return deserializeAws_restXmlPutBucketOwnershipControlsCommand(output, context);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}($Command));
|
|
43
|
-
export { PutBucketOwnershipControlsCommand };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketPolicyCommand, serializeAws_restXmlPutBucketPolicyCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketPolicyCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
|
|
@@ -20,28 +17,24 @@ var PutBucketPolicyCommand = (function (_super) {
|
|
|
20
17
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
18
|
requestChecksumRequired: true,
|
|
22
19
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
logger
|
|
29
|
-
clientName
|
|
30
|
-
commandName
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "S3Client";
|
|
23
|
+
const commandName = "PutBucketPolicyCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
31
28
|
inputFilterSensitiveLog: PutBucketPolicyRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
29
|
+
outputFilterSensitiveLog: (output) => output,
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
return stack.resolve(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
PutBucketPolicyCommand.prototype.serialize = function (input, context) {
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
40
35
|
return serializeAws_restXmlPutBucketPolicyCommand(input, context);
|
|
41
|
-
}
|
|
42
|
-
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
43
38
|
return deserializeAws_restXmlPutBucketPolicyCommand(output, context);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}($Command));
|
|
47
|
-
export { PutBucketPolicyCommand };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketReplicationRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketReplicationCommand, serializeAws_restXmlPutBucketReplicationCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketReplicationCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
|
|
@@ -20,28 +17,24 @@ var PutBucketReplicationCommand = (function (_super) {
|
|
|
20
17
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
18
|
requestChecksumRequired: true,
|
|
22
19
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
logger
|
|
29
|
-
clientName
|
|
30
|
-
commandName
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "S3Client";
|
|
23
|
+
const commandName = "PutBucketReplicationCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
31
28
|
inputFilterSensitiveLog: PutBucketReplicationRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
29
|
+
outputFilterSensitiveLog: (output) => output,
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
return stack.resolve(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
PutBucketReplicationCommand.prototype.serialize = function (input, context) {
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
40
35
|
return serializeAws_restXmlPutBucketReplicationCommand(input, context);
|
|
41
|
-
}
|
|
42
|
-
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
43
38
|
return deserializeAws_restXmlPutBucketReplicationCommand(output, context);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}($Command));
|
|
47
|
-
export { PutBucketReplicationCommand };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketRequestPaymentRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketRequestPaymentCommand, serializeAws_restXmlPutBucketRequestPaymentCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketRequestPaymentCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
|
|
@@ -20,28 +17,24 @@ var PutBucketRequestPaymentCommand = (function (_super) {
|
|
|
20
17
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
18
|
requestChecksumRequired: true,
|
|
22
19
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
logger
|
|
29
|
-
clientName
|
|
30
|
-
commandName
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "S3Client";
|
|
23
|
+
const commandName = "PutBucketRequestPaymentCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
31
28
|
inputFilterSensitiveLog: PutBucketRequestPaymentRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
29
|
+
outputFilterSensitiveLog: (output) => output,
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
return stack.resolve(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
PutBucketRequestPaymentCommand.prototype.serialize = function (input, context) {
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
40
35
|
return serializeAws_restXmlPutBucketRequestPaymentCommand(input, context);
|
|
41
|
-
}
|
|
42
|
-
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
43
38
|
return deserializeAws_restXmlPutBucketRequestPaymentCommand(output, context);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}($Command));
|
|
47
|
-
export { PutBucketRequestPaymentCommand };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketTaggingRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketTaggingCommand, serializeAws_restXmlPutBucketTaggingCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketTaggingCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
|
|
@@ -20,28 +17,24 @@ var PutBucketTaggingCommand = (function (_super) {
|
|
|
20
17
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
18
|
requestChecksumRequired: true,
|
|
22
19
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
logger
|
|
29
|
-
clientName
|
|
30
|
-
commandName
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "S3Client";
|
|
23
|
+
const commandName = "PutBucketTaggingCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
31
28
|
inputFilterSensitiveLog: PutBucketTaggingRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
29
|
+
outputFilterSensitiveLog: (output) => output,
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
return stack.resolve(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
PutBucketTaggingCommand.prototype.serialize = function (input, context) {
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
40
35
|
return serializeAws_restXmlPutBucketTaggingCommand(input, context);
|
|
41
|
-
}
|
|
42
|
-
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
43
38
|
return deserializeAws_restXmlPutBucketTaggingCommand(output, context);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}($Command));
|
|
47
|
-
export { PutBucketTaggingCommand };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
2
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketVersioningRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketVersioningCommand, serializeAws_restXmlPutBucketVersioningCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketVersioningCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
|
|
@@ -20,28 +17,24 @@ var PutBucketVersioningCommand = (function (_super) {
|
|
|
20
17
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
18
|
requestChecksumRequired: true,
|
|
22
19
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
logger
|
|
29
|
-
clientName
|
|
30
|
-
commandName
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "S3Client";
|
|
23
|
+
const commandName = "PutBucketVersioningCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
31
28
|
inputFilterSensitiveLog: PutBucketVersioningRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
29
|
+
outputFilterSensitiveLog: (output) => output,
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
return stack.resolve(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
PutBucketVersioningCommand.prototype.serialize = function (input, context) {
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
40
35
|
return serializeAws_restXmlPutBucketVersioningCommand(input, context);
|
|
41
|
-
}
|
|
42
|
-
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
43
38
|
return deserializeAws_restXmlPutBucketVersioningCommand(output, context);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}($Command));
|
|
47
|
-
export { PutBucketVersioningCommand };
|
|
39
|
+
}
|
|
40
|
+
}
|