Skip to main content

aws_sdk_context/client/
list_ontology_inductions.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 [`ListOntologyInductions`](crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of inductions to return in one page, from 1 to 100. Defaults to 50.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder::set_next_token):<br>required: **false**<br><p>Opaque continuation token from a prior response's nextToken. Omit on the first page.</p><br>
9    /// - On success, responds with [`ListOntologyInductionsOutput`](crate::operation::list_ontology_inductions::ListOntologyInductionsOutput) with field(s):
10    ///   - [`items(Vec::<OntologyInductionSummary>)`](crate::operation::list_ontology_inductions::ListOntologyInductionsOutput::items): <p>The ontology inductions in your account. Always present, and empty when there are none.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_ontology_inductions::ListOntologyInductionsOutput::next_token): <p>The token for the next page of results. Absent on the last page.</p>
12    /// - On failure, responds with [`SdkError<ListOntologyInductionsError>`](crate::operation::list_ontology_inductions::ListOntologyInductionsError)
13    pub fn list_ontology_inductions(&self) -> crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder {
14        crate::operation::list_ontology_inductions::builders::ListOntologyInductionsFluentBuilder::new(self.handle.clone())
15    }
16}