list_pipeline_executions
async
¶
list_pipeline_executions(
workspace_name: WorkspaceName,
pipeline_name: ResourceName,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = 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/async_io_t_site_wise.py
9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 | |