pub struct CreateModelQualityJobDefinition { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateModelQualityJobDefinition
.
Creates a definition for a job that monitors model quality and drift. For information about model monitor, see Amazon SageMaker Model Monitor.
Implementations
sourceimpl CreateModelQualityJobDefinition
impl CreateModelQualityJobDefinition
sourcepub async fn send(
self
) -> Result<CreateModelQualityJobDefinitionOutput, SdkError<CreateModelQualityJobDefinitionError>>
pub async fn send(
self
) -> Result<CreateModelQualityJobDefinitionOutput, SdkError<CreateModelQualityJobDefinitionError>>
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 job_definition_name(self, input: impl Into<String>) -> Self
pub fn job_definition_name(self, input: impl Into<String>) -> Self
The name of the monitoring job definition.
sourcepub fn set_job_definition_name(self, input: Option<String>) -> Self
pub fn set_job_definition_name(self, input: Option<String>) -> Self
The name of the monitoring job definition.
sourcepub fn model_quality_baseline_config(
self,
input: ModelQualityBaselineConfig
) -> Self
pub fn model_quality_baseline_config(
self,
input: ModelQualityBaselineConfig
) -> Self
Specifies the constraints and baselines for the monitoring job.
sourcepub fn set_model_quality_baseline_config(
self,
input: Option<ModelQualityBaselineConfig>
) -> Self
pub fn set_model_quality_baseline_config(
self,
input: Option<ModelQualityBaselineConfig>
) -> Self
Specifies the constraints and baselines for the monitoring job.
sourcepub fn model_quality_app_specification(
self,
input: ModelQualityAppSpecification
) -> Self
pub fn model_quality_app_specification(
self,
input: ModelQualityAppSpecification
) -> Self
The container that runs the monitoring job.
sourcepub fn set_model_quality_app_specification(
self,
input: Option<ModelQualityAppSpecification>
) -> Self
pub fn set_model_quality_app_specification(
self,
input: Option<ModelQualityAppSpecification>
) -> Self
The container that runs the monitoring job.
sourcepub fn model_quality_job_input(self, input: ModelQualityJobInput) -> Self
pub fn model_quality_job_input(self, input: ModelQualityJobInput) -> Self
A list of the inputs that are monitored. Currently endpoints are supported.
sourcepub fn set_model_quality_job_input(
self,
input: Option<ModelQualityJobInput>
) -> Self
pub fn set_model_quality_job_input(
self,
input: Option<ModelQualityJobInput>
) -> Self
A list of the inputs that are monitored. Currently endpoints are supported.
sourcepub fn model_quality_job_output_config(
self,
input: MonitoringOutputConfig
) -> Self
pub fn model_quality_job_output_config(
self,
input: MonitoringOutputConfig
) -> Self
The output configuration for monitoring jobs.
sourcepub fn set_model_quality_job_output_config(
self,
input: Option<MonitoringOutputConfig>
) -> Self
pub fn set_model_quality_job_output_config(
self,
input: Option<MonitoringOutputConfig>
) -> Self
The output configuration for monitoring jobs.
sourcepub fn job_resources(self, input: MonitoringResources) -> Self
pub fn job_resources(self, input: MonitoringResources) -> Self
Identifies the resources to deploy for a monitoring job.
sourcepub fn set_job_resources(self, input: Option<MonitoringResources>) -> Self
pub fn set_job_resources(self, input: Option<MonitoringResources>) -> Self
Identifies the resources to deploy for a monitoring job.
sourcepub fn network_config(self, input: MonitoringNetworkConfig) -> Self
pub fn network_config(self, input: MonitoringNetworkConfig) -> Self
Specifies the network configuration for the monitoring job.
sourcepub fn set_network_config(self, input: Option<MonitoringNetworkConfig>) -> Self
pub fn set_network_config(self, input: Option<MonitoringNetworkConfig>) -> Self
Specifies the network configuration for the monitoring job.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
sourcepub fn stopping_condition(self, input: MonitoringStoppingCondition) -> Self
pub fn stopping_condition(self, input: MonitoringStoppingCondition) -> Self
A time limit for how long the monitoring job is allowed to run before stopping.
sourcepub fn set_stopping_condition(
self,
input: Option<MonitoringStoppingCondition>
) -> Self
pub fn set_stopping_condition(
self,
input: Option<MonitoringStoppingCondition>
) -> Self
A time limit for how long the monitoring job is allowed to run before stopping.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
Trait Implementations
sourceimpl Clone for CreateModelQualityJobDefinition
impl Clone for CreateModelQualityJobDefinition
sourcefn clone(&self) -> CreateModelQualityJobDefinition
fn clone(&self) -> CreateModelQualityJobDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateModelQualityJobDefinition
impl Send for CreateModelQualityJobDefinition
impl Sync for CreateModelQualityJobDefinition
impl Unpin for CreateModelQualityJobDefinition
impl !UnwindSafe for CreateModelQualityJobDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more