@aws-sdk/client-s3-control 3.939.0 → 3.943.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 (102) hide show
  1. package/dist-cjs/index.js +34 -5
  2. package/dist-es/models/models_1.js +1 -0
  3. package/dist-es/schemas/schemas_0.js +34 -5
  4. package/dist-types/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +3 -13
  5. package/dist-types/commands/CreateAccessGrantCommand.d.ts +3 -12
  6. package/dist-types/commands/CreateAccessGrantsInstanceCommand.d.ts +3 -11
  7. package/dist-types/commands/CreateAccessGrantsLocationCommand.d.ts +4 -14
  8. package/dist-types/commands/CreateAccessPointCommand.d.ts +0 -3
  9. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +0 -3
  10. package/dist-types/commands/CreateJobCommand.d.ts +2 -6
  11. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +1 -5
  12. package/dist-types/commands/CreateStorageLensGroupCommand.d.ts +0 -3
  13. package/dist-types/commands/DeleteAccessGrantCommand.d.ts +2 -7
  14. package/dist-types/commands/DeleteAccessGrantsInstanceCommand.d.ts +2 -10
  15. package/dist-types/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +2 -8
  16. package/dist-types/commands/DeleteAccessGrantsLocationCommand.d.ts +2 -10
  17. package/dist-types/commands/DeleteAccessPointCommand.d.ts +0 -3
  18. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +0 -3
  19. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +0 -3
  20. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +0 -3
  21. package/dist-types/commands/DeleteAccessPointScopeCommand.d.ts +4 -8
  22. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +0 -3
  23. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +0 -3
  24. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +0 -3
  25. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -3
  26. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +5 -7
  27. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +0 -3
  28. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +5 -4
  29. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +0 -3
  30. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +0 -3
  31. package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +0 -3
  32. package/dist-types/commands/DescribeJobCommand.d.ts +1 -5
  33. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +1 -5
  34. package/dist-types/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +2 -7
  35. package/dist-types/commands/GetAccessGrantCommand.d.ts +1 -5
  36. package/dist-types/commands/GetAccessGrantsInstanceCommand.d.ts +1 -5
  37. package/dist-types/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +3 -8
  38. package/dist-types/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +1 -5
  39. package/dist-types/commands/GetAccessGrantsLocationCommand.d.ts +1 -5
  40. package/dist-types/commands/GetAccessPointCommand.d.ts +0 -3
  41. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +0 -3
  42. package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +0 -3
  43. package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +0 -3
  44. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +0 -3
  45. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +0 -3
  46. package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +0 -3
  47. package/dist-types/commands/GetAccessPointScopeCommand.d.ts +3 -6
  48. package/dist-types/commands/GetBucketCommand.d.ts +0 -3
  49. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -3
  50. package/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -3
  51. package/dist-types/commands/GetDataAccessCommand.d.ts +3 -12
  52. package/dist-types/commands/GetJobTaggingCommand.d.ts +5 -6
  53. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +0 -3
  54. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +0 -3
  55. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +0 -3
  56. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +0 -3
  57. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +3 -5
  58. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +40 -3
  59. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +0 -3
  60. package/dist-types/commands/GetStorageLensGroupCommand.d.ts +0 -3
  61. package/dist-types/commands/ListAccessGrantsCommand.d.ts +1 -5
  62. package/dist-types/commands/ListAccessGrantsInstancesCommand.d.ts +2 -8
  63. package/dist-types/commands/ListAccessGrantsLocationsCommand.d.ts +1 -5
  64. package/dist-types/commands/ListAccessPointsCommand.d.ts +0 -3
  65. package/dist-types/commands/ListAccessPointsForDirectoryBucketsCommand.d.ts +2 -7
  66. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +0 -3
  67. package/dist-types/commands/ListCallerAccessGrantsCommand.d.ts +2 -15
  68. package/dist-types/commands/ListJobsCommand.d.ts +3 -5
  69. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +0 -3
  70. package/dist-types/commands/ListRegionalBucketsCommand.d.ts +0 -3
  71. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +0 -3
  72. package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +0 -3
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +10 -14
  74. package/dist-types/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +1 -5
  75. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +0 -3
  76. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +0 -3
  77. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +0 -3
  78. package/dist-types/commands/PutAccessPointScopeCommand.d.ts +3 -10
  79. package/dist-types/commands/PutBucketVersioningCommand.d.ts +0 -3
  80. package/dist-types/commands/PutJobTaggingCommand.d.ts +4 -6
  81. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +0 -3
  82. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +5 -4
  83. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +40 -3
  84. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +0 -3
  85. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +0 -3
  86. package/dist-types/commands/TagResourceCommand.d.ts +7 -30
  87. package/dist-types/commands/UntagResourceCommand.d.ts +9 -13
  88. package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +1 -5
  89. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +3 -5
  90. package/dist-types/commands/UpdateJobStatusCommand.d.ts +4 -5
  91. package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +1 -4
  92. package/dist-types/index.d.ts +1 -0
  93. package/dist-types/models/models_0.d.ts +354 -623
  94. package/dist-types/models/models_1.d.ts +48 -0
  95. package/dist-types/schemas/schemas_0.d.ts +3 -0
  96. package/dist-types/ts3.4/commands/UpdateJobStatusCommand.d.ts +2 -4
  97. package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/index.d.ts +1 -0
  99. package/dist-types/ts3.4/models/models_0.d.ts +18 -10
  100. package/dist-types/ts3.4/models/models_1.d.ts +12 -0
  101. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  102. package/package.json +5 -5
@@ -33,6 +33,11 @@ declare const TagResourceCommand_base: {
33
33
  * <ul>
34
34
  * <li>
35
35
  * <p>
36
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">General purpose buckets</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
36
41
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-db-tagging.html">Access Points for directory buckets</a>
37
42
  * </p>
38
43
  * </li>
@@ -57,39 +62,14 @@ declare const TagResourceCommand_base: {
57
62
  * </li>
58
63
  * </ul>
59
64
  * </note>
60
- * <note>
61
- * <p>This operation is only supported for the following Amazon S3 resource:</p>
62
- * <ul>
63
- * <li>
64
- * <p>
65
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory
66
- * buckets</a>
67
- * </p>
68
- * </li>
69
- * <li>
70
- * <p>
71
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens
72
- * groups</a>
73
- * </p>
74
- * </li>
75
- * <li>
76
- * <p>
77
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances,
78
- * registered locations, or grants</a>.</p>
79
- * </li>
80
- * </ul>
81
- * </note>
82
65
  * <dl>
83
66
  * <dt>Permissions</dt>
84
67
  * <dd>
85
- * <p>For Storage Lens groups and S3 Access Grants, you must have the
86
- * <code>s3:TagResource</code> permission to use this operation. </p>
87
- * <p>For more information about the required Storage Lens Groups permissions, see
88
- * <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>
68
+ * <p>For general purpose buckets, access points for general purpose buckets, Storage Lens groups, and S3 Access Grants, you must have the <code>s3:TagResource</code> permission to use this operation. </p>
89
69
  * </dd>
90
70
  * <dt>Directory bucket permissions</dt>
91
71
  * <dd>
92
- * <p>For directory buckets and access points for directory buckets, you must have the <code>s3express:TagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
72
+ * <p>For directory buckets, you must have the <code>s3express:TagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
93
73
  * </dd>
94
74
  * <dt>HTTP Host header syntax</dt>
95
75
  * <dd>
@@ -98,9 +78,6 @@ declare const TagResourceCommand_base: {
98
78
  * </dd>
99
79
  * </dl>
100
80
  * <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>
101
- * <important>
102
- * <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
103
- * </important>
104
81
  * @example
105
82
  * Use a bare-bones client and the command you need to make an API call.
106
83
  * ```javascript
@@ -27,13 +27,17 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>This operation removes the specified user-defined tags from an S3 resource. You can pass
31
- * one or more tag keys. </p>
30
+ * <p>This operation removes the specified user-defined tags from an S3 resource. You can pass one or more tag keys. </p>
32
31
  * <note>
33
32
  * <p>This operation is only supported for the following Amazon S3 resources:</p>
34
33
  * <ul>
35
34
  * <li>
36
35
  * <p>
36
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">General purpose buckets</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
37
41
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-db-tagging.html">Access Points for directory buckets</a>
38
42
  * </p>
39
43
  * </li>
@@ -49,7 +53,7 @@ declare const UntagResourceCommand_base: {
49
53
  * </li>
50
54
  * <li>
51
55
  * <p>
52
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">Storage Lens groups</a>
56
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a>
53
57
  * </p>
54
58
  * </li>
55
59
  * <li>
@@ -61,16 +65,11 @@ declare const UntagResourceCommand_base: {
61
65
  * <dl>
62
66
  * <dt>Permissions</dt>
63
67
  * <dd>
64
- * <p>For Storage Lens groups and S3 Access Grants, you must have the
65
- * <code>s3:UntagResource</code> permission to use this operation. </p>
66
- * <p>For more information about the required Storage Lens Groups permissions, see
67
- * <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>
68
+ * <p>For general purpose buckets, access points for general purpose buckets, Storage Lens groups, and S3 Access Grants, you must have the <code>s3:UntagResource</code> permission to use this operation. </p>
68
69
  * </dd>
69
70
  * <dt>Directory bucket permissions</dt>
70
71
  * <dd>
71
- * <p>For directory buckets and access points for directory buckets, you must have
72
- * the <code>s3express:UntagResource</code> permission to use this operation.
73
- * For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
72
+ * <p>For directory buckets, you must have the <code>s3express:UntagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
74
73
  * </dd>
75
74
  * <dt>HTTP Host header syntax</dt>
76
75
  * <dd>
@@ -80,9 +79,6 @@ declare const UntagResourceCommand_base: {
80
79
  * </dl>
81
80
  * <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
82
81
  * Tagging error codes</a>.</p>
83
- * <important>
84
- * <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
85
- * </important>
86
82
  * @example
87
83
  * Use a bare-bones client and the command you need to make an API call.
88
84
  * ```javascript
@@ -31,8 +31,7 @@ declare const UpdateAccessGrantsLocationCommand_base: {
31
31
  * <dl>
32
32
  * <dt>Permissions</dt>
33
33
  * <dd>
34
- * <p>You must have the <code>s3:UpdateAccessGrantsLocation</code> permission to use
35
- * this operation. </p>
34
+ * <p>You must have the <code>s3:UpdateAccessGrantsLocation</code> permission to use this operation. </p>
36
35
  * </dd>
37
36
  * <dt>Additional Permissions</dt>
38
37
  * <dd>
@@ -40,9 +39,6 @@ declare const UpdateAccessGrantsLocationCommand_base: {
40
39
  * </p>
41
40
  * </dd>
42
41
  * </dl>
43
- * <important>
44
- * <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
45
- * </important>
46
42
  * @example
47
43
  * Use a bare-bones client and the command you need to make an API call.
48
44
  * ```javascript
@@ -31,8 +31,9 @@ declare const UpdateJobPriorityCommand_base: {
31
31
  * <dl>
32
32
  * <dt>Permissions</dt>
33
33
  * <dd>
34
- * <p>To use the <code>UpdateJobPriority</code> operation, you must have permission
35
- * to perform the <code>s3:UpdateJobPriority</code> action.</p>
34
+ * <p>To use the
35
+ * <code>UpdateJobPriority</code> operation, you must have permission to
36
+ * perform the <code>s3:UpdateJobPriority</code> action.</p>
36
37
  * </dd>
37
38
  * </dl>
38
39
  * <p>Related actions include:</p>
@@ -58,9 +59,6 @@ declare const UpdateJobPriorityCommand_base: {
58
59
  * </p>
59
60
  * </li>
60
61
  * </ul>
61
- * <important>
62
- * <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
63
- * </important>
64
62
  * @example
65
63
  * Use a bare-bones client and the command you need to make an API call.
66
64
  * ```javascript
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateJobStatusRequest, UpdateJobStatusResult } from "../models/models_0";
3
+ import { UpdateJobStatusRequest } from "../models/models_0";
4
+ import { UpdateJobStatusResult } from "../models/models_1";
4
5
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
5
6
  /**
6
7
  * @public
@@ -32,7 +33,8 @@ declare const UpdateJobStatusCommand_base: {
32
33
  * <dl>
33
34
  * <dt>Permissions</dt>
34
35
  * <dd>
35
- * <p>To use the <code>UpdateJobStatus</code> operation, you must have permission to
36
+ * <p>To use the
37
+ * <code>UpdateJobStatus</code> operation, you must have permission to
36
38
  * perform the <code>s3:UpdateJobStatus</code> action.</p>
37
39
  * </dd>
38
40
  * </dl>
@@ -59,9 +61,6 @@ declare const UpdateJobStatusCommand_base: {
59
61
  * </p>
60
62
  * </li>
61
63
  * </ul>
62
- * <important>
63
- * <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
64
- * </important>
65
64
  * @example
66
65
  * Use a bare-bones client and the command you need to make an API call.
67
66
  * ```javascript
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateStorageLensGroupRequest } from "../models/models_0";
3
+ import { UpdateStorageLensGroupRequest } from "../models/models_1";
4
4
  import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
5
5
  /**
6
6
  * @public
@@ -34,9 +34,6 @@ declare const UpdateStorageLensGroupCommand_base: {
34
34
  * 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>
35
35
  * <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
36
36
  * Lens error codes</a>.</p>
37
- * <important>
38
- * <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
39
- * </important>
40
37
  * @example
41
38
  * Use a bare-bones client and the command you need to make an API call.
42
39
  * ```javascript
@@ -13,4 +13,5 @@ export * from "./pagination";
13
13
  export * from "./models/enums";
14
14
  export * from "./models/errors";
15
15
  export type * from "./models/models_0";
16
+ export type * from "./models/models_1";
16
17
  export { S3ControlServiceException } from "./models/S3ControlServiceException";