pub struct GetClusterSessionCredentials { /* private fields */ }Expand description
Fluent builder constructing a request to GetClusterSessionCredentials.
Provides Temporary, basic HTTP 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-based and password-based authentication.
Implementations§
source§impl GetClusterSessionCredentials
impl GetClusterSessionCredentials
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetClusterSessionCredentials, AwsResponseRetryClassifier>, SdkError<GetClusterSessionCredentialsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetClusterSessionCredentials, AwsResponseRetryClassifier>, SdkError<GetClusterSessionCredentialsError>>
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<GetClusterSessionCredentialsOutput, SdkError<GetClusterSessionCredentialsError>>
pub async fn send(
self
) -> Result<GetClusterSessionCredentialsOutput, SdkError<GetClusterSessionCredentialsError>>
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 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 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.
Trait Implementations§
source§impl Clone for GetClusterSessionCredentials
impl Clone for GetClusterSessionCredentials
source§fn clone(&self) -> GetClusterSessionCredentials
fn clone(&self) -> GetClusterSessionCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more