Struct aws_sdk_rust::aws::s3::acl::PutObjectAclRequest
[−]
[src]
pub struct PutObjectAclRequest {
pub grant_full_control: Option<GrantFullControl>,
pub grant_write_acp: Option<GrantWriteACP>,
pub key: ObjectKey,
pub request_payer: Option<RequestPayer>,
pub content_md5: Option<ContentMD5>,
pub bucket: BucketName,
pub acl: Option<CannedAcl>,
pub access_control_policy: Option<AccessControlPolicy>,
pub grant_write: Option<GrantWrite>,
pub grant_read: Option<GrantRead>,
pub grant_read_acp: Option<GrantReadACP>,
}Fields
grant_full_control: Option<GrantFullControl>
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
grant_write_acp: Option<GrantWriteACP>
Allows grantee to write the ACL for the applicable bucket.
key: ObjectKey
request_payer: Option<RequestPayer>
content_md5: Option<ContentMD5>
bucket: BucketName
acl: Option<CannedAcl>
The canned ACL to apply to the object.
access_control_policy: Option<AccessControlPolicy>
grant_write: Option<GrantWrite>
Allows grantee to create, overwrite, and delete any object in the bucket.
grant_read: Option<GrantRead>
Allows grantee to list the objects in the bucket.
grant_read_acp: Option<GrantReadACP>
Allows grantee to read the bucket ACL.
Trait Implementations
impl Debug for PutObjectAclRequest[src]
impl Default for PutObjectAclRequest[src]
fn default() -> PutObjectAclRequest
Returns the "default value" for a type. Read more
impl Decodable for PutObjectAclRequest[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<PutObjectAclRequest, __D::Error>
__arg_0: &mut __D
) -> Result<PutObjectAclRequest, __D::Error>
Deserialize a value using a Decoder.