Struct aws_sdk_auditmanager::operation::batch_import_evidence_to_assessment_control::builders::BatchImportEvidenceToAssessmentControlFluentBuilder
source · pub struct BatchImportEvidenceToAssessmentControlFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchImportEvidenceToAssessmentControl
.
Adds one or more pieces of evidence to a control in an Audit Manager assessment.
You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.
The following restrictions apply to this action:
-
manualEvidence
can be only one of the following:evidenceFileName
,s3ResourcePath
, ortextResponse
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
Implementations§
source§impl BatchImportEvidenceToAssessmentControlFluentBuilder
impl BatchImportEvidenceToAssessmentControlFluentBuilder
sourcepub fn as_input(&self) -> &BatchImportEvidenceToAssessmentControlInputBuilder
pub fn as_input(&self) -> &BatchImportEvidenceToAssessmentControlInputBuilder
Access the BatchImportEvidenceToAssessmentControl as a reference.
sourcepub async fn send(
self
) -> Result<BatchImportEvidenceToAssessmentControlOutput, SdkError<BatchImportEvidenceToAssessmentControlError, HttpResponse>>
pub async fn send( self ) -> Result<BatchImportEvidenceToAssessmentControlOutput, SdkError<BatchImportEvidenceToAssessmentControlError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchImportEvidenceToAssessmentControlOutput, BatchImportEvidenceToAssessmentControlError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchImportEvidenceToAssessmentControlOutput, BatchImportEvidenceToAssessmentControlError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The identifier for the assessment.
sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The identifier for the assessment.
sourcepub fn control_set_id(self, input: impl Into<String>) -> Self
pub fn control_set_id(self, input: impl Into<String>) -> Self
The identifier for the control set.
sourcepub fn set_control_set_id(self, input: Option<String>) -> Self
pub fn set_control_set_id(self, input: Option<String>) -> Self
The identifier for the control set.
sourcepub fn get_control_set_id(&self) -> &Option<String>
pub fn get_control_set_id(&self) -> &Option<String>
The identifier for the control set.
sourcepub fn control_id(self, input: impl Into<String>) -> Self
pub fn control_id(self, input: impl Into<String>) -> Self
The identifier for the control.
sourcepub fn set_control_id(self, input: Option<String>) -> Self
pub fn set_control_id(self, input: Option<String>) -> Self
The identifier for the control.
sourcepub fn get_control_id(&self) -> &Option<String>
pub fn get_control_id(&self) -> &Option<String>
The identifier for the control.
sourcepub fn manual_evidence(self, input: ManualEvidence) -> Self
pub fn manual_evidence(self, input: ManualEvidence) -> Self
Appends an item to manualEvidence
.
To override the contents of this collection use set_manual_evidence
.
The list of manual evidence objects.
sourcepub fn set_manual_evidence(self, input: Option<Vec<ManualEvidence>>) -> Self
pub fn set_manual_evidence(self, input: Option<Vec<ManualEvidence>>) -> Self
The list of manual evidence objects.
sourcepub fn get_manual_evidence(&self) -> &Option<Vec<ManualEvidence>>
pub fn get_manual_evidence(&self) -> &Option<Vec<ManualEvidence>>
The list of manual evidence objects.
Trait Implementations§
source§impl Clone for BatchImportEvidenceToAssessmentControlFluentBuilder
impl Clone for BatchImportEvidenceToAssessmentControlFluentBuilder
source§fn clone(&self) -> BatchImportEvidenceToAssessmentControlFluentBuilder
fn clone(&self) -> BatchImportEvidenceToAssessmentControlFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for BatchImportEvidenceToAssessmentControlFluentBuilder
impl !RefUnwindSafe for BatchImportEvidenceToAssessmentControlFluentBuilder
impl Send for BatchImportEvidenceToAssessmentControlFluentBuilder
impl Sync for BatchImportEvidenceToAssessmentControlFluentBuilder
impl Unpin for BatchImportEvidenceToAssessmentControlFluentBuilder
impl !UnwindSafe for BatchImportEvidenceToAssessmentControlFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more