@aws-sdk/client-s3-control 3.457.0 → 3.458.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) 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 +32 -38
  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 +1697 -156
  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 +28 -34
  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 +1733 -233
  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/DeleteAccessGrantCommand.d.ts +78 -0
  69. package/dist-types/commands/DeleteAccessGrantsInstanceCommand.d.ts +77 -0
  70. package/dist-types/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +77 -0
  71. package/dist-types/commands/DeleteAccessGrantsLocationCommand.d.ts +78 -0
  72. package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +5 -4
  73. package/dist-types/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +81 -0
  74. package/dist-types/commands/GetAccessGrantCommand.d.ts +93 -0
  75. package/dist-types/commands/GetAccessGrantsInstanceCommand.d.ts +82 -0
  76. package/dist-types/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +85 -0
  77. package/dist-types/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +81 -0
  78. package/dist-types/commands/GetAccessGrantsLocationCommand.d.ts +84 -0
  79. package/dist-types/commands/GetDataAccessCommand.d.ts +94 -0
  80. package/dist-types/commands/GetStorageLensGroupCommand.d.ts +5 -4
  81. package/dist-types/commands/ListAccessGrantsCommand.d.ts +104 -0
  82. package/dist-types/commands/ListAccessGrantsInstancesCommand.d.ts +89 -0
  83. package/dist-types/commands/ListAccessGrantsLocationsCommand.d.ts +91 -0
  84. package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +8 -5
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -10
  86. package/dist-types/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +83 -0
  87. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -1
  88. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -1
  89. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -1
  90. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  91. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  92. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  93. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  94. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
  95. package/dist-types/commands/PutJobTaggingCommand.d.ts +1 -1
  96. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -1
  97. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  98. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
  99. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -1
  100. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -1
  101. package/dist-types/commands/TagResourceCommand.d.ts +12 -10
  102. package/dist-types/commands/UntagResourceCommand.d.ts +12 -8
  103. package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +90 -0
  104. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +1 -1
  105. package/dist-types/commands/UpdateJobStatusCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +6 -5
  107. package/dist-types/commands/index.d.ts +20 -0
  108. package/dist-types/models/index.d.ts +1 -0
  109. package/dist-types/models/models_0.d.ts +1246 -854
  110. package/dist-types/models/models_1.d.ts +775 -0
  111. package/dist-types/pagination/ListAccessGrantsInstancesPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListAccessGrantsLocationsPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListAccessGrantsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/index.d.ts +3 -0
  115. package/dist-types/protocols/Aws_restXml.d.ts +180 -0
  116. package/dist-types/ts3.4/S3Control.d.ts +370 -0
  117. package/dist-types/ts3.4/S3ControlClient.d.ts +120 -0
  118. package/dist-types/ts3.4/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/CreateAccessGrantCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/CreateAccessGrantsInstanceCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/CreateAccessGrantsLocationCommand.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/DeleteAccessGrantCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/DeleteAccessGrantsInstanceCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/DeleteAccessGrantsLocationCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +38 -0
  127. package/dist-types/ts3.4/commands/GetAccessGrantCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/GetAccessGrantsInstanceCommand.d.ts +42 -0
  129. package/dist-types/ts3.4/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +42 -0
  130. package/dist-types/ts3.4/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +42 -0
  131. package/dist-types/ts3.4/commands/GetAccessGrantsLocationCommand.d.ts +42 -0
  132. package/dist-types/ts3.4/commands/GetDataAccessCommand.d.ts +35 -0
  133. package/dist-types/ts3.4/commands/ListAccessGrantsCommand.d.ts +38 -0
  134. package/dist-types/ts3.4/commands/ListAccessGrantsInstancesCommand.d.ts +42 -0
  135. package/dist-types/ts3.4/commands/ListAccessGrantsLocationsCommand.d.ts +42 -0
  136. package/dist-types/ts3.4/commands/ListStorageLensGroupsCommand.d.ts +2 -4
  137. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +42 -0
  139. package/dist-types/ts3.4/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/PutAccessPointPolicyCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/PutJobTaggingCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/UpdateAccessGrantsLocationCommand.d.ts +42 -0
  156. package/dist-types/ts3.4/commands/UpdateJobPriorityCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/UpdateJobStatusCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  160. package/dist-types/ts3.4/models/index.d.ts +1 -0
  161. package/dist-types/ts3.4/models/models_0.d.ts +228 -170
  162. package/dist-types/ts3.4/models/models_1.d.ts +205 -0
  163. package/dist-types/ts3.4/pagination/ListAccessGrantsInstancesPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/ListAccessGrantsLocationsPaginator.d.ts +11 -0
  165. package/dist-types/ts3.4/pagination/ListAccessGrantsPaginator.d.ts +11 -0
  166. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  167. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +240 -0
  168. 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
@@ -23,12 +24,14 @@ export interface ListStorageLensGroupsCommandOutput extends ListStorageLensGroup
23
24
  }
24
25
  /**
25
26
  * @public
26
- * <p> Lists all the Storage Lens groups in the specified home Region. </p>
27
+ * <p>
28
+ * Lists all the Storage Lens groups in the specified home Region.
29
+ * </p>
27
30
  * <p>To use this operation, you must have the permission to perform the
28
- * <code>s3:ListStorageLensGroups</code> action. For more information about the required
29
- * Storage 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>
31
+ * <code>s3:ListStorageLensGroups</code> action. For more information about the required Storage Lens
32
+ * 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
33
  * <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage
31
- * Lens error codes</a>.</p>
34
+ * Lens error codes</a>.</p>
32
35
  * @example
33
36
  * Use a bare-bones client and the command you need to make an API call.
34
37
  * ```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 { 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,17 +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
30
- * Storage 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>
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
32
- * 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>
33
33
  * <note>
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
35
- * 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>
36
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>
37
39
  * @example
38
40
  * Use a bare-bones client and the command you need to make an API call.
39
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
@@ -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
@@ -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
@@ -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,17 +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
32
- * 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>
33
27
  * <note>
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
35
- * 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>
36
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>
37
39
  * @example
38
40
  * Use a bare-bones client and the command you need to make an API call.
39
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