Struct aws_sdk_sagemaker::operation::create_inference_component::CreateInferenceComponentInput
source · #[non_exhaustive]pub struct CreateInferenceComponentInput {
pub inference_component_name: Option<String>,
pub endpoint_name: Option<String>,
pub variant_name: Option<String>,
pub specification: Option<InferenceComponentSpecification>,
pub runtime_config: Option<InferenceComponentRuntimeConfig>,
pub tags: Option<Vec<Tag>>,
}
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.inference_component_name: Option<String>
A unique name to assign to the inference component.
endpoint_name: Option<String>
The name of an existing endpoint where you host the inference component.
variant_name: Option<String>
The name of an existing production variant where you host the inference component.
specification: Option<InferenceComponentSpecification>
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
runtime_config: Option<InferenceComponentRuntimeConfig>
Runtime settings for a model that is deployed with an inference component.
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
Implementations§
source§impl CreateInferenceComponentInput
impl CreateInferenceComponentInput
sourcepub fn inference_component_name(&self) -> Option<&str>
pub fn inference_component_name(&self) -> Option<&str>
A unique name to assign to the inference component.
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The name of an existing endpoint where you host the inference component.
sourcepub fn variant_name(&self) -> Option<&str>
pub fn variant_name(&self) -> Option<&str>
The name of an existing production variant where you host the inference component.
sourcepub fn specification(&self) -> Option<&InferenceComponentSpecification>
pub fn specification(&self) -> Option<&InferenceComponentSpecification>
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
sourcepub fn runtime_config(&self) -> Option<&InferenceComponentRuntimeConfig>
pub fn runtime_config(&self) -> Option<&InferenceComponentRuntimeConfig>
Runtime settings for a model that is deployed with an inference component.
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
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()
.
source§impl CreateInferenceComponentInput
impl CreateInferenceComponentInput
sourcepub fn builder() -> CreateInferenceComponentInputBuilder
pub fn builder() -> CreateInferenceComponentInputBuilder
Creates a new builder-style object to manufacture CreateInferenceComponentInput
.
Trait Implementations§
source§impl Clone for CreateInferenceComponentInput
impl Clone for CreateInferenceComponentInput
source§fn clone(&self) -> CreateInferenceComponentInput
fn clone(&self) -> CreateInferenceComponentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateInferenceComponentInput
impl PartialEq for CreateInferenceComponentInput
source§fn eq(&self, other: &CreateInferenceComponentInput) -> bool
fn eq(&self, other: &CreateInferenceComponentInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateInferenceComponentInput
Auto Trait Implementations§
impl Freeze for CreateInferenceComponentInput
impl RefUnwindSafe for CreateInferenceComponentInput
impl Send for CreateInferenceComponentInput
impl Sync for CreateInferenceComponentInput
impl Unpin for CreateInferenceComponentInput
impl UnwindSafe for CreateInferenceComponentInput
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