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 [`ListCidrLocations`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`collection_id(impl Into<String>)`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::collection_id) / [`set_collection_id(Option<String>)`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::set_collection_id):<br>required: **true**<br><p>The CIDR collection ID.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::set_next_token):<br>required: **false**<br><p>An opaque pagination token to indicate where the service is to begin enumerating results.</p> <p>If no value is provided, the listing of results starts from the beginning.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of CIDR collection locations to return in the response.</p><br>
    /// - On success, responds with [`ListCidrLocationsOutput`](crate::operation::list_cidr_locations::ListCidrLocationsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_cidr_locations::ListCidrLocationsOutput::next_token): <p>An opaque pagination token to indicate where the service is to begin enumerating results.</p> <p>If no value is provided, the listing of results starts from the beginning.</p>
    ///   - [`cidr_locations(Option<Vec::<LocationSummary>>)`](crate::operation::list_cidr_locations::ListCidrLocationsOutput::cidr_locations): <p>A complex type that contains information about the list of CIDR locations.</p>
    /// - On failure, responds with [`SdkError<ListCidrLocationsError>`](crate::operation::list_cidr_locations::ListCidrLocationsError)
    pub fn list_cidr_locations(&self) -> crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder {
        crate::operation::list_cidr_locations::builders::ListCidrLocationsFluentBuilder::new(self.handle.clone())
    }
}