Amazon EMR · Schema

StartSessionInput

Amazon Web ServicesAnalyticsApache SparkBig DataData ProcessingHadoop

Properties

Name Type Description
Name string An optional name for the session.
ClusterId string The ID of the cluster on which to start the session.
ExecutionRoleArn string The execution role ARN for the session. Amazon EMR uses this role to access Amazon Web Services resources on your behalf during session execution.
EngineConfigurations array The configuration overrides for the session. Only runtime configuration overrides are supported.
MonitoringConfiguration object
SessionIdleTimeoutInMinutes integer The idle timeout, in minutes. If the session is idle for this duration, Amazon EMR EC2 automatically terminates it.
ClientRequestToken string A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client request token, the service retur
Tags array The tags to assign to the session.
View JSON Schema on GitHub

JSON Schema

amazon-emr-start-session-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-start-session-input-schema.json",
  "title": "StartSessionInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-session-api-openapi.yml#/components/schemas/StartSessionInput",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "An optional name for the session."
    },
    "ClusterId": {
      "type": "string",
      "description": "The ID of the cluster on which to start the session."
    },
    "ExecutionRoleArn": {
      "type": "string",
      "description": "The execution role ARN for the session. Amazon EMR uses this role to access Amazon Web Services resources on your behalf during session execution."
    },
    "EngineConfigurations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Configuration"
      },
      "description": "The configuration overrides for the session. Only runtime configuration overrides are supported."
    },
    "MonitoringConfiguration": {
      "$ref": "#/$defs/SessionMonitoringConfiguration"
    },
    "SessionIdleTimeoutInMinutes": {
      "type": "integer",
      "description": "The idle timeout, in minutes. If the session is idle for this duration, Amazon EMR EC2 automatically terminates it."
    },
    "ClientRequestToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client request token, the service returns the original response without performing the operation again."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags to assign to the session."
    }
  },
  "required": [
    "ClusterId"
  ],
  "$defs": {
    "Configuration": {
      "type": "object",
      "properties": {
        "Classification": {
          "type": "string",
          "description": "The classification within a configuration."
        },
        "Configurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Configuration"
          },
          "description": "A list of additional configurations to apply within a configuration object."
        },
        "Properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A set of properties specified within a configuration classification."
        }
      }
    },
    "SessionCloudWatchLoggingConfiguration": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Whether CloudWatch Logs is enabled for the session."
        },
        "LogGroup": {
          "type": "string",
          "description": "The name of the log group where session logs are published."
        },
        "LogStreamNamePrefix": {
          "type": "string",
          "description": "The prefix applied to the log stream name where session logs are published."
        },
        "EncryptionKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs."
        },
        "LogTypes": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": "A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr)."
        }
      }
    },
    "SessionManagedLoggingConfiguration": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Whether Amazon EMR-managed logging is enabled for the session."
        },
        "EncryptionKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt the managed logs."
        }
      }
    },
    "SessionMonitoringConfiguration": {
      "type": "object",
      "properties": {
        "CloudWatchLoggingConfiguration": {
          "$ref": "#/$defs/SessionCloudWatchLoggingConfiguration"
        },
        "ManagedLoggingConfiguration": {
          "$ref": "#/$defs/SessionManagedLoggingConfiguration"
        },
        "S3LoggingConfiguration": {
          "$ref": "#/$defs/SessionS3LoggingConfiguration"
        }
      }
    },
    "SessionS3LoggingConfiguration": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Whether Amazon S3 logging is enabled for the session."
        },
        "LogUri": {
          "type": "string",
          "description": "The Amazon S3 destination URI where session logs are published."
        },
        "EncryptionKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt logs published to Amazon S3."
        },
        "LogTypes": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": "A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr)."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A user-defined key, which is the minimum required information for a valid tag. For more information, see Tag."
        },
        "Value": {
          "type": "string",
          "description": "A user-defined value, which is optional in a tag. For more information, see Tag Clusters."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-emr-start-session-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.