Class: Aws::States::Types::ListExecutionsInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-states/lib/aws-sdk-states/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#map_run_arnString

The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the mapRunArn field is specified, a list of all of the child workflow executions started by a Map Run is returned. For more information, see Examining Map Run in the Step Functions Developer Guide.

You can specify either a mapRunArn or a stateMachineArn, but not both.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2358

class ListExecutionsInput < Struct.new(
  :state_machine_arn,
  :status_filter,
  :max_results,
  :next_token,
  :map_run_arn,
  :redrive_filter)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

Returns:

  • (Integer)


2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2358

class ListExecutionsInput < Struct.new(
  :state_machine_arn,
  :status_filter,
  :max_results,
  :next_token,
  :map_run_arn,
  :redrive_filter)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2358

class ListExecutionsInput < Struct.new(
  :state_machine_arn,
  :status_filter,
  :max_results,
  :next_token,
  :map_run_arn,
  :redrive_filter)
  SENSITIVE = []
  include Aws::Structure
end

#redrive_filterString

Sets a filter to list executions based on whether or not they have been redriven.

For a Distributed Map, redriveFilter sets a filter to list child workflow executions based on whether or not they have been redriven.

If you do not provide a redriveFilter, Step Functions returns a list of both redriven and non-redriven executions.

If you provide a state machine ARN in redriveFilter, the API returns a validation exception.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2358

class ListExecutionsInput < Struct.new(
  :state_machine_arn,
  :status_filter,
  :max_results,
  :next_token,
  :map_run_arn,
  :redrive_filter)
  SENSITIVE = []
  include Aws::Structure
end

#state_machine_arnString

The Amazon Resource Name (ARN) of the state machine whose executions is listed.

You can specify either a mapRunArn or a stateMachineArn, but not both.

You can also return a list of executions associated with a specific alias or version, by specifying an alias ARN or a version ARN in the stateMachineArn parameter.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2358

class ListExecutionsInput < Struct.new(
  :state_machine_arn,
  :status_filter,
  :max_results,
  :next_token,
  :map_run_arn,
  :redrive_filter)
  SENSITIVE = []
  include Aws::Structure
end

#status_filterString

If specified, only list the executions whose current execution status matches the given filter.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2358

class ListExecutionsInput < Struct.new(
  :state_machine_arn,
  :status_filter,
  :max_results,
  :next_token,
  :map_run_arn,
  :redrive_filter)
  SENSITIVE = []
  include Aws::Structure
end