@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
@@ -1,10 +1,18 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { AssociateAccessGrantsIdentityCenterCommandInput, AssociateAccessGrantsIdentityCenterCommandOutput } from "./commands/AssociateAccessGrantsIdentityCenterCommand";
3
+ import { CreateAccessGrantCommandInput, CreateAccessGrantCommandOutput } from "./commands/CreateAccessGrantCommand";
4
+ import { CreateAccessGrantsInstanceCommandInput, CreateAccessGrantsInstanceCommandOutput } from "./commands/CreateAccessGrantsInstanceCommand";
5
+ import { CreateAccessGrantsLocationCommandInput, CreateAccessGrantsLocationCommandOutput } from "./commands/CreateAccessGrantsLocationCommand";
2
6
  import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
3
7
  import { CreateAccessPointForObjectLambdaCommandInput, CreateAccessPointForObjectLambdaCommandOutput } from "./commands/CreateAccessPointForObjectLambdaCommand";
4
8
  import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand";
5
9
  import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
6
10
  import { CreateMultiRegionAccessPointCommandInput, CreateMultiRegionAccessPointCommandOutput } from "./commands/CreateMultiRegionAccessPointCommand";
7
11
  import { CreateStorageLensGroupCommandInput, CreateStorageLensGroupCommandOutput } from "./commands/CreateStorageLensGroupCommand";
12
+ import { DeleteAccessGrantCommandInput, DeleteAccessGrantCommandOutput } from "./commands/DeleteAccessGrantCommand";
13
+ import { DeleteAccessGrantsInstanceCommandInput, DeleteAccessGrantsInstanceCommandOutput } from "./commands/DeleteAccessGrantsInstanceCommand";
14
+ import { DeleteAccessGrantsInstanceResourcePolicyCommandInput, DeleteAccessGrantsInstanceResourcePolicyCommandOutput } from "./commands/DeleteAccessGrantsInstanceResourcePolicyCommand";
15
+ import { DeleteAccessGrantsLocationCommandInput, DeleteAccessGrantsLocationCommandOutput } from "./commands/DeleteAccessGrantsLocationCommand";
8
16
  import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
9
17
  import { DeleteAccessPointForObjectLambdaCommandInput, DeleteAccessPointForObjectLambdaCommandOutput } from "./commands/DeleteAccessPointForObjectLambdaCommand";
10
18
  import { DeleteAccessPointPolicyCommandInput, DeleteAccessPointPolicyCommandOutput } from "./commands/DeleteAccessPointPolicyCommand";
@@ -22,6 +30,12 @@ import { DeleteStorageLensConfigurationTaggingCommandInput, DeleteStorageLensCon
22
30
  import { DeleteStorageLensGroupCommandInput, DeleteStorageLensGroupCommandOutput } from "./commands/DeleteStorageLensGroupCommand";
23
31
  import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
24
32
  import { DescribeMultiRegionAccessPointOperationCommandInput, DescribeMultiRegionAccessPointOperationCommandOutput } from "./commands/DescribeMultiRegionAccessPointOperationCommand";
33
+ import { DissociateAccessGrantsIdentityCenterCommandInput, DissociateAccessGrantsIdentityCenterCommandOutput } from "./commands/DissociateAccessGrantsIdentityCenterCommand";
34
+ import { GetAccessGrantCommandInput, GetAccessGrantCommandOutput } from "./commands/GetAccessGrantCommand";
35
+ import { GetAccessGrantsInstanceCommandInput, GetAccessGrantsInstanceCommandOutput } from "./commands/GetAccessGrantsInstanceCommand";
36
+ import { GetAccessGrantsInstanceForPrefixCommandInput, GetAccessGrantsInstanceForPrefixCommandOutput } from "./commands/GetAccessGrantsInstanceForPrefixCommand";
37
+ import { GetAccessGrantsInstanceResourcePolicyCommandInput, GetAccessGrantsInstanceResourcePolicyCommandOutput } from "./commands/GetAccessGrantsInstanceResourcePolicyCommand";
38
+ import { GetAccessGrantsLocationCommandInput, GetAccessGrantsLocationCommandOutput } from "./commands/GetAccessGrantsLocationCommand";
25
39
  import { GetAccessPointCommandInput, GetAccessPointCommandOutput } from "./commands/GetAccessPointCommand";
26
40
  import { GetAccessPointConfigurationForObjectLambdaCommandInput, GetAccessPointConfigurationForObjectLambdaCommandOutput } from "./commands/GetAccessPointConfigurationForObjectLambdaCommand";
27
41
  import { GetAccessPointForObjectLambdaCommandInput, GetAccessPointForObjectLambdaCommandOutput } from "./commands/GetAccessPointForObjectLambdaCommand";
@@ -35,6 +49,7 @@ import { GetBucketPolicyCommandInput, GetBucketPolicyCommandOutput } from "./com
35
49
  import { GetBucketReplicationCommandInput, GetBucketReplicationCommandOutput } from "./commands/GetBucketReplicationCommand";
36
50
  import { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "./commands/GetBucketTaggingCommand";
37
51
  import { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand";
52
+ import { GetDataAccessCommandInput, GetDataAccessCommandOutput } from "./commands/GetDataAccessCommand";
38
53
  import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "./commands/GetJobTaggingCommand";
39
54
  import { GetMultiRegionAccessPointCommandInput, GetMultiRegionAccessPointCommandOutput } from "./commands/GetMultiRegionAccessPointCommand";
40
55
  import { GetMultiRegionAccessPointPolicyCommandInput, GetMultiRegionAccessPointPolicyCommandOutput } from "./commands/GetMultiRegionAccessPointPolicyCommand";
@@ -44,6 +59,9 @@ import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } f
44
59
  import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "./commands/GetStorageLensConfigurationCommand";
45
60
  import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "./commands/GetStorageLensConfigurationTaggingCommand";
46
61
  import { GetStorageLensGroupCommandInput, GetStorageLensGroupCommandOutput } from "./commands/GetStorageLensGroupCommand";
62
+ import { ListAccessGrantsCommandInput, ListAccessGrantsCommandOutput } from "./commands/ListAccessGrantsCommand";
63
+ import { ListAccessGrantsInstancesCommandInput, ListAccessGrantsInstancesCommandOutput } from "./commands/ListAccessGrantsInstancesCommand";
64
+ import { ListAccessGrantsLocationsCommandInput, ListAccessGrantsLocationsCommandOutput } from "./commands/ListAccessGrantsLocationsCommand";
47
65
  import { ListAccessPointsCommandInput, ListAccessPointsCommandOutput } from "./commands/ListAccessPointsCommand";
48
66
  import { ListAccessPointsForObjectLambdaCommandInput, ListAccessPointsForObjectLambdaCommandOutput } from "./commands/ListAccessPointsForObjectLambdaCommand";
49
67
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
@@ -52,6 +70,7 @@ import { ListRegionalBucketsCommandInput, ListRegionalBucketsCommandOutput } fro
52
70
  import { ListStorageLensConfigurationsCommandInput, ListStorageLensConfigurationsCommandOutput } from "./commands/ListStorageLensConfigurationsCommand";
53
71
  import { ListStorageLensGroupsCommandInput, ListStorageLensGroupsCommandOutput } from "./commands/ListStorageLensGroupsCommand";
54
72
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
73
+ import { PutAccessGrantsInstanceResourcePolicyCommandInput, PutAccessGrantsInstanceResourcePolicyCommandOutput } from "./commands/PutAccessGrantsInstanceResourcePolicyCommand";
55
74
  import { PutAccessPointConfigurationForObjectLambdaCommandInput, PutAccessPointConfigurationForObjectLambdaCommandOutput } from "./commands/PutAccessPointConfigurationForObjectLambdaCommand";
56
75
  import { PutAccessPointPolicyCommandInput, PutAccessPointPolicyCommandOutput } from "./commands/PutAccessPointPolicyCommand";
57
76
  import { PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyForObjectLambdaCommandOutput } from "./commands/PutAccessPointPolicyForObjectLambdaCommand";
@@ -68,11 +87,36 @@ import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigura
68
87
  import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
69
88
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
70
89
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
90
+ import { UpdateAccessGrantsLocationCommandInput, UpdateAccessGrantsLocationCommandOutput } from "./commands/UpdateAccessGrantsLocationCommand";
71
91
  import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "./commands/UpdateJobPriorityCommand";
72
92
  import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "./commands/UpdateJobStatusCommand";
73
93
  import { UpdateStorageLensGroupCommandInput, UpdateStorageLensGroupCommandOutput } from "./commands/UpdateStorageLensGroupCommand";
74
94
  import { S3ControlClient } from "./S3ControlClient";
75
95
  export interface S3Control {
96
+ /**
97
+ * @see {@link AssociateAccessGrantsIdentityCenterCommand}
98
+ */
99
+ associateAccessGrantsIdentityCenter(args: AssociateAccessGrantsIdentityCenterCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAccessGrantsIdentityCenterCommandOutput>;
100
+ associateAccessGrantsIdentityCenter(args: AssociateAccessGrantsIdentityCenterCommandInput, cb: (err: any, data?: AssociateAccessGrantsIdentityCenterCommandOutput) => void): void;
101
+ associateAccessGrantsIdentityCenter(args: AssociateAccessGrantsIdentityCenterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAccessGrantsIdentityCenterCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link CreateAccessGrantCommand}
104
+ */
105
+ createAccessGrant(args: CreateAccessGrantCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessGrantCommandOutput>;
106
+ createAccessGrant(args: CreateAccessGrantCommandInput, cb: (err: any, data?: CreateAccessGrantCommandOutput) => void): void;
107
+ createAccessGrant(args: CreateAccessGrantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessGrantCommandOutput) => void): void;
108
+ /**
109
+ * @see {@link CreateAccessGrantsInstanceCommand}
110
+ */
111
+ createAccessGrantsInstance(args: CreateAccessGrantsInstanceCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessGrantsInstanceCommandOutput>;
112
+ createAccessGrantsInstance(args: CreateAccessGrantsInstanceCommandInput, cb: (err: any, data?: CreateAccessGrantsInstanceCommandOutput) => void): void;
113
+ createAccessGrantsInstance(args: CreateAccessGrantsInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessGrantsInstanceCommandOutput) => void): void;
114
+ /**
115
+ * @see {@link CreateAccessGrantsLocationCommand}
116
+ */
117
+ createAccessGrantsLocation(args: CreateAccessGrantsLocationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessGrantsLocationCommandOutput>;
118
+ createAccessGrantsLocation(args: CreateAccessGrantsLocationCommandInput, cb: (err: any, data?: CreateAccessGrantsLocationCommandOutput) => void): void;
119
+ createAccessGrantsLocation(args: CreateAccessGrantsLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessGrantsLocationCommandOutput) => void): void;
76
120
  /**
77
121
  * @see {@link CreateAccessPointCommand}
78
122
  */
@@ -109,6 +153,30 @@ export interface S3Control {
109
153
  createStorageLensGroup(args: CreateStorageLensGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateStorageLensGroupCommandOutput>;
110
154
  createStorageLensGroup(args: CreateStorageLensGroupCommandInput, cb: (err: any, data?: CreateStorageLensGroupCommandOutput) => void): void;
111
155
  createStorageLensGroup(args: CreateStorageLensGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStorageLensGroupCommandOutput) => void): void;
156
+ /**
157
+ * @see {@link DeleteAccessGrantCommand}
158
+ */
159
+ deleteAccessGrant(args: DeleteAccessGrantCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessGrantCommandOutput>;
160
+ deleteAccessGrant(args: DeleteAccessGrantCommandInput, cb: (err: any, data?: DeleteAccessGrantCommandOutput) => void): void;
161
+ deleteAccessGrant(args: DeleteAccessGrantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessGrantCommandOutput) => void): void;
162
+ /**
163
+ * @see {@link DeleteAccessGrantsInstanceCommand}
164
+ */
165
+ deleteAccessGrantsInstance(args: DeleteAccessGrantsInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessGrantsInstanceCommandOutput>;
166
+ deleteAccessGrantsInstance(args: DeleteAccessGrantsInstanceCommandInput, cb: (err: any, data?: DeleteAccessGrantsInstanceCommandOutput) => void): void;
167
+ deleteAccessGrantsInstance(args: DeleteAccessGrantsInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessGrantsInstanceCommandOutput) => void): void;
168
+ /**
169
+ * @see {@link DeleteAccessGrantsInstanceResourcePolicyCommand}
170
+ */
171
+ deleteAccessGrantsInstanceResourcePolicy(args: DeleteAccessGrantsInstanceResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessGrantsInstanceResourcePolicyCommandOutput>;
172
+ deleteAccessGrantsInstanceResourcePolicy(args: DeleteAccessGrantsInstanceResourcePolicyCommandInput, cb: (err: any, data?: DeleteAccessGrantsInstanceResourcePolicyCommandOutput) => void): void;
173
+ deleteAccessGrantsInstanceResourcePolicy(args: DeleteAccessGrantsInstanceResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessGrantsInstanceResourcePolicyCommandOutput) => void): void;
174
+ /**
175
+ * @see {@link DeleteAccessGrantsLocationCommand}
176
+ */
177
+ deleteAccessGrantsLocation(args: DeleteAccessGrantsLocationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessGrantsLocationCommandOutput>;
178
+ deleteAccessGrantsLocation(args: DeleteAccessGrantsLocationCommandInput, cb: (err: any, data?: DeleteAccessGrantsLocationCommandOutput) => void): void;
179
+ deleteAccessGrantsLocation(args: DeleteAccessGrantsLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessGrantsLocationCommandOutput) => void): void;
112
180
  /**
113
181
  * @see {@link DeleteAccessPointCommand}
114
182
  */
@@ -211,6 +279,42 @@ export interface S3Control {
211
279
  describeMultiRegionAccessPointOperation(args: DescribeMultiRegionAccessPointOperationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMultiRegionAccessPointOperationCommandOutput>;
212
280
  describeMultiRegionAccessPointOperation(args: DescribeMultiRegionAccessPointOperationCommandInput, cb: (err: any, data?: DescribeMultiRegionAccessPointOperationCommandOutput) => void): void;
213
281
  describeMultiRegionAccessPointOperation(args: DescribeMultiRegionAccessPointOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMultiRegionAccessPointOperationCommandOutput) => void): void;
282
+ /**
283
+ * @see {@link DissociateAccessGrantsIdentityCenterCommand}
284
+ */
285
+ dissociateAccessGrantsIdentityCenter(args: DissociateAccessGrantsIdentityCenterCommandInput, options?: __HttpHandlerOptions): Promise<DissociateAccessGrantsIdentityCenterCommandOutput>;
286
+ dissociateAccessGrantsIdentityCenter(args: DissociateAccessGrantsIdentityCenterCommandInput, cb: (err: any, data?: DissociateAccessGrantsIdentityCenterCommandOutput) => void): void;
287
+ dissociateAccessGrantsIdentityCenter(args: DissociateAccessGrantsIdentityCenterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DissociateAccessGrantsIdentityCenterCommandOutput) => void): void;
288
+ /**
289
+ * @see {@link GetAccessGrantCommand}
290
+ */
291
+ getAccessGrant(args: GetAccessGrantCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessGrantCommandOutput>;
292
+ getAccessGrant(args: GetAccessGrantCommandInput, cb: (err: any, data?: GetAccessGrantCommandOutput) => void): void;
293
+ getAccessGrant(args: GetAccessGrantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessGrantCommandOutput) => void): void;
294
+ /**
295
+ * @see {@link GetAccessGrantsInstanceCommand}
296
+ */
297
+ getAccessGrantsInstance(args: GetAccessGrantsInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessGrantsInstanceCommandOutput>;
298
+ getAccessGrantsInstance(args: GetAccessGrantsInstanceCommandInput, cb: (err: any, data?: GetAccessGrantsInstanceCommandOutput) => void): void;
299
+ getAccessGrantsInstance(args: GetAccessGrantsInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessGrantsInstanceCommandOutput) => void): void;
300
+ /**
301
+ * @see {@link GetAccessGrantsInstanceForPrefixCommand}
302
+ */
303
+ getAccessGrantsInstanceForPrefix(args: GetAccessGrantsInstanceForPrefixCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessGrantsInstanceForPrefixCommandOutput>;
304
+ getAccessGrantsInstanceForPrefix(args: GetAccessGrantsInstanceForPrefixCommandInput, cb: (err: any, data?: GetAccessGrantsInstanceForPrefixCommandOutput) => void): void;
305
+ getAccessGrantsInstanceForPrefix(args: GetAccessGrantsInstanceForPrefixCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessGrantsInstanceForPrefixCommandOutput) => void): void;
306
+ /**
307
+ * @see {@link GetAccessGrantsInstanceResourcePolicyCommand}
308
+ */
309
+ getAccessGrantsInstanceResourcePolicy(args: GetAccessGrantsInstanceResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessGrantsInstanceResourcePolicyCommandOutput>;
310
+ getAccessGrantsInstanceResourcePolicy(args: GetAccessGrantsInstanceResourcePolicyCommandInput, cb: (err: any, data?: GetAccessGrantsInstanceResourcePolicyCommandOutput) => void): void;
311
+ getAccessGrantsInstanceResourcePolicy(args: GetAccessGrantsInstanceResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessGrantsInstanceResourcePolicyCommandOutput) => void): void;
312
+ /**
313
+ * @see {@link GetAccessGrantsLocationCommand}
314
+ */
315
+ getAccessGrantsLocation(args: GetAccessGrantsLocationCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessGrantsLocationCommandOutput>;
316
+ getAccessGrantsLocation(args: GetAccessGrantsLocationCommandInput, cb: (err: any, data?: GetAccessGrantsLocationCommandOutput) => void): void;
317
+ getAccessGrantsLocation(args: GetAccessGrantsLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessGrantsLocationCommandOutput) => void): void;
214
318
  /**
215
319
  * @see {@link GetAccessPointCommand}
216
320
  */
@@ -289,6 +393,12 @@ export interface S3Control {
289
393
  getBucketVersioning(args: GetBucketVersioningCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketVersioningCommandOutput>;
290
394
  getBucketVersioning(args: GetBucketVersioningCommandInput, cb: (err: any, data?: GetBucketVersioningCommandOutput) => void): void;
291
395
  getBucketVersioning(args: GetBucketVersioningCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketVersioningCommandOutput) => void): void;
396
+ /**
397
+ * @see {@link GetDataAccessCommand}
398
+ */
399
+ getDataAccess(args: GetDataAccessCommandInput, options?: __HttpHandlerOptions): Promise<GetDataAccessCommandOutput>;
400
+ getDataAccess(args: GetDataAccessCommandInput, cb: (err: any, data?: GetDataAccessCommandOutput) => void): void;
401
+ getDataAccess(args: GetDataAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataAccessCommandOutput) => void): void;
292
402
  /**
293
403
  * @see {@link GetJobTaggingCommand}
294
404
  */
@@ -343,6 +453,24 @@ export interface S3Control {
343
453
  getStorageLensGroup(args: GetStorageLensGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetStorageLensGroupCommandOutput>;
344
454
  getStorageLensGroup(args: GetStorageLensGroupCommandInput, cb: (err: any, data?: GetStorageLensGroupCommandOutput) => void): void;
345
455
  getStorageLensGroup(args: GetStorageLensGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStorageLensGroupCommandOutput) => void): void;
456
+ /**
457
+ * @see {@link ListAccessGrantsCommand}
458
+ */
459
+ listAccessGrants(args: ListAccessGrantsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessGrantsCommandOutput>;
460
+ listAccessGrants(args: ListAccessGrantsCommandInput, cb: (err: any, data?: ListAccessGrantsCommandOutput) => void): void;
461
+ listAccessGrants(args: ListAccessGrantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessGrantsCommandOutput) => void): void;
462
+ /**
463
+ * @see {@link ListAccessGrantsInstancesCommand}
464
+ */
465
+ listAccessGrantsInstances(args: ListAccessGrantsInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessGrantsInstancesCommandOutput>;
466
+ listAccessGrantsInstances(args: ListAccessGrantsInstancesCommandInput, cb: (err: any, data?: ListAccessGrantsInstancesCommandOutput) => void): void;
467
+ listAccessGrantsInstances(args: ListAccessGrantsInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessGrantsInstancesCommandOutput) => void): void;
468
+ /**
469
+ * @see {@link ListAccessGrantsLocationsCommand}
470
+ */
471
+ listAccessGrantsLocations(args: ListAccessGrantsLocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessGrantsLocationsCommandOutput>;
472
+ listAccessGrantsLocations(args: ListAccessGrantsLocationsCommandInput, cb: (err: any, data?: ListAccessGrantsLocationsCommandOutput) => void): void;
473
+ listAccessGrantsLocations(args: ListAccessGrantsLocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessGrantsLocationsCommandOutput) => void): void;
346
474
  /**
347
475
  * @see {@link ListAccessPointsCommand}
348
476
  */
@@ -391,6 +519,12 @@ export interface S3Control {
391
519
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
392
520
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
393
521
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
522
+ /**
523
+ * @see {@link PutAccessGrantsInstanceResourcePolicyCommand}
524
+ */
525
+ putAccessGrantsInstanceResourcePolicy(args: PutAccessGrantsInstanceResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutAccessGrantsInstanceResourcePolicyCommandOutput>;
526
+ putAccessGrantsInstanceResourcePolicy(args: PutAccessGrantsInstanceResourcePolicyCommandInput, cb: (err: any, data?: PutAccessGrantsInstanceResourcePolicyCommandOutput) => void): void;
527
+ putAccessGrantsInstanceResourcePolicy(args: PutAccessGrantsInstanceResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccessGrantsInstanceResourcePolicyCommandOutput) => void): void;
394
528
  /**
395
529
  * @see {@link PutAccessPointConfigurationForObjectLambdaCommand}
396
530
  */
@@ -487,6 +621,12 @@ export interface S3Control {
487
621
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
488
622
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
489
623
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
624
+ /**
625
+ * @see {@link UpdateAccessGrantsLocationCommand}
626
+ */
627
+ updateAccessGrantsLocation(args: UpdateAccessGrantsLocationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccessGrantsLocationCommandOutput>;
628
+ updateAccessGrantsLocation(args: UpdateAccessGrantsLocationCommandInput, cb: (err: any, data?: UpdateAccessGrantsLocationCommandOutput) => void): void;
629
+ updateAccessGrantsLocation(args: UpdateAccessGrantsLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccessGrantsLocationCommandOutput) => void): void;
490
630
  /**
491
631
  * @see {@link UpdateJobPriorityCommand}
492
632
  */
@@ -11,12 +11,20 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
11
11
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
12
12
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
13
13
  import { Readable } from "stream";
14
+ import { AssociateAccessGrantsIdentityCenterCommandInput, AssociateAccessGrantsIdentityCenterCommandOutput } from "./commands/AssociateAccessGrantsIdentityCenterCommand";
15
+ import { CreateAccessGrantCommandInput, CreateAccessGrantCommandOutput } from "./commands/CreateAccessGrantCommand";
16
+ import { CreateAccessGrantsInstanceCommandInput, CreateAccessGrantsInstanceCommandOutput } from "./commands/CreateAccessGrantsInstanceCommand";
17
+ import { CreateAccessGrantsLocationCommandInput, CreateAccessGrantsLocationCommandOutput } from "./commands/CreateAccessGrantsLocationCommand";
14
18
  import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
15
19
  import { CreateAccessPointForObjectLambdaCommandInput, CreateAccessPointForObjectLambdaCommandOutput } from "./commands/CreateAccessPointForObjectLambdaCommand";
16
20
  import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand";
17
21
  import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
18
22
  import { CreateMultiRegionAccessPointCommandInput, CreateMultiRegionAccessPointCommandOutput } from "./commands/CreateMultiRegionAccessPointCommand";
19
23
  import { CreateStorageLensGroupCommandInput, CreateStorageLensGroupCommandOutput } from "./commands/CreateStorageLensGroupCommand";
24
+ import { DeleteAccessGrantCommandInput, DeleteAccessGrantCommandOutput } from "./commands/DeleteAccessGrantCommand";
25
+ import { DeleteAccessGrantsInstanceCommandInput, DeleteAccessGrantsInstanceCommandOutput } from "./commands/DeleteAccessGrantsInstanceCommand";
26
+ import { DeleteAccessGrantsInstanceResourcePolicyCommandInput, DeleteAccessGrantsInstanceResourcePolicyCommandOutput } from "./commands/DeleteAccessGrantsInstanceResourcePolicyCommand";
27
+ import { DeleteAccessGrantsLocationCommandInput, DeleteAccessGrantsLocationCommandOutput } from "./commands/DeleteAccessGrantsLocationCommand";
20
28
  import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
21
29
  import { DeleteAccessPointForObjectLambdaCommandInput, DeleteAccessPointForObjectLambdaCommandOutput } from "./commands/DeleteAccessPointForObjectLambdaCommand";
22
30
  import { DeleteAccessPointPolicyCommandInput, DeleteAccessPointPolicyCommandOutput } from "./commands/DeleteAccessPointPolicyCommand";
@@ -34,6 +42,12 @@ import { DeleteStorageLensConfigurationTaggingCommandInput, DeleteStorageLensCon
34
42
  import { DeleteStorageLensGroupCommandInput, DeleteStorageLensGroupCommandOutput } from "./commands/DeleteStorageLensGroupCommand";
35
43
  import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
36
44
  import { DescribeMultiRegionAccessPointOperationCommandInput, DescribeMultiRegionAccessPointOperationCommandOutput } from "./commands/DescribeMultiRegionAccessPointOperationCommand";
45
+ import { DissociateAccessGrantsIdentityCenterCommandInput, DissociateAccessGrantsIdentityCenterCommandOutput } from "./commands/DissociateAccessGrantsIdentityCenterCommand";
46
+ import { GetAccessGrantCommandInput, GetAccessGrantCommandOutput } from "./commands/GetAccessGrantCommand";
47
+ import { GetAccessGrantsInstanceCommandInput, GetAccessGrantsInstanceCommandOutput } from "./commands/GetAccessGrantsInstanceCommand";
48
+ import { GetAccessGrantsInstanceForPrefixCommandInput, GetAccessGrantsInstanceForPrefixCommandOutput } from "./commands/GetAccessGrantsInstanceForPrefixCommand";
49
+ import { GetAccessGrantsInstanceResourcePolicyCommandInput, GetAccessGrantsInstanceResourcePolicyCommandOutput } from "./commands/GetAccessGrantsInstanceResourcePolicyCommand";
50
+ import { GetAccessGrantsLocationCommandInput, GetAccessGrantsLocationCommandOutput } from "./commands/GetAccessGrantsLocationCommand";
37
51
  import { GetAccessPointCommandInput, GetAccessPointCommandOutput } from "./commands/GetAccessPointCommand";
38
52
  import { GetAccessPointConfigurationForObjectLambdaCommandInput, GetAccessPointConfigurationForObjectLambdaCommandOutput } from "./commands/GetAccessPointConfigurationForObjectLambdaCommand";
39
53
  import { GetAccessPointForObjectLambdaCommandInput, GetAccessPointForObjectLambdaCommandOutput } from "./commands/GetAccessPointForObjectLambdaCommand";
@@ -47,6 +61,7 @@ import { GetBucketPolicyCommandInput, GetBucketPolicyCommandOutput } from "./com
47
61
  import { GetBucketReplicationCommandInput, GetBucketReplicationCommandOutput } from "./commands/GetBucketReplicationCommand";
48
62
  import { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "./commands/GetBucketTaggingCommand";
49
63
  import { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand";
64
+ import { GetDataAccessCommandInput, GetDataAccessCommandOutput } from "./commands/GetDataAccessCommand";
50
65
  import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "./commands/GetJobTaggingCommand";
51
66
  import { GetMultiRegionAccessPointCommandInput, GetMultiRegionAccessPointCommandOutput } from "./commands/GetMultiRegionAccessPointCommand";
52
67
  import { GetMultiRegionAccessPointPolicyCommandInput, GetMultiRegionAccessPointPolicyCommandOutput } from "./commands/GetMultiRegionAccessPointPolicyCommand";
@@ -56,6 +71,9 @@ import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } f
56
71
  import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "./commands/GetStorageLensConfigurationCommand";
57
72
  import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "./commands/GetStorageLensConfigurationTaggingCommand";
58
73
  import { GetStorageLensGroupCommandInput, GetStorageLensGroupCommandOutput } from "./commands/GetStorageLensGroupCommand";
74
+ import { ListAccessGrantsCommandInput, ListAccessGrantsCommandOutput } from "./commands/ListAccessGrantsCommand";
75
+ import { ListAccessGrantsInstancesCommandInput, ListAccessGrantsInstancesCommandOutput } from "./commands/ListAccessGrantsInstancesCommand";
76
+ import { ListAccessGrantsLocationsCommandInput, ListAccessGrantsLocationsCommandOutput } from "./commands/ListAccessGrantsLocationsCommand";
59
77
  import { ListAccessPointsCommandInput, ListAccessPointsCommandOutput } from "./commands/ListAccessPointsCommand";
60
78
  import { ListAccessPointsForObjectLambdaCommandInput, ListAccessPointsForObjectLambdaCommandOutput } from "./commands/ListAccessPointsForObjectLambdaCommand";
61
79
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
@@ -64,6 +82,7 @@ import { ListRegionalBucketsCommandInput, ListRegionalBucketsCommandOutput } fro
64
82
  import { ListStorageLensConfigurationsCommandInput, ListStorageLensConfigurationsCommandOutput } from "./commands/ListStorageLensConfigurationsCommand";
65
83
  import { ListStorageLensGroupsCommandInput, ListStorageLensGroupsCommandOutput } from "./commands/ListStorageLensGroupsCommand";
66
84
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
85
+ import { PutAccessGrantsInstanceResourcePolicyCommandInput, PutAccessGrantsInstanceResourcePolicyCommandOutput } from "./commands/PutAccessGrantsInstanceResourcePolicyCommand";
67
86
  import { PutAccessPointConfigurationForObjectLambdaCommandInput, PutAccessPointConfigurationForObjectLambdaCommandOutput } from "./commands/PutAccessPointConfigurationForObjectLambdaCommand";
68
87
  import { PutAccessPointPolicyCommandInput, PutAccessPointPolicyCommandOutput } from "./commands/PutAccessPointPolicyCommand";
69
88
  import { PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyForObjectLambdaCommandOutput } from "./commands/PutAccessPointPolicyForObjectLambdaCommand";
@@ -80,6 +99,7 @@ import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigura
80
99
  import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
81
100
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
82
101
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
102
+ import { UpdateAccessGrantsLocationCommandInput, UpdateAccessGrantsLocationCommandOutput } from "./commands/UpdateAccessGrantsLocationCommand";
83
103
  import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "./commands/UpdateJobPriorityCommand";
84
104
  import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "./commands/UpdateJobStatusCommand";
85
105
  import { UpdateStorageLensGroupCommandInput, UpdateStorageLensGroupCommandOutput } from "./commands/UpdateStorageLensGroupCommand";
@@ -89,11 +109,11 @@ export { __Client };
89
109
  /**
90
110
  * @public
91
111
  */
92
- export type ServiceInputTypes = CreateAccessPointCommandInput | CreateAccessPointForObjectLambdaCommandInput | CreateBucketCommandInput | CreateJobCommandInput | CreateMultiRegionAccessPointCommandInput | CreateStorageLensGroupCommandInput | DeleteAccessPointCommandInput | DeleteAccessPointForObjectLambdaCommandInput | DeleteAccessPointPolicyCommandInput | DeleteAccessPointPolicyForObjectLambdaCommandInput | DeleteBucketCommandInput | DeleteBucketLifecycleConfigurationCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteJobTaggingCommandInput | DeleteMultiRegionAccessPointCommandInput | DeletePublicAccessBlockCommandInput | DeleteStorageLensConfigurationCommandInput | DeleteStorageLensConfigurationTaggingCommandInput | DeleteStorageLensGroupCommandInput | DescribeJobCommandInput | DescribeMultiRegionAccessPointOperationCommandInput | GetAccessPointCommandInput | GetAccessPointConfigurationForObjectLambdaCommandInput | GetAccessPointForObjectLambdaCommandInput | GetAccessPointPolicyCommandInput | GetAccessPointPolicyForObjectLambdaCommandInput | GetAccessPointPolicyStatusCommandInput | GetAccessPointPolicyStatusForObjectLambdaCommandInput | GetBucketCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketPolicyCommandInput | GetBucketReplicationCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetJobTaggingCommandInput | GetMultiRegionAccessPointCommandInput | GetMultiRegionAccessPointPolicyCommandInput | GetMultiRegionAccessPointPolicyStatusCommandInput | GetMultiRegionAccessPointRoutesCommandInput | GetPublicAccessBlockCommandInput | GetStorageLensConfigurationCommandInput | GetStorageLensConfigurationTaggingCommandInput | GetStorageLensGroupCommandInput | ListAccessPointsCommandInput | ListAccessPointsForObjectLambdaCommandInput | ListJobsCommandInput | ListMultiRegionAccessPointsCommandInput | ListRegionalBucketsCommandInput | ListStorageLensConfigurationsCommandInput | ListStorageLensGroupsCommandInput | ListTagsForResourceCommandInput | PutAccessPointConfigurationForObjectLambdaCommandInput | PutAccessPointPolicyCommandInput | PutAccessPointPolicyForObjectLambdaCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutJobTaggingCommandInput | PutMultiRegionAccessPointPolicyCommandInput | PutPublicAccessBlockCommandInput | PutStorageLensConfigurationCommandInput | PutStorageLensConfigurationTaggingCommandInput | SubmitMultiRegionAccessPointRoutesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateJobPriorityCommandInput | UpdateJobStatusCommandInput | UpdateStorageLensGroupCommandInput;
112
+ export type ServiceInputTypes = AssociateAccessGrantsIdentityCenterCommandInput | CreateAccessGrantCommandInput | CreateAccessGrantsInstanceCommandInput | CreateAccessGrantsLocationCommandInput | CreateAccessPointCommandInput | CreateAccessPointForObjectLambdaCommandInput | CreateBucketCommandInput | CreateJobCommandInput | CreateMultiRegionAccessPointCommandInput | CreateStorageLensGroupCommandInput | DeleteAccessGrantCommandInput | DeleteAccessGrantsInstanceCommandInput | DeleteAccessGrantsInstanceResourcePolicyCommandInput | DeleteAccessGrantsLocationCommandInput | DeleteAccessPointCommandInput | DeleteAccessPointForObjectLambdaCommandInput | DeleteAccessPointPolicyCommandInput | DeleteAccessPointPolicyForObjectLambdaCommandInput | DeleteBucketCommandInput | DeleteBucketLifecycleConfigurationCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteJobTaggingCommandInput | DeleteMultiRegionAccessPointCommandInput | DeletePublicAccessBlockCommandInput | DeleteStorageLensConfigurationCommandInput | DeleteStorageLensConfigurationTaggingCommandInput | DeleteStorageLensGroupCommandInput | DescribeJobCommandInput | DescribeMultiRegionAccessPointOperationCommandInput | DissociateAccessGrantsIdentityCenterCommandInput | GetAccessGrantCommandInput | GetAccessGrantsInstanceCommandInput | GetAccessGrantsInstanceForPrefixCommandInput | GetAccessGrantsInstanceResourcePolicyCommandInput | GetAccessGrantsLocationCommandInput | GetAccessPointCommandInput | GetAccessPointConfigurationForObjectLambdaCommandInput | GetAccessPointForObjectLambdaCommandInput | GetAccessPointPolicyCommandInput | GetAccessPointPolicyForObjectLambdaCommandInput | GetAccessPointPolicyStatusCommandInput | GetAccessPointPolicyStatusForObjectLambdaCommandInput | GetBucketCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketPolicyCommandInput | GetBucketReplicationCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetDataAccessCommandInput | GetJobTaggingCommandInput | GetMultiRegionAccessPointCommandInput | GetMultiRegionAccessPointPolicyCommandInput | GetMultiRegionAccessPointPolicyStatusCommandInput | GetMultiRegionAccessPointRoutesCommandInput | GetPublicAccessBlockCommandInput | GetStorageLensConfigurationCommandInput | GetStorageLensConfigurationTaggingCommandInput | GetStorageLensGroupCommandInput | ListAccessGrantsCommandInput | ListAccessGrantsInstancesCommandInput | ListAccessGrantsLocationsCommandInput | ListAccessPointsCommandInput | ListAccessPointsForObjectLambdaCommandInput | ListJobsCommandInput | ListMultiRegionAccessPointsCommandInput | ListRegionalBucketsCommandInput | ListStorageLensConfigurationsCommandInput | ListStorageLensGroupsCommandInput | ListTagsForResourceCommandInput | PutAccessGrantsInstanceResourcePolicyCommandInput | PutAccessPointConfigurationForObjectLambdaCommandInput | PutAccessPointPolicyCommandInput | PutAccessPointPolicyForObjectLambdaCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutJobTaggingCommandInput | PutMultiRegionAccessPointPolicyCommandInput | PutPublicAccessBlockCommandInput | PutStorageLensConfigurationCommandInput | PutStorageLensConfigurationTaggingCommandInput | SubmitMultiRegionAccessPointRoutesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessGrantsLocationCommandInput | UpdateJobPriorityCommandInput | UpdateJobStatusCommandInput | UpdateStorageLensGroupCommandInput;
93
113
  /**
94
114
  * @public
95
115
  */
96
- export type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateAccessPointForObjectLambdaCommandOutput | CreateBucketCommandOutput | CreateJobCommandOutput | CreateMultiRegionAccessPointCommandOutput | CreateStorageLensGroupCommandOutput | DeleteAccessPointCommandOutput | DeleteAccessPointForObjectLambdaCommandOutput | DeleteAccessPointPolicyCommandOutput | DeleteAccessPointPolicyForObjectLambdaCommandOutput | DeleteBucketCommandOutput | DeleteBucketLifecycleConfigurationCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteJobTaggingCommandOutput | DeleteMultiRegionAccessPointCommandOutput | DeletePublicAccessBlockCommandOutput | DeleteStorageLensConfigurationCommandOutput | DeleteStorageLensConfigurationTaggingCommandOutput | DeleteStorageLensGroupCommandOutput | DescribeJobCommandOutput | DescribeMultiRegionAccessPointOperationCommandOutput | GetAccessPointCommandOutput | GetAccessPointConfigurationForObjectLambdaCommandOutput | GetAccessPointForObjectLambdaCommandOutput | GetAccessPointPolicyCommandOutput | GetAccessPointPolicyForObjectLambdaCommandOutput | GetAccessPointPolicyStatusCommandOutput | GetAccessPointPolicyStatusForObjectLambdaCommandOutput | GetBucketCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketPolicyCommandOutput | GetBucketReplicationCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetJobTaggingCommandOutput | GetMultiRegionAccessPointCommandOutput | GetMultiRegionAccessPointPolicyCommandOutput | GetMultiRegionAccessPointPolicyStatusCommandOutput | GetMultiRegionAccessPointRoutesCommandOutput | GetPublicAccessBlockCommandOutput | GetStorageLensConfigurationCommandOutput | GetStorageLensConfigurationTaggingCommandOutput | GetStorageLensGroupCommandOutput | ListAccessPointsCommandOutput | ListAccessPointsForObjectLambdaCommandOutput | ListJobsCommandOutput | ListMultiRegionAccessPointsCommandOutput | ListRegionalBucketsCommandOutput | ListStorageLensConfigurationsCommandOutput | ListStorageLensGroupsCommandOutput | ListTagsForResourceCommandOutput | PutAccessPointConfigurationForObjectLambdaCommandOutput | PutAccessPointPolicyCommandOutput | PutAccessPointPolicyForObjectLambdaCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutJobTaggingCommandOutput | PutMultiRegionAccessPointPolicyCommandOutput | PutPublicAccessBlockCommandOutput | PutStorageLensConfigurationCommandOutput | PutStorageLensConfigurationTaggingCommandOutput | SubmitMultiRegionAccessPointRoutesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateJobPriorityCommandOutput | UpdateJobStatusCommandOutput | UpdateStorageLensGroupCommandOutput;
116
+ export type ServiceOutputTypes = AssociateAccessGrantsIdentityCenterCommandOutput | CreateAccessGrantCommandOutput | CreateAccessGrantsInstanceCommandOutput | CreateAccessGrantsLocationCommandOutput | CreateAccessPointCommandOutput | CreateAccessPointForObjectLambdaCommandOutput | CreateBucketCommandOutput | CreateJobCommandOutput | CreateMultiRegionAccessPointCommandOutput | CreateStorageLensGroupCommandOutput | DeleteAccessGrantCommandOutput | DeleteAccessGrantsInstanceCommandOutput | DeleteAccessGrantsInstanceResourcePolicyCommandOutput | DeleteAccessGrantsLocationCommandOutput | DeleteAccessPointCommandOutput | DeleteAccessPointForObjectLambdaCommandOutput | DeleteAccessPointPolicyCommandOutput | DeleteAccessPointPolicyForObjectLambdaCommandOutput | DeleteBucketCommandOutput | DeleteBucketLifecycleConfigurationCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteJobTaggingCommandOutput | DeleteMultiRegionAccessPointCommandOutput | DeletePublicAccessBlockCommandOutput | DeleteStorageLensConfigurationCommandOutput | DeleteStorageLensConfigurationTaggingCommandOutput | DeleteStorageLensGroupCommandOutput | DescribeJobCommandOutput | DescribeMultiRegionAccessPointOperationCommandOutput | DissociateAccessGrantsIdentityCenterCommandOutput | GetAccessGrantCommandOutput | GetAccessGrantsInstanceCommandOutput | GetAccessGrantsInstanceForPrefixCommandOutput | GetAccessGrantsInstanceResourcePolicyCommandOutput | GetAccessGrantsLocationCommandOutput | GetAccessPointCommandOutput | GetAccessPointConfigurationForObjectLambdaCommandOutput | GetAccessPointForObjectLambdaCommandOutput | GetAccessPointPolicyCommandOutput | GetAccessPointPolicyForObjectLambdaCommandOutput | GetAccessPointPolicyStatusCommandOutput | GetAccessPointPolicyStatusForObjectLambdaCommandOutput | GetBucketCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketPolicyCommandOutput | GetBucketReplicationCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetDataAccessCommandOutput | GetJobTaggingCommandOutput | GetMultiRegionAccessPointCommandOutput | GetMultiRegionAccessPointPolicyCommandOutput | GetMultiRegionAccessPointPolicyStatusCommandOutput | GetMultiRegionAccessPointRoutesCommandOutput | GetPublicAccessBlockCommandOutput | GetStorageLensConfigurationCommandOutput | GetStorageLensConfigurationTaggingCommandOutput | GetStorageLensGroupCommandOutput | ListAccessGrantsCommandOutput | ListAccessGrantsInstancesCommandOutput | ListAccessGrantsLocationsCommandOutput | ListAccessPointsCommandOutput | ListAccessPointsForObjectLambdaCommandOutput | ListJobsCommandOutput | ListMultiRegionAccessPointsCommandOutput | ListRegionalBucketsCommandOutput | ListStorageLensConfigurationsCommandOutput | ListStorageLensGroupsCommandOutput | ListTagsForResourceCommandOutput | PutAccessGrantsInstanceResourcePolicyCommandOutput | PutAccessPointConfigurationForObjectLambdaCommandOutput | PutAccessPointPolicyCommandOutput | PutAccessPointPolicyForObjectLambdaCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutJobTaggingCommandOutput | PutMultiRegionAccessPointPolicyCommandOutput | PutPublicAccessBlockCommandOutput | PutStorageLensConfigurationCommandOutput | PutStorageLensConfigurationTaggingCommandOutput | SubmitMultiRegionAccessPointRoutesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessGrantsLocationCommandOutput | UpdateJobPriorityCommandOutput | UpdateJobStatusCommandOutput | UpdateStorageLensGroupCommandOutput;
97
117
  /**
98
118
  * @public
99
119
  */
@@ -0,0 +1,82 @@
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 { AssociateAccessGrantsIdentityCenterRequest } 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 AssociateAccessGrantsIdentityCenterCommand}.
14
+ */
15
+ export interface AssociateAccessGrantsIdentityCenterCommandInput extends AssociateAccessGrantsIdentityCenterRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateAccessGrantsIdentityCenterCommand}.
21
+ */
22
+ export interface AssociateAccessGrantsIdentityCenterCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance. Use this action if you want to create access grants for users or groups from your corporate identity directory. First, you must add your corporate identity directory to Amazon Web Services IAM Identity Center. Then, you can associate this IAM Identity Center instance with your S3 Access Grants instance.</p>
27
+ * <dl>
28
+ * <dt>Permissions</dt>
29
+ * <dd>
30
+ * <p>You must have the <code>s3:AssociateAccessGrantsIdentityCenter</code> permission to use this operation. </p>
31
+ * </dd>
32
+ * <dt>Additional Permissions</dt>
33
+ * <dd>
34
+ * <p>You must also have the following permissions: <code>sso:CreateApplication</code>, <code>sso:PutApplicationGrant</code>, and <code>sso:PutApplicationAuthenticationMethod</code>. </p>
35
+ * </dd>
36
+ * </dl>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { S3ControlClient, AssociateAccessGrantsIdentityCenterCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
41
+ * // const { S3ControlClient, AssociateAccessGrantsIdentityCenterCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
42
+ * const client = new S3ControlClient(config);
43
+ * const input = { // AssociateAccessGrantsIdentityCenterRequest
44
+ * AccountId: "STRING_VALUE",
45
+ * IdentityCenterArn: "STRING_VALUE", // required
46
+ * };
47
+ * const command = new AssociateAccessGrantsIdentityCenterCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param AssociateAccessGrantsIdentityCenterCommandInput - {@link AssociateAccessGrantsIdentityCenterCommandInput}
54
+ * @returns {@link AssociateAccessGrantsIdentityCenterCommandOutput}
55
+ * @see {@link AssociateAccessGrantsIdentityCenterCommandInput} for command's `input` shape.
56
+ * @see {@link AssociateAccessGrantsIdentityCenterCommandOutput} for command's `response` shape.
57
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
58
+ *
59
+ * @throws {@link S3ControlServiceException}
60
+ * <p>Base exception class for all service exceptions from S3Control service.</p>
61
+ *
62
+ */
63
+ export declare class AssociateAccessGrantsIdentityCenterCommand extends $Command<AssociateAccessGrantsIdentityCenterCommandInput, AssociateAccessGrantsIdentityCenterCommandOutput, S3ControlClientResolvedConfig> {
64
+ readonly input: AssociateAccessGrantsIdentityCenterCommandInput;
65
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
69
+ constructor(input: AssociateAccessGrantsIdentityCenterCommandInput);
70
+ /**
71
+ * @internal
72
+ */
73
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateAccessGrantsIdentityCenterCommandInput, AssociateAccessGrantsIdentityCenterCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
77
+ private serialize;
78
+ /**
79
+ * @internal
80
+ */
81
+ private deserialize;
82
+ }
@@ -0,0 +1,118 @@
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 { CreateAccessGrantRequest, CreateAccessGrantResult } 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 CreateAccessGrantCommand}.
14
+ */
15
+ export interface CreateAccessGrantCommandInput extends CreateAccessGrantRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAccessGrantCommand}.
21
+ */
22
+ export interface CreateAccessGrantCommandOutput extends CreateAccessGrantResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates an access grant that gives a grantee access to your S3 data. The grantee can be an IAM user or role or a directory user, or group. Before you can create a grant, you must have an S3 Access Grants instance in the same Region as the S3 data. You can create an S3 Access Grants instance using the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsInstance.html">CreateAccessGrantsInstance</a>. You must also have registered at least one S3 data location in your S3 Access Grants instance using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsLocation.html">CreateAccessGrantsLocation</a>. </p>
27
+ * <dl>
28
+ * <dt>Permissions</dt>
29
+ * <dd>
30
+ * <p>You must have the <code>s3:CreateAccessGrant</code> permission to use this operation. </p>
31
+ * </dd>
32
+ * <dt>Additional Permissions</dt>
33
+ * <dd>
34
+ * <p>For any directory identity - <code>sso:DescribeInstance</code> and <code>sso:DescribeApplication</code>
35
+ * </p>
36
+ * <p>For directory users - <code>identitystore:DescribeUser</code>
37
+ * </p>
38
+ * <p>For directory groups - <code>identitystore:DescribeGroup</code>
39
+ * </p>
40
+ * </dd>
41
+ * </dl>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { S3ControlClient, CreateAccessGrantCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
46
+ * // const { S3ControlClient, CreateAccessGrantCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
47
+ * const client = new S3ControlClient(config);
48
+ * const input = { // CreateAccessGrantRequest
49
+ * AccountId: "STRING_VALUE",
50
+ * AccessGrantsLocationId: "STRING_VALUE", // required
51
+ * AccessGrantsLocationConfiguration: { // AccessGrantsLocationConfiguration
52
+ * S3SubPrefix: "STRING_VALUE",
53
+ * },
54
+ * Grantee: { // Grantee
55
+ * GranteeType: "DIRECTORY_USER" || "DIRECTORY_GROUP" || "IAM",
56
+ * GranteeIdentifier: "STRING_VALUE",
57
+ * },
58
+ * Permission: "READ" || "WRITE" || "READWRITE", // required
59
+ * ApplicationArn: "STRING_VALUE",
60
+ * S3PrefixType: "Object",
61
+ * Tags: [ // TagList
62
+ * { // Tag
63
+ * Key: "STRING_VALUE", // required
64
+ * Value: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * };
68
+ * const command = new CreateAccessGrantCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // CreateAccessGrantResult
71
+ * // CreatedAt: new Date("TIMESTAMP"),
72
+ * // AccessGrantId: "STRING_VALUE",
73
+ * // AccessGrantArn: "STRING_VALUE",
74
+ * // Grantee: { // Grantee
75
+ * // GranteeType: "DIRECTORY_USER" || "DIRECTORY_GROUP" || "IAM",
76
+ * // GranteeIdentifier: "STRING_VALUE",
77
+ * // },
78
+ * // AccessGrantsLocationId: "STRING_VALUE",
79
+ * // AccessGrantsLocationConfiguration: { // AccessGrantsLocationConfiguration
80
+ * // S3SubPrefix: "STRING_VALUE",
81
+ * // },
82
+ * // Permission: "READ" || "WRITE" || "READWRITE",
83
+ * // ApplicationArn: "STRING_VALUE",
84
+ * // GrantScope: "STRING_VALUE",
85
+ * // };
86
+ *
87
+ * ```
88
+ *
89
+ * @param CreateAccessGrantCommandInput - {@link CreateAccessGrantCommandInput}
90
+ * @returns {@link CreateAccessGrantCommandOutput}
91
+ * @see {@link CreateAccessGrantCommandInput} for command's `input` shape.
92
+ * @see {@link CreateAccessGrantCommandOutput} for command's `response` shape.
93
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
94
+ *
95
+ * @throws {@link S3ControlServiceException}
96
+ * <p>Base exception class for all service exceptions from S3Control service.</p>
97
+ *
98
+ */
99
+ export declare class CreateAccessGrantCommand extends $Command<CreateAccessGrantCommandInput, CreateAccessGrantCommandOutput, S3ControlClientResolvedConfig> {
100
+ readonly input: CreateAccessGrantCommandInput;
101
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
+ /**
103
+ * @public
104
+ */
105
+ constructor(input: CreateAccessGrantCommandInput);
106
+ /**
107
+ * @internal
108
+ */
109
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAccessGrantCommandInput, CreateAccessGrantCommandOutput>;
110
+ /**
111
+ * @internal
112
+ */
113
+ private serialize;
114
+ /**
115
+ * @internal
116
+ */
117
+ private deserialize;
118
+ }