pub struct UpdateNotebookInstanceInput {Show 13 fields
pub accelerator_types: Option<Vec<String>>,
pub additional_code_repositories: Option<Vec<String>>,
pub default_code_repository: Option<String>,
pub disassociate_accelerator_types: Option<bool>,
pub disassociate_additional_code_repositories: Option<bool>,
pub disassociate_default_code_repository: Option<bool>,
pub disassociate_lifecycle_config: Option<bool>,
pub instance_type: Option<String>,
pub lifecycle_config_name: Option<String>,
pub notebook_instance_name: String,
pub role_arn: Option<String>,
pub root_access: Option<String>,
pub volume_size_in_gb: Option<i64>,
}
Fields
accelerator_types: Option<Vec<String>>
A list of the Elastic Inference (EI) instance types to associate with this notebook instance. Currently only one EI instance type can be associated with a notebook instance. For more information, see Using Elastic Inference in Amazon SageMaker.
additional_code_repositories: Option<Vec<String>>
An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git Repositories with Amazon SageMaker Notebook Instances.
default_code_repository: Option<String>
The Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git Repositories with Amazon SageMaker Notebook Instances.
disassociate_accelerator_types: Option<bool>
A list of the Elastic Inference (EI) instance types to remove from this notebook instance. This operation is idempotent. If you specify an accelerator type that is not associated with the notebook instance when you call this method, it does not throw an error.
disassociate_additional_code_repositories: Option<bool>
A list of names or URLs of the default Git repositories to remove from this notebook instance. This operation is idempotent. If you specify a Git repository that is not associated with the notebook instance when you call this method, it does not throw an error.
disassociate_default_code_repository: Option<bool>
The name or URL of the default Git repository to remove from this notebook instance. This operation is idempotent. If you specify a Git repository that is not associated with the notebook instance when you call this method, it does not throw an error.
disassociate_lifecycle_config: Option<bool>
Set to true
to remove the notebook instance lifecycle configuration currently associated with the notebook instance. This operation is idempotent. If you specify a lifecycle configuration that is not associated with the notebook instance when you call this method, it does not throw an error.
instance_type: Option<String>
The Amazon ML compute instance type.
lifecycle_config_name: Option<String>
The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance.
notebook_instance_name: String
The name of the notebook instance to update.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance. For more information, see Amazon SageMaker Roles.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole
permission.
root_access: Option<String>
Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled
.
If you set this to Disabled
, users don't have root access on the notebook instance, but lifecycle configuration scripts still run with root permissions.
volume_size_in_gb: Option<i64>
The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker can't determine the amount of available free space on the volume. Because of this, you can increase the volume size when you update a notebook instance, but you can't decrease the volume size. If you want to decrease the size of the ML storage volume in use, create a new notebook instance with the desired size.
Trait Implementations
sourceimpl Clone for UpdateNotebookInstanceInput
impl Clone for UpdateNotebookInstanceInput
sourcefn clone(&self) -> UpdateNotebookInstanceInput
fn clone(&self) -> UpdateNotebookInstanceInput
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 UpdateNotebookInstanceInput
impl Debug for UpdateNotebookInstanceInput
sourceimpl Default for UpdateNotebookInstanceInput
impl Default for UpdateNotebookInstanceInput
sourcefn default() -> UpdateNotebookInstanceInput
fn default() -> UpdateNotebookInstanceInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateNotebookInstanceInput> for UpdateNotebookInstanceInput
impl PartialEq<UpdateNotebookInstanceInput> for UpdateNotebookInstanceInput
sourcefn eq(&self, other: &UpdateNotebookInstanceInput) -> bool
fn eq(&self, other: &UpdateNotebookInstanceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateNotebookInstanceInput) -> bool
fn ne(&self, other: &UpdateNotebookInstanceInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateNotebookInstanceInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateNotebookInstanceInput
impl Send for UpdateNotebookInstanceInput
impl Sync for UpdateNotebookInstanceInput
impl Unpin for UpdateNotebookInstanceInput
impl UnwindSafe for UpdateNotebookInstanceInput
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> 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.
sourcefn clone_into(&self, target: &mut T)
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