/api/vendor/aws/aws-sdk-php/src/Aws/Emr/Resources/emr-2009-03-31.php
https://gitlab.com/x33n/respond · PHP · 1213 lines · 1197 code · 2 blank · 14 comment · 0 complexity · 5638e9ce173383cc80654af2876d938f MD5 · raw file
- <?php
- /**
- * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License").
- * You may not use this file except in compliance with the License.
- * A copy of the License is located at
- *
- * http://aws.amazon.com/apache2.0
- *
- * or in the "license" file accompanying this file. This file is distributed
- * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
- * express or implied. See the License for the specific language governing
- * permissions and limitations under the License.
- */
- return array (
- 'apiVersion' => '2009-03-31',
- 'endpointPrefix' => 'elasticmapreduce',
- 'serviceFullName' => 'Amazon Elastic MapReduce',
- 'serviceAbbreviation' => 'Amazon EMR',
- 'serviceType' => 'json',
- 'jsonVersion' => '1.1',
- 'targetPrefix' => 'ElasticMapReduce.',
- 'timestampFormat' => 'unixTimestamp',
- 'signatureVersion' => 'v4',
- 'namespace' => 'Emr',
- 'regions' => array(
- 'us-east-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.us-east-1.amazonaws.com',
- ),
- 'us-west-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.us-west-1.amazonaws.com',
- ),
- 'us-west-2' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.us-west-2.amazonaws.com',
- ),
- 'eu-west-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.eu-west-1.amazonaws.com',
- ),
- 'ap-northeast-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.ap-northeast-1.amazonaws.com',
- ),
- 'ap-southeast-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.ap-southeast-1.amazonaws.com',
- ),
- 'ap-southeast-2' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.ap-southeast-2.amazonaws.com',
- ),
- 'sa-east-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.sa-east-1.amazonaws.com',
- ),
- 'cn-north-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.cn-north-1.amazonaws.com.cn',
- ),
- 'us-gov-west-1' => array(
- 'http' => true,
- 'https' => true,
- 'hostname' => 'elasticmapreduce.us-gov-west-1.amazonaws.com',
- ),
- ),
- 'operations' => array(
- 'AddInstanceGroups' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'AddInstanceGroupsOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.AddInstanceGroups',
- ),
- 'InstanceGroups' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'InstanceGroupConfig',
- 'type' => 'object',
- 'properties' => array(
- 'Name' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'Market' => array(
- 'type' => 'string',
- ),
- 'InstanceRole' => array(
- 'required' => true,
- 'type' => 'string',
- ),
- 'BidPrice' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'InstanceType' => array(
- 'required' => true,
- 'type' => 'string',
- 'minLength' => 1,
- 'maxLength' => 256,
- ),
- 'InstanceCount' => array(
- 'required' => true,
- 'type' => 'numeric',
- ),
- ),
- ),
- ),
- 'JobFlowId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 256,
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'AddJobFlowSteps' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'AddJobFlowStepsOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.AddJobFlowSteps',
- ),
- 'JobFlowId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 256,
- ),
- 'Steps' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'StepConfig',
- 'type' => 'object',
- 'properties' => array(
- 'Name' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'ActionOnFailure' => array(
- 'type' => 'string',
- ),
- 'HadoopJarStep' => array(
- 'required' => true,
- 'type' => 'object',
- 'properties' => array(
- 'Properties' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'KeyValue',
- 'type' => 'object',
- 'properties' => array(
- 'Key' => array(
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'Value' => array(
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- ),
- 'Jar' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'MainClass' => array(
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'Args' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- ),
- ),
- ),
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'AddTags' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'EmptyOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.AddTags',
- ),
- 'ResourceId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'Tags' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'Tag',
- 'type' => 'object',
- 'properties' => array(
- 'Key' => array(
- 'type' => 'string',
- ),
- 'Value' => array(
- 'type' => 'string',
- ),
- ),
- ),
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'DescribeCluster' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'DescribeClusterOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.DescribeCluster',
- ),
- 'ClusterId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'DescribeJobFlows' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'DescribeJobFlowsOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.DescribeJobFlows',
- ),
- 'CreatedAfter' => array(
- 'type' => array(
- 'object',
- 'string',
- 'integer',
- ),
- 'format' => 'timestamp',
- 'location' => 'json',
- ),
- 'CreatedBefore' => array(
- 'type' => array(
- 'object',
- 'string',
- 'integer',
- ),
- 'format' => 'timestamp',
- 'location' => 'json',
- ),
- 'JobFlowIds' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- 'JobFlowStates' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'JobFlowExecutionState',
- 'type' => 'string',
- ),
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'DescribeStep' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'DescribeStepOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.DescribeStep',
- ),
- 'ClusterId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'StepId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'ListBootstrapActions' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'ListBootstrapActionsOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.ListBootstrapActions',
- ),
- 'ClusterId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'Marker' => array(
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'ListClusters' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'ListClustersOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.ListClusters',
- ),
- 'CreatedAfter' => array(
- 'type' => array(
- 'object',
- 'string',
- 'integer',
- ),
- 'format' => 'timestamp',
- 'location' => 'json',
- ),
- 'CreatedBefore' => array(
- 'type' => array(
- 'object',
- 'string',
- 'integer',
- ),
- 'format' => 'timestamp',
- 'location' => 'json',
- ),
- 'ClusterStates' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'ClusterState',
- 'type' => 'string',
- ),
- ),
- 'Marker' => array(
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'ListInstanceGroups' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'ListInstanceGroupsOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.ListInstanceGroups',
- ),
- 'ClusterId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'Marker' => array(
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'ListInstances' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'ListInstancesOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.ListInstances',
- ),
- 'ClusterId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'InstanceGroupId' => array(
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'InstanceGroupTypes' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'InstanceGroupType',
- 'type' => 'string',
- ),
- ),
- 'Marker' => array(
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'ListSteps' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'ListStepsOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.ListSteps',
- ),
- 'ClusterId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'StepStates' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'StepState',
- 'type' => 'string',
- ),
- ),
- 'StepIds' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- 'Marker' => array(
- 'type' => 'string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'ModifyInstanceGroups' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'EmptyOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.ModifyInstanceGroups',
- ),
- 'InstanceGroups' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'InstanceGroupModifyConfig',
- 'type' => 'object',
- 'properties' => array(
- 'InstanceGroupId' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'InstanceCount' => array(
- 'type' => 'numeric',
- ),
- 'EC2InstanceIdsToTerminate' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'InstanceId',
- 'type' => 'string',
- ),
- ),
- ),
- ),
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'RemoveTags' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'EmptyOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.RemoveTags',
- ),
- 'ResourceId' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- ),
- 'TagKeys' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'String',
- 'type' => 'string',
- ),
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
- 'class' => 'InternalServerException',
- ),
- array(
- 'reason' => 'This exception occurs when there is something wrong with user input.',
- 'class' => 'InvalidRequestException',
- ),
- ),
- ),
- 'RunJobFlow' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'RunJobFlowOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.RunJobFlow',
- ),
- 'Name' => array(
- 'required' => true,
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 256,
- ),
- 'LogUri' => array(
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 10280,
- ),
- 'AdditionalInfo' => array(
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 10280,
- ),
- 'AmiVersion' => array(
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 256,
- ),
- 'Instances' => array(
- 'required' => true,
- 'type' => 'object',
- 'location' => 'json',
- 'properties' => array(
- 'MasterInstanceType' => array(
- 'type' => 'string',
- 'minLength' => 1,
- 'maxLength' => 256,
- ),
- 'SlaveInstanceType' => array(
- 'type' => 'string',
- 'minLength' => 1,
- 'maxLength' => 256,
- ),
- 'InstanceCount' => array(
- 'type' => 'numeric',
- ),
- 'InstanceGroups' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'InstanceGroupConfig',
- 'type' => 'object',
- 'properties' => array(
- 'Name' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'Market' => array(
- 'type' => 'string',
- ),
- 'InstanceRole' => array(
- 'required' => true,
- 'type' => 'string',
- ),
- 'BidPrice' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'InstanceType' => array(
- 'required' => true,
- 'type' => 'string',
- 'minLength' => 1,
- 'maxLength' => 256,
- ),
- 'InstanceCount' => array(
- 'required' => true,
- 'type' => 'numeric',
- ),
- ),
- ),
- ),
- 'Ec2KeyName' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'Placement' => array(
- 'type' => 'object',
- 'properties' => array(
- 'AvailabilityZone' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- 'KeepJobFlowAliveWhenNoSteps' => array(
- 'type' => 'boolean',
- 'format' => 'boolean-string',
- ),
- 'TerminationProtected' => array(
- 'type' => 'boolean',
- 'format' => 'boolean-string',
- ),
- 'HadoopVersion' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'Ec2SubnetId' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- ),
- ),
- 'Steps' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'StepConfig',
- 'type' => 'object',
- 'properties' => array(
- 'Name' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'ActionOnFailure' => array(
- 'type' => 'string',
- ),
- 'HadoopJarStep' => array(
- 'required' => true,
- 'type' => 'object',
- 'properties' => array(
- 'Properties' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'KeyValue',
- 'type' => 'object',
- 'properties' => array(
- 'Key' => array(
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'Value' => array(
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- ),
- 'Jar' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'MainClass' => array(
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'Args' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- ),
- ),
- ),
- ),
- 'BootstrapActions' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'BootstrapActionConfig',
- 'type' => 'object',
- 'properties' => array(
- 'Name' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'ScriptBootstrapAction' => array(
- 'required' => true,
- 'type' => 'object',
- 'properties' => array(
- 'Path' => array(
- 'required' => true,
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- 'Args' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- ),
- ),
- ),
- ),
- 'SupportedProducts' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'XmlStringMaxLen256',
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- ),
- 'NewSupportedProducts' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'SupportedProductConfig',
- 'type' => 'object',
- 'properties' => array(
- 'Name' => array(
- 'type' => 'string',
- 'maxLength' => 256,
- ),
- 'Args' => array(
- 'type' => 'array',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- ),
- ),
- ),
- 'VisibleToAllUsers' => array(
- 'type' => 'boolean',
- 'format' => 'boolean-string',
- 'location' => 'json',
- ),
- 'JobFlowRole' => array(
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 10280,
- ),
- 'ServiceRole' => array(
- 'type' => 'string',
- 'location' => 'json',
- 'maxLength' => 10280,
- ),
- 'Tags' => array(
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'Tag',
- 'type' => 'object',
- 'properties' => array(
- 'Key' => array(
- 'type' => 'string',
- ),
- 'Value' => array(
- 'type' => 'string',
- ),
- ),
- ),
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'SetTerminationProtection' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'EmptyOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.SetTerminationProtection',
- ),
- 'JobFlowIds' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- 'TerminationProtected' => array(
- 'required' => true,
- 'type' => 'boolean',
- 'format' => 'boolean-string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'SetVisibleToAllUsers' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'EmptyOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.SetVisibleToAllUsers',
- ),
- 'JobFlowIds' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',
- 'maxLength' => 10280,
- ),
- ),
- 'VisibleToAllUsers' => array(
- 'required' => true,
- 'type' => 'boolean',
- 'format' => 'boolean-string',
- 'location' => 'json',
- ),
- ),
- 'errorResponses' => array(
- array(
- 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
- 'class' => 'InternalServerErrorException',
- ),
- ),
- ),
- 'TerminateJobFlows' => array(
- 'httpMethod' => 'POST',
- 'uri' => '/',
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
- 'responseClass' => 'EmptyOutput',
- 'responseType' => 'model',
- 'parameters' => array(
- 'Content-Type' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'application/x-amz-json-1.1',
- ),
- 'command.expects' => array(
- 'static' => true,
- 'default' => 'application/json',
- ),
- 'X-Amz-Target' => array(
- 'static' => true,
- 'location' => 'header',
- 'default' => 'ElasticMapReduce.TerminateJobFlows',
- ),
- 'JobFlowIds' => array(
- 'required' => true,
- 'type' => 'array',
- 'location' => 'json',
- 'items' => array(
- 'name' => 'XmlString',
- 'type' => 'string',