ResilienceHubV2 / Waiter / FailureModeAssessmentSuccess

FailureModeAssessmentSuccess

class ResilienceHubV2.Waiter.FailureModeAssessmentSuccess
waiter = client.get_waiter('failure_mode_assessment_success')
wait(**kwargs)

Polls ResilienceHubV2.Client.list_failure_mode_assessments() every 30 seconds until a successful state is reached. An error is raised after 5 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    serviceArn='string',
    assessmentStatuses=[
        'NOT_STARTED'|'PENDING'|'IN_PROGRESS'|'FAILED'|'SUCCESS',
    ],
    startedAfter=datetime(2015, 1, 1),
    endedBefore=datetime(2015, 1, 1),
    sortBy='STARTED_AT',
    sortOrder='ASC'|'DESC',
    maxResults=123,
    nextToken='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • serviceArn (string) –

    [REQUIRED]

    ARN identifier.

  • assessmentStatuses (list) –

    Specifies the assessment statuses to include in the results.

    • (string) –

  • startedAfter (datetime) – Specifies that only assessments that started at or after this timestamp appear in the results.

  • endedBefore (datetime) – Specifies that only assessments that ended at or before this timestamp appear in the results.

  • sortBy (string) – The field to use for sorting failure mode assessments.

  • sortOrder (string) – The sort order for results.

  • maxResults (integer) – Pagination page size.

  • nextToken (string) – Pagination token.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None