Struct aws_sdk_backup::types::Framework
source · #[non_exhaustive]pub struct Framework {
pub framework_name: Option<String>,
pub framework_arn: Option<String>,
pub framework_description: Option<String>,
pub number_of_controls: i32,
pub creation_time: Option<DateTime>,
pub deployment_status: Option<String>,
}
Expand description
Contains detailed information about a framework. Frameworks contain controls, which evaluate and report on your backup events and resources. Frameworks generate daily compliance results.
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.framework_name: Option<String>
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
framework_arn: Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
framework_description: Option<String>
An optional description of the framework with a maximum 1,024 characters.
number_of_controls: i32
The number of controls contained by the framework.
creation_time: Option<DateTime>
The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
deployment_status: Option<String>
The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
Implementations§
source§impl Framework
impl Framework
sourcepub fn framework_name(&self) -> Option<&str>
pub fn framework_name(&self) -> Option<&str>
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
sourcepub fn framework_arn(&self) -> Option<&str>
pub fn framework_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn framework_description(&self) -> Option<&str>
pub fn framework_description(&self) -> Option<&str>
An optional description of the framework with a maximum 1,024 characters.
sourcepub fn number_of_controls(&self) -> i32
pub fn number_of_controls(&self) -> i32
The number of controls contained by the framework.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
sourcepub fn deployment_status(&self) -> Option<&str>
pub fn deployment_status(&self) -> Option<&str>
The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED