Struct aws_sdk_resiliencehub::types::AppAssessment
source · #[non_exhaustive]pub struct AppAssessment {Show 18 fields
pub app_arn: Option<String>,
pub app_version: Option<String>,
pub invoker: AssessmentInvoker,
pub cost: Option<Cost>,
pub resiliency_score: Option<ResiliencyScore>,
pub compliance: Option<HashMap<DisruptionType, DisruptionCompliance>>,
pub compliance_status: Option<ComplianceStatus>,
pub assessment_status: AssessmentStatus,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub message: Option<String>,
pub assessment_name: Option<String>,
pub assessment_arn: String,
pub policy: Option<ResiliencyPolicy>,
pub tags: Option<HashMap<String, String>>,
pub resource_errors_details: Option<ResourceErrorsDetails>,
pub version_name: Option<String>,
pub drift_status: Option<DriftStatus>,
}Expand description
Defines an application assessment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app_arn: Option<String>Amazon Resource Name (ARN) of the 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 Amazon Web Services General Reference guide.
app_version: Option<String>Version of an application.
invoker: AssessmentInvokerThe entity that invoked the assessment.
cost: Option<Cost>Cost for the application.
resiliency_score: Option<ResiliencyScore>Current resiliency score for an application.
compliance: Option<HashMap<DisruptionType, DisruptionCompliance>>Application compliance against the resiliency policy.
compliance_status: Option<ComplianceStatus>Current status of the compliance for the resiliency policy.
assessment_status: AssessmentStatusCurrent status of the assessment for the resiliency policy.
start_time: Option<DateTime>Starting time for the action.
end_time: Option<DateTime>End time for the action.
message: Option<String>Error or warning message from the assessment execution
assessment_name: Option<String>Name of the assessment.
assessment_arn: StringAmazon 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 Amazon Web Services General Reference guide.
policy: Option<ResiliencyPolicy>Resiliency policy of an application.
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.
resource_errors_details: Option<ResourceErrorsDetails>A resource error object containing a list of errors retrieving an application's resources.
version_name: Option<String>Version name of the published application.
drift_status: Option<DriftStatus>Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
Implementations§
source§impl AppAssessment
impl AppAssessment
sourcepub fn app_arn(&self) -> Option<&str>
pub fn app_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the 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 Amazon Web Services General Reference guide.
sourcepub fn app_version(&self) -> Option<&str>
pub fn app_version(&self) -> Option<&str>
Version of an application.
sourcepub fn invoker(&self) -> &AssessmentInvoker
pub fn invoker(&self) -> &AssessmentInvoker
The entity that invoked the assessment.
sourcepub fn resiliency_score(&self) -> Option<&ResiliencyScore>
pub fn resiliency_score(&self) -> Option<&ResiliencyScore>
Current resiliency score for an application.
sourcepub fn compliance(
&self
) -> Option<&HashMap<DisruptionType, DisruptionCompliance>>
pub fn compliance( &self ) -> Option<&HashMap<DisruptionType, DisruptionCompliance>>
Application compliance against the resiliency policy.
sourcepub fn compliance_status(&self) -> Option<&ComplianceStatus>
pub fn compliance_status(&self) -> Option<&ComplianceStatus>
Current status of the compliance for the resiliency policy.
sourcepub fn assessment_status(&self) -> &AssessmentStatus
pub fn assessment_status(&self) -> &AssessmentStatus
Current status of the assessment for the resiliency policy.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
Starting time for the action.
sourcepub fn assessment_name(&self) -> Option<&str>
pub fn assessment_name(&self) -> Option<&str>
Name of the assessment.
sourcepub fn assessment_arn(&self) -> &str
pub fn assessment_arn(&self) -> &str
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 Amazon Web Services General Reference guide.
sourcepub fn policy(&self) -> Option<&ResiliencyPolicy>
pub fn policy(&self) -> Option<&ResiliencyPolicy>
Resiliency policy of an application.
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.
sourcepub fn resource_errors_details(&self) -> Option<&ResourceErrorsDetails>
pub fn resource_errors_details(&self) -> Option<&ResourceErrorsDetails>
A resource error object containing a list of errors retrieving an application's resources.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
Version name of the published application.
sourcepub fn drift_status(&self) -> Option<&DriftStatus>
pub fn drift_status(&self) -> Option<&DriftStatus>
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
source§impl AppAssessment
impl AppAssessment
sourcepub fn builder() -> AppAssessmentBuilder
pub fn builder() -> AppAssessmentBuilder
Creates a new builder-style object to manufacture AppAssessment.
Trait Implementations§
source§impl Clone for AppAssessment
impl Clone for AppAssessment
source§fn clone(&self) -> AppAssessment
fn clone(&self) -> AppAssessment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AppAssessment
impl Debug for AppAssessment
source§impl PartialEq for AppAssessment
impl PartialEq for AppAssessment
source§fn eq(&self, other: &AppAssessment) -> bool
fn eq(&self, other: &AppAssessment) -> bool
self and other values to be equal, and is used
by ==.