Struct aws_sdk_emr::input::CreateStudioInput
source · [−]#[non_exhaustive]pub struct CreateStudioInput {Show 13 fields
pub name: Option<String>,
pub description: Option<String>,
pub auth_mode: Option<AuthMode>,
pub vpc_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub service_role: Option<String>,
pub user_role: Option<String>,
pub workspace_security_group_id: Option<String>,
pub engine_security_group_id: Option<String>,
pub default_s3_location: Option<String>,
pub idp_auth_url: Option<String>,
pub idp_relay_state_parameter_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}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.name: Option<String>A descriptive name for the Amazon EMR Studio.
description: Option<String>A detailed description of the Amazon EMR Studio.
auth_mode: Option<AuthMode>Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO.
vpc_id: Option<String>The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
subnet_ids: Option<Vec<String>>A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by VpcId. Studio users can create a Workspace in any of the specified subnets.
service_role: Option<String>The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
user_role: Option<String>The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a UserRole when you use Amazon Web Services SSO authentication. The permissions attached to the UserRole can be scoped down for each user or group using session policies.
workspace_security_group_id: Option<String>The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by VpcId.
engine_security_group_id: Option<String>The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId.
default_s3_location: Option<String>The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
idp_auth_url: Option<String>The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
idp_relay_state_parameter_name: Option<String>The name that your identity provider (IdP) uses for its RelayState parameter. For example, RelayState or TargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. The RelayState parameter differs by IdP.
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
Implementations
sourceimpl CreateStudioInput
impl CreateStudioInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStudio, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStudio, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateStudio>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateStudioInput
sourceimpl CreateStudioInput
impl CreateStudioInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A detailed description of the Amazon EMR Studio.
sourcepub fn auth_mode(&self) -> Option<&AuthMode>
pub fn auth_mode(&self) -> Option<&AuthMode>
Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by VpcId. Studio users can create a Workspace in any of the specified subnets.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
sourcepub fn user_role(&self) -> Option<&str>
pub fn user_role(&self) -> Option<&str>
The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a UserRole when you use Amazon Web Services SSO authentication. The permissions attached to the UserRole can be scoped down for each user or group using session policies.
sourcepub fn workspace_security_group_id(&self) -> Option<&str>
pub fn workspace_security_group_id(&self) -> Option<&str>
The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by VpcId.
sourcepub fn engine_security_group_id(&self) -> Option<&str>
pub fn engine_security_group_id(&self) -> Option<&str>
The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId.
sourcepub fn default_s3_location(&self) -> Option<&str>
pub fn default_s3_location(&self) -> Option<&str>
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
sourcepub fn idp_auth_url(&self) -> Option<&str>
pub fn idp_auth_url(&self) -> Option<&str>
The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
sourcepub fn idp_relay_state_parameter_name(&self) -> Option<&str>
pub fn idp_relay_state_parameter_name(&self) -> Option<&str>
The name that your identity provider (IdP) uses for its RelayState parameter. For example, RelayState or TargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. The RelayState parameter differs by IdP.
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
Trait Implementations
sourceimpl Clone for CreateStudioInput
impl Clone for CreateStudioInput
sourcefn clone(&self) -> CreateStudioInput
fn clone(&self) -> CreateStudioInput
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 CreateStudioInput
impl Debug for CreateStudioInput
sourceimpl PartialEq<CreateStudioInput> for CreateStudioInput
impl PartialEq<CreateStudioInput> for CreateStudioInput
sourcefn eq(&self, other: &CreateStudioInput) -> bool
fn eq(&self, other: &CreateStudioInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateStudioInput) -> bool
fn ne(&self, other: &CreateStudioInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateStudioInput
Auto Trait Implementations
impl RefUnwindSafe for CreateStudioInput
impl Send for CreateStudioInput
impl Sync for CreateStudioInput
impl Unpin for CreateStudioInput
impl UnwindSafe for CreateStudioInput
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