Struct aws_sdk_auditmanager::client::fluent_builders::CreateAssessment [−][src]
pub struct CreateAssessment<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateAssessment
.
Creates an assessment in Audit Manager.
Implementations
impl<C, M, R> CreateAssessment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAssessment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAssessmentOutput, SdkError<CreateAssessmentError>> where
R::Policy: SmithyRetryPolicy<CreateAssessmentInputOperationOutputAlias, CreateAssessmentOutput, CreateAssessmentError, CreateAssessmentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAssessmentOutput, SdkError<CreateAssessmentError>> where
R::Policy: SmithyRetryPolicy<CreateAssessmentInputOperationOutputAlias, CreateAssessmentOutput, CreateAssessmentError, CreateAssessmentInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The optional description of the assessment to be created.
The optional description of the assessment to be created.
The assessment report storage destination for the assessment that's being created.
pub fn set_assessment_reports_destination(
self,
input: Option<AssessmentReportsDestination>
) -> Self
pub fn set_assessment_reports_destination(
self,
input: Option<AssessmentReportsDestination>
) -> Self
The assessment report storage destination for the assessment that's being created.
The wrapper that contains the Amazon Web Services accounts and services that are in scope for the assessment.
The wrapper that contains the Amazon Web Services accounts and services that are in scope for the assessment.
Appends an item to roles
.
To override the contents of this collection use set_roles
.
The list of roles for the assessment.
The identifier for the framework that the assessment will be created from.
The identifier for the framework that the assessment will be created from.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that are associated with the assessment.
The tags that are associated with the assessment.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateAssessment<C, M, R>
impl<C, M, R> Send for CreateAssessment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAssessment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAssessment<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateAssessment<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more