HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/lib/python3.6/site-packages/awscli/examples/deploy/wait/deployment-successful.rst
**To pause script operations until a deployment is flagged as successful**

The following ``wait deployment-successful`` example pauses until the specified deployment completes successfully. ::

    aws deploy wait deployment-successful --deployment-id d-A1B2C3111

This command produces no output, but pauses operation until the condition is met. It generates an error if the condition is not met after 120 checks that are 15 seconds apart.