AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Container for the parameters to the CountClosedWorkflowExecutions operation. Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleWorkflow.AmazonSimpleWorkflowRequest
      Amazon.SimpleWorkflow.Model.CountClosedWorkflowExecutionsRequest

Namespace: Amazon.SimpleWorkflow.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CountClosedWorkflowExecutionsRequest : AmazonSimpleWorkflowRequest
         IRequestEvents

The CountClosedWorkflowExecutionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property CloseStatusFilter Amazon.SimpleWorkflow.Model.CloseStatusFilter Gets and sets the property 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.
Public Property CloseTimeFilter Amazon.SimpleWorkflow.Model.ExecutionTimeFilter Gets and sets the property CloseTimeFilter.

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.
Public Property Domain System.String Gets and sets the property Domain.

The name of the domain containing the workflow executions to count.

Public Property ExecutionFilter Amazon.SimpleWorkflow.Model.WorkflowExecutionFilter Gets and sets the property ExecutionFilter.

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.
Public Property StartTimeFilter Amazon.SimpleWorkflow.Model.ExecutionTimeFilter Gets and sets the property StartTimeFilter.

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.
Public Property TagFilter Amazon.SimpleWorkflow.Model.TagFilter Gets and sets the property 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.
Public Property TypeFilter Amazon.SimpleWorkflow.Model.WorkflowTypeFilter Gets and sets the property TypeFilter.

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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8