#[non_exhaustive]pub struct TestRoleInput {
pub role: Option<String>,
pub input_bucket: Option<String>,
pub output_bucket: Option<String>,
pub topics: Option<Vec<String>>,
}
Expand description
The TestRoleRequest
structure.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role: Option<String>
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
input_bucket: Option<String>
The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.
output_bucket: Option<String>
The Amazon S3 bucket that Elastic Transcoder writes transcoded media files to. The action attempts to read from this bucket.
topics: Option<Vec<String>>
The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.
Implementations§
source§impl TestRoleInput
impl TestRoleInput
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
sourcepub fn input_bucket(&self) -> Option<&str>
pub fn input_bucket(&self) -> Option<&str>
The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.
sourcepub fn output_bucket(&self) -> Option<&str>
pub fn output_bucket(&self) -> Option<&str>
The Amazon S3 bucket that Elastic Transcoder writes transcoded media files to. The action attempts to read from this bucket.
sourcepub fn topics(&self) -> &[String]
pub fn topics(&self) -> &[String]
The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topics.is_none()
.
source§impl TestRoleInput
impl TestRoleInput
sourcepub fn builder() -> TestRoleInputBuilder
pub fn builder() -> TestRoleInputBuilder
Creates a new builder-style object to manufacture TestRoleInput
.
Trait Implementations§
source§impl Clone for TestRoleInput
impl Clone for TestRoleInput
source§fn clone(&self) -> TestRoleInput
fn clone(&self) -> TestRoleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestRoleInput
impl Debug for TestRoleInput
source§impl PartialEq for TestRoleInput
impl PartialEq for TestRoleInput
source§fn eq(&self, other: &TestRoleInput) -> bool
fn eq(&self, other: &TestRoleInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestRoleInput
Auto Trait Implementations§
impl Freeze for TestRoleInput
impl RefUnwindSafe for TestRoleInput
impl Send for TestRoleInput
impl Sync for TestRoleInput
impl Unpin for TestRoleInput
impl UnwindSafe for TestRoleInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more