#[non_exhaustive]pub struct PollForTaskInput { /* private fields */ }
Expand description
Contains the parameters for PollForTask.
Implementations§
source§impl PollForTaskInput
impl PollForTaskInput
sourcepub fn worker_group(&self) -> Option<&str>
pub fn worker_group(&self) -> Option<&str>
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.
sourcepub fn instance_identity(&self) -> Option<&InstanceIdentity>
pub fn instance_identity(&self) -> 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.
source§impl PollForTaskInput
impl PollForTaskInput
sourcepub fn builder() -> PollForTaskInputBuilder
pub fn builder() -> PollForTaskInputBuilder
Creates a new builder-style object to manufacture PollForTaskInput
.
source§impl PollForTaskInput
impl PollForTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PollForTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<PollForTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PollForTask
>
Trait Implementations§
source§impl Clone for PollForTaskInput
impl Clone for PollForTaskInput
source§fn clone(&self) -> PollForTaskInput
fn clone(&self) -> PollForTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PollForTaskInput
impl Debug for PollForTaskInput
source§impl PartialEq<PollForTaskInput> for PollForTaskInput
impl PartialEq<PollForTaskInput> for PollForTaskInput
source§fn eq(&self, other: &PollForTaskInput) -> bool
fn eq(&self, other: &PollForTaskInput) -> bool
self
and other
values to be equal, and is used
by ==
.