@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
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
export * from "./AssociateAccessGrantsIdentityCenterCommand";
|
|
2
|
+
export * from "./CreateAccessGrantCommand";
|
|
3
|
+
export * from "./CreateAccessGrantsInstanceCommand";
|
|
4
|
+
export * from "./CreateAccessGrantsLocationCommand";
|
|
1
5
|
export * from "./CreateAccessPointCommand";
|
|
2
6
|
export * from "./CreateAccessPointForObjectLambdaCommand";
|
|
3
7
|
export * from "./CreateBucketCommand";
|
|
4
8
|
export * from "./CreateJobCommand";
|
|
5
9
|
export * from "./CreateMultiRegionAccessPointCommand";
|
|
6
10
|
export * from "./CreateStorageLensGroupCommand";
|
|
11
|
+
export * from "./DeleteAccessGrantCommand";
|
|
12
|
+
export * from "./DeleteAccessGrantsInstanceCommand";
|
|
13
|
+
export * from "./DeleteAccessGrantsInstanceResourcePolicyCommand";
|
|
14
|
+
export * from "./DeleteAccessGrantsLocationCommand";
|
|
7
15
|
export * from "./DeleteAccessPointCommand";
|
|
8
16
|
export * from "./DeleteAccessPointForObjectLambdaCommand";
|
|
9
17
|
export * from "./DeleteAccessPointPolicyCommand";
|
|
@@ -21,6 +29,12 @@ export * from "./DeleteStorageLensConfigurationTaggingCommand";
|
|
|
21
29
|
export * from "./DeleteStorageLensGroupCommand";
|
|
22
30
|
export * from "./DescribeJobCommand";
|
|
23
31
|
export * from "./DescribeMultiRegionAccessPointOperationCommand";
|
|
32
|
+
export * from "./DissociateAccessGrantsIdentityCenterCommand";
|
|
33
|
+
export * from "./GetAccessGrantCommand";
|
|
34
|
+
export * from "./GetAccessGrantsInstanceCommand";
|
|
35
|
+
export * from "./GetAccessGrantsInstanceForPrefixCommand";
|
|
36
|
+
export * from "./GetAccessGrantsInstanceResourcePolicyCommand";
|
|
37
|
+
export * from "./GetAccessGrantsLocationCommand";
|
|
24
38
|
export * from "./GetAccessPointCommand";
|
|
25
39
|
export * from "./GetAccessPointConfigurationForObjectLambdaCommand";
|
|
26
40
|
export * from "./GetAccessPointForObjectLambdaCommand";
|
|
@@ -34,6 +48,7 @@ export * from "./GetBucketPolicyCommand";
|
|
|
34
48
|
export * from "./GetBucketReplicationCommand";
|
|
35
49
|
export * from "./GetBucketTaggingCommand";
|
|
36
50
|
export * from "./GetBucketVersioningCommand";
|
|
51
|
+
export * from "./GetDataAccessCommand";
|
|
37
52
|
export * from "./GetJobTaggingCommand";
|
|
38
53
|
export * from "./GetMultiRegionAccessPointCommand";
|
|
39
54
|
export * from "./GetMultiRegionAccessPointPolicyCommand";
|
|
@@ -43,6 +58,9 @@ export * from "./GetPublicAccessBlockCommand";
|
|
|
43
58
|
export * from "./GetStorageLensConfigurationCommand";
|
|
44
59
|
export * from "./GetStorageLensConfigurationTaggingCommand";
|
|
45
60
|
export * from "./GetStorageLensGroupCommand";
|
|
61
|
+
export * from "./ListAccessGrantsCommand";
|
|
62
|
+
export * from "./ListAccessGrantsInstancesCommand";
|
|
63
|
+
export * from "./ListAccessGrantsLocationsCommand";
|
|
46
64
|
export * from "./ListAccessPointsCommand";
|
|
47
65
|
export * from "./ListAccessPointsForObjectLambdaCommand";
|
|
48
66
|
export * from "./ListJobsCommand";
|
|
@@ -51,6 +69,7 @@ export * from "./ListRegionalBucketsCommand";
|
|
|
51
69
|
export * from "./ListStorageLensConfigurationsCommand";
|
|
52
70
|
export * from "./ListStorageLensGroupsCommand";
|
|
53
71
|
export * from "./ListTagsForResourceCommand";
|
|
72
|
+
export * from "./PutAccessGrantsInstanceResourcePolicyCommand";
|
|
54
73
|
export * from "./PutAccessPointConfigurationForObjectLambdaCommand";
|
|
55
74
|
export * from "./PutAccessPointPolicyCommand";
|
|
56
75
|
export * from "./PutAccessPointPolicyForObjectLambdaCommand";
|
|
@@ -67,6 +86,7 @@ export * from "./PutStorageLensConfigurationTaggingCommand";
|
|
|
67
86
|
export * from "./SubmitMultiRegionAccessPointRoutesCommand";
|
|
68
87
|
export * from "./TagResourceCommand";
|
|
69
88
|
export * from "./UntagResourceCommand";
|
|
89
|
+
export * from "./UpdateAccessGrantsLocationCommand";
|
|
70
90
|
export * from "./UpdateJobPriorityCommand";
|
|
71
91
|
export * from "./UpdateJobStatusCommand";
|
|
72
92
|
export * from "./UpdateStorageLensGroupCommand";
|
package/dist-es/models/index.js
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { S3ControlServiceException as __BaseException } from "./S3ControlServiceException";
|
|
2
3
|
export const OwnerOverride = {
|
|
3
4
|
Destination: "Destination",
|
|
4
5
|
};
|
|
6
|
+
export const GranteeType = {
|
|
7
|
+
DIRECTORY_GROUP: "DIRECTORY_GROUP",
|
|
8
|
+
DIRECTORY_USER: "DIRECTORY_USER",
|
|
9
|
+
IAM: "IAM",
|
|
10
|
+
};
|
|
11
|
+
export const Permission = {
|
|
12
|
+
READ: "READ",
|
|
13
|
+
READWRITE: "READWRITE",
|
|
14
|
+
WRITE: "WRITE",
|
|
15
|
+
};
|
|
5
16
|
export const NetworkOrigin = {
|
|
6
17
|
Internet: "Internet",
|
|
7
18
|
VPC: "VPC",
|
|
@@ -11,6 +22,9 @@ export const AsyncOperationName = {
|
|
|
11
22
|
DeleteMultiRegionAccessPoint: "DeleteMultiRegionAccessPoint",
|
|
12
23
|
PutMultiRegionAccessPointPolicy: "PutMultiRegionAccessPointPolicy",
|
|
13
24
|
};
|
|
25
|
+
export const S3PrefixType = {
|
|
26
|
+
Object: "Object",
|
|
27
|
+
};
|
|
14
28
|
export const ObjectLambdaAllowedFeature = {
|
|
15
29
|
GetObjectPartNumber: "GetObject-PartNumber",
|
|
16
30
|
GetObjectRange: "GetObject-Range",
|
|
@@ -310,6 +324,10 @@ export const BucketVersioningStatus = {
|
|
|
310
324
|
Enabled: "Enabled",
|
|
311
325
|
Suspended: "Suspended",
|
|
312
326
|
};
|
|
327
|
+
export const Privilege = {
|
|
328
|
+
Default: "Default",
|
|
329
|
+
Minimal: "Minimal",
|
|
330
|
+
};
|
|
313
331
|
export const MultiRegionAccessPointStatus = {
|
|
314
332
|
CREATING: "CREATING",
|
|
315
333
|
DELETING: "DELETING",
|
|
@@ -375,37 +393,13 @@ export const OperationName = {
|
|
|
375
393
|
S3PutObjectTagging: "S3PutObjectTagging",
|
|
376
394
|
S3ReplicateObject: "S3ReplicateObject",
|
|
377
395
|
};
|
|
378
|
-
export const
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
});
|
|
389
|
-
this.name = "TooManyTagsException";
|
|
390
|
-
this.$fault = "client";
|
|
391
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
392
|
-
this.Message = opts.Message;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
export class JobStatusException extends __BaseException {
|
|
396
|
-
constructor(opts) {
|
|
397
|
-
super({
|
|
398
|
-
name: "JobStatusException",
|
|
399
|
-
$fault: "client",
|
|
400
|
-
...opts,
|
|
401
|
-
});
|
|
402
|
-
this.name = "JobStatusException";
|
|
403
|
-
this.$fault = "client";
|
|
404
|
-
Object.setPrototypeOf(this, JobStatusException.prototype);
|
|
405
|
-
this.Message = opts.Message;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
export const RequestedJobStatus = {
|
|
409
|
-
Cancelled: "Cancelled",
|
|
410
|
-
Ready: "Ready",
|
|
411
|
-
};
|
|
396
|
+
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
...(obj.AccessKeyId && { AccessKeyId: SENSITIVE_STRING }),
|
|
399
|
+
...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
|
|
400
|
+
...(obj.SessionToken && { SessionToken: SENSITIVE_STRING }),
|
|
401
|
+
});
|
|
402
|
+
export const GetDataAccessResultFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
...(obj.Credentials && { Credentials: SENSITIVE_STRING }),
|
|
405
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { S3ControlServiceException as __BaseException } from "./S3ControlServiceException";
|
|
2
|
+
export const MFADelete = {
|
|
3
|
+
Disabled: "Disabled",
|
|
4
|
+
Enabled: "Enabled",
|
|
5
|
+
};
|
|
6
|
+
export class TooManyTagsException extends __BaseException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "TooManyTagsException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "TooManyTagsException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export class JobStatusException extends __BaseException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "JobStatusException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "JobStatusException";
|
|
27
|
+
this.$fault = "client";
|
|
28
|
+
Object.setPrototypeOf(this, JobStatusException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export const RequestedJobStatus = {
|
|
33
|
+
Cancelled: "Cancelled",
|
|
34
|
+
Ready: "Ready",
|
|
35
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListAccessGrantsInstancesCommand, } from "../commands/ListAccessGrantsInstancesCommand";
|
|
2
|
+
import { S3ControlClient } from "../S3ControlClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListAccessGrantsInstancesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListAccessGrantsInstances(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof S3ControlClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected S3Control | S3ControlClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListAccessGrantsLocationsCommand, } from "../commands/ListAccessGrantsLocationsCommand";
|
|
2
|
+
import { S3ControlClient } from "../S3ControlClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListAccessGrantsLocationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListAccessGrantsLocations(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof S3ControlClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected S3Control | S3ControlClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListAccessGrantsCommand, } from "../commands/ListAccessGrantsCommand";
|
|
2
|
+
import { S3ControlClient } from "../S3ControlClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListAccessGrantsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListAccessGrants(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof S3ControlClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected S3Control | S3ControlClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAccessGrantsInstancesPaginator";
|
|
3
|
+
export * from "./ListAccessGrantsLocationsPaginator";
|
|
4
|
+
export * from "./ListAccessGrantsPaginator";
|
|
2
5
|
export * from "./ListAccessPointsForObjectLambdaPaginator";
|
|
3
6
|
export * from "./ListAccessPointsPaginator";
|
|
4
7
|
export * from "./ListJobsPaginator";
|