Struct aws_sdk_sagemaker::types::Endpoint
source · #[non_exhaustive]pub struct Endpoint {
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 monitoring_schedules: Option<Vec<MonitoringSchedule>>,
pub tags: Option<Vec<Tag>>,
pub shadow_production_variants: Option<Vec<ProductionVariantSummary>>,
}
Expand description
A hosted endpoint for real-time inference.
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>
The name of the endpoint.
endpoint_arn: Option<String>
The Amazon Resource Name (ARN) of the endpoint.
endpoint_config_name: Option<String>
The endpoint configuration associated with the endpoint.
production_variants: Option<Vec<ProductionVariantSummary>>
A list of the production variants hosted on the endpoint. Each production variant is a model.
data_capture_config: Option<DataCaptureConfigSummary>
The currently active data capture configuration used by your Endpoint.
endpoint_status: Option<EndpointStatus>
The status of the endpoint.
failure_reason: Option<String>
If the endpoint failed, the reason it failed.
creation_time: Option<DateTime>
The time that the endpoint was created.
last_modified_time: Option<DateTime>
The last time the endpoint was modified.
monitoring_schedules: Option<Vec<MonitoringSchedule>>
A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.
A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
shadow_production_variants: Option<Vec<ProductionVariantSummary>>
A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.
Implementations§
source§impl Endpoint
impl Endpoint
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The 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 endpoint configuration associated with the endpoint.
sourcepub fn production_variants(&self) -> &[ProductionVariantSummary]
pub fn production_variants(&self) -> &[ProductionVariantSummary]
A list of the production variants hosted on the endpoint. Each production variant is a model.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .production_variants.is_none()
.
sourcepub fn data_capture_config(&self) -> Option<&DataCaptureConfigSummary>
pub fn data_capture_config(&self) -> Option<&DataCaptureConfigSummary>
The currently active data capture configuration used by your Endpoint.
sourcepub fn endpoint_status(&self) -> Option<&EndpointStatus>
pub fn endpoint_status(&self) -> Option<&EndpointStatus>
The status of the endpoint.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If the endpoint failed, the reason it failed.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the endpoint was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The last time the endpoint was modified.
sourcepub fn monitoring_schedules(&self) -> &[MonitoringSchedule]
pub fn monitoring_schedules(&self) -> &[MonitoringSchedule]
A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .monitoring_schedules.is_none()
.
A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn shadow_production_variants(&self) -> &[ProductionVariantSummary]
pub fn shadow_production_variants(&self) -> &[ProductionVariantSummary]
A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .shadow_production_variants.is_none()
.