1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::list_storage_lens_groups::_list_storage_lens_groups_output::ListStorageLensGroupsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::list_storage_lens_groups::_list_storage_lens_groups_input::ListStorageLensGroupsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::list_storage_lens_groups::_list_storage_lens_groups_output::ListStorageLensGroupsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::list_storage_lens_groups::builders::ListStorageLensGroupsInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::list_storage_lens_groups::ListStorageLensGroupsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::list_storage_lens_groups::ListStorageLensGroupsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.list_storage_lens_groups();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ListStorageLensGroups`.
|
24 24 | ///
|
25 25 | /// <p>Lists all the Storage Lens groups in the specified home Region.</p>
|
26 26 | /// <p>To use this operation, you must have the permission to perform the <code>s3:ListStorageLensGroups</code> action. For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
27 27 | /// <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage Lens error codes</a>.</p><important>
|
28 28 | /// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
29 29 | /// </important>
|
30 30 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
31 31 | pub struct ListStorageLensGroupsFluentBuilder {
|
32 32 | handle: ::std::sync::Arc<crate::client::Handle>,
|
33 33 | inner: crate::operation::list_storage_lens_groups::builders::ListStorageLensGroupsInputBuilder,
|
34 34 | config_override: ::std::option::Option<crate::config::Builder>,
|
35 35 | }
|