Struct aws_sdk_sagemaker::operation::create_app::CreateAppInput
source · #[non_exhaustive]pub struct CreateAppInput {
pub domain_id: Option<String>,
pub user_profile_name: Option<String>,
pub space_name: Option<String>,
pub app_type: Option<AppType>,
pub app_name: Option<String>,
pub tags: Option<Vec<Tag>>,
pub resource_spec: Option<ResourceSpec>,
}
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.domain_id: Option<String>
The domain ID.
user_profile_name: Option<String>
The user profile name. If this value is not set, then SpaceName
must be set.
space_name: Option<String>
The name of the space. If this value is not set, then UserProfileName
must be set.
app_type: Option<AppType>
The type of app.
app_name: Option<String>
The name of the app.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
resource_spec: Option<ResourceSpec>
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the CreateApp
call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType
is not specified in any of those three ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with a request validation error.
Implementations§
source§impl CreateAppInput
impl CreateAppInput
sourcepub fn user_profile_name(&self) -> Option<&str>
pub fn user_profile_name(&self) -> Option<&str>
The user profile name. If this value is not set, then SpaceName
must be set.
sourcepub fn space_name(&self) -> Option<&str>
pub fn space_name(&self) -> Option<&str>
The name of the space. If this value is not set, then UserProfileName
must be set.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
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 resource_spec(&self) -> Option<&ResourceSpec>
pub fn resource_spec(&self) -> Option<&ResourceSpec>
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the CreateApp
call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType
is not specified in any of those three ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with a request validation error.
source§impl CreateAppInput
impl CreateAppInput
sourcepub fn builder() -> CreateAppInputBuilder
pub fn builder() -> CreateAppInputBuilder
Creates a new builder-style object to manufacture CreateAppInput
.
Trait Implementations§
source§impl Clone for CreateAppInput
impl Clone for CreateAppInput
source§fn clone(&self) -> CreateAppInput
fn clone(&self) -> CreateAppInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppInput
impl Debug for CreateAppInput
source§impl PartialEq for CreateAppInput
impl PartialEq for CreateAppInput
source§fn eq(&self, other: &CreateAppInput) -> bool
fn eq(&self, other: &CreateAppInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAppInput
Auto Trait Implementations§
impl Freeze for CreateAppInput
impl RefUnwindSafe for CreateAppInput
impl Send for CreateAppInput
impl Sync for CreateAppInput
impl Unpin for CreateAppInput
impl UnwindSafe for CreateAppInput
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