aws_sdk_s3control/client/
get_storage_lens_group.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 [`GetStorageLensGroup`](crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder::set_name):<br>required: **true**<br><p>The name of the Storage Lens group that you're trying to retrieve the configuration details for.</p><br>
7    ///   - [`account_id(impl Into<String>)`](crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID associated with the Storage Lens group that you're trying to retrieve the details for.</p><br>
8    /// - On success, responds with [`GetStorageLensGroupOutput`](crate::operation::get_storage_lens_group::GetStorageLensGroupOutput) with field(s):
9    ///   - [`storage_lens_group(Option<StorageLensGroup>)`](crate::operation::get_storage_lens_group::GetStorageLensGroupOutput::storage_lens_group): <p>The name of the Storage Lens group that you're trying to retrieve the configuration details for.</p>
10    /// - On failure, responds with [`SdkError<GetStorageLensGroupError>`](crate::operation::get_storage_lens_group::GetStorageLensGroupError)
11    pub fn get_storage_lens_group(&self) -> crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder {
12        crate::operation::get_storage_lens_group::builders::GetStorageLensGroupFluentBuilder::new(self.handle.clone())
13    }
14}