Paws::SimpleWorkflow::CountClosedWorkflowExecutions - Arguments for method CountClosedWorkflowExecutions on Paws::SimpleWorkflow
This class represents the parameters used for calling the method CountClosedWorkflowExecutions on the Amazon Simple Workflow Service service. Use the attributes of this class as arguments to method CountClosedWorkflowExecutions.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CountClosedWorkflowExecutions.
my $swf = Paws->service('SimpleWorkflow'); my $WorkflowExecutionCount = $swf->CountClosedWorkflowExecutions( Domain => 'MyDomainName', CloseStatusFilter => { Status => 'COMPLETED' , # values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT }, # OPTIONAL CloseTimeFilter => { OldestDate => '1970-01-01T01:00:00', LatestDate => '1970-01-01T01:00:00', }, # OPTIONAL ExecutionFilter => { WorkflowId => 'MyWorkflowId', # min: 1, max: 256 }, # OPTIONAL StartTimeFilter => { OldestDate => '1970-01-01T01:00:00', LatestDate => '1970-01-01T01:00:00', }, # OPTIONAL TagFilter => { Tag => 'MyTag', # max: 256 }, # OPTIONAL TypeFilter => { Name => 'MyName', # min: 1, max: 256 Version => 'MyVersionOptional', # max: 64; OPTIONAL }, # OPTIONAL ); # Results: my $Count = $WorkflowExecutionCount->Count; my $Truncated = $WorkflowExecutionCount->Truncated; # Returns a L<Paws::SimpleWorkflow::WorkflowExecutionCount> 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/CountClosedWorkflowExecutions
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus is specified as CLOSED.
executionStatus
CLOSED
closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
closeStatusFilter
executionFilter
typeFilter
tagFilter
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.
startTimeFilter
closeTimeFilter
The name of the domain containing the workflow executions to count.
If specified, only workflow executions matching the WorkflowId in the filter are counted.
WorkflowId
If specified, only workflow executions that meet the start time criteria of the filter are counted.
If specified, only executions that have a tag that matches the filter are counted.
If specified, indicates the type of the workflow executions to be counted.
This class forms part of Paws, documenting arguments for method CountClosedWorkflowExecutions 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::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.