aws_sdk_macie2/client/
get_classification_scope.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetClassificationScope`](crate::operation::get_classification_scope::builders::GetClassificationScopeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_classification_scope::builders::GetClassificationScopeFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_classification_scope::builders::GetClassificationScopeFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier for the Amazon Macie resource that the request applies to.</p><br>
7    /// - On success, responds with [`GetClassificationScopeOutput`](crate::operation::get_classification_scope::GetClassificationScopeOutput) with field(s):
8    ///   - [`id(Option<String>)`](crate::operation::get_classification_scope::GetClassificationScopeOutput::id): <p>The unique identifier for the classification scope.</p>
9    ///   - [`name(Option<String>)`](crate::operation::get_classification_scope::GetClassificationScopeOutput::name): <p>The name of the classification scope: automated-sensitive-data-discovery.</p>
10    ///   - [`s3(Option<S3ClassificationScope>)`](crate::operation::get_classification_scope::GetClassificationScopeOutput::s3): <p>The S3 buckets that are excluded from automated sensitive data discovery.</p>
11    /// - On failure, responds with [`SdkError<GetClassificationScopeError>`](crate::operation::get_classification_scope::GetClassificationScopeError)
12    pub fn get_classification_scope(&self) -> crate::operation::get_classification_scope::builders::GetClassificationScopeFluentBuilder {
13        crate::operation::get_classification_scope::builders::GetClassificationScopeFluentBuilder::new(self.handle.clone())
14    }
15}