Skip to main content

aws_sdk_context/client/
cancel_ontology_induction.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 [`CancelOntologyInduction`](crate::operation::cancel_ontology_induction::builders::CancelOntologyInductionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ontology_induction_id(impl Into<String>)`](crate::operation::cancel_ontology_induction::builders::CancelOntologyInductionFluentBuilder::ontology_induction_id) / [`set_ontology_induction_id(Option<String>)`](crate::operation::cancel_ontology_induction::builders::CancelOntologyInductionFluentBuilder::set_ontology_induction_id):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the ontology induction to cancel.</p><br>
7    /// - On success, responds with [`CancelOntologyInductionOutput`](crate::operation::cancel_ontology_induction::CancelOntologyInductionOutput) with field(s):
8    ///   - [`id(String)`](crate::operation::cancel_ontology_induction::CancelOntologyInductionOutput::id): <p>The ID of the induction, assigned by AWS Context.</p>
9    ///   - [`arn(String)`](crate::operation::cancel_ontology_induction::CancelOntologyInductionOutput::arn): <p>The Amazon Resource Name (ARN) of the ontology induction.</p>
10    ///   - [`status(OntologyInductionStatus)`](crate::operation::cancel_ontology_induction::CancelOntologyInductionOutput::status): <p>The status of the induction after the cancel request. Always CANCELLED.</p>
11    /// - On failure, responds with [`SdkError<CancelOntologyInductionError>`](crate::operation::cancel_ontology_induction::CancelOntologyInductionError)
12    pub fn cancel_ontology_induction(&self) -> crate::operation::cancel_ontology_induction::builders::CancelOntologyInductionFluentBuilder {
13        crate::operation::cancel_ontology_induction::builders::CancelOntologyInductionFluentBuilder::new(self.handle.clone())
14    }
15}