aws_sdk_clouddirectory/client/
list_facet_names.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 [`ListFacetNames`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`schema_arn(impl Into<String>)`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::schema_arn) / [`set_schema_arn(Option<String>)`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::set_schema_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) to retrieve facet names from.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to retrieve.</p><br>
10    /// - On success, responds with [`ListFacetNamesOutput`](crate::operation::list_facet_names::ListFacetNamesOutput) with field(s):
11    ///   - [`facet_names(Option<Vec::<String>>)`](crate::operation::list_facet_names::ListFacetNamesOutput::facet_names): <p>The names of facets that exist within the schema.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_facet_names::ListFacetNamesOutput::next_token): <p>The pagination token.</p>
13    /// - On failure, responds with [`SdkError<ListFacetNamesError>`](crate::operation::list_facet_names::ListFacetNamesError)
14    pub fn list_facet_names(&self) -> crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder {
15        crate::operation::list_facet_names::builders::ListFacetNamesFluentBuilder::new(self.handle.clone())
16    }
17}