aws_sdk_docdbelastic/client/list_pending_maintenance_actions.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 [`ListPendingMaintenanceActions`](crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder::set_next_token):<br>required: **false**<br><p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>maxResults</code>.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to include in the response. If more records exist than the specified <code>maxResults</code> value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.</p><br>
9 /// - On success, responds with [`ListPendingMaintenanceActionsOutput`](crate::operation::list_pending_maintenance_actions::ListPendingMaintenanceActionsOutput) with field(s):
10 /// - [`resource_pending_maintenance_actions(Vec::<ResourcePendingMaintenanceAction>)`](crate::operation::list_pending_maintenance_actions::ListPendingMaintenanceActionsOutput::resource_pending_maintenance_actions): <p>Provides information about a pending maintenance action for a resource.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_pending_maintenance_actions::ListPendingMaintenanceActionsOutput::next_token): <p>An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>
12 /// - On failure, responds with [`SdkError<ListPendingMaintenanceActionsError>`](crate::operation::list_pending_maintenance_actions::ListPendingMaintenanceActionsError)
13 pub fn list_pending_maintenance_actions(
14 &self,
15 ) -> crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder {
16 crate::operation::list_pending_maintenance_actions::builders::ListPendingMaintenanceActionsFluentBuilder::new(self.handle.clone())
17 }
18}