aws_sdk_guardduty/client/
list_malware_protection_plans.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 [`ListMalwareProtectionPlans`](crate::operation::list_malware_protection_plans::builders::ListMalwareProtectionPlansFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`next_token(impl Into<String>)`](crate::operation::list_malware_protection_plans::builders::ListMalwareProtectionPlansFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_malware_protection_plans::builders::ListMalwareProtectionPlansFluentBuilder::set_next_token):<br>required: **false**<br><p>You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of <code>NextToken</code> from the previous response to continue listing data. The default page size is 100 plans.</p><br>
7    /// - On success, responds with [`ListMalwareProtectionPlansOutput`](crate::operation::list_malware_protection_plans::ListMalwareProtectionPlansOutput) with field(s):
8    ///   - [`malware_protection_plans(Option<Vec::<MalwareProtectionPlanSummary>>)`](crate::operation::list_malware_protection_plans::ListMalwareProtectionPlansOutput::malware_protection_plans): <p>A list of unique identifiers associated with each Malware Protection plan.</p>
9    ///   - [`next_token(Option<String>)`](crate::operation::list_malware_protection_plans::ListMalwareProtectionPlansOutput::next_token): <p>You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of <code>NextToken</code> from the previous response to continue listing data.</p>
10    /// - On failure, responds with [`SdkError<ListMalwareProtectionPlansError>`](crate::operation::list_malware_protection_plans::ListMalwareProtectionPlansError)
11    pub fn list_malware_protection_plans(
12        &self,
13    ) -> crate::operation::list_malware_protection_plans::builders::ListMalwareProtectionPlansFluentBuilder {
14        crate::operation::list_malware_protection_plans::builders::ListMalwareProtectionPlansFluentBuilder::new(self.handle.clone())
15    }
16}