aws_sdk_cloudwatchlogs/client/
describe_index_policies.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeIndexPolicies`](crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`log_group_identifiers(impl Into<String>)`](crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder::log_group_identifiers) / [`set_log_group_identifiers(Option<Vec::<String>>)`](crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder::set_log_group_identifiers):<br>required: **true**<br><p>An array containing the name or ARN of the log group that you want to retrieve field index policies for.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. The token expires after 24 hours.</p><br>
    /// - On success, responds with [`DescribeIndexPoliciesOutput`](crate::operation::describe_index_policies::DescribeIndexPoliciesOutput) with field(s):
    ///   - [`index_policies(Option<Vec::<IndexPolicy>>)`](crate::operation::describe_index_policies::DescribeIndexPoliciesOutput::index_policies): <p>An array containing the field index policies.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_index_policies::DescribeIndexPoliciesOutput::next_token): <p>The token for the next set of items to return. The token expires after 24 hours.</p>
    /// - On failure, responds with [`SdkError<DescribeIndexPoliciesError>`](crate::operation::describe_index_policies::DescribeIndexPoliciesError)
    pub fn describe_index_policies(&self) -> crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder {
        crate::operation::describe_index_policies::builders::DescribeIndexPoliciesFluentBuilder::new(self.handle.clone())
    }
}