pub struct UpdateSensitivityInspectionTemplate { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSensitivityInspectionTemplate
.
Updates the settings for the sensitivity inspection template for an account.
Implementations§
source§impl UpdateSensitivityInspectionTemplate
impl UpdateSensitivityInspectionTemplate
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSensitivityInspectionTemplate, AwsResponseRetryClassifier>, SdkError<UpdateSensitivityInspectionTemplateError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSensitivityInspectionTemplate, AwsResponseRetryClassifier>, SdkError<UpdateSensitivityInspectionTemplateError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateSensitivityInspectionTemplateOutput, SdkError<UpdateSensitivityInspectionTemplateError>>
pub async fn send(
self
) -> Result<UpdateSensitivityInspectionTemplateOutput, SdkError<UpdateSensitivityInspectionTemplateError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A custom description of the template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A custom description of the template.
sourcepub fn excludes(self, input: SensitivityInspectionTemplateExcludes) -> Self
pub fn excludes(self, input: SensitivityInspectionTemplateExcludes) -> Self
The managed data identifiers to explicitly exclude (not use) when analyzing data.
To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
sourcepub fn set_excludes(
self,
input: Option<SensitivityInspectionTemplateExcludes>
) -> Self
pub fn set_excludes(
self,
input: Option<SensitivityInspectionTemplateExcludes>
) -> Self
The managed data identifiers to explicitly exclude (not use) when analyzing data.
To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn includes(self, input: SensitivityInspectionTemplateIncludes) -> Self
pub fn includes(self, input: SensitivityInspectionTemplateIncludes) -> Self
The allow lists, custom data identifiers, and managed data identifiers to include (use) when analyzing data.
sourcepub fn set_includes(
self,
input: Option<SensitivityInspectionTemplateIncludes>
) -> Self
pub fn set_includes(
self,
input: Option<SensitivityInspectionTemplateIncludes>
) -> Self
The allow lists, custom data identifiers, and managed data identifiers to include (use) when analyzing data.
Trait Implementations§
source§impl Clone for UpdateSensitivityInspectionTemplate
impl Clone for UpdateSensitivityInspectionTemplate
source§fn clone(&self) -> UpdateSensitivityInspectionTemplate
fn clone(&self) -> UpdateSensitivityInspectionTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more