Struct aws_sdk_emr::operation::get_cluster_session_credentials::builders::GetClusterSessionCredentialsFluentBuilder
source · pub struct GetClusterSessionCredentialsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetClusterSessionCredentials.
Provides temporary, HTTP basic credentials that are associated with a given runtime IAM role and used by a cluster with fine-grained access control activated. You can use these credentials to connect to cluster endpoints that support username and password authentication.
Implementations§
source§impl GetClusterSessionCredentialsFluentBuilder
impl GetClusterSessionCredentialsFluentBuilder
sourcepub fn as_input(&self) -> &GetClusterSessionCredentialsInputBuilder
pub fn as_input(&self) -> &GetClusterSessionCredentialsInputBuilder
Access the GetClusterSessionCredentials as a reference.
sourcepub async fn send(
self
) -> Result<GetClusterSessionCredentialsOutput, SdkError<GetClusterSessionCredentialsError, HttpResponse>>
pub async fn send( self ) -> Result<GetClusterSessionCredentialsOutput, SdkError<GetClusterSessionCredentialsError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<GetClusterSessionCredentialsOutput, GetClusterSessionCredentialsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetClusterSessionCredentialsOutput, GetClusterSessionCredentialsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The unique identifier of the cluster.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The unique identifier of the cluster.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The unique identifier of the cluster.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
Trait Implementations§
source§impl Clone for GetClusterSessionCredentialsFluentBuilder
impl Clone for GetClusterSessionCredentialsFluentBuilder
source§fn clone(&self) -> GetClusterSessionCredentialsFluentBuilder
fn clone(&self) -> GetClusterSessionCredentialsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more