Struct aws_sdk_emr::input::CreateStudioInput
source · #[non_exhaustive]pub struct CreateStudioInput { /* private fields */ }Implementations§
source§impl CreateStudioInput
impl CreateStudioInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStudio, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStudio, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateStudio>
Examples found in repository?
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateStudio,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateStudioError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateStudioOutput,
aws_smithy_http::result::SdkError<crate::error::CreateStudioError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateStudioInput.
source§impl 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§
source§impl Clone for CreateStudioInput
impl Clone for CreateStudioInput
source§fn clone(&self) -> CreateStudioInput
fn clone(&self) -> CreateStudioInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more