aws_sdk_cloudwatchlogs/client/
describe_field_indexes.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 [`DescribeFieldIndexes`](crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`log_group_identifiers(impl Into<String>)`](crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder::log_group_identifiers) / [`set_log_group_identifiers(Option<Vec::<String>>)`](crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder::set_log_group_identifiers):<br>required: **true**<br><p>An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder::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>
8    /// - On success, responds with [`DescribeFieldIndexesOutput`](crate::operation::describe_field_indexes::DescribeFieldIndexesOutput) with field(s):
9    ///   - [`field_indexes(Option<Vec::<FieldIndex>>)`](crate::operation::describe_field_indexes::DescribeFieldIndexesOutput::field_indexes): <p>An array containing the field index information.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::describe_field_indexes::DescribeFieldIndexesOutput::next_token): <p>The token for the next set of items to return. The token expires after 24 hours.</p>
11    /// - On failure, responds with [`SdkError<DescribeFieldIndexesError>`](crate::operation::describe_field_indexes::DescribeFieldIndexesError)
12    pub fn describe_field_indexes(&self) -> crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder {
13        crate::operation::describe_field_indexes::builders::DescribeFieldIndexesFluentBuilder::new(self.handle.clone())
14    }
15}