aws_sdk_controltower/client/
list_control_operations.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 [`ListControlOperations`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`filter(ControlOperationFilter)`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::filter) / [`set_filter(Option<ControlOperationFilter>)`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::set_filter):<br>required: **false**<br><p>An input filter for the <code>ListControlOperations</code> API that lets you select the types of control operations to view.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be shown.</p><br>
10    /// - On success, responds with [`ListControlOperationsOutput`](crate::operation::list_control_operations::ListControlOperationsOutput) with field(s):
11    ///   - [`control_operations(Vec::<ControlOperationSummary>)`](crate::operation::list_control_operations::ListControlOperationsOutput::control_operations): <p>Returns a list of output from control operations.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_control_operations::ListControlOperationsOutput::next_token): <p>A pagination token.</p>
13    /// - On failure, responds with [`SdkError<ListControlOperationsError>`](crate::operation::list_control_operations::ListControlOperationsError)
14    pub fn list_control_operations(&self) -> crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder {
15        crate::operation::list_control_operations::builders::ListControlOperationsFluentBuilder::new(self.handle.clone())
16    }
17}