aws.swf.list_open_workflow_executions
Example SQL Queries
SELECT * FROMaws.swf.list_open_workflow_executionsWHERE"domain" = 'VALUE'AND "start_time_filter" = 'VALUE';Description
Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.
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:
Use a Resource element with the domain name to limit the action to only specified domains.
Use an Action element to allow or deny permission to call this action.
Constrain the following parameters by using a Condition element with the appropriate keys.
tagFilter.tag: String constraint. The key is swf:tagFilter.tag.
typeFilter.name: String constraint. The key is swf:typeFilter.name.
typeFilter.version: String constraint. The key is swf:typeFilter.version.
If the caller doesn't 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 is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| domain Required Input Column The name of the domain that contains the workflow executions to list. | VARCHAR |
| start_time_filter Required Input Column Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. | STRUCT( |
Show child fields
| |
| execution_filter Input Column If specified, only workflow executions matching the workflow ID specified in the filter are returned. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. | STRUCT( |
Show child fields
| |
| reverse_order Input Column When set to true, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions. | BOOLEAN |
| tag_filter Input Column If specified, only executions that have the matching tag are listed. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. | STRUCT( |
Show child fields
| |
| type_filter Input Column If specified, only executions of the type specified in the filter are returned. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. | STRUCT( |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| cancel_requested Set to true if a cancellation is requested for this workflow execution. | BOOLEAN |
| close_status If the execution status is closed then this specifies how the execution was closed:
| VARCHAR |
| close_timestamp The time when the workflow execution was closed. Set only if the execution status is CLOSED. | TIMESTAMP_S |
| execution The workflow execution this information is about. | STRUCT( |
Show child fields
| |
| execution_status The current status of the execution. | VARCHAR |
| parent If this workflow execution is a child of another execution then contains the workflow execution that started this execution. | STRUCT( |
Show child fields
| |
| start_timestamp The time when the execution was started. | TIMESTAMP_S |
| tag_list The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags. | VARCHAR[] |
Show child fields
| |
| workflow_type The type of the workflow execution. | STRUCT( |
Show child fields
| |