HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/codepipeline/retry-stage-execution.rst
**To retry a failed action**

The following ``retry-stage-execution`` example retries a stage that has a failed action. ::

    aws codepipeline retry-stage-execution \
        --pipeline-name MyPipeline \
        --stage-name Deploy \
        --pipeline-execution-id b59babff-5f34-EXAMPLE \
        --retry-mode FAILED_ACTIONS

Output::

    {
        "pipelineExecutionId": "b59babff-5f34-EXAMPLE"
    }

For more information, see `Retry failed actions (CLI) <https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-retry.html#actions-retry-cli>`__ in the *AWS CodePipeline User Guide*.