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,1058 @@
|
|
1
|
+
{
|
2
|
+
"version": "2012-06-01",
|
3
|
+
"metadata": {
|
4
|
+
"checksum_format": "sha256",
|
5
|
+
"endpoint_prefix": "glacier",
|
6
|
+
"regional_endpoints": {
|
7
|
+
"us-east-1": "glacier.us-east-1.amazonaws.com",
|
8
|
+
"us-west-1": "glacier.us-west-1.amazonaws.com",
|
9
|
+
"us-west-2": "glacier.us-west-2.amazonaws.com",
|
10
|
+
"eu-west-1": "glacier.eu-west-1.amazonaws.com",
|
11
|
+
"ap-northeast-1": "glacier.ap-northeast-1.amazonaws.com"
|
12
|
+
},
|
13
|
+
"service_class_name": "Glacier",
|
14
|
+
"service_full_name": "Amazon Glacier"
|
15
|
+
},
|
16
|
+
"plugins": [
|
17
|
+
"Seahorse::Client::Plugins::Logging",
|
18
|
+
"Seahorse::Client::Plugins::RestfulBindings",
|
19
|
+
"Seahorse::Client::Plugins::ContentLength",
|
20
|
+
"Aws::Plugins::UserAgent",
|
21
|
+
"Aws::Plugins::RetryErrors",
|
22
|
+
"Aws::Plugins::GlobalConfiguration",
|
23
|
+
"Aws::Plugins::RegionalEndpoint",
|
24
|
+
"Aws::Plugins::Credentials",
|
25
|
+
"Aws::Plugins::JsonProtocol",
|
26
|
+
"Aws::Plugins::SignatureV4",
|
27
|
+
"Aws::Plugins::GlacierApiVersion",
|
28
|
+
"Aws::Plugins::GlacierChecksums"
|
29
|
+
],
|
30
|
+
"operations": {
|
31
|
+
"abort_multipart_upload": {
|
32
|
+
"name": "AbortMultipartUpload",
|
33
|
+
"http_method": "DELETE",
|
34
|
+
"http_path": "/{account_id}/vaults/{vault_name}/multipart-uploads/{upload_id}",
|
35
|
+
"input": {
|
36
|
+
"type": "input",
|
37
|
+
"members": {
|
38
|
+
"account_id": {
|
39
|
+
"type": "string",
|
40
|
+
"required": true,
|
41
|
+
"location": "uri"
|
42
|
+
},
|
43
|
+
"vault_name": {
|
44
|
+
"type": "string",
|
45
|
+
"required": true,
|
46
|
+
"location": "uri"
|
47
|
+
},
|
48
|
+
"upload_id": {
|
49
|
+
"type": "string",
|
50
|
+
"required": true,
|
51
|
+
"location": "uri"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"complete_multipart_upload": {
|
57
|
+
"name": "CompleteMultipartUpload",
|
58
|
+
"http_method": "POST",
|
59
|
+
"http_path": "/{account_id}/vaults/{vault_name}/multipart-uploads/{upload_id}",
|
60
|
+
"input": {
|
61
|
+
"type": "input",
|
62
|
+
"members": {
|
63
|
+
"account_id": {
|
64
|
+
"type": "string",
|
65
|
+
"required": true,
|
66
|
+
"location": "uri"
|
67
|
+
},
|
68
|
+
"vault_name": {
|
69
|
+
"type": "string",
|
70
|
+
"required": true,
|
71
|
+
"location": "uri"
|
72
|
+
},
|
73
|
+
"upload_id": {
|
74
|
+
"type": "string",
|
75
|
+
"required": true,
|
76
|
+
"location": "uri"
|
77
|
+
},
|
78
|
+
"archive_size": {
|
79
|
+
"type": "integer",
|
80
|
+
"location": "header",
|
81
|
+
"serialized_name": "x-amz-archive-size"
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"output": {
|
86
|
+
"type": "output",
|
87
|
+
"members": {
|
88
|
+
"location": {
|
89
|
+
"type": "string",
|
90
|
+
"location": "header",
|
91
|
+
"serialized_name": "Location"
|
92
|
+
},
|
93
|
+
"checksum": {
|
94
|
+
"type": "string",
|
95
|
+
"location": "header",
|
96
|
+
"serialized_name": "x-amz-sha256-tree-hash"
|
97
|
+
},
|
98
|
+
"archive_id": {
|
99
|
+
"type": "string",
|
100
|
+
"location": "header",
|
101
|
+
"serialized_name": "x-amz-archive-id"
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"create_vault": {
|
107
|
+
"name": "CreateVault",
|
108
|
+
"http_method": "PUT",
|
109
|
+
"http_path": "/{account_id}/vaults/{vault_name}",
|
110
|
+
"input": {
|
111
|
+
"type": "input",
|
112
|
+
"members": {
|
113
|
+
"account_id": {
|
114
|
+
"type": "string",
|
115
|
+
"required": true,
|
116
|
+
"location": "uri"
|
117
|
+
},
|
118
|
+
"vault_name": {
|
119
|
+
"type": "string",
|
120
|
+
"required": true,
|
121
|
+
"location": "uri"
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"output": {
|
126
|
+
"type": "output",
|
127
|
+
"members": {
|
128
|
+
"location": {
|
129
|
+
"type": "string",
|
130
|
+
"location": "header",
|
131
|
+
"serialized_name": "Location"
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"delete_archive": {
|
137
|
+
"name": "DeleteArchive",
|
138
|
+
"http_method": "DELETE",
|
139
|
+
"http_path": "/{account_id}/vaults/{vault_name}/archives/{archive_id}",
|
140
|
+
"input": {
|
141
|
+
"type": "input",
|
142
|
+
"members": {
|
143
|
+
"account_id": {
|
144
|
+
"type": "string",
|
145
|
+
"required": true,
|
146
|
+
"location": "uri"
|
147
|
+
},
|
148
|
+
"vault_name": {
|
149
|
+
"type": "string",
|
150
|
+
"required": true,
|
151
|
+
"location": "uri"
|
152
|
+
},
|
153
|
+
"archive_id": {
|
154
|
+
"type": "string",
|
155
|
+
"required": true,
|
156
|
+
"location": "uri"
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"delete_vault": {
|
162
|
+
"name": "DeleteVault",
|
163
|
+
"http_method": "DELETE",
|
164
|
+
"http_path": "/{account_id}/vaults/{vault_name}",
|
165
|
+
"input": {
|
166
|
+
"type": "input",
|
167
|
+
"members": {
|
168
|
+
"account_id": {
|
169
|
+
"type": "string",
|
170
|
+
"required": true,
|
171
|
+
"location": "uri"
|
172
|
+
},
|
173
|
+
"vault_name": {
|
174
|
+
"type": "string",
|
175
|
+
"required": true,
|
176
|
+
"location": "uri"
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"delete_vault_notifications": {
|
182
|
+
"name": "DeleteVaultNotifications",
|
183
|
+
"http_method": "DELETE",
|
184
|
+
"http_path": "/{account_id}/vaults/{vault_name}/notification-configuration",
|
185
|
+
"input": {
|
186
|
+
"type": "input",
|
187
|
+
"members": {
|
188
|
+
"account_id": {
|
189
|
+
"type": "string",
|
190
|
+
"required": true,
|
191
|
+
"location": "uri"
|
192
|
+
},
|
193
|
+
"vault_name": {
|
194
|
+
"type": "string",
|
195
|
+
"required": true,
|
196
|
+
"location": "uri"
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
},
|
201
|
+
"describe_job": {
|
202
|
+
"name": "DescribeJob",
|
203
|
+
"http_method": "GET",
|
204
|
+
"http_path": "/{account_id}/vaults/{vault_name}/jobs/{job_id}",
|
205
|
+
"input": {
|
206
|
+
"type": "input",
|
207
|
+
"members": {
|
208
|
+
"account_id": {
|
209
|
+
"type": "string",
|
210
|
+
"required": true,
|
211
|
+
"location": "uri"
|
212
|
+
},
|
213
|
+
"vault_name": {
|
214
|
+
"type": "string",
|
215
|
+
"required": true,
|
216
|
+
"location": "uri"
|
217
|
+
},
|
218
|
+
"job_id": {
|
219
|
+
"type": "string",
|
220
|
+
"required": true,
|
221
|
+
"location": "uri"
|
222
|
+
}
|
223
|
+
}
|
224
|
+
},
|
225
|
+
"output": {
|
226
|
+
"type": "output",
|
227
|
+
"members": {
|
228
|
+
"job_id": {
|
229
|
+
"type": "string",
|
230
|
+
"serialized_name": "JobId"
|
231
|
+
},
|
232
|
+
"job_description": {
|
233
|
+
"type": "string",
|
234
|
+
"serialized_name": "JobDescription"
|
235
|
+
},
|
236
|
+
"action": {
|
237
|
+
"type": "string",
|
238
|
+
"serialized_name": "Action",
|
239
|
+
"enum": [
|
240
|
+
"ArchiveRetrieval",
|
241
|
+
"InventoryRetrieval"
|
242
|
+
]
|
243
|
+
},
|
244
|
+
"archive_id": {
|
245
|
+
"type": "string",
|
246
|
+
"serialized_name": "ArchiveId"
|
247
|
+
},
|
248
|
+
"vault_arn": {
|
249
|
+
"type": "string",
|
250
|
+
"serialized_name": "VaultARN"
|
251
|
+
},
|
252
|
+
"creation_date": {
|
253
|
+
"type": "iso8601_timestamp",
|
254
|
+
"serialized_name": "CreationDate"
|
255
|
+
},
|
256
|
+
"completed": {
|
257
|
+
"type": "boolean",
|
258
|
+
"serialized_name": "Completed"
|
259
|
+
},
|
260
|
+
"status_code": {
|
261
|
+
"type": "string",
|
262
|
+
"serialized_name": "StatusCode",
|
263
|
+
"enum": [
|
264
|
+
"InProgress",
|
265
|
+
"Succeeded",
|
266
|
+
"Failed"
|
267
|
+
]
|
268
|
+
},
|
269
|
+
"status_message": {
|
270
|
+
"type": "string",
|
271
|
+
"serialized_name": "StatusMessage"
|
272
|
+
},
|
273
|
+
"archive_size_in_bytes": {
|
274
|
+
"type": "integer",
|
275
|
+
"serialized_name": "ArchiveSizeInBytes"
|
276
|
+
},
|
277
|
+
"inventory_size_in_bytes": {
|
278
|
+
"type": "integer",
|
279
|
+
"serialized_name": "InventorySizeInBytes"
|
280
|
+
},
|
281
|
+
"sns_topic": {
|
282
|
+
"type": "string",
|
283
|
+
"serialized_name": "SNSTopic"
|
284
|
+
},
|
285
|
+
"completion_date": {
|
286
|
+
"type": "iso8601_timestamp",
|
287
|
+
"serialized_name": "CompletionDate"
|
288
|
+
},
|
289
|
+
"sha256_tree_hash": {
|
290
|
+
"type": "string",
|
291
|
+
"serialized_name": "SHA256TreeHash"
|
292
|
+
},
|
293
|
+
"archive_sha256_tree_hash": {
|
294
|
+
"type": "string",
|
295
|
+
"serialized_name": "ArchiveSHA256TreeHash"
|
296
|
+
},
|
297
|
+
"retrieval_byte_range": {
|
298
|
+
"type": "string",
|
299
|
+
"serialized_name": "RetrievalByteRange"
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
},
|
304
|
+
"describe_vault": {
|
305
|
+
"name": "DescribeVault",
|
306
|
+
"http_method": "GET",
|
307
|
+
"http_path": "/{account_id}/vaults/{vault_name}",
|
308
|
+
"input": {
|
309
|
+
"type": "input",
|
310
|
+
"members": {
|
311
|
+
"account_id": {
|
312
|
+
"type": "string",
|
313
|
+
"required": true,
|
314
|
+
"location": "uri"
|
315
|
+
},
|
316
|
+
"vault_name": {
|
317
|
+
"type": "string",
|
318
|
+
"required": true,
|
319
|
+
"location": "uri"
|
320
|
+
}
|
321
|
+
}
|
322
|
+
},
|
323
|
+
"output": {
|
324
|
+
"type": "output",
|
325
|
+
"members": {
|
326
|
+
"vault_arn": {
|
327
|
+
"type": "string",
|
328
|
+
"serialized_name": "VaultARN"
|
329
|
+
},
|
330
|
+
"vault_name": {
|
331
|
+
"type": "string",
|
332
|
+
"serialized_name": "VaultName"
|
333
|
+
},
|
334
|
+
"creation_date": {
|
335
|
+
"type": "iso8601_timestamp",
|
336
|
+
"serialized_name": "CreationDate"
|
337
|
+
},
|
338
|
+
"last_inventory_date": {
|
339
|
+
"type": "iso8601_timestamp",
|
340
|
+
"serialized_name": "LastInventoryDate"
|
341
|
+
},
|
342
|
+
"number_of_archives": {
|
343
|
+
"type": "integer",
|
344
|
+
"serialized_name": "NumberOfArchives"
|
345
|
+
},
|
346
|
+
"size_in_bytes": {
|
347
|
+
"type": "integer",
|
348
|
+
"serialized_name": "SizeInBytes"
|
349
|
+
}
|
350
|
+
}
|
351
|
+
}
|
352
|
+
},
|
353
|
+
"get_job_output": {
|
354
|
+
"name": "GetJobOutput",
|
355
|
+
"http_method": "GET",
|
356
|
+
"http_path": "/{account_id}/vaults/{vault_name}/jobs/{job_id}/output",
|
357
|
+
"input": {
|
358
|
+
"type": "input",
|
359
|
+
"members": {
|
360
|
+
"account_id": {
|
361
|
+
"type": "string",
|
362
|
+
"required": true,
|
363
|
+
"location": "uri"
|
364
|
+
},
|
365
|
+
"vault_name": {
|
366
|
+
"type": "string",
|
367
|
+
"required": true,
|
368
|
+
"location": "uri"
|
369
|
+
},
|
370
|
+
"job_id": {
|
371
|
+
"type": "string",
|
372
|
+
"required": true,
|
373
|
+
"location": "uri"
|
374
|
+
},
|
375
|
+
"range": {
|
376
|
+
"type": "string",
|
377
|
+
"location": "header",
|
378
|
+
"serialized_name": "Range"
|
379
|
+
}
|
380
|
+
}
|
381
|
+
},
|
382
|
+
"output": {
|
383
|
+
"type": "output",
|
384
|
+
"members": {
|
385
|
+
"body": {
|
386
|
+
"type": "blob",
|
387
|
+
"serialized_name": "body"
|
388
|
+
},
|
389
|
+
"checksum": {
|
390
|
+
"type": "string",
|
391
|
+
"location": "header",
|
392
|
+
"serialized_name": "x-amz-sha256-tree-hash"
|
393
|
+
},
|
394
|
+
"status": {
|
395
|
+
"type": "integer",
|
396
|
+
"location": "http_status",
|
397
|
+
"serialized_name": "status"
|
398
|
+
},
|
399
|
+
"content_range": {
|
400
|
+
"type": "string",
|
401
|
+
"location": "header",
|
402
|
+
"serialized_name": "Content-Range"
|
403
|
+
},
|
404
|
+
"accept_ranges": {
|
405
|
+
"type": "string",
|
406
|
+
"location": "header",
|
407
|
+
"serialized_name": "Accept-Ranges"
|
408
|
+
},
|
409
|
+
"content_type": {
|
410
|
+
"type": "string",
|
411
|
+
"location": "header",
|
412
|
+
"serialized_name": "Content-Type"
|
413
|
+
},
|
414
|
+
"archive_description": {
|
415
|
+
"type": "string",
|
416
|
+
"location": "header",
|
417
|
+
"serialized_name": "x-amz-archive-description"
|
418
|
+
}
|
419
|
+
},
|
420
|
+
"payload": "body"
|
421
|
+
}
|
422
|
+
},
|
423
|
+
"get_vault_notifications": {
|
424
|
+
"name": "GetVaultNotifications",
|
425
|
+
"http_method": "GET",
|
426
|
+
"http_path": "/{account_id}/vaults/{vault_name}/notification-configuration",
|
427
|
+
"input": {
|
428
|
+
"type": "input",
|
429
|
+
"members": {
|
430
|
+
"account_id": {
|
431
|
+
"type": "string",
|
432
|
+
"required": true,
|
433
|
+
"location": "uri"
|
434
|
+
},
|
435
|
+
"vault_name": {
|
436
|
+
"type": "string",
|
437
|
+
"required": true,
|
438
|
+
"location": "uri"
|
439
|
+
}
|
440
|
+
}
|
441
|
+
},
|
442
|
+
"output": {
|
443
|
+
"type": "output",
|
444
|
+
"members": {
|
445
|
+
"vault_notification_config": {
|
446
|
+
"type": "structure",
|
447
|
+
"serialized_name": "vaultNotificationConfig",
|
448
|
+
"members": {
|
449
|
+
"sns_topic": {
|
450
|
+
"type": "string",
|
451
|
+
"serialized_name": "SNSTopic"
|
452
|
+
},
|
453
|
+
"events": {
|
454
|
+
"type": "list",
|
455
|
+
"serialized_name": "Events",
|
456
|
+
"members": {
|
457
|
+
"type": "string"
|
458
|
+
}
|
459
|
+
}
|
460
|
+
}
|
461
|
+
}
|
462
|
+
},
|
463
|
+
"payload": "vault_notification_config"
|
464
|
+
}
|
465
|
+
},
|
466
|
+
"initiate_job": {
|
467
|
+
"name": "InitiateJob",
|
468
|
+
"http_method": "POST",
|
469
|
+
"http_path": "/{account_id}/vaults/{vault_name}/jobs",
|
470
|
+
"input": {
|
471
|
+
"type": "input",
|
472
|
+
"members": {
|
473
|
+
"account_id": {
|
474
|
+
"type": "string",
|
475
|
+
"required": true,
|
476
|
+
"location": "uri"
|
477
|
+
},
|
478
|
+
"vault_name": {
|
479
|
+
"type": "string",
|
480
|
+
"required": true,
|
481
|
+
"location": "uri"
|
482
|
+
},
|
483
|
+
"job_parameters": {
|
484
|
+
"type": "structure",
|
485
|
+
"serialized_name": "jobParameters",
|
486
|
+
"members": {
|
487
|
+
"format": {
|
488
|
+
"type": "string",
|
489
|
+
"serialized_name": "Format"
|
490
|
+
},
|
491
|
+
"type": {
|
492
|
+
"type": "string",
|
493
|
+
"serialized_name": "Type"
|
494
|
+
},
|
495
|
+
"archive_id": {
|
496
|
+
"type": "string",
|
497
|
+
"serialized_name": "ArchiveId"
|
498
|
+
},
|
499
|
+
"description": {
|
500
|
+
"type": "string",
|
501
|
+
"serialized_name": "Description"
|
502
|
+
},
|
503
|
+
"sns_topic": {
|
504
|
+
"type": "string",
|
505
|
+
"serialized_name": "SNSTopic"
|
506
|
+
},
|
507
|
+
"retrieval_byte_range": {
|
508
|
+
"type": "string",
|
509
|
+
"serialized_name": "RetrievalByteRange"
|
510
|
+
}
|
511
|
+
}
|
512
|
+
}
|
513
|
+
},
|
514
|
+
"payload": "job_parameters"
|
515
|
+
},
|
516
|
+
"output": {
|
517
|
+
"type": "output",
|
518
|
+
"members": {
|
519
|
+
"location": {
|
520
|
+
"type": "string",
|
521
|
+
"location": "header",
|
522
|
+
"serialized_name": "Location"
|
523
|
+
},
|
524
|
+
"job_id": {
|
525
|
+
"type": "string",
|
526
|
+
"location": "header",
|
527
|
+
"serialized_name": "x-amz-job-id"
|
528
|
+
}
|
529
|
+
}
|
530
|
+
}
|
531
|
+
},
|
532
|
+
"initiate_multipart_upload": {
|
533
|
+
"name": "InitiateMultipartUpload",
|
534
|
+
"http_method": "POST",
|
535
|
+
"http_path": "/{account_id}/vaults/{vault_name}/multipart-uploads",
|
536
|
+
"input": {
|
537
|
+
"type": "input",
|
538
|
+
"members": {
|
539
|
+
"account_id": {
|
540
|
+
"type": "string",
|
541
|
+
"required": true,
|
542
|
+
"location": "uri"
|
543
|
+
},
|
544
|
+
"vault_name": {
|
545
|
+
"type": "string",
|
546
|
+
"required": true,
|
547
|
+
"location": "uri"
|
548
|
+
},
|
549
|
+
"archive_description": {
|
550
|
+
"type": "string",
|
551
|
+
"location": "header",
|
552
|
+
"serialized_name": "x-amz-archive-description"
|
553
|
+
},
|
554
|
+
"part_size": {
|
555
|
+
"type": "integer",
|
556
|
+
"location": "header",
|
557
|
+
"serialized_name": "x-amz-part-size"
|
558
|
+
}
|
559
|
+
}
|
560
|
+
},
|
561
|
+
"output": {
|
562
|
+
"type": "output",
|
563
|
+
"members": {
|
564
|
+
"location": {
|
565
|
+
"type": "string",
|
566
|
+
"location": "header",
|
567
|
+
"serialized_name": "Location"
|
568
|
+
},
|
569
|
+
"upload_id": {
|
570
|
+
"type": "string",
|
571
|
+
"location": "header",
|
572
|
+
"serialized_name": "x-amz-multipart-upload-id"
|
573
|
+
}
|
574
|
+
}
|
575
|
+
}
|
576
|
+
},
|
577
|
+
"list_jobs": {
|
578
|
+
"name": "ListJobs",
|
579
|
+
"http_method": "GET",
|
580
|
+
"http_path": "/{account_id}/vaults/{vault_name}/jobs?marker={marker}&limit={limit}&completed={completed}&statuscode={statuscode}",
|
581
|
+
"input": {
|
582
|
+
"type": "input",
|
583
|
+
"members": {
|
584
|
+
"account_id": {
|
585
|
+
"type": "string",
|
586
|
+
"required": true,
|
587
|
+
"location": "uri"
|
588
|
+
},
|
589
|
+
"vault_name": {
|
590
|
+
"type": "string",
|
591
|
+
"required": true,
|
592
|
+
"location": "uri"
|
593
|
+
},
|
594
|
+
"limit": {
|
595
|
+
"type": "integer",
|
596
|
+
"location": "uri"
|
597
|
+
},
|
598
|
+
"marker": {
|
599
|
+
"type": "string",
|
600
|
+
"location": "uri"
|
601
|
+
},
|
602
|
+
"statuscode": {
|
603
|
+
"type": "string",
|
604
|
+
"location": "uri"
|
605
|
+
},
|
606
|
+
"completed": {
|
607
|
+
"type": "string",
|
608
|
+
"location": "uri"
|
609
|
+
}
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"output": {
|
613
|
+
"type": "output",
|
614
|
+
"members": {
|
615
|
+
"job_list": {
|
616
|
+
"type": "list",
|
617
|
+
"serialized_name": "JobList",
|
618
|
+
"members": {
|
619
|
+
"type": "structure",
|
620
|
+
"members": {
|
621
|
+
"job_id": {
|
622
|
+
"type": "string",
|
623
|
+
"serialized_name": "JobId"
|
624
|
+
},
|
625
|
+
"job_description": {
|
626
|
+
"type": "string",
|
627
|
+
"serialized_name": "JobDescription"
|
628
|
+
},
|
629
|
+
"action": {
|
630
|
+
"type": "string",
|
631
|
+
"serialized_name": "Action",
|
632
|
+
"enum": [
|
633
|
+
"ArchiveRetrieval",
|
634
|
+
"InventoryRetrieval"
|
635
|
+
]
|
636
|
+
},
|
637
|
+
"archive_id": {
|
638
|
+
"type": "string",
|
639
|
+
"serialized_name": "ArchiveId"
|
640
|
+
},
|
641
|
+
"vault_arn": {
|
642
|
+
"type": "string",
|
643
|
+
"serialized_name": "VaultARN"
|
644
|
+
},
|
645
|
+
"creation_date": {
|
646
|
+
"type": "iso8601_timestamp",
|
647
|
+
"serialized_name": "CreationDate"
|
648
|
+
},
|
649
|
+
"completed": {
|
650
|
+
"type": "boolean",
|
651
|
+
"serialized_name": "Completed"
|
652
|
+
},
|
653
|
+
"status_code": {
|
654
|
+
"type": "string",
|
655
|
+
"serialized_name": "StatusCode",
|
656
|
+
"enum": [
|
657
|
+
"InProgress",
|
658
|
+
"Succeeded",
|
659
|
+
"Failed"
|
660
|
+
]
|
661
|
+
},
|
662
|
+
"status_message": {
|
663
|
+
"type": "string",
|
664
|
+
"serialized_name": "StatusMessage"
|
665
|
+
},
|
666
|
+
"archive_size_in_bytes": {
|
667
|
+
"type": "integer",
|
668
|
+
"serialized_name": "ArchiveSizeInBytes"
|
669
|
+
},
|
670
|
+
"inventory_size_in_bytes": {
|
671
|
+
"type": "integer",
|
672
|
+
"serialized_name": "InventorySizeInBytes"
|
673
|
+
},
|
674
|
+
"sns_topic": {
|
675
|
+
"type": "string",
|
676
|
+
"serialized_name": "SNSTopic"
|
677
|
+
},
|
678
|
+
"completion_date": {
|
679
|
+
"type": "iso8601_timestamp",
|
680
|
+
"serialized_name": "CompletionDate"
|
681
|
+
},
|
682
|
+
"sha256_tree_hash": {
|
683
|
+
"type": "string",
|
684
|
+
"serialized_name": "SHA256TreeHash"
|
685
|
+
},
|
686
|
+
"archive_sha256_tree_hash": {
|
687
|
+
"type": "string",
|
688
|
+
"serialized_name": "ArchiveSHA256TreeHash"
|
689
|
+
},
|
690
|
+
"retrieval_byte_range": {
|
691
|
+
"type": "string",
|
692
|
+
"serialized_name": "RetrievalByteRange"
|
693
|
+
}
|
694
|
+
}
|
695
|
+
}
|
696
|
+
},
|
697
|
+
"marker": {
|
698
|
+
"type": "string",
|
699
|
+
"serialized_name": "Marker"
|
700
|
+
}
|
701
|
+
}
|
702
|
+
}
|
703
|
+
},
|
704
|
+
"list_multipart_uploads": {
|
705
|
+
"name": "ListMultipartUploads",
|
706
|
+
"http_method": "GET",
|
707
|
+
"http_path": "/{account_id}/vaults/{vault_name}/multipart-uploads?marker={marker}&limit={limit}",
|
708
|
+
"input": {
|
709
|
+
"type": "input",
|
710
|
+
"members": {
|
711
|
+
"account_id": {
|
712
|
+
"type": "string",
|
713
|
+
"required": true,
|
714
|
+
"location": "uri"
|
715
|
+
},
|
716
|
+
"vault_name": {
|
717
|
+
"type": "string",
|
718
|
+
"required": true,
|
719
|
+
"location": "uri"
|
720
|
+
},
|
721
|
+
"limit": {
|
722
|
+
"type": "integer",
|
723
|
+
"location": "uri"
|
724
|
+
},
|
725
|
+
"marker": {
|
726
|
+
"type": "string",
|
727
|
+
"location": "uri"
|
728
|
+
}
|
729
|
+
}
|
730
|
+
},
|
731
|
+
"output": {
|
732
|
+
"type": "output",
|
733
|
+
"members": {
|
734
|
+
"uploads_list": {
|
735
|
+
"type": "list",
|
736
|
+
"serialized_name": "UploadsList",
|
737
|
+
"members": {
|
738
|
+
"type": "structure",
|
739
|
+
"members": {
|
740
|
+
"multipart_upload_id": {
|
741
|
+
"type": "string",
|
742
|
+
"serialized_name": "MultipartUploadId"
|
743
|
+
},
|
744
|
+
"vault_arn": {
|
745
|
+
"type": "string",
|
746
|
+
"serialized_name": "VaultARN"
|
747
|
+
},
|
748
|
+
"archive_description": {
|
749
|
+
"type": "string",
|
750
|
+
"serialized_name": "ArchiveDescription"
|
751
|
+
},
|
752
|
+
"part_size_in_bytes": {
|
753
|
+
"type": "integer",
|
754
|
+
"serialized_name": "PartSizeInBytes"
|
755
|
+
},
|
756
|
+
"creation_date": {
|
757
|
+
"type": "iso8601_timestamp",
|
758
|
+
"serialized_name": "CreationDate"
|
759
|
+
}
|
760
|
+
}
|
761
|
+
}
|
762
|
+
},
|
763
|
+
"marker": {
|
764
|
+
"type": "string",
|
765
|
+
"serialized_name": "Marker"
|
766
|
+
}
|
767
|
+
}
|
768
|
+
}
|
769
|
+
},
|
770
|
+
"list_parts": {
|
771
|
+
"name": "ListParts",
|
772
|
+
"http_method": "GET",
|
773
|
+
"http_path": "/{account_id}/vaults/{vault_name}/multipart-uploads/{upload_id}?marker={marker}&limit={limit}",
|
774
|
+
"input": {
|
775
|
+
"type": "input",
|
776
|
+
"members": {
|
777
|
+
"account_id": {
|
778
|
+
"type": "string",
|
779
|
+
"required": true,
|
780
|
+
"location": "uri"
|
781
|
+
},
|
782
|
+
"vault_name": {
|
783
|
+
"type": "string",
|
784
|
+
"required": true,
|
785
|
+
"location": "uri"
|
786
|
+
},
|
787
|
+
"upload_id": {
|
788
|
+
"type": "string",
|
789
|
+
"required": true,
|
790
|
+
"location": "uri"
|
791
|
+
},
|
792
|
+
"marker": {
|
793
|
+
"type": "string",
|
794
|
+
"location": "uri"
|
795
|
+
},
|
796
|
+
"limit": {
|
797
|
+
"type": "integer",
|
798
|
+
"location": "uri"
|
799
|
+
}
|
800
|
+
}
|
801
|
+
},
|
802
|
+
"output": {
|
803
|
+
"type": "output",
|
804
|
+
"members": {
|
805
|
+
"multipart_upload_id": {
|
806
|
+
"type": "string",
|
807
|
+
"serialized_name": "MultipartUploadId"
|
808
|
+
},
|
809
|
+
"vault_arn": {
|
810
|
+
"type": "string",
|
811
|
+
"serialized_name": "VaultARN"
|
812
|
+
},
|
813
|
+
"archive_description": {
|
814
|
+
"type": "string",
|
815
|
+
"serialized_name": "ArchiveDescription"
|
816
|
+
},
|
817
|
+
"part_size_in_bytes": {
|
818
|
+
"type": "integer",
|
819
|
+
"serialized_name": "PartSizeInBytes"
|
820
|
+
},
|
821
|
+
"creation_date": {
|
822
|
+
"type": "iso8601_timestamp",
|
823
|
+
"serialized_name": "CreationDate"
|
824
|
+
},
|
825
|
+
"parts": {
|
826
|
+
"type": "list",
|
827
|
+
"serialized_name": "Parts",
|
828
|
+
"members": {
|
829
|
+
"type": "structure",
|
830
|
+
"members": {
|
831
|
+
"range_in_bytes": {
|
832
|
+
"type": "string",
|
833
|
+
"serialized_name": "RangeInBytes"
|
834
|
+
},
|
835
|
+
"sha256_tree_hash": {
|
836
|
+
"type": "string",
|
837
|
+
"serialized_name": "SHA256TreeHash"
|
838
|
+
}
|
839
|
+
}
|
840
|
+
}
|
841
|
+
},
|
842
|
+
"marker": {
|
843
|
+
"type": "string",
|
844
|
+
"serialized_name": "Marker"
|
845
|
+
}
|
846
|
+
}
|
847
|
+
}
|
848
|
+
},
|
849
|
+
"list_vaults": {
|
850
|
+
"name": "ListVaults",
|
851
|
+
"http_method": "GET",
|
852
|
+
"http_path": "/{account_id}/vaults?marker={marker}&limit={limit}",
|
853
|
+
"input": {
|
854
|
+
"type": "input",
|
855
|
+
"members": {
|
856
|
+
"account_id": {
|
857
|
+
"type": "string",
|
858
|
+
"required": true,
|
859
|
+
"location": "uri"
|
860
|
+
},
|
861
|
+
"marker": {
|
862
|
+
"type": "string",
|
863
|
+
"location": "uri"
|
864
|
+
},
|
865
|
+
"limit": {
|
866
|
+
"type": "integer",
|
867
|
+
"location": "uri"
|
868
|
+
}
|
869
|
+
}
|
870
|
+
},
|
871
|
+
"output": {
|
872
|
+
"type": "output",
|
873
|
+
"members": {
|
874
|
+
"vault_list": {
|
875
|
+
"type": "list",
|
876
|
+
"serialized_name": "VaultList",
|
877
|
+
"members": {
|
878
|
+
"type": "structure",
|
879
|
+
"members": {
|
880
|
+
"vault_arn": {
|
881
|
+
"type": "string",
|
882
|
+
"serialized_name": "VaultARN"
|
883
|
+
},
|
884
|
+
"vault_name": {
|
885
|
+
"type": "string",
|
886
|
+
"serialized_name": "VaultName"
|
887
|
+
},
|
888
|
+
"creation_date": {
|
889
|
+
"type": "iso8601_timestamp",
|
890
|
+
"serialized_name": "CreationDate"
|
891
|
+
},
|
892
|
+
"last_inventory_date": {
|
893
|
+
"type": "iso8601_timestamp",
|
894
|
+
"serialized_name": "LastInventoryDate"
|
895
|
+
},
|
896
|
+
"number_of_archives": {
|
897
|
+
"type": "integer",
|
898
|
+
"serialized_name": "NumberOfArchives"
|
899
|
+
},
|
900
|
+
"size_in_bytes": {
|
901
|
+
"type": "integer",
|
902
|
+
"serialized_name": "SizeInBytes"
|
903
|
+
}
|
904
|
+
}
|
905
|
+
}
|
906
|
+
},
|
907
|
+
"marker": {
|
908
|
+
"type": "string",
|
909
|
+
"serialized_name": "Marker"
|
910
|
+
}
|
911
|
+
}
|
912
|
+
}
|
913
|
+
},
|
914
|
+
"set_vault_notifications": {
|
915
|
+
"name": "SetVaultNotifications",
|
916
|
+
"http_method": "PUT",
|
917
|
+
"http_path": "/{account_id}/vaults/{vault_name}/notification-configuration",
|
918
|
+
"input": {
|
919
|
+
"type": "input",
|
920
|
+
"members": {
|
921
|
+
"account_id": {
|
922
|
+
"type": "string",
|
923
|
+
"required": true,
|
924
|
+
"location": "uri"
|
925
|
+
},
|
926
|
+
"vault_name": {
|
927
|
+
"type": "string",
|
928
|
+
"required": true,
|
929
|
+
"location": "uri"
|
930
|
+
},
|
931
|
+
"vault_notification_config": {
|
932
|
+
"type": "structure",
|
933
|
+
"serialized_name": "vaultNotificationConfig",
|
934
|
+
"members": {
|
935
|
+
"sns_topic": {
|
936
|
+
"type": "string",
|
937
|
+
"serialized_name": "SNSTopic"
|
938
|
+
},
|
939
|
+
"events": {
|
940
|
+
"type": "list",
|
941
|
+
"serialized_name": "Events",
|
942
|
+
"members": {
|
943
|
+
"type": "string"
|
944
|
+
}
|
945
|
+
}
|
946
|
+
}
|
947
|
+
}
|
948
|
+
},
|
949
|
+
"payload": "vault_notification_config"
|
950
|
+
}
|
951
|
+
},
|
952
|
+
"upload_archive": {
|
953
|
+
"name": "UploadArchive",
|
954
|
+
"http_method": "POST",
|
955
|
+
"http_path": "/{account_id}/vaults/{vault_name}/archives",
|
956
|
+
"input": {
|
957
|
+
"type": "input",
|
958
|
+
"members": {
|
959
|
+
"vault_name": {
|
960
|
+
"type": "string",
|
961
|
+
"required": true,
|
962
|
+
"location": "uri"
|
963
|
+
},
|
964
|
+
"account_id": {
|
965
|
+
"type": "string",
|
966
|
+
"required": true,
|
967
|
+
"location": "uri"
|
968
|
+
},
|
969
|
+
"archive_description": {
|
970
|
+
"type": "string",
|
971
|
+
"location": "header",
|
972
|
+
"serialized_name": "x-amz-archive-description"
|
973
|
+
},
|
974
|
+
"checksum": {
|
975
|
+
"type": "string",
|
976
|
+
"location": "header",
|
977
|
+
"serialized_name": "x-amz-sha256-tree-hash"
|
978
|
+
},
|
979
|
+
"body": {
|
980
|
+
"type": "blob",
|
981
|
+
"serialized_name": "body"
|
982
|
+
}
|
983
|
+
},
|
984
|
+
"payload": "body"
|
985
|
+
},
|
986
|
+
"output": {
|
987
|
+
"type": "output",
|
988
|
+
"members": {
|
989
|
+
"location": {
|
990
|
+
"type": "string",
|
991
|
+
"location": "header",
|
992
|
+
"serialized_name": "Location"
|
993
|
+
},
|
994
|
+
"checksum": {
|
995
|
+
"type": "string",
|
996
|
+
"location": "header",
|
997
|
+
"serialized_name": "x-amz-sha256-tree-hash"
|
998
|
+
},
|
999
|
+
"archive_id": {
|
1000
|
+
"type": "string",
|
1001
|
+
"location": "header",
|
1002
|
+
"serialized_name": "x-amz-archive-id"
|
1003
|
+
}
|
1004
|
+
}
|
1005
|
+
}
|
1006
|
+
},
|
1007
|
+
"upload_multipart_part": {
|
1008
|
+
"name": "UploadMultipartPart",
|
1009
|
+
"http_method": "PUT",
|
1010
|
+
"http_path": "/{account_id}/vaults/{vault_name}/multipart-uploads/{upload_id}",
|
1011
|
+
"input": {
|
1012
|
+
"type": "input",
|
1013
|
+
"members": {
|
1014
|
+
"account_id": {
|
1015
|
+
"type": "string",
|
1016
|
+
"required": true,
|
1017
|
+
"location": "uri"
|
1018
|
+
},
|
1019
|
+
"vault_name": {
|
1020
|
+
"type": "string",
|
1021
|
+
"required": true,
|
1022
|
+
"location": "uri"
|
1023
|
+
},
|
1024
|
+
"upload_id": {
|
1025
|
+
"type": "string",
|
1026
|
+
"required": true,
|
1027
|
+
"location": "uri"
|
1028
|
+
},
|
1029
|
+
"checksum": {
|
1030
|
+
"type": "string",
|
1031
|
+
"location": "header",
|
1032
|
+
"serialized_name": "x-amz-sha256-tree-hash"
|
1033
|
+
},
|
1034
|
+
"range": {
|
1035
|
+
"type": "string",
|
1036
|
+
"location": "header",
|
1037
|
+
"serialized_name": "Content-Range"
|
1038
|
+
},
|
1039
|
+
"body": {
|
1040
|
+
"type": "blob",
|
1041
|
+
"serialized_name": "body"
|
1042
|
+
}
|
1043
|
+
},
|
1044
|
+
"payload": "body"
|
1045
|
+
},
|
1046
|
+
"output": {
|
1047
|
+
"type": "output",
|
1048
|
+
"members": {
|
1049
|
+
"checksum": {
|
1050
|
+
"type": "string",
|
1051
|
+
"location": "header",
|
1052
|
+
"serialized_name": "x-amz-sha256-tree-hash"
|
1053
|
+
}
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
}
|
1057
|
+
}
|
1058
|
+
}
|