Skip to main content

aws_sdk_glue/client/
list_glossary_terms.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 [`ListGlossaryTerms`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`glossary_identifier(impl Into<String>)`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::glossary_identifier) / [`set_glossary_identifier(Option<String>)`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::set_glossary_identifier):<br>required: **true**<br><p>The unique identifier of the glossary whose terms to list.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::set_next_token):<br>required: **false**<br><p>A continuation token, if this is a continuation call.</p><br>
10    /// - On success, responds with [`ListGlossaryTermsOutput`](crate::operation::list_glossary_terms::ListGlossaryTermsOutput) with field(s):
11    ///   - [`items(Option<Vec::<GlossaryTermItem>>)`](crate::operation::list_glossary_terms::ListGlossaryTermsOutput::items): <p>The list of glossary term items.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_glossary_terms::ListGlossaryTermsOutput::next_token): <p>A continuation token, present if the current segment is not the last.</p>
13    /// - On failure, responds with [`SdkError<ListGlossaryTermsError>`](crate::operation::list_glossary_terms::ListGlossaryTermsError)
14    pub fn list_glossary_terms(&self) -> crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder {
15        crate::operation::list_glossary_terms::builders::ListGlossaryTermsFluentBuilder::new(self.handle.clone())
16    }
17}