Struct rusoto_datapipeline::PollForTaskInput
source · [−]pub struct PollForTaskInput {
pub hostname: Option<String>,
pub instance_identity: Option<InstanceIdentity>,
pub worker_group: String,
}
Expand description
Contains the parameters for PollForTask.
Fields
hostname: Option<String>
The public DNS name of the calling task runner.
instance_identity: Option<InstanceIdentity>
Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance using http://169.254.169.254/latest/meta-data/instance-id
. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.
worker_group: String
The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup
in the call to PollForTask
. There are no wildcard values permitted in workerGroup
; the string must be an exact, case-sensitive, match.
Trait Implementations
sourceimpl Clone for PollForTaskInput
impl Clone for PollForTaskInput
sourcefn clone(&self) -> PollForTaskInput
fn clone(&self) -> PollForTaskInput
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 PollForTaskInput
impl Debug for PollForTaskInput
sourceimpl Default for PollForTaskInput
impl Default for PollForTaskInput
sourcefn default() -> PollForTaskInput
fn default() -> PollForTaskInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PollForTaskInput> for PollForTaskInput
impl PartialEq<PollForTaskInput> for PollForTaskInput
sourcefn eq(&self, other: &PollForTaskInput) -> bool
fn eq(&self, other: &PollForTaskInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PollForTaskInput) -> bool
fn ne(&self, other: &PollForTaskInput) -> bool
This method tests for !=
.
sourceimpl Serialize for PollForTaskInput
impl Serialize for PollForTaskInput
impl StructuralPartialEq for PollForTaskInput
Auto Trait Implementations
impl RefUnwindSafe for PollForTaskInput
impl Send for PollForTaskInput
impl Sync for PollForTaskInput
impl Unpin for PollForTaskInput
impl UnwindSafe for PollForTaskInput
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