CodeGuruReviewer / Waiter / CodeReviewCompleted

CodeReviewCompleted#

class CodeGuruReviewer.Waiter.CodeReviewCompleted#
waiter = client.get_waiter('code_review_completed')
wait(**kwargs)#

Polls CodeGuruReviewer.Client.describe_code_review() every 10 seconds until a successful state is reached. An error is returned after 180 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    CodeReviewArn='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • CodeReviewArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the CodeReview object.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 10

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 180

Returns:

None