Paws::DataPipeline::PollForTask - Arguments for method PollForTask on Paws::DataPipeline


This class represents the parameters used for calling the method PollForTask on the AWS Data Pipeline service. Use the attributes of this class as arguments to method PollForTask.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PollForTask.


    my $datapipeline = Paws->service('DataPipeline');
    my $PollForTaskOutput = $datapipeline->PollForTask(
      WorkerGroup      => 'Mystring',
      Hostname         => 'Myid',       # OPTIONAL
      InstanceIdentity => {
        Document  => 'Mystring',        # max: 1024
        Signature => 'Mystring',        # max: 1024
      },    # OPTIONAL

    # Results:
    my $TaskObject = $PollForTaskOutput->TaskObject;

    # Returns a L<Paws::DataPipeline::PollForTaskOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


Hostname => Str

The public DNS name of the calling task runner.

InstanceIdentity => Paws::DataPipeline::InstanceIdentity

Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance using 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.

REQUIRED WorkerGroup => 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.


This class forms part of Paws, documenting arguments for method PollForTask in Paws::DataPipeline


The source code is located here:

Please report bugs to: