@aws-sdk/client-s3 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restXml.js +2 -2
- package/dist-es/S3.js +381 -374
- package/dist-es/S3Client.js +32 -26
- package/dist-es/commands/AbortMultipartUploadCommand.js +28 -21
- package/dist-es/commands/CompleteMultipartUploadCommand.js +28 -21
- package/dist-es/commands/CopyObjectCommand.js +28 -21
- package/dist-es/commands/CreateBucketCommand.js +28 -21
- package/dist-es/commands/CreateMultipartUploadCommand.js +28 -21
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteBucketCommand.js +29 -22
- package/dist-es/commands/DeleteBucketCorsCommand.js +29 -22
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +29 -22
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +29 -22
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +29 -22
- package/dist-es/commands/DeleteBucketPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteBucketReplicationCommand.js +29 -22
- package/dist-es/commands/DeleteBucketTaggingCommand.js +29 -22
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +29 -22
- package/dist-es/commands/DeleteObjectCommand.js +28 -21
- package/dist-es/commands/DeleteObjectTaggingCommand.js +28 -21
- package/dist-es/commands/DeleteObjectsCommand.js +28 -21
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +29 -22
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketAclCommand.js +28 -21
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketCorsCommand.js +28 -21
- package/dist-es/commands/GetBucketEncryptionCommand.js +28 -21
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketLocationCommand.js +28 -21
- package/dist-es/commands/GetBucketLoggingCommand.js +28 -21
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +28 -21
- package/dist-es/commands/GetBucketPolicyCommand.js +28 -21
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +28 -21
- package/dist-es/commands/GetBucketReplicationCommand.js +28 -21
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +28 -21
- package/dist-es/commands/GetBucketTaggingCommand.js +28 -21
- package/dist-es/commands/GetBucketVersioningCommand.js +28 -21
- package/dist-es/commands/GetBucketWebsiteCommand.js +28 -21
- package/dist-es/commands/GetObjectAclCommand.js +28 -21
- package/dist-es/commands/GetObjectAttributesCommand.js +28 -21
- package/dist-es/commands/GetObjectCommand.js +28 -21
- package/dist-es/commands/GetObjectLegalHoldCommand.js +28 -21
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +28 -21
- package/dist-es/commands/GetObjectRetentionCommand.js +28 -21
- package/dist-es/commands/GetObjectTaggingCommand.js +28 -21
- package/dist-es/commands/GetObjectTorrentCommand.js +28 -21
- package/dist-es/commands/GetPublicAccessBlockCommand.js +28 -21
- package/dist-es/commands/HeadBucketCommand.js +29 -22
- package/dist-es/commands/HeadObjectCommand.js +28 -21
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListBucketsCommand.js +29 -22
- package/dist-es/commands/ListMultipartUploadsCommand.js +28 -21
- package/dist-es/commands/ListObjectVersionsCommand.js +28 -21
- package/dist-es/commands/ListObjectsCommand.js +28 -21
- package/dist-es/commands/ListObjectsV2Command.js +28 -21
- package/dist-es/commands/ListPartsCommand.js +28 -21
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketAclCommand.js +29 -22
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketCorsCommand.js +29 -22
- package/dist-es/commands/PutBucketEncryptionCommand.js +29 -22
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketLoggingCommand.js +29 -22
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +29 -22
- package/dist-es/commands/PutBucketPolicyCommand.js +29 -22
- package/dist-es/commands/PutBucketReplicationCommand.js +29 -22
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +29 -22
- package/dist-es/commands/PutBucketTaggingCommand.js +29 -22
- package/dist-es/commands/PutBucketVersioningCommand.js +29 -22
- package/dist-es/commands/PutBucketWebsiteCommand.js +29 -22
- package/dist-es/commands/PutObjectAclCommand.js +28 -21
- package/dist-es/commands/PutObjectCommand.js +28 -21
- package/dist-es/commands/PutObjectLegalHoldCommand.js +28 -21
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +28 -21
- package/dist-es/commands/PutObjectRetentionCommand.js +28 -21
- package/dist-es/commands/PutObjectTaggingCommand.js +28 -21
- package/dist-es/commands/PutPublicAccessBlockCommand.js +29 -22
- package/dist-es/commands/RestoreObjectCommand.js +28 -21
- package/dist-es/commands/SelectObjectContentCommand.js +28 -21
- package/dist-es/commands/UploadPartCommand.js +28 -21
- package/dist-es/commands/UploadPartCopyCommand.js +28 -21
- package/dist-es/commands/WriteGetObjectResponseCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/S3ServiceException.js +10 -5
- package/dist-es/models/models_0.js +378 -896
- package/dist-es/models/models_1.js +54 -141
- package/dist-es/pagination/ListObjectsV2Paginator.js +68 -25
- package/dist-es/pagination/ListPartsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restXml.js +9022 -6891
- package/dist-es/runtimeConfig.browser.js +12 -31
- package/dist-es/runtimeConfig.js +12 -36
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +14 -11
- package/dist-es/waiters/waitForBucketExists.js +42 -23
- package/dist-es/waiters/waitForBucketNotExists.js +42 -22
- package/dist-es/waiters/waitForObjectExists.js +42 -23
- package/dist-es/waiters/waitForObjectNotExists.js +42 -22
- package/package.json +6 -6
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketEncryptionOutputFilterSensitiveLog, GetBucketEncryptionRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketEncryptionCommand, serializeAws_restXmlGetBucketEncryptionCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketEncryptionCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketEncryptionCommand, _super);
|
|
9
|
+
function GetBucketEncryptionCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketEncryptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketEncryptionCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketEncryptionRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketEncryptionOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketEncryptionCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketEncryptionCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketEncryptionCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketEncryptionCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketEncryptionCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketEncryptionCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketIntelligentTieringConfigurationOutputFilterSensitiveLog, GetBucketIntelligentTieringConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand, serializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketIntelligentTieringConfigurationCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketIntelligentTieringConfigurationCommand, _super);
|
|
9
|
+
function GetBucketIntelligentTieringConfigurationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketIntelligentTieringConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketIntelligentTieringConfigurationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketIntelligentTieringConfigurationRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketIntelligentTieringConfigurationOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketIntelligentTieringConfigurationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketIntelligentTieringConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketIntelligentTieringConfigurationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketIntelligentTieringConfigurationCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketInventoryConfigurationOutputFilterSensitiveLog, GetBucketInventoryConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketInventoryConfigurationCommand, serializeAws_restXmlGetBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketInventoryConfigurationCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketInventoryConfigurationCommand, _super);
|
|
9
|
+
function GetBucketInventoryConfigurationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketInventoryConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketInventoryConfigurationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketInventoryConfigurationRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketInventoryConfigurationOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketInventoryConfigurationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketInventoryConfigurationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketInventoryConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketInventoryConfigurationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketInventoryConfigurationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketInventoryConfigurationCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketLifecycleConfigurationOutputFilterSensitiveLog, GetBucketLifecycleConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketLifecycleConfigurationCommand, serializeAws_restXmlGetBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketLifecycleConfigurationCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketLifecycleConfigurationCommand, _super);
|
|
9
|
+
function GetBucketLifecycleConfigurationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketLifecycleConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketLifecycleConfigurationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketLifecycleConfigurationRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketLifecycleConfigurationOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketLifecycleConfigurationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketLifecycleConfigurationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketLifecycleConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketLifecycleConfigurationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketLifecycleConfigurationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketLifecycleConfigurationCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketLocationOutputFilterSensitiveLog, GetBucketLocationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketLocationCommand, serializeAws_restXmlGetBucketLocationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketLocationCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketLocationCommand, _super);
|
|
9
|
+
function GetBucketLocationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketLocationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketLocationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketLocationRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketLocationOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketLocationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketLocationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketLocationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketLocationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketLocationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketLocationCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketLoggingOutputFilterSensitiveLog, GetBucketLoggingRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketLoggingCommand, serializeAws_restXmlGetBucketLoggingCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketLoggingCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketLoggingCommand, _super);
|
|
9
|
+
function GetBucketLoggingCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketLoggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketLoggingCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketLoggingRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketLoggingOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketLoggingCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketLoggingCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketLoggingCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketLoggingCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketLoggingCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketLoggingCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketMetricsConfigurationOutputFilterSensitiveLog, GetBucketMetricsConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketMetricsConfigurationCommand, serializeAws_restXmlGetBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketMetricsConfigurationCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketMetricsConfigurationCommand, _super);
|
|
9
|
+
function GetBucketMetricsConfigurationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketMetricsConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketMetricsConfigurationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketMetricsConfigurationRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketMetricsConfigurationOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketMetricsConfigurationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketMetricsConfigurationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketMetricsConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketMetricsConfigurationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketMetricsConfigurationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketMetricsConfigurationCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketNotificationConfigurationRequestFilterSensitiveLog, NotificationConfigurationFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketNotificationConfigurationCommand, serializeAws_restXmlGetBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketNotificationConfigurationCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketNotificationConfigurationCommand, _super);
|
|
9
|
+
function GetBucketNotificationConfigurationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketNotificationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketNotificationConfigurationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketNotificationConfigurationRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: NotificationConfigurationFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketNotificationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketNotificationConfigurationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketNotificationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketNotificationConfigurationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketNotificationConfigurationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketNotificationConfigurationCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { GetBucketOwnershipControlsOutputFilterSensitiveLog, GetBucketOwnershipControlsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlGetBucketOwnershipControlsCommand, serializeAws_restXmlGetBucketOwnershipControlsCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var GetBucketOwnershipControlsCommand = (function (_super) {
|
|
8
|
+
__extends(GetBucketOwnershipControlsCommand, _super);
|
|
9
|
+
function GetBucketOwnershipControlsCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
GetBucketOwnershipControlsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getBucketEndpointPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "S3Client";
|
|
20
|
+
var commandName = "GetBucketOwnershipControlsCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: GetBucketOwnershipControlsRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: GetBucketOwnershipControlsOutputFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetBucketOwnershipControlsCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlGetBucketOwnershipControlsCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
GetBucketOwnershipControlsCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlGetBucketOwnershipControlsCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return GetBucketOwnershipControlsCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetBucketOwnershipControlsCommand };
|