aws-sdk-core 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.simplecov +6 -0
- data/.travis.yml +12 -0
- data/.yardopts +11 -0
- data/Gemfile +26 -0
- data/LICENSE.txt +12 -0
- data/README.md +169 -0
- data/Rakefile +15 -0
- data/apis/AutoScaling-2011-01-01.json +1852 -0
- data/apis/CloudFormation-2010-05-15.json +981 -0
- data/apis/CloudFront-2012-05-05.json +3861 -0
- data/apis/CloudFront-2013-05-12.json +4593 -0
- data/apis/CloudFront-2013-08-26.json +4849 -0
- data/apis/CloudSearch-2011-02-01.json +2080 -0
- data/apis/CloudWatch-2010-08-01.json +1206 -0
- data/apis/DataPipeline-2012-10-29.json +901 -0
- data/apis/DirectConnect-2012-10-25.json +825 -0
- data/apis/DynamoDB-2011-12-05.json +2857 -0
- data/apis/DynamoDB-2012-08-10.json +3127 -0
- data/apis/EC2-2013-06-15.json +13600 -0
- data/apis/EC2-2013-10-01.json +14574 -0
- data/apis/EMR-2009-03-31.json +957 -0
- data/apis/ElastiCache-2012-11-15.json +2921 -0
- data/apis/ElastiCache-2013-06-15.json +3586 -0
- data/apis/ElasticBeanstalk-2010-12-01.json +2225 -0
- data/apis/ElasticLoadBalancing-2012-06-01.json +1215 -0
- data/apis/ElasticTranscoder-2012-09-25.json +3692 -0
- data/apis/Glacier-2012-06-01.json +1058 -0
- data/apis/IAM-2010-05-08.json +2863 -0
- data/apis/ImportExport-2010-06-01.json +328 -0
- data/apis/OpsWorks-2013-02-18.json +3546 -0
- data/apis/RDS-2013-01-10.json +6772 -0
- data/apis/RDS-2013-02-12.json +7151 -0
- data/apis/RDS-2013-05-15.json +7809 -0
- data/apis/Redshift-2012-12-01.json +4180 -0
- data/apis/Route53-2012-12-12.json +1018 -0
- data/apis/S3-2006-03-01.json +3787 -0
- data/apis/SDB-2009-04-15.json +539 -0
- data/apis/SES-2010-12-01.json +678 -0
- data/apis/SNS-2010-03-31.json +870 -0
- data/apis/SQS-2012-11-05.json +798 -0
- data/apis/STS-2011-06-15.json +352 -0
- data/apis/SWF-2012-01-25.json +5451 -0
- data/apis/StorageGateway-2012-06-30.json +1696 -0
- data/apis/Support-2013-04-15.json +794 -0
- data/apis/configuration/endpoints.json +1337 -0
- data/apis/source/autoscaling-2011-01-01.json +3215 -0
- data/apis/source/autoscaling-2011-01-01.paginators.json +52 -0
- data/apis/source/cloudformation-2010-05-15.json +1260 -0
- data/apis/source/cloudformation-2010-05-15.paginators.json +24 -0
- data/apis/source/cloudfront-2012-05-05.json +6588 -0
- data/apis/source/cloudfront-2012-05-05.paginators.json +28 -0
- data/apis/source/cloudfront-2013-05-12.json +7614 -0
- data/apis/source/cloudfront-2013-05-12.paginators.json +28 -0
- data/apis/source/cloudfront-2013-08-26.json +8016 -0
- data/apis/source/cloudfront-2013-08-26.paginators.json +28 -0
- data/apis/source/cloudsearch-2011-02-01.json +3585 -0
- data/apis/source/cloudsearch-2011-02-01.paginators.json +13 -0
- data/apis/source/datapipeline-2012-10-29.json +2144 -0
- data/apis/source/datapipeline-2012-10-29.paginators.json +25 -0
- data/apis/source/directconnect-2012-10-25.json +1271 -0
- data/apis/source/directconnect-2012-10-25.paginators.json +16 -0
- data/apis/source/dynamodb-2011-12-05.json +4380 -0
- data/apis/source/dynamodb-2011-12-05.paginators.json +24 -0
- data/apis/source/dynamodb-2012-08-10.json +4839 -0
- data/apis/source/dynamodb-2012-08-10.paginators.json +24 -0
- data/apis/source/ec2-2013-02-01.json +18820 -0
- data/apis/source/ec2-2013-02-01.paginators.json +115 -0
- data/apis/source/ec2-2013-06-15.json +18820 -0
- data/apis/source/ec2-2013-06-15.paginators.json +115 -0
- data/apis/source/ec2-2013-10-01.json +19885 -0
- data/apis/source/ec2-2013-10-01.paginators.json +115 -0
- data/apis/source/elasticache-2012-11-15.json +4403 -0
- data/apis/source/elasticache-2012-11-15.paginators.json +64 -0
- data/apis/source/elasticache-2013-06-15.json +5421 -0
- data/apis/source/elasticache-2013-06-15.paginators.json +64 -0
- data/apis/source/elasticbeanstalk-2010-12-01.json +3151 -0
- data/apis/source/elasticbeanstalk-2010-12-01.paginators.json +25 -0
- data/apis/source/elasticloadbalancing-2012-06-01.json +2041 -0
- data/apis/source/elasticloadbalancing-2012-06-01.paginators.json +18 -0
- data/apis/source/elasticmapreduce-2009-03-31.json +1478 -0
- data/apis/source/elasticmapreduce-2009-03-31.paginators.json +7 -0
- data/apis/source/elastictranscoder-2012-09-25.json +6148 -0
- data/apis/source/elastictranscoder-2012-09-25.paginators.json +20 -0
- data/apis/source/email-2010-12-01.json +892 -0
- data/apis/source/email-2010-12-01.paginators.json +13 -0
- data/apis/source/glacier-2012-06-01.json +3147 -0
- data/apis/source/glacier-2012-06-01.paginators.json +28 -0
- data/apis/source/iam-2010-05-08.json +5857 -0
- data/apis/source/iam-2010-05-08.paginators.json +116 -0
- data/apis/source/importexport-2010-06-01.json +876 -0
- data/apis/source/importexport-2010-06-01.paginators.json +10 -0
- data/apis/source/monitoring-2010-08-01.json +1910 -0
- data/apis/source/monitoring-2010-08-01.paginators.json +24 -0
- data/apis/source/opsworks-2013-02-18.json +5848 -0
- data/apis/source/opsworks-2013-02-18.paginators.json +46 -0
- data/apis/source/rds-2013-01-10.json +9283 -0
- data/apis/source/rds-2013-01-10.paginators.json +105 -0
- data/apis/source/rds-2013-02-12.json +9777 -0
- data/apis/source/rds-2013-02-12.paginators.json +105 -0
- data/apis/source/rds-2013-05-15.json +10618 -0
- data/apis/source/rds-2013-05-15.paginators.json +105 -0
- data/apis/source/redshift-2012-12-01.json +5742 -0
- data/apis/source/redshift-2012-12-01.paginators.json +74 -0
- data/apis/source/route53-2012-12-12.json +2067 -0
- data/apis/source/route53-2012-12-12.paginators.json +33 -0
- data/apis/source/s3-2006-03-01.json +4261 -0
- data/apis/source/s3-2006-03-01.paginators.json +46 -0
- data/apis/source/sdb-2009-04-15.json +1145 -0
- data/apis/source/sdb-2009-04-15.paginators.json +15 -0
- data/apis/source/sns-2010-03-31.json +2234 -0
- data/apis/source/sns-2010-03-31.paginators.json +19 -0
- data/apis/source/sqs-2012-11-05.json +1162 -0
- data/apis/source/sqs-2012-11-05.paginators.json +7 -0
- data/apis/source/storagegateway-2012-06-30.json +9487 -0
- data/apis/source/storagegateway-2012-06-30.paginators.json +28 -0
- data/apis/source/sts-2011-06-15.json +627 -0
- data/apis/source/support-2013-04-15.json +1261 -0
- data/apis/source/support-2013-04-15.paginators.json +31 -0
- data/apis/source/swf-2012-01-25.json +8744 -0
- data/apis/source/swf-2012-01-25.paginators.json +46 -0
- data/aws-sdk-core.gemspec +21 -0
- data/bin/aws.rb +156 -0
- data/doc-src/images/lastnode.png +0 -0
- data/doc-src/images/node.png +0 -0
- data/doc-src/images/vline.png +0 -0
- data/doc-src/plugins/apis.rb +205 -0
- data/doc-src/templates/default/fulldoc/html/css/common.css +90 -0
- data/doc-src/templates/default/fulldoc/html/js/tabs.js +21 -0
- data/doc-src/templates/default/fulldoc/html/setup.rb +61 -0
- data/doc-src/templates/default/layout/html/footer.erb +29 -0
- data/doc-src/templates/default/layout/html/setup.rb +3 -0
- data/features/autoscaling/client.feature +22 -0
- data/features/autoscaling/setup.rb +6 -0
- data/features/cloudformation/client.feature +18 -0
- data/features/cloudformation/setup.rb +6 -0
- data/features/cloudfront/client.feature +21 -0
- data/features/cloudfront/setup.rb +6 -0
- data/features/cloudsearch/client.feature +18 -0
- data/features/cloudsearch/setup.rb +6 -0
- data/features/cloudwatch/client.feature +21 -0
- data/features/cloudwatch/setup.rb +6 -0
- data/features/common/step_definitions.rb +65 -0
- data/features/datapipeline/client.feature +18 -0
- data/features/datapipeline/setup.rb +6 -0
- data/features/directconnect/client.feature +18 -0
- data/features/directconnect/setup.rb +6 -0
- data/features/dynamodb/client.feature +21 -0
- data/features/dynamodb/setup.rb +8 -0
- data/features/dynamodb/simplified.feature +32 -0
- data/features/dynamodb/step_definitions.rb +3 -0
- data/features/ec2/client.feature +21 -0
- data/features/ec2/setup.rb +6 -0
- data/features/ec2/step_definitions.rb +19 -0
- data/features/elasticache/client.feature +18 -0
- data/features/elasticache/setup.rb +6 -0
- data/features/elasticbeanstalk/client.feature +18 -0
- data/features/elasticbeanstalk/setup.rb +6 -0
- data/features/elasticloadbalancing/client.feature +18 -0
- data/features/elasticloadbalancing/setup.rb +6 -0
- data/features/elastictranscoder/client.feature +18 -0
- data/features/elastictranscoder/setup.rb +6 -0
- data/features/emr/client.feature +18 -0
- data/features/emr/setup.rb +6 -0
- data/features/env.rb +23 -0
- data/features/glacier/client.feature +28 -0
- data/features/glacier/setup.rb +16 -0
- data/features/glacier/step_definitions.rb +25 -0
- data/features/iam/client.feature +18 -0
- data/features/iam/setup.rb +6 -0
- data/features/importexport/client.feature +18 -0
- data/features/importexport/setup.rb +6 -0
- data/features/opsworks/client.feature +18 -0
- data/features/opsworks/setup.rb +6 -0
- data/features/rds/client.feature +18 -0
- data/features/rds/setup.rb +6 -0
- data/features/redshift/client.feature +18 -0
- data/features/redshift/setup.rb +6 -0
- data/features/route53/client.feature +18 -0
- data/features/route53/setup.rb +6 -0
- data/features/s3/buckets.feature +22 -0
- data/features/s3/objects.feature +18 -0
- data/features/s3/setup.rb +17 -0
- data/features/s3/step_definitions.rb +66 -0
- data/features/s3/test.png +0 -0
- data/features/sdb/client.feature +18 -0
- data/features/sdb/setup.rb +6 -0
- data/features/ses/client.feature +18 -0
- data/features/ses/setup.rb +6 -0
- data/features/sns/client.feature +18 -0
- data/features/sns/setup.rb +6 -0
- data/features/sqs/client.feature +23 -0
- data/features/sqs/setup.rb +10 -0
- data/features/sqs/step_definitions.rb +18 -0
- data/features/storagegateway/client.feature +18 -0
- data/features/storagegateway/setup.rb +6 -0
- data/features/sts/client.feature +18 -0
- data/features/sts/setup.rb +6 -0
- data/features/swf/client.feature +21 -0
- data/features/swf/setup.rb +6 -0
- data/integration-test-config.json.sample +3 -0
- data/lib/aws-sdk-core.rb +11 -0
- data/lib/aws.rb +175 -0
- data/lib/aws/api/base_translator.rb +72 -0
- data/lib/aws/api/doc_example.rb +116 -0
- data/lib/aws/api/documentor.rb +140 -0
- data/lib/aws/api/operation_translator.rb +77 -0
- data/lib/aws/api/service_namer.rb +40 -0
- data/lib/aws/api/service_translators/cloud_front.rb +19 -0
- data/lib/aws/api/service_translators/dynamo_db.rb +7 -0
- data/lib/aws/api/service_translators/glacier.rb +37 -0
- data/lib/aws/api/service_translators/import_export.rb +15 -0
- data/lib/aws/api/service_translators/route53.rb +23 -0
- data/lib/aws/api/service_translators/s3.rb +11 -0
- data/lib/aws/api/service_translators/sqs.rb +10 -0
- data/lib/aws/api/service_translators/swf.rb +7 -0
- data/lib/aws/api/shape_translator.rb +96 -0
- data/lib/aws/api/translator.rb +150 -0
- data/lib/aws/api/visitor.rb +32 -0
- data/lib/aws/credentials.rb +35 -0
- data/lib/aws/error_handler.rb +48 -0
- data/lib/aws/errors.rb +83 -0
- data/lib/aws/json/builder.rb +77 -0
- data/lib/aws/json/error_parser.rb +20 -0
- data/lib/aws/json/parser.rb +67 -0
- data/lib/aws/json/serializer.rb +15 -0
- data/lib/aws/plugins/credentials.rb +48 -0
- data/lib/aws/plugins/dynamodb_extended_retries.rb +22 -0
- data/lib/aws/plugins/glacier_api_version.rb +19 -0
- data/lib/aws/plugins/glacier_checksums.rb +100 -0
- data/lib/aws/plugins/global_configuration.rb +79 -0
- data/lib/aws/plugins/json_protocol.rb +30 -0
- data/lib/aws/plugins/json_rpc_headers.rb +34 -0
- data/lib/aws/plugins/query_protocol.rb +11 -0
- data/lib/aws/plugins/regional_endpoint.rb +37 -0
- data/lib/aws/plugins/retry_errors.rb +149 -0
- data/lib/aws/plugins/s3_bucket_dns.rb +78 -0
- data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +38 -0
- data/lib/aws/plugins/s3_get_bucket_location_fix.rb +21 -0
- data/lib/aws/plugins/s3_md5s.rb +61 -0
- data/lib/aws/plugins/s3_redirects.rb +38 -0
- data/lib/aws/plugins/s3_regional_endpoint.rb +19 -0
- data/lib/aws/plugins/s3_signer.rb +9 -0
- data/lib/aws/plugins/signature_v2.rb +9 -0
- data/lib/aws/plugins/signature_v3.rb +9 -0
- data/lib/aws/plugins/signature_v4.rb +29 -0
- data/lib/aws/plugins/sqs_queue_urls.rb +33 -0
- data/lib/aws/plugins/swf_read_timeouts.rb +23 -0
- data/lib/aws/plugins/user_agent.rb +32 -0
- data/lib/aws/plugins/xml_protocol.rb +11 -0
- data/lib/aws/query/builder.rb +102 -0
- data/lib/aws/query/param.rb +43 -0
- data/lib/aws/query/param_list.rb +91 -0
- data/lib/aws/query/serializer.rb +24 -0
- data/lib/aws/request_handler.rb +39 -0
- data/lib/aws/response_handler.rb +38 -0
- data/lib/aws/service.rb +237 -0
- data/lib/aws/signers/base.rb +29 -0
- data/lib/aws/signers/handler.rb +18 -0
- data/lib/aws/signers/s3.rb +162 -0
- data/lib/aws/signers/v2.rb +48 -0
- data/lib/aws/signers/v3.rb +34 -0
- data/lib/aws/signers/v4.rb +142 -0
- data/lib/aws/structure.rb +38 -0
- data/lib/aws/timestamp_formatter.rb +16 -0
- data/lib/aws/util.rb +38 -0
- data/lib/aws/version.rb +3 -0
- data/lib/aws/xml/builder.rb +134 -0
- data/lib/aws/xml/error_parser.rb +24 -0
- data/lib/aws/xml/parser.rb +147 -0
- data/lib/aws/xml/serializer.rb +16 -0
- data/spec/aws/credentials_spec.rb +39 -0
- data/spec/aws/iam_spec.rb +17 -0
- data/spec/aws/json/builder_spec.rb +183 -0
- data/spec/aws/json/parser_spec.rb +238 -0
- data/spec/aws/operations_spec.rb +145 -0
- data/spec/aws/plugins/credentials_spec.rb +76 -0
- data/spec/aws/plugins/global_configuration_spec.rb +56 -0
- data/spec/aws/plugins/region_endpoint_spec.rb +77 -0
- data/spec/aws/plugins/retry_errors_spec.rb +253 -0
- data/spec/aws/query/builder_spec.rb +361 -0
- data/spec/aws/query/param_list_spec.rb +80 -0
- data/spec/aws/query/param_spec.rb +59 -0
- data/spec/aws/service_spec.rb +247 -0
- data/spec/aws/signers/v4_spec.rb +141 -0
- data/spec/aws/structure_spec.rb +103 -0
- data/spec/aws/xml/builder_spec.rb +404 -0
- data/spec/aws/xml/parser_spec.rb +716 -0
- data/spec/aws_spec.rb +89 -0
- data/spec/fixtures/api/swf.json +100 -0
- data/spec/fixtures/operations/cloudfront/list_distributions.yml +195 -0
- data/spec/fixtures/operations/cloudfront/max_items.yml +12 -0
- data/spec/fixtures/operations/dynamodb/error_parsing.yml +13 -0
- data/spec/fixtures/operations/glacier/error_parsing.yml +10 -0
- data/spec/fixtures/operations/glacier/list_vaults.yml +24 -0
- data/spec/fixtures/operations/iam/result_wrapped_elements.yml +31 -0
- data/spec/fixtures/operations/s3/304_response.yml +12 -0
- data/spec/fixtures/operations/s3/400_response.yml +12 -0
- data/spec/fixtures/operations/s3/403_response.yml +12 -0
- data/spec/fixtures/operations/s3/404_response.yml +12 -0
- data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +18 -0
- data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +25 -0
- data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +9 -0
- data/spec/fixtures/operations/s3/delete_objects.yml +54 -0
- data/spec/fixtures/operations/s3/error_parsing.yml +17 -0
- data/spec/fixtures/operations/s3/get_bucket_location.yml +17 -0
- data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +17 -0
- data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +12 -0
- data/spec/fixtures/operations/s3/head_object.yml +50 -0
- data/spec/fixtures/operations/s3/list_buckets.yml +41 -0
- data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +10 -0
- data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +8 -0
- data/spec/fixtures/operations/swf/list_domains.yml +20 -0
- data/spec/spec_helper.rb +55 -0
- data/tasks/apis.rake +51 -0
- data/tasks/docs.rake +59 -0
- data/tasks/test.rake +39 -0
- data/vendor/seahorse/.gitignore +5 -0
- data/vendor/seahorse/.simplecov +4 -0
- data/vendor/seahorse/.yardopts +10 -0
- data/vendor/seahorse/Gemfile +20 -0
- data/vendor/seahorse/LICENSE.txt +12 -0
- data/vendor/seahorse/README.md +129 -0
- data/vendor/seahorse/Rakefile +7 -0
- data/vendor/seahorse/ca-bundle.crt +3554 -0
- data/vendor/seahorse/lib/seahorse.rb +6 -0
- data/vendor/seahorse/lib/seahorse/client.rb +61 -0
- data/vendor/seahorse/lib/seahorse/client/base.rb +239 -0
- data/vendor/seahorse/lib/seahorse/client/block_io.rb +39 -0
- data/vendor/seahorse/lib/seahorse/client/configuration.rb +197 -0
- data/vendor/seahorse/lib/seahorse/client/handler.rb +26 -0
- data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +49 -0
- data/vendor/seahorse/lib/seahorse/client/handler_list.rb +250 -0
- data/vendor/seahorse/lib/seahorse/client/http/endpoint.rb +95 -0
- data/vendor/seahorse/lib/seahorse/client/http/headers.rb +94 -0
- data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +11 -0
- data/vendor/seahorse/lib/seahorse/client/http/request.rb +78 -0
- data/vendor/seahorse/lib/seahorse/client/http/response.rb +45 -0
- data/vendor/seahorse/lib/seahorse/client/logging/formatter.rb +319 -0
- data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +35 -0
- data/vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb +339 -0
- data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +109 -0
- data/vendor/seahorse/lib/seahorse/client/param_converter.rb +202 -0
- data/vendor/seahorse/lib/seahorse/client/param_validator.rb +139 -0
- data/vendor/seahorse/lib/seahorse/client/plugin.rb +80 -0
- data/vendor/seahorse/lib/seahorse/client/plugin_list.rb +142 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +11 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/content_length.rb +22 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/endpoint.rb +36 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +34 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/logging.rb +37 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/net_http.rb +26 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +48 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/param_conversion.rb +29 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/param_validation.rb +30 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/raise_response_errors.rb +29 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +205 -0
- data/vendor/seahorse/lib/seahorse/client/request.rb +62 -0
- data/vendor/seahorse/lib/seahorse/client/request_context.rb +68 -0
- data/vendor/seahorse/lib/seahorse/client/response.rb +106 -0
- data/vendor/seahorse/lib/seahorse/client/xml/builder.rb +92 -0
- data/vendor/seahorse/lib/seahorse/model.rb +38 -0
- data/vendor/seahorse/lib/seahorse/model/api.rb +39 -0
- data/vendor/seahorse/lib/seahorse/model/node.rb +102 -0
- data/vendor/seahorse/lib/seahorse/model/operation.rb +32 -0
- data/vendor/seahorse/lib/seahorse/model/operation_input.rb +30 -0
- data/vendor/seahorse/lib/seahorse/model/operations.rb +59 -0
- data/vendor/seahorse/lib/seahorse/model/property.rb +141 -0
- data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +229 -0
- data/vendor/seahorse/lib/seahorse/model/types.rb +8 -0
- data/vendor/seahorse/lib/seahorse/version.rb +3 -0
- data/vendor/seahorse/seahorse.gemspec +20 -0
- data/vendor/seahorse/spec/fixtures/plugin.rb +4 -0
- data/vendor/seahorse/spec/seahorse/client/base_spec.rb +308 -0
- data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +118 -0
- data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +159 -0
- data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +243 -0
- data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +40 -0
- data/vendor/seahorse/spec/seahorse/client/http/endpoint_spec.rb +168 -0
- data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +213 -0
- data/vendor/seahorse/spec/seahorse/client/http/plain_string_io_spec.rb +23 -0
- data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +142 -0
- data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +77 -0
- data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +197 -0
- data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +63 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +10 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +232 -0
- data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +318 -0
- data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +271 -0
- data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +166 -0
- data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +118 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +19 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +43 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +46 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +71 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +74 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/restful_bindings/uri_path_builder_spec.rb +91 -0
- data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +105 -0
- data/vendor/seahorse/spec/seahorse/client/request_spec.rb +102 -0
- data/vendor/seahorse/spec/seahorse/client/response_spec.rb +171 -0
- data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +142 -0
- data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +10 -0
- data/vendor/seahorse/spec/seahorse/client_spec.rb +13 -0
- data/vendor/seahorse/spec/seahorse/model/api_spec.rb +72 -0
- data/vendor/seahorse/spec/seahorse/model/node_spec.rb +114 -0
- data/vendor/seahorse/spec/seahorse/model/operation_input_spec.rb +53 -0
- data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +48 -0
- data/vendor/seahorse/spec/seahorse/model/operations_spec.rb +64 -0
- data/vendor/seahorse/spec/seahorse/model/property_spec.rb +136 -0
- data/vendor/seahorse/spec/seahorse/model/shapes/shape_spec.rb +105 -0
- data/vendor/seahorse/spec/seahorse/version_spec.rb +11 -0
- data/vendor/seahorse/spec/spec_helper.rb +34 -0
- data/vendor/seahorse/tasks/ca_bundle.rake +23 -0
- data/vendor/seahorse/tasks/docs.rake +11 -0
- data/vendor/seahorse/tasks/test.rake +26 -0
- metadata +614 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"DescribeInstanceHealth": {
|
4
|
+
"result_key": "InstanceStates"
|
5
|
+
},
|
6
|
+
"DescribeLoadBalancerPolicies": {
|
7
|
+
"result_key": "PolicyDescriptions"
|
8
|
+
},
|
9
|
+
"DescribeLoadBalancerPolicyTypes": {
|
10
|
+
"result_key": "PolicyTypeDescriptions"
|
11
|
+
},
|
12
|
+
"DescribeLoadBalancers": {
|
13
|
+
"input_token": "Marker",
|
14
|
+
"output_token": "NextMarker",
|
15
|
+
"result_key": "LoadBalancerDescriptions"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,1478 @@
|
|
1
|
+
{
|
2
|
+
"api_version": "2009-03-31",
|
3
|
+
"type": "json",
|
4
|
+
"json_version": 1.1,
|
5
|
+
"target_prefix": "ElasticMapReduce",
|
6
|
+
"signature_version": "v4",
|
7
|
+
"service_full_name": "Amazon Elastic MapReduce",
|
8
|
+
"service_abbreviation": "Amazon EMR",
|
9
|
+
"endpoint_prefix": "elasticmapreduce",
|
10
|
+
"xmlnamespace": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31",
|
11
|
+
"documentation": "\n <p> This is the <i>Amazon Elastic MapReduce API Reference</i>. This guide provides descriptions and\n samples of the Amazon Elastic MapReduce APIs.</p>\n\n <p>Amazon Elastic MapReduce is a web service that makes it easy to process large amounts of\n data efficiently. Elastic MapReduce 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 ",
|
12
|
+
"operations": {
|
13
|
+
"AddInstanceGroups": {
|
14
|
+
"name": "AddInstanceGroups",
|
15
|
+
"input": {
|
16
|
+
"shape_name": "AddInstanceGroupsInput",
|
17
|
+
"type": "structure",
|
18
|
+
"members": {
|
19
|
+
"InstanceGroups": {
|
20
|
+
"shape_name": "InstanceGroupConfigList",
|
21
|
+
"type": "list",
|
22
|
+
"members": {
|
23
|
+
"shape_name": "InstanceGroupConfig",
|
24
|
+
"type": "structure",
|
25
|
+
"members": {
|
26
|
+
"Name": {
|
27
|
+
"shape_name": "XmlStringMaxLen256",
|
28
|
+
"type": "string",
|
29
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
30
|
+
"min_length": 0,
|
31
|
+
"max_length": 256,
|
32
|
+
"documentation": "\n <p>Friendly name given to the instance group.</p>\n "
|
33
|
+
},
|
34
|
+
"Market": {
|
35
|
+
"shape_name": "MarketType",
|
36
|
+
"type": "string",
|
37
|
+
"enum": [
|
38
|
+
"ON_DEMAND",
|
39
|
+
"SPOT"
|
40
|
+
],
|
41
|
+
"documentation": "\n <p>Market type of the Amazon EC2 instances used to create a cluster node. </p>\n "
|
42
|
+
},
|
43
|
+
"InstanceRole": {
|
44
|
+
"shape_name": "InstanceRoleType",
|
45
|
+
"type": "string",
|
46
|
+
"enum": [
|
47
|
+
"MASTER",
|
48
|
+
"CORE",
|
49
|
+
"TASK"
|
50
|
+
],
|
51
|
+
"documentation": "\n <p>The role of the instance group in the cluster.</p>\n ",
|
52
|
+
"required": true
|
53
|
+
},
|
54
|
+
"BidPrice": {
|
55
|
+
"shape_name": "XmlStringMaxLen256",
|
56
|
+
"type": "string",
|
57
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
58
|
+
"min_length": 0,
|
59
|
+
"max_length": 256,
|
60
|
+
"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 "
|
61
|
+
},
|
62
|
+
"InstanceType": {
|
63
|
+
"shape_name": "InstanceType",
|
64
|
+
"type": "string",
|
65
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
66
|
+
"min_length": 1,
|
67
|
+
"max_length": 256,
|
68
|
+
"documentation": "\n <p>The Amazon EC2 instance type for all instances in the instance group. </p>\n ",
|
69
|
+
"required": true
|
70
|
+
},
|
71
|
+
"InstanceCount": {
|
72
|
+
"shape_name": "Integer",
|
73
|
+
"type": "integer",
|
74
|
+
"documentation": "\n <p>Target number of instances for the instance group. </p>\n ",
|
75
|
+
"required": true
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"documentation": "\n <p>Configuration defining a new instance group.</p>\n "
|
79
|
+
},
|
80
|
+
"documentation": "\n <p>Instance Groups to add.</p>\n ",
|
81
|
+
"required": true
|
82
|
+
},
|
83
|
+
"JobFlowId": {
|
84
|
+
"shape_name": "XmlStringMaxLen256",
|
85
|
+
"type": "string",
|
86
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
87
|
+
"min_length": 0,
|
88
|
+
"max_length": 256,
|
89
|
+
"documentation": "\n <p>Job flow in which to add the instance groups.</p>\n ",
|
90
|
+
"required": true
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"documentation": "\n <p>Input to an AddInstanceGroups call.</p>\n "
|
94
|
+
},
|
95
|
+
"output": {
|
96
|
+
"shape_name": "AddInstanceGroupsOutput",
|
97
|
+
"type": "structure",
|
98
|
+
"members": {
|
99
|
+
"JobFlowId": {
|
100
|
+
"shape_name": "XmlStringMaxLen256",
|
101
|
+
"type": "string",
|
102
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
103
|
+
"min_length": 0,
|
104
|
+
"max_length": 256,
|
105
|
+
"documentation": "\n <p>The job flow ID in which the instance groups are added.</p>\n "
|
106
|
+
},
|
107
|
+
"InstanceGroupIds": {
|
108
|
+
"shape_name": "InstanceGroupIdsList",
|
109
|
+
"type": "list",
|
110
|
+
"members": {
|
111
|
+
"shape_name": "XmlStringMaxLen256",
|
112
|
+
"type": "string",
|
113
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
114
|
+
"min_length": 0,
|
115
|
+
"max_length": 256,
|
116
|
+
"documentation": null
|
117
|
+
},
|
118
|
+
"documentation": "\n <p>Instance group IDs of the newly created instance groups.</p>\n "
|
119
|
+
}
|
120
|
+
},
|
121
|
+
"documentation": "\n <p>Output from an AddInstanceGroups call.</p>\n "
|
122
|
+
},
|
123
|
+
"errors": [
|
124
|
+
{
|
125
|
+
"shape_name": "InternalServerError",
|
126
|
+
"type": "structure",
|
127
|
+
"members": {
|
128
|
+
},
|
129
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"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 "
|
133
|
+
},
|
134
|
+
"AddJobFlowSteps": {
|
135
|
+
"name": "AddJobFlowSteps",
|
136
|
+
"input": {
|
137
|
+
"shape_name": "AddJobFlowStepsInput",
|
138
|
+
"type": "structure",
|
139
|
+
"members": {
|
140
|
+
"JobFlowId": {
|
141
|
+
"shape_name": "XmlStringMaxLen256",
|
142
|
+
"type": "string",
|
143
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
144
|
+
"min_length": 0,
|
145
|
+
"max_length": 256,
|
146
|
+
"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>DescribeJobFlows</a>. </p>\n ",
|
147
|
+
"required": true
|
148
|
+
},
|
149
|
+
"Steps": {
|
150
|
+
"shape_name": "StepConfigList",
|
151
|
+
"type": "list",
|
152
|
+
"members": {
|
153
|
+
"shape_name": "StepConfig",
|
154
|
+
"type": "structure",
|
155
|
+
"members": {
|
156
|
+
"Name": {
|
157
|
+
"shape_name": "XmlStringMaxLen256",
|
158
|
+
"type": "string",
|
159
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
160
|
+
"min_length": 0,
|
161
|
+
"max_length": 256,
|
162
|
+
"documentation": "\n <p>The name of the job flow step.</p>\n ",
|
163
|
+
"required": true
|
164
|
+
},
|
165
|
+
"ActionOnFailure": {
|
166
|
+
"shape_name": "ActionOnFailure",
|
167
|
+
"type": "string",
|
168
|
+
"enum": [
|
169
|
+
"TERMINATE_JOB_FLOW",
|
170
|
+
"CANCEL_AND_WAIT",
|
171
|
+
"CONTINUE"
|
172
|
+
],
|
173
|
+
"documentation": "\n <p>Specifies the action to take if the job flow step fails.</p>\n "
|
174
|
+
},
|
175
|
+
"HadoopJarStep": {
|
176
|
+
"shape_name": "HadoopJarStepConfig",
|
177
|
+
"type": "structure",
|
178
|
+
"members": {
|
179
|
+
"Properties": {
|
180
|
+
"shape_name": "KeyValueList",
|
181
|
+
"type": "list",
|
182
|
+
"members": {
|
183
|
+
"shape_name": "KeyValue",
|
184
|
+
"type": "structure",
|
185
|
+
"members": {
|
186
|
+
"Key": {
|
187
|
+
"shape_name": "XmlString",
|
188
|
+
"type": "string",
|
189
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
190
|
+
"min_length": 0,
|
191
|
+
"max_length": 10280,
|
192
|
+
"documentation": "\n <p>The unique identifier of a key value pair.</p>\n "
|
193
|
+
},
|
194
|
+
"Value": {
|
195
|
+
"shape_name": "XmlString",
|
196
|
+
"type": "string",
|
197
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
198
|
+
"min_length": 0,
|
199
|
+
"max_length": 10280,
|
200
|
+
"documentation": "\n <p>The value part of the identified key.</p>\n "
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"documentation": "\n <p>A key value pair.</p>\n "
|
204
|
+
},
|
205
|
+
"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 "
|
206
|
+
},
|
207
|
+
"Jar": {
|
208
|
+
"shape_name": "XmlString",
|
209
|
+
"type": "string",
|
210
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
211
|
+
"min_length": 0,
|
212
|
+
"max_length": 10280,
|
213
|
+
"documentation": "\n <p>A path to a JAR file run during the step.</p>\n ",
|
214
|
+
"required": true
|
215
|
+
},
|
216
|
+
"MainClass": {
|
217
|
+
"shape_name": "XmlString",
|
218
|
+
"type": "string",
|
219
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
220
|
+
"min_length": 0,
|
221
|
+
"max_length": 10280,
|
222
|
+
"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 "
|
223
|
+
},
|
224
|
+
"Args": {
|
225
|
+
"shape_name": "StringList",
|
226
|
+
"type": "list",
|
227
|
+
"members": {
|
228
|
+
"shape_name": "XmlString",
|
229
|
+
"type": "string",
|
230
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
231
|
+
"min_length": 0,
|
232
|
+
"max_length": 10280,
|
233
|
+
"documentation": null
|
234
|
+
},
|
235
|
+
"documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"documentation": "\n <p>Specifies the JAR file used for the job flow step.</p>\n ",
|
239
|
+
"required": true
|
240
|
+
}
|
241
|
+
},
|
242
|
+
"documentation": "\n <p>Specification of a job flow step.</p>\n "
|
243
|
+
},
|
244
|
+
"documentation": "\n\n <p> A list of <a>StepConfig</a> to be executed by the job flow. </p>\n ",
|
245
|
+
"required": true
|
246
|
+
}
|
247
|
+
},
|
248
|
+
"documentation": "\n <p> The input argument to the <a>AddJobFlow</a> operation. </p>\n "
|
249
|
+
},
|
250
|
+
"output": null,
|
251
|
+
"errors": [
|
252
|
+
{
|
253
|
+
"shape_name": "InternalServerError",
|
254
|
+
"type": "structure",
|
255
|
+
"members": {
|
256
|
+
},
|
257
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
258
|
+
}
|
259
|
+
],
|
260
|
+
"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 "
|
261
|
+
},
|
262
|
+
"DescribeJobFlows": {
|
263
|
+
"name": "DescribeJobFlows",
|
264
|
+
"input": {
|
265
|
+
"shape_name": "DescribeJobFlowsInput",
|
266
|
+
"type": "structure",
|
267
|
+
"members": {
|
268
|
+
"CreatedAfter": {
|
269
|
+
"shape_name": "Date",
|
270
|
+
"type": "timestamp",
|
271
|
+
"documentation": "\n <p>Return only job flows created after this date and time.</p>\n "
|
272
|
+
},
|
273
|
+
"CreatedBefore": {
|
274
|
+
"shape_name": "Date",
|
275
|
+
"type": "timestamp",
|
276
|
+
"documentation": "\n <p>Return only job flows created before this date and time.</p>\n "
|
277
|
+
},
|
278
|
+
"JobFlowIds": {
|
279
|
+
"shape_name": "StringList",
|
280
|
+
"type": "list",
|
281
|
+
"members": {
|
282
|
+
"shape_name": "XmlString",
|
283
|
+
"type": "string",
|
284
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
285
|
+
"min_length": 0,
|
286
|
+
"max_length": 10280,
|
287
|
+
"documentation": null
|
288
|
+
},
|
289
|
+
"documentation": "\n <p>Return only job flows whose job flow ID is contained in this list. </p>\n "
|
290
|
+
},
|
291
|
+
"JobFlowStates": {
|
292
|
+
"shape_name": "JobFlowExecutionStateList",
|
293
|
+
"type": "list",
|
294
|
+
"members": {
|
295
|
+
"shape_name": "JobFlowExecutionState",
|
296
|
+
"type": "string",
|
297
|
+
"enum": [
|
298
|
+
"COMPLETED",
|
299
|
+
"FAILED",
|
300
|
+
"TERMINATED",
|
301
|
+
"RUNNING",
|
302
|
+
"SHUTTING_DOWN",
|
303
|
+
"STARTING",
|
304
|
+
"WAITING",
|
305
|
+
"BOOTSTRAPPING"
|
306
|
+
],
|
307
|
+
"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 "
|
308
|
+
},
|
309
|
+
"documentation": "\n <p>Return only job flows whose state is contained in this list.</p>\n "
|
310
|
+
}
|
311
|
+
},
|
312
|
+
"documentation": "\n <p> The input for the <a>DescribeJobFlows</a> operation. </p>\n "
|
313
|
+
},
|
314
|
+
"output": {
|
315
|
+
"shape_name": "DescribeJobFlowsOutput",
|
316
|
+
"type": "structure",
|
317
|
+
"members": {
|
318
|
+
"JobFlows": {
|
319
|
+
"shape_name": "JobFlowDetailList",
|
320
|
+
"type": "list",
|
321
|
+
"members": {
|
322
|
+
"shape_name": "JobFlowDetail",
|
323
|
+
"type": "structure",
|
324
|
+
"members": {
|
325
|
+
"JobFlowId": {
|
326
|
+
"shape_name": "XmlStringMaxLen256",
|
327
|
+
"type": "string",
|
328
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
329
|
+
"min_length": 0,
|
330
|
+
"max_length": 256,
|
331
|
+
"documentation": "\n <p>The job flow identifier.</p>\n ",
|
332
|
+
"required": true
|
333
|
+
},
|
334
|
+
"Name": {
|
335
|
+
"shape_name": "XmlStringMaxLen256",
|
336
|
+
"type": "string",
|
337
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
338
|
+
"min_length": 0,
|
339
|
+
"max_length": 256,
|
340
|
+
"documentation": "\n <p>The name of the job flow.</p>\n ",
|
341
|
+
"required": true
|
342
|
+
},
|
343
|
+
"LogUri": {
|
344
|
+
"shape_name": "XmlString",
|
345
|
+
"type": "string",
|
346
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
347
|
+
"min_length": 0,
|
348
|
+
"max_length": 10280,
|
349
|
+
"documentation": "\n <p>The location in Amazon S3 where log files for the job are stored. </p>\n "
|
350
|
+
},
|
351
|
+
"AmiVersion": {
|
352
|
+
"shape_name": "XmlStringMaxLen256",
|
353
|
+
"type": "string",
|
354
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
355
|
+
"min_length": 0,
|
356
|
+
"max_length": 256,
|
357
|
+
"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 "
|
358
|
+
},
|
359
|
+
"ExecutionStatusDetail": {
|
360
|
+
"shape_name": "JobFlowExecutionStatusDetail",
|
361
|
+
"type": "structure",
|
362
|
+
"members": {
|
363
|
+
"State": {
|
364
|
+
"shape_name": "JobFlowExecutionState",
|
365
|
+
"type": "string",
|
366
|
+
"enum": [
|
367
|
+
"COMPLETED",
|
368
|
+
"FAILED",
|
369
|
+
"TERMINATED",
|
370
|
+
"RUNNING",
|
371
|
+
"SHUTTING_DOWN",
|
372
|
+
"STARTING",
|
373
|
+
"WAITING",
|
374
|
+
"BOOTSTRAPPING"
|
375
|
+
],
|
376
|
+
"documentation": "\n <p>The state of the job flow.</p>\n ",
|
377
|
+
"required": true
|
378
|
+
},
|
379
|
+
"CreationDateTime": {
|
380
|
+
"shape_name": "Date",
|
381
|
+
"type": "timestamp",
|
382
|
+
"documentation": "\n <p>The creation date and time of the job flow.</p>\n ",
|
383
|
+
"required": true
|
384
|
+
},
|
385
|
+
"StartDateTime": {
|
386
|
+
"shape_name": "Date",
|
387
|
+
"type": "timestamp",
|
388
|
+
"documentation": "\n <p>The start date and time of the job flow.</p>\n "
|
389
|
+
},
|
390
|
+
"ReadyDateTime": {
|
391
|
+
"shape_name": "Date",
|
392
|
+
"type": "timestamp",
|
393
|
+
"documentation": "\n <p>The date and time when the job flow was ready to start running bootstrap actions.</p>\n "
|
394
|
+
},
|
395
|
+
"EndDateTime": {
|
396
|
+
"shape_name": "Date",
|
397
|
+
"type": "timestamp",
|
398
|
+
"documentation": "\n <p>The completion date and time of the job flow.</p>\n "
|
399
|
+
},
|
400
|
+
"LastStateChangeReason": {
|
401
|
+
"shape_name": "XmlString",
|
402
|
+
"type": "string",
|
403
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
404
|
+
"min_length": 0,
|
405
|
+
"max_length": 10280,
|
406
|
+
"documentation": "\n <p>Description of the job flow last changed state.</p>\n "
|
407
|
+
}
|
408
|
+
},
|
409
|
+
"documentation": "\n <p>Describes the execution status of the job flow.</p>\n ",
|
410
|
+
"required": true
|
411
|
+
},
|
412
|
+
"Instances": {
|
413
|
+
"shape_name": "JobFlowInstancesDetail",
|
414
|
+
"type": "structure",
|
415
|
+
"members": {
|
416
|
+
"MasterInstanceType": {
|
417
|
+
"shape_name": "InstanceType",
|
418
|
+
"type": "string",
|
419
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
420
|
+
"min_length": 1,
|
421
|
+
"max_length": 256,
|
422
|
+
"documentation": "\n <p>The Amazon EC2 master node instance type.</p>\n ",
|
423
|
+
"required": true
|
424
|
+
},
|
425
|
+
"MasterPublicDnsName": {
|
426
|
+
"shape_name": "XmlString",
|
427
|
+
"type": "string",
|
428
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
429
|
+
"min_length": 0,
|
430
|
+
"max_length": 10280,
|
431
|
+
"documentation": "\n <p>The DNS name of the master node.</p>\n "
|
432
|
+
},
|
433
|
+
"MasterInstanceId": {
|
434
|
+
"shape_name": "XmlString",
|
435
|
+
"type": "string",
|
436
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
437
|
+
"min_length": 0,
|
438
|
+
"max_length": 10280,
|
439
|
+
"documentation": "\n <p>The Amazon EC2 instance identifier of the master node.</p>\n "
|
440
|
+
},
|
441
|
+
"SlaveInstanceType": {
|
442
|
+
"shape_name": "InstanceType",
|
443
|
+
"type": "string",
|
444
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
445
|
+
"min_length": 1,
|
446
|
+
"max_length": 256,
|
447
|
+
"documentation": "\n <p>The Amazon EC2 slave node instance type.</p>\n ",
|
448
|
+
"required": true
|
449
|
+
},
|
450
|
+
"InstanceCount": {
|
451
|
+
"shape_name": "Integer",
|
452
|
+
"type": "integer",
|
453
|
+
"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 ",
|
454
|
+
"required": true
|
455
|
+
},
|
456
|
+
"InstanceGroups": {
|
457
|
+
"shape_name": "InstanceGroupDetailList",
|
458
|
+
"type": "list",
|
459
|
+
"members": {
|
460
|
+
"shape_name": "InstanceGroupDetail",
|
461
|
+
"type": "structure",
|
462
|
+
"members": {
|
463
|
+
"InstanceGroupId": {
|
464
|
+
"shape_name": "XmlStringMaxLen256",
|
465
|
+
"type": "string",
|
466
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
467
|
+
"min_length": 0,
|
468
|
+
"max_length": 256,
|
469
|
+
"documentation": "\n <p>Unique identifier for the instance group. </p>\n "
|
470
|
+
},
|
471
|
+
"Name": {
|
472
|
+
"shape_name": "XmlStringMaxLen256",
|
473
|
+
"type": "string",
|
474
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
475
|
+
"min_length": 0,
|
476
|
+
"max_length": 256,
|
477
|
+
"documentation": "\n <p>Friendly name for the instance group. </p>\n "
|
478
|
+
},
|
479
|
+
"Market": {
|
480
|
+
"shape_name": "MarketType",
|
481
|
+
"type": "string",
|
482
|
+
"enum": [
|
483
|
+
"ON_DEMAND",
|
484
|
+
"SPOT"
|
485
|
+
],
|
486
|
+
"documentation": "\n <p>Market type of the Amazon EC2 instances used to create a cluster node. </p>\n ",
|
487
|
+
"required": true
|
488
|
+
},
|
489
|
+
"InstanceRole": {
|
490
|
+
"shape_name": "InstanceRoleType",
|
491
|
+
"type": "string",
|
492
|
+
"enum": [
|
493
|
+
"MASTER",
|
494
|
+
"CORE",
|
495
|
+
"TASK"
|
496
|
+
],
|
497
|
+
"documentation": "\n <p>Instance group role in the cluster </p>\n ",
|
498
|
+
"required": true
|
499
|
+
},
|
500
|
+
"BidPrice": {
|
501
|
+
"shape_name": "XmlStringMaxLen256",
|
502
|
+
"type": "string",
|
503
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
504
|
+
"min_length": 0,
|
505
|
+
"max_length": 256,
|
506
|
+
"documentation": "\n <p>Bid price for EC2 Instances when launching nodes as\n Spot Instances, expressed in USD.</p>\n "
|
507
|
+
},
|
508
|
+
"InstanceType": {
|
509
|
+
"shape_name": "InstanceType",
|
510
|
+
"type": "string",
|
511
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
512
|
+
"min_length": 1,
|
513
|
+
"max_length": 256,
|
514
|
+
"documentation": "\n <p>Amazon EC2 Instance type.</p>\n ",
|
515
|
+
"required": true
|
516
|
+
},
|
517
|
+
"InstanceRequestCount": {
|
518
|
+
"shape_name": "Integer",
|
519
|
+
"type": "integer",
|
520
|
+
"documentation": "\n <p>Target number of instances to run in the instance group. </p>\n ",
|
521
|
+
"required": true
|
522
|
+
},
|
523
|
+
"InstanceRunningCount": {
|
524
|
+
"shape_name": "Integer",
|
525
|
+
"type": "integer",
|
526
|
+
"documentation": "\n <p>Actual count of running instances. </p>\n ",
|
527
|
+
"required": true
|
528
|
+
},
|
529
|
+
"State": {
|
530
|
+
"shape_name": "InstanceGroupState",
|
531
|
+
"type": "string",
|
532
|
+
"enum": [
|
533
|
+
"PROVISIONING",
|
534
|
+
"STARTING",
|
535
|
+
"BOOTSTRAPPING",
|
536
|
+
"RUNNING",
|
537
|
+
"RESIZING",
|
538
|
+
"ARRESTED",
|
539
|
+
"SHUTTING_DOWN",
|
540
|
+
"TERMINATED",
|
541
|
+
"FAILED",
|
542
|
+
"ENDED"
|
543
|
+
],
|
544
|
+
"documentation": "\n <p>State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</p>\n ",
|
545
|
+
"required": true
|
546
|
+
},
|
547
|
+
"LastStateChangeReason": {
|
548
|
+
"shape_name": "XmlString",
|
549
|
+
"type": "string",
|
550
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
551
|
+
"min_length": 0,
|
552
|
+
"max_length": 10280,
|
553
|
+
"documentation": "\n <p>Details regarding the state of the instance group. </p>\n "
|
554
|
+
},
|
555
|
+
"CreationDateTime": {
|
556
|
+
"shape_name": "Date",
|
557
|
+
"type": "timestamp",
|
558
|
+
"documentation": "\n <p>The date/time the instance group was created. </p>\n ",
|
559
|
+
"required": true
|
560
|
+
},
|
561
|
+
"StartDateTime": {
|
562
|
+
"shape_name": "Date",
|
563
|
+
"type": "timestamp",
|
564
|
+
"documentation": "\n <p>The date/time the instance group was started.</p>\n "
|
565
|
+
},
|
566
|
+
"ReadyDateTime": {
|
567
|
+
"shape_name": "Date",
|
568
|
+
"type": "timestamp",
|
569
|
+
"documentation": "\n <p>The date/time the instance group was available to the cluster. </p>\n "
|
570
|
+
},
|
571
|
+
"EndDateTime": {
|
572
|
+
"shape_name": "Date",
|
573
|
+
"type": "timestamp",
|
574
|
+
"documentation": "\n <p>The date/time the instance group was terminated.</p>\n "
|
575
|
+
}
|
576
|
+
},
|
577
|
+
"documentation": "\n <p>Detailed information about an instance group. </p>\n "
|
578
|
+
},
|
579
|
+
"documentation": "\n <p>Details about the job flow's instance groups. </p>\n "
|
580
|
+
},
|
581
|
+
"NormalizedInstanceHours": {
|
582
|
+
"shape_name": "Integer",
|
583
|
+
"type": "integer",
|
584
|
+
"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 "
|
585
|
+
},
|
586
|
+
"Ec2KeyName": {
|
587
|
+
"shape_name": "XmlStringMaxLen256",
|
588
|
+
"type": "string",
|
589
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
590
|
+
"min_length": 0,
|
591
|
+
"max_length": 256,
|
592
|
+
"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 "
|
593
|
+
},
|
594
|
+
"Ec2SubnetId": {
|
595
|
+
"shape_name": "XmlStringMaxLen256",
|
596
|
+
"type": "string",
|
597
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
598
|
+
"min_length": 0,
|
599
|
+
"max_length": 256,
|
600
|
+
"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 "
|
601
|
+
},
|
602
|
+
"Placement": {
|
603
|
+
"shape_name": "PlacementType",
|
604
|
+
"type": "structure",
|
605
|
+
"members": {
|
606
|
+
"AvailabilityZone": {
|
607
|
+
"shape_name": "XmlString",
|
608
|
+
"type": "string",
|
609
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
610
|
+
"min_length": 0,
|
611
|
+
"max_length": 10280,
|
612
|
+
"documentation": "\n <p>The Amazon EC2 Availability Zone for the job flow.</p>\n ",
|
613
|
+
"required": true
|
614
|
+
}
|
615
|
+
},
|
616
|
+
"documentation": "\n <p>Specifies the Amazon EC2 Availability Zone for the job flow.</p>\n "
|
617
|
+
},
|
618
|
+
"KeepJobFlowAliveWhenNoSteps": {
|
619
|
+
"shape_name": "Boolean",
|
620
|
+
"type": "boolean",
|
621
|
+
"documentation": "\n <p>Specifies whether or not the job flow should terminate after completing all steps.</p>\n "
|
622
|
+
},
|
623
|
+
"TerminationProtected": {
|
624
|
+
"shape_name": "Boolean",
|
625
|
+
"type": "boolean",
|
626
|
+
"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 "
|
627
|
+
},
|
628
|
+
"HadoopVersion": {
|
629
|
+
"shape_name": "XmlStringMaxLen256",
|
630
|
+
"type": "string",
|
631
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
632
|
+
"min_length": 0,
|
633
|
+
"max_length": 256,
|
634
|
+
"documentation": "\n <p>Specifies the Hadoop version for the job flow.</p>\n "
|
635
|
+
}
|
636
|
+
},
|
637
|
+
"documentation": "\n <p>Describes the Amazon EC2 instances of the job flow.</p>\n ",
|
638
|
+
"required": true
|
639
|
+
},
|
640
|
+
"Steps": {
|
641
|
+
"shape_name": "StepDetailList",
|
642
|
+
"type": "list",
|
643
|
+
"members": {
|
644
|
+
"shape_name": "StepDetail",
|
645
|
+
"type": "structure",
|
646
|
+
"members": {
|
647
|
+
"StepConfig": {
|
648
|
+
"shape_name": "StepConfig",
|
649
|
+
"type": "structure",
|
650
|
+
"members": {
|
651
|
+
"Name": {
|
652
|
+
"shape_name": "XmlStringMaxLen256",
|
653
|
+
"type": "string",
|
654
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
655
|
+
"min_length": 0,
|
656
|
+
"max_length": 256,
|
657
|
+
"documentation": "\n <p>The name of the job flow step.</p>\n ",
|
658
|
+
"required": true
|
659
|
+
},
|
660
|
+
"ActionOnFailure": {
|
661
|
+
"shape_name": "ActionOnFailure",
|
662
|
+
"type": "string",
|
663
|
+
"enum": [
|
664
|
+
"TERMINATE_JOB_FLOW",
|
665
|
+
"CANCEL_AND_WAIT",
|
666
|
+
"CONTINUE"
|
667
|
+
],
|
668
|
+
"documentation": "\n <p>Specifies the action to take if the job flow step fails.</p>\n "
|
669
|
+
},
|
670
|
+
"HadoopJarStep": {
|
671
|
+
"shape_name": "HadoopJarStepConfig",
|
672
|
+
"type": "structure",
|
673
|
+
"members": {
|
674
|
+
"Properties": {
|
675
|
+
"shape_name": "KeyValueList",
|
676
|
+
"type": "list",
|
677
|
+
"members": {
|
678
|
+
"shape_name": "KeyValue",
|
679
|
+
"type": "structure",
|
680
|
+
"members": {
|
681
|
+
"Key": {
|
682
|
+
"shape_name": "XmlString",
|
683
|
+
"type": "string",
|
684
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
685
|
+
"min_length": 0,
|
686
|
+
"max_length": 10280,
|
687
|
+
"documentation": "\n <p>The unique identifier of a key value pair.</p>\n "
|
688
|
+
},
|
689
|
+
"Value": {
|
690
|
+
"shape_name": "XmlString",
|
691
|
+
"type": "string",
|
692
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
693
|
+
"min_length": 0,
|
694
|
+
"max_length": 10280,
|
695
|
+
"documentation": "\n <p>The value part of the identified key.</p>\n "
|
696
|
+
}
|
697
|
+
},
|
698
|
+
"documentation": "\n <p>A key value pair.</p>\n "
|
699
|
+
},
|
700
|
+
"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 "
|
701
|
+
},
|
702
|
+
"Jar": {
|
703
|
+
"shape_name": "XmlString",
|
704
|
+
"type": "string",
|
705
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
706
|
+
"min_length": 0,
|
707
|
+
"max_length": 10280,
|
708
|
+
"documentation": "\n <p>A path to a JAR file run during the step.</p>\n ",
|
709
|
+
"required": true
|
710
|
+
},
|
711
|
+
"MainClass": {
|
712
|
+
"shape_name": "XmlString",
|
713
|
+
"type": "string",
|
714
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
715
|
+
"min_length": 0,
|
716
|
+
"max_length": 10280,
|
717
|
+
"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 "
|
718
|
+
},
|
719
|
+
"Args": {
|
720
|
+
"shape_name": "StringList",
|
721
|
+
"type": "list",
|
722
|
+
"members": {
|
723
|
+
"shape_name": "XmlString",
|
724
|
+
"type": "string",
|
725
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
726
|
+
"min_length": 0,
|
727
|
+
"max_length": 10280,
|
728
|
+
"documentation": null
|
729
|
+
},
|
730
|
+
"documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
|
731
|
+
}
|
732
|
+
},
|
733
|
+
"documentation": "\n <p>Specifies the JAR file used for the job flow step.</p>\n ",
|
734
|
+
"required": true
|
735
|
+
}
|
736
|
+
},
|
737
|
+
"documentation": "\n <p>The step configuration.</p>\n ",
|
738
|
+
"required": true
|
739
|
+
},
|
740
|
+
"ExecutionStatusDetail": {
|
741
|
+
"shape_name": "StepExecutionStatusDetail",
|
742
|
+
"type": "structure",
|
743
|
+
"members": {
|
744
|
+
"State": {
|
745
|
+
"shape_name": "StepExecutionState",
|
746
|
+
"type": "string",
|
747
|
+
"enum": [
|
748
|
+
"PENDING",
|
749
|
+
"RUNNING",
|
750
|
+
"CONTINUE",
|
751
|
+
"COMPLETED",
|
752
|
+
"CANCELLED",
|
753
|
+
"FAILED",
|
754
|
+
"INTERRUPTED"
|
755
|
+
],
|
756
|
+
"documentation": "\n <p>The state of the job flow step.</p>\n ",
|
757
|
+
"required": true
|
758
|
+
},
|
759
|
+
"CreationDateTime": {
|
760
|
+
"shape_name": "Date",
|
761
|
+
"type": "timestamp",
|
762
|
+
"documentation": "\n <p>The creation date and time of the step.</p>\n ",
|
763
|
+
"required": true
|
764
|
+
},
|
765
|
+
"StartDateTime": {
|
766
|
+
"shape_name": "Date",
|
767
|
+
"type": "timestamp",
|
768
|
+
"documentation": "\n <p>The start date and time of the step.</p>\n "
|
769
|
+
},
|
770
|
+
"EndDateTime": {
|
771
|
+
"shape_name": "Date",
|
772
|
+
"type": "timestamp",
|
773
|
+
"documentation": "\n <p>The completion date and time of the step.</p>\n "
|
774
|
+
},
|
775
|
+
"LastStateChangeReason": {
|
776
|
+
"shape_name": "XmlString",
|
777
|
+
"type": "string",
|
778
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
779
|
+
"min_length": 0,
|
780
|
+
"max_length": 10280,
|
781
|
+
"documentation": "\n <p>A description of the step's current state.</p>\n "
|
782
|
+
}
|
783
|
+
},
|
784
|
+
"documentation": "\n <p>The description of the step status.</p>\n ",
|
785
|
+
"required": true
|
786
|
+
}
|
787
|
+
},
|
788
|
+
"documentation": "\n <p>Combines the execution state and configuration of a step.</p>\n "
|
789
|
+
},
|
790
|
+
"documentation": "\n <p>A list of steps run by the job flow.</p>\n "
|
791
|
+
},
|
792
|
+
"BootstrapActions": {
|
793
|
+
"shape_name": "BootstrapActionDetailList",
|
794
|
+
"type": "list",
|
795
|
+
"members": {
|
796
|
+
"shape_name": "BootstrapActionDetail",
|
797
|
+
"type": "structure",
|
798
|
+
"members": {
|
799
|
+
"BootstrapActionConfig": {
|
800
|
+
"shape_name": "BootstrapActionConfig",
|
801
|
+
"type": "structure",
|
802
|
+
"members": {
|
803
|
+
"Name": {
|
804
|
+
"shape_name": "XmlStringMaxLen256",
|
805
|
+
"type": "string",
|
806
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
807
|
+
"min_length": 0,
|
808
|
+
"max_length": 256,
|
809
|
+
"documentation": "\n <p>The name of the bootstrap action.</p>\n ",
|
810
|
+
"required": true
|
811
|
+
},
|
812
|
+
"ScriptBootstrapAction": {
|
813
|
+
"shape_name": "ScriptBootstrapActionConfig",
|
814
|
+
"type": "structure",
|
815
|
+
"members": {
|
816
|
+
"Path": {
|
817
|
+
"shape_name": "XmlString",
|
818
|
+
"type": "string",
|
819
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
820
|
+
"min_length": 0,
|
821
|
+
"max_length": 10280,
|
822
|
+
"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 ",
|
823
|
+
"required": true
|
824
|
+
},
|
825
|
+
"Args": {
|
826
|
+
"shape_name": "StringList",
|
827
|
+
"type": "list",
|
828
|
+
"members": {
|
829
|
+
"shape_name": "XmlString",
|
830
|
+
"type": "string",
|
831
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
832
|
+
"min_length": 0,
|
833
|
+
"max_length": 10280,
|
834
|
+
"documentation": null
|
835
|
+
},
|
836
|
+
"documentation": "\n <p>A list of command line arguments to pass to the bootstrap action script.</p>\n "
|
837
|
+
}
|
838
|
+
},
|
839
|
+
"documentation": "\n <p>The script run by the bootstrap action.</p>\n ",
|
840
|
+
"required": true
|
841
|
+
}
|
842
|
+
},
|
843
|
+
"documentation": "\n <p>A description of the bootstrap action.</p>\n "
|
844
|
+
}
|
845
|
+
},
|
846
|
+
"documentation": "\n <p>Reports the configuration of a bootstrap action in a job flow.</p>\n "
|
847
|
+
},
|
848
|
+
"documentation": "\n <p>A list of the bootstrap actions run by the job flow.</p>\n "
|
849
|
+
},
|
850
|
+
"SupportedProducts": {
|
851
|
+
"shape_name": "SupportedProductsList",
|
852
|
+
"type": "list",
|
853
|
+
"members": {
|
854
|
+
"shape_name": "XmlStringMaxLen256",
|
855
|
+
"type": "string",
|
856
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
857
|
+
"min_length": 0,
|
858
|
+
"max_length": 256,
|
859
|
+
"documentation": null
|
860
|
+
},
|
861
|
+
"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 "
|
862
|
+
},
|
863
|
+
"VisibleToAllUsers": {
|
864
|
+
"shape_name": "Boolean",
|
865
|
+
"type": "boolean",
|
866
|
+
"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 "
|
867
|
+
},
|
868
|
+
"JobFlowRole": {
|
869
|
+
"shape_name": "XmlString",
|
870
|
+
"type": "string",
|
871
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
872
|
+
"min_length": 0,
|
873
|
+
"max_length": 10280,
|
874
|
+
"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 "
|
875
|
+
}
|
876
|
+
},
|
877
|
+
"documentation": "\n <p> A description of a job flow.</p>\n "
|
878
|
+
},
|
879
|
+
"documentation": "\n <p>A list of job flows matching the parameters supplied.</p>\n "
|
880
|
+
}
|
881
|
+
},
|
882
|
+
"documentation": "\n <p> The output for the <a>DescribeJobFlows</a> operation. </p>\n "
|
883
|
+
},
|
884
|
+
"errors": [
|
885
|
+
{
|
886
|
+
"shape_name": "InternalServerError",
|
887
|
+
"type": "structure",
|
888
|
+
"members": {
|
889
|
+
},
|
890
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"documentation": "\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 "
|
894
|
+
},
|
895
|
+
"ModifyInstanceGroups": {
|
896
|
+
"name": "ModifyInstanceGroups",
|
897
|
+
"input": {
|
898
|
+
"shape_name": "ModifyInstanceGroupsInput",
|
899
|
+
"type": "structure",
|
900
|
+
"members": {
|
901
|
+
"InstanceGroups": {
|
902
|
+
"shape_name": "InstanceGroupModifyConfigList",
|
903
|
+
"type": "list",
|
904
|
+
"members": {
|
905
|
+
"shape_name": "InstanceGroupModifyConfig",
|
906
|
+
"type": "structure",
|
907
|
+
"members": {
|
908
|
+
"InstanceGroupId": {
|
909
|
+
"shape_name": "XmlStringMaxLen256",
|
910
|
+
"type": "string",
|
911
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
912
|
+
"min_length": 0,
|
913
|
+
"max_length": 256,
|
914
|
+
"documentation": "\n <p>Unique ID of the instance group to expand or shrink.</p>\n ",
|
915
|
+
"required": true
|
916
|
+
},
|
917
|
+
"InstanceCount": {
|
918
|
+
"shape_name": "Integer",
|
919
|
+
"type": "integer",
|
920
|
+
"documentation": "\n <p>Target size for the instance group.</p>\n ",
|
921
|
+
"required": true
|
922
|
+
}
|
923
|
+
},
|
924
|
+
"documentation": "\n <p>Modify an instance group size.</p>\n "
|
925
|
+
},
|
926
|
+
"documentation": "\n <p>Instance groups to change.</p>\n "
|
927
|
+
}
|
928
|
+
},
|
929
|
+
"documentation": "\n <p>Change the size of some instance groups.</p>\n "
|
930
|
+
},
|
931
|
+
"output": null,
|
932
|
+
"errors": [
|
933
|
+
{
|
934
|
+
"shape_name": "InternalServerError",
|
935
|
+
"type": "structure",
|
936
|
+
"members": {
|
937
|
+
},
|
938
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
939
|
+
}
|
940
|
+
],
|
941
|
+
"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 "
|
942
|
+
},
|
943
|
+
"RunJobFlow": {
|
944
|
+
"name": "RunJobFlow",
|
945
|
+
"input": {
|
946
|
+
"shape_name": "RunJobFlowInput",
|
947
|
+
"type": "structure",
|
948
|
+
"members": {
|
949
|
+
"Name": {
|
950
|
+
"shape_name": "XmlStringMaxLen256",
|
951
|
+
"type": "string",
|
952
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
953
|
+
"min_length": 0,
|
954
|
+
"max_length": 256,
|
955
|
+
"documentation": "\n <p>The name of the job flow.</p>\n ",
|
956
|
+
"required": true
|
957
|
+
},
|
958
|
+
"LogUri": {
|
959
|
+
"shape_name": "XmlString",
|
960
|
+
"type": "string",
|
961
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
962
|
+
"min_length": 0,
|
963
|
+
"max_length": 10280,
|
964
|
+
"documentation": "\n <p>Specifies 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 "
|
965
|
+
},
|
966
|
+
"AdditionalInfo": {
|
967
|
+
"shape_name": "XmlString",
|
968
|
+
"type": "string",
|
969
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
970
|
+
"min_length": 0,
|
971
|
+
"max_length": 10280,
|
972
|
+
"documentation": "\n <p>A JSON string for selecting additional features.</p>\n "
|
973
|
+
},
|
974
|
+
"AmiVersion": {
|
975
|
+
"shape_name": "XmlStringMaxLen256",
|
976
|
+
"type": "string",
|
977
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
978
|
+
"min_length": 0,
|
979
|
+
"max_length": 256,
|
980
|
+
"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 <p>If this value is not specified, the job flow uses the default of (AMI 1.0, Hadoop 0.18). </p>\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 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>\n </p>\n "
|
981
|
+
},
|
982
|
+
"Instances": {
|
983
|
+
"shape_name": "JobFlowInstancesConfig",
|
984
|
+
"type": "structure",
|
985
|
+
"members": {
|
986
|
+
"MasterInstanceType": {
|
987
|
+
"shape_name": "InstanceType",
|
988
|
+
"type": "string",
|
989
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
990
|
+
"min_length": 1,
|
991
|
+
"max_length": 256,
|
992
|
+
"documentation": "\n <p>The EC2 instance type of the master node.</p>\n "
|
993
|
+
},
|
994
|
+
"SlaveInstanceType": {
|
995
|
+
"shape_name": "InstanceType",
|
996
|
+
"type": "string",
|
997
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
998
|
+
"min_length": 1,
|
999
|
+
"max_length": 256,
|
1000
|
+
"documentation": "\n <p>The EC2 instance type of the slave nodes.</p>\n "
|
1001
|
+
},
|
1002
|
+
"InstanceCount": {
|
1003
|
+
"shape_name": "Integer",
|
1004
|
+
"type": "integer",
|
1005
|
+
"documentation": "\n <p>The number of Amazon EC2 instances used to execute the job flow.</p>\n "
|
1006
|
+
},
|
1007
|
+
"InstanceGroups": {
|
1008
|
+
"shape_name": "InstanceGroupConfigList",
|
1009
|
+
"type": "list",
|
1010
|
+
"members": {
|
1011
|
+
"shape_name": "InstanceGroupConfig",
|
1012
|
+
"type": "structure",
|
1013
|
+
"members": {
|
1014
|
+
"Name": {
|
1015
|
+
"shape_name": "XmlStringMaxLen256",
|
1016
|
+
"type": "string",
|
1017
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1018
|
+
"min_length": 0,
|
1019
|
+
"max_length": 256,
|
1020
|
+
"documentation": "\n <p>Friendly name given to the instance group.</p>\n "
|
1021
|
+
},
|
1022
|
+
"Market": {
|
1023
|
+
"shape_name": "MarketType",
|
1024
|
+
"type": "string",
|
1025
|
+
"enum": [
|
1026
|
+
"ON_DEMAND",
|
1027
|
+
"SPOT"
|
1028
|
+
],
|
1029
|
+
"documentation": "\n <p>Market type of the Amazon EC2 instances used to create a cluster node. </p>\n "
|
1030
|
+
},
|
1031
|
+
"InstanceRole": {
|
1032
|
+
"shape_name": "InstanceRoleType",
|
1033
|
+
"type": "string",
|
1034
|
+
"enum": [
|
1035
|
+
"MASTER",
|
1036
|
+
"CORE",
|
1037
|
+
"TASK"
|
1038
|
+
],
|
1039
|
+
"documentation": "\n <p>The role of the instance group in the cluster.</p>\n ",
|
1040
|
+
"required": true
|
1041
|
+
},
|
1042
|
+
"BidPrice": {
|
1043
|
+
"shape_name": "XmlStringMaxLen256",
|
1044
|
+
"type": "string",
|
1045
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1046
|
+
"min_length": 0,
|
1047
|
+
"max_length": 256,
|
1048
|
+
"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 "
|
1049
|
+
},
|
1050
|
+
"InstanceType": {
|
1051
|
+
"shape_name": "InstanceType",
|
1052
|
+
"type": "string",
|
1053
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1054
|
+
"min_length": 1,
|
1055
|
+
"max_length": 256,
|
1056
|
+
"documentation": "\n <p>The Amazon EC2 instance type for all instances in the instance group. </p>\n ",
|
1057
|
+
"required": true
|
1058
|
+
},
|
1059
|
+
"InstanceCount": {
|
1060
|
+
"shape_name": "Integer",
|
1061
|
+
"type": "integer",
|
1062
|
+
"documentation": "\n <p>Target number of instances for the instance group. </p>\n ",
|
1063
|
+
"required": true
|
1064
|
+
}
|
1065
|
+
},
|
1066
|
+
"documentation": "\n <p>Configuration defining a new instance group.</p>\n "
|
1067
|
+
},
|
1068
|
+
"documentation": "\n <p>Configuration for the job flow's instance groups.</p>\n "
|
1069
|
+
},
|
1070
|
+
"Ec2KeyName": {
|
1071
|
+
"shape_name": "XmlStringMaxLen256",
|
1072
|
+
"type": "string",
|
1073
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1074
|
+
"min_length": 0,
|
1075
|
+
"max_length": 256,
|
1076
|
+
"documentation": "\n <p>Specifies 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 "
|
1077
|
+
},
|
1078
|
+
"Placement": {
|
1079
|
+
"shape_name": "PlacementType",
|
1080
|
+
"type": "structure",
|
1081
|
+
"members": {
|
1082
|
+
"AvailabilityZone": {
|
1083
|
+
"shape_name": "XmlString",
|
1084
|
+
"type": "string",
|
1085
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1086
|
+
"min_length": 0,
|
1087
|
+
"max_length": 10280,
|
1088
|
+
"documentation": "\n <p>The Amazon EC2 Availability Zone for the job flow.</p>\n ",
|
1089
|
+
"required": true
|
1090
|
+
}
|
1091
|
+
},
|
1092
|
+
"documentation": "\n <p>Specifies the Availability Zone the job flow will run in.</p>\n "
|
1093
|
+
},
|
1094
|
+
"KeepJobFlowAliveWhenNoSteps": {
|
1095
|
+
"shape_name": "Boolean",
|
1096
|
+
"type": "boolean",
|
1097
|
+
"documentation": "\n <p>Specifies whether the job flow should terminate after completing all steps.</p>\n "
|
1098
|
+
},
|
1099
|
+
"TerminationProtected": {
|
1100
|
+
"shape_name": "Boolean",
|
1101
|
+
"type": "boolean",
|
1102
|
+
"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 "
|
1103
|
+
},
|
1104
|
+
"HadoopVersion": {
|
1105
|
+
"shape_name": "XmlStringMaxLen256",
|
1106
|
+
"type": "string",
|
1107
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1108
|
+
"min_length": 0,
|
1109
|
+
"max_length": 256,
|
1110
|
+
"documentation": "\n <p>Specifies 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 "
|
1111
|
+
},
|
1112
|
+
"Ec2SubnetId": {
|
1113
|
+
"shape_name": "XmlStringMaxLen256",
|
1114
|
+
"type": "string",
|
1115
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1116
|
+
"min_length": 0,
|
1117
|
+
"max_length": 256,
|
1118
|
+
"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 "
|
1119
|
+
}
|
1120
|
+
},
|
1121
|
+
"documentation": "\n <p> A specification of the number and type of Amazon EC2 instances on which to run the job\n flow. </p>\n ",
|
1122
|
+
"required": true
|
1123
|
+
},
|
1124
|
+
"Steps": {
|
1125
|
+
"shape_name": "StepConfigList",
|
1126
|
+
"type": "list",
|
1127
|
+
"members": {
|
1128
|
+
"shape_name": "StepConfig",
|
1129
|
+
"type": "structure",
|
1130
|
+
"members": {
|
1131
|
+
"Name": {
|
1132
|
+
"shape_name": "XmlStringMaxLen256",
|
1133
|
+
"type": "string",
|
1134
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1135
|
+
"min_length": 0,
|
1136
|
+
"max_length": 256,
|
1137
|
+
"documentation": "\n <p>The name of the job flow step.</p>\n ",
|
1138
|
+
"required": true
|
1139
|
+
},
|
1140
|
+
"ActionOnFailure": {
|
1141
|
+
"shape_name": "ActionOnFailure",
|
1142
|
+
"type": "string",
|
1143
|
+
"enum": [
|
1144
|
+
"TERMINATE_JOB_FLOW",
|
1145
|
+
"CANCEL_AND_WAIT",
|
1146
|
+
"CONTINUE"
|
1147
|
+
],
|
1148
|
+
"documentation": "\n <p>Specifies the action to take if the job flow step fails.</p>\n "
|
1149
|
+
},
|
1150
|
+
"HadoopJarStep": {
|
1151
|
+
"shape_name": "HadoopJarStepConfig",
|
1152
|
+
"type": "structure",
|
1153
|
+
"members": {
|
1154
|
+
"Properties": {
|
1155
|
+
"shape_name": "KeyValueList",
|
1156
|
+
"type": "list",
|
1157
|
+
"members": {
|
1158
|
+
"shape_name": "KeyValue",
|
1159
|
+
"type": "structure",
|
1160
|
+
"members": {
|
1161
|
+
"Key": {
|
1162
|
+
"shape_name": "XmlString",
|
1163
|
+
"type": "string",
|
1164
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1165
|
+
"min_length": 0,
|
1166
|
+
"max_length": 10280,
|
1167
|
+
"documentation": "\n <p>The unique identifier of a key value pair.</p>\n "
|
1168
|
+
},
|
1169
|
+
"Value": {
|
1170
|
+
"shape_name": "XmlString",
|
1171
|
+
"type": "string",
|
1172
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1173
|
+
"min_length": 0,
|
1174
|
+
"max_length": 10280,
|
1175
|
+
"documentation": "\n <p>The value part of the identified key.</p>\n "
|
1176
|
+
}
|
1177
|
+
},
|
1178
|
+
"documentation": "\n <p>A key value pair.</p>\n "
|
1179
|
+
},
|
1180
|
+
"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 "
|
1181
|
+
},
|
1182
|
+
"Jar": {
|
1183
|
+
"shape_name": "XmlString",
|
1184
|
+
"type": "string",
|
1185
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1186
|
+
"min_length": 0,
|
1187
|
+
"max_length": 10280,
|
1188
|
+
"documentation": "\n <p>A path to a JAR file run during the step.</p>\n ",
|
1189
|
+
"required": true
|
1190
|
+
},
|
1191
|
+
"MainClass": {
|
1192
|
+
"shape_name": "XmlString",
|
1193
|
+
"type": "string",
|
1194
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1195
|
+
"min_length": 0,
|
1196
|
+
"max_length": 10280,
|
1197
|
+
"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 "
|
1198
|
+
},
|
1199
|
+
"Args": {
|
1200
|
+
"shape_name": "StringList",
|
1201
|
+
"type": "list",
|
1202
|
+
"members": {
|
1203
|
+
"shape_name": "XmlString",
|
1204
|
+
"type": "string",
|
1205
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1206
|
+
"min_length": 0,
|
1207
|
+
"max_length": 10280,
|
1208
|
+
"documentation": null
|
1209
|
+
},
|
1210
|
+
"documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
|
1211
|
+
}
|
1212
|
+
},
|
1213
|
+
"documentation": "\n <p>Specifies the JAR file used for the job flow step.</p>\n ",
|
1214
|
+
"required": true
|
1215
|
+
}
|
1216
|
+
},
|
1217
|
+
"documentation": "\n <p>Specification of a job flow step.</p>\n "
|
1218
|
+
},
|
1219
|
+
"documentation": "\n <p>A list of steps to be executed by the job flow.</p>\n "
|
1220
|
+
},
|
1221
|
+
"BootstrapActions": {
|
1222
|
+
"shape_name": "BootstrapActionConfigList",
|
1223
|
+
"type": "list",
|
1224
|
+
"members": {
|
1225
|
+
"shape_name": "BootstrapActionConfig",
|
1226
|
+
"type": "structure",
|
1227
|
+
"members": {
|
1228
|
+
"Name": {
|
1229
|
+
"shape_name": "XmlStringMaxLen256",
|
1230
|
+
"type": "string",
|
1231
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1232
|
+
"min_length": 0,
|
1233
|
+
"max_length": 256,
|
1234
|
+
"documentation": "\n <p>The name of the bootstrap action.</p>\n ",
|
1235
|
+
"required": true
|
1236
|
+
},
|
1237
|
+
"ScriptBootstrapAction": {
|
1238
|
+
"shape_name": "ScriptBootstrapActionConfig",
|
1239
|
+
"type": "structure",
|
1240
|
+
"members": {
|
1241
|
+
"Path": {
|
1242
|
+
"shape_name": "XmlString",
|
1243
|
+
"type": "string",
|
1244
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1245
|
+
"min_length": 0,
|
1246
|
+
"max_length": 10280,
|
1247
|
+
"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 ",
|
1248
|
+
"required": true
|
1249
|
+
},
|
1250
|
+
"Args": {
|
1251
|
+
"shape_name": "StringList",
|
1252
|
+
"type": "list",
|
1253
|
+
"members": {
|
1254
|
+
"shape_name": "XmlString",
|
1255
|
+
"type": "string",
|
1256
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1257
|
+
"min_length": 0,
|
1258
|
+
"max_length": 10280,
|
1259
|
+
"documentation": null
|
1260
|
+
},
|
1261
|
+
"documentation": "\n <p>A list of command line arguments to pass to the bootstrap action script.</p>\n "
|
1262
|
+
}
|
1263
|
+
},
|
1264
|
+
"documentation": "\n <p>The script run by the bootstrap action.</p>\n ",
|
1265
|
+
"required": true
|
1266
|
+
}
|
1267
|
+
},
|
1268
|
+
"documentation": "\n <p>Configuration of a bootstrap action.</p>\n "
|
1269
|
+
},
|
1270
|
+
"documentation": "\n <p> A list of bootstrap actions that will be run before Hadoop is started on the cluster\n nodes. </p>\n "
|
1271
|
+
},
|
1272
|
+
"SupportedProducts": {
|
1273
|
+
"shape_name": "SupportedProductsList",
|
1274
|
+
"type": "list",
|
1275
|
+
"members": {
|
1276
|
+
"shape_name": "XmlStringMaxLen256",
|
1277
|
+
"type": "string",
|
1278
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1279
|
+
"min_length": 0,
|
1280
|
+
"max_length": 256,
|
1281
|
+
"documentation": null
|
1282
|
+
},
|
1283
|
+
"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>\"karmasphere-enterprise-utility\" - tag the \n job flow for management by <a href=\"http://aws.amazon.com/elasticmapreduce/karmasphere/\">Karmasphere.</a>\n</li>\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 "
|
1284
|
+
},
|
1285
|
+
"NewSupportedProducts": {
|
1286
|
+
"shape_name": "NewSupportedProductsList",
|
1287
|
+
"type": "list",
|
1288
|
+
"members": {
|
1289
|
+
"shape_name": "SupportedProductConfig",
|
1290
|
+
"type": "structure",
|
1291
|
+
"members": {
|
1292
|
+
"Name": {
|
1293
|
+
"shape_name": "XmlStringMaxLen256",
|
1294
|
+
"type": "string",
|
1295
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1296
|
+
"min_length": 0,
|
1297
|
+
"max_length": 256,
|
1298
|
+
"documentation": "\n <p>The name of the product configuration.</p>\n "
|
1299
|
+
},
|
1300
|
+
"Args": {
|
1301
|
+
"shape_name": "StringList",
|
1302
|
+
"type": "list",
|
1303
|
+
"members": {
|
1304
|
+
"shape_name": "XmlString",
|
1305
|
+
"type": "string",
|
1306
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1307
|
+
"min_length": 0,
|
1308
|
+
"max_length": 10280,
|
1309
|
+
"documentation": null
|
1310
|
+
},
|
1311
|
+
"documentation": "\n <p>The list of user-supplied arguments.</p>\n "
|
1312
|
+
}
|
1313
|
+
},
|
1314
|
+
"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 "
|
1315
|
+
},
|
1316
|
+
"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>\"karmasphere-enterprise-utility\" - tag the \n job flow for management by <a href=\"http://aws.amazon.com/elasticmapreduce/karmasphere/\">Karmasphere.</a>\n</li>\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 "
|
1317
|
+
},
|
1318
|
+
"VisibleToAllUsers": {
|
1319
|
+
"shape_name": "Boolean",
|
1320
|
+
"type": "boolean",
|
1321
|
+
"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 "
|
1322
|
+
},
|
1323
|
+
"JobFlowRole": {
|
1324
|
+
"shape_name": "XmlString",
|
1325
|
+
"type": "string",
|
1326
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1327
|
+
"min_length": 0,
|
1328
|
+
"max_length": 10280,
|
1329
|
+
"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 "
|
1330
|
+
}
|
1331
|
+
},
|
1332
|
+
"documentation": "\n <p> Input to the <a>RunJobFlow</a> operation. </p>\n "
|
1333
|
+
},
|
1334
|
+
"output": {
|
1335
|
+
"shape_name": "RunJobFlowOutput",
|
1336
|
+
"type": "structure",
|
1337
|
+
"members": {
|
1338
|
+
"JobFlowId": {
|
1339
|
+
"shape_name": "XmlStringMaxLen256",
|
1340
|
+
"type": "string",
|
1341
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1342
|
+
"min_length": 0,
|
1343
|
+
"max_length": 256,
|
1344
|
+
"documentation": "\n <p>An unique identifier for the job flow.</p>\n "
|
1345
|
+
}
|
1346
|
+
},
|
1347
|
+
"documentation": "\n <p> The result of the <a>RunJobFlow</a> operation. </p>\n "
|
1348
|
+
},
|
1349
|
+
"errors": [
|
1350
|
+
{
|
1351
|
+
"shape_name": "InternalServerError",
|
1352
|
+
"type": "structure",
|
1353
|
+
"members": {
|
1354
|
+
},
|
1355
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
1356
|
+
}
|
1357
|
+
],
|
1358
|
+
"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 "
|
1359
|
+
},
|
1360
|
+
"SetTerminationProtection": {
|
1361
|
+
"name": "SetTerminationProtection",
|
1362
|
+
"input": {
|
1363
|
+
"shape_name": "SetTerminationProtectionInput",
|
1364
|
+
"type": "structure",
|
1365
|
+
"members": {
|
1366
|
+
"JobFlowIds": {
|
1367
|
+
"shape_name": "StringList",
|
1368
|
+
"type": "list",
|
1369
|
+
"members": {
|
1370
|
+
"shape_name": "XmlString",
|
1371
|
+
"type": "string",
|
1372
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1373
|
+
"min_length": 0,
|
1374
|
+
"max_length": 10280,
|
1375
|
+
"documentation": null
|
1376
|
+
},
|
1377
|
+
"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 ",
|
1378
|
+
"required": true
|
1379
|
+
},
|
1380
|
+
"TerminationProtected": {
|
1381
|
+
"shape_name": "Boolean",
|
1382
|
+
"type": "boolean",
|
1383
|
+
"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 ",
|
1384
|
+
"required": true
|
1385
|
+
}
|
1386
|
+
},
|
1387
|
+
"documentation": "\n <p> The input argument to the <a>TerminationProtection</a> operation. </p>\n "
|
1388
|
+
},
|
1389
|
+
"output": null,
|
1390
|
+
"errors": [
|
1391
|
+
{
|
1392
|
+
"shape_name": "InternalServerError",
|
1393
|
+
"type": "structure",
|
1394
|
+
"members": {
|
1395
|
+
},
|
1396
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
1397
|
+
}
|
1398
|
+
],
|
1399
|
+
"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 "
|
1400
|
+
},
|
1401
|
+
"SetVisibleToAllUsers": {
|
1402
|
+
"name": "SetVisibleToAllUsers",
|
1403
|
+
"input": {
|
1404
|
+
"shape_name": "SetVisibleToAllUsersInput",
|
1405
|
+
"type": "structure",
|
1406
|
+
"members": {
|
1407
|
+
"JobFlowIds": {
|
1408
|
+
"shape_name": "StringList",
|
1409
|
+
"type": "list",
|
1410
|
+
"members": {
|
1411
|
+
"shape_name": "XmlString",
|
1412
|
+
"type": "string",
|
1413
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1414
|
+
"min_length": 0,
|
1415
|
+
"max_length": 10280,
|
1416
|
+
"documentation": null
|
1417
|
+
},
|
1418
|
+
"documentation": "\n <p>Identifiers of the job flows to receive the new visibility setting.</p>\n ",
|
1419
|
+
"required": true
|
1420
|
+
},
|
1421
|
+
"VisibleToAllUsers": {
|
1422
|
+
"shape_name": "Boolean",
|
1423
|
+
"type": "boolean",
|
1424
|
+
"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 ",
|
1425
|
+
"required": true
|
1426
|
+
}
|
1427
|
+
},
|
1428
|
+
"documentation": "\n <p>The input to the SetVisibleToAllUsers action.</p>\n "
|
1429
|
+
},
|
1430
|
+
"output": null,
|
1431
|
+
"errors": [
|
1432
|
+
{
|
1433
|
+
"shape_name": "InternalServerError",
|
1434
|
+
"type": "structure",
|
1435
|
+
"members": {
|
1436
|
+
},
|
1437
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
1438
|
+
}
|
1439
|
+
],
|
1440
|
+
"documentation": "\n <p>Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specifed 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 "
|
1441
|
+
},
|
1442
|
+
"TerminateJobFlows": {
|
1443
|
+
"name": "TerminateJobFlows",
|
1444
|
+
"input": {
|
1445
|
+
"shape_name": "TerminateJobFlowsInput",
|
1446
|
+
"type": "structure",
|
1447
|
+
"members": {
|
1448
|
+
"JobFlowIds": {
|
1449
|
+
"shape_name": "StringList",
|
1450
|
+
"type": "list",
|
1451
|
+
"members": {
|
1452
|
+
"shape_name": "XmlString",
|
1453
|
+
"type": "string",
|
1454
|
+
"pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
|
1455
|
+
"min_length": 0,
|
1456
|
+
"max_length": 10280,
|
1457
|
+
"documentation": null
|
1458
|
+
},
|
1459
|
+
"documentation": "\n <p>A list of job flows to be shutdown.</p>\n ",
|
1460
|
+
"required": true
|
1461
|
+
}
|
1462
|
+
},
|
1463
|
+
"documentation": "\n <p> Input to the <a>TerminateJobFlows</a> operation. </p>\n "
|
1464
|
+
},
|
1465
|
+
"output": null,
|
1466
|
+
"errors": [
|
1467
|
+
{
|
1468
|
+
"shape_name": "InternalServerError",
|
1469
|
+
"type": "structure",
|
1470
|
+
"members": {
|
1471
|
+
},
|
1472
|
+
"documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
|
1473
|
+
}
|
1474
|
+
],
|
1475
|
+
"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 "
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
}
|