aws_sdk_macie2/client/
get_reveal_configuration.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 [`GetRevealConfiguration`](crate::operation::get_reveal_configuration::builders::GetRevealConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_reveal_configuration::builders::GetRevealConfigurationFluentBuilder::send) it.
6    /// - On success, responds with [`GetRevealConfigurationOutput`](crate::operation::get_reveal_configuration::GetRevealConfigurationOutput) with field(s):
7    ///   - [`configuration(Option<RevealConfiguration>)`](crate::operation::get_reveal_configuration::GetRevealConfigurationOutput::configuration): <p>The KMS key that's used to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.</p>
8    ///   - [`retrieval_configuration(Option<RetrievalConfiguration>)`](crate::operation::get_reveal_configuration::GetRevealConfigurationOutput::retrieval_configuration): <p>The access method and settings that are used to retrieve the sensitive data.</p>
9    /// - On failure, responds with [`SdkError<GetRevealConfigurationError>`](crate::operation::get_reveal_configuration::GetRevealConfigurationError)
10    pub fn get_reveal_configuration(&self) -> crate::operation::get_reveal_configuration::builders::GetRevealConfigurationFluentBuilder {
11        crate::operation::get_reveal_configuration::builders::GetRevealConfigurationFluentBuilder::new(self.handle.clone())
12    }
13}