@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.UpdateAccessGrantsLocationCommand = 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 UpdateAccessGrantsLocationCommand 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, UpdateAccessGrantsLocationCommand.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 = "UpdateAccessGrantsLocationCommand";
|
|
37
|
+
const handlerExecutionContext = {
|
|
38
|
+
logger,
|
|
39
|
+
clientName,
|
|
40
|
+
commandName,
|
|
41
|
+
inputFilterSensitiveLog: (_) => _,
|
|
42
|
+
outputFilterSensitiveLog: (_) => _,
|
|
43
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
44
|
+
service: "AWSS3ControlServiceV20180820",
|
|
45
|
+
operation: "UpdateAccessGrantsLocation",
|
|
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_UpdateAccessGrantsLocationCommand)(input, context);
|
|
53
|
+
}
|
|
54
|
+
deserialize(output, context) {
|
|
55
|
+
return (0, Aws_restXml_1.de_UpdateAccessGrantsLocationCommand)(output, context);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.UpdateAccessGrantsLocationCommand = UpdateAccessGrantsLocationCommand;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AssociateAccessGrantsIdentityCenterCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateAccessGrantCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateAccessGrantsInstanceCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateAccessGrantsLocationCommand"), exports);
|
|
4
8
|
tslib_1.__exportStar(require("./CreateAccessPointCommand"), exports);
|
|
5
9
|
tslib_1.__exportStar(require("./CreateAccessPointForObjectLambdaCommand"), exports);
|
|
6
10
|
tslib_1.__exportStar(require("./CreateBucketCommand"), exports);
|
|
7
11
|
tslib_1.__exportStar(require("./CreateJobCommand"), exports);
|
|
8
12
|
tslib_1.__exportStar(require("./CreateMultiRegionAccessPointCommand"), exports);
|
|
9
13
|
tslib_1.__exportStar(require("./CreateStorageLensGroupCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteAccessGrantCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteAccessGrantsInstanceCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteAccessGrantsInstanceResourcePolicyCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteAccessGrantsLocationCommand"), exports);
|
|
10
18
|
tslib_1.__exportStar(require("./DeleteAccessPointCommand"), exports);
|
|
11
19
|
tslib_1.__exportStar(require("./DeleteAccessPointForObjectLambdaCommand"), exports);
|
|
12
20
|
tslib_1.__exportStar(require("./DeleteAccessPointPolicyCommand"), exports);
|
|
@@ -24,6 +32,12 @@ tslib_1.__exportStar(require("./DeleteStorageLensConfigurationTaggingCommand"),
|
|
|
24
32
|
tslib_1.__exportStar(require("./DeleteStorageLensGroupCommand"), exports);
|
|
25
33
|
tslib_1.__exportStar(require("./DescribeJobCommand"), exports);
|
|
26
34
|
tslib_1.__exportStar(require("./DescribeMultiRegionAccessPointOperationCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./DissociateAccessGrantsIdentityCenterCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./GetAccessGrantCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./GetAccessGrantsInstanceCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./GetAccessGrantsInstanceForPrefixCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./GetAccessGrantsInstanceResourcePolicyCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./GetAccessGrantsLocationCommand"), exports);
|
|
27
41
|
tslib_1.__exportStar(require("./GetAccessPointCommand"), exports);
|
|
28
42
|
tslib_1.__exportStar(require("./GetAccessPointConfigurationForObjectLambdaCommand"), exports);
|
|
29
43
|
tslib_1.__exportStar(require("./GetAccessPointForObjectLambdaCommand"), exports);
|
|
@@ -37,6 +51,7 @@ tslib_1.__exportStar(require("./GetBucketPolicyCommand"), exports);
|
|
|
37
51
|
tslib_1.__exportStar(require("./GetBucketReplicationCommand"), exports);
|
|
38
52
|
tslib_1.__exportStar(require("./GetBucketTaggingCommand"), exports);
|
|
39
53
|
tslib_1.__exportStar(require("./GetBucketVersioningCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./GetDataAccessCommand"), exports);
|
|
40
55
|
tslib_1.__exportStar(require("./GetJobTaggingCommand"), exports);
|
|
41
56
|
tslib_1.__exportStar(require("./GetMultiRegionAccessPointCommand"), exports);
|
|
42
57
|
tslib_1.__exportStar(require("./GetMultiRegionAccessPointPolicyCommand"), exports);
|
|
@@ -46,6 +61,9 @@ tslib_1.__exportStar(require("./GetPublicAccessBlockCommand"), exports);
|
|
|
46
61
|
tslib_1.__exportStar(require("./GetStorageLensConfigurationCommand"), exports);
|
|
47
62
|
tslib_1.__exportStar(require("./GetStorageLensConfigurationTaggingCommand"), exports);
|
|
48
63
|
tslib_1.__exportStar(require("./GetStorageLensGroupCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./ListAccessGrantsCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./ListAccessGrantsInstancesCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./ListAccessGrantsLocationsCommand"), exports);
|
|
49
67
|
tslib_1.__exportStar(require("./ListAccessPointsCommand"), exports);
|
|
50
68
|
tslib_1.__exportStar(require("./ListAccessPointsForObjectLambdaCommand"), exports);
|
|
51
69
|
tslib_1.__exportStar(require("./ListJobsCommand"), exports);
|
|
@@ -54,6 +72,7 @@ tslib_1.__exportStar(require("./ListRegionalBucketsCommand"), exports);
|
|
|
54
72
|
tslib_1.__exportStar(require("./ListStorageLensConfigurationsCommand"), exports);
|
|
55
73
|
tslib_1.__exportStar(require("./ListStorageLensGroupsCommand"), exports);
|
|
56
74
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./PutAccessGrantsInstanceResourcePolicyCommand"), exports);
|
|
57
76
|
tslib_1.__exportStar(require("./PutAccessPointConfigurationForObjectLambdaCommand"), exports);
|
|
58
77
|
tslib_1.__exportStar(require("./PutAccessPointPolicyCommand"), exports);
|
|
59
78
|
tslib_1.__exportStar(require("./PutAccessPointPolicyForObjectLambdaCommand"), exports);
|
|
@@ -70,6 +89,7 @@ tslib_1.__exportStar(require("./PutStorageLensConfigurationTaggingCommand"), exp
|
|
|
70
89
|
tslib_1.__exportStar(require("./SubmitMultiRegionAccessPointRoutesCommand"), exports);
|
|
71
90
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
72
91
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./UpdateAccessGrantsLocationCommand"), exports);
|
|
73
93
|
tslib_1.__exportStar(require("./UpdateJobPriorityCommand"), exports);
|
|
74
94
|
tslib_1.__exportStar(require("./UpdateJobStatusCommand"), exports);
|
|
75
95
|
tslib_1.__exportStar(require("./UpdateStorageLensGroupCommand"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.BucketVersioningStatus = exports.MFADeleteStatus = exports.ReplicationRuleStatus = exports.SseKmsEncryptedObjectsStatus = exports.ReplicaModificationsStatus = exports.ExistingObjectReplicationStatus = exports.ReplicationStorageClass = exports.ReplicationTimeStatus = exports.MetricsStatus = exports.DeleteMarkerReplicationStatus = exports.ExpirationStatus = exports.TransitionStorageClass = exports.JobStatus = exports.NotFoundException = exports.TooManyRequestsException = exports.InternalServiceException = exports.IdempotencyException = exports.JobReportScope = exports.JobReportFormat = exports.S3ObjectLockRetentionMode = exports.S3ObjectLockMode = exports.S3ObjectLockLegalHoldStatus = exports.S3SSEAlgorithm = exports.S3MetadataDirective = exports.S3ChecksumAlgorithm = exports.S3CannedAccessControlList = exports.S3Permission = exports.S3GranteeTypeIdentifier = exports.S3GlacierJobTier = exports.JobManifestGenerator = exports.GeneratedManifestFormat = exports.ReplicationStatus = exports.S3StorageClass = exports.JobManifestFormat = exports.JobManifestFieldName = exports.BadRequestException = exports.BucketLocationConstraint = exports.BucketCannedACL = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectLambdaAccessPointAliasStatus = exports.ObjectLambdaContentTransformation = exports.ObjectLambdaTransformationConfigurationAction = exports.ObjectLambdaAllowedFeature = exports.S3PrefixType = exports.AsyncOperationName = exports.NetworkOrigin = exports.Permission = exports.GranteeType = exports.OwnerOverride = void 0;
|
|
4
|
+
exports.GetDataAccessResultFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.OperationName = exports.InvalidRequestException = exports.InvalidNextTokenException = exports.OutputSchemaVersion = exports.Format = exports.NoSuchPublicAccessBlockConfiguration = exports.MultiRegionAccessPointStatus = exports.Privilege = void 0;
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const S3ControlServiceException_1 = require("./S3ControlServiceException");
|
|
6
7
|
exports.OwnerOverride = {
|
|
7
8
|
Destination: "Destination",
|
|
8
9
|
};
|
|
10
|
+
exports.GranteeType = {
|
|
11
|
+
DIRECTORY_GROUP: "DIRECTORY_GROUP",
|
|
12
|
+
DIRECTORY_USER: "DIRECTORY_USER",
|
|
13
|
+
IAM: "IAM",
|
|
14
|
+
};
|
|
15
|
+
exports.Permission = {
|
|
16
|
+
READ: "READ",
|
|
17
|
+
READWRITE: "READWRITE",
|
|
18
|
+
WRITE: "WRITE",
|
|
19
|
+
};
|
|
9
20
|
exports.NetworkOrigin = {
|
|
10
21
|
Internet: "Internet",
|
|
11
22
|
VPC: "VPC",
|
|
@@ -15,6 +26,9 @@ exports.AsyncOperationName = {
|
|
|
15
26
|
DeleteMultiRegionAccessPoint: "DeleteMultiRegionAccessPoint",
|
|
16
27
|
PutMultiRegionAccessPointPolicy: "PutMultiRegionAccessPointPolicy",
|
|
17
28
|
};
|
|
29
|
+
exports.S3PrefixType = {
|
|
30
|
+
Object: "Object",
|
|
31
|
+
};
|
|
18
32
|
exports.ObjectLambdaAllowedFeature = {
|
|
19
33
|
GetObjectPartNumber: "GetObject-PartNumber",
|
|
20
34
|
GetObjectRange: "GetObject-Range",
|
|
@@ -321,6 +335,10 @@ exports.BucketVersioningStatus = {
|
|
|
321
335
|
Enabled: "Enabled",
|
|
322
336
|
Suspended: "Suspended",
|
|
323
337
|
};
|
|
338
|
+
exports.Privilege = {
|
|
339
|
+
Default: "Default",
|
|
340
|
+
Minimal: "Minimal",
|
|
341
|
+
};
|
|
324
342
|
exports.MultiRegionAccessPointStatus = {
|
|
325
343
|
CREATING: "CREATING",
|
|
326
344
|
DELETING: "DELETING",
|
|
@@ -389,39 +407,15 @@ exports.OperationName = {
|
|
|
389
407
|
S3PutObjectTagging: "S3PutObjectTagging",
|
|
390
408
|
S3ReplicateObject: "S3ReplicateObject",
|
|
391
409
|
};
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
this.$fault = "client";
|
|
405
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
406
|
-
this.Message = opts.Message;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
exports.TooManyTagsException = TooManyTagsException;
|
|
410
|
-
class JobStatusException extends S3ControlServiceException_1.S3ControlServiceException {
|
|
411
|
-
constructor(opts) {
|
|
412
|
-
super({
|
|
413
|
-
name: "JobStatusException",
|
|
414
|
-
$fault: "client",
|
|
415
|
-
...opts,
|
|
416
|
-
});
|
|
417
|
-
this.name = "JobStatusException";
|
|
418
|
-
this.$fault = "client";
|
|
419
|
-
Object.setPrototypeOf(this, JobStatusException.prototype);
|
|
420
|
-
this.Message = opts.Message;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
exports.JobStatusException = JobStatusException;
|
|
424
|
-
exports.RequestedJobStatus = {
|
|
425
|
-
Cancelled: "Cancelled",
|
|
426
|
-
Ready: "Ready",
|
|
427
|
-
};
|
|
410
|
+
const CredentialsFilterSensitiveLog = (obj) => ({
|
|
411
|
+
...obj,
|
|
412
|
+
...(obj.AccessKeyId && { AccessKeyId: smithy_client_1.SENSITIVE_STRING }),
|
|
413
|
+
...(obj.SecretAccessKey && { SecretAccessKey: smithy_client_1.SENSITIVE_STRING }),
|
|
414
|
+
...(obj.SessionToken && { SessionToken: smithy_client_1.SENSITIVE_STRING }),
|
|
415
|
+
});
|
|
416
|
+
exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
|
|
417
|
+
const GetDataAccessResultFilterSensitiveLog = (obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
...(obj.Credentials && { Credentials: smithy_client_1.SENSITIVE_STRING }),
|
|
420
|
+
});
|
|
421
|
+
exports.GetDataAccessResultFilterSensitiveLog = GetDataAccessResultFilterSensitiveLog;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RequestedJobStatus = exports.JobStatusException = exports.TooManyTagsException = exports.MFADelete = void 0;
|
|
4
|
+
const S3ControlServiceException_1 = require("./S3ControlServiceException");
|
|
5
|
+
exports.MFADelete = {
|
|
6
|
+
Disabled: "Disabled",
|
|
7
|
+
Enabled: "Enabled",
|
|
8
|
+
};
|
|
9
|
+
class TooManyTagsException extends S3ControlServiceException_1.S3ControlServiceException {
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "TooManyTagsException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
this.name = "TooManyTagsException";
|
|
17
|
+
this.$fault = "client";
|
|
18
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
19
|
+
this.Message = opts.Message;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
23
|
+
class JobStatusException extends S3ControlServiceException_1.S3ControlServiceException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "JobStatusException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "JobStatusException";
|
|
31
|
+
this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(this, JobStatusException.prototype);
|
|
33
|
+
this.Message = opts.Message;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.JobStatusException = JobStatusException;
|
|
37
|
+
exports.RequestedJobStatus = {
|
|
38
|
+
Cancelled: "Cancelled",
|
|
39
|
+
Ready: "Ready",
|
|
40
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccessGrantsInstances = void 0;
|
|
4
|
+
const ListAccessGrantsInstancesCommand_1 = require("../commands/ListAccessGrantsInstancesCommand");
|
|
5
|
+
const S3ControlClient_1 = require("../S3ControlClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAccessGrantsInstancesCommand_1.ListAccessGrantsInstancesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAccessGrantsInstances(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof S3ControlClient_1.S3ControlClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected S3Control | S3ControlClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAccessGrantsInstances = paginateListAccessGrantsInstances;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccessGrantsLocations = void 0;
|
|
4
|
+
const ListAccessGrantsLocationsCommand_1 = require("../commands/ListAccessGrantsLocationsCommand");
|
|
5
|
+
const S3ControlClient_1 = require("../S3ControlClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAccessGrantsLocationsCommand_1.ListAccessGrantsLocationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAccessGrantsLocations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof S3ControlClient_1.S3ControlClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected S3Control | S3ControlClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAccessGrantsLocations = paginateListAccessGrantsLocations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccessGrants = void 0;
|
|
4
|
+
const ListAccessGrantsCommand_1 = require("../commands/ListAccessGrantsCommand");
|
|
5
|
+
const S3ControlClient_1 = require("../S3ControlClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAccessGrantsCommand_1.ListAccessGrantsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAccessGrants(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof S3ControlClient_1.S3ControlClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected S3Control | S3ControlClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAccessGrants = paginateListAccessGrants;
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAccessGrantsInstancesPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListAccessGrantsLocationsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListAccessGrantsPaginator"), exports);
|
|
5
8
|
tslib_1.__exportStar(require("./ListAccessPointsForObjectLambdaPaginator"), exports);
|
|
6
9
|
tslib_1.__exportStar(require("./ListAccessPointsPaginator"), exports);
|
|
7
10
|
tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
|