aws_sdk_fms/client/
get_apps_list.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 [`GetAppsList`](crate::operation::get_apps_list::builders::GetAppsListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`list_id(impl Into<String>)`](crate::operation::get_apps_list::builders::GetAppsListFluentBuilder::list_id) / [`set_list_id(Option<String>)`](crate::operation::get_apps_list::builders::GetAppsListFluentBuilder::set_list_id):<br>required: **true**<br><p>The ID of the Firewall Manager applications list that you want the details for.</p><br>
7    ///   - [`default_list(bool)`](crate::operation::get_apps_list::builders::GetAppsListFluentBuilder::default_list) / [`set_default_list(Option<bool>)`](crate::operation::get_apps_list::builders::GetAppsListFluentBuilder::set_default_list):<br>required: **false**<br><p>Specifies whether the list to retrieve is a default list owned by Firewall Manager.</p><br>
8    /// - On success, responds with [`GetAppsListOutput`](crate::operation::get_apps_list::GetAppsListOutput) with field(s):
9    ///   - [`apps_list(Option<AppsListData>)`](crate::operation::get_apps_list::GetAppsListOutput::apps_list): <p>Information about the specified Firewall Manager applications list.</p>
10    ///   - [`apps_list_arn(Option<String>)`](crate::operation::get_apps_list::GetAppsListOutput::apps_list_arn): <p>The Amazon Resource Name (ARN) of the applications list.</p>
11    /// - On failure, responds with [`SdkError<GetAppsListError>`](crate::operation::get_apps_list::GetAppsListError)
12    pub fn get_apps_list(&self) -> crate::operation::get_apps_list::builders::GetAppsListFluentBuilder {
13        crate::operation::get_apps_list::builders::GetAppsListFluentBuilder::new(self.handle.clone())
14    }
15}