@aws-sdk/client-s3-control 3.775.0 → 3.779.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 (141) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/endpoint/endpointResolver.js +1 -0
  3. package/dist-cjs/endpoint/ruleset.js +3 -3
  4. package/dist-cjs/index.js +482 -201
  5. package/dist-es/S3Control.js +8 -0
  6. package/dist-es/commands/CreateAccessPointCommand.js +1 -0
  7. package/dist-es/commands/DeleteAccessPointScopeCommand.js +30 -0
  8. package/dist-es/commands/GetAccessPointScopeCommand.js +30 -0
  9. package/dist-es/commands/ListAccessPointsForDirectoryBucketsCommand.js +29 -0
  10. package/dist-es/commands/PutAccessPointScopeCommand.js +30 -0
  11. package/dist-es/commands/index.js +4 -0
  12. package/dist-es/endpoint/endpointResolver.js +1 -0
  13. package/dist-es/endpoint/ruleset.js +3 -3
  14. package/dist-es/models/models_0.js +10 -0
  15. package/dist-es/pagination/ListAccessPointsForDirectoryBucketsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restXml.js +221 -51
  18. package/dist-types/S3Control.d.ts +29 -0
  19. package/dist-types/S3ControlClient.d.ts +6 -2
  20. package/dist-types/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateAccessGrantCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateAccessGrantsInstanceCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateAccessGrantsLocationCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateAccessPointCommand.d.ts +17 -5
  25. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +1 -0
  26. package/dist-types/commands/CreateBucketCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateJobCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +1 -0
  29. package/dist-types/commands/CreateStorageLensGroupCommand.d.ts +1 -0
  30. package/dist-types/commands/DeleteAccessGrantCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteAccessGrantsInstanceCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +1 -0
  33. package/dist-types/commands/DeleteAccessGrantsLocationCommand.d.ts +1 -0
  34. package/dist-types/commands/DeleteAccessPointCommand.d.ts +2 -4
  35. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +1 -0
  36. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +2 -4
  37. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  38. package/dist-types/commands/DeleteAccessPointScopeCommand.d.ts +78 -0
  39. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -0
  40. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -0
  42. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -0
  44. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +1 -0
  45. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +1 -0
  46. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  47. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +1 -0
  48. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +1 -0
  49. package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +1 -0
  50. package/dist-types/commands/DescribeJobCommand.d.ts +1 -0
  51. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +1 -0
  52. package/dist-types/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +1 -0
  53. package/dist-types/commands/GetAccessGrantCommand.d.ts +1 -0
  54. package/dist-types/commands/GetAccessGrantsInstanceCommand.d.ts +2 -0
  55. package/dist-types/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +1 -0
  56. package/dist-types/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +1 -0
  57. package/dist-types/commands/GetAccessGrantsLocationCommand.d.ts +1 -0
  58. package/dist-types/commands/GetAccessPointCommand.d.ts +2 -4
  59. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
  60. package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +1 -0
  61. package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +2 -4
  62. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  63. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +1 -0
  64. package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +1 -0
  65. package/dist-types/commands/GetAccessPointScopeCommand.d.ts +84 -0
  66. package/dist-types/commands/GetBucketCommand.d.ts +1 -0
  67. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
  68. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
  69. package/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -0
  70. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
  71. package/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -0
  72. package/dist-types/commands/GetDataAccessCommand.d.ts +1 -0
  73. package/dist-types/commands/GetJobTaggingCommand.d.ts +1 -0
  74. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +1 -0
  75. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +1 -0
  76. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +1 -0
  77. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +1 -0
  78. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -0
  79. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +1 -0
  80. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +1 -0
  81. package/dist-types/commands/GetStorageLensGroupCommand.d.ts +1 -0
  82. package/dist-types/commands/ListAccessGrantsCommand.d.ts +1 -0
  83. package/dist-types/commands/ListAccessGrantsInstancesCommand.d.ts +1 -0
  84. package/dist-types/commands/ListAccessGrantsLocationsCommand.d.ts +1 -0
  85. package/dist-types/commands/ListAccessPointsCommand.d.ts +1 -0
  86. package/dist-types/commands/ListAccessPointsForDirectoryBucketsCommand.d.ts +92 -0
  87. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +1 -0
  88. package/dist-types/commands/ListCallerAccessGrantsCommand.d.ts +1 -0
  89. package/dist-types/commands/ListJobsCommand.d.ts +3 -1
  90. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +2 -1
  91. package/dist-types/commands/ListRegionalBucketsCommand.d.ts +2 -1
  92. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +2 -2
  93. package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +1 -0
  94. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  95. package/dist-types/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +1 -0
  96. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
  97. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +2 -4
  98. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  99. package/dist-types/commands/PutAccessPointScopeCommand.d.ts +128 -0
  100. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -0
  101. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -0
  102. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -0
  103. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
  104. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -0
  105. package/dist-types/commands/PutJobTaggingCommand.d.ts +1 -0
  106. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -0
  107. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  108. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +1 -0
  109. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -0
  110. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -0
  111. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  112. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  113. package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +1 -0
  114. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +1 -0
  115. package/dist-types/commands/UpdateJobStatusCommand.d.ts +1 -0
  116. package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +1 -0
  117. package/dist-types/commands/index.d.ts +4 -0
  118. package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
  119. package/dist-types/models/models_0.d.ts +141 -147
  120. package/dist-types/models/models_1.d.ts +172 -3
  121. package/dist-types/pagination/ListAccessPointsForDirectoryBucketsPaginator.d.ts +7 -0
  122. package/dist-types/pagination/index.d.ts +1 -0
  123. package/dist-types/protocols/Aws_restXml.d.ts +36 -0
  124. package/dist-types/ts3.4/S3Control.d.ts +75 -0
  125. package/dist-types/ts3.4/S3ControlClient.d.ts +24 -0
  126. package/dist-types/ts3.4/commands/DeleteAccessPointScopeCommand.d.ts +46 -0
  127. package/dist-types/ts3.4/commands/GetAccessPointScopeCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/ListAccessPointsForDirectoryBucketsCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +2 -1
  130. package/dist-types/ts3.4/commands/ListMultiRegionAccessPointsCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/ListRegionalBucketsCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/ListStorageLensConfigurationsCommand.d.ts +4 -2
  133. package/dist-types/ts3.4/commands/PutAccessPointScopeCommand.d.ts +46 -0
  134. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  135. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +38 -34
  137. package/dist-types/ts3.4/models/models_1.d.ts +42 -0
  138. package/dist-types/ts3.4/pagination/ListAccessPointsForDirectoryBucketsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  140. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +48 -0
  141. package/package.json +2 -2
@@ -0,0 +1,128 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutAccessPointScopeRequest } from "../models/models_1";
4
+ import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutAccessPointScopeCommand}.
14
+ */
15
+ export interface PutAccessPointScopeCommandInput extends PutAccessPointScopeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutAccessPointScopeCommand}.
21
+ */
22
+ export interface PutAccessPointScopeCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PutAccessPointScopeCommand_base: {
25
+ new (input: PutAccessPointScopeCommandInput): import("@smithy/smithy-client").CommandImpl<PutAccessPointScopeCommandInput, PutAccessPointScopeCommandOutput, S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutAccessPointScopeCommandInput): import("@smithy/smithy-client").CommandImpl<PutAccessPointScopeCommandInput, PutAccessPointScopeCommandOutput, S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or replaces the access point scope for a directory bucket. You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.</p>
31
+ * <p>You can include one or more of the following API operations as permissions:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>
35
+ * <code>PutObjet</code>
36
+ * </p>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <code>GetObject</code>
41
+ * </p>
42
+ * </li>
43
+ * <li>
44
+ * <p>
45
+ * <code>DeleteObject</code>
46
+ * </p>
47
+ * </li>
48
+ * <li>
49
+ * <p>
50
+ * <code>ListBucket</code>
51
+ * </p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>GetObjectAttributes</code>
56
+ * </p>
57
+ * </li>
58
+ * <li>
59
+ * <p>
60
+ * <code>AbortMultipartUpload</code>
61
+ * </p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <code>ListBucketMultipartUpload</code>
66
+ * </p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>ListMultiPartUploadParts</code>
71
+ * </p>
72
+ * </li>
73
+ * </ul>
74
+ * <note>
75
+ * <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 512 KB in size.</p>
76
+ * </note>
77
+ * <p>To use this operation, you must have the permission to perform the
78
+ * <code>s3express:PutAccessPointScope</code> action.</p>
79
+ * <p>For information about REST API errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses">REST error responses</a>.</p>
80
+ * @example
81
+ * Use a bare-bones client and the command you need to make an API call.
82
+ * ```javascript
83
+ * import { S3ControlClient, PutAccessPointScopeCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
84
+ * // const { S3ControlClient, PutAccessPointScopeCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
85
+ * const client = new S3ControlClient(config);
86
+ * const input = { // PutAccessPointScopeRequest
87
+ * AccountId: "STRING_VALUE",
88
+ * Name: "STRING_VALUE", // required
89
+ * Scope: { // Scope
90
+ * Prefixes: [ // PrefixesList
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * Permissions: [ // ScopePermissionList
94
+ * "GetObject" || "GetObjectAttributes" || "ListMultipartUploadParts" || "ListBucket" || "ListBucketMultipartUploads" || "PutObject" || "DeleteObject" || "AbortMultipartUpload",
95
+ * ],
96
+ * },
97
+ * };
98
+ * const command = new PutAccessPointScopeCommand(input);
99
+ * const response = await client.send(command);
100
+ * // {};
101
+ *
102
+ * ```
103
+ *
104
+ * @param PutAccessPointScopeCommandInput - {@link PutAccessPointScopeCommandInput}
105
+ * @returns {@link PutAccessPointScopeCommandOutput}
106
+ * @see {@link PutAccessPointScopeCommandInput} for command's `input` shape.
107
+ * @see {@link PutAccessPointScopeCommandOutput} for command's `response` shape.
108
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
109
+ *
110
+ * @throws {@link S3ControlServiceException}
111
+ * <p>Base exception class for all service exceptions from S3Control service.</p>
112
+ *
113
+ *
114
+ * @public
115
+ */
116
+ export declare class PutAccessPointScopeCommand extends PutAccessPointScopeCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: PutAccessPointScopeRequest;
121
+ output: {};
122
+ };
123
+ sdk: {
124
+ input: PutAccessPointScopeCommandInput;
125
+ output: PutAccessPointScopeCommandOutput;
126
+ };
127
+ };
128
+ }
@@ -130,6 +130,7 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
130
130
  * @throws {@link S3ControlServiceException}
131
131
  * <p>Base exception class for all service exceptions from S3Control service.</p>
132
132
  *
133
+ *
133
134
  * @public
134
135
  */
135
136
  export declare class PutBucketLifecycleConfigurationCommand extends PutBucketLifecycleConfigurationCommand_base {
@@ -90,6 +90,7 @@ declare const PutBucketPolicyCommand_base: {
90
90
  * @throws {@link S3ControlServiceException}
91
91
  * <p>Base exception class for all service exceptions from S3Control service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class PutBucketPolicyCommand extends PutBucketPolicyCommand_base {
@@ -199,6 +199,7 @@ declare const PutBucketReplicationCommand_base: {
199
199
  * @throws {@link S3ControlServiceException}
200
200
  * <p>Base exception class for all service exceptions from S3Control service.</p>
201
201
  *
202
+ *
202
203
  * @public
203
204
  */
204
205
  export declare class PutBucketReplicationCommand extends PutBucketReplicationCommand_base {
@@ -143,6 +143,7 @@ declare const PutBucketTaggingCommand_base: {
143
143
  * @throws {@link S3ControlServiceException}
144
144
  * <p>Base exception class for all service exceptions from S3Control service.</p>
145
145
  *
146
+ *
146
147
  * @public
147
148
  */
148
149
  export declare class PutBucketTaggingCommand extends PutBucketTaggingCommand_base {
@@ -119,6 +119,7 @@ declare const PutBucketVersioningCommand_base: {
119
119
  * @throws {@link S3ControlServiceException}
120
120
  * <p>Base exception class for all service exceptions from S3Control service.</p>
121
121
  *
122
+ *
122
123
  * @public
123
124
  */
124
125
  export declare class PutBucketVersioningCommand extends PutBucketVersioningCommand_base {
@@ -139,6 +139,7 @@ declare const PutJobTaggingCommand_base: {
139
139
  * @throws {@link S3ControlServiceException}
140
140
  * <p>Base exception class for all service exceptions from S3Control service.</p>
141
141
  *
142
+ *
142
143
  * @public
143
144
  */
144
145
  export declare class PutJobTaggingCommand extends PutJobTaggingCommand_base {
@@ -81,6 +81,7 @@ declare const PutMultiRegionAccessPointPolicyCommand_base: {
81
81
  * @throws {@link S3ControlServiceException}
82
82
  * <p>Base exception class for all service exceptions from S3Control service.</p>
83
83
  *
84
+ *
84
85
  * @public
85
86
  */
86
87
  export declare class PutMultiRegionAccessPointPolicyCommand extends PutMultiRegionAccessPointPolicyCommand_base {
@@ -77,6 +77,7 @@ declare const PutPublicAccessBlockCommand_base: {
77
77
  * @throws {@link S3ControlServiceException}
78
78
  * <p>Base exception class for all service exceptions from S3Control service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base {
@@ -158,6 +158,7 @@ declare const PutStorageLensConfigurationCommand_base: {
158
158
  * @throws {@link S3ControlServiceException}
159
159
  * <p>Base exception class for all service exceptions from S3Control service.</p>
160
160
  *
161
+ *
161
162
  * @public
162
163
  */
163
164
  export declare class PutStorageLensConfigurationCommand extends PutStorageLensConfigurationCommand_base {
@@ -70,6 +70,7 @@ declare const PutStorageLensConfigurationTaggingCommand_base: {
70
70
  * @throws {@link S3ControlServiceException}
71
71
  * <p>Base exception class for all service exceptions from S3Control service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class PutStorageLensConfigurationTaggingCommand extends PutStorageLensConfigurationTaggingCommand_base {
@@ -105,6 +105,7 @@ declare const SubmitMultiRegionAccessPointRoutesCommand_base: {
105
105
  * @throws {@link S3ControlServiceException}
106
106
  * <p>Base exception class for all service exceptions from S3Control service.</p>
107
107
  *
108
+ *
108
109
  * @public
109
110
  */
110
111
  export declare class SubmitMultiRegionAccessPointRoutesCommand extends SubmitMultiRegionAccessPointRoutesCommand_base {
@@ -71,6 +71,7 @@ declare const TagResourceCommand_base: {
71
71
  * @throws {@link S3ControlServiceException}
72
72
  * <p>Base exception class for all service exceptions from S3Control service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -69,6 +69,7 @@ declare const UntagResourceCommand_base: {
69
69
  * @throws {@link S3ControlServiceException}
70
70
  * <p>Base exception class for all service exceptions from S3Control service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
@@ -71,6 +71,7 @@ declare const UpdateAccessGrantsLocationCommand_base: {
71
71
  * @throws {@link S3ControlServiceException}
72
72
  * <p>Base exception class for all service exceptions from S3Control service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class UpdateAccessGrantsLocationCommand extends UpdateAccessGrantsLocationCommand_base {
@@ -100,6 +100,7 @@ declare const UpdateJobPriorityCommand_base: {
100
100
  * @throws {@link S3ControlServiceException}
101
101
  * <p>Base exception class for all service exceptions from S3Control service.</p>
102
102
  *
103
+ *
103
104
  * @public
104
105
  */
105
106
  export declare class UpdateJobPriorityCommand extends UpdateJobPriorityCommand_base {
@@ -106,6 +106,7 @@ declare const UpdateJobStatusCommand_base: {
106
106
  * @throws {@link S3ControlServiceException}
107
107
  * <p>Base exception class for all service exceptions from S3Control service.</p>
108
108
  *
109
+ *
109
110
  * @public
110
111
  */
111
112
  export declare class UpdateJobStatusCommand extends UpdateJobStatusCommand_base {
@@ -129,6 +129,7 @@ declare const UpdateStorageLensGroupCommand_base: {
129
129
  * @throws {@link S3ControlServiceException}
130
130
  * <p>Base exception class for all service exceptions from S3Control service.</p>
131
131
  *
132
+ *
132
133
  * @public
133
134
  */
134
135
  export declare class UpdateStorageLensGroupCommand extends UpdateStorageLensGroupCommand_base {
@@ -16,6 +16,7 @@ export * from "./DeleteAccessPointCommand";
16
16
  export * from "./DeleteAccessPointForObjectLambdaCommand";
17
17
  export * from "./DeleteAccessPointPolicyCommand";
18
18
  export * from "./DeleteAccessPointPolicyForObjectLambdaCommand";
19
+ export * from "./DeleteAccessPointScopeCommand";
19
20
  export * from "./DeleteBucketCommand";
20
21
  export * from "./DeleteBucketLifecycleConfigurationCommand";
21
22
  export * from "./DeleteBucketPolicyCommand";
@@ -42,6 +43,7 @@ export * from "./GetAccessPointPolicyCommand";
42
43
  export * from "./GetAccessPointPolicyForObjectLambdaCommand";
43
44
  export * from "./GetAccessPointPolicyStatusCommand";
44
45
  export * from "./GetAccessPointPolicyStatusForObjectLambdaCommand";
46
+ export * from "./GetAccessPointScopeCommand";
45
47
  export * from "./GetBucketCommand";
46
48
  export * from "./GetBucketLifecycleConfigurationCommand";
47
49
  export * from "./GetBucketPolicyCommand";
@@ -62,6 +64,7 @@ export * from "./ListAccessGrantsCommand";
62
64
  export * from "./ListAccessGrantsInstancesCommand";
63
65
  export * from "./ListAccessGrantsLocationsCommand";
64
66
  export * from "./ListAccessPointsCommand";
67
+ export * from "./ListAccessPointsForDirectoryBucketsCommand";
65
68
  export * from "./ListAccessPointsForObjectLambdaCommand";
66
69
  export * from "./ListCallerAccessGrantsCommand";
67
70
  export * from "./ListJobsCommand";
@@ -74,6 +77,7 @@ export * from "./PutAccessGrantsInstanceResourcePolicyCommand";
74
77
  export * from "./PutAccessPointConfigurationForObjectLambdaCommand";
75
78
  export * from "./PutAccessPointPolicyCommand";
76
79
  export * from "./PutAccessPointPolicyForObjectLambdaCommand";
80
+ export * from "./PutAccessPointScopeCommand";
77
81
  export * from "./PutBucketLifecycleConfigurationCommand";
78
82
  export * from "./PutBucketPolicyCommand";
79
83
  export * from "./PutBucketReplicationCommand";
@@ -48,4 +48,5 @@ export interface EndpointParameters extends __EndpointParameters {
48
48
  Bucket?: string;
49
49
  AccessPointName?: string;
50
50
  UseArnRegion?: boolean;
51
+ UseS3ExpressControlEndpoint?: boolean;
51
52
  }
@@ -1101,6 +1101,42 @@ export interface CreateAccessGrantsLocationResult {
1101
1101
  */
1102
1102
  IAMRoleArn?: string | undefined;
1103
1103
  }
1104
+ /**
1105
+ * @public
1106
+ * @enum
1107
+ */
1108
+ export declare const ScopePermission: {
1109
+ readonly AbortMultipartUpload: "AbortMultipartUpload";
1110
+ readonly DeleteObject: "DeleteObject";
1111
+ readonly GetObject: "GetObject";
1112
+ readonly GetObjectAttributes: "GetObjectAttributes";
1113
+ readonly ListBucket: "ListBucket";
1114
+ readonly ListBucketMultipartUploads: "ListBucketMultipartUploads";
1115
+ readonly ListMultipartUploadParts: "ListMultipartUploadParts";
1116
+ readonly PutObject: "PutObject";
1117
+ };
1118
+ /**
1119
+ * @public
1120
+ */
1121
+ export type ScopePermission = (typeof ScopePermission)[keyof typeof ScopePermission];
1122
+ /**
1123
+ * <p>You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.</p>
1124
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets-manage-scope.html">Manage the scope of your access points for directory buckets.</a>
1125
+ * </p>
1126
+ * @public
1127
+ */
1128
+ export interface Scope {
1129
+ /**
1130
+ * <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 512 KB in size.</p>
1131
+ * @public
1132
+ */
1133
+ Prefixes?: string[] | undefined;
1134
+ /**
1135
+ * <p>You can include one or more API operations as permissions.</p>
1136
+ * @public
1137
+ */
1138
+ Permissions?: ScopePermission[] | undefined;
1139
+ }
1104
1140
  /**
1105
1141
  * @public
1106
1142
  */
@@ -1112,6 +1148,7 @@ export interface CreateAccessPointRequest {
1112
1148
  AccountId?: string | undefined;
1113
1149
  /**
1114
1150
  * <p>The name you want to assign to this access point.</p>
1151
+ * <p>For directory buckets, the access point name must consist of a base name that you provide and suffix that includes the <code>ZoneID</code> (Amazon Web Services Availability Zone or Local Zone) of your bucket location, followed by <code>--xa-s3</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html">Managing access to shared datasets in directory buckets with access points</a> in the Amazon S3 User Guide.</p>
1115
1152
  * @public
1116
1153
  */
1117
1154
  Name: string | undefined;
@@ -1145,6 +1182,14 @@ export interface CreateAccessPointRequest {
1145
1182
  * @public
1146
1183
  */
1147
1184
  BucketAccountId?: string | undefined;
1185
+ /**
1186
+ * <p>For directory buckets, you can filter access control to specific prefixes, API operations, or a combination of both. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html">Managing access to shared datasets in directory buckets with access points</a> in the Amazon S3 User Guide.</p>
1187
+ * <note>
1188
+ * <p>Scope is not supported for access points for general purpose buckets.</p>
1189
+ * </note>
1190
+ * @public
1191
+ */
1192
+ Scope?: Scope | undefined;
1148
1193
  }
1149
1194
  /**
1150
1195
  * @public
@@ -3248,6 +3293,25 @@ export interface DeleteAccessPointPolicyForObjectLambdaRequest {
3248
3293
  */
3249
3294
  Name: string | undefined;
3250
3295
  }
3296
+ /**
3297
+ * @public
3298
+ */
3299
+ export interface DeleteAccessPointScopeRequest {
3300
+ /**
3301
+ * <p>
3302
+ * The Amazon Web Services account ID that owns the access point with the scope that you want to delete.
3303
+ * </p>
3304
+ * @public
3305
+ */
3306
+ AccountId?: string | undefined;
3307
+ /**
3308
+ * <p>
3309
+ * The name of the access point with the scope that you want to delete.
3310
+ * </p>
3311
+ * @public
3312
+ */
3313
+ Name: string | undefined;
3314
+ }
3251
3315
  /**
3252
3316
  * @public
3253
3317
  */
@@ -4235,6 +4299,33 @@ export interface GetAccessPointPolicyStatusForObjectLambdaResult {
4235
4299
  */
4236
4300
  PolicyStatus?: PolicyStatus | undefined;
4237
4301
  }
4302
+ /**
4303
+ * @public
4304
+ */
4305
+ export interface GetAccessPointScopeRequest {
4306
+ /**
4307
+ * <p>
4308
+ * The Amazon Web Services account ID that owns the access point with the scope that you want to retrieve.
4309
+ * </p>
4310
+ * @public
4311
+ */
4312
+ AccountId?: string | undefined;
4313
+ /**
4314
+ * <p>The name of the access point with the scope you want to retrieve.</p>
4315
+ * @public
4316
+ */
4317
+ Name: string | undefined;
4318
+ }
4319
+ /**
4320
+ * @public
4321
+ */
4322
+ export interface GetAccessPointScopeResult {
4323
+ /**
4324
+ * <p>The contents of the access point scope.</p>
4325
+ * @public
4326
+ */
4327
+ Scope?: Scope | undefined;
4328
+ }
4238
4329
  /**
4239
4330
  * @public
4240
4331
  */
@@ -6235,6 +6326,56 @@ export interface ListAccessPointsResult {
6235
6326
  */
6236
6327
  NextToken?: string | undefined;
6237
6328
  }
6329
+ /**
6330
+ * @public
6331
+ */
6332
+ export interface ListAccessPointsForDirectoryBucketsRequest {
6333
+ /**
6334
+ * <p>The Amazon Web Services account ID that owns the access points.</p>
6335
+ * @public
6336
+ */
6337
+ AccountId?: string | undefined;
6338
+ /**
6339
+ * <p>The name of the directory bucket associated with the access points you want to list.</p>
6340
+ * @public
6341
+ */
6342
+ DirectoryBucket?: string | undefined;
6343
+ /**
6344
+ * <p>
6345
+ * If <code>NextToken</code> is returned, there are more access points available than requested in the <code>maxResults</code> value. The value of <code>NextToken</code> is a
6346
+ * unique pagination token for each page. Make the call again using the returned token to
6347
+ * retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
6348
+ * after 24 hours.
6349
+ * </p>
6350
+ * @public
6351
+ */
6352
+ NextToken?: string | undefined;
6353
+ /**
6354
+ * <p>The maximum number of access points that you would like returned in the <code>ListAccessPointsForDirectoryBuckets</code> response. If the directory bucket is associated with more than this number of access points, the results include the pagination token <code>NextToken</code>. Make another call using the <code>NextToken</code> to retrieve more results.</p>
6355
+ * @public
6356
+ */
6357
+ MaxResults?: number | undefined;
6358
+ }
6359
+ /**
6360
+ * @public
6361
+ */
6362
+ export interface ListAccessPointsForDirectoryBucketsResult {
6363
+ /**
6364
+ * <p>Contains identification and configuration information for one or more access points associated with the directory bucket.</p>
6365
+ * @public
6366
+ */
6367
+ AccessPointList?: AccessPoint[] | undefined;
6368
+ /**
6369
+ * <p>
6370
+ * If <code>NextToken</code> is returned, there are more access points available than requested in the <code>maxResults</code> value. The value of <code>NextToken</code> is a
6371
+ * unique pagination token for each page. Make the call again using the returned token to
6372
+ * retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
6373
+ * after 24 hours.
6374
+ * </p>
6375
+ * @public
6376
+ */
6377
+ NextToken?: string | undefined;
6378
+ }
6238
6379
  /**
6239
6380
  * @public
6240
6381
  */
@@ -6507,153 +6648,6 @@ export interface JobListDescriptor {
6507
6648
  */
6508
6649
  ProgressSummary?: JobProgressSummary | undefined;
6509
6650
  }
6510
- /**
6511
- * @public
6512
- */
6513
- export interface ListJobsResult {
6514
- /**
6515
- * <p>If the <code>List Jobs</code> request produced more than the maximum number of results,
6516
- * you can pass this value into a subsequent <code>List Jobs</code> request in order to
6517
- * retrieve the next page of results.</p>
6518
- * @public
6519
- */
6520
- NextToken?: string | undefined;
6521
- /**
6522
- * <p>The list of current jobs and jobs that have ended within the last 30 days.</p>
6523
- * @public
6524
- */
6525
- Jobs?: JobListDescriptor[] | undefined;
6526
- }
6527
- /**
6528
- * @public
6529
- */
6530
- export interface ListMultiRegionAccessPointsRequest {
6531
- /**
6532
- * <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
6533
- * @public
6534
- */
6535
- AccountId?: string | undefined;
6536
- /**
6537
- * <p>Not currently used. Do not use this parameter.</p>
6538
- * @public
6539
- */
6540
- NextToken?: string | undefined;
6541
- /**
6542
- * <p>Not currently used. Do not use this parameter.</p>
6543
- * @public
6544
- */
6545
- MaxResults?: number | undefined;
6546
- }
6547
- /**
6548
- * @public
6549
- */
6550
- export interface ListMultiRegionAccessPointsResult {
6551
- /**
6552
- * <p>The list of Multi-Region Access Points associated with the user.</p>
6553
- * @public
6554
- */
6555
- AccessPoints?: MultiRegionAccessPointReport[] | undefined;
6556
- /**
6557
- * <p>If the specified bucket has more Multi-Region Access Points than can be returned in one call to this
6558
- * action, this field contains a continuation token. You can use this token tin subsequent
6559
- * calls to this action to retrieve additional Multi-Region Access Points.</p>
6560
- * @public
6561
- */
6562
- NextToken?: string | undefined;
6563
- }
6564
- /**
6565
- * @public
6566
- */
6567
- export interface ListRegionalBucketsRequest {
6568
- /**
6569
- * <p>The Amazon Web Services account ID of the Outposts bucket.</p>
6570
- * @public
6571
- */
6572
- AccountId?: string | undefined;
6573
- /**
6574
- * <p></p>
6575
- * @public
6576
- */
6577
- NextToken?: string | undefined;
6578
- /**
6579
- * <p></p>
6580
- * @public
6581
- */
6582
- MaxResults?: number | undefined;
6583
- /**
6584
- * <p>The ID of the Outposts resource.</p>
6585
- * <note>
6586
- * <p>This ID is required by Amazon S3 on Outposts buckets.</p>
6587
- * </note>
6588
- * @public
6589
- */
6590
- OutpostId?: string | undefined;
6591
- }
6592
- /**
6593
- * <p>The container for the regional bucket.</p>
6594
- * @public
6595
- */
6596
- export interface RegionalBucket {
6597
- /**
6598
- * <p></p>
6599
- * @public
6600
- */
6601
- Bucket: string | undefined;
6602
- /**
6603
- * <p>The Amazon Resource Name (ARN) for the regional bucket.</p>
6604
- * @public
6605
- */
6606
- BucketArn?: string | undefined;
6607
- /**
6608
- * <p></p>
6609
- * @public
6610
- */
6611
- PublicAccessBlockEnabled: boolean | undefined;
6612
- /**
6613
- * <p>The creation date of the regional bucket</p>
6614
- * @public
6615
- */
6616
- CreationDate: Date | undefined;
6617
- /**
6618
- * <p>The Outposts ID of the regional bucket.</p>
6619
- * @public
6620
- */
6621
- OutpostId?: string | undefined;
6622
- }
6623
- /**
6624
- * @public
6625
- */
6626
- export interface ListRegionalBucketsResult {
6627
- /**
6628
- * <p></p>
6629
- * @public
6630
- */
6631
- RegionalBucketList?: RegionalBucket[] | undefined;
6632
- /**
6633
- * <p>
6634
- * <code>NextToken</code> is sent when <code>isTruncated</code> is true, which means there
6635
- * are more buckets that can be listed. The next list requests to Amazon S3 can be continued with
6636
- * this <code>NextToken</code>. <code>NextToken</code> is obfuscated and is not a real
6637
- * key.</p>
6638
- * @public
6639
- */
6640
- NextToken?: string | undefined;
6641
- }
6642
- /**
6643
- * @public
6644
- */
6645
- export interface ListStorageLensConfigurationsRequest {
6646
- /**
6647
- * <p>The account ID of the requester.</p>
6648
- * @public
6649
- */
6650
- AccountId?: string | undefined;
6651
- /**
6652
- * <p>A pagination token to request the next page of results.</p>
6653
- * @public
6654
- */
6655
- NextToken?: string | undefined;
6656
- }
6657
6651
  /**
6658
6652
  * @internal
6659
6653
  */