Paws::SimpleWorkflow::PollForDecisionTask - Arguments for method PollForDecisionTask on Paws::SimpleWorkflow
This class represents the parameters used for calling the method PollForDecisionTask on the Amazon Simple Workflow Service service. Use the attributes of this class as arguments to method PollForDecisionTask.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PollForDecisionTask.
my $swf = Paws->service('SimpleWorkflow'); my $DecisionTask = $swf->PollForDecisionTask( Domain => 'MyDomainName', TaskList => { Name => 'MyName', # min: 1, max: 256 }, Identity => 'MyIdentity', # OPTIONAL MaximumPageSize => 1, # OPTIONAL NextPageToken => 'MyPageToken', # OPTIONAL ReverseOrder => 1, # OPTIONAL ); # Results: my $Events = $DecisionTask->Events; my $NextPageToken = $DecisionTask->NextPageToken; my $PreviousStartedEventId = $DecisionTask->PreviousStartedEventId; my $StartedEventId = $DecisionTask->StartedEventId; my $TaskToken = $DecisionTask->TaskToken; my $WorkflowExecution = $DecisionTask->WorkflowExecution; my $WorkflowType = $DecisionTask->WorkflowType; # Returns a L<Paws::SimpleWorkflow::DecisionTask> 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/PollForDecisionTask
The name of the domain containing the task lists to poll.
Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.
nextPageToken
This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has exceeded its maximum lifetime".
NextPageToken
400
Specified token has exceeded its maximum lifetime
The configured maximumPageSize determines how many results can be returned in a single call.
maximumPageSize
The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with a nextPageToken doesn't return a new decision task.
When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimestamp of the events.
true
eventTimestamp
Specifies the task list to poll for decision 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.
:
/
|
\u0000-\u001f
\u007f-\u009f
arn
This class forms part of Paws, documenting arguments for method PollForDecisionTask in Paws::SimpleWorkflow
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.