Struct aws_sdk_comprehendmedical::operation::start_rx_norm_inference_job::builders::StartRxNormInferenceJobFluentBuilder
source · pub struct StartRxNormInferenceJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartRxNormInferenceJob
.
Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology. Use the DescribeRxNormInferenceJob
operation to track the status of a job.
Implementations§
source§impl StartRxNormInferenceJobFluentBuilder
impl StartRxNormInferenceJobFluentBuilder
sourcepub fn as_input(&self) -> &StartRxNormInferenceJobInputBuilder
pub fn as_input(&self) -> &StartRxNormInferenceJobInputBuilder
Access the StartRxNormInferenceJob as a reference.
sourcepub async fn send(
self
) -> Result<StartRxNormInferenceJobOutput, SdkError<StartRxNormInferenceJobError, HttpResponse>>
pub async fn send( self ) -> Result<StartRxNormInferenceJobOutput, SdkError<StartRxNormInferenceJobError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartRxNormInferenceJobOutput, StartRxNormInferenceJobError, Self>
pub fn customize( self ) -> CustomizableOperation<StartRxNormInferenceJobOutput, StartRxNormInferenceJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn input_data_config(self, input: InputDataConfig) -> Self
pub fn input_data_config(self, input: InputDataConfig) -> Self
Specifies the format and location of the input data for the job.
sourcepub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
pub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
Specifies the format and location of the input data for the job.
sourcepub fn get_input_data_config(&self) -> &Option<InputDataConfig>
pub fn get_input_data_config(&self) -> &Option<InputDataConfig>
Specifies the format and location of the input data for the job.
sourcepub fn output_data_config(self, input: OutputDataConfig) -> Self
pub fn output_data_config(self, input: OutputDataConfig) -> Self
Specifies where to send the output files.
sourcepub fn set_output_data_config(self, input: Option<OutputDataConfig>) -> Self
pub fn set_output_data_config(self, input: Option<OutputDataConfig>) -> Self
Specifies where to send the output files.
sourcepub fn get_output_data_config(&self) -> &Option<OutputDataConfig>
pub fn get_output_data_config(&self) -> &Option<OutputDataConfig>
Specifies where to send the output files.
sourcepub fn data_access_role_arn(self, input: impl Into<String>) -> Self
pub fn data_access_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
sourcepub fn set_data_access_role_arn(self, input: Option<String>) -> Self
pub fn set_data_access_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
sourcepub fn get_data_access_role_arn(&self) -> &Option<String>
pub fn get_data_access_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The identifier of the job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The identifier of the job.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
sourcepub fn kms_key(self, input: impl Into<String>) -> Self
pub fn kms_key(self, input: impl Into<String>) -> Self
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
sourcepub fn set_kms_key(self, input: Option<String>) -> Self
pub fn set_kms_key(self, input: Option<String>) -> Self
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
sourcepub fn get_kms_key(&self) -> &Option<String>
pub fn get_kms_key(&self) -> &Option<String>
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
The language of the input documents. All documents must be in the same language.
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
The language of the input documents. All documents must be in the same language.
sourcepub fn get_language_code(&self) -> &Option<LanguageCode>
pub fn get_language_code(&self) -> &Option<LanguageCode>
The language of the input documents. All documents must be in the same language.
Trait Implementations§
source§impl Clone for StartRxNormInferenceJobFluentBuilder
impl Clone for StartRxNormInferenceJobFluentBuilder
source§fn clone(&self) -> StartRxNormInferenceJobFluentBuilder
fn clone(&self) -> StartRxNormInferenceJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartRxNormInferenceJobFluentBuilder
impl !RefUnwindSafe for StartRxNormInferenceJobFluentBuilder
impl Send for StartRxNormInferenceJobFluentBuilder
impl Sync for StartRxNormInferenceJobFluentBuilder
impl Unpin for StartRxNormInferenceJobFluentBuilder
impl !UnwindSafe for StartRxNormInferenceJobFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more