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 [`GetProtocolsList`](crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`list_id(impl Into<String>)`](crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder::list_id) / [`set_list_id(Option<String>)`](crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder::set_list_id):<br>required: **true**<br><p>The ID of the Firewall Manager protocols list that you want the details for.</p><br>
    ///   - [`default_list(bool)`](crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder::default_list) / [`set_default_list(Option<bool>)`](crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder::set_default_list):<br>required: **false**<br><p>Specifies whether the list to retrieve is a default list owned by Firewall Manager.</p><br>
    /// - On success, responds with [`GetProtocolsListOutput`](crate::operation::get_protocols_list::GetProtocolsListOutput) with field(s):
    ///   - [`protocols_list(Option<ProtocolsListData>)`](crate::operation::get_protocols_list::GetProtocolsListOutput::protocols_list): <p>Information about the specified Firewall Manager protocols list.</p>
    ///   - [`protocols_list_arn(Option<String>)`](crate::operation::get_protocols_list::GetProtocolsListOutput::protocols_list_arn): <p>The Amazon Resource Name (ARN) of the specified protocols list.</p>
    /// - On failure, responds with [`SdkError<GetProtocolsListError>`](crate::operation::get_protocols_list::GetProtocolsListError)
    pub fn get_protocols_list(&self) -> crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder {
        crate::operation::get_protocols_list::builders::GetProtocolsListFluentBuilder::new(self.handle.clone())
    }
}