aws-sdk-context 1.0.0

AWS SDK for AWS Context
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListOntologies`](crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of ontology summaries to return in one page, 1–100. Defaults to 50. A value outside this range fails with ValidationException. AWS Context doesn't clamp it.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder::set_next_token):<br>required: **false**<br><p>Opaque continuation token from a prior response's nextToken. Omit on the first page.</p><br>
    /// - On success, responds with [`ListOntologiesOutput`](crate::operation::list_ontologies::ListOntologiesOutput) with field(s):
    ///   - [`items(Vec::<OntologySummary>)`](crate::operation::list_ontologies::ListOntologiesOutput::items): <p>One entry for each ontology that you own. Always present, and empty when you have none.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_ontologies::ListOntologiesOutput::next_token): <p>The token for the next page of results. Pass it as <code>nextToken</code> in your next request. Absent on the last page. Treat the token as opaque.</p>
    /// - On failure, responds with [`SdkError<ListOntologiesError>`](crate::operation::list_ontologies::ListOntologiesError)
    pub fn list_ontologies(&self) -> crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder {
        crate::operation::list_ontologies::builders::ListOntologiesFluentBuilder::new(self.handle.clone())
    }
}