Class ListExecutionsRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Resource Name (ARN) of the Map Run that started the child workflow executions.final IntegerThe maximum number of results that are returned per call.final StringIfnextTokenis returned, there are more results available.final ExecutionRedriveFilterSets a filter to list executions based on whether or not they have been redriven.final StringSets a filter to list executions based on whether or not they have been redriven.static Class<? extends ListExecutionsRequest.Builder>final StringThe Amazon Resource Name (ARN) of the state machine whose executions is listed.final ExecutionStatusIf specified, only list the executions whose current execution status matches the given filter.final StringIf specified, only list the executions whose current execution status matches the given filter.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stateMachineArn
The Amazon Resource Name (ARN) of the state machine whose executions is listed.
You can specify either a
mapRunArnor astateMachineArn, 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
stateMachineArnparameter.- Returns:
- The Amazon Resource Name (ARN) of the state machine whose executions is listed.
You can specify either a
mapRunArnor astateMachineArn, 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
stateMachineArnparameter.
-
statusFilter
If specified, only list the executions whose current execution status matches the given filter.
If you provide a
PENDING_REDRIVEstatusFilter, you must specifymapRunArn. For more information, see Child workflow execution redrive behaviour in the Step Functions Developer Guide.If you provide a stateMachineArn and a
PENDING_REDRIVEstatusFilter, the API returns a validation exception.If the service returns an enum value that is not available in the current SDK version,
statusFilterwill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusFilterAsString().- Returns:
- If specified, only list the executions whose current execution status matches the given filter.
If you provide a
PENDING_REDRIVEstatusFilter, you must specifymapRunArn. For more information, see Child workflow execution redrive behaviour in the Step Functions Developer Guide.If you provide a stateMachineArn and a
PENDING_REDRIVEstatusFilter, the API returns a validation exception. - See Also:
-
statusFilterAsString
If specified, only list the executions whose current execution status matches the given filter.
If you provide a
PENDING_REDRIVEstatusFilter, you must specifymapRunArn. For more information, see Child workflow execution redrive behaviour in the Step Functions Developer Guide.If you provide a stateMachineArn and a
PENDING_REDRIVEstatusFilter, the API returns a validation exception.If the service returns an enum value that is not available in the current SDK version,
statusFilterwill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusFilterAsString().- Returns:
- If specified, only list the executions whose current execution status matches the given filter.
If you provide a
PENDING_REDRIVEstatusFilter, you must specifymapRunArn. For more information, see Child workflow execution redrive behaviour in the Step Functions Developer Guide.If you provide a stateMachineArn and a
PENDING_REDRIVEstatusFilter, the API returns a validation exception. - See Also:
-
maxResults
The maximum number of results that are returned per call. You can use
nextTokento 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:
- The maximum number of results that are returned per call. You can use
nextTokento 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.
-
nextToken
If
nextTokenis returned, there are more results available. The value ofnextTokenis 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:
- If
nextTokenis returned, there are more results available. The value ofnextTokenis 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.
-
mapRunArn
The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the
mapRunArnfield 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
mapRunArnor astateMachineArn, but not both.- Returns:
- The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the
mapRunArnfield 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
mapRunArnor astateMachineArn, but not both.
-
redriveFilter
Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets 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.If the service returns an enum value that is not available in the current SDK version,
redriveFilterwill returnExecutionRedriveFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromredriveFilterAsString().- Returns:
- Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets 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. - See Also:
-
redriveFilterAsString
Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets 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.If the service returns an enum value that is not available in the current SDK version,
redriveFilterwill returnExecutionRedriveFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromredriveFilterAsString().- Returns:
- Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets 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. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest> - Specified by:
toBuilderin classSfnRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-