#[non_exhaustive]
pub struct DescribeEndpointOutput { /* private fields */ }

Implementations§

source§

impl DescribeEndpointOutput

source

pub fn endpoint_name(&self) -> Option<&str>

Name of the endpoint.

source

pub fn endpoint_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the endpoint.

source

pub fn endpoint_config_name(&self) -> Option<&str>

The name of the endpoint configuration associated with this endpoint.

source

pub fn production_variants(&self) -> Option<&[ProductionVariantSummary]>

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

source

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

The currently active data capture configuration used by your Endpoint.

source

pub fn 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.

source

pub fn failure_reason(&self) -> Option<&str>

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

source

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

A timestamp that shows when the endpoint was created.

source

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

A timestamp that shows when the endpoint was last modified.

source

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

The most recent deployment configuration for the endpoint.

source

pub fn 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) -> 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) -> Option<&ExplainerConfig>

The configuration parameters for an explainer.

source

pub fn shadow_production_variants(&self) -> Option<&[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§

impl DescribeEndpointOutput

source

pub fn builder() -> DescribeEndpointOutputBuilder

Creates a new builder-style object to manufacture DescribeEndpointOutput.

Trait Implementations§

source§

impl Clone for DescribeEndpointOutput

source§

fn clone(&self) -> DescribeEndpointOutput

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 DescribeEndpointOutput

source§

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

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

impl PartialEq<DescribeEndpointOutput> for DescribeEndpointOutput

source§

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

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for DescribeEndpointOutput

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<T> Same<T> 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