#[non_exhaustive]pub struct InferenceComponentContainerSpecificationSummary {
pub deployed_image: Option<DeployedImage>,
pub artifact_url: Option<String>,
pub environment: Option<HashMap<String, String>>,
}
Expand description
Details about the resources that are deployed with this inference component.
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.deployed_image: Option<DeployedImage>
Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this ProductionVariant.
If you used the registry/repository\[:tag\]
form to specify the image path of the primary container when you created the model hosted in this ProductionVariant
, the path resolves to a path of the form registry/repository\[@digest\]
. A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see Pulling an Image in the Amazon ECR User Guide.
artifact_url: Option<String>
The Amazon S3 path where the model artifacts are stored.
environment: Option<HashMap<String, String>>
The environment variables to set in the Docker container.
Implementations§
source§impl InferenceComponentContainerSpecificationSummary
impl InferenceComponentContainerSpecificationSummary
sourcepub fn deployed_image(&self) -> Option<&DeployedImage>
pub fn deployed_image(&self) -> Option<&DeployedImage>
Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this ProductionVariant.
If you used the registry/repository\[:tag\]
form to specify the image path of the primary container when you created the model hosted in this ProductionVariant
, the path resolves to a path of the form registry/repository\[@digest\]
. A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see Pulling an Image in the Amazon ECR User Guide.
sourcepub fn artifact_url(&self) -> Option<&str>
pub fn artifact_url(&self) -> Option<&str>
The Amazon S3 path where the model artifacts are stored.
source§impl InferenceComponentContainerSpecificationSummary
impl InferenceComponentContainerSpecificationSummary
sourcepub fn builder() -> InferenceComponentContainerSpecificationSummaryBuilder
pub fn builder() -> InferenceComponentContainerSpecificationSummaryBuilder
Creates a new builder-style object to manufacture InferenceComponentContainerSpecificationSummary
.
Trait Implementations§
source§impl Clone for InferenceComponentContainerSpecificationSummary
impl Clone for InferenceComponentContainerSpecificationSummary
source§fn clone(&self) -> InferenceComponentContainerSpecificationSummary
fn clone(&self) -> InferenceComponentContainerSpecificationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InferenceComponentContainerSpecificationSummary
impl PartialEq for InferenceComponentContainerSpecificationSummary
source§fn eq(&self, other: &InferenceComponentContainerSpecificationSummary) -> bool
fn eq(&self, other: &InferenceComponentContainerSpecificationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferenceComponentContainerSpecificationSummary
Auto Trait Implementations§
impl Freeze for InferenceComponentContainerSpecificationSummary
impl RefUnwindSafe for InferenceComponentContainerSpecificationSummary
impl Send for InferenceComponentContainerSpecificationSummary
impl Sync for InferenceComponentContainerSpecificationSummary
impl Unpin for InferenceComponentContainerSpecificationSummary
impl UnwindSafe for InferenceComponentContainerSpecificationSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more