Generate a session token to connect to a managed endpoint¶
Description¶
Generate a session token to connect to a managed endpoint.
Usage¶
emrcontainers_get_managed_endpoint_session_credentials(
endpointIdentifier, virtualClusterIdentifier, executionRoleArn,
credentialType, durationInSeconds, logContext, clientToken)
Arguments¶
-
endpointIdentifier[required] The ARN of the managed endpoint for which the request is submitted.
-
virtualClusterIdentifier[required] The ARN of the Virtual Cluster which the Managed Endpoint belongs to.
-
executionRoleArn[required] The IAM Execution Role ARN that will be used by the job run.
-
credentialType[required] Type of the token requested. Currently supported and default value of this field is “TOKEN.”
-
durationInSecondsDuration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours.
-
logContextString identifier used to separate sections of the execution logs uploaded to S3.
-
clientTokenThe client idempotency token of the job run request.
Value¶
A list with the following syntax:
list(
id = "string",
credentials = list(
token = "string"
),
endpointCredentials = list(
token = "string"
),
expiresAt = as.POSIXct(
"2015-01-01"
)
)