aws_sdk_guardduty/client/list_malware_scans.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 [`ListMalwareScans`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::set_max_results):<br>required: **false**<br><p>You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::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 NextToken from the previous response to continue listing results.</p><br>
9 /// - [`filter_criteria(ListMalwareScansFilterCriteria)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::filter_criteria) / [`set_filter_criteria(Option<ListMalwareScansFilterCriteria>)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::set_filter_criteria):<br>required: **false**<br><p>Represents the criteria used to filter the malware scan entries.</p><br>
10 /// - [`sort_criteria(SortCriteria)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::sort_criteria) / [`set_sort_criteria(Option<SortCriteria>)`](crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::set_sort_criteria):<br>required: **false**<br><p>Represents the criteria used for sorting malware scan entries.</p><br>
11 /// - On success, responds with [`ListMalwareScansOutput`](crate::operation::list_malware_scans::ListMalwareScansOutput) with field(s):
12 /// - [`scans(Option<Vec::<MalwareScan>>)`](crate::operation::list_malware_scans::ListMalwareScansOutput::scans): <p>The list of malware scans associated with the provided input parameters.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_malware_scans::ListMalwareScansOutput::next_token): <p>The pagination parameter to be used on the next list operation to retrieve more scans.</p>
14 /// - On failure, responds with [`SdkError<ListMalwareScansError>`](crate::operation::list_malware_scans::ListMalwareScansError)
15 pub fn list_malware_scans(&self) -> crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder {
16 crate::operation::list_malware_scans::builders::ListMalwareScansFluentBuilder::new(self.handle.clone())
17 }
18}