@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
@@ -0,0 +1,89 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListAccessGrantsInstancesRequest, ListAccessGrantsInstancesResult } from "../models/models_0";
5
+ import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAccessGrantsInstancesCommand}.
14
+ */
15
+ export interface ListAccessGrantsInstancesCommandInput extends ListAccessGrantsInstancesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAccessGrantsInstancesCommand}.
21
+ */
22
+ export interface ListAccessGrantsInstancesCommandOutput extends ListAccessGrantsInstancesResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of S3 Access Grants instances. An S3 Access Grants instance serves as a logical grouping for your individual access grants. You can only have one S3 Access Grants instance per Region per account.</p>
27
+ * <dl>
28
+ * <dt>Permissions</dt>
29
+ * <dd>
30
+ * <p>You must have the <code>s3:ListAccessGrantsInstances</code> permission to use this operation. </p>
31
+ * </dd>
32
+ * </dl>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { S3ControlClient, ListAccessGrantsInstancesCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
37
+ * // const { S3ControlClient, ListAccessGrantsInstancesCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
38
+ * const client = new S3ControlClient(config);
39
+ * const input = { // ListAccessGrantsInstancesRequest
40
+ * AccountId: "STRING_VALUE",
41
+ * NextToken: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * };
44
+ * const command = new ListAccessGrantsInstancesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListAccessGrantsInstancesResult
47
+ * // NextToken: "STRING_VALUE",
48
+ * // AccessGrantsInstancesList: [ // AccessGrantsInstancesList
49
+ * // { // ListAccessGrantsInstanceEntry
50
+ * // AccessGrantsInstanceId: "STRING_VALUE",
51
+ * // AccessGrantsInstanceArn: "STRING_VALUE",
52
+ * // CreatedAt: new Date("TIMESTAMP"),
53
+ * // IdentityCenterArn: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListAccessGrantsInstancesCommandInput - {@link ListAccessGrantsInstancesCommandInput}
61
+ * @returns {@link ListAccessGrantsInstancesCommandOutput}
62
+ * @see {@link ListAccessGrantsInstancesCommandInput} for command's `input` shape.
63
+ * @see {@link ListAccessGrantsInstancesCommandOutput} for command's `response` shape.
64
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
65
+ *
66
+ * @throws {@link S3ControlServiceException}
67
+ * <p>Base exception class for all service exceptions from S3Control service.</p>
68
+ *
69
+ */
70
+ export declare class ListAccessGrantsInstancesCommand extends $Command<ListAccessGrantsInstancesCommandInput, ListAccessGrantsInstancesCommandOutput, S3ControlClientResolvedConfig> {
71
+ readonly input: ListAccessGrantsInstancesCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: ListAccessGrantsInstancesCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccessGrantsInstancesCommandInput, ListAccessGrantsInstancesCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,91 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListAccessGrantsLocationsRequest, ListAccessGrantsLocationsResult } from "../models/models_0";
5
+ import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAccessGrantsLocationsCommand}.
14
+ */
15
+ export interface ListAccessGrantsLocationsCommandInput extends ListAccessGrantsLocationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAccessGrantsLocationsCommand}.
21
+ */
22
+ export interface ListAccessGrantsLocationsCommandOutput extends ListAccessGrantsLocationsResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of the locations registered in your S3 Access Grants instance.</p>
27
+ * <dl>
28
+ * <dt>Permissions</dt>
29
+ * <dd>
30
+ * <p>You must have the <code>s3:ListAccessGrantsLocations</code> permission to use this operation. </p>
31
+ * </dd>
32
+ * </dl>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { S3ControlClient, ListAccessGrantsLocationsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
37
+ * // const { S3ControlClient, ListAccessGrantsLocationsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
38
+ * const client = new S3ControlClient(config);
39
+ * const input = { // ListAccessGrantsLocationsRequest
40
+ * AccountId: "STRING_VALUE",
41
+ * NextToken: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * LocationScope: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListAccessGrantsLocationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAccessGrantsLocationsResult
48
+ * // NextToken: "STRING_VALUE",
49
+ * // AccessGrantsLocationsList: [ // AccessGrantsLocationsList
50
+ * // { // ListAccessGrantsLocationsEntry
51
+ * // CreatedAt: new Date("TIMESTAMP"),
52
+ * // AccessGrantsLocationId: "STRING_VALUE",
53
+ * // AccessGrantsLocationArn: "STRING_VALUE",
54
+ * // LocationScope: "STRING_VALUE",
55
+ * // IAMRoleArn: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListAccessGrantsLocationsCommandInput - {@link ListAccessGrantsLocationsCommandInput}
63
+ * @returns {@link ListAccessGrantsLocationsCommandOutput}
64
+ * @see {@link ListAccessGrantsLocationsCommandInput} for command's `input` shape.
65
+ * @see {@link ListAccessGrantsLocationsCommandOutput} for command's `response` shape.
66
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
67
+ *
68
+ * @throws {@link S3ControlServiceException}
69
+ * <p>Base exception class for all service exceptions from S3Control service.</p>
70
+ *
71
+ */
72
+ export declare class ListAccessGrantsLocationsCommand extends $Command<ListAccessGrantsLocationsCommandInput, ListAccessGrantsLocationsCommandOutput, S3ControlClientResolvedConfig> {
73
+ readonly input: ListAccessGrantsLocationsCommandInput;
74
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
+ /**
76
+ * @public
77
+ */
78
+ constructor(input: ListAccessGrantsLocationsCommandInput);
79
+ /**
80
+ * @internal
81
+ */
82
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccessGrantsLocationsCommandInput, ListAccessGrantsLocationsCommandOutput>;
83
+ /**
84
+ * @internal
85
+ */
86
+ private serialize;
87
+ /**
88
+ * @internal
89
+ */
90
+ private deserialize;
91
+ }
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { ListStorageLensGroupsRequest, ListStorageLensGroupsResult } from "../models/models_0";
4
+ import { ListStorageLensGroupsRequest } from "../models/models_0";
5
+ import { ListStorageLensGroupsResult } from "../models/models_1";
5
6
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
7
  /**
7
8
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -23,16 +23,19 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> This operation allows you to list all the Amazon Web Services resource tags for the specified
27
- * resource. </p>
28
- * <p>To use this operation, you must have the permission to perform the
29
- * <code>s3:ListTagsForResource</code> action. For more information about the required Storage Lens
30
- * Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
31
- * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
26
+ * <p>This operation allows you to list all the Amazon Web Services resource tags for a specified resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. </p>
27
+ * <dl>
28
+ * <dt>Permissions</dt>
29
+ * <dd>
30
+ * <p>You must have the <code>s3:ListTagsForResource</code> permission to use this operation. </p>
31
+ * </dd>
32
+ * </dl>
32
33
  * <note>
33
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens
34
- * groups</a>.</p>
34
+ * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
35
35
  * </note>
36
+ * <p>For more information about the required Storage Lens
37
+ * Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
38
+ * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
36
39
  * @example
37
40
  * Use a bare-bones client and the command you need to make an API call.
38
41
  * ```javascript
@@ -0,0 +1,83 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { PutAccessGrantsInstanceResourcePolicyRequest, PutAccessGrantsInstanceResourcePolicyResult } from "../models/models_1";
5
+ import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutAccessGrantsInstanceResourcePolicyCommand}.
14
+ */
15
+ export interface PutAccessGrantsInstanceResourcePolicyCommandInput extends PutAccessGrantsInstanceResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutAccessGrantsInstanceResourcePolicyCommand}.
21
+ */
22
+ export interface PutAccessGrantsInstanceResourcePolicyCommandOutput extends PutAccessGrantsInstanceResourcePolicyResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the resource policy of the S3 Access Grants instance. </p>
27
+ * <dl>
28
+ * <dt>Permissions</dt>
29
+ * <dd>
30
+ * <p>You must have the <code>s3:PutAccessGrantsInstanceResourcePolicy</code> permission to use this operation. </p>
31
+ * </dd>
32
+ * </dl>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { S3ControlClient, PutAccessGrantsInstanceResourcePolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
37
+ * // const { S3ControlClient, PutAccessGrantsInstanceResourcePolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
38
+ * const client = new S3ControlClient(config);
39
+ * const input = { // PutAccessGrantsInstanceResourcePolicyRequest
40
+ * AccountId: "STRING_VALUE",
41
+ * Policy: "STRING_VALUE", // required
42
+ * Organization: "STRING_VALUE",
43
+ * };
44
+ * const command = new PutAccessGrantsInstanceResourcePolicyCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // PutAccessGrantsInstanceResourcePolicyResult
47
+ * // Policy: "STRING_VALUE",
48
+ * // Organization: "STRING_VALUE",
49
+ * // CreatedAt: new Date("TIMESTAMP"),
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param PutAccessGrantsInstanceResourcePolicyCommandInput - {@link PutAccessGrantsInstanceResourcePolicyCommandInput}
55
+ * @returns {@link PutAccessGrantsInstanceResourcePolicyCommandOutput}
56
+ * @see {@link PutAccessGrantsInstanceResourcePolicyCommandInput} for command's `input` shape.
57
+ * @see {@link PutAccessGrantsInstanceResourcePolicyCommandOutput} for command's `response` shape.
58
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
59
+ *
60
+ * @throws {@link S3ControlServiceException}
61
+ * <p>Base exception class for all service exceptions from S3Control service.</p>
62
+ *
63
+ */
64
+ export declare class PutAccessGrantsInstanceResourcePolicyCommand extends $Command<PutAccessGrantsInstanceResourcePolicyCommandInput, PutAccessGrantsInstanceResourcePolicyCommandOutput, S3ControlClientResolvedConfig> {
65
+ readonly input: PutAccessGrantsInstanceResourcePolicyCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: PutAccessGrantsInstanceResourcePolicyCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAccessGrantsInstanceResourcePolicyCommandInput, PutAccessGrantsInstanceResourcePolicyCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutAccessPointConfigurationForObjectLambdaRequest } from "../models/models_0";
4
+ import { PutAccessPointConfigurationForObjectLambdaRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutAccessPointPolicyRequest } from "../models/models_0";
4
+ import { PutAccessPointPolicyRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutAccessPointPolicyForObjectLambdaRequest } from "../models/models_0";
4
+ import { PutAccessPointPolicyForObjectLambdaRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutBucketLifecycleConfigurationRequest } from "../models/models_0";
4
+ import { PutBucketLifecycleConfigurationRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutBucketPolicyRequest } from "../models/models_0";
4
+ import { PutBucketPolicyRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutBucketReplicationRequest } from "../models/models_0";
4
+ import { PutBucketReplicationRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -29,8 +29,8 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
29
29
  * in the <i>Amazon S3 API Reference</i>. </p>
30
30
  * </note>
31
31
  * <p>Creates a replication configuration or replaces an existing one. For information about
32
- * S3 replication on Outposts configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for S3 on Outposts</a> in the
33
- * <i>Amazon S3 User Guide</i>.</p>
32
+ * S3 replication on Outposts configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for
33
+ * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
34
34
  * <note>
35
35
  * <p>It can take a while to propagate <code>PUT</code> or <code>DELETE</code> requests for
36
36
  * a replication configuration to all S3 on Outposts systems. Therefore, the replication
@@ -55,9 +55,9 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
55
55
  * </li>
56
56
  * </ul>
57
57
  * <p>A replication configuration must include at least one rule and can contain a maximum of
58
- * 100. Each rule identifies a subset of objects to replicate by filtering the objects in
59
- * the source Outposts bucket. To choose additional subsets of objects to replicate, add a
60
- * rule for each subset.</p>
58
+ * 100. Each rule identifies a subset of objects to replicate by filtering the objects in the
59
+ * source Outposts bucket. To choose additional subsets of objects to replicate, add a rule
60
+ * for each subset.</p>
61
61
  * <p>To specify a subset of the objects in the source Outposts bucket to apply a replication
62
62
  * rule to, add the <code>Filter</code> element as a child of the <code>Rule</code> element.
63
63
  * You can filter objects based on an object key prefix, one or more object tags, or both.
@@ -86,9 +86,10 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
86
86
  * S3 on Outposts</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html">Managing access to
87
87
  * S3 on Outposts buckets</a>. </p>
88
88
  * <note>
89
- * <p>To perform this operation, the user or role must also have the <code>iam:CreateRole</code> and <code>iam:PassRole</code> permissions.
90
- * For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a user
91
- * permissions to pass a role to an Amazon Web Services service</a>.</p>
89
+ * <p>To perform this operation, the user or role must also have the
90
+ * <code>iam:CreateRole</code> and <code>iam:PassRole</code> permissions. For more
91
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a user permissions to
92
+ * pass a role to an Amazon Web Services service</a>.</p>
92
93
  * </note>
93
94
  * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketReplication.html#API_control_PutBucketReplication_Examples">Examples</a> section.</p>
94
95
  * <p>The following operations are related to <code>PutBucketReplication</code>:</p>
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutBucketTaggingRequest } from "../models/models_0";
4
+ import { PutBucketTaggingRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutBucketVersioningRequest } from "../models/models_0";
4
+ import { PutBucketVersioningRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -59,11 +59,11 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
59
59
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html"> Creating and managing
60
60
  * a lifecycle configuration for your S3 on Outposts bucket</a> in the <i>Amazon S3
61
61
  * User Guide</i>.</p>
62
- * <p>If you have an object expiration lifecycle configuration in your non-versioned bucket and you
63
- * want to maintain the same permanent delete behavior when you enable versioning, you must
64
- * add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage
65
- * the deletes of the noncurrent object versions in the version-enabled bucket. For more
66
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
62
+ * <p>If you have an object expiration lifecycle configuration in your non-versioned bucket
63
+ * and you want to maintain the same permanent delete behavior when you enable versioning, you
64
+ * must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration
65
+ * will manage the deletes of the noncurrent object versions in the version-enabled bucket.
66
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
67
67
  * User Guide</i>.</p>
68
68
  * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples">Examples</a> section.</p>
69
69
  * <p>The following operations are related to <code>PutBucketVersioning</code> for
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutJobTaggingRequest, PutJobTaggingResult } from "../models/models_0";
4
+ import { PutJobTaggingRequest, PutJobTaggingResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutMultiRegionAccessPointPolicyRequest, PutMultiRegionAccessPointPolicyResult } from "../models/models_0";
4
+ import { PutMultiRegionAccessPointPolicyRequest, PutMultiRegionAccessPointPolicyResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutPublicAccessBlockRequest } from "../models/models_0";
4
+ import { PutPublicAccessBlockRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutStorageLensConfigurationRequest } from "../models/models_0";
4
+ import { PutStorageLensConfigurationRequest } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutStorageLensConfigurationTaggingRequest, PutStorageLensConfigurationTaggingResult } from "../models/models_0";
4
+ import { PutStorageLensConfigurationTaggingRequest, PutStorageLensConfigurationTaggingResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { SubmitMultiRegionAccessPointRoutesRequest, SubmitMultiRegionAccessPointRoutesResult } from "../models/models_0";
4
+ import { SubmitMultiRegionAccessPointRoutesRequest, SubmitMultiRegionAccessPointRoutesResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -27,7 +27,8 @@ export interface SubmitMultiRegionAccessPointRoutesCommandOutput extends SubmitM
27
27
  * routing status for the specified Regions from active to passive, or from passive to active.
28
28
  * A value of <code>0</code> indicates a passive status, which means that traffic won't be
29
29
  * routed to the specified Region. A value of <code>100</code> indicates an active status,
30
- * which means that traffic will be routed to the specified Region. At least one Region must be active at all times.</p>
30
+ * which means that traffic will be routed to the specified Region. At least one Region must
31
+ * be active at all times.</p>
31
32
  * <p>When the routing configuration is changed, any in-progress operations (uploads, copies,
32
33
  * deletes, and so on) to formerly active Regions will continue to run to their final
33
34
  * completion state (success or failure). The routing configurations of any Regions that
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { TagResourceRequest, TagResourceResult } from "../models/models_0";
4
+ import { TagResourceRequest, TagResourceResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -23,15 +23,19 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Creates a new Amazon Web Services resource tag or updates an existing resource tag. You can add up to
27
- * 50 Amazon Web Services resource tags for each S3 resource. </p>
28
- * <p>To use this operation, you must have the permission to perform the
29
- * <code>s3:TagResource</code> action. For more information about the required Storage Lens
30
- * Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
31
- * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
26
+ * <p> Creates a new Amazon Web Services resource tag or updates an existing resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource. </p>
32
27
  * <note>
33
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a>.</p>
28
+ * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
34
29
  * </note>
30
+ * <dl>
31
+ * <dt>Permissions</dt>
32
+ * <dd>
33
+ * <p>You must have the <code>s3:TagResource</code> permission to use this operation. </p>
34
+ * </dd>
35
+ * </dl>
36
+ * <p>For more information about the required Storage Lens
37
+ * Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
38
+ * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
35
39
  * @example
36
40
  * Use a bare-bones client and the command you need to make an API call.
37
41
  * ```javascript
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
4
+ import { UntagResourceRequest, UntagResourceResult } from "../models/models_1";
5
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
6
6
  /**
7
7
  * @public
@@ -23,16 +23,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> This operation removes the specified Amazon Web Services resource tags from an S3 resource. </p>
27
- * <p>To use this operation, you must have the permission to perform the
28
- * <code>s3:UntagResource</code> action. For more information about the required Storage
26
+ * <p> This operation removes the specified Amazon Web Services resource tags from an S3 resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. </p>
27
+ * <note>
28
+ * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
29
+ * </note>
30
+ * <dl>
31
+ * <dt>Permissions</dt>
32
+ * <dd>
33
+ * <p>You must have the <code>s3:UntagResource</code> permission to use this operation. </p>
34
+ * </dd>
35
+ * </dl>
36
+ * <p>For more information about the required Storage
29
37
  * Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
30
38
  * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3
31
39
  * Tagging error codes</a>.</p>
32
- * <note>
33
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens
34
- * groups</a>.</p>
35
- * </note>
36
40
  * @example
37
41
  * Use a bare-bones client and the command you need to make an API call.
38
42
  * ```javascript