aws_sdk_iot/client/list_detect_mitigation_actions_tasks.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 [`ListDetectMitigationActionsTasks`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return at one time. The default is 25.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results.</p><br>
9 /// - [`start_time(DateTime)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::set_start_time):<br>required: **true**<br><p>A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.</p><br>
10 /// - [`end_time(DateTime)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::set_end_time):<br>required: **true**<br><p>The end of the time period for which ML Detect mitigation actions tasks are returned.</p><br>
11 /// - On success, responds with [`ListDetectMitigationActionsTasksOutput`](crate::operation::list_detect_mitigation_actions_tasks::ListDetectMitigationActionsTasksOutput) with field(s):
12 /// - [`tasks(Option<Vec::<DetectMitigationActionsTaskSummary>>)`](crate::operation::list_detect_mitigation_actions_tasks::ListDetectMitigationActionsTasksOutput::tasks): <p>The collection of ML Detect mitigation tasks that matched the filter criteria.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_detect_mitigation_actions_tasks::ListDetectMitigationActionsTasksOutput::next_token): <p>A token that can be used to retrieve the next set of results, or <code>null</code> if there are no additional results.</p>
14 /// - On failure, responds with [`SdkError<ListDetectMitigationActionsTasksError>`](crate::operation::list_detect_mitigation_actions_tasks::ListDetectMitigationActionsTasksError)
15 pub fn list_detect_mitigation_actions_tasks(
16 &self,
17 ) -> crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder {
18 crate::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksFluentBuilder::new(self.handle.clone())
19 }
20}