#[non_exhaustive]pub struct UpdateDomainInput {
pub domain_id: Option<String>,
pub default_user_settings: Option<UserSettings>,
pub domain_settings_for_update: Option<DomainSettingsForUpdate>,
pub app_security_group_management: Option<AppSecurityGroupManagement>,
pub default_space_settings: Option<DefaultSpaceSettings>,
pub subnet_ids: Option<Vec<String>>,
pub app_network_access_type: Option<AppNetworkAccessType>,
}
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 ID of the domain to be updated.
default_user_settings: Option<UserSettings>
A collection of settings.
domain_settings_for_update: Option<DomainSettingsForUpdate>
A collection of DomainSettings
configuration values to update.
app_security_group_management: Option<AppSecurityGroupManagement>
The entity that creates and manages the required security groups for inter-app communication in VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set to Service
.
default_space_settings: Option<DefaultSpaceSettings>
The default settings used to create a space within the domain.
subnet_ids: Option<Vec<String>>
The VPC subnets that Studio uses for communication.
If removing subnets, ensure there are no apps in the InService
, Pending
, or Deleting
state.
app_network_access_type: Option<AppNetworkAccessType>
Specifies the VPC used for non-EFS traffic.
-
PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access. -
VpcOnly
- All Studio traffic is through the specified VPC and subnets.
This configuration can only be modified if there are no apps in the InService
, Pending
, or Deleting
state. The configuration cannot be updated if DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is already set or DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided as part of the same request.
Implementations§
source§impl UpdateDomainInput
impl UpdateDomainInput
sourcepub fn default_user_settings(&self) -> Option<&UserSettings>
pub fn default_user_settings(&self) -> Option<&UserSettings>
A collection of settings.
sourcepub fn domain_settings_for_update(&self) -> Option<&DomainSettingsForUpdate>
pub fn domain_settings_for_update(&self) -> Option<&DomainSettingsForUpdate>
A collection of DomainSettings
configuration values to update.
sourcepub fn app_security_group_management(
&self,
) -> Option<&AppSecurityGroupManagement>
pub fn app_security_group_management( &self, ) -> Option<&AppSecurityGroupManagement>
The entity that creates and manages the required security groups for inter-app communication in VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set to Service
.
sourcepub fn default_space_settings(&self) -> Option<&DefaultSpaceSettings>
pub fn default_space_settings(&self) -> Option<&DefaultSpaceSettings>
The default settings used to create a space within the domain.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The VPC subnets that Studio uses for communication.
If removing subnets, ensure there are no apps in the InService
, Pending
, or Deleting
state.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
sourcepub fn app_network_access_type(&self) -> Option<&AppNetworkAccessType>
pub fn app_network_access_type(&self) -> Option<&AppNetworkAccessType>
Specifies the VPC used for non-EFS traffic.
-
PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access. -
VpcOnly
- All Studio traffic is through the specified VPC and subnets.
This configuration can only be modified if there are no apps in the InService
, Pending
, or Deleting
state. The configuration cannot be updated if DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is already set or DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided as part of the same request.
source§impl UpdateDomainInput
impl UpdateDomainInput
sourcepub fn builder() -> UpdateDomainInputBuilder
pub fn builder() -> UpdateDomainInputBuilder
Creates a new builder-style object to manufacture UpdateDomainInput
.
Trait Implementations§
source§impl Clone for UpdateDomainInput
impl Clone for UpdateDomainInput
source§fn clone(&self) -> UpdateDomainInput
fn clone(&self) -> UpdateDomainInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDomainInput
impl Debug for UpdateDomainInput
source§impl PartialEq for UpdateDomainInput
impl PartialEq for UpdateDomainInput
source§fn eq(&self, other: &UpdateDomainInput) -> bool
fn eq(&self, other: &UpdateDomainInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDomainInput
Auto Trait Implementations§
impl Freeze for UpdateDomainInput
impl RefUnwindSafe for UpdateDomainInput
impl Send for UpdateDomainInput
impl Sync for UpdateDomainInput
impl Unpin for UpdateDomainInput
impl UnwindSafe for UpdateDomainInput
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