Struct aws_sdk_sagemaker::model::UserSettings
source · [−]#[non_exhaustive]pub struct UserSettings {
pub execution_role: Option<String>,
pub security_groups: Option<Vec<String>>,
pub sharing_settings: Option<SharingSettings>,
pub jupyter_server_app_settings: Option<JupyterServerAppSettings>,
pub kernel_gateway_app_settings: Option<KernelGatewayAppSettings>,
pub tensor_board_app_settings: Option<TensorBoardAppSettings>,
pub r_studio_server_pro_app_settings: Option<RStudioServerProAppSettings>,
pub r_session_app_settings: Option<RSessionAppSettings>,
}
Expand description
A collection of settings that apply to users of Amazon SageMaker Studio. These settings are specified when the CreateUserProfile
API is called, and as DefaultUserSettings
when the CreateDomain
API is called.
SecurityGroups
is aggregated when specified in both calls. For all other settings in UserSettings
, the values specified in CreateUserProfile
take precedence over those specified in CreateDomain
.
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.execution_role: Option<String>
The execution role for the user.
security_groups: Option<Vec<String>>
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
Optional when the CreateDomain.AppNetworkAccessType
parameter is set to PublicInternetOnly
.
Required when the CreateDomain.AppNetworkAccessType
parameter is set to VpcOnly
.
Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
sharing_settings: Option<SharingSettings>
Specifies options for sharing SageMaker Studio notebooks.
jupyter_server_app_settings: Option<JupyterServerAppSettings>
The Jupyter server's app settings.
kernel_gateway_app_settings: Option<KernelGatewayAppSettings>
The kernel gateway app settings.
tensor_board_app_settings: Option<TensorBoardAppSettings>
The TensorBoard app settings.
r_studio_server_pro_app_settings: Option<RStudioServerProAppSettings>
A collection of settings that configure user interaction with the RStudioServerPro
app.
r_session_app_settings: Option<RSessionAppSettings>
A collection of settings that configure the RSessionGateway
app.
Implementations
sourceimpl UserSettings
impl UserSettings
sourcepub fn execution_role(&self) -> Option<&str>
pub fn execution_role(&self) -> Option<&str>
The execution role for the user.
sourcepub fn security_groups(&self) -> Option<&[String]>
pub fn security_groups(&self) -> Option<&[String]>
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
Optional when the CreateDomain.AppNetworkAccessType
parameter is set to PublicInternetOnly
.
Required when the CreateDomain.AppNetworkAccessType
parameter is set to VpcOnly
.
Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
sourcepub fn sharing_settings(&self) -> Option<&SharingSettings>
pub fn sharing_settings(&self) -> Option<&SharingSettings>
Specifies options for sharing SageMaker Studio notebooks.
sourcepub fn jupyter_server_app_settings(&self) -> Option<&JupyterServerAppSettings>
pub fn jupyter_server_app_settings(&self) -> Option<&JupyterServerAppSettings>
The Jupyter server's app settings.
sourcepub fn kernel_gateway_app_settings(&self) -> Option<&KernelGatewayAppSettings>
pub fn kernel_gateway_app_settings(&self) -> Option<&KernelGatewayAppSettings>
The kernel gateway app settings.
sourcepub fn tensor_board_app_settings(&self) -> Option<&TensorBoardAppSettings>
pub fn tensor_board_app_settings(&self) -> Option<&TensorBoardAppSettings>
The TensorBoard app settings.
sourcepub fn r_studio_server_pro_app_settings(
&self
) -> Option<&RStudioServerProAppSettings>
pub fn r_studio_server_pro_app_settings(
&self
) -> Option<&RStudioServerProAppSettings>
A collection of settings that configure user interaction with the RStudioServerPro
app.
sourcepub fn r_session_app_settings(&self) -> Option<&RSessionAppSettings>
pub fn r_session_app_settings(&self) -> Option<&RSessionAppSettings>
A collection of settings that configure the RSessionGateway
app.
sourceimpl UserSettings
impl UserSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UserSettings
Trait Implementations
sourceimpl Clone for UserSettings
impl Clone for UserSettings
sourcefn clone(&self) -> UserSettings
fn clone(&self) -> UserSettings
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 UserSettings
impl Debug for UserSettings
sourceimpl PartialEq<UserSettings> for UserSettings
impl PartialEq<UserSettings> for UserSettings
sourcefn eq(&self, other: &UserSettings) -> bool
fn eq(&self, other: &UserSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UserSettings) -> bool
fn ne(&self, other: &UserSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for UserSettings
Auto Trait Implementations
impl RefUnwindSafe for UserSettings
impl Send for UserSettings
impl Sync for UserSettings
impl Unpin for UserSettings
impl UnwindSafe for UserSettings
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