aws_sdk_aiops/client/
list_investigation_groups.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 [`ListInvestigationGroups`](crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>Include this value, if it was returned by the previous operation, to get the next set of service operations.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.</p><br>
9    /// - On success, responds with [`ListInvestigationGroupsOutput`](crate::operation::list_investigation_groups::ListInvestigationGroupsOutput) with field(s):
10    ///   - [`next_token(Option<String>)`](crate::operation::list_investigation_groups::ListInvestigationGroupsOutput::next_token): <p>Include this value in your next use of this operation to get the next set of service operations.</p>
11    ///   - [`investigation_groups(Option<Vec::<ListInvestigationGroupsModel>>)`](crate::operation::list_investigation_groups::ListInvestigationGroupsOutput::investigation_groups): <p>An array of structures, where each structure contains the information about one investigation group in the account.</p>
12    /// - On failure, responds with [`SdkError<ListInvestigationGroupsError>`](crate::operation::list_investigation_groups::ListInvestigationGroupsError)
13    pub fn list_investigation_groups(&self) -> crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder {
14        crate::operation::list_investigation_groups::builders::ListInvestigationGroupsFluentBuilder::new(self.handle.clone())
15    }
16}