@aws-sdk/client-s3-control 3.457.0 → 3.458.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/README.md +232 -72
- package/dist-cjs/S3Control.js +40 -0
- package/dist-cjs/commands/AssociateAccessGrantsIdentityCenterCommand.js +58 -0
- package/dist-cjs/commands/CreateAccessGrantCommand.js +58 -0
- package/dist-cjs/commands/CreateAccessGrantsInstanceCommand.js +58 -0
- package/dist-cjs/commands/CreateAccessGrantsLocationCommand.js +58 -0
- package/dist-cjs/commands/DeleteAccessGrantCommand.js +58 -0
- package/dist-cjs/commands/DeleteAccessGrantsInstanceCommand.js +58 -0
- package/dist-cjs/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.js +58 -0
- package/dist-cjs/commands/DeleteAccessGrantsLocationCommand.js +58 -0
- package/dist-cjs/commands/DissociateAccessGrantsIdentityCenterCommand.js +58 -0
- package/dist-cjs/commands/GetAccessGrantCommand.js +58 -0
- package/dist-cjs/commands/GetAccessGrantsInstanceCommand.js +58 -0
- package/dist-cjs/commands/GetAccessGrantsInstanceForPrefixCommand.js +58 -0
- package/dist-cjs/commands/GetAccessGrantsInstanceResourcePolicyCommand.js +58 -0
- package/dist-cjs/commands/GetAccessGrantsLocationCommand.js +58 -0
- package/dist-cjs/commands/GetDataAccessCommand.js +59 -0
- package/dist-cjs/commands/ListAccessGrantsCommand.js +58 -0
- package/dist-cjs/commands/ListAccessGrantsInstancesCommand.js +58 -0
- package/dist-cjs/commands/ListAccessGrantsLocationsCommand.js +58 -0
- package/dist-cjs/commands/PutAccessGrantsInstanceResourcePolicyCommand.js +58 -0
- package/dist-cjs/commands/UpdateAccessGrantsLocationCommand.js +58 -0
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +32 -38
- package/dist-cjs/models/models_1.js +40 -0
- package/dist-cjs/pagination/ListAccessGrantsInstancesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAccessGrantsLocationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAccessGrantsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restXml.js +1697 -156
- package/dist-es/S3Control.js +40 -0
- package/dist-es/commands/AssociateAccessGrantsIdentityCenterCommand.js +54 -0
- package/dist-es/commands/CreateAccessGrantCommand.js +54 -0
- package/dist-es/commands/CreateAccessGrantsInstanceCommand.js +54 -0
- package/dist-es/commands/CreateAccessGrantsLocationCommand.js +54 -0
- package/dist-es/commands/DeleteAccessGrantCommand.js +54 -0
- package/dist-es/commands/DeleteAccessGrantsInstanceCommand.js +54 -0
- package/dist-es/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.js +54 -0
- package/dist-es/commands/DeleteAccessGrantsLocationCommand.js +54 -0
- package/dist-es/commands/DissociateAccessGrantsIdentityCenterCommand.js +54 -0
- package/dist-es/commands/GetAccessGrantCommand.js +54 -0
- package/dist-es/commands/GetAccessGrantsInstanceCommand.js +54 -0
- package/dist-es/commands/GetAccessGrantsInstanceForPrefixCommand.js +54 -0
- package/dist-es/commands/GetAccessGrantsInstanceResourcePolicyCommand.js +54 -0
- package/dist-es/commands/GetAccessGrantsLocationCommand.js +54 -0
- package/dist-es/commands/GetDataAccessCommand.js +55 -0
- package/dist-es/commands/ListAccessGrantsCommand.js +54 -0
- package/dist-es/commands/ListAccessGrantsInstancesCommand.js +54 -0
- package/dist-es/commands/ListAccessGrantsLocationsCommand.js +54 -0
- package/dist-es/commands/PutAccessGrantsInstanceResourcePolicyCommand.js +54 -0
- package/dist-es/commands/UpdateAccessGrantsLocationCommand.js +54 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +28 -34
- package/dist-es/models/models_1.js +35 -0
- package/dist-es/pagination/ListAccessGrantsInstancesPaginator.js +25 -0
- package/dist-es/pagination/ListAccessGrantsLocationsPaginator.js +25 -0
- package/dist-es/pagination/ListAccessGrantsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restXml.js +1733 -233
- package/dist-types/S3Control.d.ts +140 -0
- package/dist-types/S3ControlClient.d.ts +22 -2
- package/dist-types/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +82 -0
- package/dist-types/commands/CreateAccessGrantCommand.d.ts +118 -0
- package/dist-types/commands/CreateAccessGrantsInstanceCommand.d.ts +93 -0
- package/dist-types/commands/CreateAccessGrantsLocationCommand.d.ts +111 -0
- package/dist-types/commands/DeleteAccessGrantCommand.d.ts +78 -0
- package/dist-types/commands/DeleteAccessGrantsInstanceCommand.d.ts +77 -0
- package/dist-types/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +77 -0
- package/dist-types/commands/DeleteAccessGrantsLocationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +5 -4
- package/dist-types/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +81 -0
- package/dist-types/commands/GetAccessGrantCommand.d.ts +93 -0
- package/dist-types/commands/GetAccessGrantsInstanceCommand.d.ts +82 -0
- package/dist-types/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +85 -0
- package/dist-types/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +81 -0
- package/dist-types/commands/GetAccessGrantsLocationCommand.d.ts +84 -0
- package/dist-types/commands/GetDataAccessCommand.d.ts +94 -0
- package/dist-types/commands/GetStorageLensGroupCommand.d.ts +5 -4
- package/dist-types/commands/ListAccessGrantsCommand.d.ts +104 -0
- package/dist-types/commands/ListAccessGrantsInstancesCommand.d.ts +89 -0
- package/dist-types/commands/ListAccessGrantsLocationsCommand.d.ts +91 -0
- package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +8 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -10
- package/dist-types/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +83 -0
- package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -1
- package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist-types/commands/PutJobTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -1
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +12 -10
- package/dist-types/commands/UntagResourceCommand.d.ts +12 -8
- package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +90 -0
- package/dist-types/commands/UpdateJobPriorityCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1246 -854
- package/dist-types/models/models_1.d.ts +775 -0
- package/dist-types/pagination/ListAccessGrantsInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAccessGrantsLocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAccessGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restXml.d.ts +180 -0
- package/dist-types/ts3.4/S3Control.d.ts +370 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +120 -0
- package/dist-types/ts3.4/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateAccessGrantCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateAccessGrantsInstanceCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAccessGrantsLocationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAccessGrantCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteAccessGrantsInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAccessGrantsLocationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccessGrantCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccessGrantsInstanceCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAccessGrantsLocationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetDataAccessCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAccessGrantsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAccessGrantsInstancesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAccessGrantsLocationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListStorageLensGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccessPointPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutJobTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessGrantsLocationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateJobPriorityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateJobStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +228 -170
- package/dist-types/ts3.4/models/models_1.d.ts +205 -0
- package/dist-types/ts3.4/pagination/ListAccessGrantsInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAccessGrantsLocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAccessGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +240 -0
- package/package.json +3 -3
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DissociateAccessGrantsIdentityCenterCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class DissociateAccessGrantsIdentityCenterCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DissociateAccessGrantsIdentityCenterCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "DissociateAccessGrantsIdentityCenterCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "DissociateAccessGrantsIdentityCenter",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_DissociateAccessGrantsIdentityCenterCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_DissociateAccessGrantsIdentityCenterCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.DissociateAccessGrantsIdentityCenterCommand = DissociateAccessGrantsIdentityCenterCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAccessGrantCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class GetAccessGrantCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessGrantCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "GetAccessGrantCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "GetAccessGrant",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_GetAccessGrantCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_GetAccessGrantCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.GetAccessGrantCommand = GetAccessGrantCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAccessGrantsInstanceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class GetAccessGrantsInstanceCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessGrantsInstanceCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "GetAccessGrantsInstanceCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "GetAccessGrantsInstance",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_GetAccessGrantsInstanceCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_GetAccessGrantsInstanceCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.GetAccessGrantsInstanceCommand = GetAccessGrantsInstanceCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAccessGrantsInstanceForPrefixCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class GetAccessGrantsInstanceForPrefixCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessGrantsInstanceForPrefixCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "GetAccessGrantsInstanceForPrefixCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "GetAccessGrantsInstanceForPrefix",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_GetAccessGrantsInstanceForPrefixCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_GetAccessGrantsInstanceForPrefixCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.GetAccessGrantsInstanceForPrefixCommand = GetAccessGrantsInstanceForPrefixCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAccessGrantsInstanceResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class GetAccessGrantsInstanceResourcePolicyCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessGrantsInstanceResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "GetAccessGrantsInstanceResourcePolicyCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "GetAccessGrantsInstanceResourcePolicy",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_GetAccessGrantsInstanceResourcePolicyCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_GetAccessGrantsInstanceResourcePolicyCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.GetAccessGrantsInstanceResourcePolicyCommand = GetAccessGrantsInstanceResourcePolicyCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAccessGrantsLocationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class GetAccessGrantsLocationCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessGrantsLocationCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "GetAccessGrantsLocationCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "GetAccessGrantsLocation",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_GetAccessGrantsLocationCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_GetAccessGrantsLocationCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.GetAccessGrantsLocationCommand = GetAccessGrantsLocationCommand;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetDataAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const models_0_1 = require("../models/models_0");
|
|
12
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
13
|
+
class GetDataAccessCommand extends smithy_client_1.Command {
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
17
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
20
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
21
|
+
Region: { type: "builtInParams", name: "region" },
|
|
22
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
constructor(input) {
|
|
26
|
+
super();
|
|
27
|
+
this.input = input;
|
|
28
|
+
}
|
|
29
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
30
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
31
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDataAccessCommand.getEndpointParameterInstructions()));
|
|
32
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
33
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
34
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
35
|
+
const { logger } = configuration;
|
|
36
|
+
const clientName = "S3ControlClient";
|
|
37
|
+
const commandName = "GetDataAccessCommand";
|
|
38
|
+
const handlerExecutionContext = {
|
|
39
|
+
logger,
|
|
40
|
+
clientName,
|
|
41
|
+
commandName,
|
|
42
|
+
inputFilterSensitiveLog: (_) => _,
|
|
43
|
+
outputFilterSensitiveLog: models_0_1.GetDataAccessResultFilterSensitiveLog,
|
|
44
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
45
|
+
service: "AWSS3ControlServiceV20180820",
|
|
46
|
+
operation: "GetDataAccess",
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
const { requestHandler } = configuration;
|
|
50
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
51
|
+
}
|
|
52
|
+
serialize(input, context) {
|
|
53
|
+
return (0, Aws_restXml_1.se_GetDataAccessCommand)(input, context);
|
|
54
|
+
}
|
|
55
|
+
deserialize(output, context) {
|
|
56
|
+
return (0, Aws_restXml_1.de_GetDataAccessCommand)(output, context);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.GetDataAccessCommand = GetDataAccessCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAccessGrantsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class ListAccessGrantsCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAccessGrantsCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "ListAccessGrantsCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "ListAccessGrants",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_ListAccessGrantsCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_ListAccessGrantsCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.ListAccessGrantsCommand = ListAccessGrantsCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAccessGrantsInstancesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class ListAccessGrantsInstancesCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAccessGrantsInstancesCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "ListAccessGrantsInstancesCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "ListAccessGrantsInstances",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_ListAccessGrantsInstancesCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_ListAccessGrantsInstancesCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.ListAccessGrantsInstancesCommand = ListAccessGrantsInstancesCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAccessGrantsLocationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class ListAccessGrantsLocationsCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAccessGrantsLocationsCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "ListAccessGrantsLocationsCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "ListAccessGrantsLocations",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_ListAccessGrantsLocationsCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_ListAccessGrantsLocationsCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.ListAccessGrantsLocationsCommand = ListAccessGrantsLocationsCommand;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutAccessGrantsInstanceResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
|
|
5
|
+
const middleware_apply_body_checksum_1 = require("@smithy/middleware-apply-body-checksum");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
+
const types_1 = require("@smithy/types");
|
|
11
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
12
|
+
class PutAccessGrantsInstanceResourcePolicyCommand extends smithy_client_1.Command {
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
29
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutAccessGrantsInstanceResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
31
|
+
this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
|
|
32
|
+
this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
|
|
33
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
34
|
+
const { logger } = configuration;
|
|
35
|
+
const clientName = "S3ControlClient";
|
|
36
|
+
const commandName = "PutAccessGrantsInstanceResourcePolicyCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "PutAccessGrantsInstanceResourcePolicy",
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
const { requestHandler } = configuration;
|
|
49
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
50
|
+
}
|
|
51
|
+
serialize(input, context) {
|
|
52
|
+
return (0, Aws_restXml_1.se_PutAccessGrantsInstanceResourcePolicyCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_PutAccessGrantsInstanceResourcePolicyCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.PutAccessGrantsInstanceResourcePolicyCommand = PutAccessGrantsInstanceResourcePolicyCommand;
|