NAME
Paws::SimpleWorkflow::PollForActivityTask - Arguments for method PollForActivityTask on Paws::SimpleWorkflow
DESCRIPTION
This class represents the parameters used for calling the method PollForActivityTask on the Amazon Simple Workflow Service service. Use the attributes of this class as arguments to method PollForActivityTask.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PollForActivityTask.
SYNOPSIS
my $swf = Paws->service('SimpleWorkflow');
my $ActivityTask = $swf->PollForActivityTask(
Domain => 'MyDomainName',
TaskList => {
Name => 'MyName', # min: 1, max: 256
},
Identity => 'MyIdentity', # OPTIONAL
);
# Results:
my $ActivityId = $ActivityTask->ActivityId;
my $ActivityType = $ActivityTask->ActivityType;
my $Input = $ActivityTask->Input;
my $StartedEventId = $ActivityTask->StartedEventId;
my $TaskToken = $ActivityTask->TaskToken;
my $WorkflowExecution = $ActivityTask->WorkflowExecution;
# Returns a L<Paws::SimpleWorkflow::ActivityTask> 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 https://docs.aws.amazon.com/goto/WebAPI/swf/PollForActivityTask
ATTRIBUTES
REQUIRED Domain => Str
The name of the domain that contains the task lists being polled.
Identity => Str
Identity of the worker making the request, recorded in the ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
REQUIRED TaskList => Paws::SimpleWorkflow::TaskList
Specifies the task list to poll for activity tasks.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
SEE ALSO
This class forms part of Paws, documenting arguments for method PollForActivityTask in Paws::SimpleWorkflow
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues