Struct aws_sdk_swf::input::PollForActivityTaskInput
source · [−]#[non_exhaustive]pub struct PollForActivityTaskInput {
pub domain: Option<String>,
pub task_list: Option<TaskList>,
pub identity: Option<String>,
}
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.domain: Option<String>
The name of the domain that contains the task lists being polled.
task_list: Option<TaskList>
Specifies the task list to poll for activity tasks.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
identity: Option<String>
Identity of the worker making the request, recorded in the ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
Implementations
sourceimpl PollForActivityTaskInput
impl PollForActivityTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PollForActivityTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PollForActivityTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PollForActivityTask
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PollForActivityTaskInput
.
sourceimpl PollForActivityTaskInput
impl PollForActivityTaskInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain that contains the task lists being polled.
sourcepub fn task_list(&self) -> Option<&TaskList>
pub fn task_list(&self) -> Option<&TaskList>
Specifies the task list to poll for activity tasks.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
Trait Implementations
sourceimpl Clone for PollForActivityTaskInput
impl Clone for PollForActivityTaskInput
sourcefn clone(&self) -> PollForActivityTaskInput
fn clone(&self) -> PollForActivityTaskInput
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 PollForActivityTaskInput
impl Debug for PollForActivityTaskInput
sourceimpl PartialEq<PollForActivityTaskInput> for PollForActivityTaskInput
impl PartialEq<PollForActivityTaskInput> for PollForActivityTaskInput
sourcefn eq(&self, other: &PollForActivityTaskInput) -> bool
fn eq(&self, other: &PollForActivityTaskInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PollForActivityTaskInput) -> bool
fn ne(&self, other: &PollForActivityTaskInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for PollForActivityTaskInput
Auto Trait Implementations
impl RefUnwindSafe for PollForActivityTaskInput
impl Send for PollForActivityTaskInput
impl Sync for PollForActivityTaskInput
impl Unpin for PollForActivityTaskInput
impl UnwindSafe for PollForActivityTaskInput
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