[][src]Struct rusoto_sagemaker::UpdateNotebookInstanceInput

pub struct UpdateNotebookInstanceInput {
    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.

Trait Implementations

impl PartialEq<UpdateNotebookInstanceInput> for UpdateNotebookInstanceInput[src]

impl Default for UpdateNotebookInstanceInput[src]

impl Clone for UpdateNotebookInstanceInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateNotebookInstanceInput[src]

impl Serialize for UpdateNotebookInstanceInput[src]

Auto Trait Implementations

impl Send for UpdateNotebookInstanceInput

impl Sync for UpdateNotebookInstanceInput

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self