@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,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 { PutMultiRegionAccessPointPolicyRequestFilterSensitiveLog, PutMultiRegionAccessPointPolicyResultFilterSensitiveLog, } from "../models/models_0";
|
|
6
7
|
import { deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand, serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var PutMultiRegionAccessPointPolicyCommand = (function (_super) {
|
|
9
|
+
__extends(PutMultiRegionAccessPointPolicyCommand, _super);
|
|
10
|
+
function PutMultiRegionAccessPointPolicyCommand(input) {
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
12
|
+
_this.input = input;
|
|
13
|
+
return _this;
|
|
11
14
|
}
|
|
12
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
PutMultiRegionAccessPointPolicyCommand.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 = "PutMultiRegionAccessPointPolicyCommand";
|
|
23
|
+
var handlerExecutionContext = {
|
|
24
|
+
logger: logger,
|
|
25
|
+
clientName: clientName,
|
|
26
|
+
commandName: commandName,
|
|
24
27
|
inputFilterSensitiveLog: PutMultiRegionAccessPointPolicyRequestFilterSensitiveLog,
|
|
25
28
|
outputFilterSensitiveLog: PutMultiRegionAccessPointPolicyResultFilterSensitiveLog,
|
|
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
|
+
PutMultiRegionAccessPointPolicyCommand.prototype.serialize = function (input, context) {
|
|
31
36
|
return serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand(input, context);
|
|
32
|
-
}
|
|
33
|
-
deserialize(output, context) {
|
|
37
|
+
};
|
|
38
|
+
PutMultiRegionAccessPointPolicyCommand.prototype.deserialize = function (output, context) {
|
|
34
39
|
return deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand(output, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
40
|
+
};
|
|
41
|
+
return PutMultiRegionAccessPointPolicyCommand;
|
|
42
|
+
}($Command));
|
|
43
|
+
export { PutMultiRegionAccessPointPolicyCommand };
|
|
@@ -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 { PutPublicAccessBlockRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutPublicAccessBlockCommand, serializeAws_restXmlPutPublicAccessBlockCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutPublicAccessBlockCommand = (function (_super) {
|
|
8
|
+
__extends(PutPublicAccessBlockCommand, _super);
|
|
9
|
+
function PutPublicAccessBlockCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutPublicAccessBlockCommand.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 = "PutPublicAccessBlockCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutPublicAccessBlockRequestFilterSensitiveLog,
|
|
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
|
+
PutPublicAccessBlockCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutPublicAccessBlockCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutPublicAccessBlockCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutPublicAccessBlockCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutPublicAccessBlockCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutPublicAccessBlockCommand };
|
|
@@ -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 { PutStorageLensConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutStorageLensConfigurationCommand, serializeAws_restXmlPutStorageLensConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutStorageLensConfigurationCommand = (function (_super) {
|
|
8
|
+
__extends(PutStorageLensConfigurationCommand, _super);
|
|
9
|
+
function PutStorageLensConfigurationCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutStorageLensConfigurationCommand.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 = "PutStorageLensConfigurationCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutStorageLensConfigurationRequestFilterSensitiveLog,
|
|
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
|
+
PutStorageLensConfigurationCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutStorageLensConfigurationCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutStorageLensConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutStorageLensConfigurationCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutStorageLensConfigurationCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutStorageLensConfigurationCommand };
|
|
@@ -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 { PutStorageLensConfigurationTaggingRequestFilterSensitiveLog, PutStorageLensConfigurationTaggingResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlPutStorageLensConfigurationTaggingCommand, serializeAws_restXmlPutStorageLensConfigurationTaggingCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var PutStorageLensConfigurationTaggingCommand = (function (_super) {
|
|
8
|
+
__extends(PutStorageLensConfigurationTaggingCommand, _super);
|
|
9
|
+
function PutStorageLensConfigurationTaggingCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
PutStorageLensConfigurationTaggingCommand.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 = "PutStorageLensConfigurationTaggingCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: PutStorageLensConfigurationTaggingRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: PutStorageLensConfigurationTaggingResultFilterSensitiveLog,
|
|
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
|
+
PutStorageLensConfigurationTaggingCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlPutStorageLensConfigurationTaggingCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
PutStorageLensConfigurationTaggingCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlPutStorageLensConfigurationTaggingCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return PutStorageLensConfigurationTaggingCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { PutStorageLensConfigurationTaggingCommand };
|
|
@@ -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 { UpdateJobPriorityRequestFilterSensitiveLog, UpdateJobPriorityResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlUpdateJobPriorityCommand, serializeAws_restXmlUpdateJobPriorityCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var UpdateJobPriorityCommand = (function (_super) {
|
|
8
|
+
__extends(UpdateJobPriorityCommand, _super);
|
|
9
|
+
function UpdateJobPriorityCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
UpdateJobPriorityCommand.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 = "UpdateJobPriorityCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: UpdateJobPriorityRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: UpdateJobPriorityResultFilterSensitiveLog,
|
|
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
|
+
UpdateJobPriorityCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlUpdateJobPriorityCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
UpdateJobPriorityCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlUpdateJobPriorityCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return UpdateJobPriorityCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { UpdateJobPriorityCommand };
|
|
@@ -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 { UpdateJobStatusRequestFilterSensitiveLog, UpdateJobStatusResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_restXmlUpdateJobStatusCommand, serializeAws_restXmlUpdateJobStatusCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var UpdateJobStatusCommand = (function (_super) {
|
|
8
|
+
__extends(UpdateJobStatusCommand, _super);
|
|
9
|
+
function UpdateJobStatusCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
UpdateJobStatusCommand.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 = "UpdateJobStatusCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: UpdateJobStatusRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: UpdateJobStatusResultFilterSensitiveLog,
|
|
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
|
+
UpdateJobStatusCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_restXmlUpdateJobStatusCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
UpdateJobStatusCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_restXmlUpdateJobStatusCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return UpdateJobStatusCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { UpdateJobStatusCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"ap-northeast-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -330,7 +331,7 @@ const regionHash = {
|
|
|
330
331
|
signingRegion: "us-west-2",
|
|
331
332
|
},
|
|
332
333
|
};
|
|
333
|
-
|
|
334
|
+
var partitionHash = {
|
|
334
335
|
aws: {
|
|
335
336
|
regions: [
|
|
336
337
|
"af-south-1",
|
|
@@ -455,9 +456,8 @@ const partitionHash = {
|
|
|
455
456
|
],
|
|
456
457
|
},
|
|
457
458
|
};
|
|
458
|
-
export
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
});
|
|
459
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
460
|
+
return __generator(this, function (_a) {
|
|
461
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "s3", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
462
|
+
});
|
|
463
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var S3ControlServiceException = (function (_super) {
|
|
4
|
+
__extends(S3ControlServiceException, _super);
|
|
5
|
+
function S3ControlServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, S3ControlServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return S3ControlServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { S3ControlServiceException };
|