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

A builder for DescribeEndpointOutput.

Implementations§

source§

impl DescribeEndpointOutputBuilder

source

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

Name of the endpoint.

This field is required.
source

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

Name of the endpoint.

source

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

Name of the endpoint.

source

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

The Amazon Resource Name (ARN) of the endpoint.

This field is required.
source

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

The Amazon Resource Name (ARN) of the endpoint.

source

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

The Amazon Resource Name (ARN) of the endpoint.

source

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

The name of the endpoint configuration associated with this endpoint.

This field is required.
source

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

The name of the endpoint configuration associated with this endpoint.

source

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

The name of the endpoint configuration associated with this endpoint.

source

pub fn production_variants(self, input: ProductionVariantSummary) -> Self

Appends an item to production_variants.

To override the contents of this collection use set_production_variants.

An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.

source

pub fn set_production_variants( self, input: Option<Vec<ProductionVariantSummary>> ) -> Self

An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.

source

pub fn get_production_variants(&self) -> &Option<Vec<ProductionVariantSummary>>

An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.

source

pub fn data_capture_config(self, input: DataCaptureConfigSummary) -> Self

The currently active data capture configuration used by your Endpoint.

source

pub fn set_data_capture_config( self, input: Option<DataCaptureConfigSummary> ) -> Self

The currently active data capture configuration used by your Endpoint.

source

pub fn get_data_capture_config(&self) -> &Option<DataCaptureConfigSummary>

The currently active data capture configuration used by your Endpoint.

source

pub fn endpoint_status(self, input: EndpointStatus) -> Self

The status of the endpoint.

  • OutOfService: Endpoint is not available to take incoming requests.

  • Creating: CreateEndpoint is executing.

  • Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.

  • SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.

  • RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an InService status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly.

  • InService: Endpoint is available to process incoming requests.

  • Deleting: DeleteEndpoint is executing.

  • Failed: Endpoint could not be created, updated, or re-scaled. Use the FailureReason value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint.

  • UpdateRollbackFailed: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status to InService, see Rolling Deployments.

This field is required.
source

pub fn set_endpoint_status(self, input: Option<EndpointStatus>) -> Self

The status of the endpoint.

  • OutOfService: Endpoint is not available to take incoming requests.

  • Creating: CreateEndpoint is executing.

  • Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.

  • SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.

  • RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an InService status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly.

  • InService: Endpoint is available to process incoming requests.

  • Deleting: DeleteEndpoint is executing.

  • Failed: Endpoint could not be created, updated, or re-scaled. Use the FailureReason value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint.

  • UpdateRollbackFailed: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status to InService, see Rolling Deployments.

source

pub fn get_endpoint_status(&self) -> &Option<EndpointStatus>

The status of the endpoint.

  • OutOfService: Endpoint is not available to take incoming requests.

  • Creating: CreateEndpoint is executing.

  • Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.

  • SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.

  • RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an InService status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly.

  • InService: Endpoint is available to process incoming requests.

  • Deleting: DeleteEndpoint is executing.

  • Failed: Endpoint could not be created, updated, or re-scaled. Use the FailureReason value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint.

  • UpdateRollbackFailed: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status to InService, see Rolling Deployments.

source

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

If the status of the endpoint is Failed, the reason why it failed.

source

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

If the status of the endpoint is Failed, the reason why it failed.

source

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

If the status of the endpoint is Failed, the reason why it failed.

source

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

A timestamp that shows when the endpoint was created.

This field is required.
source

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

A timestamp that shows when the endpoint was created.

source

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

A timestamp that shows when the endpoint was created.

source

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

A timestamp that shows when the endpoint was last modified.

This field is required.
source

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

A timestamp that shows when the endpoint was last modified.

source

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

A timestamp that shows when the endpoint was last modified.

source

pub fn last_deployment_config(self, input: DeploymentConfig) -> Self

The most recent deployment configuration for the endpoint.

source

pub fn set_last_deployment_config(self, input: Option<DeploymentConfig>) -> Self

The most recent deployment configuration for the endpoint.

source

pub fn get_last_deployment_config(&self) -> &Option<DeploymentConfig>

The most recent deployment configuration for the endpoint.

source

pub fn async_inference_config(self, input: AsyncInferenceConfig) -> Self

Returns the description of an endpoint configuration created using the CreateEndpointConfig API.

source

pub fn set_async_inference_config( self, input: Option<AsyncInferenceConfig> ) -> Self

Returns the description of an endpoint configuration created using the CreateEndpointConfig API.

source

pub fn get_async_inference_config(&self) -> &Option<AsyncInferenceConfig>

Returns the description of an endpoint configuration created using the CreateEndpointConfig API.

source

pub fn pending_deployment_summary(self, input: PendingDeploymentSummary) -> Self

Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.

source

pub fn set_pending_deployment_summary( self, input: Option<PendingDeploymentSummary> ) -> Self

Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.

source

pub fn get_pending_deployment_summary( &self ) -> &Option<PendingDeploymentSummary>

Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.

source

pub fn explainer_config(self, input: ExplainerConfig) -> Self

The configuration parameters for an explainer.

source

pub fn set_explainer_config(self, input: Option<ExplainerConfig>) -> Self

The configuration parameters for an explainer.

source

pub fn get_explainer_config(&self) -> &Option<ExplainerConfig>

The configuration parameters for an explainer.

source

pub fn shadow_production_variants(self, input: ProductionVariantSummary) -> Self

Appends an item to shadow_production_variants.

To override the contents of this collection use set_shadow_production_variants.

An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants.

source

pub fn set_shadow_production_variants( self, input: Option<Vec<ProductionVariantSummary>> ) -> Self

An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants.

source

pub fn get_shadow_production_variants( &self ) -> &Option<Vec<ProductionVariantSummary>>

An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants.

source

pub fn build(self) -> DescribeEndpointOutput

Consumes the builder and constructs a DescribeEndpointOutput.

Trait Implementations§

source§

impl Clone for DescribeEndpointOutputBuilder

source§

fn clone(&self) -> DescribeEndpointOutputBuilder

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 DescribeEndpointOutputBuilder

source§

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

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

impl Default for DescribeEndpointOutputBuilder

source§

fn default() -> DescribeEndpointOutputBuilder

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

impl PartialEq for DescribeEndpointOutputBuilder

source§

fn eq(&self, other: &DescribeEndpointOutputBuilder) -> 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 DescribeEndpointOutputBuilder

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