IoTSiteWise / Paginator / DescribePipelineExecution
DescribePipelineExecution¶
- class IoTSiteWise.Paginator.DescribePipelineExecution¶
paginator = client.get_paginator('describe_pipeline_execution')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
IoTSiteWise.Client.describe_pipeline_execution().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( workspaceName='string', pipelineName='string', pipelineExecutionId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
workspaceName (string) –
[REQUIRED]
The name of the workspace.
pipelineName (string) –
[REQUIRED]
The name of the pipeline.
pipelineExecutionId (string) –
[REQUIRED]
The unique identifier of the pipeline execution.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'pipelineExecutionId': 'string', 'pipelineName': 'string', 'workspaceName': 'string', 'pipelineVersion': 'string', 'status': { 'state': 'NOT_STARTED'|'RUNNING'|'SUCCEEDED'|'FAILED'|'CANCELLING'|'CANCELLED', 'stateDetails': { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE'|'EXECUTION_ERROR'|'TIMED_OUT', 'message': 'string', 'details': [ { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE'|'EXECUTION_ERROR'|'TIMED_OUT', 'message': 'string' }, ] } }, 'startTime': datetime(2015, 1, 1), 'endTime': datetime(2015, 1, 1), 'requestEnvironmentVariables': { 'global': { 'string': 'string' }, 'computeNodes': { 'string': { 'string': 'string' } } }, 'executionPriority': 123, 'computeNodeExecutionDetails': [ { 'computeNodeName': 'string', 'taskName': 'string', 'taskArn': 'string', 'taskVersion': 'string', 'dependsOn': [ 'string', ], 'status': { 'state': 'NOT_STARTED'|'QUEUED'|'RUNNING'|'SUCCEEDED'|'FAILED', 'stateDetails': { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE'|'EXECUTION_ERROR'|'TIMED_OUT', 'message': 'string', 'details': [ { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE'|'EXECUTION_ERROR'|'TIMED_OUT', 'message': 'string' }, ] } }, 'startTime': datetime(2015, 1, 1), 'endTime': datetime(2015, 1, 1), 'executionEnvironmentVariables': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Response structure for DescribePipelineExecution operation.
pipelineExecutionId (string) –
The unique identifier of the pipeline execution.
pipelineName (string) –
The name of the pipeline.
workspaceName (string) –
The name of the workspace.
pipelineVersion (string) –
The pipeline version this execution ran against.
status (dict) –
The current execution status of the pipeline.
state (string) –
Current state of the pipeline execution.
stateDetails (dict) –
Additional information about the execution outcome. Populated when the execution has terminated (failed or cancelled).
code (string) –
Classification of the failure. Present when the execution failed.
message (string) –
Human-readable description of the outcome. For a failed execution, this describes why it failed; for a cancelled execution, this is the reason you supplied when calling CancelPipelineExecution.
details (list) –
Per-step error entries to help diagnose a failed execution. Present when the execution failed.
(dict) –
Contains a detailed error entry for granular troubleshooting of pipeline failures.
code (string) –
The error code.
message (string) –
The associated error message.
startTime (datetime) –
The time the pipeline execution started, in Unix epoch time.
endTime (datetime) –
The time the pipeline execution completed, in Unix epoch time.
requestEnvironmentVariables (dict) –
The environment variables provided as input for the pipeline execution.
global (dict) –
Global environment variables that apply to all compute nodes in the pipeline execution.
(string) –
Environment variable name following POSIX naming rules Must not start with AWS_ prefix (case-insensitive)
(string) –
Environment variable value
computeNodes (dict) –
Per-compute-node environment variable overrides. Each entry maps a compute node name to its environment variable overrides.
(string) –
The compute node name from the pipeline definition.
(dict) –
Environment variable overrides specific to this compute node.
(string) –
Environment variable name following POSIX naming rules Must not start with AWS_ prefix (case-insensitive)
(string) –
Environment variable value
executionPriority (integer) –
Scheduling priority for the execution. When not specified, defaults to lowest priority.
computeNodeExecutionDetails (list) –
A list of compute node execution details within this pipeline execution.
(dict) –
Contains detailed execution information for a compute node within a pipeline execution.
computeNodeName (string) –
The name of the compute node.
taskName (string) –
The name of the task executed for this compute node.
taskArn (string) –
The ARN of the task.
taskVersion (string) –
The task version that executed for this compute node.
dependsOn (list) –
A list of compute node names that this node depends on.
(string) –
Reusable resource name with alphanumeric, hyphen, and underscore characters.
status (dict) –
The current execution status of the compute node.
state (string) –
Current state of the compute node execution.
stateDetails (dict) –
Additional information about the compute node’s failure. Populated when the compute node has failed.
code (string) –
Classification of the failure.
message (string) –
Human-readable description of why the compute node failed.
details (list) –
Detailed error entries to help diagnose the failure.
(dict) –
Contains a detailed error entry for granular troubleshooting of pipeline failures.
code (string) –
The error code.
message (string) –
The associated error message.
startTime (datetime) –
The time the compute node execution started, in Unix epoch time.
endTime (datetime) –
The time the compute node execution completed, in Unix epoch time.
executionEnvironmentVariables (dict) –
The fully resolved environment variables used for this compute node execution.
(string) –
The environment variable name.
(string) –
The environment variable value.
NextToken (string) –
A token to resume pagination.