Struct rusoto_elastictranscoder::Permission[][src]

pub struct Permission {
    pub access: Option<Vec<String>>,
    pub grantee: Option<String>,
    pub grantee_type: Option<String>,
}

The Permission structure.

Fields

The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

  • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

  • READACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

  • WRITEACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

  • FULLCONTROL: The grantee has READ, READACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

The type of value that appears in the Grantee object:

  • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

    A canonical user ID is not the same as an AWS account number.

  • Email: The registered email address of an AWS account.

  • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.

Trait Implementations

impl Default for Permission
[src]

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

impl Debug for Permission
[src]

Formats the value using the given formatter. Read more

impl Clone for Permission
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Permission
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Permission

impl Sync for Permission