aws-sdk-context 1.0.0

AWS SDK for AWS Context
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetOntologyInduction`](crate::operation::get_ontology_induction::builders::GetOntologyInductionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`ontology_induction_id(impl Into<String>)`](crate::operation::get_ontology_induction::builders::GetOntologyInductionFluentBuilder::ontology_induction_id) / [`set_ontology_induction_id(Option<String>)`](crate::operation::get_ontology_induction::builders::GetOntologyInductionFluentBuilder::set_ontology_induction_id):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the ontology induction to return.</p><br>
    /// - On success, responds with [`GetOntologyInductionOutput`](crate::operation::get_ontology_induction::GetOntologyInductionOutput) with field(s):
    ///   - [`id(String)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::id): <p>The ID of the induction, assigned by AWS Context.</p>
    ///   - [`arn(String)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::arn): <p>The Amazon Resource Name (ARN) of the ontology induction.</p>
    ///   - [`status(OntologyInductionStatus)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::status): <p>The status of the ontology induction: <code>INDUCING</code> while it runs, then <code>DRAFT</code> once it has created a draft ontology, or <code>FAILED</code>. An induction that CancelOntologyInduction stops is <code>CANCELLED</code>. <code>DRAFT</code>, <code>FAILED</code>, and <code>CANCELLED</code> are final.</p>
    ///   - [`failure(Option<OntologyInductionFailure>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::failure): <p>Why the induction is FAILED. Absent in every other status.</p>
    ///   - [`ontology_name(Option<String>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::ontology_name): <p>The name the induction's ontology gets, as StartOntologyInduction took it (<code>ontologyName</code>). Once the ontology exists, its current name is GetOntology's.</p>
    ///   - [`ontology_description(Option<String>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::ontology_description): <p>The description the induction's ontology gets (<code>ontologyDescription</code>). Absent when there is none.</p>
    ///   - [`ontology_id(Option<String>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::ontology_id): <p>The ontology the induction created. Present exactly when the status is DRAFT: the ontology is created as DRAFT, in the same step that makes the induction DRAFT. Absent while INDUCING, and on a FAILED or CANCELLED induction, which never has an ontology. Returned even after the ontology is deleted.</p>
    ///   - [`ontology_arn(Option<String>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::ontology_arn): <p>The ARN of <code>ontologyId</code>. Present when it is.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::created_at): <p>The date and time when the ontology induction was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::updated_at): <p>The date and time when the ontology induction was last updated. Set when the induction is created, and updated on every change, such as a change of status.</p>
    ///   - [`seed_ontology_id(Option<String>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::seed_ontology_id): <p>The seed ontology the induction started from. Absent when started without a seed. Returned in every status.</p>
    ///   - [`prompt(Option<String>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::prompt): <p>The prompt that the induction was started with. Absent if the induction was started without a prompt.</p>
    ///   - [`input_config(Option<OntologyInductionInputConfigSummary>)`](crate::operation::get_ontology_induction::GetOntologyInductionOutput::input_config): <p>What the induction was started from, without the document content.</p>
    /// - On failure, responds with [`SdkError<GetOntologyInductionError>`](crate::operation::get_ontology_induction::GetOntologyInductionError)
    pub fn get_ontology_induction(&self) -> crate::operation::get_ontology_induction::builders::GetOntologyInductionFluentBuilder {
        crate::operation::get_ontology_induction::builders::GetOntologyInductionFluentBuilder::new(self.handle.clone())
    }
}