class Aws::SWF::Types::CountClosedWorkflowExecutionsInput

@note When making an API call, you may pass CountClosedWorkflowExecutionsInput

data as a hash:

    {
      domain: "DomainName", # required
      start_time_filter: {
        oldest_date: Time.now, # required
        latest_date: Time.now,
      },
      close_time_filter: {
        oldest_date: Time.now, # required
        latest_date: Time.now,
      },
      execution_filter: {
        workflow_id: "WorkflowId", # required
      },
      type_filter: {
        name: "Name", # required
        version: "VersionOptional",
      },
      tag_filter: {
        tag: "Tag", # required
      },
      close_status_filter: {
        status: "COMPLETED", # required, accepts COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
      },
    }

@!attribute [rw] domain

The name of the domain containing the workflow executions to count.
@return [String]

@!attribute [rw] start_time_filter

If specified, only workflow executions that meet the start time
criteria of the filter are counted.

<note markdown="1"> `startTimeFilter` and `closeTimeFilter` are mutually exclusive. You
must specify one of these in a request but not both.

 </note>
@return [Types::ExecutionTimeFilter]

@!attribute [rw] close_time_filter

If specified, only workflow executions that meet the close time
criteria of the filter are counted.

<note markdown="1"> `startTimeFilter` and `closeTimeFilter` are mutually exclusive. You
must specify one of these in a request but not both.

 </note>
@return [Types::ExecutionTimeFilter]

@!attribute [rw] execution_filter

If specified, only workflow executions matching the `WorkflowId` in
the filter are counted.

<note markdown="1"> `closeStatusFilter`, `executionFilter`, `typeFilter` and `tagFilter`
are mutually exclusive. You can specify at most one of these in a
request.

 </note>
@return [Types::WorkflowExecutionFilter]

@!attribute [rw] type_filter

If specified, indicates the type of the workflow executions to be
counted.

<note markdown="1"> `closeStatusFilter`, `executionFilter`, `typeFilter` and `tagFilter`
are mutually exclusive. You can specify at most one of these in a
request.

 </note>
@return [Types::WorkflowTypeFilter]

@!attribute [rw] tag_filter

If specified, only executions that have a tag that matches the
filter are counted.

<note markdown="1"> `closeStatusFilter`, `executionFilter`, `typeFilter` and `tagFilter`
are mutually exclusive. You can specify at most one of these in a
request.

 </note>
@return [Types::TagFilter]

@!attribute [rw] close_status_filter

If specified, only workflow executions that match this close status
are counted. This filter has an affect only if `executionStatus` is
specified as `CLOSED`.

<note markdown="1"> `closeStatusFilter`, `executionFilter`, `typeFilter` and `tagFilter`
are mutually exclusive. You can specify at most one of these in a
request.

 </note>
@return [Types::CloseStatusFilter]

Constants

SENSITIVE