describe_app_assessment
(**kwargs)¶Describes an assessment for an AWS Resilience Hub application.
See also: AWS API Documentation
Request Syntax
response = client.describe_app_assessment(
assessmentArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn: partition
:resiliencehub: region
: account
:app-assessment/ app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
{
'assessment': {
'appArn': 'string',
'appVersion': 'string',
'assessmentArn': 'string',
'assessmentName': 'string',
'assessmentStatus': 'Pending'|'InProgress'|'Failed'|'Success',
'compliance': {
'string': {
'achievableRpoInSecs': 123,
'achievableRtoInSecs': 123,
'complianceStatus': 'PolicyBreached'|'PolicyMet',
'currentRpoInSecs': 123,
'currentRtoInSecs': 123,
'message': 'string',
'rpoDescription': 'string',
'rpoReferenceId': 'string',
'rtoDescription': 'string',
'rtoReferenceId': 'string'
}
},
'complianceStatus': 'PolicyBreached'|'PolicyMet',
'cost': {
'amount': 123.0,
'currency': 'string',
'frequency': 'Hourly'|'Daily'|'Monthly'|'Yearly'
},
'endTime': datetime(2015, 1, 1),
'invoker': 'User'|'System',
'message': 'string',
'policy': {
'creationTime': datetime(2015, 1, 1),
'dataLocationConstraint': 'AnyLocation'|'SameContinent'|'SameCountry',
'estimatedCostTier': 'L1'|'L2'|'L3'|'L4',
'policy': {
'string': {
'rpoInSecs': 123,
'rtoInSecs': 123
}
},
'policyArn': 'string',
'policyDescription': 'string',
'policyName': 'string',
'tags': {
'string': 'string'
},
'tier': 'MissionCritical'|'Critical'|'Important'|'CoreServices'|'NonCritical'
},
'resiliencyScore': {
'disruptionScore': {
'string': 123.0
},
'score': 123.0
},
'resourceErrorsDetails': {
'hasMoreErrors': True|False,
'resourceErrors': [
{
'logicalResourceId': 'string',
'physicalResourceId': 'string',
'reason': 'string'
},
]
},
'startTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
}
Response Structure
The assessment for an AWS Resilience Hub application, returned as an object. This object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, messages, resiliency scores, and more.
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn: partition
:resiliencehub: region
: account
:app/ app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
The version of the application.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn: partition
:resiliencehub: region
: account
:app-assessment/ app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
The name of the assessment.
The current status of the assessment for the resiliency policy.
The application compliance against the resiliency policy.
Defines the compliance against the resiliency policy for a disruption.
The Recovery Point Objective (RPO) that is achievable, in seconds.
The Recovery Time Objective (RTO) that is achievable, in seconds
The current status of compliance for the resiliency policy.
The current RPO, in seconds.
The current RTO, in seconds.
The disruption compliance message.
The RPO description.
The RPO reference identifier.
The RTO description.
The RTO reference identifier.
The current status of the compliance for the resiliency policy.
The cost for the application.
The cost amount.
The cost currency, for example USD
.
The cost frequency.
The end time for the action.
The entity that invoked the assessment.
Error or warning message from the assessment execution
The resiliency policy.
The timestamp for when the resiliency policy was created.
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
Specifies the estimated cost tier of the resiliency policy.
The resiliency policy.
Defines a failure policy.
The Recovery Point Objective (RPO), in seconds.
The Recovery Time Objective (RTO), in seconds.
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn: partition
:resiliencehub: region
: account
:resiliency-policy/ policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
The description for the policy.
The name of the policy
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
The tier for this resiliency policy, ranging from the highest severity ( MissionCritical
) to lowest ( NonCritical
).
The current resiliency score for the application.
The disruption score for a valid key.
The outage score for a valid key.
A resource error object containing a list of errors retrieving an application's resources.
This indicates if there are more errors not listed in the resourceErrors list.
A list of errors retrieving an application's resources.
Defines application resource errors.
This is the identifier of the resource.
This is the identifier of the physical resource.
This is the error message.
The starting time for the action.
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
Exceptions
ResilienceHub.Client.exceptions.InternalServerException
ResilienceHub.Client.exceptions.ResourceNotFoundException
ResilienceHub.Client.exceptions.ThrottlingException
ResilienceHub.Client.exceptions.ValidationException
ResilienceHub.Client.exceptions.AccessDeniedException