

# LatestInPipelineExecutionFilter
<a name="API_LatestInPipelineExecutionFilter"></a>

The field that specifies to filter on the latest execution in the pipeline.

**Note**  
Filtering on the latest execution is available for executions run on or after February 08, 2024.

## Contents
<a name="API_LatestInPipelineExecutionFilter_Contents"></a>

 ** pipelineExecutionId **   <a name="CodePipeline-Type-LatestInPipelineExecutionFilter-pipelineExecutionId"></a>
The execution ID for the latest execution in the pipeline.  
Type: String  
Pattern: `[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`   
Required: Yes

 ** startTimeRange **   <a name="CodePipeline-Type-LatestInPipelineExecutionFilter-startTimeRange"></a>
The start time to filter on for the latest execution in the pipeline. Valid options:  
+ All
+ Latest
Type: String  
Valid Values: `Latest | All`   
Required: Yes

## See Also
<a name="API_LatestInPipelineExecutionFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/codepipeline-2015-07-09/LatestInPipelineExecutionFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codepipeline-2015-07-09/LatestInPipelineExecutionFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codepipeline-2015-07-09/LatestInPipelineExecutionFilter) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for CodePipeline. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query codepipeline` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
