Get Managed Endpoint Session Credentials
| emrcontainers_get_managed_endpoint_session_credentials | R Documentation | 
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.” | 
| durationInSeconds | Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours. | 
| logContext | String identifier used to separate sections of the execution logs uploaded to S3. | 
| clientToken | The client idempotency token of the job run request. | 
Value¶
A list with the following syntax:
list(
  id = "string",
  credentials = list(
    token = "string"
  ),
  expiresAt = as.POSIXct(
    "2015-01-01"
  )
)
Request syntax¶
svc$get_managed_endpoint_session_credentials(
  endpointIdentifier = "string",
  virtualClusterIdentifier = "string",
  executionRoleArn = "string",
  credentialType = "string",
  durationInSeconds = 123,
  logContext = "string",
  clientToken = "string"
)