python-botocore/botocore/data/aws/emr/2009-03-31.json
2015-10-08 11:15:54 -07:00

3149 lines
234 KiB
JSON

{
"api_version": "2009-03-31",
"type": "json",
"json_version": 1.1,
"target_prefix": "ElasticMapReduce",
"signature_version": "v4",
"service_full_name": "Amazon Elastic MapReduce",
"service_abbreviation": "Amazon EMR",
"timestamp_format": "unixTimestamp",
"endpoint_prefix": "elasticmapreduce",
"xmlnamespace": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31",
"documentation": "\n\n <p>Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of\n data efficiently. Amazon EMR uses Hadoop processing combined with several AWS\n products to do tasks such as web indexing, data mining, log file analysis, machine\n learning, scientific simulation, and data warehousing.</p>\n\n ",
"operations": {
"AddInstanceGroups": {
"name": "AddInstanceGroups",
"input": {
"shape_name": "AddInstanceGroupsInput",
"type": "structure",
"members": {
"InstanceGroups": {
"shape_name": "InstanceGroupConfigList",
"type": "list",
"members": {
"shape_name": "InstanceGroupConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Friendly name given to the instance group.</p>\n "
},
"Market": {
"shape_name": "MarketType",
"type": "string",
"enum": [
"ON_DEMAND",
"SPOT"
],
"documentation": "\n <p>Market type of the Amazon EC2 instances used to create a cluster node. </p>\n "
},
"InstanceRole": {
"shape_name": "InstanceRoleType",
"type": "string",
"enum": [
"MASTER",
"CORE",
"TASK"
],
"documentation": "\n <p>The role of the instance group in the cluster.</p>\n ",
"required": true
},
"BidPrice": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Bid price for each Amazon EC2 instance in the\n instance group when launching nodes as Spot Instances, expressed in USD.</p>\n "
},
"InstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The Amazon EC2 instance type for all instances in the instance group. </p>\n ",
"required": true
},
"InstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>Target number of instances for the instance group. </p>\n ",
"required": true
}
},
"documentation": "\n <p>Configuration defining a new instance group.</p>\n "
},
"documentation": "\n <p>Instance Groups to add.</p>\n ",
"required": true
},
"JobFlowId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Job flow in which to add the instance groups.</p>\n ",
"required": true
}
},
"documentation": "\n <p>Input to an AddInstanceGroups call.</p>\n "
},
"output": {
"shape_name": "AddInstanceGroupsOutput",
"type": "structure",
"members": {
"JobFlowId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The job flow ID in which the instance groups are added.</p>\n "
},
"InstanceGroupIds": {
"shape_name": "InstanceGroupIdsList",
"type": "list",
"members": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": null
},
"documentation": "\n <p>Instance group IDs of the newly created instance groups.</p>\n "
}
},
"documentation": "\n <p>Output from an AddInstanceGroups call.</p>\n "
},
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p>AddInstanceGroups adds an instance group to a running cluster.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.AddInstanceGroups\nContent-Length: 168\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T223346Z\nX-Amz-Content-Sha256: ac5a7193b1283898dd822a4b16ca36963879bb010d2dbe57198439973ab2a7d3\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=4c5e7eb762ea45f292a5cd1a1cc56ed60009e19a9dba3d6e5e4e67e96d43af11\nAccept: */*\n\n\n{\n \"JobFlowId\": \"j-3U7TSX5GZFD8Y\",\n \"InstanceGroups\": [{\n \"Name\": \"Task Instance Group\",\n \"InstanceRole\": \"TASK\",\n \"InstanceCount\": 2,\n \"InstanceType\": \"m1.small\",\n \"Market\": \"ON_DEMAND\"\n }]\n}\n\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 9da5a349-ed9e-11e2-90db-69a5154aeb8d\nContent-Type: application/x-amz-json-1.1\nContent-Length: 71\nDate: Mon, 15 Jul 2013 22:33:47 GMT\n\n{\n \"InstanceGroupIds\": [\"ig-294A6A2KWT4WB\"],\n \"JobFlowId\": \"j-3U7TSX5GZFD8Y\"\n}\n\n</queryresponse>\n </examples>\n\n "
},
"AddJobFlowSteps": {
"name": "AddJobFlowSteps",
"input": {
"shape_name": "AddJobFlowStepsInput",
"type": "structure",
"members": {
"JobFlowId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>A string that uniquely identifies the job flow. This identifier is returned by\n <a>RunJobFlow</a> and can also be obtained from <a>ListClusters</a>. </p>\n ",
"required": true
},
"Steps": {
"shape_name": "StepConfigList",
"type": "list",
"members": {
"shape_name": "StepConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the job flow step.</p>\n ",
"required": true
},
"ActionOnFailure": {
"shape_name": "ActionOnFailure",
"type": "string",
"enum": [
"TERMINATE_JOB_FLOW",
"TERMINATE_CLUSTER",
"CANCEL_AND_WAIT",
"CONTINUE"
],
"documentation": "\n <p>The action to take if the job flow step fails.</p>\n "
},
"HadoopJarStep": {
"shape_name": "HadoopJarStepConfig",
"type": "structure",
"members": {
"Properties": {
"shape_name": "KeyValueList",
"type": "list",
"members": {
"shape_name": "KeyValue",
"type": "structure",
"members": {
"Key": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The unique identifier of a key value pair.</p>\n "
},
"Value": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The value part of the identified key.</p>\n "
}
},
"documentation": "\n <p>A key value pair.</p>\n "
},
"documentation": "\n <p>A list of Java properties that are set when the step runs. You can use these properties to\n pass key value pairs to your main function.</p>\n "
},
"Jar": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>A path to a JAR file run during the step.</p>\n ",
"required": true
},
"MainClass": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a Main-Class in its manifest file.</p>\n "
},
"Args": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
}
},
"documentation": "\n <p>The JAR file used for the job flow step.</p>\n ",
"required": true
}
},
"documentation": "\n <p>Specification of a job flow step.</p>\n "
},
"documentation": "\n <p> A list of <a>StepConfig</a> to be executed by the job flow. </p>\n ",
"required": true
}
},
"documentation": "\n <p> The input argument to the <a>AddJobFlowSteps</a> operation. </p>\n "
},
"output": {
"shape_name": "AddJobFlowStepsOutput",
"type": "structure",
"members": {
"StepIds": {
"shape_name": "StepIdsList",
"type": "list",
"members": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": null
},
"documentation": "\n <p>The identifiers of the list of steps added to the job flow.</p>\n "
}
},
"documentation": "\n <p> The output for the <a>AddJobFlowSteps</a> operation. </p>\n "
},
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p> AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed\n in each job flow. </p>\n <p>If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html\">Add More than 256 Steps to a Job Flow</a> in the <i>Amazon Elastic MapReduce Developer's Guide</i>.</p>\n <p> A step specifies the location of a JAR file stored either on the master node of the job\n flow or in Amazon S3. Each step is performed by the main function of the main class of the\n JAR file. The main class can be specified either in the manifest of the JAR or by using the\n MainFunction parameter of the step. </p>\n <p> Elastic MapReduce executes each step in the order listed. For a step to be considered\n complete, the main function must exit with a zero exit code and all Hadoop jobs started\n while the step was running must have completed and run successfully. </p>\n <p> You can only add steps to a job flow that is in one of the following states: STARTING,\n BOOTSTRAPPING, RUNNING, or WAITING.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.AddJobFlowSteps\nContent-Length: 426\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T210948Z\nX-Amz-Content-Sha256: 9e5ad0a93c22224947ce98eea94f766103d91b28fa82eb60d0cb8b6f9555a6b2\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=2a2393390760ae85eb74ee3a539e1d758bfdd8815a1a6d6f14d4a2fbcfdcd5b7\nAccept: */*\n\n{\n \"JobFlowId\": \"j-3TS0OIYO4NFN\",\n \"Steps\": [{\n \"Name\": \"Example Jar Step\",\n \"ActionOnFailure\": \"CANCEL_AND_WAIT\",\n \"HadoopJarStep\": {\n \"Jar\": \"s3n:\\\\/\\\\/elasticmapreduce\\\\/samples\\\\/cloudburst\\\\/cloudburst.jar\",\n \"Args\": [\n \"s3n:\\\\/\\\\/elasticmapreduce\\\\/samples\\\\/cloudburst\\\\/input\\\\/s_suis.br\",\n \"s3n:\\\\/\\\\/elasticmapreduce\\\\/samples\\\\/cloudburst\\\\/input\\\\/100k.br\",\n \"s3n:\\\\/\\\\/examples-bucket\\\\/cloudburst\\\\/output\",\n \"36\",\n \"3\",\n \"0\",\n \"1\",\n \"240\",\n \"48\",\n \"24\",\n \"24\",\n \"128\",\n \"16\"\n ]\n }\n }]\n}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 6514261f-ee5b-11e2-9345-5332e9ab2e6d\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 21:05:07 GMT\n\n </queryresponse>\n </examples>\n "
},
"AddTags": {
"name": "AddTags",
"input": {
"shape_name": "AddTagsInput",
"type": "structure",
"members": {
"ResourceId": {
"shape_name": "ResourceId",
"type": "string",
"documentation": "\n <p>The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier.</p>\n ",
"required": true
},
"Tags": {
"shape_name": "TagList",
"type": "list",
"members": {
"shape_name": "Tag",
"type": "structure",
"members": {
"Key": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>A user-defined key, which is the minimum required information for a valid tag. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
},
"Value": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>A user-defined value, which is optional in a tag. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
}
},
"documentation": "\n <p>A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clu\\\nsters to track your Amazon EMR resource allocation costs. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
},
"documentation": "\n <p>A list of tags to associate with a cluster and propagate to Amazon EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.</p>\n ",
"required": true
}
},
"documentation": "\n <p>This input identifies a cluster and a list of tags to attach. \n </p>\n "
},
"output": {
"shape_name": "AddTagsOutput",
"type": "structure",
"members": {},
"documentation": "\n <p>This output indicates the result of adding tags to a resource. \n </p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n <examples>\n <queryrequest>POST / HTTP/1.1 \nContent-Type: application/x-amz-json-1.1 \nX-Amz-Target: ElasticMapReduce.AddTags \nAUTHPARAMS \n{ \n \"ResourceId\": \"j-3U7TSX5GZFD8Y\", \n \"Tags\": [{ \n \"Key\": \"stack\", \n \"Value\": \"Production\" \n }, \n { \n \"Key\": \"hbase\" \n }] \n} \n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK \nx-amzn-RequestId: 9da5a349-ed9e-11e2-90db-69a5154aeb8d \nContent-Type: application/x-amz-json-1.1 \nContent-Length: 71 \nDate: Mon, 15 Jul 2013 22:33:47 GMT \n{ \n} \n </queryresponse>\n </examples>\n "
},
"DescribeCluster": {
"name": "DescribeCluster",
"input": {
"shape_name": "DescribeClusterInput",
"type": "structure",
"members": {
"ClusterId": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster to describe.</p>\n ",
"required": true
}
},
"documentation": "\n <p>This input determines which cluster to describe.</p>\n "
},
"output": {
"shape_name": "DescribeClusterOutput",
"type": "structure",
"members": {
"Cluster": {
"shape_name": "Cluster",
"type": "structure",
"members": {
"Id": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The unique identifier for the cluster.</p>"
},
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the cluster.</p>"
},
"Status": {
"shape_name": "ClusterStatus",
"type": "structure",
"members": {
"State": {
"shape_name": "ClusterState",
"type": "string",
"enum": [
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"TERMINATING",
"TERMINATED",
"TERMINATED_WITH_ERRORS"
],
"documentation": "\n <p>The current state of the cluster.</p>\n "
},
"StateChangeReason": {
"shape_name": "ClusterStateChangeReason",
"type": "structure",
"members": {
"Code": {
"shape_name": "ClusterStateChangeReasonCode",
"type": "string",
"enum": [
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"BOOTSTRAP_FAILURE",
"USER_REQUEST",
"STEP_FAILURE",
"ALL_STEPS_COMPLETED"
],
"documentation": "\n <p>The programmatic code for the state change reason.</p>\n "
},
"Message": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The descriptive message for the state change reason.</p>\n "
}
},
"documentation": "\n <p>The reason for the cluster status change.</p>\n "
},
"Timeline": {
"shape_name": "ClusterTimeline",
"type": "structure",
"members": {
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time of the cluster.</p>\n "
},
"ReadyDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster was ready to execute steps.</p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster was terminated.</p>\n "
}
},
"documentation": "\n <p>A timeline that represents the status of a cluster over the lifetime of the cluster.</p>\n "
}
},
"documentation": "\n <p>The current status details about the cluster.</p>\n "
},
"Ec2InstanceAttributes": {
"shape_name": "Ec2InstanceAttributes",
"type": "structure",
"members": {
"Ec2KeyName": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as\n a user named \"hadoop\".</p>\n "
},
"Ec2SubnetId": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>\n To launch the job flow in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where \n you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal AWS cloud, outside of \n a VPC. \n </p>\n <p>\n Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. \n Thus, you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a VPC.\n </p>\n "
},
"Ec2AvailabilityZone": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The Availability Zone in which the cluster will run.</p>\n "
},
"IamInstanceProfile": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.</p>\n "
}
},
"documentation": "\n <p>Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.</p> \n "
},
"LogUri": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The path to the Amazon S3 location where logs for this cluster are stored.</p> \n "
},
"RequestedAmiVersion": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The AMI version requested for this cluster.<!-- For more information, see <a>JobFlowDetail$AmiVersion</a>.--></p>\n "
},
"RunningAmiVersion": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The AMI version running on this cluster. This differs from the requested version only if the requested version is a meta version, such as \"latest\". <!--For more information, see <a>JobFlowDetail$AmiVersion</a>.--></p>\n "
},
"AutoTerminate": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Specifies whether the cluster should terminate after completing all steps.</p>\n "
},
"TerminationProtected": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": " \n <p>Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or \n user intervention, or in the event of a cluster error.</p>"
},
"VisibleToAllUsers": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Indicates whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to <code>true</code>, all IAM users of that AWS account can view and manage the job flow if they have the proper policy permissions set. \n If this value is <code>false</code>, only the IAM user that created the cluster can view and manage it. This value can be changed using the <a>SetVisibleToAllUsers</a> action.</p> \n "
},
"Applications": {
"shape_name": "ApplicationList",
"type": "list",
"members": {
"shape_name": "Application",
"type": "structure",
"members": {
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the application.</p>"
},
"Version": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The version of the application.</p>"
},
"Args": {
"shape_name": "StringList",
"type": "list",
"members": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"documentation": "\n <p>Arguments for Amazon EMR to pass to the application.</p>"
},
"AdditionalInfo": {
"shape_name": "StringMap",
"type": "map",
"keys": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"members": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"documentation": "\n <p>This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.</p>"
}
},
"documentation": "\n <p>An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation\n script as bootstrap action argument. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html\">Launch a Job Flow on the MapR Distribution for Hadoop</a>. Currently supported values are:</p>\n <ul> \n <li>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li>\n <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li>\n <li>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition, respectively.</li>\n </ul>\n "
},
"documentation": "\n <p>The applications installed on this cluster.</p>\n "
},
"Tags": {
"shape_name": "TagList",
"type": "list",
"members": {
"shape_name": "Tag",
"type": "structure",
"members": {
"Key": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>A user-defined key, which is the minimum required information for a valid tag. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
},
"Value": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>A user-defined value, which is optional in a tag. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
}
},
"documentation": "\n <p>A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clu\\\nsters to track your Amazon EMR resource allocation costs. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
},
"documentation": "\n <p>A list of tags associated with a cluster.</p>"
},
"ServiceRole": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>\n "
}
},
"documentation": "\n <p>This output contains the details for the requested cluster.</p>\n "
}
},
"documentation": "\n <p>This output contains the description of the cluster.</p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see <a>ListSteps</a>.</p> \n \n "
},
"DescribeJobFlows": {
"name": "DescribeJobFlows",
"input": {
"shape_name": "DescribeJobFlowsInput",
"type": "structure",
"members": {
"CreatedAfter": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>Return only job flows created after this date and time.</p>\n "
},
"CreatedBefore": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>Return only job flows created before this date and time.</p>\n "
},
"JobFlowIds": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>Return only job flows whose job flow ID is contained in this list. </p>\n "
},
"JobFlowStates": {
"shape_name": "JobFlowExecutionStateList",
"type": "list",
"members": {
"shape_name": "JobFlowExecutionState",
"type": "string",
"enum": [
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"SHUTTING_DOWN",
"TERMINATED",
"COMPLETED",
"FAILED"
],
"documentation": "\n <p> The type of instance. </p>\n <enumValues>\n <value name=\"JobFlowExecutionState$COMPLETED\">\n <p>A small instance</p>\n </value>\n <value name=\"JobFlowExecutionState$FAILED\">\n <p>A large instance</p>\n </value>\n </enumValues>\n "
},
"documentation": "\n <p>Return only job flows whose state is contained in this list.</p>\n "
}
},
"documentation": "\n <p> The input for the <a>DescribeJobFlows</a> operation. </p>\n "
},
"output": {
"shape_name": "DescribeJobFlowsOutput",
"type": "structure",
"members": {
"JobFlows": {
"shape_name": "JobFlowDetailList",
"type": "list",
"members": {
"shape_name": "JobFlowDetail",
"type": "structure",
"members": {
"JobFlowId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The job flow identifier.</p>\n ",
"required": true
},
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the job flow.</p>\n ",
"required": true
},
"LogUri": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The location in Amazon S3 where log files for the job are stored. </p>\n "
},
"AmiVersion": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently \n supported by Amazon ElasticMapReduce, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported\">AMI Versions Supported in Elastic MapReduce</a> in the \n <i>Amazon Elastic MapReduce Developer's Guide.</i></p>\n "
},
"ExecutionStatusDetail": {
"shape_name": "JobFlowExecutionStatusDetail",
"type": "structure",
"members": {
"State": {
"shape_name": "JobFlowExecutionState",
"type": "string",
"enum": [
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"SHUTTING_DOWN",
"TERMINATED",
"COMPLETED",
"FAILED"
],
"documentation": "\n <p>The state of the job flow.</p>\n ",
"required": true
},
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time of the job flow.</p>\n ",
"required": true
},
"StartDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The start date and time of the job flow.</p>\n "
},
"ReadyDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the job flow was ready to start running bootstrap actions.</p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The completion date and time of the job flow.</p>\n "
},
"LastStateChangeReason": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>Description of the job flow last changed state.</p>\n "
}
},
"documentation": "\n <p>Describes the execution status of the job flow.</p>\n ",
"required": true
},
"Instances": {
"shape_name": "JobFlowInstancesDetail",
"type": "structure",
"members": {
"MasterInstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The Amazon EC2 master node instance type.</p>\n ",
"required": true
},
"MasterPublicDnsName": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The DNS name of the master node.</p>\n "
},
"MasterInstanceId": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The Amazon EC2 instance identifier of the master node.</p>\n "
},
"SlaveInstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The Amazon EC2 slave node instance type.</p>\n ",
"required": true
},
"InstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance\n serves as both the master and slave node. If the value is greater than 1, one instance is\n the master node and all others are slave nodes.</p>\n ",
"required": true
},
"InstanceGroups": {
"shape_name": "InstanceGroupDetailList",
"type": "list",
"members": {
"shape_name": "InstanceGroupDetail",
"type": "structure",
"members": {
"InstanceGroupId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Unique identifier for the instance group. </p>\n "
},
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Friendly name for the instance group. </p>\n "
},
"Market": {
"shape_name": "MarketType",
"type": "string",
"enum": [
"ON_DEMAND",
"SPOT"
],
"documentation": "\n <p>Market type of the Amazon EC2 instances used to create a cluster node. </p>\n ",
"required": true
},
"InstanceRole": {
"shape_name": "InstanceRoleType",
"type": "string",
"enum": [
"MASTER",
"CORE",
"TASK"
],
"documentation": "\n <p>Instance group role in the cluster </p>\n ",
"required": true
},
"BidPrice": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Bid price for EC2 Instances when launching nodes as\n Spot Instances, expressed in USD.</p>\n "
},
"InstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>Amazon EC2 Instance type.</p>\n ",
"required": true
},
"InstanceRequestCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>Target number of instances to run in the instance group. </p>\n ",
"required": true
},
"InstanceRunningCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>Actual count of running instances. </p>\n ",
"required": true
},
"State": {
"shape_name": "InstanceGroupState",
"type": "string",
"enum": [
"PROVISIONING",
"BOOTSTRAPPING",
"RUNNING",
"RESIZING",
"SUSPENDED",
"TERMINATING",
"TERMINATED",
"ARRESTED",
"SHUTTING_DOWN",
"ENDED"
],
"documentation": "\n <p>State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</p>\n ",
"required": true
},
"LastStateChangeReason": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>Details regarding the state of the instance group. </p>\n "
},
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date/time the instance group was created. </p>\n ",
"required": true
},
"StartDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date/time the instance group was started.</p>\n "
},
"ReadyDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date/time the instance group was available to the cluster. </p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date/time the instance group was terminated.</p>\n "
}
},
"documentation": "\n <p>Detailed information about an instance group. </p>\n "
},
"documentation": "\n <p>Details about the job flow's instance groups. </p>\n "
},
"NormalizedInstanceHours": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>An approximation of the cost of the job flow, represented in m1.small/hours. This value is\n incremented once for every hour an m1.small runs. Larger instances are weighted more, so an\n Amazon EC2 instance that is roughly four times more expensive would result in the\n normalized instance hours being incremented by four. This result is only an approximation\n and does not reflect the actual billing rate.</p>\n "
},
"Ec2KeyName": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of an Amazon EC2 key pair that can be used to ssh to the master node of job\n flow.</p>\n "
},
"Ec2SubnetId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>For job flows launched within Amazon Virtual Private Cloud, this value specifies the identifier of the subnet where the job flow was launched.</p>\n "
},
"Placement": {
"shape_name": "PlacementType",
"type": "structure",
"members": {
"AvailabilityZone": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The Amazon EC2 Availability Zone for the job flow.</p>\n ",
"required": true
}
},
"documentation": "\n <p>The Amazon EC2 Availability Zone for the job flow.</p>\n "
},
"KeepJobFlowAliveWhenNoSteps": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Specifies whether the job flow should terminate after completing all steps.</p>\n "
},
"TerminationProtected": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, \n user intervention, or in the event of a job flow error. </p>\n "
},
"HadoopVersion": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The Hadoop version for the job flow.</p>\n "
}
},
"documentation": "\n <p>Describes the Amazon EC2 instances of the job flow.</p>\n ",
"required": true
},
"Steps": {
"shape_name": "StepDetailList",
"type": "list",
"members": {
"shape_name": "StepDetail",
"type": "structure",
"members": {
"StepConfig": {
"shape_name": "StepConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the job flow step.</p>\n ",
"required": true
},
"ActionOnFailure": {
"shape_name": "ActionOnFailure",
"type": "string",
"enum": [
"TERMINATE_JOB_FLOW",
"TERMINATE_CLUSTER",
"CANCEL_AND_WAIT",
"CONTINUE"
],
"documentation": "\n <p>The action to take if the job flow step fails.</p>\n "
},
"HadoopJarStep": {
"shape_name": "HadoopJarStepConfig",
"type": "structure",
"members": {
"Properties": {
"shape_name": "KeyValueList",
"type": "list",
"members": {
"shape_name": "KeyValue",
"type": "structure",
"members": {
"Key": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The unique identifier of a key value pair.</p>\n "
},
"Value": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The value part of the identified key.</p>\n "
}
},
"documentation": "\n <p>A key value pair.</p>\n "
},
"documentation": "\n <p>A list of Java properties that are set when the step runs. You can use these properties to\n pass key value pairs to your main function.</p>\n "
},
"Jar": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>A path to a JAR file run during the step.</p>\n ",
"required": true
},
"MainClass": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a Main-Class in its manifest file.</p>\n "
},
"Args": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
}
},
"documentation": "\n <p>The JAR file used for the job flow step.</p>\n ",
"required": true
}
},
"documentation": "\n <p>The step configuration.</p>\n ",
"required": true
},
"ExecutionStatusDetail": {
"shape_name": "StepExecutionStatusDetail",
"type": "structure",
"members": {
"State": {
"shape_name": "StepExecutionState",
"type": "string",
"enum": [
"PENDING",
"RUNNING",
"CONTINUE",
"COMPLETED",
"CANCELLED",
"FAILED",
"INTERRUPTED"
],
"documentation": "\n <p>The state of the job flow step.</p>\n ",
"required": true
},
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time of the step.</p>\n ",
"required": true
},
"StartDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The start date and time of the step.</p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The completion date and time of the step.</p>\n "
},
"LastStateChangeReason": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>A description of the step's current state.</p>\n "
}
},
"documentation": "\n <p>The description of the step status.</p>\n ",
"required": true
}
},
"documentation": "\n <p>Combines the execution state and configuration of a step.</p>\n "
},
"documentation": "\n <p>A list of steps run by the job flow.</p>\n "
},
"BootstrapActions": {
"shape_name": "BootstrapActionDetailList",
"type": "list",
"members": {
"shape_name": "BootstrapActionDetail",
"type": "structure",
"members": {
"BootstrapActionConfig": {
"shape_name": "BootstrapActionConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the bootstrap action.</p>\n ",
"required": true
},
"ScriptBootstrapAction": {
"shape_name": "ScriptBootstrapActionConfig",
"type": "structure",
"members": {
"Path": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>Location of the script to run during a bootstrap action. Can be either a location in Amazon\n S3 or on a local file system.</p>\n ",
"required": true
},
"Args": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>A list of command line arguments to pass to the bootstrap action script.</p>\n "
}
},
"documentation": "\n <p>The script run by the bootstrap action.</p>\n ",
"required": true
}
},
"documentation": "\n <p>A description of the bootstrap action.</p>\n "
}
},
"documentation": "\n <p>Reports the configuration of a bootstrap action in a job flow.</p>\n "
},
"documentation": "\n <p>A list of the bootstrap actions run by the job flow.</p>\n "
},
"SupportedProducts": {
"shape_name": "SupportedProductsList",
"type": "list",
"members": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": null
},
"documentation": "\n <p>A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.</p>\n "
},
"VisibleToAllUsers": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to <code>true</code>, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the job flow. If it is set to <code>false</code>, only the IAM user that created the job flow can view and manage it. This value can be changed using the <a>SetVisibleToAllUsers</a> action.</p>\n "
},
"JobFlowRole": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.</p>\n "
},
"ServiceRole": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>\n "
}
},
"documentation": "\n <p> A description of a job flow.</p>\n "
},
"documentation": "\n <p>A list of job flows matching the parameters supplied.</p>\n "
}
},
"documentation": "\n <p> The output for the <a>DescribeJobFlows</a> operation. </p>\n "
},
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p> This API is deprecated and will eventually be removed. We recommend you use <a>ListClusters</a>,\n <a>DescribeCluster</a>, <a>ListSteps</a>, <a>ListInstanceGroups</a> and <a>ListBootstrapActions</a>\n instead.</p>\n <p> DescribeJobFlows returns a list of job flows that match all of the supplied parameters.\n The parameters can include a list of job flow IDs, job flow states, and restrictions on job\n flow creation date and time.</p>\n <p> Regardless of supplied parameters, only job flows created within the last two months are\n returned.</p>\n <p> If no parameters are supplied, then job flows matching either of the following criteria\n are returned:</p>\n <ul>\n <li>Job flows created and completed in the last two weeks</li>\n <li> Job flows created within the last two months that are in one of the following states:\n <code>RUNNING</code>, <code>WAITING</code>, <code>SHUTTING_DOWN</code>,\n <code>STARTING</code>\n </li>\n </ul>\n <p> Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions. </p>\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.DescribeJobFlows\nContent-Length: 62\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T220330Z\nX-Amz-Content-Sha256: fce83af973f96f173512aca2845c56862b946feb1de0600326f1365b658a0e39\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=29F98a6f44e05ad54fe1e8b3d1a7101ab08dc3ad348995f89c533693cee2bb3b\nAccept: */*\n\n{\n \"JobFlowIds\": [\"j-ZKIY4CKQRX72\"],\n \"DescriptionType\": \"EXTENDED\"\n}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 634d4142-ed9a-11e2-bbba-b56d7d016ec4\nContent-Type: application/x-amz-json-1.1\nContent-Length: 1624\nDate: Mon, 15 Jul 2013 22:03:31 GMT\n\n{\"JobFlows\": [{\n \"AmiVersion\": \"2.3.6\",\n \"BootstrapActions\": [],\n \"ExecutionStatusDetail\": {\n \"CreationDateTime\": 1.373923429E9,\n \"EndDateTime\": 1.373923995E9,\n \"LastStateChangeReason\": \"Steps completed\",\n \"ReadyDateTime\": 1.373923754E9,\n \"StartDateTime\": 1.373923754E9,\n \"State\": \"COMPLETED\"\n },\n \"Instances\": {\n \"HadoopVersion\": \"1.0.3\",\n \"InstanceCount\": 1,\n \"InstanceGroups\": [{\n \"CreationDateTime\": 1.373923429E9,\n \"EndDateTime\": 1.373923995E9,\n \"InstanceGroupId\": \"ig-3SRUWV3E0NB7K\",\n \"InstanceRequestCount\": 1,\n \"InstanceRole\": \"MASTER\",\n \"InstanceRunningCount\": 0,\n \"InstanceType\": \"m1.small\",\n \"LastStateChangeReason\": \"Job flow terminated\",\n \"Market\": \"ON_DEMAND\",\n \"Name\": \"Master InstanceGroup\",\n \"ReadyDateTime\": 1.37392375E9,\n \"StartDateTime\": 1.373923646E9,\n \"State\": \"ENDED\"\n }],\n \"KeepJobFlowAliveWhenNoSteps\": false,\n \"MasterInstanceId\": \"i-8c4fbbef\",\n \"MasterInstanceType\": \"m1.small\",\n \"MasterPublicDnsName\": \"ec2-107-20-46-140.compute-1.amazonaws.com\",\n \"NormalizedInstanceHours\": 1,\n \"Placement\": {\"AvailabilityZone\": \"us-east-1a\"},\n \"TerminationProtected\": false\n },\n \"JobFlowId\": \"j-ZKIY4CKQRX72\",\n \"Name\": \"Development Job Flow\",\n \"Steps\": [{\n \"ExecutionStatusDetail\": {\n \"CreationDateTime\": 1.373923429E9,\n \"EndDateTime\": 1.373923914E9,\n \"StartDateTime\": 1.373923754E9,\n \"State\": \"COMPLETED\"\n },\n \"StepConfig\": {\n \"ActionOnFailure\": \"CANCEL_AND_WAIT\",\n \"HadoopJarStep\": {\n \"Args\": [\n \"-input\",\n \"s3://elasticmapreduce/samples/wordcount/input\",\n \"-output\",\n \"s3://examples-bucket/example-output\",\n \"-mapper\",\n \"s3://elasticmapreduce/samples/wordcount/wordSplitter.py\",\n \"-reducer\",\n \"aggregate\"\n ],\n \"Jar\": \"/home/hadoop/contrib/streaming/hadoop-streaming.jar\",\n \"Properties\": []\n },\n \"Name\": \"Example Streaming Step\"\n }\n }],\n \"SupportedProducts\": [],\n \"VisibleToAllUsers\": false\n}]}\n</queryresponse>\n </examples>\n "
},
"DescribeStep": {
"name": "DescribeStep",
"input": {
"shape_name": "DescribeStepInput",
"type": "structure",
"members": {
"ClusterId": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster with steps to describe.</p>\n ",
"required": true
},
"StepId": {
"shape_name": "StepId",
"type": "string",
"documentation": "\n <p>The identifier of the step to describe.</p>\n ",
"required": true
}
},
"documentation": "\n <p>This input determines which step to describe.</p>\n "
},
"output": {
"shape_name": "DescribeStepOutput",
"type": "structure",
"members": {
"Step": {
"shape_name": "Step",
"type": "structure",
"members": {
"Id": {
"shape_name": "StepId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster step.</p>\n "
},
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the cluster step.</p>\n "
},
"Config": {
"shape_name": "HadoopStepConfig",
"type": "structure",
"members": {
"Jar": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The path to the JAR file that runs during the step.</p>\n "
},
"Properties": {
"shape_name": "StringMap",
"type": "map",
"keys": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"members": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"documentation": "\n <p>The list of Java properties that are set when the step runs. You can use these properties to\n pass key value pairs to your main function.</p>\n "
},
"MainClass": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a main class in its manifest file.</p>\n "
},
"Args": {
"shape_name": "StringList",
"type": "list",
"members": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"documentation": "\n <p>The list of command line arguments to pass to the JAR file's main function for execution.</p>\n "
}
},
"documentation": "\n <p>The Hadoop job configuration of the cluster step.\n </p>\n "
},
"ActionOnFailure": {
"shape_name": "ActionOnFailure",
"type": "string",
"enum": [
"TERMINATE_JOB_FLOW",
"TERMINATE_CLUSTER",
"CANCEL_AND_WAIT",
"CONTINUE"
],
"documentation": "\n <p>This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.\n </p>\n "
},
"Status": {
"shape_name": "StepStatus",
"type": "structure",
"members": {
"State": {
"shape_name": "StepState",
"type": "string",
"enum": [
"PENDING",
"RUNNING",
"COMPLETED",
"CANCELLED",
"FAILED",
"INTERRUPTED"
],
"documentation": "\n <p>The execution state of the cluster step.\n </p>\n "
},
"StateChangeReason": {
"shape_name": "StepStateChangeReason",
"type": "structure",
"members": {
"Code": {
"shape_name": "StepStateChangeReasonCode",
"type": "string",
"enum": [
"NONE"
],
"documentation": "\n <p>The programmable code for the state change reason.\n </p>\n "
},
"Message": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The descriptive message for the state change reason.\n </p>\n "
}
},
"documentation": "\n <p>The reason for the step execution status change.\n </p>\n "
},
"Timeline": {
"shape_name": "StepTimeline",
"type": "structure",
"members": {
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster step was created.\n </p>\n "
},
"StartDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster step execution started.\n </p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster step execution completed or failed.\n </p>\n "
}
},
"documentation": "\n <p>The timeline of the cluster step status over time.\n </p>\n "
}
},
"documentation": "\n <p>The current execution status details of the cluster step.\n </p>\n "
}
},
"documentation": "\n <p>The step details for the requested step identifier.</p>\n "
}
},
"documentation": "\n <p>This output contains the description of the cluster step.</p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides more detail about the cluster step.</p> \n "
},
"ListBootstrapActions": {
"name": "ListBootstrapActions",
"input": {
"shape_name": "ListBootstrapActionsInput",
"type": "structure",
"members": {
"ClusterId": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The cluster identifier for the bootstrap actions to list\n .</p>\n ",
"required": true
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve\n .</p>\n "
}
},
"documentation": "\n <p>This input determines which bootstrap actions to retrieve.</p>\n "
},
"output": {
"shape_name": "ListBootstrapActionsOutput",
"type": "structure",
"members": {
"BootstrapActions": {
"shape_name": "CommandList",
"type": "list",
"members": {
"shape_name": "Command",
"type": "structure",
"members": {
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the command.</p>\n "
},
"ScriptPath": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The Amazon S3 location of the command script.</p>\n "
},
"Args": {
"shape_name": "StringList",
"type": "list",
"members": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"documentation": "\n <p>Arguments for Amazon EMR to pass to the command for execution.</p>\n "
}
},
"documentation": "\n <p>An entity describing an executable that runs on a cluster.</p>\n "
},
"documentation": "\n <p>The bootstrap actions associated with the cluster\n .</p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve\n .</p>\n "
}
},
"documentation": "\n <p>This output contains the boostrap actions detail\n .</p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides information about the bootstrap actions associated with a cluster.</p> \n \n ",
"pagination": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "BootstrapActions",
"py_input_token": "marker"
}
},
"ListClusters": {
"name": "ListClusters",
"input": {
"shape_name": "ListClustersInput",
"type": "structure",
"members": {
"CreatedAfter": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time beginning value filter for listing clusters\n .</p>\n "
},
"CreatedBefore": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time end value filter for listing clusters\n .</p>\n "
},
"ClusterStates": {
"shape_name": "ClusterStateList",
"type": "list",
"members": {
"shape_name": "ClusterState",
"type": "string",
"enum": [
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"TERMINATING",
"TERMINATED",
"TERMINATED_WITH_ERRORS"
],
"documentation": null
},
"documentation": "\n <p>The cluster state filters to apply when listing clusters.\n </p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.\n </p>\n "
}
},
"documentation": "\n <p>This input determines how the ListClusters action filters the list of clusters that it returns.</p> \n "
},
"output": {
"shape_name": "ListClustersOutput",
"type": "structure",
"members": {
"Clusters": {
"shape_name": "ClusterSummaryList",
"type": "list",
"members": {
"shape_name": "ClusterSummary",
"type": "structure",
"members": {
"Id": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The unique identifier for the cluster.</p>\n "
},
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the cluster.</p>\n "
},
"Status": {
"shape_name": "ClusterStatus",
"type": "structure",
"members": {
"State": {
"shape_name": "ClusterState",
"type": "string",
"enum": [
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"TERMINATING",
"TERMINATED",
"TERMINATED_WITH_ERRORS"
],
"documentation": "\n <p>The current state of the cluster.</p>\n "
},
"StateChangeReason": {
"shape_name": "ClusterStateChangeReason",
"type": "structure",
"members": {
"Code": {
"shape_name": "ClusterStateChangeReasonCode",
"type": "string",
"enum": [
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"BOOTSTRAP_FAILURE",
"USER_REQUEST",
"STEP_FAILURE",
"ALL_STEPS_COMPLETED"
],
"documentation": "\n <p>The programmatic code for the state change reason.</p>\n "
},
"Message": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The descriptive message for the state change reason.</p>\n "
}
},
"documentation": "\n <p>The reason for the cluster status change.</p>\n "
},
"Timeline": {
"shape_name": "ClusterTimeline",
"type": "structure",
"members": {
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time of the cluster.</p>\n "
},
"ReadyDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster was ready to execute steps.</p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster was terminated.</p>\n "
}
},
"documentation": "\n <p>A timeline that represents the status of a cluster over the lifetime of the cluster.</p>\n "
}
},
"documentation": "\n <p>The details about the current status of the cluster.</p>\n "
}
},
"documentation": "\n <p>The summary description of the cluster.</p>\n "
},
"documentation": "\n <p>The list of clusters for the account based on the given filters.\n </p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.\n </p>\n "
}
},
"documentation": "\n <p>This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.</p> \n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status.\n This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls. \n </p> \n \n ",
"pagination": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "Clusters",
"py_input_token": "marker"
}
},
"ListInstanceGroups": {
"name": "ListInstanceGroups",
"input": {
"shape_name": "ListInstanceGroupsInput",
"type": "structure",
"members": {
"ClusterId": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster for which to list the instance groups.</p>\n ",
"required": true
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
}
},
"documentation": "\n <p>This input determines which instance groups to retrieve.</p>\n "
},
"output": {
"shape_name": "ListInstanceGroupsOutput",
"type": "structure",
"members": {
"InstanceGroups": {
"shape_name": "InstanceGroupList",
"type": "list",
"members": {
"shape_name": "InstanceGroup",
"type": "structure",
"members": {
"Id": {
"shape_name": "InstanceGroupId",
"type": "string",
"documentation": "\n <p>The identifier of the instance group.</p>\n "
},
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the instance group.</p>\n "
},
"Market": {
"shape_name": "MarketType",
"type": "string",
"enum": [
"ON_DEMAND",
"SPOT"
],
"documentation": "\n <p>The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.</p>\n "
},
"InstanceGroupType": {
"shape_name": "InstanceGroupType",
"type": "string",
"enum": [
"MASTER",
"CORE",
"TASK"
],
"documentation": "\n <p>The type of the instance group. Valid values are MASTER, CORE or TASK.</p>\n "
},
"BidPrice": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The bid price for each EC2 instance in the\n instance group when launching nodes as Spot Instances, expressed in USD.</p>\n "
},
"InstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The EC2 instance type for all instances in the instance group. </p>\n "
},
"RequestedInstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>The target number of instances for the instance group. </p>\n "
},
"RunningInstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>The number of instances currently running in this instance group.</p>\n "
},
"Status": {
"shape_name": "InstanceGroupStatus",
"type": "structure",
"members": {
"State": {
"shape_name": "InstanceGroupState",
"type": "string",
"enum": [
"PROVISIONING",
"BOOTSTRAPPING",
"RUNNING",
"RESIZING",
"SUSPENDED",
"TERMINATING",
"TERMINATED",
"ARRESTED",
"SHUTTING_DOWN",
"ENDED"
],
"documentation": "\n <p>The current state of the instance group.</p>\n "
},
"StateChangeReason": {
"shape_name": "InstanceGroupStateChangeReason",
"type": "structure",
"members": {
"Code": {
"shape_name": "InstanceGroupStateChangeReasonCode",
"type": "string",
"enum": [
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"CLUSTER_TERMINATED"
],
"documentation": "\n <p>The programmable code for the state change reason.</p>\n "
},
"Message": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The status change reason description.</p>\n "
}
},
"documentation": "\n <p>The status change reason details for the instance group.</p>\n "
},
"Timeline": {
"shape_name": "InstanceGroupTimeline",
"type": "structure",
"members": {
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time of the instance group.</p>\n "
},
"ReadyDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the instance group became ready to perform tasks.</p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the instance group terminated.</p>\n "
}
},
"documentation": "\n <p>The timeline of the instance group status over time.</p>\n "
}
},
"documentation": "\n <p>The current status of the instance group.</p>\n "
}
},
"documentation": "\n <p>This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.</p>\n "
},
"documentation": "\n <p>The list of instance groups for the cluster and given filters.</p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
}
},
"documentation": "\n <p>This input determines which instance groups to retrieve.</p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides all available details about the instance groups in a cluster.</p> \n \n ",
"pagination": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "InstanceGroups",
"py_input_token": "marker"
}
},
"ListInstances": {
"name": "ListInstances",
"input": {
"shape_name": "ListInstancesInput",
"type": "structure",
"members": {
"ClusterId": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster for which to list the instances.</p>\n ",
"required": true
},
"InstanceGroupId": {
"shape_name": "InstanceGroupId",
"type": "string",
"documentation": "\n <p>The identifier of the instance group for which to list the instances.</p>\n "
},
"InstanceGroupTypes": {
"shape_name": "InstanceGroupTypeList",
"type": "list",
"members": {
"shape_name": "InstanceGroupType",
"type": "string",
"enum": [
"MASTER",
"CORE",
"TASK"
],
"documentation": null
},
"documentation": "\n <p>The type of instance group for which to list the instances.</p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
}
},
"documentation": "\n <p>This input determines which instances to list.</p>\n "
},
"output": {
"shape_name": "ListInstancesOutput",
"type": "structure",
"members": {
"Instances": {
"shape_name": "InstanceList",
"type": "list",
"members": {
"shape_name": "Instance",
"type": "structure",
"members": {
"Id": {
"shape_name": "InstanceId",
"type": "string",
"documentation": "\n <p>The unique identifier for the instance in Amazon EMR.</p>\n "
},
"Ec2InstanceId": {
"shape_name": "InstanceId",
"type": "string",
"documentation": "\n <p>The unique identifier of the instance in Amazon EC2.</p>\n "
},
"PublicDnsName": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The public DNS name of the instance.</p>\n "
},
"PublicIpAddress": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The public IP address of the instance.</p>\n "
},
"PrivateDnsName": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The private DNS name of the instance.</p>\n "
},
"PrivateIpAddress": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The private IP address of the instance.</p>\n "
},
"Status": {
"shape_name": "InstanceStatus",
"type": "structure",
"members": {
"State": {
"shape_name": "InstanceState",
"type": "string",
"enum": [
"AWAITING_FULFILLMENT",
"PROVISIONING",
"BOOTSTRAPPING",
"RUNNING",
"TERMINATED"
],
"documentation": "\n <p>The current state of the instance.</p>\n "
},
"StateChangeReason": {
"shape_name": "InstanceStateChangeReason",
"type": "structure",
"members": {
"Code": {
"shape_name": "InstanceStateChangeReasonCode",
"type": "string",
"enum": [
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"BOOTSTRAP_FAILURE",
"CLUSTER_TERMINATED"
],
"documentation": "\n <p>The programmable code for the state change reason.</p>\n "
},
"Message": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The status change reason description.</p>\n "
}
},
"documentation": "\n <p>The details of the status change reason for the instance.</p>\n "
},
"Timeline": {
"shape_name": "InstanceTimeline",
"type": "structure",
"members": {
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The creation date and time of the instance.</p>\n "
},
"ReadyDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the instance was ready to perform tasks.</p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the instance was terminated.</p>\n "
}
},
"documentation": "\n <p>The timeline of the instance status over time.</p>\n "
}
},
"documentation": "\n <p>The current status of the instance.</p>\n "
}
},
"documentation": "\n <p>Represents an EC2 instance provisioned as part of cluster.</p>\n "
},
"documentation": "\n <p>The list of instances for the cluster and given filters.</p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
}
},
"documentation": "\n <p>This output contains the list of instances.</p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. \n For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.\n </p> \n ",
"pagination": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "Instances",
"py_input_token": "marker"
}
},
"ListSteps": {
"name": "ListSteps",
"input": {
"shape_name": "ListStepsInput",
"type": "structure",
"members": {
"ClusterId": {
"shape_name": "ClusterId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster for which to list the steps.</p>\n ",
"required": true
},
"StepStates": {
"shape_name": "StepStateList",
"type": "list",
"members": {
"shape_name": "StepState",
"type": "string",
"enum": [
"PENDING",
"RUNNING",
"COMPLETED",
"CANCELLED",
"FAILED",
"INTERRUPTED"
],
"documentation": null
},
"documentation": "\n <p>The filter to limit the step list based on certain states.</p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
}
},
"documentation": "\n <p>This input determines which steps to list.</p>\n "
},
"output": {
"shape_name": "ListStepsOutput",
"type": "structure",
"members": {
"Steps": {
"shape_name": "StepSummaryList",
"type": "list",
"members": {
"shape_name": "StepSummary",
"type": "structure",
"members": {
"Id": {
"shape_name": "StepId",
"type": "string",
"documentation": "\n <p>The identifier of the cluster step.\n </p>\n "
},
"Name": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The name of the cluster step.\n </p>\n "
},
"Status": {
"shape_name": "StepStatus",
"type": "structure",
"members": {
"State": {
"shape_name": "StepState",
"type": "string",
"enum": [
"PENDING",
"RUNNING",
"COMPLETED",
"CANCELLED",
"FAILED",
"INTERRUPTED"
],
"documentation": "\n <p>The execution state of the cluster step.\n </p>\n "
},
"StateChangeReason": {
"shape_name": "StepStateChangeReason",
"type": "structure",
"members": {
"Code": {
"shape_name": "StepStateChangeReasonCode",
"type": "string",
"enum": [
"NONE"
],
"documentation": "\n <p>The programmable code for the state change reason.\n </p>\n "
},
"Message": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>The descriptive message for the state change reason.\n </p>\n "
}
},
"documentation": "\n <p>The reason for the step execution status change.\n </p>\n "
},
"Timeline": {
"shape_name": "StepTimeline",
"type": "structure",
"members": {
"CreationDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster step was created.\n </p>\n "
},
"StartDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster step execution started.\n </p>\n "
},
"EndDateTime": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "\n <p>The date and time when the cluster step execution completed or failed.\n </p>\n "
}
},
"documentation": "\n <p>The timeline of the cluster step status over time.\n </p>\n "
}
},
"documentation": "\n <p>The current execution status details of the cluster step.\n </p>\n "
}
},
"documentation": "\n <p>The summary of the cluster step.</p>\n "
},
"documentation": "\n <p>The filtered list of steps for the cluster.</p>\n "
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
}
},
"documentation": "\n <p>This output contains the list of steps.</p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Provides a list of steps for the cluster. \n </p> \n ",
"pagination": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "Steps",
"py_input_token": "marker"
}
},
"ModifyInstanceGroups": {
"name": "ModifyInstanceGroups",
"input": {
"shape_name": "ModifyInstanceGroupsInput",
"type": "structure",
"members": {
"InstanceGroups": {
"shape_name": "InstanceGroupModifyConfigList",
"type": "list",
"members": {
"shape_name": "InstanceGroupModifyConfig",
"type": "structure",
"members": {
"InstanceGroupId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Unique ID of the instance group to expand or shrink.</p>\n ",
"required": true
},
"InstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>Target size for the instance group.</p>\n "
},
"EC2InstanceIdsToTerminate": {
"shape_name": "EC2InstanceIdsToTerminateList",
"type": "list",
"members": {
"shape_name": "InstanceId",
"type": "string",
"documentation": null
},
"documentation": "\n <p>The EC2 InstanceIds to terminate. For advanced users only. \n Once you terminate the instances, the instance group will not return to its original requested size.</p>\n "
}
},
"documentation": "\n <p>Modify an instance group size.</p>\n "
},
"documentation": "\n <p>Instance groups to change.</p>\n "
}
},
"documentation": "\n <p>Change the size of some instance groups.</p>\n "
},
"output": null,
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p>ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance\n group. The input parameters include the new target instance count for the group and the\n instance group ID. The call will either succeed or fail atomically.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.ModifyInstanceGroups\nContent-Length: 77\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T205843Z\nX-Amz-Content-Sha256: bb1af3d0c6c6a1a09f21ccd7f04a0e2e6c9ce5b5810b0f6777560fe4f81bda8c\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=17bbbb4448a1f47a14d5657445e9de5cadf16bed58b850585f80865882133b33\nAccept: */*\n\n{\"InstanceGroups\": [{\n \"InstanceGroupId\": \"ig-1S8NWT31S2OVG\",\n \"InstanceCount\": 5\n}]}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 80a74808-ee5a-11e2-90db-69a5154aeb8d\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 20:58:44 GMT\n\n </queryresponse>\n </examples>\n \n "
},
"RemoveTags": {
"name": "RemoveTags",
"input": {
"shape_name": "RemoveTagsInput",
"type": "structure",
"members": {
"ResourceId": {
"shape_name": "ResourceId",
"type": "string",
"documentation": "\n <p>The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.</p>\n ",
"required": true
},
"TagKeys": {
"shape_name": "StringList",
"type": "list",
"members": {
"shape_name": "String",
"type": "string",
"documentation": null
},
"documentation": "\n <p>A list of tag keys to remove from a resource.</p>\n ",
"required": true
}
},
"documentation": "\n <p>This input identifies a cluster and a list of tags to remove. \n </p>\n "
},
"output": {
"shape_name": "RemoveTagsOutput",
"type": "structure",
"members": {},
"documentation": "\n <p>This output indicates the result of removing tags from a resource. \n </p>\n "
},
"errors": [
{
"shape_name": "InternalServerException",
"type": "structure",
"members": {
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p>\n\n "
},
{
"shape_name": "InvalidRequestException",
"type": "structure",
"members": {
"ErrorCode": {
"shape_name": "ErrorCode",
"type": "string",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The error code associated with the exception.</p>\n\n "
},
"Message": {
"shape_name": "ErrorMessage",
"type": "string",
"documentation": "\n <p>The message associated with the exception.</p>\n\n "
}
},
"documentation": "\n <p>This exception occurs when there is something wrong with user input.</p>\n\n "
}
],
"documentation": "\n <p>Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n <p>The following example removes the stack tag with value Prod from a cluster:</p>\n <examples>\n <queryrequest>POST / HTTP/1.1 \nContent-Type: application/x-amz-json-1.1 \nX-Amz-Target: ElasticMapReduce.RemoveTags \nAUTHPARAMS \n{ \n \"ResourceId\": \"j-3U7TSX5GZFD8Y\", \n \"Tags\": [{ \n \"Key\": \"stack\", \n \"Value\": \"Prod\" \n }] \n} \n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK \nx-amzn-RequestId: 9da5a349-ed9e-11e2-90db-69a5154aeb8d \nContent-Type: application/x-amz-json-1.1 \nContent-Length: 71 \nDate: Mon, 15 Jul 2013 22:33:47 GMT \n{ \n} \n </queryresponse>\n <p>The following example removes the stack and hbase tags from a cluster:</p>\n <queryrequest>POST / HTTP/1.1 \nContent-Type: application/x-amz-json-1.1 \nX-Amz-Target: ElasticMapReduce.RemoveTags \nAUTHPARAMS \n{ \n \"ResourceId\": \"j-3U7TSX5GZFD8Y\", \n \"Tags\": [{ \n \"Key\": \"stack\" \n }, \n { \n \"Key\": \"hbase\" \n }] \n} \n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK \nx-amzn-RequestId: 9da5a349-ed9e-11e2-90db-69a5154aeb8d \nContent-Type: application/x-amz-json-1.1 \nContent-Length: 71 \nDate: Mon, 15 Jul 2013 22:33:47 GMT \n{ \n} \n </queryresponse>\n </examples>\n "
},
"RunJobFlow": {
"name": "RunJobFlow",
"input": {
"shape_name": "RunJobFlowInput",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the job flow.</p>\n ",
"required": true
},
"LogUri": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The location in Amazon S3 to write the log files of the job flow. If a value is\n not provided, logs are not created.</p>\n "
},
"AdditionalInfo": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>A JSON string for selecting additional features.</p>\n "
},
"AmiVersion": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid: </p>\n <ul>\n <li>\"latest\" (uses the latest AMI)</li>\n <li>The version number of the AMI to use, for example, \"2.0\"</li>\n </ul>\n \n <p>If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the \n <a>JobFlowInstancesConfig</a> <code>HadoopVersion</code> parameter\n to modify the version of Hadoop from the defaults shown above.</p>\n <p>For details about the AMI versions currently \n supported by Amazon Elastic MapReduce, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported\">AMI Versions Supported in Elastic MapReduce</a> in the \n <i>Amazon Elastic MapReduce Developer's Guide.</i>\n </p>\n "
},
"Instances": {
"shape_name": "JobFlowInstancesConfig",
"type": "structure",
"members": {
"MasterInstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The EC2 instance type of the master node.</p>\n "
},
"SlaveInstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The EC2 instance type of the slave nodes.</p>\n "
},
"InstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>The number of Amazon EC2 instances used to execute the job flow.</p>\n "
},
"InstanceGroups": {
"shape_name": "InstanceGroupConfigList",
"type": "list",
"members": {
"shape_name": "InstanceGroupConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Friendly name given to the instance group.</p>\n "
},
"Market": {
"shape_name": "MarketType",
"type": "string",
"enum": [
"ON_DEMAND",
"SPOT"
],
"documentation": "\n <p>Market type of the Amazon EC2 instances used to create a cluster node. </p>\n "
},
"InstanceRole": {
"shape_name": "InstanceRoleType",
"type": "string",
"enum": [
"MASTER",
"CORE",
"TASK"
],
"documentation": "\n <p>The role of the instance group in the cluster.</p>\n ",
"required": true
},
"BidPrice": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>Bid price for each Amazon EC2 instance in the\n instance group when launching nodes as Spot Instances, expressed in USD.</p>\n "
},
"InstanceType": {
"shape_name": "InstanceType",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 1,
"max_length": 256,
"documentation": "\n <p>The Amazon EC2 instance type for all instances in the instance group. </p>\n ",
"required": true
},
"InstanceCount": {
"shape_name": "Integer",
"type": "integer",
"documentation": "\n <p>Target number of instances for the instance group. </p>\n ",
"required": true
}
},
"documentation": "\n <p>Configuration defining a new instance group.</p>\n "
},
"documentation": "\n <p>Configuration for the job flow's instance groups.</p>\n "
},
"Ec2KeyName": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the Amazon EC2 key pair that can be used to ssh to the master node as\n the user called \"hadoop.\"</p>\n "
},
"Placement": {
"shape_name": "PlacementType",
"type": "structure",
"members": {
"AvailabilityZone": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The Amazon EC2 Availability Zone for the job flow.</p>\n ",
"required": true
}
},
"documentation": "\n <p>The Availability Zone the job flow will run in.</p>\n "
},
"KeepJobFlowAliveWhenNoSteps": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Specifies whether the job flow should terminate after completing all steps.</p>\n "
},
"TerminationProtected": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Specifies whether to lock the job flow to prevent the Amazon EC2 instances from being terminated by API call, \n user intervention, or in the event of a job flow error.</p>\n "
},
"HadoopVersion": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The Hadoop version for the job flow. Valid inputs are \"0.18\", \"0.20\", or \"0.20.205\". If you do not set this value, the default of 0.18 is used, \n unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.</p>\n "
},
"Ec2SubnetId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>\n To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where \n you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an \n Amazon VPC. \n </p>\n <p>\n Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. \n Thus you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a Amazon VPC.\n </p>\n "
}
},
"documentation": "\n <p> A specification of the number and type of Amazon EC2 instances on which to run the job\n flow. </p>\n ",
"required": true
},
"Steps": {
"shape_name": "StepConfigList",
"type": "list",
"members": {
"shape_name": "StepConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the job flow step.</p>\n ",
"required": true
},
"ActionOnFailure": {
"shape_name": "ActionOnFailure",
"type": "string",
"enum": [
"TERMINATE_JOB_FLOW",
"TERMINATE_CLUSTER",
"CANCEL_AND_WAIT",
"CONTINUE"
],
"documentation": "\n <p>The action to take if the job flow step fails.</p>\n "
},
"HadoopJarStep": {
"shape_name": "HadoopJarStepConfig",
"type": "structure",
"members": {
"Properties": {
"shape_name": "KeyValueList",
"type": "list",
"members": {
"shape_name": "KeyValue",
"type": "structure",
"members": {
"Key": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The unique identifier of a key value pair.</p>\n "
},
"Value": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The value part of the identified key.</p>\n "
}
},
"documentation": "\n <p>A key value pair.</p>\n "
},
"documentation": "\n <p>A list of Java properties that are set when the step runs. You can use these properties to\n pass key value pairs to your main function.</p>\n "
},
"Jar": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>A path to a JAR file run during the step.</p>\n ",
"required": true
},
"MainClass": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a Main-Class in its manifest file.</p>\n "
},
"Args": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
}
},
"documentation": "\n <p>The JAR file used for the job flow step.</p>\n ",
"required": true
}
},
"documentation": "\n <p>Specification of a job flow step.</p>\n "
},
"documentation": "\n <p>A list of steps to be executed by the job flow.</p>\n "
},
"BootstrapActions": {
"shape_name": "BootstrapActionConfigList",
"type": "list",
"members": {
"shape_name": "BootstrapActionConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the bootstrap action.</p>\n ",
"required": true
},
"ScriptBootstrapAction": {
"shape_name": "ScriptBootstrapActionConfig",
"type": "structure",
"members": {
"Path": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>Location of the script to run during a bootstrap action. Can be either a location in Amazon\n S3 or on a local file system.</p>\n ",
"required": true
},
"Args": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>A list of command line arguments to pass to the bootstrap action script.</p>\n "
}
},
"documentation": "\n <p>The script run by the bootstrap action.</p>\n ",
"required": true
}
},
"documentation": "\n <p>Configuration of a bootstrap action.</p>\n "
},
"documentation": "\n <p> A list of bootstrap actions that will be run before Hadoop is started on the cluster\n nodes. </p>\n "
},
"SupportedProducts": {
"shape_name": "SupportedProductsList",
"type": "list",
"members": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": null
},
"documentation": "\n <p>A list of strings that indicates third-party software to use with the job flow. For more information, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html\">Use Third Party Applications with Amazon EMR</a>. Currently supported values are:</p>\n <ul> \n <li>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li>\n <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li>\n </ul>\n "
},
"NewSupportedProducts": {
"shape_name": "NewSupportedProductsList",
"type": "list",
"members": {
"shape_name": "SupportedProductConfig",
"type": "structure",
"members": {
"Name": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>The name of the product configuration.</p>\n "
},
"Args": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>The list of user-supplied arguments.</p>\n "
}
},
"documentation": "\n <p>The list of supported product configurations which allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments. </p>\n "
},
"documentation": "\n <p>A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation\n script as bootstrap action arguments. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html\">Launch a Job Flow on the MapR Distribution for Hadoop</a>. Currently supported values are:</p>\n <ul>\n <li>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li>\n <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li>\n <li>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition respectively.</li>\n </ul>\n "
},
"VisibleToAllUsers": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to <code>true</code>, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the job flow. If it is set to <code>false</code>, only the IAM user that created the job flow can view and manage it.</p>\n "
},
"JobFlowRole": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>An IAM role for the job flow. The EC2 instances of the job flow assume this role. The default role is <code>EMRJobflowDefault</code>. In order to use the default role, you must have already created it using the CLI.</p>\n "
},
"ServiceRole": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": "\n <p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>\n "
},
"Tags": {
"shape_name": "TagList",
"type": "list",
"members": {
"shape_name": "Tag",
"type": "structure",
"members": {
"Key": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>A user-defined key, which is the minimum required information for a valid tag. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
},
"Value": {
"shape_name": "String",
"type": "string",
"documentation": "\n <p>A user-defined value, which is optional in a tag. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
}
},
"documentation": "\n <p>A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clu\\\nsters to track your Amazon EMR resource allocation costs. \n For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. \n </p>\n "
},
"documentation": "\n <p>A list of tags to associate with a cluster and propagate to Amazon EC2 instances.</p>\n "
}
},
"documentation": "\n <p> Input to the <a>RunJobFlow</a> operation. </p>\n "
},
"output": {
"shape_name": "RunJobFlowOutput",
"type": "structure",
"members": {
"JobFlowId": {
"shape_name": "XmlStringMaxLen256",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 256,
"documentation": "\n <p>An unique identifier for the job flow.</p>\n "
}
},
"documentation": "\n <p> The result of the <a>RunJobFlow</a> operation. </p>\n "
},
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p> RunJobFlow creates and starts running a new job flow. The job flow will run the steps\n specified. Once the job flow completes, the cluster is stopped and the HDFS partition is\n lost. To prevent loss of data, configure the last step of the job flow to store results in\n Amazon S3. If the <a>JobFlowInstancesConfig</a> <code>KeepJobFlowAliveWhenNoSteps</code> parameter is\n set to <code>TRUE</code>, the job flow will transition to the WAITING state rather than\n shutting down once the steps have completed. </p>\n \n <p>For additional protection, you can set the \n <a>JobFlowInstancesConfig</a> <code>TerminationProtected</code> parameter to <code>TRUE</code> to lock the \n job flow and prevent it from being \n terminated by API call, user intervention, or in the event of a job flow error.</p>\n\n <p>A maximum of 256 steps are allowed in each job flow.</p>\n \n <p>If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html\">Add More than 256 Steps to a Job Flow</a> in the <i>Amazon Elastic MapReduce Developer's Guide</i>.</p>\n\n <p>For long running job flows, we recommend that you periodically store your results.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.RunJobFlow\nContent-Length: 734\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T210803Z\nX-Amz-Content-Sha256: 8676d21986e4628a89fb1232a1344063778d4ffc23d10be02b437e0d53a24db3\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=71f79725c4dbe77c0e842718485f0b37fe6df69e1153c80f7748ebd9617ca2f3\nAccept: */*\n\n\n{\n \"Name\": \"Development Job Flow\",\n \"Instances\": {\n \"KeepJobFlowAliveWhenNoSteps\": \"false\",\n \"TerminationProtected\": \"false\",\n \"InstanceGroups\": [{\n \"Name\": \"Master Instance Group\",\n \"InstanceRole\": \"MASTER\",\n \"InstanceCount\": 1,\n \"InstanceType\": \"m1.small\",\n \"Market\": \"ON_DEMAND\"\n }]\n },\n \"Steps\": [{\n \"Name\": \"Example Streaming Step\",\n \"ActionOnFailure\": \"CANCEL_AND_WAIT\",\n \"HadoopJarStep\": {\n \"Jar\": \"/home/hadoop/contrib/streaming/hadoop-streaming.jar\",\n \"Args\": [\n \"-input\",\n \"s3://elasticmapreduce/samples/wordcount/input\",\n \"-output\",\n \"s3://examples-bucket/example-output\",\n \"-mapper\",\n \"s3://elasticmapreduce/samples/wordcount/wordSplitter.py\",\n \"-reducer\",\n \"aggregate\"\n ]\n }\n }],\n \"BootstrapActions\": [],\n \"VisibleToAllUsers\": \"false\",\n \"NewSupportedProducts\": [],\n \"AmiVersion\": \"latest\"\n}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: a4406d6b-ed92-11e2-9787-192218ecb460\nContent-Type: application/x-amz-json-1.1\nContent-Length: 31\nDate: Mon, 15 Jul 2013 21:08:05 GMT\n\n{\"JobFlowId\": \"j-ZKIY4CKQRX72\"}\n </queryresponse>\n </examples>\n "
},
"SetTerminationProtection": {
"name": "SetTerminationProtection",
"input": {
"shape_name": "SetTerminationProtectionInput",
"type": "structure",
"members": {
"JobFlowIds": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p> A list of strings that uniquely identify the job flows to protect. This identifier is returned by\n <a>RunJobFlow</a> and can also be obtained from <a>DescribeJobFlows</a> . </p>\n ",
"required": true
},
"TerminationProtected": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p> A Boolean that indicates whether to protect the job flow and \n prevent the Amazon EC2 instances in the cluster from shutting down due to \n API calls, user intervention, or job-flow error. </p>\n ",
"required": true
}
},
"documentation": "\n <p> The input argument to the <a>TerminationProtection</a> operation. </p>\n "
},
"output": null,
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p> SetTerminationProtection locks a job flow so the Amazon EC2 instances in the cluster \n cannot be terminated by user intervention, an API call, or in the event of a job-flow error. \n The cluster still terminates upon successful completion of the job flow. Calling \n SetTerminationProtection on a job flow is analogous to calling the \n Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.</p>\n \n <p> SetTerminationProtection is used to prevent accidental termination of a job flow and to \n ensure that in the event of an error, the instances will persist so you can recover \n any data stored in their ephemeral instance storage.</p>\n \n <p> To terminate a job flow that has been locked by setting SetTerminationProtection to <code>true</code>, \n you must first unlock the job flow by a subsequent call to SetTerminationProtection \n in which you set the value to <code>false</code>. </p>\n \n <p> For more information, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html\">Protecting a Job Flow from Termination</a> in the \n <i>Amazon Elastic MapReduce Developer's Guide.</i></p>\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.SetTerminationProtection\nContent-Length: 61\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T211420Z\nX-Amz-Content-Sha256: c362fadae0fce377aa63f04388aeb90c53cedb17a8bfbb8cffcb10c2378137f9\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=764b6aa1a38733cadff35a2e884887e9f1208a422266bc83ac77e8d0b80bd4cf\nAccept: */*\n\n{\n \"JobFlowIds\": [\"j-3TS0OIYO4NFN\"],\n \"TerminationProtected\": true\n}\n</queryrequest>\n \n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: af23b1db-ee5c-11e2-9787-192218ecb460\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 21:14:21 GMT\n\n </queryresponse>\n </examples>\n "
},
"SetVisibleToAllUsers": {
"name": "SetVisibleToAllUsers",
"input": {
"shape_name": "SetVisibleToAllUsersInput",
"type": "structure",
"members": {
"JobFlowIds": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>Identifiers of the job flows to receive the new visibility setting.</p>\n ",
"required": true
},
"VisibleToAllUsers": {
"shape_name": "Boolean",
"type": "boolean",
"documentation": "\n <p>Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.</p>\n ",
"required": true
}
},
"documentation": "\n <p>The input to the SetVisibleToAllUsers action.</p>\n "
},
"output": null,
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p>Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified job flows. This action works on running job flows. You can also set the visibility of \n a job flow when you launch it using the <code>VisibleToAllUsers</code> parameter of <a>RunJobFlow</a>. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.</p>\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.SetVisibleToAllUsers\nContent-Length: 58\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T221616Z\nX-Amz-Content-Sha256: 2ff32d11eab2383d764ffcb97571454e798689ecd09a7b1bb2327e22b0b930d4\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=e1a00b37787d9ccc43c9de32f1f0a73813b0bd6643d4db7762b62a7092d51997\nAccept: */*\n\n{\n \"JobFlowIds\": [\"j-ZKIY4CKQRX72\"],\n \"VisibleToAllUsers\": true\n}\n\n</queryrequest>\n \n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 2be9cde9-ed9c-11e2-82b6-2351cde3f33f\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Mon, 15 Jul 2013 22:16:18 GMT\n\n\n </queryresponse>\n </examples>\n "
},
"TerminateJobFlows": {
"name": "TerminateJobFlows",
"input": {
"shape_name": "TerminateJobFlowsInput",
"type": "structure",
"members": {
"JobFlowIds": {
"shape_name": "XmlStringList",
"type": "list",
"members": {
"shape_name": "XmlString",
"type": "string",
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
"min_length": 0,
"max_length": 10280,
"documentation": null
},
"documentation": "\n <p>A list of job flows to be shutdown.</p>\n ",
"required": true
}
},
"documentation": "\n <p> Input to the <a>TerminateJobFlows</a> operation. </p>\n "
},
"output": null,
"errors": [
{
"shape_name": "InternalServerError",
"type": "structure",
"members": {},
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
}
],
"documentation": "\n <p> \n TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step\n not yet completed is canceled and the EC2 instances on which the job flow is running are\n stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was\n specified when the job flow was created. \n </p>\n <p>\n The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, \n it may take up to 5-20 minutes for the job flow to \n completely terminate and release allocated resources, such as Amazon EC2 instances.\n </p>\n \n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.TerminateJobFlows\nContent-Length: 33\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T211858Z\nX-Amz-Content-Sha256: ab64713f61e066e80a6083844b9249b6c6362d34a7ae7393047aa46d38b9e315\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=9791416eaf09f36aa753a324b0de27ff5cc7084b8548cc748487a2bcb3439d58\nAccept: */*\n\n{\"JobFlowIds\": [\"j-3TS0OIYO4NFN\"]}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 5551a7c9-ee5d-11e2-9542-25296c300ff0\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 21:18:59 GMT\n </queryresponse>\n </examples>\n "
}
},
"metadata": {
"regions": {
"us-east-1": null,
"ap-northeast-1": "http://ap-northeast-1.elasticmapreduce.amazonaws.com/",
"sa-east-1": "http://sa-east-1.elasticmapreduce.amazonaws.com/",
"ap-southeast-1": "http://ap-southeast-1.elasticmapreduce.amazonaws.com/",
"ap-southeast-2": "http://ap-southeast-2.elasticmapreduce.amazonaws.com/",
"us-west-2": "http://us-west-2.elasticmapreduce.amazonaws.com/",
"us-west-1": "http://us-west-1.elasticmapreduce.amazonaws.com/",
"eu-west-1": "http://eu-west-1.elasticmapreduce.amazonaws.com/",
"us-gov-west-1": null,
"cn-north-1": "https://elasticmapreduce.cn-north-1.amazonaws.com.cn"
},
"protocols": [
"https"
]
},
"pagination": {
"ListBootstrapActions": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "BootstrapActions",
"py_input_token": "marker"
},
"ListClusters": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "Clusters",
"py_input_token": "marker"
},
"ListInstanceGroups": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "InstanceGroups",
"py_input_token": "marker"
},
"ListInstances": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "Instances",
"py_input_token": "marker"
},
"ListSteps": {
"input_token": "Marker",
"output_token": "Marker",
"result_key": "Steps",
"py_input_token": "marker"
}
},
"waiters": {
"ClusterRunning": {
"success": {
"path": "Cluster.Status.State",
"type": "output",
"value": [
"RUNNING",
"WAITING"
]
},
"interval": 30,
"failure": {
"path": "Cluster.Status.State",
"type": "output",
"value": [
"TERMINATING",
"TERMINATED",
"TERMINATED_WITH_ERRORS"
]
},
"operation": "DescribeCluster",
"max_attempts": 60
}
},
"retry": {
"__default__": {
"max_attempts": 5,
"delay": {
"type": "exponential",
"base": "rand",
"growth_factor": 2
},
"policies": {
"general_socket_errors": {
"applies_when": {
"socket_errors": [
"GENERAL_CONNECTION_ERROR"
]
}
},
"general_server_error": {
"applies_when": {
"response": {
"http_status_code": 500
}
}
},
"service_unavailable": {
"applies_when": {
"response": {
"http_status_code": 503
}
}
},
"limit_exceeded": {
"applies_when": {
"response": {
"http_status_code": 509
}
}
},
"throttling": {
"applies_when": {
"response": {
"service_error_code": "ThrottlingException",
"http_status_code": 400
}
}
}
}
}
}
}