Struct aws_sdk_sagemaker::output::describe_endpoint_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeEndpointOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
Name of the endpoint.
sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
Name of the endpoint.
sourcepub fn endpoint_arn(self, input: impl Into<String>) -> Self
pub fn endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the endpoint.
sourcepub fn set_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the endpoint.
sourcepub fn endpoint_config_name(self, input: impl Into<String>) -> Self
pub fn endpoint_config_name(self, input: impl Into<String>) -> Self
The name of the endpoint configuration associated with this endpoint.
sourcepub fn set_endpoint_config_name(self, input: Option<String>) -> Self
pub fn set_endpoint_config_name(self, input: Option<String>) -> Self
The name of the endpoint configuration associated with this endpoint.
sourcepub fn production_variants(self, input: ProductionVariantSummary) -> Self
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.
sourcepub fn set_production_variants(
self,
input: Option<Vec<ProductionVariantSummary>>
) -> Self
pub fn set_production_variants(
self,
input: Option<Vec<ProductionVariantSummary>>
) -> Self
An array of ProductionVariantSummary
objects, one for each model hosted behind this endpoint.
sourcepub fn data_capture_config(self, input: DataCaptureConfigSummary) -> Self
pub fn data_capture_config(self, input: DataCaptureConfigSummary) -> Self
The currently active data capture configuration used by your Endpoint.
sourcepub fn set_data_capture_config(
self,
input: Option<DataCaptureConfigSummary>
) -> Self
pub fn set_data_capture_config(
self,
input: Option<DataCaptureConfigSummary>
) -> Self
The currently active data capture configuration used by your Endpoint.
sourcepub fn endpoint_status(self, input: EndpointStatus) -> Self
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
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 set_endpoint_status(self, input: Option<EndpointStatus>) -> Self
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
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, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If the status of the endpoint is Failed
, the reason why it failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If the status of the endpoint is Failed
, the reason why it failed.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that shows when the endpoint was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the endpoint was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A timestamp that shows when the endpoint was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the endpoint was last modified.
sourcepub fn last_deployment_config(self, input: DeploymentConfig) -> Self
pub fn last_deployment_config(self, input: DeploymentConfig) -> Self
The most recent deployment configuration for the endpoint.
sourcepub fn set_last_deployment_config(self, input: Option<DeploymentConfig>) -> Self
pub fn set_last_deployment_config(self, input: Option<DeploymentConfig>) -> Self
The most recent deployment configuration for the endpoint.
sourcepub fn async_inference_config(self, input: AsyncInferenceConfig) -> Self
pub fn async_inference_config(self, input: AsyncInferenceConfig) -> Self
Returns the description of an endpoint configuration created using the CreateEndpointConfig
API.
sourcepub fn set_async_inference_config(
self,
input: Option<AsyncInferenceConfig>
) -> Self
pub fn set_async_inference_config(
self,
input: Option<AsyncInferenceConfig>
) -> Self
Returns the description of an endpoint configuration created using the CreateEndpointConfig
API.
sourcepub fn pending_deployment_summary(self, input: PendingDeploymentSummary) -> Self
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.
sourcepub fn set_pending_deployment_summary(
self,
input: Option<PendingDeploymentSummary>
) -> Self
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.
sourcepub fn explainer_config(self, input: ExplainerConfig) -> Self
pub fn explainer_config(self, input: ExplainerConfig) -> Self
The configuration parameters for an explainer.
sourcepub fn set_explainer_config(self, input: Option<ExplainerConfig>) -> Self
pub fn set_explainer_config(self, input: Option<ExplainerConfig>) -> Self
The configuration parameters for an explainer.
sourcepub fn shadow_production_variants(self, input: ProductionVariantSummary) -> Self
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
.
sourcepub fn set_shadow_production_variants(
self,
input: Option<Vec<ProductionVariantSummary>>
) -> Self
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
.
sourcepub fn build(self) -> DescribeEndpointOutput
pub fn build(self) -> DescribeEndpointOutput
Consumes the builder and constructs a DescribeEndpointOutput
.