1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::describe_index_policies::_describe_index_policies_output::DescribeIndexPoliciesOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::describe_index_policies::_describe_index_policies_input::DescribeIndexPoliciesInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::describe_index_policies::_describe_index_policies_output::DescribeIndexPoliciesOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::describe_index_policies::builders::DescribeIndexPoliciesInputBuilder {
|
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::describe_index_policies::DescribeIndexPoliciesOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::describe_index_policies::DescribeIndexPoliciesError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.describe_index_policies();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DescribeIndexPolicies`.
|
24 24 | ///
|
25 25 | /// <p>Returns the field index policies of the specified log group. For more information about field index policies, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutIndexPolicy.html">PutIndexPolicy</a>.</p>
|
26 26 | /// <p>If a specified log group has a log-group level index policy, that policy is returned by this operation.</p>
|
27 27 | /// <p>If a specified log group doesn't have a log-group level index policy, but an account-wide index policy applies to it, that account-wide policy is returned by this operation.</p>
|
28 28 | /// <p>To find information about only account-level policies, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeAccountPolicies.html">DescribeAccountPolicies</a> instead.</p>
|
29 29 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
30 30 | pub struct DescribeIndexPoliciesFluentBuilder {
|
31 31 | handle: ::std::sync::Arc<crate::client::Handle>,
|
32 32 | inner: crate::operation::describe_index_policies::builders::DescribeIndexPoliciesInputBuilder,
|
33 33 | config_override: ::std::option::Option<crate::config::Builder>,
|
34 34 | }
|
35 35 | impl
|