aws_sdk_s3control/client/
get_storage_lens_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 [`GetStorageLensConfiguration`](crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`config_id(impl Into<String>)`](crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder::config_id) / [`set_config_id(Option<String>)`](crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder::set_config_id):<br>required: **true**<br><p>The ID of the Amazon S3 Storage Lens configuration.</p><br>
7    ///   - [`account_id(impl Into<String>)`](crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder::set_account_id):<br>required: **true**<br><p>The account ID of the requester.</p><br>
8    /// - On success, responds with [`GetStorageLensConfigurationOutput`](crate::operation::get_storage_lens_configuration::GetStorageLensConfigurationOutput) with field(s):
9    ///   - [`storage_lens_configuration(Option<StorageLensConfiguration>)`](crate::operation::get_storage_lens_configuration::GetStorageLensConfigurationOutput::storage_lens_configuration): <p>The S3 Storage Lens configuration requested.</p>
10    /// - On failure, responds with [`SdkError<GetStorageLensConfigurationError>`](crate::operation::get_storage_lens_configuration::GetStorageLensConfigurationError)
11    pub fn get_storage_lens_configuration(
12        &self,
13    ) -> crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder {
14        crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder::new(self.handle.clone())
15    }
16}