Struct aws_sdk_rust::aws::s3::s3client::CreateBucketRequest [] [src]

pub struct CreateBucketRequest {
    pub grant_full_control: Option<GrantFullControl>,
    pub create_bucket_configuration: Option<CreateBucketConfiguration>,
    pub grant_write_acp: Option<GrantWriteACP>,
    pub bucket: BucketName,
    pub acl: Option<CannedAcl>,
    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.

create_bucket_configuration: Option<CreateBucketConfiguration> grant_write_acp: Option<GrantWriteACP>

Allows grantee to write the ACL for the applicable bucket.

bucket: BucketName acl: Option<CannedAcl>

The canned ACL to apply to the bucket.

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 Default for CreateBucketRequest
[src]

fn default() -> CreateBucketRequest

Returns the "default value" for a type. Read more

impl Debug for CreateBucketRequest
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.