list_pipeline_executions
¶
list_pipeline_executions(
workspace_name: WorkspaceName,
pipeline_name: ResourceName,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[ListPipelineExecutionsRequestMaxResultsInteger] = None,
state: Optional[PipelineExecutionState] = None,
start_time_after: Optional[Timestamp] = None,
start_time_before: Optional[Timestamp] = None,
end_time_after: Optional[Timestamp] = None,
end_time_before: Optional[Timestamp] = None,
) -> ListPipelineExecutionsResponse
Lists pipeline executions for a specific pipeline in a workspace. Supports filtering by state and time range. State can be combined with either startTime or endTime filters. Time range filters are grouped: use startTime filters (startTimeAfter, startTimeBefore) or endTime filters (endTimeAfter, endTimeBefore), but not both. Combining startTime and endTime filters returns an InvalidRequestException. Note: endTime filters only return executions in terminal states, as in-progress executions have no endTime.
Parameters:
-
workspace_name(WorkspaceName) –The name of the workspace.
-
pipeline_name(ResourceName) –The name of the pipeline.
-
next_token(Optional[PaginationToken], default:None) –The token to be used for the next set of paginated results.
-
max_results(Optional[ListPipelineExecutionsRequestMaxResultsInteger], default:None) –The maximum number of results to return per request. This is an upper bound; the actual number of results may be less. Default: 50.
-
state(Optional[PipelineExecutionState], default:None) –Filter by execution state. If not specified, executions in all states are returned.
-
start_time_after(Optional[Timestamp], default:None) –Inclusive lower bound on execution start time (ISO-8601). Only executions with startTime >= startTimeAfter are returned. Cannot be combined with endTimeAfter or endTimeBefore.
-
start_time_before(Optional[Timestamp], default:None) –Exclusive upper bound on execution start time (ISO-8601). Only executions with startTime < startTimeBefore are returned. Cannot be combined with endTimeAfter or endTimeBefore.
-
end_time_after(Optional[Timestamp], default:None) –Inclusive lower bound on execution end time (ISO-8601). Only executions with endTime >= endTimeAfter are returned. Cannot be combined with startTimeAfter or startTimeBefore. Only matches executions in terminal states.
-
end_time_before(Optional[Timestamp], default:None) –Exclusive upper bound on execution end time (ISO-8601). Only executions with endTime < endTimeBefore are returned. Cannot be combined with startTimeAfter or startTimeBefore. Only matches executions in terminal states.
Raises:
-
AccessDeniedException–Access is denied.
-
InternalFailureException–IoT SiteWise can't process your request right now. Try again later.
-
InvalidRequestException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.
For more information, see Quotas in the IoT SiteWise User Guide.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotsitewise/_services/io_t_site_wise.py
8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 | |