pub struct PipelineOutputConfig {
pub bucket: Option<String>,
pub permissions: Option<Vec<Permission>>,
pub storage_class: Option<String>,
}
Expand description
The PipelineOutputConfig
structure.
Fields
bucket: Option<String>
The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:
-
You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
-
You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
-
You do not want to specify the permissions that Elastic Transcoder grants to the files.
-
You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.
If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig
and ThumbnailConfig
instead.
permissions: Option<Vec<Permission>>
Optional. The Permissions
object specifies which users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
If you include Permissions
, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by Role
. If you want that user to have full control, you must explicitly grant full control to the user.
If you omit Permissions
, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by Role
, and grants no other permissions to any other user or group.
storage_class: Option<String>
The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
Trait Implementations
sourceimpl Clone for PipelineOutputConfig
impl Clone for PipelineOutputConfig
sourcefn clone(&self) -> PipelineOutputConfig
fn clone(&self) -> PipelineOutputConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PipelineOutputConfig
impl Debug for PipelineOutputConfig
sourceimpl Default for PipelineOutputConfig
impl Default for PipelineOutputConfig
sourcefn default() -> PipelineOutputConfig
fn default() -> PipelineOutputConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PipelineOutputConfig
impl<'de> Deserialize<'de> for PipelineOutputConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PipelineOutputConfig> for PipelineOutputConfig
impl PartialEq<PipelineOutputConfig> for PipelineOutputConfig
sourcefn eq(&self, other: &PipelineOutputConfig) -> bool
fn eq(&self, other: &PipelineOutputConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PipelineOutputConfig) -> bool
fn ne(&self, other: &PipelineOutputConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for PipelineOutputConfig
impl Serialize for PipelineOutputConfig
impl StructuralPartialEq for PipelineOutputConfig
Auto Trait Implementations
impl RefUnwindSafe for PipelineOutputConfig
impl Send for PipelineOutputConfig
impl Sync for PipelineOutputConfig
impl Unpin for PipelineOutputConfig
impl UnwindSafe for PipelineOutputConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more