v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1453313285.5 KB

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.

post/#X-Amz-Target=ElasticMapReduce.GetClusterSessionCredentials

Headers

X-Amz-Target'ElasticMapReduce.GetClusterSessionCredentials' required

Request body

ClusterIdstring required

The unique identifier of the cluster.

ExecutionRoleArnstring required

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: <code>arn:partition:service:region:account:resource</code>.

Response

Success

ExpiresAtstring date-time

The time when the credentials that are returned by the <code>GetClusterSessionCredentials</code> API expire.