1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::get_object_acl::_get_object_acl_output::GetObjectAclOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::get_object_acl::_get_object_acl_input::GetObjectAclInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::get_object_acl::_get_object_acl_output::GetObjectAclOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::get_object_acl::builders::GetObjectAclInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::get_object_acl::GetObjectAclOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::get_object_acl::GetObjectAclError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.get_object_acl();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `GetObjectAcl`.
|
24 24 | ///
|
25 25 | /// <note>
|
26 26 | /// <p>This operation is not supported for directory buckets.</p>
|
27 27 | /// </note>
|
28 28 | /// <p>Returns the access control list (ACL) of an object. To use this operation, you must have <code>s3:GetObjectAcl</code> permissions or <code>READ_ACP</code> access to the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping">Mapping of ACL permissions and access policy permissions</a> in the <i>Amazon S3 User Guide</i></p>
|
29 29 | /// <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
30 30 | /// <p>By default, GET returns ACL information about the current version of an object. To return ACL information about a different version, use the versionId subresource.</p><note>
|
31 31 | /// <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests to read ACLs are still supported and return the <code>bucket-owner-full-control</code> ACL with the owner being the account that created the bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling object ownership and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
32 32 | /// </note>
|
33 33 | /// <p>The following operations are related to <code>GetObjectAcl</code>:</p>
|
34 34 | /// <ul>
|
35 35 | /// <li>
|