@aws-sdk/client-s3-control 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 +23 -0
- package/dist-cjs/models/models_0.js +5 -0
- package/dist-cjs/protocols/Aws_restXml.js +2 -2
- package/dist-cjs/runtimeConfig.shared.js +3 -2
- package/dist-es/S3Control.js +245 -238
- package/dist-es/S3ControlClient.js +29 -23
- package/dist-es/commands/CreateAccessPointCommand.js +28 -21
- package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +28 -21
- package/dist-es/commands/CreateBucketCommand.js +28 -21
- package/dist-es/commands/CreateJobCommand.js +28 -21
- package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +28 -21
- package/dist-es/commands/DeleteAccessPointCommand.js +29 -22
- package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +29 -22
- package/dist-es/commands/DeleteAccessPointPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +29 -22
- package/dist-es/commands/DeleteBucketCommand.js +29 -22
- package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteBucketPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteBucketTaggingCommand.js +29 -22
- package/dist-es/commands/DeleteJobTaggingCommand.js +28 -21
- package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +28 -21
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +29 -22
- package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +28 -21
- package/dist-es/commands/DescribeJobCommand.js +28 -21
- package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +28 -21
- package/dist-es/commands/GetAccessPointCommand.js +28 -21
- package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +28 -21
- package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +28 -21
- package/dist-es/commands/GetAccessPointPolicyCommand.js +28 -21
- package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +28 -21
- package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +28 -21
- package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +28 -21
- package/dist-es/commands/GetBucketCommand.js +28 -21
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +28 -21
- package/dist-es/commands/GetBucketPolicyCommand.js +28 -21
- package/dist-es/commands/GetBucketTaggingCommand.js +28 -21
- package/dist-es/commands/GetBucketVersioningCommand.js +28 -21
- package/dist-es/commands/GetJobTaggingCommand.js +28 -21
- package/dist-es/commands/GetMultiRegionAccessPointCommand.js +28 -21
- package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +28 -21
- package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +28 -21
- package/dist-es/commands/GetPublicAccessBlockCommand.js +28 -21
- package/dist-es/commands/GetStorageLensConfigurationCommand.js +28 -21
- package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +28 -21
- package/dist-es/commands/ListAccessPointsCommand.js +28 -21
- package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +28 -21
- package/dist-es/commands/ListJobsCommand.js +28 -21
- package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +28 -21
- package/dist-es/commands/ListRegionalBucketsCommand.js +28 -21
- package/dist-es/commands/ListStorageLensConfigurationsCommand.js +28 -21
- package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +29 -22
- package/dist-es/commands/PutAccessPointPolicyCommand.js +29 -22
- package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +29 -22
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBucketPolicyCommand.js +29 -22
- package/dist-es/commands/PutBucketTaggingCommand.js +29 -22
- package/dist-es/commands/PutBucketVersioningCommand.js +29 -22
- package/dist-es/commands/PutJobTaggingCommand.js +28 -21
- package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +28 -21
- package/dist-es/commands/PutPublicAccessBlockCommand.js +29 -22
- package/dist-es/commands/PutStorageLensConfigurationCommand.js +29 -22
- package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +28 -21
- package/dist-es/commands/UpdateJobPriorityCommand.js +28 -21
- package/dist-es/commands/UpdateJobStatusCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/S3ControlServiceException.js +10 -5
- package/dist-es/models/models_0.js +349 -723
- package/dist-es/pagination/ListAccessPointsForObjectLambdaPaginator.js +68 -25
- package/dist-es/pagination/ListAccessPointsPaginator.js +68 -25
- package/dist-es/pagination/ListJobsPaginator.js +68 -25
- package/dist-es/pagination/ListMultiRegionAccessPointsPaginator.js +68 -25
- package/dist-es/pagination/ListRegionalBucketsPaginator.js +68 -25
- package/dist-es/pagination/ListStorageLensConfigurationsPaginator.js +67 -24
- package/dist-es/protocols/Aws_restXml.js +6164 -4548
- package/dist-es/runtimeConfig.browser.js +12 -28
- package/dist-es/runtimeConfig.js +12 -32
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +12 -8
- package/dist-types/models/models_0.d.ts +7 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +5 -5
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { ListStorageLensConfigurationsRequestFilterSensitiveLog, ListStorageLensConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlListStorageLensConfigurationsCommand, serializeAws_restXmlListStorageLensConfigurationsCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var ListStorageLensConfigurationsCommand = (function (_super) {
|
|
8
|
+
__extends(ListStorageLensConfigurationsCommand, _super);
|
|
9
|
+
function ListStorageLensConfigurationsCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
ListStorageLensConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getProcessArnablesPlugin(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 = "S3ControlClient";
|
|
20
|
+
var commandName = "ListStorageLensConfigurationsCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: ListStorageLensConfigurationsRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: ListStorageLensConfigurationsResultFilterSensitiveLog,
|
|
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
|
+
ListStorageLensConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlListStorageLensConfigurationsCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
ListStorageLensConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlListStorageLensConfigurationsCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return ListStorageLensConfigurationsCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { ListStorageLensConfigurationsCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { PutAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand, serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutAccessPointConfigurationForObjectLambdaCommand = (function (_super) {
|
|
8
|
+
__extends(PutAccessPointConfigurationForObjectLambdaCommand, _super);
|
|
9
|
+
function PutAccessPointConfigurationForObjectLambdaCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutAccessPointConfigurationForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getProcessArnablesPlugin(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 = "S3ControlClient";
|
|
20
|
+
var commandName = "PutAccessPointConfigurationForObjectLambdaCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
PutAccessPointConfigurationForObjectLambdaCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutAccessPointConfigurationForObjectLambdaCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutAccessPointConfigurationForObjectLambdaCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutAccessPointConfigurationForObjectLambdaCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { PutAccessPointPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutAccessPointPolicyCommand, serializeAws_restXmlPutAccessPointPolicyCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutAccessPointPolicyCommand = (function (_super) {
|
|
8
|
+
__extends(PutAccessPointPolicyCommand, _super);
|
|
9
|
+
function PutAccessPointPolicyCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutAccessPointPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getProcessArnablesPlugin(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 = "S3ControlClient";
|
|
20
|
+
var commandName = "PutAccessPointPolicyCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutAccessPointPolicyRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
PutAccessPointPolicyCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutAccessPointPolicyCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutAccessPointPolicyCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutAccessPointPolicyCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutAccessPointPolicyCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutAccessPointPolicyCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { PutAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand, serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutAccessPointPolicyForObjectLambdaCommand = (function (_super) {
|
|
8
|
+
__extends(PutAccessPointPolicyForObjectLambdaCommand, _super);
|
|
9
|
+
function PutAccessPointPolicyForObjectLambdaCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutAccessPointPolicyForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getProcessArnablesPlugin(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 = "S3ControlClient";
|
|
20
|
+
var commandName = "PutAccessPointPolicyForObjectLambdaCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
PutAccessPointPolicyForObjectLambdaCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutAccessPointPolicyForObjectLambdaCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutAccessPointPolicyForObjectLambdaCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutAccessPointPolicyForObjectLambdaCommand };
|
|
@@ -1,36 +1,43 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
3
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
6
|
import { PutBucketLifecycleConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
7
|
import { deserializeAws_restXmlPutBucketLifecycleConfigurationCommand, serializeAws_restXmlPutBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var PutBucketLifecycleConfigurationCommand = (function (_super) {
|
|
9
|
+
__extends(PutBucketLifecycleConfigurationCommand, _super);
|
|
10
|
+
function PutBucketLifecycleConfigurationCommand(input) {
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
12
|
+
_this.input = input;
|
|
13
|
+
return _this;
|
|
11
14
|
}
|
|
12
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
PutBucketLifecycleConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
13
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
15
18
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
19
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
20
|
+
var logger = configuration.logger;
|
|
21
|
+
var clientName = "S3ControlClient";
|
|
22
|
+
var commandName = "PutBucketLifecycleConfigurationCommand";
|
|
23
|
+
var handlerExecutionContext = {
|
|
24
|
+
logger: logger,
|
|
25
|
+
clientName: clientName,
|
|
26
|
+
commandName: commandName,
|
|
24
27
|
inputFilterSensitiveLog: PutBucketLifecycleConfigurationRequestFilterSensitiveLog,
|
|
25
|
-
outputFilterSensitiveLog: (output)
|
|
28
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
26
29
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve((request)
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
var requestHandler = configuration.requestHandler;
|
|
31
|
+
return stack.resolve(function (request) {
|
|
32
|
+
return requestHandler.handle(request.request, options || {});
|
|
33
|
+
}, handlerExecutionContext);
|
|
34
|
+
};
|
|
35
|
+
PutBucketLifecycleConfigurationCommand.prototype.serialize = function (input, context) {
|
|
31
36
|
return serializeAws_restXmlPutBucketLifecycleConfigurationCommand(input, context);
|
|
32
|
-
}
|
|
33
|
-
deserialize(output, context) {
|
|
37
|
+
};
|
|
38
|
+
PutBucketLifecycleConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
34
39
|
return deserializeAws_restXmlPutBucketLifecycleConfigurationCommand(output, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
40
|
+
};
|
|
41
|
+
return PutBucketLifecycleConfigurationCommand;
|
|
42
|
+
}($Command));
|
|
43
|
+
export { PutBucketLifecycleConfigurationCommand };
|
|
@@ -1,36 +1,43 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
3
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
6
|
import { PutBucketPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
7
|
import { deserializeAws_restXmlPutBucketPolicyCommand, serializeAws_restXmlPutBucketPolicyCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var PutBucketPolicyCommand = (function (_super) {
|
|
9
|
+
__extends(PutBucketPolicyCommand, _super);
|
|
10
|
+
function PutBucketPolicyCommand(input) {
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
12
|
+
_this.input = input;
|
|
13
|
+
return _this;
|
|
11
14
|
}
|
|
12
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
PutBucketPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
13
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
15
18
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
19
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
20
|
+
var logger = configuration.logger;
|
|
21
|
+
var clientName = "S3ControlClient";
|
|
22
|
+
var commandName = "PutBucketPolicyCommand";
|
|
23
|
+
var handlerExecutionContext = {
|
|
24
|
+
logger: logger,
|
|
25
|
+
clientName: clientName,
|
|
26
|
+
commandName: commandName,
|
|
24
27
|
inputFilterSensitiveLog: PutBucketPolicyRequestFilterSensitiveLog,
|
|
25
|
-
outputFilterSensitiveLog: (output)
|
|
28
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
26
29
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve((request)
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
var requestHandler = configuration.requestHandler;
|
|
31
|
+
return stack.resolve(function (request) {
|
|
32
|
+
return requestHandler.handle(request.request, options || {});
|
|
33
|
+
}, handlerExecutionContext);
|
|
34
|
+
};
|
|
35
|
+
PutBucketPolicyCommand.prototype.serialize = function (input, context) {
|
|
31
36
|
return serializeAws_restXmlPutBucketPolicyCommand(input, context);
|
|
32
|
-
}
|
|
33
|
-
deserialize(output, context) {
|
|
37
|
+
};
|
|
38
|
+
PutBucketPolicyCommand.prototype.deserialize = function (output, context) {
|
|
34
39
|
return deserializeAws_restXmlPutBucketPolicyCommand(output, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
40
|
+
};
|
|
41
|
+
return PutBucketPolicyCommand;
|
|
42
|
+
}($Command));
|
|
43
|
+
export { PutBucketPolicyCommand };
|
|
@@ -1,36 +1,43 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
3
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
6
|
import { PutBucketTaggingRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
7
|
import { deserializeAws_restXmlPutBucketTaggingCommand, serializeAws_restXmlPutBucketTaggingCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var PutBucketTaggingCommand = (function (_super) {
|
|
9
|
+
__extends(PutBucketTaggingCommand, _super);
|
|
10
|
+
function PutBucketTaggingCommand(input) {
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
12
|
+
_this.input = input;
|
|
13
|
+
return _this;
|
|
11
14
|
}
|
|
12
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
PutBucketTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
13
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
15
18
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
19
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
20
|
+
var logger = configuration.logger;
|
|
21
|
+
var clientName = "S3ControlClient";
|
|
22
|
+
var commandName = "PutBucketTaggingCommand";
|
|
23
|
+
var handlerExecutionContext = {
|
|
24
|
+
logger: logger,
|
|
25
|
+
clientName: clientName,
|
|
26
|
+
commandName: commandName,
|
|
24
27
|
inputFilterSensitiveLog: PutBucketTaggingRequestFilterSensitiveLog,
|
|
25
|
-
outputFilterSensitiveLog: (output)
|
|
28
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
26
29
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve((request)
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
var requestHandler = configuration.requestHandler;
|
|
31
|
+
return stack.resolve(function (request) {
|
|
32
|
+
return requestHandler.handle(request.request, options || {});
|
|
33
|
+
}, handlerExecutionContext);
|
|
34
|
+
};
|
|
35
|
+
PutBucketTaggingCommand.prototype.serialize = function (input, context) {
|
|
31
36
|
return serializeAws_restXmlPutBucketTaggingCommand(input, context);
|
|
32
|
-
}
|
|
33
|
-
deserialize(output, context) {
|
|
37
|
+
};
|
|
38
|
+
PutBucketTaggingCommand.prototype.deserialize = function (output, context) {
|
|
34
39
|
return deserializeAws_restXmlPutBucketTaggingCommand(output, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
40
|
+
};
|
|
41
|
+
return PutBucketTaggingCommand;
|
|
42
|
+
}($Command));
|
|
43
|
+
export { PutBucketTaggingCommand };
|
|
@@ -1,36 +1,43 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
3
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
6
|
import { PutBucketVersioningRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
7
|
import { deserializeAws_restXmlPutBucketVersioningCommand, serializeAws_restXmlPutBucketVersioningCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var PutBucketVersioningCommand = (function (_super) {
|
|
9
|
+
__extends(PutBucketVersioningCommand, _super);
|
|
10
|
+
function PutBucketVersioningCommand(input) {
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
12
|
+
_this.input = input;
|
|
13
|
+
return _this;
|
|
11
14
|
}
|
|
12
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
PutBucketVersioningCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
13
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
15
18
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
19
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
20
|
+
var logger = configuration.logger;
|
|
21
|
+
var clientName = "S3ControlClient";
|
|
22
|
+
var commandName = "PutBucketVersioningCommand";
|
|
23
|
+
var handlerExecutionContext = {
|
|
24
|
+
logger: logger,
|
|
25
|
+
clientName: clientName,
|
|
26
|
+
commandName: commandName,
|
|
24
27
|
inputFilterSensitiveLog: PutBucketVersioningRequestFilterSensitiveLog,
|
|
25
|
-
outputFilterSensitiveLog: (output)
|
|
28
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
26
29
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve((request)
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
var requestHandler = configuration.requestHandler;
|
|
31
|
+
return stack.resolve(function (request) {
|
|
32
|
+
return requestHandler.handle(request.request, options || {});
|
|
33
|
+
}, handlerExecutionContext);
|
|
34
|
+
};
|
|
35
|
+
PutBucketVersioningCommand.prototype.serialize = function (input, context) {
|
|
31
36
|
return serializeAws_restXmlPutBucketVersioningCommand(input, context);
|
|
32
|
-
}
|
|
33
|
-
deserialize(output, context) {
|
|
37
|
+
};
|
|
38
|
+
PutBucketVersioningCommand.prototype.deserialize = function (output, context) {
|
|
34
39
|
return deserializeAws_restXmlPutBucketVersioningCommand(output, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
40
|
+
};
|
|
41
|
+
return PutBucketVersioningCommand;
|
|
42
|
+
}($Command));
|
|
43
|
+
export { PutBucketVersioningCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { PutJobTaggingRequestFilterSensitiveLog, PutJobTaggingResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutJobTaggingCommand, serializeAws_restXmlPutJobTaggingCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutJobTaggingCommand = (function (_super) {
|
|
8
|
+
__extends(PutJobTaggingCommand, _super);
|
|
9
|
+
function PutJobTaggingCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutJobTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getProcessArnablesPlugin(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 = "S3ControlClient";
|
|
20
|
+
var commandName = "PutJobTaggingCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutJobTaggingRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: PutJobTaggingResultFilterSensitiveLog,
|
|
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
|
+
PutJobTaggingCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutJobTaggingCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutJobTaggingCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutJobTaggingCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutJobTaggingCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutJobTaggingCommand };
|