Struct aws_sdk_sagemaker::output::DescribeEndpointOutput
source · [−]#[non_exhaustive]pub struct DescribeEndpointOutput {
pub endpoint_name: Option<String>,
pub endpoint_arn: Option<String>,
pub endpoint_config_name: Option<String>,
pub production_variants: Option<Vec<ProductionVariantSummary>>,
pub data_capture_config: Option<DataCaptureConfigSummary>,
pub endpoint_status: Option<EndpointStatus>,
pub failure_reason: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub last_deployment_config: Option<DeploymentConfig>,
pub async_inference_config: Option<AsyncInferenceConfig>,
pub pending_deployment_summary: Option<PendingDeploymentSummary>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.endpoint_name: Option<String>
Name of the endpoint.
endpoint_arn: Option<String>
The Amazon Resource Name (ARN) of the endpoint.
endpoint_config_name: Option<String>
The name of the endpoint configuration associated with this endpoint.
production_variants: Option<Vec<ProductionVariantSummary>>
An array of ProductionVariantSummary
objects, one for each model hosted behind this endpoint.
data_capture_config: Option<DataCaptureConfigSummary>
endpoint_status: Option<EndpointStatus>
The status of the endpoint.
-
OutOfService
: Endpoint is not available to take incoming requests. -
Creating
:CreateEndpoint
is executing. -
Updating
:UpdateEndpoint
orUpdateEndpointWeightsAndCapacities
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 anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of anUpdateEndpointWeightsAndCapacities
call or when theUpdateEndpointWeightsAndCapacities
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. UseDescribeEndpointOutput$FailureReason
for information about the failure.DeleteEndpoint
is the only operation that can be performed on a failed endpoint.
failure_reason: Option<String>
If the status of the endpoint is Failed
, the reason why it failed.
creation_time: Option<DateTime>
A timestamp that shows when the endpoint was created.
last_modified_time: Option<DateTime>
A timestamp that shows when the endpoint was last modified.
last_deployment_config: Option<DeploymentConfig>
The most recent deployment configuration for the endpoint.
async_inference_config: Option<AsyncInferenceConfig>
Returns the description of an endpoint configuration created using the CreateEndpointConfig
API.
pending_deployment_summary: 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.
Implementations
sourceimpl DescribeEndpointOutput
impl DescribeEndpointOutput
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
Name of the endpoint.
sourcepub fn endpoint_arn(&self) -> Option<&str>
pub fn endpoint_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the endpoint.
sourcepub fn endpoint_config_name(&self) -> Option<&str>
pub fn endpoint_config_name(&self) -> Option<&str>
The name of the endpoint configuration associated with this endpoint.
sourcepub fn production_variants(&self) -> Option<&[ProductionVariantSummary]>
pub fn production_variants(&self) -> Option<&[ProductionVariantSummary]>
An array of ProductionVariantSummary
objects, one for each model hosted behind this endpoint.
sourcepub fn data_capture_config(&self) -> Option<&DataCaptureConfigSummary>
pub fn data_capture_config(&self) -> Option<&DataCaptureConfigSummary>
sourcepub fn endpoint_status(&self) -> Option<&EndpointStatus>
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
orUpdateEndpointWeightsAndCapacities
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 anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of anUpdateEndpointWeightsAndCapacities
call or when theUpdateEndpointWeightsAndCapacities
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. UseDescribeEndpointOutput$FailureReason
for information about the failure.DeleteEndpoint
is the only operation that can be performed on a failed endpoint.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If the status of the endpoint is Failed
, the reason why it failed.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A timestamp that shows when the endpoint was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
A timestamp that shows when the endpoint was last modified.
sourcepub fn last_deployment_config(&self) -> Option<&DeploymentConfig>
pub fn last_deployment_config(&self) -> Option<&DeploymentConfig>
The most recent deployment configuration for the endpoint.
sourcepub fn async_inference_config(&self) -> Option<&AsyncInferenceConfig>
pub fn async_inference_config(&self) -> Option<&AsyncInferenceConfig>
Returns the description of an endpoint configuration created using the CreateEndpointConfig
API.
sourcepub fn pending_deployment_summary(&self) -> Option<&PendingDeploymentSummary>
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.
sourceimpl DescribeEndpointOutput
impl DescribeEndpointOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeEndpointOutput
Trait Implementations
sourceimpl Clone for DescribeEndpointOutput
impl Clone for DescribeEndpointOutput
sourcefn clone(&self) -> DescribeEndpointOutput
fn clone(&self) -> DescribeEndpointOutput
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
sourceimpl Debug for DescribeEndpointOutput
impl Debug for DescribeEndpointOutput
sourceimpl PartialEq<DescribeEndpointOutput> for DescribeEndpointOutput
impl PartialEq<DescribeEndpointOutput> for DescribeEndpointOutput
sourcefn eq(&self, other: &DescribeEndpointOutput) -> bool
fn eq(&self, other: &DescribeEndpointOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeEndpointOutput) -> bool
fn ne(&self, other: &DescribeEndpointOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeEndpointOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeEndpointOutput
impl Send for DescribeEndpointOutput
impl Sync for DescribeEndpointOutput
impl Unpin for DescribeEndpointOutput
impl UnwindSafe for DescribeEndpointOutput
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