#[non_exhaustive]
pub struct DescribeInferenceExperimentOutputBuilder { /* private fields */ }
Expand description

Implementations§

source§

impl DescribeInferenceExperimentOutputBuilder

source

pub fn arn(self, input: impl Into<String>) -> Self

The ARN of the inference experiment being described.

This field is required.
source

pub fn set_arn(self, input: Option<String>) -> Self

The ARN of the inference experiment being described.

source

pub fn get_arn(&self) -> &Option<String>

The ARN of the inference experiment being described.

source

pub fn name(self, input: impl Into<String>) -> Self

The name of the inference experiment.

This field is required.
source

pub fn set_name(self, input: Option<String>) -> Self

The name of the inference experiment.

source

pub fn get_name(&self) -> &Option<String>

The name of the inference experiment.

source

pub fn type(self, input: InferenceExperimentType) -> Self

The type of the inference experiment.

This field is required.
source

pub fn set_type(self, input: Option<InferenceExperimentType>) -> Self

The type of the inference experiment.

source

pub fn get_type(&self) -> &Option<InferenceExperimentType>

The type of the inference experiment.

source

pub fn schedule(self, input: InferenceExperimentSchedule) -> Self

The duration for which the inference experiment ran or will run.

source

pub fn set_schedule(self, input: Option<InferenceExperimentSchedule>) -> Self

The duration for which the inference experiment ran or will run.

source

pub fn get_schedule(&self) -> &Option<InferenceExperimentSchedule>

The duration for which the inference experiment ran or will run.

source

pub fn status(self, input: InferenceExperimentStatus) -> Self

The status of the inference experiment. The following are the possible statuses for an inference experiment:

  • Creating - Amazon SageMaker is creating your experiment.

  • Created - Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time.

  • Updating - When you make changes to your experiment, your experiment shows as updating.

  • Starting - Amazon SageMaker is beginning your experiment.

  • Running - Your experiment is in progress.

  • Stopping - Amazon SageMaker is stopping your experiment.

  • Completed - Your experiment has completed.

  • Cancelled - When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.

This field is required.
source

pub fn set_status(self, input: Option<InferenceExperimentStatus>) -> Self

The status of the inference experiment. The following are the possible statuses for an inference experiment:

  • Creating - Amazon SageMaker is creating your experiment.

  • Created - Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time.

  • Updating - When you make changes to your experiment, your experiment shows as updating.

  • Starting - Amazon SageMaker is beginning your experiment.

  • Running - Your experiment is in progress.

  • Stopping - Amazon SageMaker is stopping your experiment.

  • Completed - Your experiment has completed.

  • Cancelled - When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.

source

pub fn get_status(&self) -> &Option<InferenceExperimentStatus>

The status of the inference experiment. The following are the possible statuses for an inference experiment:

  • Creating - Amazon SageMaker is creating your experiment.

  • Created - Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time.

  • Updating - When you make changes to your experiment, your experiment shows as updating.

  • Starting - Amazon SageMaker is beginning your experiment.

  • Running - Your experiment is in progress.

  • Stopping - Amazon SageMaker is stopping your experiment.

  • Completed - Your experiment has completed.

  • Cancelled - When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.

source

pub fn status_reason(self, input: impl Into<String>) -> Self

The error message or client-specified Reason from the StopInferenceExperiment API, that explains the status of the inference experiment.

source

pub fn set_status_reason(self, input: Option<String>) -> Self

The error message or client-specified Reason from the StopInferenceExperiment API, that explains the status of the inference experiment.

source

pub fn get_status_reason(&self) -> &Option<String>

The error message or client-specified Reason from the StopInferenceExperiment API, that explains the status of the inference experiment.

source

pub fn description(self, input: impl Into<String>) -> Self

The description of the inference experiment.

source

pub fn set_description(self, input: Option<String>) -> Self

The description of the inference experiment.

source

pub fn get_description(&self) -> &Option<String>

The description of the inference experiment.

source

pub fn creation_time(self, input: DateTime) -> Self

The timestamp at which you created the inference experiment.

source

pub fn set_creation_time(self, input: Option<DateTime>) -> Self

The timestamp at which you created the inference experiment.

source

pub fn get_creation_time(&self) -> &Option<DateTime>

The timestamp at which you created the inference experiment.

source

pub fn completion_time(self, input: DateTime) -> Self

The timestamp at which the inference experiment was completed.

source

pub fn set_completion_time(self, input: Option<DateTime>) -> Self

The timestamp at which the inference experiment was completed.

source

pub fn get_completion_time(&self) -> &Option<DateTime>

The timestamp at which the inference experiment was completed.

source

pub fn last_modified_time(self, input: DateTime) -> Self

The timestamp at which you last modified the inference experiment.

source

pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self

The timestamp at which you last modified the inference experiment.

source

pub fn get_last_modified_time(&self) -> &Option<DateTime>

The timestamp at which you last modified the inference experiment.

source

pub fn role_arn(self, input: impl Into<String>) -> Self

The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.

source

pub fn set_role_arn(self, input: Option<String>) -> Self

The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.

source

pub fn get_role_arn(&self) -> &Option<String>

The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.

source

pub fn endpoint_metadata(self, input: EndpointMetadata) -> Self

The metadata of the endpoint on which the inference experiment ran.

This field is required.
source

pub fn set_endpoint_metadata(self, input: Option<EndpointMetadata>) -> Self

The metadata of the endpoint on which the inference experiment ran.

source

pub fn get_endpoint_metadata(&self) -> &Option<EndpointMetadata>

The metadata of the endpoint on which the inference experiment ran.

source

pub fn model_variants(self, input: ModelVariantConfigSummary) -> Self

Appends an item to model_variants.

To override the contents of this collection use set_model_variants.

An array of ModelVariantConfigSummary objects. There is one for each variant in the inference experiment. Each ModelVariantConfigSummary object in the array describes the infrastructure configuration for deploying the corresponding variant.

source

pub fn set_model_variants( self, input: Option<Vec<ModelVariantConfigSummary>> ) -> Self

An array of ModelVariantConfigSummary objects. There is one for each variant in the inference experiment. Each ModelVariantConfigSummary object in the array describes the infrastructure configuration for deploying the corresponding variant.

source

pub fn get_model_variants(&self) -> &Option<Vec<ModelVariantConfigSummary>>

An array of ModelVariantConfigSummary objects. There is one for each variant in the inference experiment. Each ModelVariantConfigSummary object in the array describes the infrastructure configuration for deploying the corresponding variant.

source

pub fn data_storage_config( self, input: InferenceExperimentDataStorageConfig ) -> Self

The Amazon S3 location and configuration for storing inference request and response data.

source

pub fn set_data_storage_config( self, input: Option<InferenceExperimentDataStorageConfig> ) -> Self

The Amazon S3 location and configuration for storing inference request and response data.

source

pub fn get_data_storage_config( &self ) -> &Option<InferenceExperimentDataStorageConfig>

The Amazon S3 location and configuration for storing inference request and response data.

source

pub fn shadow_mode_config(self, input: ShadowModeConfig) -> Self

The configuration of ShadowMode inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.

source

pub fn set_shadow_mode_config(self, input: Option<ShadowModeConfig>) -> Self

The configuration of ShadowMode inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.

source

pub fn get_shadow_mode_config(&self) -> &Option<ShadowModeConfig>

The configuration of ShadowMode inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.

source

pub fn kms_key(self, input: impl Into<String>) -> Self

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.

source

pub fn set_kms_key(self, input: Option<String>) -> Self

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.

source

pub fn get_kms_key(&self) -> &Option<String>

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.

source

pub fn build(self) -> DescribeInferenceExperimentOutput

Consumes the builder and constructs a DescribeInferenceExperimentOutput.

Trait Implementations§

source§

impl Clone for DescribeInferenceExperimentOutputBuilder

source§

fn clone(&self) -> DescribeInferenceExperimentOutputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DescribeInferenceExperimentOutputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DescribeInferenceExperimentOutputBuilder

source§

fn default() -> DescribeInferenceExperimentOutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for DescribeInferenceExperimentOutputBuilder

source§

fn eq(&self, other: &DescribeInferenceExperimentOutputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DescribeInferenceExperimentOutputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more