Struct aws_sdk_elastictranscoder::input::TestRoleInput
source · [−]#[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
sourceimpl TestRoleInput
impl TestRoleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestRole, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestRole, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<TestRole
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestRoleInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for TestRoleInput
impl Clone for TestRoleInput
sourcefn clone(&self) -> TestRoleInput
fn clone(&self) -> TestRoleInput
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 TestRoleInput
impl Debug for TestRoleInput
sourceimpl PartialEq<TestRoleInput> for TestRoleInput
impl PartialEq<TestRoleInput> for TestRoleInput
sourcefn eq(&self, other: &TestRoleInput) -> bool
fn eq(&self, other: &TestRoleInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TestRoleInput) -> bool
fn ne(&self, other: &TestRoleInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for TestRoleInput
Auto Trait Implementations
impl RefUnwindSafe for TestRoleInput
impl Send for TestRoleInput
impl Sync for TestRoleInput
impl Unpin for TestRoleInput
impl UnwindSafe for TestRoleInput
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> 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