Struct aws_sdk_emr::client::fluent_builders::CreateStudio
source · pub struct CreateStudio { /* private fields */ }Expand description
Fluent builder constructing a request to CreateStudio.
Creates a new Amazon EMR Studio.
Implementations§
source§impl CreateStudio
impl CreateStudio
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateStudio, AwsResponseRetryClassifier>, SdkError<CreateStudioError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateStudio, AwsResponseRetryClassifier>, SdkError<CreateStudioError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateStudioOutput, SdkError<CreateStudioError>>
pub async fn send(
self
) -> Result<CreateStudioOutput, SdkError<CreateStudioError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive name for the Amazon EMR Studio.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive name for the Amazon EMR Studio.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A detailed description of the Amazon EMR Studio.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A detailed description of the Amazon EMR Studio.
sourcepub fn auth_mode(self, input: AuthMode) -> Self
pub fn auth_mode(self, input: AuthMode) -> Self
Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO.
sourcepub fn set_auth_mode(self, input: Option<AuthMode>) -> Self
pub fn set_auth_mode(self, input: Option<AuthMode>) -> Self
Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to SubnetIds.
To override the contents of this collection use set_subnet_ids.
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 set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
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, input: impl Into<String>) -> Self
pub fn service_role(self, input: impl Into<String>) -> Self
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 set_service_role(self, input: Option<String>) -> Self
pub fn set_service_role(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn user_role(self, input: impl Into<String>) -> Self
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 set_user_role(self, input: Option<String>) -> Self
pub fn set_user_role(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn workspace_security_group_id(self, input: impl Into<String>) -> Self
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 set_workspace_security_group_id(self, input: Option<String>) -> Self
pub fn set_workspace_security_group_id(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn engine_security_group_id(self, input: impl Into<String>) -> Self
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 set_engine_security_group_id(self, input: Option<String>) -> Self
pub fn set_engine_security_group_id(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn default_s3_location(self, input: impl Into<String>) -> Self
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
sourcepub fn set_default_s3_location(self, input: Option<String>) -> Self
pub fn set_default_s3_location(self, input: Option<String>) -> Self
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
sourcepub fn idp_auth_url(self, input: impl Into<String>) -> Self
pub fn idp_auth_url(self, input: impl Into<String>) -> Self
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 set_idp_auth_url(self, input: Option<String>) -> Self
pub fn set_idp_auth_url(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn idp_relay_state_parameter_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_idp_relay_state_parameter_name(self, input: Option<String>) -> Self
pub fn set_idp_relay_state_parameter_name(self, input: Option<String>) -> Self
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.
Appends an item to Tags.
To override the contents of this collection use set_tags.
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.
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§
source§impl Clone for CreateStudio
impl Clone for CreateStudio
source§fn clone(&self) -> CreateStudio
fn clone(&self) -> CreateStudio
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more