NAME
Paws::SimpleWorkflow::CountClosedWorkflowExecutions - Arguments for method CountClosedWorkflowExecutions on Paws::SimpleWorkflow
DESCRIPTION
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.
SYNOPSIS
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
ATTRIBUTES
CloseStatusFilter => Paws::SimpleWorkflow::CloseStatusFilter
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus
is specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
CloseTimeFilter => Paws::SimpleWorkflow::ExecutionTimeFilter
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.
REQUIRED Domain => Str
The name of the domain containing the workflow executions to count.
ExecutionFilter => Paws::SimpleWorkflow::WorkflowExecutionFilter
If specified, only workflow executions matching the WorkflowId
in the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
StartTimeFilter => Paws::SimpleWorkflow::ExecutionTimeFilter
If specified, only workflow executions that meet the start 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.
TagFilter => Paws::SimpleWorkflow::TagFilter
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
TypeFilter => Paws::SimpleWorkflow::WorkflowTypeFilter
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
SEE ALSO
This class forms part of Paws, documenting arguments for method CountClosedWorkflowExecutions 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