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 [`ListProtocolsLists`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`default_lists(bool)`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::default_lists) / [`set_default_lists(Option<bool>)`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::set_default_lists):<br>required: **false**<br><p>Specifies whether the lists to retrieve are default lists owned by Firewall Manager.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::set_next_token):<br>required: **false**<br><p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::set_max_results):<br>required: **true**<br><p>The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p> <p>If you don't specify this, Firewall Manager returns all available objects.</p><br>
    /// - On success, responds with [`ListProtocolsListsOutput`](crate::operation::list_protocols_lists::ListProtocolsListsOutput) with field(s):
    ///   - [`protocols_lists(Option<Vec::<ProtocolsListDataSummary>>)`](crate::operation::list_protocols_lists::ListProtocolsListsOutput::protocols_lists): <p>An array of <code>ProtocolsListDataSummary</code> objects.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_protocols_lists::ListProtocolsListsOutput::next_token): <p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.</p>
    /// - On failure, responds with [`SdkError<ListProtocolsListsError>`](crate::operation::list_protocols_lists::ListProtocolsListsError)
    pub fn list_protocols_lists(&self) -> crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder {
        crate::operation::list_protocols_lists::builders::ListProtocolsListsFluentBuilder::new(self.handle.clone())
    }
}