2023/04/27 - Amazon EMR Containers - 1 new api methods
Changes This release adds GetManagedEndpointSessionCredentials, a new API that allows customers to generate an auth token to connect to a managed endpoint, enabling features such as self-hosted Jupyter notebooks for EMR on EKS.
Generate a session token to connect to a managed endpoint.
See also: AWS API Documentation
Request Syntax
client.get_managed_endpoint_session_credentials( endpointIdentifier='string', virtualClusterIdentifier='string', executionRoleArn='string', credentialType='string', durationInSeconds=123, logContext='string', clientToken='string' )
string
[REQUIRED]
The ARN of the managed endpoint for which the request is submitted.
string
[REQUIRED]
The ARN of the Virtual Cluster which the Managed Endpoint belongs to.
string
[REQUIRED]
The IAM Execution Role ARN that will be used by the job run.
string
[REQUIRED]
Type of the token requested. Currently supported and default value of this field is “TOKEN.”
integer
Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours.
string
String identifier used to separate sections of the execution logs uploaded to S3.
string
The client idempotency token of the job run request.
This field is autopopulated if not provided.
dict
Response Syntax
{ 'id': 'string', 'credentials': { 'token': 'string' }, 'expiresAt': datetime(2015, 1, 1) }
Response Structure
(dict) --
id (string) --
The identifier of the session token returned.
credentials (dict) --
The structure containing the session credentials.
token (string) --
The actual session token being returned.
expiresAt (datetime) --
The date and time when the session token will expire.