Struct aws_sdk_sagemaker::input::CreateImageVersionInput
source · [−]#[non_exhaustive]pub struct CreateImageVersionInput {
pub base_image: Option<String>,
pub client_token: Option<String>,
pub image_name: Option<String>,
}
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.base_image: Option<String>
The registry path of the container image to use as the starting point for this version. The path is an Amazon Container Registry (ECR) URI in the following format:
client_token: Option<String>
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
image_name: Option<String>
The ImageName
of the Image
to create a version of.
Implementations
sourceimpl CreateImageVersionInput
impl CreateImageVersionInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateImageVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateImageVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateImageVersion
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateImageVersionInput
sourceimpl CreateImageVersionInput
impl CreateImageVersionInput
sourcepub fn base_image(&self) -> Option<&str>
pub fn base_image(&self) -> Option<&str>
The registry path of the container image to use as the starting point for this version. The path is an Amazon Container Registry (ECR) URI in the following format:
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
sourcepub fn image_name(&self) -> Option<&str>
pub fn image_name(&self) -> Option<&str>
The ImageName
of the Image
to create a version of.
Trait Implementations
sourceimpl Clone for CreateImageVersionInput
impl Clone for CreateImageVersionInput
sourcefn clone(&self) -> CreateImageVersionInput
fn clone(&self) -> CreateImageVersionInput
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 CreateImageVersionInput
impl Debug for CreateImageVersionInput
sourceimpl PartialEq<CreateImageVersionInput> for CreateImageVersionInput
impl PartialEq<CreateImageVersionInput> for CreateImageVersionInput
sourcefn eq(&self, other: &CreateImageVersionInput) -> bool
fn eq(&self, other: &CreateImageVersionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateImageVersionInput) -> bool
fn ne(&self, other: &CreateImageVersionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateImageVersionInput
Auto Trait Implementations
impl RefUnwindSafe for CreateImageVersionInput
impl Send for CreateImageVersionInput
impl Sync for CreateImageVersionInput
impl Unpin for CreateImageVersionInput
impl UnwindSafe for CreateImageVersionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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