Struct aws_sdk_sagemaker::model::ResourceSpec
source · [−]#[non_exhaustive]pub struct ResourceSpec { /* private fields */ }
Expand description
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
Implementations
sourceimpl ResourceSpec
impl ResourceSpec
sourcepub fn sage_maker_image_arn(&self) -> Option<&str>
pub fn sage_maker_image_arn(&self) -> Option<&str>
The ARN of the SageMaker image that the image version belongs to.
sourcepub fn sage_maker_image_version_arn(&self) -> Option<&str>
pub fn sage_maker_image_version_arn(&self) -> Option<&str>
The ARN of the image version created on the instance.
sourcepub fn instance_type(&self) -> Option<&AppInstanceType>
pub fn instance_type(&self) -> Option<&AppInstanceType>
The instance type that the image version runs on.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
. KernelGateway apps also support all other values for available instance types.
sourcepub fn lifecycle_config_arn(&self) -> Option<&str>
pub fn lifecycle_config_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
sourceimpl ResourceSpec
impl ResourceSpec
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceSpec
.
Trait Implementations
sourceimpl Clone for ResourceSpec
impl Clone for ResourceSpec
sourcefn clone(&self) -> ResourceSpec
fn clone(&self) -> ResourceSpec
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 ResourceSpec
impl Debug for ResourceSpec
sourceimpl PartialEq<ResourceSpec> for ResourceSpec
impl PartialEq<ResourceSpec> for ResourceSpec
sourcefn eq(&self, other: &ResourceSpec) -> bool
fn eq(&self, other: &ResourceSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ResourceSpec
Auto Trait Implementations
impl RefUnwindSafe for ResourceSpec
impl Send for ResourceSpec
impl Sync for ResourceSpec
impl Unpin for ResourceSpec
impl UnwindSafe for ResourceSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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