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 app_type: Option<AppType>,
pub app_name: Option<String>,
pub tags: Option<Vec<Tag>>,
pub resource_spec: Option<ResourceSpec>,
pub space_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.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.
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.
space_name: Option<String>
The name of the space. If this value is not set, then UserProfileName
must be set.
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.
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.
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.
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 ==
.