#[non_exhaustive]pub struct CreateAssessmentInput {
pub name: Option<String>,
pub description: Option<String>,
pub assessment_reports_destination: Option<AssessmentReportsDestination>,
pub scope: Option<Scope>,
pub roles: Option<Vec<Role>>,
pub framework_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
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.name: Option<String>
The name of the assessment to be created.
description: Option<String>
The optional description of the assessment to be created.
assessment_reports_destination: Option<AssessmentReportsDestination>
The assessment report storage destination for the assessment that's being created.
scope: Option<Scope>
The wrapper that contains the Amazon Web Services accounts and services that are in scope for the assessment.
roles: Option<Vec<Role>>
The list of roles for the assessment.
framework_id: Option<String>
The identifier for the framework that the assessment will be created from.
The tags that are associated with the assessment.
Implementations§
source§impl CreateAssessmentInput
impl CreateAssessmentInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The optional description of the assessment to be created.
sourcepub fn assessment_reports_destination(
&self
) -> Option<&AssessmentReportsDestination>
pub fn assessment_reports_destination( &self ) -> Option<&AssessmentReportsDestination>
The assessment report storage destination for the assessment that's being created.
sourcepub fn scope(&self) -> Option<&Scope>
pub fn scope(&self) -> Option<&Scope>
The wrapper that contains the Amazon Web Services accounts and services that are in scope for the assessment.
sourcepub fn roles(&self) -> &[Role]
pub fn roles(&self) -> &[Role]
The list of roles for the assessment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .roles.is_none()
.
sourcepub fn framework_id(&self) -> Option<&str>
pub fn framework_id(&self) -> Option<&str>
The identifier for the framework that the assessment will be created from.
The tags that are associated with the assessment.
source§impl CreateAssessmentInput
impl CreateAssessmentInput
sourcepub fn builder() -> CreateAssessmentInputBuilder
pub fn builder() -> CreateAssessmentInputBuilder
Creates a new builder-style object to manufacture CreateAssessmentInput
.
Trait Implementations§
source§impl Clone for CreateAssessmentInput
impl Clone for CreateAssessmentInput
source§fn clone(&self) -> CreateAssessmentInput
fn clone(&self) -> CreateAssessmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAssessmentInput
impl Debug for CreateAssessmentInput
source§impl PartialEq for CreateAssessmentInput
impl PartialEq for CreateAssessmentInput
source§fn eq(&self, other: &CreateAssessmentInput) -> bool
fn eq(&self, other: &CreateAssessmentInput) -> bool
self
and other
values to be equal, and is used
by ==
.