aws_sdk_macie2/client/
list_custom_data_identifiers.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 [`ListCustomDataIdentifiers`](crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to include in each page of the response.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder::set_next_token):<br>required: **false**<br><p>The nextToken string that specifies which page of results to return in a paginated response.</p><br>
9    /// - On success, responds with [`ListCustomDataIdentifiersOutput`](crate::operation::list_custom_data_identifiers::ListCustomDataIdentifiersOutput) with field(s):
10    ///   - [`items(Option<Vec::<CustomDataIdentifierSummary>>)`](crate::operation::list_custom_data_identifiers::ListCustomDataIdentifiersOutput::items): <p>An array of objects, one for each custom data identifier.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_custom_data_identifiers::ListCustomDataIdentifiersOutput::next_token): <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
12    /// - On failure, responds with [`SdkError<ListCustomDataIdentifiersError>`](crate::operation::list_custom_data_identifiers::ListCustomDataIdentifiersError)
13    pub fn list_custom_data_identifiers(&self) -> crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder {
14        crate::operation::list_custom_data_identifiers::builders::ListCustomDataIdentifiersFluentBuilder::new(self.handle.clone())
15    }
16}