Struct aws_sdk_frauddetector::operation::put_external_model::builders::PutExternalModelFluentBuilder
source · pub struct PutExternalModelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutExternalModel
.
Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.
Implementations§
source§impl PutExternalModelFluentBuilder
impl PutExternalModelFluentBuilder
sourcepub fn as_input(&self) -> &PutExternalModelInputBuilder
pub fn as_input(&self) -> &PutExternalModelInputBuilder
Access the PutExternalModel as a reference.
sourcepub async fn send(
self
) -> Result<PutExternalModelOutput, SdkError<PutExternalModelError, HttpResponse>>
pub async fn send( self ) -> Result<PutExternalModelOutput, SdkError<PutExternalModelError, 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<PutExternalModelOutput, PutExternalModelError, Self>
pub fn customize( self ) -> CustomizableOperation<PutExternalModelOutput, PutExternalModelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn model_endpoint(self, input: impl Into<String>) -> Self
pub fn model_endpoint(self, input: impl Into<String>) -> Self
The model endpoints name.
sourcepub fn set_model_endpoint(self, input: Option<String>) -> Self
pub fn set_model_endpoint(self, input: Option<String>) -> Self
The model endpoints name.
sourcepub fn get_model_endpoint(&self) -> &Option<String>
pub fn get_model_endpoint(&self) -> &Option<String>
The model endpoints name.
sourcepub fn model_source(self, input: ModelSource) -> Self
pub fn model_source(self, input: ModelSource) -> Self
The source of the model.
sourcepub fn set_model_source(self, input: Option<ModelSource>) -> Self
pub fn set_model_source(self, input: Option<ModelSource>) -> Self
The source of the model.
sourcepub fn get_model_source(&self) -> &Option<ModelSource>
pub fn get_model_source(&self) -> &Option<ModelSource>
The source of the model.
sourcepub fn invoke_model_endpoint_role_arn(self, input: impl Into<String>) -> Self
pub fn invoke_model_endpoint_role_arn(self, input: impl Into<String>) -> Self
The IAM role used to invoke the model endpoint.
sourcepub fn set_invoke_model_endpoint_role_arn(self, input: Option<String>) -> Self
pub fn set_invoke_model_endpoint_role_arn(self, input: Option<String>) -> Self
The IAM role used to invoke the model endpoint.
sourcepub fn get_invoke_model_endpoint_role_arn(&self) -> &Option<String>
pub fn get_invoke_model_endpoint_role_arn(&self) -> &Option<String>
The IAM role used to invoke the model endpoint.
sourcepub fn input_configuration(self, input: ModelInputConfiguration) -> Self
pub fn input_configuration(self, input: ModelInputConfiguration) -> Self
The model endpoint input configuration.
sourcepub fn set_input_configuration(
self,
input: Option<ModelInputConfiguration>
) -> Self
pub fn set_input_configuration( self, input: Option<ModelInputConfiguration> ) -> Self
The model endpoint input configuration.
sourcepub fn get_input_configuration(&self) -> &Option<ModelInputConfiguration>
pub fn get_input_configuration(&self) -> &Option<ModelInputConfiguration>
The model endpoint input configuration.
sourcepub fn output_configuration(self, input: ModelOutputConfiguration) -> Self
pub fn output_configuration(self, input: ModelOutputConfiguration) -> Self
The model endpoint output configuration.
sourcepub fn set_output_configuration(
self,
input: Option<ModelOutputConfiguration>
) -> Self
pub fn set_output_configuration( self, input: Option<ModelOutputConfiguration> ) -> Self
The model endpoint output configuration.
sourcepub fn get_output_configuration(&self) -> &Option<ModelOutputConfiguration>
pub fn get_output_configuration(&self) -> &Option<ModelOutputConfiguration>
The model endpoint output configuration.
sourcepub fn model_endpoint_status(self, input: ModelEndpointStatus) -> Self
pub fn model_endpoint_status(self, input: ModelEndpointStatus) -> Self
The model endpoint’s status in Amazon Fraud Detector.
sourcepub fn set_model_endpoint_status(
self,
input: Option<ModelEndpointStatus>
) -> Self
pub fn set_model_endpoint_status( self, input: Option<ModelEndpointStatus> ) -> Self
The model endpoint’s status in Amazon Fraud Detector.
sourcepub fn get_model_endpoint_status(&self) -> &Option<ModelEndpointStatus>
pub fn get_model_endpoint_status(&self) -> &Option<ModelEndpointStatus>
The model endpoint’s status in Amazon Fraud Detector.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
Trait Implementations§
source§impl Clone for PutExternalModelFluentBuilder
impl Clone for PutExternalModelFluentBuilder
source§fn clone(&self) -> PutExternalModelFluentBuilder
fn clone(&self) -> PutExternalModelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more