1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`InferRxNorm`](crate::operation::infer_rx_norm::builders::InferRxNormFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`text(impl Into<String>)`](crate::operation::infer_rx_norm::builders::InferRxNormFluentBuilder::text) / [`set_text(Option<String>)`](crate::operation::infer_rx_norm::builders::InferRxNormFluentBuilder::set_text):<br>required: **true**<br><p>The input text used for analysis.</p><br>
    /// - On success, responds with [`InferRxNormOutput`](crate::operation::infer_rx_norm::InferRxNormOutput) with field(s):
    ///   - [`entities(Vec::<RxNormEntity>)`](crate::operation::infer_rx_norm::InferRxNormOutput::entities): <p>The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.</p>
    ///   - [`pagination_token(Option<String>)`](crate::operation::infer_rx_norm::InferRxNormOutput::pagination_token): <p>If the result of the previous request to <code>InferRxNorm</code> was truncated, include the <code>PaginationToken</code> to fetch the next page of medication entities.</p>
    ///   - [`model_version(Option<String>)`](crate::operation::infer_rx_norm::InferRxNormOutput::model_version): <p>The version of the model used to analyze the documents, in the format <i>n</i>.<i>n</i>.<i>n</i> You can use this information to track the model used for a particular batch of documents.</p>
    /// - On failure, responds with [`SdkError<InferRxNormError>`](crate::operation::infer_rx_norm::InferRxNormError)
    pub fn infer_rx_norm(&self) -> crate::operation::infer_rx_norm::builders::InferRxNormFluentBuilder {
        crate::operation::infer_rx_norm::builders::InferRxNormFluentBuilder::new(self.handle.clone())
    }
}