@aws-sdk/client-s3-control 3.454.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.
Files changed (169) hide show
  1. package/README.md +232 -72
  2. package/dist-cjs/S3Control.js +40 -0
  3. package/dist-cjs/commands/AssociateAccessGrantsIdentityCenterCommand.js +58 -0
  4. package/dist-cjs/commands/CreateAccessGrantCommand.js +58 -0
  5. package/dist-cjs/commands/CreateAccessGrantsInstanceCommand.js +58 -0
  6. package/dist-cjs/commands/CreateAccessGrantsLocationCommand.js +58 -0
  7. package/dist-cjs/commands/DeleteAccessGrantCommand.js +58 -0
  8. package/dist-cjs/commands/DeleteAccessGrantsInstanceCommand.js +58 -0
  9. package/dist-cjs/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.js +58 -0
  10. package/dist-cjs/commands/DeleteAccessGrantsLocationCommand.js +58 -0
  11. package/dist-cjs/commands/DissociateAccessGrantsIdentityCenterCommand.js +58 -0
  12. package/dist-cjs/commands/GetAccessGrantCommand.js +58 -0
  13. package/dist-cjs/commands/GetAccessGrantsInstanceCommand.js +58 -0
  14. package/dist-cjs/commands/GetAccessGrantsInstanceForPrefixCommand.js +58 -0
  15. package/dist-cjs/commands/GetAccessGrantsInstanceResourcePolicyCommand.js +58 -0
  16. package/dist-cjs/commands/GetAccessGrantsLocationCommand.js +58 -0
  17. package/dist-cjs/commands/GetDataAccessCommand.js +59 -0
  18. package/dist-cjs/commands/ListAccessGrantsCommand.js +58 -0
  19. package/dist-cjs/commands/ListAccessGrantsInstancesCommand.js +58 -0
  20. package/dist-cjs/commands/ListAccessGrantsLocationsCommand.js +58 -0
  21. package/dist-cjs/commands/PutAccessGrantsInstanceResourcePolicyCommand.js +58 -0
  22. package/dist-cjs/commands/UpdateAccessGrantsLocationCommand.js +58 -0
  23. package/dist-cjs/commands/index.js +20 -0
  24. package/dist-cjs/models/index.js +1 -0
  25. package/dist-cjs/models/models_0.js +41 -47
  26. package/dist-cjs/models/models_1.js +40 -0
  27. package/dist-cjs/pagination/ListAccessGrantsInstancesPaginator.js +29 -0
  28. package/dist-cjs/pagination/ListAccessGrantsLocationsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListAccessGrantsPaginator.js +29 -0
  30. package/dist-cjs/pagination/index.js +3 -0
  31. package/dist-cjs/protocols/Aws_restXml.js +1777 -117
  32. package/dist-es/S3Control.js +40 -0
  33. package/dist-es/commands/AssociateAccessGrantsIdentityCenterCommand.js +54 -0
  34. package/dist-es/commands/CreateAccessGrantCommand.js +54 -0
  35. package/dist-es/commands/CreateAccessGrantsInstanceCommand.js +54 -0
  36. package/dist-es/commands/CreateAccessGrantsLocationCommand.js +54 -0
  37. package/dist-es/commands/DeleteAccessGrantCommand.js +54 -0
  38. package/dist-es/commands/DeleteAccessGrantsInstanceCommand.js +54 -0
  39. package/dist-es/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.js +54 -0
  40. package/dist-es/commands/DeleteAccessGrantsLocationCommand.js +54 -0
  41. package/dist-es/commands/DissociateAccessGrantsIdentityCenterCommand.js +54 -0
  42. package/dist-es/commands/GetAccessGrantCommand.js +54 -0
  43. package/dist-es/commands/GetAccessGrantsInstanceCommand.js +54 -0
  44. package/dist-es/commands/GetAccessGrantsInstanceForPrefixCommand.js +54 -0
  45. package/dist-es/commands/GetAccessGrantsInstanceResourcePolicyCommand.js +54 -0
  46. package/dist-es/commands/GetAccessGrantsLocationCommand.js +54 -0
  47. package/dist-es/commands/GetDataAccessCommand.js +55 -0
  48. package/dist-es/commands/ListAccessGrantsCommand.js +54 -0
  49. package/dist-es/commands/ListAccessGrantsInstancesCommand.js +54 -0
  50. package/dist-es/commands/ListAccessGrantsLocationsCommand.js +54 -0
  51. package/dist-es/commands/PutAccessGrantsInstanceResourcePolicyCommand.js +54 -0
  52. package/dist-es/commands/UpdateAccessGrantsLocationCommand.js +54 -0
  53. package/dist-es/commands/index.js +20 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +37 -43
  56. package/dist-es/models/models_1.js +35 -0
  57. package/dist-es/pagination/ListAccessGrantsInstancesPaginator.js +25 -0
  58. package/dist-es/pagination/ListAccessGrantsLocationsPaginator.js +25 -0
  59. package/dist-es/pagination/ListAccessGrantsPaginator.js +25 -0
  60. package/dist-es/pagination/index.js +3 -0
  61. package/dist-es/protocols/Aws_restXml.js +1731 -112
  62. package/dist-types/S3Control.d.ts +140 -0
  63. package/dist-types/S3ControlClient.d.ts +22 -2
  64. package/dist-types/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +82 -0
  65. package/dist-types/commands/CreateAccessGrantCommand.d.ts +118 -0
  66. package/dist-types/commands/CreateAccessGrantsInstanceCommand.d.ts +93 -0
  67. package/dist-types/commands/CreateAccessGrantsLocationCommand.d.ts +111 -0
  68. package/dist-types/commands/CreateJobCommand.d.ts +16 -0
  69. package/dist-types/commands/DeleteAccessGrantCommand.d.ts +78 -0
  70. package/dist-types/commands/DeleteAccessGrantsInstanceCommand.d.ts +77 -0
  71. package/dist-types/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +77 -0
  72. package/dist-types/commands/DeleteAccessGrantsLocationCommand.d.ts +78 -0
  73. package/dist-types/commands/DescribeJobCommand.d.ts +16 -0
  74. package/dist-types/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +81 -0
  75. package/dist-types/commands/GetAccessGrantCommand.d.ts +93 -0
  76. package/dist-types/commands/GetAccessGrantsInstanceCommand.d.ts +82 -0
  77. package/dist-types/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +85 -0
  78. package/dist-types/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +81 -0
  79. package/dist-types/commands/GetAccessGrantsLocationCommand.d.ts +84 -0
  80. package/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -1
  81. package/dist-types/commands/GetDataAccessCommand.d.ts +94 -0
  82. package/dist-types/commands/ListAccessGrantsCommand.d.ts +104 -0
  83. package/dist-types/commands/ListAccessGrantsInstancesCommand.d.ts +89 -0
  84. package/dist-types/commands/ListAccessGrantsLocationsCommand.d.ts +91 -0
  85. package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +2 -1
  86. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -9
  87. package/dist-types/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +83 -0
  88. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -1
  89. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -1
  90. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -1
  91. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  92. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  93. package/dist-types/commands/PutBucketReplicationCommand.d.ts +10 -9
  94. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  95. package/dist-types/commands/PutBucketVersioningCommand.d.ts +6 -6
  96. package/dist-types/commands/PutJobTaggingCommand.d.ts +1 -1
  97. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -1
  98. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  99. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
  100. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -1
  101. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +3 -2
  102. package/dist-types/commands/TagResourceCommand.d.ts +12 -8
  103. package/dist-types/commands/UntagResourceCommand.d.ts +12 -8
  104. package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +90 -0
  105. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateJobStatusCommand.d.ts +1 -1
  107. package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +1 -1
  108. package/dist-types/commands/index.d.ts +20 -0
  109. package/dist-types/models/index.d.ts +1 -0
  110. package/dist-types/models/models_0.d.ts +1211 -831
  111. package/dist-types/models/models_1.d.ts +775 -0
  112. package/dist-types/pagination/ListAccessGrantsInstancesPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListAccessGrantsLocationsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListAccessGrantsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/index.d.ts +3 -0
  116. package/dist-types/protocols/Aws_restXml.d.ts +180 -0
  117. package/dist-types/ts3.4/S3Control.d.ts +370 -0
  118. package/dist-types/ts3.4/S3ControlClient.d.ts +120 -0
  119. package/dist-types/ts3.4/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/CreateAccessGrantCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/CreateAccessGrantsInstanceCommand.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/CreateAccessGrantsLocationCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/DeleteAccessGrantCommand.d.ts +34 -0
  124. package/dist-types/ts3.4/commands/DeleteAccessGrantsInstanceCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/DeleteAccessGrantsLocationCommand.d.ts +38 -0
  127. package/dist-types/ts3.4/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/GetAccessGrantCommand.d.ts +38 -0
  129. package/dist-types/ts3.4/commands/GetAccessGrantsInstanceCommand.d.ts +42 -0
  130. package/dist-types/ts3.4/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +42 -0
  131. package/dist-types/ts3.4/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +42 -0
  132. package/dist-types/ts3.4/commands/GetAccessGrantsLocationCommand.d.ts +42 -0
  133. package/dist-types/ts3.4/commands/GetDataAccessCommand.d.ts +35 -0
  134. package/dist-types/ts3.4/commands/ListAccessGrantsCommand.d.ts +38 -0
  135. package/dist-types/ts3.4/commands/ListAccessGrantsInstancesCommand.d.ts +42 -0
  136. package/dist-types/ts3.4/commands/ListAccessGrantsLocationsCommand.d.ts +42 -0
  137. package/dist-types/ts3.4/commands/ListStorageLensGroupsCommand.d.ts +2 -4
  138. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +42 -0
  140. package/dist-types/ts3.4/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/PutAccessPointPolicyCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/PutJobTaggingCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/UpdateAccessGrantsLocationCommand.d.ts +42 -0
  157. package/dist-types/ts3.4/commands/UpdateJobPriorityCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/UpdateJobStatusCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  161. package/dist-types/ts3.4/models/index.d.ts +1 -0
  162. package/dist-types/ts3.4/models/models_0.d.ts +248 -181
  163. package/dist-types/ts3.4/models/models_1.d.ts +205 -0
  164. package/dist-types/ts3.4/pagination/ListAccessGrantsInstancesPaginator.d.ts +11 -0
  165. package/dist-types/ts3.4/pagination/ListAccessGrantsLocationsPaginator.d.ts +11 -0
  166. package/dist-types/ts3.4/pagination/ListAccessGrantsPaginator.d.ts +11 -0
  167. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  168. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +240 -0
  169. 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";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";
@@ -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",
@@ -101,6 +115,15 @@ export const JobManifestFormat = {
101
115
  S3BatchOperations_CSV_20180820: "S3BatchOperations_CSV_20180820",
102
116
  S3InventoryReport_CSV_20161130: "S3InventoryReport_CSV_20161130",
103
117
  };
118
+ export const S3StorageClass = {
119
+ DEEP_ARCHIVE: "DEEP_ARCHIVE",
120
+ GLACIER: "GLACIER",
121
+ GLACIER_IR: "GLACIER_IR",
122
+ INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
123
+ ONEZONE_IA: "ONEZONE_IA",
124
+ STANDARD: "STANDARD",
125
+ STANDARD_IA: "STANDARD_IA",
126
+ };
104
127
  export const ReplicationStatus = {
105
128
  COMPLETED: "COMPLETED",
106
129
  FAILED: "FAILED",
@@ -165,15 +188,6 @@ export const S3ObjectLockMode = {
165
188
  COMPLIANCE: "COMPLIANCE",
166
189
  GOVERNANCE: "GOVERNANCE",
167
190
  };
168
- export const S3StorageClass = {
169
- DEEP_ARCHIVE: "DEEP_ARCHIVE",
170
- GLACIER: "GLACIER",
171
- GLACIER_IR: "GLACIER_IR",
172
- INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
173
- ONEZONE_IA: "ONEZONE_IA",
174
- STANDARD: "STANDARD",
175
- STANDARD_IA: "STANDARD_IA",
176
- };
177
191
  export const S3ObjectLockRetentionMode = {
178
192
  COMPLIANCE: "COMPLIANCE",
179
193
  GOVERNANCE: "GOVERNANCE",
@@ -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 MFADelete = {
379
- Disabled: "Disabled",
380
- Enabled: "Enabled",
381
- };
382
- export class TooManyTagsException extends __BaseException {
383
- constructor(opts) {
384
- super({
385
- name: "TooManyTagsException",
386
- $fault: "client",
387
- ...opts,
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";