ResilienceHubV2 / Paginator / ListFailureModeAssessments
ListFailureModeAssessments¶
- class ResilienceHubV2.Paginator.ListFailureModeAssessments¶
paginator = client.get_paginator('list_failure_mode_assessments')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ResilienceHubV2.Client.list_failure_mode_assessments().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( 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', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- 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.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'assessmentSummaries': [ { 'assessmentId': 'string', 'serviceArn': 'string', 'assessmentStatus': 'NOT_STARTED'|'PENDING'|'IN_PROGRESS'|'FAILED'|'SUCCESS', 'assessmentStep': 'TOPOLOGY_GENERATION'|'INPUT_VALIDATION'|'DESIGN_ANALYSIS'|'TOPOLOGY_ENHANCEMENT'|'SERVICE_FUNCTION_GENERATION'|'POLICY_VALIDATION'|'RESILIENCE_ASSESSMENT'|'FAILURE_MODE_FINDINGS_CONSOLIDATION'|'FAILURE_MODE_FINDINGS_ENRICHMENT', 'totalFindings': 123, 'startedAt': datetime(2015, 1, 1), 'endedAt': datetime(2015, 1, 1), 'errorMessage': 'string', 'errorCode': 'INVALID_PERMISSIONS'|'CMK_ACCESS_DENIED'|'AGENT_ERROR'|'INTERNAL_ERROR'|'DESIGN_FILE_ACCESS_DENIED', 'assessmentCost': { 'amount': 123.0, 'currency': 'USD' }, 'billableAssessmentUnitCount': 123, 'achievability': { 'availabilitySlo': 'ACHIEVABLE'|'NOT_ACHIEVABLE', 'multiAzRtoRpo': 'ACHIEVABLE'|'NOT_ACHIEVABLE', 'multiRegionRtoRpo': 'ACHIEVABLE'|'NOT_ACHIEVABLE', 'dataRecoveryTimeBetweenBackups': 'ACHIEVABLE'|'NOT_ACHIEVABLE' } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
assessmentSummaries (list) –
The list of assessment summaries.
(dict) –
Contains summary information about a failure mode assessment.
assessmentId (string) –
The unique identifier of the assessment.
serviceArn (string) –
ARN identifier.
assessmentStatus (string) –
The current status of the assessment.
assessmentStep (string) –
The current step of the assessment process.
totalFindings (integer) –
The total number of findings generated by the assessment.
startedAt (datetime) –
The timestamp when the assessment started.
endedAt (datetime) –
The timestamp when the assessment ended.
errorMessage (string) –
A message describing the error if the assessment failed.
errorCode (string) –
The error code if the assessment failed.
assessmentCost (dict) –
The cost of the assessment.
amount (float) –
The cost amount for the assessment.
currency (string) –
The currency of the assessment cost.
billableAssessmentUnitCount (integer) –
The number of billable assessment units consumed by the assessment.
achievability (dict) –
The achievability results from the assessment.
availabilitySlo (string) –
The achievability status of the availability SLO target for the service.
multiAzRtoRpo (string) –
The achievability status of the multi-AZ RTO and RPO targets for the service.
multiRegionRtoRpo (string) –
The achievability status of the multi-Region RTO and RPO targets for the service.
dataRecoveryTimeBetweenBackups (string) –
The achievability status of the data recovery time between backups for the service.
NextToken (string) –
A token to resume pagination.