1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListQueryLoggingConfigs`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`hosted_zone_id(impl Into<String>)`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::set_hosted_zone_id):<br>required: **false**<br><p>(Optional) If you want to list the query logging configuration that is associated with a hosted zone, specify the ID in <code>HostedZoneId</code>.</p> <p>If you don't specify a hosted zone ID, <code>ListQueryLoggingConfigs</code> returns all of the configurations that are associated with the current Amazon Web Services account.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::set_next_token):<br>required: **false**<br><p>(Optional) If the current Amazon Web Services account has more than <code>MaxResults</code> query logging configurations, use <code>NextToken</code> to get the second and subsequent pages of results.</p> <p>For the first <code>ListQueryLoggingConfigs</code> request, omit this value.</p> <p>For the second and subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::set_max_results):<br>required: **false**<br><p>(Optional) The maximum number of query logging configurations that you want Amazon Route 53 to return in response to the current request. If the current Amazon Web Services account has more than <code>MaxResults</code> configurations, use the value of <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListQueryLoggingConfigs.html#API_ListQueryLoggingConfigs_RequestSyntax">NextToken</a> in the response to get the next page of results.</p> <p>If you don't specify a value for <code>MaxResults</code>, Route 53 returns up to 100 configurations.</p><br>
    /// - On success, responds with [`ListQueryLoggingConfigsOutput`](crate::operation::list_query_logging_configs::ListQueryLoggingConfigsOutput) with field(s):
    ///   - [`query_logging_configs(Vec::<QueryLoggingConfig>)`](crate::operation::list_query_logging_configs::ListQueryLoggingConfigsOutput::query_logging_configs): <p>An array that contains one <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_QueryLoggingConfig.html">QueryLoggingConfig</a> element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_query_logging_configs::ListQueryLoggingConfigsOutput::next_token): <p>If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account, <code>NextToken</code> doesn't appear in the response.</p> <p>If a response doesn't include the last of the configurations, you can get more configurations by submitting another <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListQueryLoggingConfigs.html">ListQueryLoggingConfigs</a> request. Get the value of <code>NextToken</code> that Amazon Route 53 returned in the previous response and include it in <code>NextToken</code> in the next request.</p>
    /// - On failure, responds with [`SdkError<ListQueryLoggingConfigsError>`](crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError)
    pub fn list_query_logging_configs(&self) -> crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder {
        crate::operation::list_query_logging_configs::builders::ListQueryLoggingConfigsFluentBuilder::new(self.handle.clone())
    }
}