You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DataPipeline::Types::PollForTaskInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb

Overview

Note:

When making an API call, you may pass PollForTaskInput data as a hash:

{
  worker_group: "string", # required
  hostname: "id",
  instance_identity: {
    document: "string",
    signature: "string",
  },
}

Contains the parameters for PollForTask.

Instance Attribute Summary collapse

Instance Attribute Details

#hostnameString

The public DNS name of the calling task runner.

Returns:

  • (String)


836
837
838
839
840
841
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 836

class PollForTaskInput < Struct.new(
  :worker_group,
  :hostname,
  :instance_identity)
  include Aws::Structure
end

#instance_identityTypes::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.



836
837
838
839
840
841
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 836

class PollForTaskInput < Struct.new(
  :worker_group,
  :hostname,
  :instance_identity)
  include Aws::Structure
end

#worker_groupString

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.

Returns:

  • (String)


836
837
838
839
840
841
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 836

class PollForTaskInput < Struct.new(
  :worker_group,
  :hostname,
  :instance_identity)
  include Aws::Structure
end