Struct aws_sdk_datapipeline::input::PollForTaskInput [−][src]
#[non_exhaustive]pub struct PollForTaskInput {
pub worker_group: Option<String>,
pub hostname: Option<String>,
pub instance_identity: Option<InstanceIdentity>,
}
Expand description
Contains the parameters for PollForTask.
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.worker_group: Option<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.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PollForTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PollForTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PollForTask
>
Creates a new builder-style object to manufacture PollForTaskInput
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.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more