{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-get-managed-endpoint-session-credentials-request-schema.json",
  "title": "GetManagedEndpointSessionCredentialsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-operations-api-openapi.yml#/components/schemas/GetManagedEndpointSessionCredentialsRequest",
  "type": "object",
  "properties": {
    "endpointIdentifier": {
      "type": "string",
      "description": "The ARN of the managed endpoint for which the request is submitted."
    },
    "virtualClusterIdentifier": {
      "type": "string",
      "description": "The ARN of the Virtual Cluster which the Managed Endpoint belongs to."
    },
    "executionRoleArn": {
      "type": "string",
      "description": "The IAM Execution Role ARN that will be used by the job run."
    },
    "credentialType": {
      "type": "string",
      "description": "Type of the token requested. Currently supported and default value of this field is “TOKEN.”"
    },
    "durationInSeconds": {
      "type": "integer",
      "description": "Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours."
    },
    "logContext": {
      "type": "string",
      "description": "String identifier used to separate sections of the execution logs uploaded to S3."
    },
    "clientToken": {
      "type": "string",
      "description": "The client idempotency token of the job run request."
    }
  },
  "required": [
    "endpointIdentifier",
    "virtualClusterIdentifier",
    "executionRoleArn",
    "credentialType"
  ]
}