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,3147 @@
|
|
1
|
+
{
|
2
|
+
"api_version": "2012-06-01",
|
3
|
+
"type": "rest-json",
|
4
|
+
"signature_version": "v4",
|
5
|
+
"checksum_format": "sha256",
|
6
|
+
"service_full_name": "Amazon Glacier",
|
7
|
+
"endpoint_prefix": "glacier",
|
8
|
+
"documentation": "\n <p>Amazon Glacier is a storage solution for \"cold data.\"</p>\n\n <p>Amazon Glacier is an extremely low-cost storage service that provides secure, durable, and\n\t\teasy-to-use storage for data backup and archival. With Amazon Glacier, customers can store\n\t\ttheir data cost effectively for months, years, or decades. Amazon Glacier also enables\n\t\tcustomers to offload the administrative burdens of operating and scaling storage to AWS, so\n\t\tthey don't have to worry about capacity planning, hardware provisioning, data replication,\n\t\thardware failure and recovery, or time-consuming hardware migrations.</p>\n\n <p>Amazon Glacier is a great storage choice when low storage cost is paramount, your data is\n\t\trarely retrieved, and retrieval latency of several hours is acceptable. If your application\n\t\trequires fast or frequent access to your data, consider using Amazon S3. For more\n\t\tinformation, go to <a href=\"http://aws.amazon.com/s3/\">Amazon Simple Storage Service (Amazon S3)</a>.</p>\n\n <p>You can store any kind of data in any format. There is no maximum limit on the total amount\n\t\tof data you can store in Amazon Glacier. </p>\n\n <p>If you are a first-time user of Amazon Glacier, we recommend that you begin \n by reading the following sections in the <i>Amazon Glacier Developer Guide</i>:</p>\n <ul>\n <li><p><a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/introduction.html\">What is Amazon Glacier</a> - This section of the Developer Guide \n describes the underlying data model, the operations it supports, \n and the AWS SDKs that you can use to interact with the service.</p></li>\n <li><p><a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html\">Getting Started with Amazon Glacier</a> - The Getting \n Started section walks you through the process of creating a vault, \n uploading archives, creating jobs to download archives, \n retrieving the job output, and deleting archives.</p></li>\n </ul>\n ",
|
9
|
+
"operations": {
|
10
|
+
"AbortMultipartUpload": {
|
11
|
+
"name": "AbortMultipartUpload",
|
12
|
+
"http": {
|
13
|
+
"method": "DELETE",
|
14
|
+
"uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
|
15
|
+
"response_code": 204
|
16
|
+
},
|
17
|
+
"input": {
|
18
|
+
"shape_name": "AbortMultipartUploadInput",
|
19
|
+
"type": "structure",
|
20
|
+
"members": {
|
21
|
+
"accountId": {
|
22
|
+
"shape_name": "string",
|
23
|
+
"type": "string",
|
24
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
25
|
+
"location": "uri"
|
26
|
+
},
|
27
|
+
"vaultName": {
|
28
|
+
"shape_name": "string",
|
29
|
+
"type": "string",
|
30
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
31
|
+
"location": "uri"
|
32
|
+
},
|
33
|
+
"uploadId": {
|
34
|
+
"shape_name": "string",
|
35
|
+
"type": "string",
|
36
|
+
"documentation": "\n <p>The upload ID of the multipart upload to delete.</p>\n ",
|
37
|
+
"location": "uri"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"documentation": "\n <p>Provides options to abort a multipart upload identified by the upload ID. </p>\n \n <p>For information about the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-multipart-abort-upload.html\">Abort Multipart Upload</a>. \n For conceptual information, go to <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in Amazon Glacier</a>.</p>\n "
|
41
|
+
},
|
42
|
+
"output": null,
|
43
|
+
"errors": [
|
44
|
+
{
|
45
|
+
"shape_name": "ResourceNotFoundException",
|
46
|
+
"type": "structure",
|
47
|
+
"members": {
|
48
|
+
"type": {
|
49
|
+
"shape_name": "string",
|
50
|
+
"type": "string",
|
51
|
+
"documentation": "\n <p>Client</p>\n "
|
52
|
+
},
|
53
|
+
"code": {
|
54
|
+
"shape_name": "string",
|
55
|
+
"type": "string",
|
56
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
57
|
+
},
|
58
|
+
"message": {
|
59
|
+
"shape_name": "string",
|
60
|
+
"type": "string",
|
61
|
+
"documentation": "\n \n "
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"shape_name": "InvalidParameterValueException",
|
68
|
+
"type": "structure",
|
69
|
+
"members": {
|
70
|
+
"type": {
|
71
|
+
"shape_name": "string",
|
72
|
+
"type": "string",
|
73
|
+
"documentation": "\n <p>Client</p>\n "
|
74
|
+
},
|
75
|
+
"code": {
|
76
|
+
"shape_name": "string",
|
77
|
+
"type": "string",
|
78
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
79
|
+
},
|
80
|
+
"message": {
|
81
|
+
"shape_name": "string",
|
82
|
+
"type": "string",
|
83
|
+
"documentation": "\n \n "
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"shape_name": "MissingParameterValueException",
|
90
|
+
"type": "structure",
|
91
|
+
"members": {
|
92
|
+
"type": {
|
93
|
+
"shape_name": "string",
|
94
|
+
"type": "string",
|
95
|
+
"documentation": "\n <p>Client.</p>\n "
|
96
|
+
},
|
97
|
+
"code": {
|
98
|
+
"shape_name": "string",
|
99
|
+
"type": "string",
|
100
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
101
|
+
},
|
102
|
+
"message": {
|
103
|
+
"shape_name": "string",
|
104
|
+
"type": "string",
|
105
|
+
"documentation": "\n \n "
|
106
|
+
}
|
107
|
+
},
|
108
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"shape_name": "ServiceUnavailableException",
|
112
|
+
"type": "structure",
|
113
|
+
"members": {
|
114
|
+
"type": {
|
115
|
+
"shape_name": "string",
|
116
|
+
"type": "string",
|
117
|
+
"documentation": "\n <p>Server</p>\n "
|
118
|
+
},
|
119
|
+
"code": {
|
120
|
+
"shape_name": "string",
|
121
|
+
"type": "string",
|
122
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
123
|
+
},
|
124
|
+
"message": {
|
125
|
+
"shape_name": "string",
|
126
|
+
"type": "string",
|
127
|
+
"documentation": "\n \n "
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"documentation": "\n\t <p>This operation aborts a multipart upload identified by the upload ID.</p>\n \n\n\t\t<p>After the Abort Multipart Upload request succeeds, you cannot upload any more parts to the\n\t\t\tmultipart upload or complete the multipart upload. Aborting a completed upload fails.\n\t\t\tHowever, aborting an already-aborted upload will succeed, for a short time. For more\n\t\t\tinformation about uploading a part and completing a multipart upload, see <a>UploadPart</a> and <a>CompleteMultipartUpload</a>.</p>\n\n\t\t<p>This operation is idempotent.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-multipart-abort-upload.html\">Abort Multipart Upload</a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n "
|
134
|
+
},
|
135
|
+
"CompleteMultipartUpload": {
|
136
|
+
"name": "CompleteMultipartUpload",
|
137
|
+
"http": {
|
138
|
+
"method": "POST",
|
139
|
+
"uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
|
140
|
+
"response_code": 201
|
141
|
+
},
|
142
|
+
"input": {
|
143
|
+
"shape_name": "CompleteMultipartUploadInput",
|
144
|
+
"type": "structure",
|
145
|
+
"members": {
|
146
|
+
"accountId": {
|
147
|
+
"shape_name": "string",
|
148
|
+
"type": "string",
|
149
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
150
|
+
"location": "uri"
|
151
|
+
},
|
152
|
+
"vaultName": {
|
153
|
+
"shape_name": "string",
|
154
|
+
"type": "string",
|
155
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
156
|
+
"location": "uri"
|
157
|
+
},
|
158
|
+
"uploadId": {
|
159
|
+
"shape_name": "string",
|
160
|
+
"type": "string",
|
161
|
+
"documentation": "\n <p>The upload ID of the multipart upload.</p>\n ",
|
162
|
+
"location": "uri"
|
163
|
+
},
|
164
|
+
"archiveSize": {
|
165
|
+
"shape_name": "string",
|
166
|
+
"type": "string",
|
167
|
+
"documentation": "\n <p>The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.</p>\n ",
|
168
|
+
"location": "header",
|
169
|
+
"location_name": "x-amz-archive-size"
|
170
|
+
},
|
171
|
+
"checksum": {
|
172
|
+
"shape_name": "string",
|
173
|
+
"type": "string",
|
174
|
+
"documentation": "\n <p>The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon Glacier, Amazon Glacier returns an error and the request fails.</p>\n ",
|
175
|
+
"location": "header",
|
176
|
+
"location_name": "x-amz-sha256-tree-hash"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"documentation": "\n <p>Provides options to complete a multipart upload operation. \n This informs Amazon Glacier that all the archive parts have been uploaded and Amazon Glacier can now assemble \n the archive from the uploaded parts. \n After assembling and saving the archive to the vault, Amazon Glacier returns the URI path of the newly created archive \n resource.</p>\n "
|
180
|
+
},
|
181
|
+
"output": {
|
182
|
+
"shape_name": "ArchiveCreationOutput",
|
183
|
+
"type": "structure",
|
184
|
+
"members": {
|
185
|
+
"location": {
|
186
|
+
"shape_name": "string",
|
187
|
+
"type": "string",
|
188
|
+
"documentation": "\n <p>The relative URI path of the newly added archive resource.</p>\n ",
|
189
|
+
"location": "header",
|
190
|
+
"location_name": "Location"
|
191
|
+
},
|
192
|
+
"checksum": {
|
193
|
+
"shape_name": "string",
|
194
|
+
"type": "string",
|
195
|
+
"documentation": "\n <p>The checksum of the archive computed by Amazon Glacier.</p>\n ",
|
196
|
+
"location": "header",
|
197
|
+
"location_name": "x-amz-sha256-tree-hash"
|
198
|
+
},
|
199
|
+
"archiveId": {
|
200
|
+
"shape_name": "string",
|
201
|
+
"type": "string",
|
202
|
+
"documentation": "\n <p>The ID of the archive. This value is also included as part of the location.</p>\n ",
|
203
|
+
"location": "header",
|
204
|
+
"location_name": "x-amz-archive-id"
|
205
|
+
}
|
206
|
+
},
|
207
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n <p>For information about the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-archive-post.html\">Upload Archive</a>. \n For conceptual information, go to <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in Amazon Glacier</a>.</p>\n "
|
208
|
+
},
|
209
|
+
"errors": [
|
210
|
+
{
|
211
|
+
"shape_name": "ResourceNotFoundException",
|
212
|
+
"type": "structure",
|
213
|
+
"members": {
|
214
|
+
"type": {
|
215
|
+
"shape_name": "string",
|
216
|
+
"type": "string",
|
217
|
+
"documentation": "\n <p>Client</p>\n "
|
218
|
+
},
|
219
|
+
"code": {
|
220
|
+
"shape_name": "string",
|
221
|
+
"type": "string",
|
222
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
223
|
+
},
|
224
|
+
"message": {
|
225
|
+
"shape_name": "string",
|
226
|
+
"type": "string",
|
227
|
+
"documentation": "\n \n "
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"shape_name": "InvalidParameterValueException",
|
234
|
+
"type": "structure",
|
235
|
+
"members": {
|
236
|
+
"type": {
|
237
|
+
"shape_name": "string",
|
238
|
+
"type": "string",
|
239
|
+
"documentation": "\n <p>Client</p>\n "
|
240
|
+
},
|
241
|
+
"code": {
|
242
|
+
"shape_name": "string",
|
243
|
+
"type": "string",
|
244
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
245
|
+
},
|
246
|
+
"message": {
|
247
|
+
"shape_name": "string",
|
248
|
+
"type": "string",
|
249
|
+
"documentation": "\n \n "
|
250
|
+
}
|
251
|
+
},
|
252
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"shape_name": "MissingParameterValueException",
|
256
|
+
"type": "structure",
|
257
|
+
"members": {
|
258
|
+
"type": {
|
259
|
+
"shape_name": "string",
|
260
|
+
"type": "string",
|
261
|
+
"documentation": "\n <p>Client.</p>\n "
|
262
|
+
},
|
263
|
+
"code": {
|
264
|
+
"shape_name": "string",
|
265
|
+
"type": "string",
|
266
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
267
|
+
},
|
268
|
+
"message": {
|
269
|
+
"shape_name": "string",
|
270
|
+
"type": "string",
|
271
|
+
"documentation": "\n \n "
|
272
|
+
}
|
273
|
+
},
|
274
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"shape_name": "ServiceUnavailableException",
|
278
|
+
"type": "structure",
|
279
|
+
"members": {
|
280
|
+
"type": {
|
281
|
+
"shape_name": "string",
|
282
|
+
"type": "string",
|
283
|
+
"documentation": "\n <p>Server</p>\n "
|
284
|
+
},
|
285
|
+
"code": {
|
286
|
+
"shape_name": "string",
|
287
|
+
"type": "string",
|
288
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
289
|
+
},
|
290
|
+
"message": {
|
291
|
+
"shape_name": "string",
|
292
|
+
"type": "string",
|
293
|
+
"documentation": "\n \n "
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
297
|
+
}
|
298
|
+
],
|
299
|
+
"documentation": "\n\t\t<p>You call this operation to inform Amazon Glacier that all the archive parts have been uploaded\n\t\t\tand that Amazon Glacier can now assemble the archive from the uploaded parts. After assembling and\n\t\t\tsaving the archive to the vault, Amazon Glacier returns the URI path of the newly created\n\t\t\tarchive resource. Using the URI path, you can then access the archive. After you upload\n\t\t\tan archive, you should save the archive ID returned to retrieve the archive at a later\n\t\t\tpoint. You can also get the vault inventory to obtain a list of archive IDs in a vault.\n\t\t\tFor more information, see <a>InitiateJob</a>.</p>\n\n\t\t<p>In the request, you must include the computed SHA256 tree hash of the entire archive you\n\t\t\thave uploaded. For information about computing a SHA256 tree hash, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/checksum-calculations.html\">Computing Checksums</a>. On the server\n\t\t\tside, Amazon Glacier also constructs the SHA256 tree hash of the assembled archive. If the\n\t\t\tvalues match, Amazon Glacier saves the archive to the vault; otherwise, it returns an error,\n\t\t\tand the operation fails. The <a>ListParts</a> operation returns a list of parts uploaded for\n\t\t\ta specific multipart upload. It includes checksum information for each uploaded part\n\t\t\tthat can be used to debug a bad checksum issue.</p>\n \n\t\t<p>Additionally, Amazon Glacier also checks for any missing content ranges when assembling the\n\t\t\tarchive, if missing content ranges are found, Amazon Glacier returns an error and the\n\t\t\toperation fails. </p>\n\n\t\t<p>Complete Multipart Upload is an idempotent operation. After your first successful complete\n\t\t\tmultipart upload, if you call the operation again within a short period, the operation\n\t\t\twill succeed and return the same archive ID. This is useful in the event you experience\n\t\t\ta network issue that causes an aborted connection or receive a 500 server error, in\n\t\t\twhich case you can repeat your Complete Multipart Upload request and get the same\n\t\t\tarchive ID without creating duplicate archives. Note, however, that after the multipart\n\t\t\tupload completes, you cannot call the List Parts operation and the multipart upload will\n\t\t\tnot appear in List Multipart Uploads response, even if idempotent complete is\n\t\t\tpossible.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/uploading-archive-mpu.html\">Uploading Large Archives in Parts (Multipart Upload)</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-multipart-complete-upload.html\">Complete Multipart Upload</a> in the <i>Amazon Glacier Developer Guide</i>.\n </p> \n "
|
300
|
+
},
|
301
|
+
"CreateVault": {
|
302
|
+
"name": "CreateVault",
|
303
|
+
"http": {
|
304
|
+
"method": "PUT",
|
305
|
+
"uri": "/{accountId}/vaults/{vaultName}",
|
306
|
+
"response_code": 201
|
307
|
+
},
|
308
|
+
"input": {
|
309
|
+
"shape_name": "CreateVaultInput",
|
310
|
+
"type": "structure",
|
311
|
+
"members": {
|
312
|
+
"accountId": {
|
313
|
+
"shape_name": "string",
|
314
|
+
"type": "string",
|
315
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
316
|
+
"location": "uri"
|
317
|
+
},
|
318
|
+
"vaultName": {
|
319
|
+
"shape_name": "string",
|
320
|
+
"type": "string",
|
321
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
322
|
+
"location": "uri"
|
323
|
+
}
|
324
|
+
},
|
325
|
+
"documentation": null
|
326
|
+
},
|
327
|
+
"output": {
|
328
|
+
"shape_name": "CreateVaultOutput",
|
329
|
+
"type": "structure",
|
330
|
+
"members": {
|
331
|
+
"location": {
|
332
|
+
"shape_name": "string",
|
333
|
+
"type": "string",
|
334
|
+
"documentation": "\n <p>The URI of the vault that was created.</p>\n ",
|
335
|
+
"location": "header",
|
336
|
+
"location_name": "Location"
|
337
|
+
}
|
338
|
+
},
|
339
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
340
|
+
},
|
341
|
+
"errors": [
|
342
|
+
{
|
343
|
+
"shape_name": "InvalidParameterValueException",
|
344
|
+
"type": "structure",
|
345
|
+
"members": {
|
346
|
+
"type": {
|
347
|
+
"shape_name": "string",
|
348
|
+
"type": "string",
|
349
|
+
"documentation": "\n <p>Client</p>\n "
|
350
|
+
},
|
351
|
+
"code": {
|
352
|
+
"shape_name": "string",
|
353
|
+
"type": "string",
|
354
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
355
|
+
},
|
356
|
+
"message": {
|
357
|
+
"shape_name": "string",
|
358
|
+
"type": "string",
|
359
|
+
"documentation": "\n \n "
|
360
|
+
}
|
361
|
+
},
|
362
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"shape_name": "MissingParameterValueException",
|
366
|
+
"type": "structure",
|
367
|
+
"members": {
|
368
|
+
"type": {
|
369
|
+
"shape_name": "string",
|
370
|
+
"type": "string",
|
371
|
+
"documentation": "\n <p>Client.</p>\n "
|
372
|
+
},
|
373
|
+
"code": {
|
374
|
+
"shape_name": "string",
|
375
|
+
"type": "string",
|
376
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
377
|
+
},
|
378
|
+
"message": {
|
379
|
+
"shape_name": "string",
|
380
|
+
"type": "string",
|
381
|
+
"documentation": "\n \n "
|
382
|
+
}
|
383
|
+
},
|
384
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"shape_name": "ServiceUnavailableException",
|
388
|
+
"type": "structure",
|
389
|
+
"members": {
|
390
|
+
"type": {
|
391
|
+
"shape_name": "string",
|
392
|
+
"type": "string",
|
393
|
+
"documentation": "\n <p>Server</p>\n "
|
394
|
+
},
|
395
|
+
"code": {
|
396
|
+
"shape_name": "string",
|
397
|
+
"type": "string",
|
398
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
399
|
+
},
|
400
|
+
"message": {
|
401
|
+
"shape_name": "string",
|
402
|
+
"type": "string",
|
403
|
+
"documentation": "\n \n "
|
404
|
+
}
|
405
|
+
},
|
406
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"shape_name": "LimitExceededException",
|
410
|
+
"type": "structure",
|
411
|
+
"members": {
|
412
|
+
"type": {
|
413
|
+
"shape_name": "string",
|
414
|
+
"type": "string",
|
415
|
+
"documentation": "\n <p>Client</p>\n "
|
416
|
+
},
|
417
|
+
"code": {
|
418
|
+
"shape_name": "string",
|
419
|
+
"type": "string",
|
420
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
421
|
+
},
|
422
|
+
"message": {
|
423
|
+
"shape_name": "string",
|
424
|
+
"type": "string",
|
425
|
+
"documentation": "\n \n "
|
426
|
+
}
|
427
|
+
},
|
428
|
+
"documentation": "\n <p>Returned if the request results in a vault or account limit being exceeded.</p>\n "
|
429
|
+
}
|
430
|
+
],
|
431
|
+
"documentation": "\n\t\t<p>This operation creates a new vault with the specified name. The name of the vault must be\n\t\t\tunique within a region for an AWS account. You can create up to 1,000 vaults per\n\t\t\taccount. If you need to create more vaults, contact Amazon Glacier.</p>\n\t\t<p>You must use the following guidelines when naming a vault. </p>\n\t\t<p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<p> Names can be between 1 and 255 characters long. </p>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<p>Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen),\n\t\t\t\t\t\tand '.' (period).</p>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</p>\n\t\t\n <p>This operation is idempotent.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/creating-vaults.html\">Creating a Vault in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vault-put.html\">Create Vault </a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n "
|
432
|
+
},
|
433
|
+
"DeleteArchive": {
|
434
|
+
"name": "DeleteArchive",
|
435
|
+
"http": {
|
436
|
+
"method": "DELETE",
|
437
|
+
"uri": "/{accountId}/vaults/{vaultName}/archives/{archiveId}",
|
438
|
+
"response_code": 204
|
439
|
+
},
|
440
|
+
"input": {
|
441
|
+
"shape_name": "DeleteArchiveInput",
|
442
|
+
"type": "structure",
|
443
|
+
"members": {
|
444
|
+
"accountId": {
|
445
|
+
"shape_name": "string",
|
446
|
+
"type": "string",
|
447
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
448
|
+
"location": "uri"
|
449
|
+
},
|
450
|
+
"vaultName": {
|
451
|
+
"shape_name": "string",
|
452
|
+
"type": "string",
|
453
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
454
|
+
"location": "uri"
|
455
|
+
},
|
456
|
+
"archiveId": {
|
457
|
+
"shape_name": "string",
|
458
|
+
"type": "string",
|
459
|
+
"documentation": "\n <p>The ID of the archive to delete.</p>\n ",
|
460
|
+
"location": "uri"
|
461
|
+
}
|
462
|
+
},
|
463
|
+
"documentation": "\n <p>Provides options for deleting an archive from an Amazon Glacier vault.</p>\n "
|
464
|
+
},
|
465
|
+
"output": null,
|
466
|
+
"errors": [
|
467
|
+
{
|
468
|
+
"shape_name": "ResourceNotFoundException",
|
469
|
+
"type": "structure",
|
470
|
+
"members": {
|
471
|
+
"type": {
|
472
|
+
"shape_name": "string",
|
473
|
+
"type": "string",
|
474
|
+
"documentation": "\n <p>Client</p>\n "
|
475
|
+
},
|
476
|
+
"code": {
|
477
|
+
"shape_name": "string",
|
478
|
+
"type": "string",
|
479
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
480
|
+
},
|
481
|
+
"message": {
|
482
|
+
"shape_name": "string",
|
483
|
+
"type": "string",
|
484
|
+
"documentation": "\n \n "
|
485
|
+
}
|
486
|
+
},
|
487
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"shape_name": "InvalidParameterValueException",
|
491
|
+
"type": "structure",
|
492
|
+
"members": {
|
493
|
+
"type": {
|
494
|
+
"shape_name": "string",
|
495
|
+
"type": "string",
|
496
|
+
"documentation": "\n <p>Client</p>\n "
|
497
|
+
},
|
498
|
+
"code": {
|
499
|
+
"shape_name": "string",
|
500
|
+
"type": "string",
|
501
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
502
|
+
},
|
503
|
+
"message": {
|
504
|
+
"shape_name": "string",
|
505
|
+
"type": "string",
|
506
|
+
"documentation": "\n \n "
|
507
|
+
}
|
508
|
+
},
|
509
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"shape_name": "MissingParameterValueException",
|
513
|
+
"type": "structure",
|
514
|
+
"members": {
|
515
|
+
"type": {
|
516
|
+
"shape_name": "string",
|
517
|
+
"type": "string",
|
518
|
+
"documentation": "\n <p>Client.</p>\n "
|
519
|
+
},
|
520
|
+
"code": {
|
521
|
+
"shape_name": "string",
|
522
|
+
"type": "string",
|
523
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
524
|
+
},
|
525
|
+
"message": {
|
526
|
+
"shape_name": "string",
|
527
|
+
"type": "string",
|
528
|
+
"documentation": "\n \n "
|
529
|
+
}
|
530
|
+
},
|
531
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"shape_name": "ServiceUnavailableException",
|
535
|
+
"type": "structure",
|
536
|
+
"members": {
|
537
|
+
"type": {
|
538
|
+
"shape_name": "string",
|
539
|
+
"type": "string",
|
540
|
+
"documentation": "\n <p>Server</p>\n "
|
541
|
+
},
|
542
|
+
"code": {
|
543
|
+
"shape_name": "string",
|
544
|
+
"type": "string",
|
545
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
546
|
+
},
|
547
|
+
"message": {
|
548
|
+
"shape_name": "string",
|
549
|
+
"type": "string",
|
550
|
+
"documentation": "\n \n "
|
551
|
+
}
|
552
|
+
},
|
553
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"documentation": "\n\t\t<p>This operation deletes an archive from a vault. Subsequent requests to initiate a retrieval\n\t\t\tof this archive will fail. Archive retrievals that are in progress for this archive ID\n\t\t\tmay or may not succeed according to the following scenarios:</p>\n\t \t<ul>\n\t\t\t<li>If the archive retrieval job is actively preparing the data for download when Amazon\n\t\t\t\t\t\tGlacier receives the delete archive request, the archival retrieval\n\t\t\t\t\t\toperation might fail.\n\t\t\t</li>\n\t\t\t<li>If the archive retrieval job has successfully prepared the archive for download when\n\t\t\t\t\t\tAmazon Glacier receives the delete archive request, you will be able to\n\t\t\t\t\t\tdownload the output.\n\t\t\t</li>\n\t\t</ul>\n\n\t\t<p>This operation is idempotent. Attempting to delete an already-deleted archive does not\n\t\t\tresult in an error. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/deleting-an-archive.html\">Deleting an Archive in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-archive-delete.html\">Delete Archive</a> in the <i>Amazon Glacier Developer Guide</i>.\n </p> \n "
|
557
|
+
},
|
558
|
+
"DeleteVault": {
|
559
|
+
"name": "DeleteVault",
|
560
|
+
"http": {
|
561
|
+
"method": "DELETE",
|
562
|
+
"uri": "/{accountId}/vaults/{vaultName}",
|
563
|
+
"response_code": 204
|
564
|
+
},
|
565
|
+
"input": {
|
566
|
+
"shape_name": "DeleteVaultInput",
|
567
|
+
"type": "structure",
|
568
|
+
"members": {
|
569
|
+
"accountId": {
|
570
|
+
"shape_name": "string",
|
571
|
+
"type": "string",
|
572
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
573
|
+
"location": "uri"
|
574
|
+
},
|
575
|
+
"vaultName": {
|
576
|
+
"shape_name": "string",
|
577
|
+
"type": "string",
|
578
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
579
|
+
"location": "uri"
|
580
|
+
}
|
581
|
+
},
|
582
|
+
"documentation": "\n <p>Provides options for deleting a vault from Amazon Glacier.</p>\n "
|
583
|
+
},
|
584
|
+
"output": null,
|
585
|
+
"errors": [
|
586
|
+
{
|
587
|
+
"shape_name": "ResourceNotFoundException",
|
588
|
+
"type": "structure",
|
589
|
+
"members": {
|
590
|
+
"type": {
|
591
|
+
"shape_name": "string",
|
592
|
+
"type": "string",
|
593
|
+
"documentation": "\n <p>Client</p>\n "
|
594
|
+
},
|
595
|
+
"code": {
|
596
|
+
"shape_name": "string",
|
597
|
+
"type": "string",
|
598
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
599
|
+
},
|
600
|
+
"message": {
|
601
|
+
"shape_name": "string",
|
602
|
+
"type": "string",
|
603
|
+
"documentation": "\n \n "
|
604
|
+
}
|
605
|
+
},
|
606
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"shape_name": "InvalidParameterValueException",
|
610
|
+
"type": "structure",
|
611
|
+
"members": {
|
612
|
+
"type": {
|
613
|
+
"shape_name": "string",
|
614
|
+
"type": "string",
|
615
|
+
"documentation": "\n <p>Client</p>\n "
|
616
|
+
},
|
617
|
+
"code": {
|
618
|
+
"shape_name": "string",
|
619
|
+
"type": "string",
|
620
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
621
|
+
},
|
622
|
+
"message": {
|
623
|
+
"shape_name": "string",
|
624
|
+
"type": "string",
|
625
|
+
"documentation": "\n \n "
|
626
|
+
}
|
627
|
+
},
|
628
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"shape_name": "MissingParameterValueException",
|
632
|
+
"type": "structure",
|
633
|
+
"members": {
|
634
|
+
"type": {
|
635
|
+
"shape_name": "string",
|
636
|
+
"type": "string",
|
637
|
+
"documentation": "\n <p>Client.</p>\n "
|
638
|
+
},
|
639
|
+
"code": {
|
640
|
+
"shape_name": "string",
|
641
|
+
"type": "string",
|
642
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
643
|
+
},
|
644
|
+
"message": {
|
645
|
+
"shape_name": "string",
|
646
|
+
"type": "string",
|
647
|
+
"documentation": "\n \n "
|
648
|
+
}
|
649
|
+
},
|
650
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"shape_name": "ServiceUnavailableException",
|
654
|
+
"type": "structure",
|
655
|
+
"members": {
|
656
|
+
"type": {
|
657
|
+
"shape_name": "string",
|
658
|
+
"type": "string",
|
659
|
+
"documentation": "\n <p>Server</p>\n "
|
660
|
+
},
|
661
|
+
"code": {
|
662
|
+
"shape_name": "string",
|
663
|
+
"type": "string",
|
664
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
665
|
+
},
|
666
|
+
"message": {
|
667
|
+
"shape_name": "string",
|
668
|
+
"type": "string",
|
669
|
+
"documentation": "\n \n "
|
670
|
+
}
|
671
|
+
},
|
672
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
673
|
+
}
|
674
|
+
],
|
675
|
+
"documentation": "\n\t\t<p>This operation deletes a vault. Amazon Glacier will delete a vault only if there are no archives\n\t\t\tin the vault as of the last inventory and there have been no writes to the vault since\n\t\t\tthe last inventory. If either of these conditions is not satisfied, the vault deletion\n\t\t\tfails (that is, the vault is not removed) and Amazon Glacier returns an error. You can use\n\t\t\t\t<a>DescribeVault</a> to return the number of\n\t\t\tarchives in a vault, and you can use <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-initiate-job-post.html\">Initiate a Job (POST jobs)</a> to initiate a new inventory retrieval for a\n\t\t\tvault. The inventory contains the archive IDs you use to delete archives using <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-archive-delete.html\">Delete Archive (DELETE archive)</a>.</p>\n\n\t\t<p>This operation is idempotent.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/deleting-vaults.html\">Deleting a Vault in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vault-delete.html\">Delete Vault </a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n "
|
676
|
+
},
|
677
|
+
"DeleteVaultNotifications": {
|
678
|
+
"name": "DeleteVaultNotifications",
|
679
|
+
"http": {
|
680
|
+
"method": "DELETE",
|
681
|
+
"uri": "/{accountId}/vaults/{vaultName}/notification-configuration",
|
682
|
+
"response_code": 204
|
683
|
+
},
|
684
|
+
"input": {
|
685
|
+
"shape_name": "DeleteVaultNotificationsInput",
|
686
|
+
"type": "structure",
|
687
|
+
"members": {
|
688
|
+
"accountId": {
|
689
|
+
"shape_name": "string",
|
690
|
+
"type": "string",
|
691
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
692
|
+
"location": "uri"
|
693
|
+
},
|
694
|
+
"vaultName": {
|
695
|
+
"shape_name": "string",
|
696
|
+
"type": "string",
|
697
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
698
|
+
"location": "uri"
|
699
|
+
}
|
700
|
+
},
|
701
|
+
"documentation": "\n <p>Provides options for deleting a vault notification configuration from an Amazon Glacier vault.</p>\n "
|
702
|
+
},
|
703
|
+
"output": null,
|
704
|
+
"errors": [
|
705
|
+
{
|
706
|
+
"shape_name": "ResourceNotFoundException",
|
707
|
+
"type": "structure",
|
708
|
+
"members": {
|
709
|
+
"type": {
|
710
|
+
"shape_name": "string",
|
711
|
+
"type": "string",
|
712
|
+
"documentation": "\n <p>Client</p>\n "
|
713
|
+
},
|
714
|
+
"code": {
|
715
|
+
"shape_name": "string",
|
716
|
+
"type": "string",
|
717
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
718
|
+
},
|
719
|
+
"message": {
|
720
|
+
"shape_name": "string",
|
721
|
+
"type": "string",
|
722
|
+
"documentation": "\n \n "
|
723
|
+
}
|
724
|
+
},
|
725
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"shape_name": "InvalidParameterValueException",
|
729
|
+
"type": "structure",
|
730
|
+
"members": {
|
731
|
+
"type": {
|
732
|
+
"shape_name": "string",
|
733
|
+
"type": "string",
|
734
|
+
"documentation": "\n <p>Client</p>\n "
|
735
|
+
},
|
736
|
+
"code": {
|
737
|
+
"shape_name": "string",
|
738
|
+
"type": "string",
|
739
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
740
|
+
},
|
741
|
+
"message": {
|
742
|
+
"shape_name": "string",
|
743
|
+
"type": "string",
|
744
|
+
"documentation": "\n \n "
|
745
|
+
}
|
746
|
+
},
|
747
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"shape_name": "MissingParameterValueException",
|
751
|
+
"type": "structure",
|
752
|
+
"members": {
|
753
|
+
"type": {
|
754
|
+
"shape_name": "string",
|
755
|
+
"type": "string",
|
756
|
+
"documentation": "\n <p>Client.</p>\n "
|
757
|
+
},
|
758
|
+
"code": {
|
759
|
+
"shape_name": "string",
|
760
|
+
"type": "string",
|
761
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
762
|
+
},
|
763
|
+
"message": {
|
764
|
+
"shape_name": "string",
|
765
|
+
"type": "string",
|
766
|
+
"documentation": "\n \n "
|
767
|
+
}
|
768
|
+
},
|
769
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"shape_name": "ServiceUnavailableException",
|
773
|
+
"type": "structure",
|
774
|
+
"members": {
|
775
|
+
"type": {
|
776
|
+
"shape_name": "string",
|
777
|
+
"type": "string",
|
778
|
+
"documentation": "\n <p>Server</p>\n "
|
779
|
+
},
|
780
|
+
"code": {
|
781
|
+
"shape_name": "string",
|
782
|
+
"type": "string",
|
783
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
784
|
+
},
|
785
|
+
"message": {
|
786
|
+
"shape_name": "string",
|
787
|
+
"type": "string",
|
788
|
+
"documentation": "\n \n "
|
789
|
+
}
|
790
|
+
},
|
791
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
792
|
+
}
|
793
|
+
],
|
794
|
+
"documentation": "\n\t <p>This operation deletes the notification configuration set for a vault. The operation is\n\t\t\teventually consistent;that is, it might take some time for Amazon Glacier to\n\t\t\tcompletely disable the notifications and you might still receive some notifications for\n\t\t\ta short time after you send the delete request. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault Notifications in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vault-notifications-delete.html\">Delete Vault Notification Configuration </a> in the Amazon Glacier Developer Guide.\n </p> \n "
|
795
|
+
},
|
796
|
+
"DescribeJob": {
|
797
|
+
"name": "DescribeJob",
|
798
|
+
"http": {
|
799
|
+
"method": "GET",
|
800
|
+
"uri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}"
|
801
|
+
},
|
802
|
+
"input": {
|
803
|
+
"shape_name": "DescribeJobInput",
|
804
|
+
"type": "structure",
|
805
|
+
"members": {
|
806
|
+
"accountId": {
|
807
|
+
"shape_name": "string",
|
808
|
+
"type": "string",
|
809
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
810
|
+
"location": "uri"
|
811
|
+
},
|
812
|
+
"vaultName": {
|
813
|
+
"shape_name": "string",
|
814
|
+
"type": "string",
|
815
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
816
|
+
"location": "uri"
|
817
|
+
},
|
818
|
+
"jobId": {
|
819
|
+
"shape_name": "string",
|
820
|
+
"type": "string",
|
821
|
+
"documentation": "\n <p>The ID of the job to describe.</p>\n ",
|
822
|
+
"location": "uri"
|
823
|
+
}
|
824
|
+
},
|
825
|
+
"documentation": "\n <p>Provides options for retrieving a job description.</p>\n "
|
826
|
+
},
|
827
|
+
"output": {
|
828
|
+
"shape_name": "GlacierJobDescription",
|
829
|
+
"type": "structure",
|
830
|
+
"members": {
|
831
|
+
"JobId": {
|
832
|
+
"shape_name": "string",
|
833
|
+
"type": "string",
|
834
|
+
"documentation": "\n <p>An opaque string that identifies an Amazon Glacier job.</p>\n \n "
|
835
|
+
},
|
836
|
+
"JobDescription": {
|
837
|
+
"shape_name": "string",
|
838
|
+
"type": "string",
|
839
|
+
"documentation": "\n <p>The job description you provided when you initiated the job.</p>\n "
|
840
|
+
},
|
841
|
+
"Action": {
|
842
|
+
"shape_name": "ActionCode",
|
843
|
+
"type": "string",
|
844
|
+
"enum": [
|
845
|
+
"ArchiveRetrieval",
|
846
|
+
"InventoryRetrieval"
|
847
|
+
],
|
848
|
+
"documentation": "\n <p>The job type. It is either ArchiveRetrieval or InventoryRetrieval.</p>\n "
|
849
|
+
},
|
850
|
+
"ArchiveId": {
|
851
|
+
"shape_name": "string",
|
852
|
+
"type": "string",
|
853
|
+
"documentation": "\n <p>For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.</p>\n "
|
854
|
+
},
|
855
|
+
"VaultARN": {
|
856
|
+
"shape_name": "string",
|
857
|
+
"type": "string",
|
858
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.</p>\n "
|
859
|
+
},
|
860
|
+
"CreationDate": {
|
861
|
+
"shape_name": "string",
|
862
|
+
"type": "string",
|
863
|
+
"documentation": "\n <p>The UTC date when the job was created. A string representation of ISO 8601 date format, for example, \"2012-03-20T17:03:43.221Z\".</p>\n "
|
864
|
+
},
|
865
|
+
"Completed": {
|
866
|
+
"shape_name": "boolean",
|
867
|
+
"type": "boolean",
|
868
|
+
"documentation": "\n <p>The job status. When a job is completed, you get the job's output.</p>\n "
|
869
|
+
},
|
870
|
+
"StatusCode": {
|
871
|
+
"shape_name": "StatusCode",
|
872
|
+
"type": "string",
|
873
|
+
"enum": [
|
874
|
+
"InProgress",
|
875
|
+
"Succeeded",
|
876
|
+
"Failed"
|
877
|
+
],
|
878
|
+
"documentation": "\n <p>The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.</p>\n "
|
879
|
+
},
|
880
|
+
"StatusMessage": {
|
881
|
+
"shape_name": "string",
|
882
|
+
"type": "string",
|
883
|
+
"documentation": "\n <p>A friendly message that describes the job status.</p>\n "
|
884
|
+
},
|
885
|
+
"ArchiveSizeInBytes": {
|
886
|
+
"shape_name": "Size",
|
887
|
+
"type": "long",
|
888
|
+
"documentation": "\n <p>For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null.</p>\n "
|
889
|
+
},
|
890
|
+
"InventorySizeInBytes": {
|
891
|
+
"shape_name": "Size",
|
892
|
+
"type": "long",
|
893
|
+
"documentation": "\n <p>For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.</p>\n "
|
894
|
+
},
|
895
|
+
"SNSTopic": {
|
896
|
+
"shape_name": "string",
|
897
|
+
"type": "string",
|
898
|
+
"documentation": "\n <p>An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.</p>\n "
|
899
|
+
},
|
900
|
+
"CompletionDate": {
|
901
|
+
"shape_name": "string",
|
902
|
+
"type": "string",
|
903
|
+
"documentation": "\n <p>The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.</p>\n "
|
904
|
+
},
|
905
|
+
"SHA256TreeHash": {
|
906
|
+
"shape_name": "string",
|
907
|
+
"type": "string",
|
908
|
+
"documentation": "\n <p>For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.</p>\n "
|
909
|
+
},
|
910
|
+
"ArchiveSHA256TreeHash": {
|
911
|
+
"shape_name": "string",
|
912
|
+
"type": "string",
|
913
|
+
"documentation": null
|
914
|
+
},
|
915
|
+
"RetrievalByteRange": {
|
916
|
+
"shape_name": "string",
|
917
|
+
"type": "string",
|
918
|
+
"documentation": null
|
919
|
+
}
|
920
|
+
},
|
921
|
+
"documentation": "\n <p>Describes an Amazon Glacier job.</p>\n "
|
922
|
+
},
|
923
|
+
"errors": [
|
924
|
+
{
|
925
|
+
"shape_name": "ResourceNotFoundException",
|
926
|
+
"type": "structure",
|
927
|
+
"members": {
|
928
|
+
"type": {
|
929
|
+
"shape_name": "string",
|
930
|
+
"type": "string",
|
931
|
+
"documentation": "\n <p>Client</p>\n "
|
932
|
+
},
|
933
|
+
"code": {
|
934
|
+
"shape_name": "string",
|
935
|
+
"type": "string",
|
936
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
937
|
+
},
|
938
|
+
"message": {
|
939
|
+
"shape_name": "string",
|
940
|
+
"type": "string",
|
941
|
+
"documentation": "\n \n "
|
942
|
+
}
|
943
|
+
},
|
944
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"shape_name": "InvalidParameterValueException",
|
948
|
+
"type": "structure",
|
949
|
+
"members": {
|
950
|
+
"type": {
|
951
|
+
"shape_name": "string",
|
952
|
+
"type": "string",
|
953
|
+
"documentation": "\n <p>Client</p>\n "
|
954
|
+
},
|
955
|
+
"code": {
|
956
|
+
"shape_name": "string",
|
957
|
+
"type": "string",
|
958
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
959
|
+
},
|
960
|
+
"message": {
|
961
|
+
"shape_name": "string",
|
962
|
+
"type": "string",
|
963
|
+
"documentation": "\n \n "
|
964
|
+
}
|
965
|
+
},
|
966
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"shape_name": "MissingParameterValueException",
|
970
|
+
"type": "structure",
|
971
|
+
"members": {
|
972
|
+
"type": {
|
973
|
+
"shape_name": "string",
|
974
|
+
"type": "string",
|
975
|
+
"documentation": "\n <p>Client.</p>\n "
|
976
|
+
},
|
977
|
+
"code": {
|
978
|
+
"shape_name": "string",
|
979
|
+
"type": "string",
|
980
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
981
|
+
},
|
982
|
+
"message": {
|
983
|
+
"shape_name": "string",
|
984
|
+
"type": "string",
|
985
|
+
"documentation": "\n \n "
|
986
|
+
}
|
987
|
+
},
|
988
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
989
|
+
},
|
990
|
+
{
|
991
|
+
"shape_name": "ServiceUnavailableException",
|
992
|
+
"type": "structure",
|
993
|
+
"members": {
|
994
|
+
"type": {
|
995
|
+
"shape_name": "string",
|
996
|
+
"type": "string",
|
997
|
+
"documentation": "\n <p>Server</p>\n "
|
998
|
+
},
|
999
|
+
"code": {
|
1000
|
+
"shape_name": "string",
|
1001
|
+
"type": "string",
|
1002
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
1003
|
+
},
|
1004
|
+
"message": {
|
1005
|
+
"shape_name": "string",
|
1006
|
+
"type": "string",
|
1007
|
+
"documentation": "\n \n "
|
1008
|
+
}
|
1009
|
+
},
|
1010
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
1011
|
+
}
|
1012
|
+
],
|
1013
|
+
"documentation": "\n\t <p>This operation returns information about a job you previously initiated, including the job\n\t\t\tinitiation date, the user who initiated the job, the job status code/message and the\n\t\t\tAmazon SNS topic to notify after Amazon Glacier completes the job. For more information about\n\t\t\tinitiating a job, see <a>InitiateJob</a>. </p>\n\n\t\t<note><p>This operation enables you to check the status of your job. However, it is\n\t\t\t\t\tstrongly recommended that you set up an Amazon SNS topic and specify it in your\n\t\t\t\t\tinitiate job request so that Amazon Glacier can notify the topic after it completes\n\t\t\t\t\tthe job. </p></note>\n\n <p>A job ID will not expire for at least 24 hours after Amazon Glacier completes the job. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n \n <p> For information about the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-describe-job-get.html\">Working with Archives in Amazon Glacier</a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n \n "
|
1014
|
+
},
|
1015
|
+
"DescribeVault": {
|
1016
|
+
"name": "DescribeVault",
|
1017
|
+
"http": {
|
1018
|
+
"method": "GET",
|
1019
|
+
"uri": "/{accountId}/vaults/{vaultName}"
|
1020
|
+
},
|
1021
|
+
"input": {
|
1022
|
+
"shape_name": "DescribeVaultInput",
|
1023
|
+
"type": "structure",
|
1024
|
+
"members": {
|
1025
|
+
"accountId": {
|
1026
|
+
"shape_name": "string",
|
1027
|
+
"type": "string",
|
1028
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
1029
|
+
"location": "uri"
|
1030
|
+
},
|
1031
|
+
"vaultName": {
|
1032
|
+
"shape_name": "string",
|
1033
|
+
"type": "string",
|
1034
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
1035
|
+
"location": "uri"
|
1036
|
+
}
|
1037
|
+
},
|
1038
|
+
"documentation": "\n <p>Provides options for retrieving metadata for a specific vault in Amazon Glacier.</p>\n "
|
1039
|
+
},
|
1040
|
+
"output": {
|
1041
|
+
"shape_name": "DescribeVaultOutput",
|
1042
|
+
"type": "structure",
|
1043
|
+
"members": {
|
1044
|
+
"VaultARN": {
|
1045
|
+
"shape_name": "string",
|
1046
|
+
"type": "string",
|
1047
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) of the vault.</p>\n "
|
1048
|
+
},
|
1049
|
+
"VaultName": {
|
1050
|
+
"shape_name": "string",
|
1051
|
+
"type": "string",
|
1052
|
+
"documentation": "\n <p>The name of the vault.</p>\n "
|
1053
|
+
},
|
1054
|
+
"CreationDate": {
|
1055
|
+
"shape_name": "string",
|
1056
|
+
"type": "string",
|
1057
|
+
"documentation": "\n <p>The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, \"2012-03-20T17:03:43.221Z\".</p>\n "
|
1058
|
+
},
|
1059
|
+
"LastInventoryDate": {
|
1060
|
+
"shape_name": "string",
|
1061
|
+
"type": "string",
|
1062
|
+
"documentation": "\n <p>The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, \"2012-03-20T17:03:43.221Z\".</p>\n "
|
1063
|
+
},
|
1064
|
+
"NumberOfArchives": {
|
1065
|
+
"shape_name": "long",
|
1066
|
+
"type": "long",
|
1067
|
+
"documentation": "\n <p>The number of archives in the vault as of the last inventory date. This field will return <code>null</code> if an inventory has not yet run on the vault, for example, if you just created the vault.</p>\n "
|
1068
|
+
},
|
1069
|
+
"SizeInBytes": {
|
1070
|
+
"shape_name": "long",
|
1071
|
+
"type": "long",
|
1072
|
+
"documentation": "\n <p>Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.</p>\n "
|
1073
|
+
}
|
1074
|
+
},
|
1075
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
1076
|
+
},
|
1077
|
+
"errors": [
|
1078
|
+
{
|
1079
|
+
"shape_name": "ResourceNotFoundException",
|
1080
|
+
"type": "structure",
|
1081
|
+
"members": {
|
1082
|
+
"type": {
|
1083
|
+
"shape_name": "string",
|
1084
|
+
"type": "string",
|
1085
|
+
"documentation": "\n <p>Client</p>\n "
|
1086
|
+
},
|
1087
|
+
"code": {
|
1088
|
+
"shape_name": "string",
|
1089
|
+
"type": "string",
|
1090
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
1091
|
+
},
|
1092
|
+
"message": {
|
1093
|
+
"shape_name": "string",
|
1094
|
+
"type": "string",
|
1095
|
+
"documentation": "\n \n "
|
1096
|
+
}
|
1097
|
+
},
|
1098
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"shape_name": "InvalidParameterValueException",
|
1102
|
+
"type": "structure",
|
1103
|
+
"members": {
|
1104
|
+
"type": {
|
1105
|
+
"shape_name": "string",
|
1106
|
+
"type": "string",
|
1107
|
+
"documentation": "\n <p>Client</p>\n "
|
1108
|
+
},
|
1109
|
+
"code": {
|
1110
|
+
"shape_name": "string",
|
1111
|
+
"type": "string",
|
1112
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1113
|
+
},
|
1114
|
+
"message": {
|
1115
|
+
"shape_name": "string",
|
1116
|
+
"type": "string",
|
1117
|
+
"documentation": "\n \n "
|
1118
|
+
}
|
1119
|
+
},
|
1120
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
1121
|
+
},
|
1122
|
+
{
|
1123
|
+
"shape_name": "MissingParameterValueException",
|
1124
|
+
"type": "structure",
|
1125
|
+
"members": {
|
1126
|
+
"type": {
|
1127
|
+
"shape_name": "string",
|
1128
|
+
"type": "string",
|
1129
|
+
"documentation": "\n <p>Client.</p>\n "
|
1130
|
+
},
|
1131
|
+
"code": {
|
1132
|
+
"shape_name": "string",
|
1133
|
+
"type": "string",
|
1134
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1135
|
+
},
|
1136
|
+
"message": {
|
1137
|
+
"shape_name": "string",
|
1138
|
+
"type": "string",
|
1139
|
+
"documentation": "\n \n "
|
1140
|
+
}
|
1141
|
+
},
|
1142
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
1143
|
+
},
|
1144
|
+
{
|
1145
|
+
"shape_name": "ServiceUnavailableException",
|
1146
|
+
"type": "structure",
|
1147
|
+
"members": {
|
1148
|
+
"type": {
|
1149
|
+
"shape_name": "string",
|
1150
|
+
"type": "string",
|
1151
|
+
"documentation": "\n <p>Server</p>\n "
|
1152
|
+
},
|
1153
|
+
"code": {
|
1154
|
+
"shape_name": "string",
|
1155
|
+
"type": "string",
|
1156
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
1157
|
+
},
|
1158
|
+
"message": {
|
1159
|
+
"shape_name": "string",
|
1160
|
+
"type": "string",
|
1161
|
+
"documentation": "\n \n "
|
1162
|
+
}
|
1163
|
+
},
|
1164
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
1165
|
+
}
|
1166
|
+
],
|
1167
|
+
"documentation": "\n\t\t<p>This operation returns information about a vault, including the vault's Amazon Resource Name\n\t\t\t(ARN), the date the vault was created, the number of archives it contains, \n\t\t\tand the total size of all the archives in the vault. The number of archives and\n\t\t\ttheir total size are as of the last inventory generation. This means that if you add or\n\t\t\tremove an archive from a vault, and then immediately use Describe Vault, the change in\n\t\t\tcontents will not be immediately reflected. If you want to retrieve the latest inventory\n\t\t\tof the vault, use <a>InitiateJob</a>. Amazon Glacier generates vault inventories approximately daily. \n\t\t\tFor more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/vault-inventory.html\">Downloading a Vault Inventory in Amazon Glacier</a>.\n\t\t</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/retrieving-vault-info.html\">Retrieving Vault Metadata in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vault-get.html\">Describe Vault </a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n "
|
1168
|
+
},
|
1169
|
+
"GetJobOutput": {
|
1170
|
+
"name": "GetJobOutput",
|
1171
|
+
"http": {
|
1172
|
+
"method": "GET",
|
1173
|
+
"uri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"
|
1174
|
+
},
|
1175
|
+
"input": {
|
1176
|
+
"shape_name": "GetJobOutputInput",
|
1177
|
+
"type": "structure",
|
1178
|
+
"members": {
|
1179
|
+
"accountId": {
|
1180
|
+
"shape_name": "string",
|
1181
|
+
"type": "string",
|
1182
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
1183
|
+
"location": "uri"
|
1184
|
+
},
|
1185
|
+
"vaultName": {
|
1186
|
+
"shape_name": "string",
|
1187
|
+
"type": "string",
|
1188
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
1189
|
+
"location": "uri"
|
1190
|
+
},
|
1191
|
+
"jobId": {
|
1192
|
+
"shape_name": "string",
|
1193
|
+
"type": "string",
|
1194
|
+
"documentation": "\n <p>The job ID whose data is downloaded.</p>\n ",
|
1195
|
+
"location": "uri"
|
1196
|
+
},
|
1197
|
+
"range": {
|
1198
|
+
"shape_name": "string",
|
1199
|
+
"type": "string",
|
1200
|
+
"documentation": "\n <p>The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, \n specify \"Range: bytes=0-1048575\". By default, this operation downloads the entire output. </p>\n ",
|
1201
|
+
"location": "header",
|
1202
|
+
"location_name": "Range"
|
1203
|
+
}
|
1204
|
+
},
|
1205
|
+
"documentation": "\n <p>Provides options for downloading output of an Amazon Glacier job.</p>\n "
|
1206
|
+
},
|
1207
|
+
"output": {
|
1208
|
+
"shape_name": "GetJobOutputOutput",
|
1209
|
+
"type": "structure",
|
1210
|
+
"members": {
|
1211
|
+
"body": {
|
1212
|
+
"shape_name": "Stream",
|
1213
|
+
"type": "blob",
|
1214
|
+
"streaming": true,
|
1215
|
+
"documentation": "\n <p>The job data, either archive data or inventory data.</p>\n ",
|
1216
|
+
"payload": true
|
1217
|
+
},
|
1218
|
+
"checksum": {
|
1219
|
+
"shape_name": "string",
|
1220
|
+
"type": "string",
|
1221
|
+
"documentation": "\n <p>\n The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:\n <ul> \n <li>You get the entire range of the archive.</li>\n <li>You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.</li>\n <li>You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.</li>\n </ul>\n </p>\n ",
|
1222
|
+
"location": "header",
|
1223
|
+
"location_name": "x-amz-sha256-tree-hash"
|
1224
|
+
},
|
1225
|
+
"status": {
|
1226
|
+
"shape_name": "httpstatus",
|
1227
|
+
"type": "integer",
|
1228
|
+
"documentation": "\n <p>The HTTP response code for a job output request. The value depends on whether a range was specified in the request.</p>\n ",
|
1229
|
+
"location": "http_status"
|
1230
|
+
},
|
1231
|
+
"contentRange": {
|
1232
|
+
"shape_name": "string",
|
1233
|
+
"type": "string",
|
1234
|
+
"documentation": "\n <p>The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned.\n For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.</p>\n ",
|
1235
|
+
"location": "header",
|
1236
|
+
"location_name": "Content-Range"
|
1237
|
+
},
|
1238
|
+
"acceptRanges": {
|
1239
|
+
"shape_name": "string",
|
1240
|
+
"type": "string",
|
1241
|
+
"documentation": "\n <p>Indicates the range units accepted. For more information, go to \n <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html\">RFC2616</a>. </p>\n ",
|
1242
|
+
"location": "header",
|
1243
|
+
"location_name": "Accept-Ranges"
|
1244
|
+
},
|
1245
|
+
"contentType": {
|
1246
|
+
"shape_name": "string",
|
1247
|
+
"type": "string",
|
1248
|
+
"documentation": "\n <p>The Content-Type depends on whether the job output is an archive or a vault inventory. \n For archive data, the Content-Type is application/octet-stream. \n For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.\n </p>\n ",
|
1249
|
+
"location": "header",
|
1250
|
+
"location_name": "Content-Type"
|
1251
|
+
},
|
1252
|
+
"archiveDescription": {
|
1253
|
+
"shape_name": "string",
|
1254
|
+
"type": "string",
|
1255
|
+
"documentation": "\n <p>The description of an archive.</p>\n ",
|
1256
|
+
"location": "header",
|
1257
|
+
"location_name": "x-amz-archive-description"
|
1258
|
+
}
|
1259
|
+
},
|
1260
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
1261
|
+
},
|
1262
|
+
"errors": [
|
1263
|
+
{
|
1264
|
+
"shape_name": "ResourceNotFoundException",
|
1265
|
+
"type": "structure",
|
1266
|
+
"members": {
|
1267
|
+
"type": {
|
1268
|
+
"shape_name": "string",
|
1269
|
+
"type": "string",
|
1270
|
+
"documentation": "\n <p>Client</p>\n "
|
1271
|
+
},
|
1272
|
+
"code": {
|
1273
|
+
"shape_name": "string",
|
1274
|
+
"type": "string",
|
1275
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
1276
|
+
},
|
1277
|
+
"message": {
|
1278
|
+
"shape_name": "string",
|
1279
|
+
"type": "string",
|
1280
|
+
"documentation": "\n \n "
|
1281
|
+
}
|
1282
|
+
},
|
1283
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
1284
|
+
},
|
1285
|
+
{
|
1286
|
+
"shape_name": "InvalidParameterValueException",
|
1287
|
+
"type": "structure",
|
1288
|
+
"members": {
|
1289
|
+
"type": {
|
1290
|
+
"shape_name": "string",
|
1291
|
+
"type": "string",
|
1292
|
+
"documentation": "\n <p>Client</p>\n "
|
1293
|
+
},
|
1294
|
+
"code": {
|
1295
|
+
"shape_name": "string",
|
1296
|
+
"type": "string",
|
1297
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1298
|
+
},
|
1299
|
+
"message": {
|
1300
|
+
"shape_name": "string",
|
1301
|
+
"type": "string",
|
1302
|
+
"documentation": "\n \n "
|
1303
|
+
}
|
1304
|
+
},
|
1305
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
1306
|
+
},
|
1307
|
+
{
|
1308
|
+
"shape_name": "MissingParameterValueException",
|
1309
|
+
"type": "structure",
|
1310
|
+
"members": {
|
1311
|
+
"type": {
|
1312
|
+
"shape_name": "string",
|
1313
|
+
"type": "string",
|
1314
|
+
"documentation": "\n <p>Client.</p>\n "
|
1315
|
+
},
|
1316
|
+
"code": {
|
1317
|
+
"shape_name": "string",
|
1318
|
+
"type": "string",
|
1319
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1320
|
+
},
|
1321
|
+
"message": {
|
1322
|
+
"shape_name": "string",
|
1323
|
+
"type": "string",
|
1324
|
+
"documentation": "\n \n "
|
1325
|
+
}
|
1326
|
+
},
|
1327
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
1328
|
+
},
|
1329
|
+
{
|
1330
|
+
"shape_name": "ServiceUnavailableException",
|
1331
|
+
"type": "structure",
|
1332
|
+
"members": {
|
1333
|
+
"type": {
|
1334
|
+
"shape_name": "string",
|
1335
|
+
"type": "string",
|
1336
|
+
"documentation": "\n <p>Server</p>\n "
|
1337
|
+
},
|
1338
|
+
"code": {
|
1339
|
+
"shape_name": "string",
|
1340
|
+
"type": "string",
|
1341
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
1342
|
+
},
|
1343
|
+
"message": {
|
1344
|
+
"shape_name": "string",
|
1345
|
+
"type": "string",
|
1346
|
+
"documentation": "\n \n "
|
1347
|
+
}
|
1348
|
+
},
|
1349
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
1350
|
+
}
|
1351
|
+
],
|
1352
|
+
"documentation": "\n\t <p>This operation downloads the output of the job you initiated using <a>InitiateJob</a>. Depending on the\n\t\t\tjob type you specified when you initiated the job, the output will be either the content\n\t\t\tof an archive or a vault inventory.</p>\n\n <p>A job ID will not expire for at least 24 hours after Amazon Glacier completes the job. That is, you can download the job\n\t\t\t\toutput within the 24 hours period after Amazon Glacier completes the job.</p>\n\n\t\t<p>If the job output is large, then you can use the <code>Range</code> request header to\n\t\t\tretrieve a portion of the output. This allows you to download the entire output in smaller\n\t\t\tchunks of bytes. For example, suppose you have 1 GB of job output you want to download and\n\t\t\tyou decide to download 128 MB chunks of data at a time, which is a total of eight Get Job Output\n\t\t\trequests. You use the following process to download the job output:</p>\n\n\t\t<ol>\n\t\t\t<li>\n<p>Download a 128 MB chunk of output by specifying the appropriate byte range using the\n\t\t\t\t\t\t<code>Range</code> header.</p>\n\t\t\t</li>\n\t\t\t<li>\n<p>Along with the data, the response includes a checksum of the payload. You compute\n\t\t\t\tthe checksum of the payload on the client and compare it with the checksum you received\n\t\t\t\tin the response to ensure you received all the expected data.</p>\n\t\t\t</li>\n\t\t\t<li>\n<p>Repeat steps 1 and 2 for all the eight 128 MB chunks of output data, each time\n\t\t\t\tspecifying the appropriate byte range.</p>\n\t\t\t</li>\n\t\t\t<li>\n<p>After downloading all the parts of the job output, you have a list of eight checksum\n\t\t\t\tvalues. Compute the tree hash of these values to find the checksum of the entire output.\n\t\t\t\tUsing the Describe Job API, obtain job information of the job that provided you the\n\t\t\t\toutput. The response includes the checksum of the entire archive stored in Amazon Glacier.\n\t\t\t\tYou compare this value with the checksum you computed to ensure you have downloaded the\n\t\t\t\tentire archive content with no errors.</p>\n\t\t\t</li>\n\t\t</ol>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/vault-inventory.html\">Downloading a Vault Inventory</a>, \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/downloading-an-archive.html\">Downloading an Archive</a>, \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-job-output-get.html\">Get Job Output </a> </p>\n "
|
1353
|
+
},
|
1354
|
+
"GetVaultNotifications": {
|
1355
|
+
"name": "GetVaultNotifications",
|
1356
|
+
"http": {
|
1357
|
+
"method": "GET",
|
1358
|
+
"uri": "/{accountId}/vaults/{vaultName}/notification-configuration"
|
1359
|
+
},
|
1360
|
+
"input": {
|
1361
|
+
"shape_name": "GetVaultNotificationsInput",
|
1362
|
+
"type": "structure",
|
1363
|
+
"members": {
|
1364
|
+
"accountId": {
|
1365
|
+
"shape_name": "string",
|
1366
|
+
"type": "string",
|
1367
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
1368
|
+
"location": "uri"
|
1369
|
+
},
|
1370
|
+
"vaultName": {
|
1371
|
+
"shape_name": "string",
|
1372
|
+
"type": "string",
|
1373
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
1374
|
+
"location": "uri"
|
1375
|
+
}
|
1376
|
+
},
|
1377
|
+
"documentation": "\n <p>Provides options for retrieving the notification configuration set on an Amazon Glacier vault.</p>\n "
|
1378
|
+
},
|
1379
|
+
"output": {
|
1380
|
+
"shape_name": "GetVaultNotificationsOutput",
|
1381
|
+
"type": "structure",
|
1382
|
+
"members": {
|
1383
|
+
"vaultNotificationConfig": {
|
1384
|
+
"shape_name": "VaultNotificationConfig",
|
1385
|
+
"type": "structure",
|
1386
|
+
"members": {
|
1387
|
+
"SNSTopic": {
|
1388
|
+
"shape_name": "string",
|
1389
|
+
"type": "string",
|
1390
|
+
"documentation": "\n <p>The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).</p>\n "
|
1391
|
+
},
|
1392
|
+
"Events": {
|
1393
|
+
"shape_name": "NotificationEventList",
|
1394
|
+
"type": "list",
|
1395
|
+
"members": {
|
1396
|
+
"shape_name": "string",
|
1397
|
+
"type": "string",
|
1398
|
+
"documentation": null
|
1399
|
+
},
|
1400
|
+
"documentation": "\n <p>A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic.</p>\n "
|
1401
|
+
}
|
1402
|
+
},
|
1403
|
+
"documentation": "\n <p>Returns the notification configuration set on the vault.</p>\n ",
|
1404
|
+
"payload": true
|
1405
|
+
}
|
1406
|
+
},
|
1407
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
1408
|
+
},
|
1409
|
+
"errors": [
|
1410
|
+
{
|
1411
|
+
"shape_name": "ResourceNotFoundException",
|
1412
|
+
"type": "structure",
|
1413
|
+
"members": {
|
1414
|
+
"type": {
|
1415
|
+
"shape_name": "string",
|
1416
|
+
"type": "string",
|
1417
|
+
"documentation": "\n <p>Client</p>\n "
|
1418
|
+
},
|
1419
|
+
"code": {
|
1420
|
+
"shape_name": "string",
|
1421
|
+
"type": "string",
|
1422
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
1423
|
+
},
|
1424
|
+
"message": {
|
1425
|
+
"shape_name": "string",
|
1426
|
+
"type": "string",
|
1427
|
+
"documentation": "\n \n "
|
1428
|
+
}
|
1429
|
+
},
|
1430
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
1431
|
+
},
|
1432
|
+
{
|
1433
|
+
"shape_name": "InvalidParameterValueException",
|
1434
|
+
"type": "structure",
|
1435
|
+
"members": {
|
1436
|
+
"type": {
|
1437
|
+
"shape_name": "string",
|
1438
|
+
"type": "string",
|
1439
|
+
"documentation": "\n <p>Client</p>\n "
|
1440
|
+
},
|
1441
|
+
"code": {
|
1442
|
+
"shape_name": "string",
|
1443
|
+
"type": "string",
|
1444
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1445
|
+
},
|
1446
|
+
"message": {
|
1447
|
+
"shape_name": "string",
|
1448
|
+
"type": "string",
|
1449
|
+
"documentation": "\n \n "
|
1450
|
+
}
|
1451
|
+
},
|
1452
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
1453
|
+
},
|
1454
|
+
{
|
1455
|
+
"shape_name": "MissingParameterValueException",
|
1456
|
+
"type": "structure",
|
1457
|
+
"members": {
|
1458
|
+
"type": {
|
1459
|
+
"shape_name": "string",
|
1460
|
+
"type": "string",
|
1461
|
+
"documentation": "\n <p>Client.</p>\n "
|
1462
|
+
},
|
1463
|
+
"code": {
|
1464
|
+
"shape_name": "string",
|
1465
|
+
"type": "string",
|
1466
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1467
|
+
},
|
1468
|
+
"message": {
|
1469
|
+
"shape_name": "string",
|
1470
|
+
"type": "string",
|
1471
|
+
"documentation": "\n \n "
|
1472
|
+
}
|
1473
|
+
},
|
1474
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
1475
|
+
},
|
1476
|
+
{
|
1477
|
+
"shape_name": "ServiceUnavailableException",
|
1478
|
+
"type": "structure",
|
1479
|
+
"members": {
|
1480
|
+
"type": {
|
1481
|
+
"shape_name": "string",
|
1482
|
+
"type": "string",
|
1483
|
+
"documentation": "\n <p>Server</p>\n "
|
1484
|
+
},
|
1485
|
+
"code": {
|
1486
|
+
"shape_name": "string",
|
1487
|
+
"type": "string",
|
1488
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
1489
|
+
},
|
1490
|
+
"message": {
|
1491
|
+
"shape_name": "string",
|
1492
|
+
"type": "string",
|
1493
|
+
"documentation": "\n \n "
|
1494
|
+
}
|
1495
|
+
},
|
1496
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
1497
|
+
}
|
1498
|
+
],
|
1499
|
+
"documentation": "\n\t\t<p>This operation retrieves the <code class=\"code\">notification-configuration</code> subresource of the\n\t\t\tspecified vault.</p>\n\n\t\t<p>For information about setting a notification configuration on a vault, see <a>SetVaultNotifications</a>. If\n\t\t\ta notification configuration for a vault is not set, the operation returns a <code class=\"code\">404 Not\n\t\t\t\tFound</code> error. For more information about vault notifications, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault Notifications in Amazon Glacier</a>. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault Notifications in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vault-notifications-get.html\">Get Vault Notification Configuration </a> in the <i>Amazon Glacier Developer Guide</i>.\n </p> \n "
|
1500
|
+
},
|
1501
|
+
"InitiateJob": {
|
1502
|
+
"name": "InitiateJob",
|
1503
|
+
"http": {
|
1504
|
+
"method": "POST",
|
1505
|
+
"uri": "/{accountId}/vaults/{vaultName}/jobs",
|
1506
|
+
"response_code": 202
|
1507
|
+
},
|
1508
|
+
"input": {
|
1509
|
+
"shape_name": "InitiateJobInput",
|
1510
|
+
"type": "structure",
|
1511
|
+
"members": {
|
1512
|
+
"accountId": {
|
1513
|
+
"shape_name": "string",
|
1514
|
+
"type": "string",
|
1515
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
1516
|
+
"location": "uri"
|
1517
|
+
},
|
1518
|
+
"vaultName": {
|
1519
|
+
"shape_name": "string",
|
1520
|
+
"type": "string",
|
1521
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
1522
|
+
"location": "uri"
|
1523
|
+
},
|
1524
|
+
"jobParameters": {
|
1525
|
+
"shape_name": "JobParameters",
|
1526
|
+
"type": "structure",
|
1527
|
+
"members": {
|
1528
|
+
"Format": {
|
1529
|
+
"shape_name": "string",
|
1530
|
+
"type": "string",
|
1531
|
+
"documentation": "\n <p>When initiating a job to retrieve a vault inventory, you can optionally add this parameter to your request to specify the output format. \n If you are initiating an inventory job and do not specify a Format field, JSON is the default format.\n Valid Values are \"CSV\" and \"JSON\". </p>\n "
|
1532
|
+
},
|
1533
|
+
"Type": {
|
1534
|
+
"shape_name": "string",
|
1535
|
+
"type": "string",
|
1536
|
+
"documentation": "\n <p>The job type. You can initiate a job to retrieve an archive or get an inventory of a vault.\n Valid Values are \"archive-retrieval\" and \"inventory-retrieval\". </p>\n "
|
1537
|
+
},
|
1538
|
+
"ArchiveId": {
|
1539
|
+
"shape_name": "string",
|
1540
|
+
"type": "string",
|
1541
|
+
"documentation": "\n <p>The ID of the archive that you want to retrieve. This field is required only if <code>Type</code> is set to archive-retrieval. \n An error occurs if you specify this request parameter for an inventory retrieval job request. </p>\n "
|
1542
|
+
},
|
1543
|
+
"Description": {
|
1544
|
+
"shape_name": "string",
|
1545
|
+
"type": "string",
|
1546
|
+
"documentation": "\n <p>The optional description for the job.\n The description must be less than or equal to 1,024 bytes. \n The allowable characters are 7-bit ASCII without control codes—specifically, ASCII values 32—126 decimal or 0x20—0x7E hexadecimal.</p>\n "
|
1547
|
+
},
|
1548
|
+
"SNSTopic": {
|
1549
|
+
"shape_name": "string",
|
1550
|
+
"type": "string",
|
1551
|
+
"documentation": "\n <p>The Amazon SNS topic ARN to which Amazon Glacier sends a notification when the job is completed and the output is ready for you to download. \n The specified topic publishes the notification to its subscribers. The SNS topic must exist.</p>\n "
|
1552
|
+
},
|
1553
|
+
"RetrievalByteRange": {
|
1554
|
+
"shape_name": "string",
|
1555
|
+
"type": "string",
|
1556
|
+
"documentation": null
|
1557
|
+
}
|
1558
|
+
},
|
1559
|
+
"documentation": "\n <p>Provides options for specifying job information.</p>\n ",
|
1560
|
+
"payload": true
|
1561
|
+
}
|
1562
|
+
},
|
1563
|
+
"documentation": "\n <p>Provides options for initiating an Amazon Glacier job.</p>\n "
|
1564
|
+
},
|
1565
|
+
"output": {
|
1566
|
+
"shape_name": "InitiateJobOutput",
|
1567
|
+
"type": "structure",
|
1568
|
+
"members": {
|
1569
|
+
"location": {
|
1570
|
+
"shape_name": "string",
|
1571
|
+
"type": "string",
|
1572
|
+
"documentation": "\n <p>The relative URI path of the job.</p>\n ",
|
1573
|
+
"location": "header",
|
1574
|
+
"location_name": "Location"
|
1575
|
+
},
|
1576
|
+
"jobId": {
|
1577
|
+
"shape_name": "string",
|
1578
|
+
"type": "string",
|
1579
|
+
"documentation": "\n <p>The ID of the job.</p>\n ",
|
1580
|
+
"location": "header",
|
1581
|
+
"location_name": "x-amz-job-id"
|
1582
|
+
}
|
1583
|
+
},
|
1584
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
1585
|
+
},
|
1586
|
+
"errors": [
|
1587
|
+
{
|
1588
|
+
"shape_name": "ResourceNotFoundException",
|
1589
|
+
"type": "structure",
|
1590
|
+
"members": {
|
1591
|
+
"type": {
|
1592
|
+
"shape_name": "string",
|
1593
|
+
"type": "string",
|
1594
|
+
"documentation": "\n <p>Client</p>\n "
|
1595
|
+
},
|
1596
|
+
"code": {
|
1597
|
+
"shape_name": "string",
|
1598
|
+
"type": "string",
|
1599
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
1600
|
+
},
|
1601
|
+
"message": {
|
1602
|
+
"shape_name": "string",
|
1603
|
+
"type": "string",
|
1604
|
+
"documentation": "\n \n "
|
1605
|
+
}
|
1606
|
+
},
|
1607
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
1608
|
+
},
|
1609
|
+
{
|
1610
|
+
"shape_name": "InvalidParameterValueException",
|
1611
|
+
"type": "structure",
|
1612
|
+
"members": {
|
1613
|
+
"type": {
|
1614
|
+
"shape_name": "string",
|
1615
|
+
"type": "string",
|
1616
|
+
"documentation": "\n <p>Client</p>\n "
|
1617
|
+
},
|
1618
|
+
"code": {
|
1619
|
+
"shape_name": "string",
|
1620
|
+
"type": "string",
|
1621
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1622
|
+
},
|
1623
|
+
"message": {
|
1624
|
+
"shape_name": "string",
|
1625
|
+
"type": "string",
|
1626
|
+
"documentation": "\n \n "
|
1627
|
+
}
|
1628
|
+
},
|
1629
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
1630
|
+
},
|
1631
|
+
{
|
1632
|
+
"shape_name": "MissingParameterValueException",
|
1633
|
+
"type": "structure",
|
1634
|
+
"members": {
|
1635
|
+
"type": {
|
1636
|
+
"shape_name": "string",
|
1637
|
+
"type": "string",
|
1638
|
+
"documentation": "\n <p>Client.</p>\n "
|
1639
|
+
},
|
1640
|
+
"code": {
|
1641
|
+
"shape_name": "string",
|
1642
|
+
"type": "string",
|
1643
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1644
|
+
},
|
1645
|
+
"message": {
|
1646
|
+
"shape_name": "string",
|
1647
|
+
"type": "string",
|
1648
|
+
"documentation": "\n \n "
|
1649
|
+
}
|
1650
|
+
},
|
1651
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
1652
|
+
},
|
1653
|
+
{
|
1654
|
+
"shape_name": "ServiceUnavailableException",
|
1655
|
+
"type": "structure",
|
1656
|
+
"members": {
|
1657
|
+
"type": {
|
1658
|
+
"shape_name": "string",
|
1659
|
+
"type": "string",
|
1660
|
+
"documentation": "\n <p>Server</p>\n "
|
1661
|
+
},
|
1662
|
+
"code": {
|
1663
|
+
"shape_name": "string",
|
1664
|
+
"type": "string",
|
1665
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
1666
|
+
},
|
1667
|
+
"message": {
|
1668
|
+
"shape_name": "string",
|
1669
|
+
"type": "string",
|
1670
|
+
"documentation": "\n \n "
|
1671
|
+
}
|
1672
|
+
},
|
1673
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
1674
|
+
}
|
1675
|
+
],
|
1676
|
+
"documentation": "\n\t <p>This operation initiates a job of the specified type. In this release, you can initiate a\n\t\t\tjob to retrieve either an archive or a vault inventory (a list of archives in a vault). </p>\n\n\t\t<p>Retrieving data from Amazon Glacier is a two-step process: </p>\n\n\t\t<ol>\n\t\t\t<li><p>Initiate a retrieval job.</p></li>\n\t\t\t<li><p>After the job completes, download the bytes.</p></li>\n\t\t</ol>\n\n\t\t<p>The retrieval request is executed asynchronously. When you initiate a retrieval job,\n\t\t\tAmazon Glacier creates a job and returns a job ID in the response. When Amazon Glacier completes\n\t\t\tthe job, you can get the job output (archive or inventory data). For information about\n\t\t\tgetting job output, see <a>GetJobOutput</a> operation. </p>\n\n\t\t<p>The job must complete before you can get its output. To determine when a job is complete,\n\t\t\tyou have the following options:</p>\n\n\t\t<ul>\n\t\t\t<li>\n<p><b>Use Amazon SNS Notification</b> You can specify an\n\t\t\t\t\t\tAmazon Simple Notification Service (Amazon SNS) topic to which Amazon Glacier can\n\t\t\t\t\t\tpost a notification after the job is completed. You can specify an SNS topic\n\t\t\t\t\t\tper job request. The notification is sent only after Amazon Glacier completes the\n\t\t\t\t\t\tjob. In addition to specifying an SNS topic per job request, you can\n\t\t\t\t\t\tconfigure vault notifications for a vault so that job notifications are\n\t\t\t\t\t\talways sent. For more information, see <a>SetVaultNotificationConfiguration</a>.</p>\n\t\t\t</li>\n\t\t\t<li>\n<p><b>Get job details</b> You can make a <a>DescribeJob</a> request\n\t\t\t\t\t\tto obtain job status information while a job is in progress. However, it is\n\t\t\t\t\t\tmore efficient to use an Amazon SNS notification to determine when a job is\n\t\t\t\t\t\tcomplete.</p>\n\t\t\t</li>\n\t\t</ul>\n\n\t\t<note><p>The information you get via notification is same that you get by calling <a>DescribeJob</a>.</p></note>\n\n\t\t<p>If for a specific event, you add both the notification configuration on the vault and also\n\t\t\tspecify an SNS topic in your initiate job request, Amazon Glacier sends both\n\t\t\tnotifications. For more information, see <a>SetVaultNotificationConfiguration</a>.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n\n\t\t<p><b>About the Vault Inventory</b></p>\n\n\t\t<p>Amazon Glacier prepares an inventory for each vault periodically, every 24 hours. When you\n\t\t\t\tinitiate a job for a vault inventory, Amazon Glacier returns the last inventory for\n\t\t\t\tthe vault. The inventory data you get might be up to a day or two days old. Also,\n\t\t\t\tthe initiate inventory job might take some time to complete before you can download\n\t\t\t\tthe vault inventory. So you do not want to retrieve a vault inventory for each vault\n\t\t\t\toperation. However, in some scenarios, you might find the vault inventory useful.\n\t\t\t\tFor example, when you upload an archive, you can provide an archive description but\n\t\t\t\tnot an archive name. Amazon Glacier provides you a unique archive ID, an opaque\n\t\t\t\tstring of characters. So, you might maintain your own database that maps archive\n\t\t\t\tnames to their corresponding Amazon Glacier assigned archive IDs. You might find the\n\t\t\t\tvault inventory useful in the event you need to reconcile information in your\n\t\t\t\tdatabase with the actual vault inventory. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. \n\t\t You must grant them explicit permission to perform specific actions. For more information, \n\t\t see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-initiate-job-post.html\">Initiate a Job</a>\n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/vault-inventory.html\">Downloading a Vault Inventory</a> </p>\n \n "
|
1677
|
+
},
|
1678
|
+
"InitiateMultipartUpload": {
|
1679
|
+
"name": "InitiateMultipartUpload",
|
1680
|
+
"http": {
|
1681
|
+
"method": "POST",
|
1682
|
+
"uri": "/{accountId}/vaults/{vaultName}/multipart-uploads",
|
1683
|
+
"response_code": 201
|
1684
|
+
},
|
1685
|
+
"input": {
|
1686
|
+
"shape_name": "InitiateMultipartUploadInput",
|
1687
|
+
"type": "structure",
|
1688
|
+
"members": {
|
1689
|
+
"accountId": {
|
1690
|
+
"shape_name": "string",
|
1691
|
+
"type": "string",
|
1692
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
1693
|
+
"location": "uri"
|
1694
|
+
},
|
1695
|
+
"vaultName": {
|
1696
|
+
"shape_name": "string",
|
1697
|
+
"type": "string",
|
1698
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
1699
|
+
"location": "uri"
|
1700
|
+
},
|
1701
|
+
"archiveDescription": {
|
1702
|
+
"shape_name": "string",
|
1703
|
+
"type": "string",
|
1704
|
+
"documentation": "\n <p>The archive description that you are uploading in parts.</p>\n <p>The part size must be a megabyte (1024 KB) multiplied by a power of 2—for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).</p>\n ",
|
1705
|
+
"location": "header",
|
1706
|
+
"location_name": "x-amz-archive-description"
|
1707
|
+
},
|
1708
|
+
"partSize": {
|
1709
|
+
"shape_name": "string",
|
1710
|
+
"type": "string",
|
1711
|
+
"documentation": "\n <p>The size of each part except the last, in bytes. The last part can be smaller than this part size.</p>\n ",
|
1712
|
+
"location": "header",
|
1713
|
+
"location_name": "x-amz-part-size"
|
1714
|
+
}
|
1715
|
+
},
|
1716
|
+
"documentation": "\n <p>Provides options for initiating a multipart upload to an Amazon Glacier vault.</p>\n "
|
1717
|
+
},
|
1718
|
+
"output": {
|
1719
|
+
"shape_name": "InitiateMultipartUploadOutput",
|
1720
|
+
"type": "structure",
|
1721
|
+
"members": {
|
1722
|
+
"location": {
|
1723
|
+
"shape_name": "string",
|
1724
|
+
"type": "string",
|
1725
|
+
"documentation": "\n <p>The relative URI path of the multipart upload ID Amazon Glacier created. </p>\n ",
|
1726
|
+
"location": "header",
|
1727
|
+
"location_name": "Location"
|
1728
|
+
},
|
1729
|
+
"uploadId": {
|
1730
|
+
"shape_name": "string",
|
1731
|
+
"type": "string",
|
1732
|
+
"documentation": "\n <p>The ID of the multipart upload. This value is also included as part of the location. </p>\n ",
|
1733
|
+
"location": "header",
|
1734
|
+
"location_name": "x-amz-multipart-upload-id"
|
1735
|
+
}
|
1736
|
+
},
|
1737
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
1738
|
+
},
|
1739
|
+
"errors": [
|
1740
|
+
{
|
1741
|
+
"shape_name": "ResourceNotFoundException",
|
1742
|
+
"type": "structure",
|
1743
|
+
"members": {
|
1744
|
+
"type": {
|
1745
|
+
"shape_name": "string",
|
1746
|
+
"type": "string",
|
1747
|
+
"documentation": "\n <p>Client</p>\n "
|
1748
|
+
},
|
1749
|
+
"code": {
|
1750
|
+
"shape_name": "string",
|
1751
|
+
"type": "string",
|
1752
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
1753
|
+
},
|
1754
|
+
"message": {
|
1755
|
+
"shape_name": "string",
|
1756
|
+
"type": "string",
|
1757
|
+
"documentation": "\n \n "
|
1758
|
+
}
|
1759
|
+
},
|
1760
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
1761
|
+
},
|
1762
|
+
{
|
1763
|
+
"shape_name": "InvalidParameterValueException",
|
1764
|
+
"type": "structure",
|
1765
|
+
"members": {
|
1766
|
+
"type": {
|
1767
|
+
"shape_name": "string",
|
1768
|
+
"type": "string",
|
1769
|
+
"documentation": "\n <p>Client</p>\n "
|
1770
|
+
},
|
1771
|
+
"code": {
|
1772
|
+
"shape_name": "string",
|
1773
|
+
"type": "string",
|
1774
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1775
|
+
},
|
1776
|
+
"message": {
|
1777
|
+
"shape_name": "string",
|
1778
|
+
"type": "string",
|
1779
|
+
"documentation": "\n \n "
|
1780
|
+
}
|
1781
|
+
},
|
1782
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
1783
|
+
},
|
1784
|
+
{
|
1785
|
+
"shape_name": "MissingParameterValueException",
|
1786
|
+
"type": "structure",
|
1787
|
+
"members": {
|
1788
|
+
"type": {
|
1789
|
+
"shape_name": "string",
|
1790
|
+
"type": "string",
|
1791
|
+
"documentation": "\n <p>Client.</p>\n "
|
1792
|
+
},
|
1793
|
+
"code": {
|
1794
|
+
"shape_name": "string",
|
1795
|
+
"type": "string",
|
1796
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
1797
|
+
},
|
1798
|
+
"message": {
|
1799
|
+
"shape_name": "string",
|
1800
|
+
"type": "string",
|
1801
|
+
"documentation": "\n \n "
|
1802
|
+
}
|
1803
|
+
},
|
1804
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
"shape_name": "ServiceUnavailableException",
|
1808
|
+
"type": "structure",
|
1809
|
+
"members": {
|
1810
|
+
"type": {
|
1811
|
+
"shape_name": "string",
|
1812
|
+
"type": "string",
|
1813
|
+
"documentation": "\n <p>Server</p>\n "
|
1814
|
+
},
|
1815
|
+
"code": {
|
1816
|
+
"shape_name": "string",
|
1817
|
+
"type": "string",
|
1818
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
1819
|
+
},
|
1820
|
+
"message": {
|
1821
|
+
"shape_name": "string",
|
1822
|
+
"type": "string",
|
1823
|
+
"documentation": "\n \n "
|
1824
|
+
}
|
1825
|
+
},
|
1826
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
1827
|
+
}
|
1828
|
+
],
|
1829
|
+
"documentation": "\n\t\t<p>This operation initiates a multipart upload. Amazon Glacier creates a multipart upload resource\n\t\t\tand returns its ID in the response. The multipart upload ID is used in subsequent\n\t\t\trequests to upload parts of an archive (see <a>UploadMultipartPart</a>).</p>\n\t\n\t <p>When you initiate a multipart upload, you specify the part size in number of bytes. The part\n\t\t\tsize must be a megabyte (1024 KB) multiplied by a power of 2-for example, 1048576\n\t\t\t(1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable\n\t\t\tpart size is 1 MB, and the maximum is 4 GB.</p>\n\t\n\t\t<p>Every part you upload to this resource (see <a>UploadMultipartPart</a>), except the last one, must have the same size. The\n\t\t\tlast one can be the same size or smaller. For example, suppose you want to upload a 16.2\n\t\t\tMB file. If you initiate the multipart upload with a part size of 4 MB, you will upload\n\t\t\tfour parts of 4 MB each and one part of 0.2 MB. </p>\n\n\t\t<note><p>You don't need to know the size of the archive when you start a multipart upload because\n\t\t\t\t\tAmazon Glacier does not require you to specify the overall archive size.</p></note>\n\n\t\t<p>After you complete the multipart upload, Amazon Glacier removes the multipart upload resource\n\t\t\treferenced by the ID. Amazon Glacier also removes the multipart upload resource if you\n\t\t\tcancel the multipart upload or it may be removed if there is no activity for a period of 24 hours.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/uploading-archive-mpu.html\">Uploading Large Archives in Parts (Multipart Upload)</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-multipart-initiate-upload.html\">Initiate Multipart Upload</a> in the <i>Amazon Glacier Developer Guide</i>.</p> \n "
|
1830
|
+
},
|
1831
|
+
"ListJobs": {
|
1832
|
+
"name": "ListJobs",
|
1833
|
+
"http": {
|
1834
|
+
"method": "GET",
|
1835
|
+
"uri": "/{accountId}/vaults/{vaultName}/jobs?marker={marker}&limit={limit}&completed={completed}&statuscode={statuscode}"
|
1836
|
+
},
|
1837
|
+
"input": {
|
1838
|
+
"shape_name": "ListJobsInput",
|
1839
|
+
"type": "structure",
|
1840
|
+
"members": {
|
1841
|
+
"accountId": {
|
1842
|
+
"shape_name": "string",
|
1843
|
+
"type": "string",
|
1844
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
1845
|
+
"location": "uri"
|
1846
|
+
},
|
1847
|
+
"vaultName": {
|
1848
|
+
"shape_name": "string",
|
1849
|
+
"type": "string",
|
1850
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
1851
|
+
"location": "uri"
|
1852
|
+
},
|
1853
|
+
"limit": {
|
1854
|
+
"shape_name": "string",
|
1855
|
+
"type": "string",
|
1856
|
+
"documentation": "\n <p>Specifies that the response be limited to the specified number of items or fewer. \n If not specified, the List Jobs operation returns up to 1,000 jobs.</p>\n ",
|
1857
|
+
"location": "uri"
|
1858
|
+
},
|
1859
|
+
"marker": {
|
1860
|
+
"shape_name": "string",
|
1861
|
+
"type": "string",
|
1862
|
+
"documentation": "\n <p>An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. \n Get the marker value from a previous List Jobs response. \n You need only include the marker if you are continuing the pagination of results started in a previous List Jobs request.</p>\n ",
|
1863
|
+
"location": "uri"
|
1864
|
+
},
|
1865
|
+
"statuscode": {
|
1866
|
+
"shape_name": "string",
|
1867
|
+
"type": "string",
|
1868
|
+
"documentation": "\n <p>Specifies the type of job status to return. You can specify the following values: \"InProgress\", \"Succeeded\", or \"Failed\".</p>\n ",
|
1869
|
+
"location": "uri"
|
1870
|
+
},
|
1871
|
+
"completed": {
|
1872
|
+
"shape_name": "string",
|
1873
|
+
"type": "string",
|
1874
|
+
"documentation": "\n <p>Specifies the state of the jobs to return. You can specify <code>true</code> or <code>false</code>.</p>\n ",
|
1875
|
+
"location": "uri"
|
1876
|
+
}
|
1877
|
+
},
|
1878
|
+
"documentation": "\n <p>Provides options for retrieving a job list for an Amazon Glacier vault.</p>\n "
|
1879
|
+
},
|
1880
|
+
"output": {
|
1881
|
+
"shape_name": "ListJobsOutput",
|
1882
|
+
"type": "structure",
|
1883
|
+
"members": {
|
1884
|
+
"JobList": {
|
1885
|
+
"shape_name": "JobList",
|
1886
|
+
"type": "list",
|
1887
|
+
"members": {
|
1888
|
+
"shape_name": "GlacierJobDescription",
|
1889
|
+
"type": "structure",
|
1890
|
+
"members": {
|
1891
|
+
"JobId": {
|
1892
|
+
"shape_name": "string",
|
1893
|
+
"type": "string",
|
1894
|
+
"documentation": "\n <p>An opaque string that identifies an Amazon Glacier job.</p>\n \n "
|
1895
|
+
},
|
1896
|
+
"JobDescription": {
|
1897
|
+
"shape_name": "string",
|
1898
|
+
"type": "string",
|
1899
|
+
"documentation": "\n <p>The job description you provided when you initiated the job.</p>\n "
|
1900
|
+
},
|
1901
|
+
"Action": {
|
1902
|
+
"shape_name": "ActionCode",
|
1903
|
+
"type": "string",
|
1904
|
+
"enum": [
|
1905
|
+
"ArchiveRetrieval",
|
1906
|
+
"InventoryRetrieval"
|
1907
|
+
],
|
1908
|
+
"documentation": "\n <p>The job type. It is either ArchiveRetrieval or InventoryRetrieval.</p>\n "
|
1909
|
+
},
|
1910
|
+
"ArchiveId": {
|
1911
|
+
"shape_name": "string",
|
1912
|
+
"type": "string",
|
1913
|
+
"documentation": "\n <p>For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.</p>\n "
|
1914
|
+
},
|
1915
|
+
"VaultARN": {
|
1916
|
+
"shape_name": "string",
|
1917
|
+
"type": "string",
|
1918
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.</p>\n "
|
1919
|
+
},
|
1920
|
+
"CreationDate": {
|
1921
|
+
"shape_name": "string",
|
1922
|
+
"type": "string",
|
1923
|
+
"documentation": "\n <p>The UTC date when the job was created. A string representation of ISO 8601 date format, for example, \"2012-03-20T17:03:43.221Z\".</p>\n "
|
1924
|
+
},
|
1925
|
+
"Completed": {
|
1926
|
+
"shape_name": "boolean",
|
1927
|
+
"type": "boolean",
|
1928
|
+
"documentation": "\n <p>The job status. When a job is completed, you get the job's output.</p>\n "
|
1929
|
+
},
|
1930
|
+
"StatusCode": {
|
1931
|
+
"shape_name": "StatusCode",
|
1932
|
+
"type": "string",
|
1933
|
+
"enum": [
|
1934
|
+
"InProgress",
|
1935
|
+
"Succeeded",
|
1936
|
+
"Failed"
|
1937
|
+
],
|
1938
|
+
"documentation": "\n <p>The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.</p>\n "
|
1939
|
+
},
|
1940
|
+
"StatusMessage": {
|
1941
|
+
"shape_name": "string",
|
1942
|
+
"type": "string",
|
1943
|
+
"documentation": "\n <p>A friendly message that describes the job status.</p>\n "
|
1944
|
+
},
|
1945
|
+
"ArchiveSizeInBytes": {
|
1946
|
+
"shape_name": "Size",
|
1947
|
+
"type": "long",
|
1948
|
+
"documentation": "\n <p>For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null.</p>\n "
|
1949
|
+
},
|
1950
|
+
"InventorySizeInBytes": {
|
1951
|
+
"shape_name": "Size",
|
1952
|
+
"type": "long",
|
1953
|
+
"documentation": "\n <p>For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.</p>\n "
|
1954
|
+
},
|
1955
|
+
"SNSTopic": {
|
1956
|
+
"shape_name": "string",
|
1957
|
+
"type": "string",
|
1958
|
+
"documentation": "\n <p>An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.</p>\n "
|
1959
|
+
},
|
1960
|
+
"CompletionDate": {
|
1961
|
+
"shape_name": "string",
|
1962
|
+
"type": "string",
|
1963
|
+
"documentation": "\n <p>The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.</p>\n "
|
1964
|
+
},
|
1965
|
+
"SHA256TreeHash": {
|
1966
|
+
"shape_name": "string",
|
1967
|
+
"type": "string",
|
1968
|
+
"documentation": "\n <p>For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.</p>\n "
|
1969
|
+
},
|
1970
|
+
"ArchiveSHA256TreeHash": {
|
1971
|
+
"shape_name": "string",
|
1972
|
+
"type": "string",
|
1973
|
+
"documentation": null
|
1974
|
+
},
|
1975
|
+
"RetrievalByteRange": {
|
1976
|
+
"shape_name": "string",
|
1977
|
+
"type": "string",
|
1978
|
+
"documentation": null
|
1979
|
+
}
|
1980
|
+
},
|
1981
|
+
"documentation": "\n <p>Describes an Amazon Glacier job.</p>\n "
|
1982
|
+
},
|
1983
|
+
"documentation": "\n <p>A list of job objects. Each job object contains metadata describing the job. </p>\n "
|
1984
|
+
},
|
1985
|
+
"Marker": {
|
1986
|
+
"shape_name": "string",
|
1987
|
+
"type": "string",
|
1988
|
+
"documentation": "\n <p>An opaque string that represents where to continue pagination of the results. \n You use this value in a new List Jobs request to obtain more jobs in the list. \n If there are no more jobs, this value is <code>null</code>. </p>\n "
|
1989
|
+
}
|
1990
|
+
},
|
1991
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
1992
|
+
},
|
1993
|
+
"errors": [
|
1994
|
+
{
|
1995
|
+
"shape_name": "ResourceNotFoundException",
|
1996
|
+
"type": "structure",
|
1997
|
+
"members": {
|
1998
|
+
"type": {
|
1999
|
+
"shape_name": "string",
|
2000
|
+
"type": "string",
|
2001
|
+
"documentation": "\n <p>Client</p>\n "
|
2002
|
+
},
|
2003
|
+
"code": {
|
2004
|
+
"shape_name": "string",
|
2005
|
+
"type": "string",
|
2006
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
2007
|
+
},
|
2008
|
+
"message": {
|
2009
|
+
"shape_name": "string",
|
2010
|
+
"type": "string",
|
2011
|
+
"documentation": "\n \n "
|
2012
|
+
}
|
2013
|
+
},
|
2014
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
2015
|
+
},
|
2016
|
+
{
|
2017
|
+
"shape_name": "InvalidParameterValueException",
|
2018
|
+
"type": "structure",
|
2019
|
+
"members": {
|
2020
|
+
"type": {
|
2021
|
+
"shape_name": "string",
|
2022
|
+
"type": "string",
|
2023
|
+
"documentation": "\n <p>Client</p>\n "
|
2024
|
+
},
|
2025
|
+
"code": {
|
2026
|
+
"shape_name": "string",
|
2027
|
+
"type": "string",
|
2028
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2029
|
+
},
|
2030
|
+
"message": {
|
2031
|
+
"shape_name": "string",
|
2032
|
+
"type": "string",
|
2033
|
+
"documentation": "\n \n "
|
2034
|
+
}
|
2035
|
+
},
|
2036
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
2037
|
+
},
|
2038
|
+
{
|
2039
|
+
"shape_name": "MissingParameterValueException",
|
2040
|
+
"type": "structure",
|
2041
|
+
"members": {
|
2042
|
+
"type": {
|
2043
|
+
"shape_name": "string",
|
2044
|
+
"type": "string",
|
2045
|
+
"documentation": "\n <p>Client.</p>\n "
|
2046
|
+
},
|
2047
|
+
"code": {
|
2048
|
+
"shape_name": "string",
|
2049
|
+
"type": "string",
|
2050
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2051
|
+
},
|
2052
|
+
"message": {
|
2053
|
+
"shape_name": "string",
|
2054
|
+
"type": "string",
|
2055
|
+
"documentation": "\n \n "
|
2056
|
+
}
|
2057
|
+
},
|
2058
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
2059
|
+
},
|
2060
|
+
{
|
2061
|
+
"shape_name": "ServiceUnavailableException",
|
2062
|
+
"type": "structure",
|
2063
|
+
"members": {
|
2064
|
+
"type": {
|
2065
|
+
"shape_name": "string",
|
2066
|
+
"type": "string",
|
2067
|
+
"documentation": "\n <p>Server</p>\n "
|
2068
|
+
},
|
2069
|
+
"code": {
|
2070
|
+
"shape_name": "string",
|
2071
|
+
"type": "string",
|
2072
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
2073
|
+
},
|
2074
|
+
"message": {
|
2075
|
+
"shape_name": "string",
|
2076
|
+
"type": "string",
|
2077
|
+
"documentation": "\n \n "
|
2078
|
+
}
|
2079
|
+
},
|
2080
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
2081
|
+
}
|
2082
|
+
],
|
2083
|
+
"documentation": "\n\t <p>This operation lists jobs for a vault, including jobs that are in-progress and jobs that have\n\t\t\trecently finished. </p>\n\n\t\t<note><p>Amazon Glacier retains recently completed jobs for a period before deleting them; however,\n\t\t\t\t\tit eventually removes completed jobs. The output of completed jobs can be\n\t\t\t\t\tretrieved. Retaining completed jobs for a period of time after they have\n\t\t\t\t\tcompleted enables you to get a job output in the event you miss the job\n\t\t\t\t\tcompletion notification or your first attempt to download it fails. For example,\n\t\t\t\t\tsuppose you start an archive retrieval job to download an archive. After the job\n\t\t\t\t\tcompletes, you start to download the archive but encounter a network error. In\n\t\t\t\t\tthis scenario, you can retry and download the archive while the job exists. </p></note>\n\t\t\n\t\t<p>To retrieve an archive or retrieve a vault inventory from Amazon Glacier, you first initiate\n\t\t\ta job, and after the job completes, you download the data. For an archive retrieval, the\n\t\t\toutput is the archive data, and for an inventory retrieval, it is the inventory list.\n\t\t\tThe List Job operation returns a list of these jobs sorted by job initiation\n\t\t\ttime.</p>\n\n\t\t<p>This List Jobs operation supports pagination. \n\t\t By default, this operation returns up to 1,000 jobs in the response. \n\t\t You should always check the response for a <code>marker</code> at which to continue the list; \n\t\t if there are no more items the <code>marker</code> is <code>null</code>.\n To return a list of jobs that begins\n\t\t\tat a specific job, set the <code>marker</code> request parameter to the value you\n\t\t\tobtained from a previous List Jobs request. You can also limit the number of jobs\n\t\t\treturned in the response by specifying the <code>limit</code> parameter in the\n\t\t\trequest.</p>\n\n\t\t<p>Additionally, you can filter the jobs list returned by specifying an optional\n\t\t\t\t<code>statuscode</code> (InProgress, Succeeded, or Failed) and\n\t\t\t\t<code>completed</code> (true, false) parameter. The <code>statuscode</code> allows\n\t\t\tyou to specify that only jobs that match a specified status are returned. The\n\t\t\t\t<code>completed</code> parameter allows you to specify that only jobs in a specific\n\t\t\tcompletion state are returned.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-jobs-get.html\">List Jobs </a> </p>\n "
|
2084
|
+
},
|
2085
|
+
"ListMultipartUploads": {
|
2086
|
+
"name": "ListMultipartUploads",
|
2087
|
+
"http": {
|
2088
|
+
"method": "GET",
|
2089
|
+
"uri": "/{accountId}/vaults/{vaultName}/multipart-uploads?marker={marker}&limit={limit}"
|
2090
|
+
},
|
2091
|
+
"input": {
|
2092
|
+
"shape_name": "ListMultipartUploadsInput",
|
2093
|
+
"type": "structure",
|
2094
|
+
"members": {
|
2095
|
+
"accountId": {
|
2096
|
+
"shape_name": "string",
|
2097
|
+
"type": "string",
|
2098
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
2099
|
+
"location": "uri"
|
2100
|
+
},
|
2101
|
+
"vaultName": {
|
2102
|
+
"shape_name": "string",
|
2103
|
+
"type": "string",
|
2104
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
2105
|
+
"location": "uri"
|
2106
|
+
},
|
2107
|
+
"limit": {
|
2108
|
+
"shape_name": "string",
|
2109
|
+
"type": "string",
|
2110
|
+
"documentation": "\n <p>Specifies the maximum number of uploads returned in the response body. \n If this value is not specified, the List Uploads operation returns up to 1,000 uploads.</p>\n ",
|
2111
|
+
"location": "uri"
|
2112
|
+
},
|
2113
|
+
"marker": {
|
2114
|
+
"shape_name": "string",
|
2115
|
+
"type": "string",
|
2116
|
+
"documentation": "\n <p>An opaque string used for pagination. This value specifies the upload at which the listing of uploads should begin. \n Get the marker value from a previous List Uploads response. \n You need only include the marker if you are continuing the pagination of results started in a previous List Uploads request.</p>\n ",
|
2117
|
+
"location": "uri"
|
2118
|
+
}
|
2119
|
+
},
|
2120
|
+
"documentation": "\n <p>Provides options for retrieving list of in-progress multipart uploads for an Amazon Glacier vault.</p>\n "
|
2121
|
+
},
|
2122
|
+
"output": {
|
2123
|
+
"shape_name": "ListMultipartUploadsOutput",
|
2124
|
+
"type": "structure",
|
2125
|
+
"members": {
|
2126
|
+
"UploadsList": {
|
2127
|
+
"shape_name": "UploadsList",
|
2128
|
+
"type": "list",
|
2129
|
+
"members": {
|
2130
|
+
"shape_name": "UploadListElement",
|
2131
|
+
"type": "structure",
|
2132
|
+
"members": {
|
2133
|
+
"MultipartUploadId": {
|
2134
|
+
"shape_name": "string",
|
2135
|
+
"type": "string",
|
2136
|
+
"documentation": "\n <p>The ID of a multipart upload.</p>\n "
|
2137
|
+
},
|
2138
|
+
"VaultARN": {
|
2139
|
+
"shape_name": "string",
|
2140
|
+
"type": "string",
|
2141
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) of the vault that contains the archive.</p>\n "
|
2142
|
+
},
|
2143
|
+
"ArchiveDescription": {
|
2144
|
+
"shape_name": "string",
|
2145
|
+
"type": "string",
|
2146
|
+
"documentation": "\n <p>The description of the archive that was specified in the Initiate Multipart Upload request.</p>\n "
|
2147
|
+
},
|
2148
|
+
"PartSizeInBytes": {
|
2149
|
+
"shape_name": "long",
|
2150
|
+
"type": "long",
|
2151
|
+
"documentation": "\n <p>The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.</p>\n "
|
2152
|
+
},
|
2153
|
+
"CreationDate": {
|
2154
|
+
"shape_name": "string",
|
2155
|
+
"type": "string",
|
2156
|
+
"documentation": "\n <p>The UTC time at which the multipart upload was initiated.</p>\n "
|
2157
|
+
}
|
2158
|
+
},
|
2159
|
+
"documentation": "\n <p>A list of in-progress multipart uploads for a vault.</p> \n "
|
2160
|
+
},
|
2161
|
+
"documentation": "\n <p>A list of in-progress multipart uploads.</p>\n "
|
2162
|
+
},
|
2163
|
+
"Marker": {
|
2164
|
+
"shape_name": "string",
|
2165
|
+
"type": "string",
|
2166
|
+
"documentation": "\n <p>An opaque string that represents where to continue pagination of the results. \n You use the marker in a new List Multipart Uploads request to obtain more uploads in the list. \n If there are no more uploads, this value is <code>null</code>.</p>\n "
|
2167
|
+
}
|
2168
|
+
},
|
2169
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
2170
|
+
},
|
2171
|
+
"errors": [
|
2172
|
+
{
|
2173
|
+
"shape_name": "ResourceNotFoundException",
|
2174
|
+
"type": "structure",
|
2175
|
+
"members": {
|
2176
|
+
"type": {
|
2177
|
+
"shape_name": "string",
|
2178
|
+
"type": "string",
|
2179
|
+
"documentation": "\n <p>Client</p>\n "
|
2180
|
+
},
|
2181
|
+
"code": {
|
2182
|
+
"shape_name": "string",
|
2183
|
+
"type": "string",
|
2184
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
2185
|
+
},
|
2186
|
+
"message": {
|
2187
|
+
"shape_name": "string",
|
2188
|
+
"type": "string",
|
2189
|
+
"documentation": "\n \n "
|
2190
|
+
}
|
2191
|
+
},
|
2192
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
2193
|
+
},
|
2194
|
+
{
|
2195
|
+
"shape_name": "InvalidParameterValueException",
|
2196
|
+
"type": "structure",
|
2197
|
+
"members": {
|
2198
|
+
"type": {
|
2199
|
+
"shape_name": "string",
|
2200
|
+
"type": "string",
|
2201
|
+
"documentation": "\n <p>Client</p>\n "
|
2202
|
+
},
|
2203
|
+
"code": {
|
2204
|
+
"shape_name": "string",
|
2205
|
+
"type": "string",
|
2206
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2207
|
+
},
|
2208
|
+
"message": {
|
2209
|
+
"shape_name": "string",
|
2210
|
+
"type": "string",
|
2211
|
+
"documentation": "\n \n "
|
2212
|
+
}
|
2213
|
+
},
|
2214
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
2215
|
+
},
|
2216
|
+
{
|
2217
|
+
"shape_name": "MissingParameterValueException",
|
2218
|
+
"type": "structure",
|
2219
|
+
"members": {
|
2220
|
+
"type": {
|
2221
|
+
"shape_name": "string",
|
2222
|
+
"type": "string",
|
2223
|
+
"documentation": "\n <p>Client.</p>\n "
|
2224
|
+
},
|
2225
|
+
"code": {
|
2226
|
+
"shape_name": "string",
|
2227
|
+
"type": "string",
|
2228
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2229
|
+
},
|
2230
|
+
"message": {
|
2231
|
+
"shape_name": "string",
|
2232
|
+
"type": "string",
|
2233
|
+
"documentation": "\n \n "
|
2234
|
+
}
|
2235
|
+
},
|
2236
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
2237
|
+
},
|
2238
|
+
{
|
2239
|
+
"shape_name": "ServiceUnavailableException",
|
2240
|
+
"type": "structure",
|
2241
|
+
"members": {
|
2242
|
+
"type": {
|
2243
|
+
"shape_name": "string",
|
2244
|
+
"type": "string",
|
2245
|
+
"documentation": "\n <p>Server</p>\n "
|
2246
|
+
},
|
2247
|
+
"code": {
|
2248
|
+
"shape_name": "string",
|
2249
|
+
"type": "string",
|
2250
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
2251
|
+
},
|
2252
|
+
"message": {
|
2253
|
+
"shape_name": "string",
|
2254
|
+
"type": "string",
|
2255
|
+
"documentation": "\n \n "
|
2256
|
+
}
|
2257
|
+
},
|
2258
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
2259
|
+
}
|
2260
|
+
],
|
2261
|
+
"documentation": "\n\t <p>This operation lists in-progress multipart uploads for the specified vault. An in-progress\n\t\t\tmultipart upload is a multipart upload that has been initiated by an <a>InitiateMultipartUpload</a>\n\t\t\trequest, but has not yet been completed or aborted. The list returned in the List\n\t\t\tMultipart Upload response has no guaranteed order.\n\t </p>\n\n\t\t<p>The List Multipart Uploads operation supports pagination.\n\t\t By default, this operation returns up to 1,000 multipart uploads in the response. \n\t\t You should always check the response for a <code>marker</code> at which to continue the list; \n\t\t if there are no more items the <code>marker</code> is <code>null</code>. \n\t\t To return a list of multipart uploads that begins at a\n\t\t\tspecific upload, set the <code>marker</code> request parameter to the value you obtained\n\t\t\tfrom a previous List Multipart Upload request. You can also limit the number of uploads\n\t\t\treturned in the response by specifying the <code>limit</code> parameter in the\n\t\t\trequest.</p>\n\n\t\t<p>Note the difference between this operation and listing parts (<a>ListParts</a>). The List\n\t\t\tMultipart Uploads operation lists all multipart uploads for a vault and does not require\n\t\t\ta multipart upload ID. The List Parts operation requires a multipart upload ID since\n\t\t\tparts are associated with a single upload.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. \n\t\t You must grant them explicit permission to perform specific actions. \n\t\t For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n \n <p>For conceptual information and the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-multipart-list-uploads.html\">List Multipart Uploads </a> in the <i>Amazon Glacier Developer Guide</i>.</p>\n "
|
2262
|
+
},
|
2263
|
+
"ListParts": {
|
2264
|
+
"name": "ListParts",
|
2265
|
+
"http": {
|
2266
|
+
"method": "GET",
|
2267
|
+
"uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}?marker={marker}&limit={limit}"
|
2268
|
+
},
|
2269
|
+
"input": {
|
2270
|
+
"shape_name": "ListPartsInput",
|
2271
|
+
"type": "structure",
|
2272
|
+
"members": {
|
2273
|
+
"accountId": {
|
2274
|
+
"shape_name": "string",
|
2275
|
+
"type": "string",
|
2276
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
2277
|
+
"location": "uri"
|
2278
|
+
},
|
2279
|
+
"vaultName": {
|
2280
|
+
"shape_name": "string",
|
2281
|
+
"type": "string",
|
2282
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
2283
|
+
"location": "uri"
|
2284
|
+
},
|
2285
|
+
"uploadId": {
|
2286
|
+
"shape_name": "string",
|
2287
|
+
"type": "string",
|
2288
|
+
"documentation": "\n <p>The upload ID of the multipart upload.</p>\n ",
|
2289
|
+
"location": "uri"
|
2290
|
+
},
|
2291
|
+
"marker": {
|
2292
|
+
"shape_name": "string",
|
2293
|
+
"type": "string",
|
2294
|
+
"documentation": "\n <p>An opaque string used for pagination. This value specifies the part at which the listing of parts should begin. \n Get the marker value from the response of a previous List Parts response. \n You need only include the marker if you are continuing the pagination of results started in a previous List Parts request.</p>\n ",
|
2295
|
+
"location": "uri"
|
2296
|
+
},
|
2297
|
+
"limit": {
|
2298
|
+
"shape_name": "string",
|
2299
|
+
"type": "string",
|
2300
|
+
"documentation": "\n <p>Specifies the maximum number of parts returned in the response body. \n If this value is not specified, the List Parts operation returns up to 1,000 uploads.</p>\n ",
|
2301
|
+
"location": "uri"
|
2302
|
+
}
|
2303
|
+
},
|
2304
|
+
"documentation": "\n <p>Provides options for retrieving a list of parts of an archive that have been uploaded in a specific multipart upload.</p>\n "
|
2305
|
+
},
|
2306
|
+
"output": {
|
2307
|
+
"shape_name": "ListPartsOutput",
|
2308
|
+
"type": "structure",
|
2309
|
+
"members": {
|
2310
|
+
"MultipartUploadId": {
|
2311
|
+
"shape_name": "string",
|
2312
|
+
"type": "string",
|
2313
|
+
"documentation": "\n <p>The ID of the upload to which the parts are associated.</p>\n "
|
2314
|
+
},
|
2315
|
+
"VaultARN": {
|
2316
|
+
"shape_name": "string",
|
2317
|
+
"type": "string",
|
2318
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.</p>\n "
|
2319
|
+
},
|
2320
|
+
"ArchiveDescription": {
|
2321
|
+
"shape_name": "string",
|
2322
|
+
"type": "string",
|
2323
|
+
"documentation": "\n <p>The description of the archive that was specified in the Initiate Multipart Upload request.</p>\n "
|
2324
|
+
},
|
2325
|
+
"PartSizeInBytes": {
|
2326
|
+
"shape_name": "long",
|
2327
|
+
"type": "long",
|
2328
|
+
"documentation": "\n <p>The part size in bytes.</p>\n "
|
2329
|
+
},
|
2330
|
+
"CreationDate": {
|
2331
|
+
"shape_name": "string",
|
2332
|
+
"type": "string",
|
2333
|
+
"documentation": "\n <p>The UTC time at which the multipart upload was initiated.</p>\n "
|
2334
|
+
},
|
2335
|
+
"Parts": {
|
2336
|
+
"shape_name": "PartList",
|
2337
|
+
"type": "list",
|
2338
|
+
"members": {
|
2339
|
+
"shape_name": "PartListElement",
|
2340
|
+
"type": "structure",
|
2341
|
+
"members": {
|
2342
|
+
"RangeInBytes": {
|
2343
|
+
"shape_name": "string",
|
2344
|
+
"type": "string",
|
2345
|
+
"documentation": "\n <p>The byte range of a part, inclusive of the upper value of the range.</p>\n "
|
2346
|
+
},
|
2347
|
+
"SHA256TreeHash": {
|
2348
|
+
"shape_name": "string",
|
2349
|
+
"type": "string",
|
2350
|
+
"documentation": "\n <p>The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never <code>null</code>.</p>\n "
|
2351
|
+
}
|
2352
|
+
},
|
2353
|
+
"documentation": "\n <p>A list of the part sizes of the multipart upload.</p>\n "
|
2354
|
+
},
|
2355
|
+
"documentation": "\n <p>A list of the part sizes of the multipart upload.</p>\n "
|
2356
|
+
},
|
2357
|
+
"Marker": {
|
2358
|
+
"shape_name": "string",
|
2359
|
+
"type": "string",
|
2360
|
+
"documentation": "\n <p>An opaque string that represents where to continue pagination of the results. \n You use the marker in a new List Parts request to obtain more jobs in the list. \n If there are no more parts, this value is <code>null</code>.</p>\n "
|
2361
|
+
}
|
2362
|
+
},
|
2363
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
2364
|
+
},
|
2365
|
+
"errors": [
|
2366
|
+
{
|
2367
|
+
"shape_name": "ResourceNotFoundException",
|
2368
|
+
"type": "structure",
|
2369
|
+
"members": {
|
2370
|
+
"type": {
|
2371
|
+
"shape_name": "string",
|
2372
|
+
"type": "string",
|
2373
|
+
"documentation": "\n <p>Client</p>\n "
|
2374
|
+
},
|
2375
|
+
"code": {
|
2376
|
+
"shape_name": "string",
|
2377
|
+
"type": "string",
|
2378
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
2379
|
+
},
|
2380
|
+
"message": {
|
2381
|
+
"shape_name": "string",
|
2382
|
+
"type": "string",
|
2383
|
+
"documentation": "\n \n "
|
2384
|
+
}
|
2385
|
+
},
|
2386
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
2387
|
+
},
|
2388
|
+
{
|
2389
|
+
"shape_name": "InvalidParameterValueException",
|
2390
|
+
"type": "structure",
|
2391
|
+
"members": {
|
2392
|
+
"type": {
|
2393
|
+
"shape_name": "string",
|
2394
|
+
"type": "string",
|
2395
|
+
"documentation": "\n <p>Client</p>\n "
|
2396
|
+
},
|
2397
|
+
"code": {
|
2398
|
+
"shape_name": "string",
|
2399
|
+
"type": "string",
|
2400
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2401
|
+
},
|
2402
|
+
"message": {
|
2403
|
+
"shape_name": "string",
|
2404
|
+
"type": "string",
|
2405
|
+
"documentation": "\n \n "
|
2406
|
+
}
|
2407
|
+
},
|
2408
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
2409
|
+
},
|
2410
|
+
{
|
2411
|
+
"shape_name": "MissingParameterValueException",
|
2412
|
+
"type": "structure",
|
2413
|
+
"members": {
|
2414
|
+
"type": {
|
2415
|
+
"shape_name": "string",
|
2416
|
+
"type": "string",
|
2417
|
+
"documentation": "\n <p>Client.</p>\n "
|
2418
|
+
},
|
2419
|
+
"code": {
|
2420
|
+
"shape_name": "string",
|
2421
|
+
"type": "string",
|
2422
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2423
|
+
},
|
2424
|
+
"message": {
|
2425
|
+
"shape_name": "string",
|
2426
|
+
"type": "string",
|
2427
|
+
"documentation": "\n \n "
|
2428
|
+
}
|
2429
|
+
},
|
2430
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
2431
|
+
},
|
2432
|
+
{
|
2433
|
+
"shape_name": "ServiceUnavailableException",
|
2434
|
+
"type": "structure",
|
2435
|
+
"members": {
|
2436
|
+
"type": {
|
2437
|
+
"shape_name": "string",
|
2438
|
+
"type": "string",
|
2439
|
+
"documentation": "\n <p>Server</p>\n "
|
2440
|
+
},
|
2441
|
+
"code": {
|
2442
|
+
"shape_name": "string",
|
2443
|
+
"type": "string",
|
2444
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
2445
|
+
},
|
2446
|
+
"message": {
|
2447
|
+
"shape_name": "string",
|
2448
|
+
"type": "string",
|
2449
|
+
"documentation": "\n \n "
|
2450
|
+
}
|
2451
|
+
},
|
2452
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
2453
|
+
}
|
2454
|
+
],
|
2455
|
+
"documentation": "\n \t\t<p>This operation lists the parts of an archive that have been uploaded in a specific multipart\n\t\t\tupload. You can make this request at any time during an in-progress multipart upload\n\t\t\tbefore you complete the upload (see <a>CompleteMultipartUpload</a>. List Parts returns an error for\n\t\t\tcompleted uploads. The list returned in the List Parts response is sorted by part range.\n\t\t</p>\n\n\t\t<p>The List Parts operation supports pagination. \n\t\t By default, this operation returns up to 1,000 uploaded parts in the response. \n\t\t You should always check the response for a <code class=\"code\">marker</code> at which to continue \n\t\t the list; if there are no more items the <code class=\"code\">marker</code> is <code class=\"code\">null</code>. \n\t\t To return a list of parts that\n\t\t\tbegins at a specific part, set the <code>marker</code> request parameter to the value\n\t\t\tyou obtained from a previous List Parts request. You can also limit the number of parts\n\t\t\treturned in the response by specifying the <code>limit</code> parameter in the request.\n\t\t</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. \n\t\t You must grant them explicit permission to perform specific actions. \n\t\t For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-multipart-list-parts.html\">List Parts</a> in the <i>Amazon Glacier Developer Guide</i>.</p>\n "
|
2456
|
+
},
|
2457
|
+
"ListVaults": {
|
2458
|
+
"name": "ListVaults",
|
2459
|
+
"http": {
|
2460
|
+
"method": "GET",
|
2461
|
+
"uri": "/{accountId}/vaults?marker={marker}&limit={limit}"
|
2462
|
+
},
|
2463
|
+
"input": {
|
2464
|
+
"shape_name": "ListVaultsInput",
|
2465
|
+
"type": "structure",
|
2466
|
+
"members": {
|
2467
|
+
"accountId": {
|
2468
|
+
"shape_name": "string",
|
2469
|
+
"type": "string",
|
2470
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
2471
|
+
"location": "uri"
|
2472
|
+
},
|
2473
|
+
"marker": {
|
2474
|
+
"shape_name": "string",
|
2475
|
+
"type": "string",
|
2476
|
+
"documentation": "\n <p>A string used for pagination. The marker specifies the vault ARN after which the listing of vaults should begin.</p>\n ",
|
2477
|
+
"location": "uri"
|
2478
|
+
},
|
2479
|
+
"limit": {
|
2480
|
+
"shape_name": "string",
|
2481
|
+
"type": "string",
|
2482
|
+
"documentation": "\n <p>The maximum number of items returned in the response. \n If you don't specify a value, the List Vaults operation returns up to 1,000 items.</p>\n ",
|
2483
|
+
"location": "uri"
|
2484
|
+
}
|
2485
|
+
},
|
2486
|
+
"documentation": "\n <p>Provides options to retrieve the vault list owned by the calling user's account. \n The list provides metadata information for each vault.</p>\n "
|
2487
|
+
},
|
2488
|
+
"output": {
|
2489
|
+
"shape_name": "ListVaultsOutput",
|
2490
|
+
"type": "structure",
|
2491
|
+
"members": {
|
2492
|
+
"VaultList": {
|
2493
|
+
"shape_name": "VaultList",
|
2494
|
+
"type": "list",
|
2495
|
+
"members": {
|
2496
|
+
"shape_name": "DescribeVaultOutput",
|
2497
|
+
"type": "structure",
|
2498
|
+
"members": {
|
2499
|
+
"VaultARN": {
|
2500
|
+
"shape_name": "string",
|
2501
|
+
"type": "string",
|
2502
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) of the vault.</p>\n "
|
2503
|
+
},
|
2504
|
+
"VaultName": {
|
2505
|
+
"shape_name": "string",
|
2506
|
+
"type": "string",
|
2507
|
+
"documentation": "\n <p>The name of the vault.</p>\n "
|
2508
|
+
},
|
2509
|
+
"CreationDate": {
|
2510
|
+
"shape_name": "string",
|
2511
|
+
"type": "string",
|
2512
|
+
"documentation": "\n <p>The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, \"2012-03-20T17:03:43.221Z\".</p>\n "
|
2513
|
+
},
|
2514
|
+
"LastInventoryDate": {
|
2515
|
+
"shape_name": "string",
|
2516
|
+
"type": "string",
|
2517
|
+
"documentation": "\n <p>The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, \"2012-03-20T17:03:43.221Z\".</p>\n "
|
2518
|
+
},
|
2519
|
+
"NumberOfArchives": {
|
2520
|
+
"shape_name": "long",
|
2521
|
+
"type": "long",
|
2522
|
+
"documentation": "\n <p>The number of archives in the vault as of the last inventory date. This field will return <code>null</code> if an inventory has not yet run on the vault, for example, if you just created the vault.</p>\n "
|
2523
|
+
},
|
2524
|
+
"SizeInBytes": {
|
2525
|
+
"shape_name": "long",
|
2526
|
+
"type": "long",
|
2527
|
+
"documentation": "\n <p>Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.</p>\n "
|
2528
|
+
}
|
2529
|
+
},
|
2530
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
2531
|
+
},
|
2532
|
+
"documentation": "\n <p>List of vaults.</p>\n "
|
2533
|
+
},
|
2534
|
+
"Marker": {
|
2535
|
+
"shape_name": "string",
|
2536
|
+
"type": "string",
|
2537
|
+
"documentation": "\n <p>The vault ARN at which to continue pagination of the results. \n You use the marker in another List Vaults request to obtain more vaults in the list.</p>\n "
|
2538
|
+
}
|
2539
|
+
},
|
2540
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
2541
|
+
},
|
2542
|
+
"errors": [
|
2543
|
+
{
|
2544
|
+
"shape_name": "ResourceNotFoundException",
|
2545
|
+
"type": "structure",
|
2546
|
+
"members": {
|
2547
|
+
"type": {
|
2548
|
+
"shape_name": "string",
|
2549
|
+
"type": "string",
|
2550
|
+
"documentation": "\n <p>Client</p>\n "
|
2551
|
+
},
|
2552
|
+
"code": {
|
2553
|
+
"shape_name": "string",
|
2554
|
+
"type": "string",
|
2555
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
2556
|
+
},
|
2557
|
+
"message": {
|
2558
|
+
"shape_name": "string",
|
2559
|
+
"type": "string",
|
2560
|
+
"documentation": "\n \n "
|
2561
|
+
}
|
2562
|
+
},
|
2563
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
2564
|
+
},
|
2565
|
+
{
|
2566
|
+
"shape_name": "InvalidParameterValueException",
|
2567
|
+
"type": "structure",
|
2568
|
+
"members": {
|
2569
|
+
"type": {
|
2570
|
+
"shape_name": "string",
|
2571
|
+
"type": "string",
|
2572
|
+
"documentation": "\n <p>Client</p>\n "
|
2573
|
+
},
|
2574
|
+
"code": {
|
2575
|
+
"shape_name": "string",
|
2576
|
+
"type": "string",
|
2577
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2578
|
+
},
|
2579
|
+
"message": {
|
2580
|
+
"shape_name": "string",
|
2581
|
+
"type": "string",
|
2582
|
+
"documentation": "\n \n "
|
2583
|
+
}
|
2584
|
+
},
|
2585
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
2586
|
+
},
|
2587
|
+
{
|
2588
|
+
"shape_name": "MissingParameterValueException",
|
2589
|
+
"type": "structure",
|
2590
|
+
"members": {
|
2591
|
+
"type": {
|
2592
|
+
"shape_name": "string",
|
2593
|
+
"type": "string",
|
2594
|
+
"documentation": "\n <p>Client.</p>\n "
|
2595
|
+
},
|
2596
|
+
"code": {
|
2597
|
+
"shape_name": "string",
|
2598
|
+
"type": "string",
|
2599
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2600
|
+
},
|
2601
|
+
"message": {
|
2602
|
+
"shape_name": "string",
|
2603
|
+
"type": "string",
|
2604
|
+
"documentation": "\n \n "
|
2605
|
+
}
|
2606
|
+
},
|
2607
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
2608
|
+
},
|
2609
|
+
{
|
2610
|
+
"shape_name": "ServiceUnavailableException",
|
2611
|
+
"type": "structure",
|
2612
|
+
"members": {
|
2613
|
+
"type": {
|
2614
|
+
"shape_name": "string",
|
2615
|
+
"type": "string",
|
2616
|
+
"documentation": "\n <p>Server</p>\n "
|
2617
|
+
},
|
2618
|
+
"code": {
|
2619
|
+
"shape_name": "string",
|
2620
|
+
"type": "string",
|
2621
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
2622
|
+
},
|
2623
|
+
"message": {
|
2624
|
+
"shape_name": "string",
|
2625
|
+
"type": "string",
|
2626
|
+
"documentation": "\n \n "
|
2627
|
+
}
|
2628
|
+
},
|
2629
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
2630
|
+
}
|
2631
|
+
],
|
2632
|
+
"documentation": "\n \t\t<p>This operation lists all vaults owned by the calling user's account. The list returned in\n\t\t\tthe response is ASCII-sorted by vault name. </p>\n\n\t\t<p>By default, this operation returns up to 1,000 items. If there are more vaults to list, the\n\t\t\tresponse <code class=\"code\">marker</code> field contains the vault Amazon Resource Name (ARN) at\n\t\t\twhich to continue the list with a new List Vaults request; otherwise, the\n\t\t\t\t<code class=\"code\">marker</code> field is <code class=\"code\">null</code>. To return a list of vaults that\n\t\t\tbegins at a specific vault, set the <code class=\"code\">marker</code> request parameter to the vault\n\t\t\tARN you obtained from a previous List Vaults request. You can also limit the number of\n\t\t\tvaults returned in the response by specifying the <code class=\"code\">limit</code> parameter in the\n\t\t\trequest. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/retrieving-vault-info.html\">Retrieving Vault Metadata in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vaults-get.html\">List Vaults </a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n "
|
2633
|
+
},
|
2634
|
+
"SetVaultNotifications": {
|
2635
|
+
"name": "SetVaultNotifications",
|
2636
|
+
"http": {
|
2637
|
+
"method": "PUT",
|
2638
|
+
"uri": "/{accountId}/vaults/{vaultName}/notification-configuration",
|
2639
|
+
"response_code": 204
|
2640
|
+
},
|
2641
|
+
"input": {
|
2642
|
+
"shape_name": "SetVaultNotificationsInput",
|
2643
|
+
"type": "structure",
|
2644
|
+
"members": {
|
2645
|
+
"accountId": {
|
2646
|
+
"shape_name": "string",
|
2647
|
+
"type": "string",
|
2648
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
2649
|
+
"location": "uri"
|
2650
|
+
},
|
2651
|
+
"vaultName": {
|
2652
|
+
"shape_name": "string",
|
2653
|
+
"type": "string",
|
2654
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
2655
|
+
"location": "uri"
|
2656
|
+
},
|
2657
|
+
"vaultNotificationConfig": {
|
2658
|
+
"shape_name": "VaultNotificationConfig",
|
2659
|
+
"type": "structure",
|
2660
|
+
"members": {
|
2661
|
+
"SNSTopic": {
|
2662
|
+
"shape_name": "string",
|
2663
|
+
"type": "string",
|
2664
|
+
"documentation": "\n <p>The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).</p>\n "
|
2665
|
+
},
|
2666
|
+
"Events": {
|
2667
|
+
"shape_name": "NotificationEventList",
|
2668
|
+
"type": "list",
|
2669
|
+
"members": {
|
2670
|
+
"shape_name": "string",
|
2671
|
+
"type": "string",
|
2672
|
+
"documentation": null
|
2673
|
+
},
|
2674
|
+
"documentation": "\n <p>A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic.</p>\n "
|
2675
|
+
}
|
2676
|
+
},
|
2677
|
+
"documentation": "\n <p>Provides options for specifying notification configuration.</p>\n ",
|
2678
|
+
"payload": true
|
2679
|
+
}
|
2680
|
+
},
|
2681
|
+
"documentation": "\n <p>Provides options to configure notifications that will be sent when specific events happen to a vault.</p>\n "
|
2682
|
+
},
|
2683
|
+
"output": null,
|
2684
|
+
"errors": [
|
2685
|
+
{
|
2686
|
+
"shape_name": "ResourceNotFoundException",
|
2687
|
+
"type": "structure",
|
2688
|
+
"members": {
|
2689
|
+
"type": {
|
2690
|
+
"shape_name": "string",
|
2691
|
+
"type": "string",
|
2692
|
+
"documentation": "\n <p>Client</p>\n "
|
2693
|
+
},
|
2694
|
+
"code": {
|
2695
|
+
"shape_name": "string",
|
2696
|
+
"type": "string",
|
2697
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
2698
|
+
},
|
2699
|
+
"message": {
|
2700
|
+
"shape_name": "string",
|
2701
|
+
"type": "string",
|
2702
|
+
"documentation": "\n \n "
|
2703
|
+
}
|
2704
|
+
},
|
2705
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
2706
|
+
},
|
2707
|
+
{
|
2708
|
+
"shape_name": "InvalidParameterValueException",
|
2709
|
+
"type": "structure",
|
2710
|
+
"members": {
|
2711
|
+
"type": {
|
2712
|
+
"shape_name": "string",
|
2713
|
+
"type": "string",
|
2714
|
+
"documentation": "\n <p>Client</p>\n "
|
2715
|
+
},
|
2716
|
+
"code": {
|
2717
|
+
"shape_name": "string",
|
2718
|
+
"type": "string",
|
2719
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2720
|
+
},
|
2721
|
+
"message": {
|
2722
|
+
"shape_name": "string",
|
2723
|
+
"type": "string",
|
2724
|
+
"documentation": "\n \n "
|
2725
|
+
}
|
2726
|
+
},
|
2727
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
2728
|
+
},
|
2729
|
+
{
|
2730
|
+
"shape_name": "MissingParameterValueException",
|
2731
|
+
"type": "structure",
|
2732
|
+
"members": {
|
2733
|
+
"type": {
|
2734
|
+
"shape_name": "string",
|
2735
|
+
"type": "string",
|
2736
|
+
"documentation": "\n <p>Client.</p>\n "
|
2737
|
+
},
|
2738
|
+
"code": {
|
2739
|
+
"shape_name": "string",
|
2740
|
+
"type": "string",
|
2741
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2742
|
+
},
|
2743
|
+
"message": {
|
2744
|
+
"shape_name": "string",
|
2745
|
+
"type": "string",
|
2746
|
+
"documentation": "\n \n "
|
2747
|
+
}
|
2748
|
+
},
|
2749
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
2750
|
+
},
|
2751
|
+
{
|
2752
|
+
"shape_name": "ServiceUnavailableException",
|
2753
|
+
"type": "structure",
|
2754
|
+
"members": {
|
2755
|
+
"type": {
|
2756
|
+
"shape_name": "string",
|
2757
|
+
"type": "string",
|
2758
|
+
"documentation": "\n <p>Server</p>\n "
|
2759
|
+
},
|
2760
|
+
"code": {
|
2761
|
+
"shape_name": "string",
|
2762
|
+
"type": "string",
|
2763
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
2764
|
+
},
|
2765
|
+
"message": {
|
2766
|
+
"shape_name": "string",
|
2767
|
+
"type": "string",
|
2768
|
+
"documentation": "\n \n "
|
2769
|
+
}
|
2770
|
+
},
|
2771
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
2772
|
+
}
|
2773
|
+
],
|
2774
|
+
"documentation": "\n \t\t<p>This operation configures notifications that will be sent when specific events happen\n\t\t\tto a vault. By default, you don't get any notifications. </p>\n\n\t\t<p>To configure vault notifications, send a PUT request to the\n\t\t\t\t<code class=\"code\">notification-configuration</code> subresource of the vault. The request should\n\t\t\tinclude a JSON document that provides an Amazon SNS topic and specific events for which\n\t\t\tyou want Amazon Glacier to send notifications to the topic.</p>\n\n\t\t<p>Amazon SNS topics must grant permission to the vault to be allowed to publish\n\t\t\tnotifications to the topic. You can configure a vault to publish a notification for the\n\t\t\tfollowing vault events:</p>\n\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t<b>ArchiveRetrievalCompleted</b> This event occurs when a\n\t\t\t\t\t\tjob that was initiated for an archive retrieval is completed (<a>InitiateJob</a>). The\n\t\t\t\t\t\tstatus of the completed job can be \"Succeeded\" or \"Failed\". The notification\n\t\t\t\t\t\tsent to the SNS topic is the same output as returned from <a>DescribeJob</a>.\n\t\t\t</li>\n\t\t\t<li>\n<b>InventoryRetrievalCompleted</b> This event occurs when\n\t\t\t\t\t\ta job that was initiated for an inventory retrieval is completed (<a>InitiateJob</a>). The\n\t\t\t\t\t\tstatus of the completed job can be \"Succeeded\" or \"Failed\". The notification\n\t\t\t\t\t\tsent to the SNS topic is the same output as returned from <a>DescribeJob</a>.\n\t\t\t</li>\n\t\t</ul>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault Notifications in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-vault-notifications-put.html\">Set Vault Notification Configuration </a> in the <i>Amazon Glacier Developer Guide</i>.\n </p>\n "
|
2775
|
+
},
|
2776
|
+
"UploadArchive": {
|
2777
|
+
"name": "UploadArchive",
|
2778
|
+
"http": {
|
2779
|
+
"method": "POST",
|
2780
|
+
"uri": "/{accountId}/vaults/{vaultName}/archives",
|
2781
|
+
"response_code": 201
|
2782
|
+
},
|
2783
|
+
"input": {
|
2784
|
+
"shape_name": "UploadArchiveInput",
|
2785
|
+
"type": "structure",
|
2786
|
+
"members": {
|
2787
|
+
"vaultName": {
|
2788
|
+
"shape_name": "string",
|
2789
|
+
"type": "string",
|
2790
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
2791
|
+
"location": "uri"
|
2792
|
+
},
|
2793
|
+
"accountId": {
|
2794
|
+
"shape_name": "string",
|
2795
|
+
"type": "string",
|
2796
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
2797
|
+
"location": "uri"
|
2798
|
+
},
|
2799
|
+
"archiveDescription": {
|
2800
|
+
"shape_name": "string",
|
2801
|
+
"type": "string",
|
2802
|
+
"documentation": "\n <p>The optional description of the archive you are uploading. </p>\n ",
|
2803
|
+
"location": "header",
|
2804
|
+
"location_name": "x-amz-archive-description"
|
2805
|
+
},
|
2806
|
+
"checksum": {
|
2807
|
+
"shape_name": "string",
|
2808
|
+
"type": "string",
|
2809
|
+
"documentation": "\n <p>The SHA256 checksum (a linear hash) of the payload.</p>\n ",
|
2810
|
+
"location": "header",
|
2811
|
+
"location_name": "x-amz-sha256-tree-hash"
|
2812
|
+
},
|
2813
|
+
"body": {
|
2814
|
+
"shape_name": "Stream",
|
2815
|
+
"type": "blob",
|
2816
|
+
"streaming": true,
|
2817
|
+
"documentation": "\n <p>The data to upload.</p>\n ",
|
2818
|
+
"payload": true
|
2819
|
+
}
|
2820
|
+
},
|
2821
|
+
"documentation": "\n <p>Provides options to add an archive to a vault.</p>\n "
|
2822
|
+
},
|
2823
|
+
"output": {
|
2824
|
+
"shape_name": "ArchiveCreationOutput",
|
2825
|
+
"type": "structure",
|
2826
|
+
"members": {
|
2827
|
+
"location": {
|
2828
|
+
"shape_name": "string",
|
2829
|
+
"type": "string",
|
2830
|
+
"documentation": "\n <p>The relative URI path of the newly added archive resource.</p>\n ",
|
2831
|
+
"location": "header",
|
2832
|
+
"location_name": "Location"
|
2833
|
+
},
|
2834
|
+
"checksum": {
|
2835
|
+
"shape_name": "string",
|
2836
|
+
"type": "string",
|
2837
|
+
"documentation": "\n <p>The checksum of the archive computed by Amazon Glacier.</p>\n ",
|
2838
|
+
"location": "header",
|
2839
|
+
"location_name": "x-amz-sha256-tree-hash"
|
2840
|
+
},
|
2841
|
+
"archiveId": {
|
2842
|
+
"shape_name": "string",
|
2843
|
+
"type": "string",
|
2844
|
+
"documentation": "\n <p>The ID of the archive. This value is also included as part of the location.</p>\n ",
|
2845
|
+
"location": "header",
|
2846
|
+
"location_name": "x-amz-archive-id"
|
2847
|
+
}
|
2848
|
+
},
|
2849
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n <p>For information about the underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-archive-post.html\">Upload Archive</a>. \n For conceptual information, go to <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in Amazon Glacier</a>.</p>\n "
|
2850
|
+
},
|
2851
|
+
"errors": [
|
2852
|
+
{
|
2853
|
+
"shape_name": "ResourceNotFoundException",
|
2854
|
+
"type": "structure",
|
2855
|
+
"members": {
|
2856
|
+
"type": {
|
2857
|
+
"shape_name": "string",
|
2858
|
+
"type": "string",
|
2859
|
+
"documentation": "\n <p>Client</p>\n "
|
2860
|
+
},
|
2861
|
+
"code": {
|
2862
|
+
"shape_name": "string",
|
2863
|
+
"type": "string",
|
2864
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
2865
|
+
},
|
2866
|
+
"message": {
|
2867
|
+
"shape_name": "string",
|
2868
|
+
"type": "string",
|
2869
|
+
"documentation": "\n \n "
|
2870
|
+
}
|
2871
|
+
},
|
2872
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
2873
|
+
},
|
2874
|
+
{
|
2875
|
+
"shape_name": "InvalidParameterValueException",
|
2876
|
+
"type": "structure",
|
2877
|
+
"members": {
|
2878
|
+
"type": {
|
2879
|
+
"shape_name": "string",
|
2880
|
+
"type": "string",
|
2881
|
+
"documentation": "\n <p>Client</p>\n "
|
2882
|
+
},
|
2883
|
+
"code": {
|
2884
|
+
"shape_name": "string",
|
2885
|
+
"type": "string",
|
2886
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2887
|
+
},
|
2888
|
+
"message": {
|
2889
|
+
"shape_name": "string",
|
2890
|
+
"type": "string",
|
2891
|
+
"documentation": "\n \n "
|
2892
|
+
}
|
2893
|
+
},
|
2894
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
2895
|
+
},
|
2896
|
+
{
|
2897
|
+
"shape_name": "MissingParameterValueException",
|
2898
|
+
"type": "structure",
|
2899
|
+
"members": {
|
2900
|
+
"type": {
|
2901
|
+
"shape_name": "string",
|
2902
|
+
"type": "string",
|
2903
|
+
"documentation": "\n <p>Client.</p>\n "
|
2904
|
+
},
|
2905
|
+
"code": {
|
2906
|
+
"shape_name": "string",
|
2907
|
+
"type": "string",
|
2908
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
2909
|
+
},
|
2910
|
+
"message": {
|
2911
|
+
"shape_name": "string",
|
2912
|
+
"type": "string",
|
2913
|
+
"documentation": "\n \n "
|
2914
|
+
}
|
2915
|
+
},
|
2916
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
2917
|
+
},
|
2918
|
+
{
|
2919
|
+
"shape_name": "RequestTimeoutException",
|
2920
|
+
"type": "structure",
|
2921
|
+
"members": {
|
2922
|
+
"type": {
|
2923
|
+
"shape_name": "string",
|
2924
|
+
"type": "string",
|
2925
|
+
"documentation": "\n <p>Client</p>\n "
|
2926
|
+
},
|
2927
|
+
"code": {
|
2928
|
+
"shape_name": "string",
|
2929
|
+
"type": "string",
|
2930
|
+
"documentation": "\n <p>408 Request Timeout</p>\n "
|
2931
|
+
},
|
2932
|
+
"message": {
|
2933
|
+
"shape_name": "string",
|
2934
|
+
"type": "string",
|
2935
|
+
"documentation": "\n \n "
|
2936
|
+
}
|
2937
|
+
},
|
2938
|
+
"documentation": "\n <p>Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.</p>\n "
|
2939
|
+
},
|
2940
|
+
{
|
2941
|
+
"shape_name": "ServiceUnavailableException",
|
2942
|
+
"type": "structure",
|
2943
|
+
"members": {
|
2944
|
+
"type": {
|
2945
|
+
"shape_name": "string",
|
2946
|
+
"type": "string",
|
2947
|
+
"documentation": "\n <p>Server</p>\n "
|
2948
|
+
},
|
2949
|
+
"code": {
|
2950
|
+
"shape_name": "string",
|
2951
|
+
"type": "string",
|
2952
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
2953
|
+
},
|
2954
|
+
"message": {
|
2955
|
+
"shape_name": "string",
|
2956
|
+
"type": "string",
|
2957
|
+
"documentation": "\n \n "
|
2958
|
+
}
|
2959
|
+
},
|
2960
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
2961
|
+
}
|
2962
|
+
],
|
2963
|
+
"documentation": "\n\t\t<p>This operation adds an archive to a vault. This is a synchronous operation, and for a\n\t\t\tsuccessful upload, your data is durably persisted. Amazon Glacier returns the archive ID in\n\t\t\tthe <code class=\"code\">x-amz-archive-id</code> header of the response.\n\t\t</p>\n\n\t\t<p>You must use the archive ID to access your data in Amazon Glacier. After you upload an archive,\n\t\t\tyou should save the archive ID returned so that you can retrieve or delete the archive\n\t\t\tlater. Besides saving the archive ID, you can also index it and give it a friendly name\n\t\t\tto allow for better searching. You can also use the optional archive description field\n\t\t\tto specify how the archive is referred to in an external index of archives, such as you\n\t\t\tmight create in Amazon DynamoDB. You can also get the vault inventory to obtain a list\n\t\t\tof archive IDs in a vault. For more information, see <a>InitiateJob</a>. \n\t\t</p>\n\n\t\t<p>You must provide a SHA256 tree hash of the data you are uploading. For information about\n\t\t\tcomputing a SHA256 tree hash, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/checksum-calculations.html\">Computing Checksums</a>. </p>\n\n\t\t<p>You can optionally specify an archive description of up to 1,024 printable ASCII characters.\n\t\t\tYou can get the archive description when you either retrieve the archive or get the vault\n\t\t\tinventory. For more information, see <a>InitiateJob</a>. Amazon Glacier does not interpret the description\n\t\t\tin any way. An archive description does not need to be unique. You cannot use the\n\t\t\tdescription to retrieve or sort the archive list. \n\t\t</p>\n\n\t\t<p>Archives are immutable. After you upload an archive, you cannot edit the archive or its\n\t\t\tdescription. </p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/uploading-an-archive.html\">Uploading an Archive in Amazon Glacier</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-archive-post.html\">Upload Archive</a> in the <i>Amazon Glacier Developer Guide</i>.\n </p> \n "
|
2964
|
+
},
|
2965
|
+
"UploadMultipartPart": {
|
2966
|
+
"name": "UploadMultipartPart",
|
2967
|
+
"http": {
|
2968
|
+
"method": "PUT",
|
2969
|
+
"uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
|
2970
|
+
"response_code": 204
|
2971
|
+
},
|
2972
|
+
"input": {
|
2973
|
+
"shape_name": "UploadMultipartPartInput",
|
2974
|
+
"type": "structure",
|
2975
|
+
"members": {
|
2976
|
+
"accountId": {
|
2977
|
+
"shape_name": "string",
|
2978
|
+
"type": "string",
|
2979
|
+
"documentation": "\n <p>The <code>AccountId</code> is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', \n in which case Amazon Glacier uses the AWS Account ID associated with the credentials used \n to sign the request. If you specify your Account ID, do not include hyphens in it. </p>\n ",
|
2980
|
+
"location": "uri"
|
2981
|
+
},
|
2982
|
+
"vaultName": {
|
2983
|
+
"shape_name": "string",
|
2984
|
+
"type": "string",
|
2985
|
+
"documentation": "\n <p>The name of the vault.</p>\n ",
|
2986
|
+
"location": "uri"
|
2987
|
+
},
|
2988
|
+
"uploadId": {
|
2989
|
+
"shape_name": "string",
|
2990
|
+
"type": "string",
|
2991
|
+
"documentation": "\n <p>The upload ID of the multipart upload.</p>\n ",
|
2992
|
+
"location": "uri"
|
2993
|
+
},
|
2994
|
+
"checksum": {
|
2995
|
+
"shape_name": "string",
|
2996
|
+
"type": "string",
|
2997
|
+
"documentation": "\n <p>The SHA256 tree hash of the data being uploaded. </p>\n ",
|
2998
|
+
"location": "header",
|
2999
|
+
"location_name": "x-amz-sha256-tree-hash"
|
3000
|
+
},
|
3001
|
+
"range": {
|
3002
|
+
"shape_name": "string",
|
3003
|
+
"type": "string",
|
3004
|
+
"documentation": "\n <p>Identifies the range of bytes in the assembled archive that will be uploaded in this part. \n Amazon Glacier uses this information to assemble the archive in the proper sequence. \n The format of this header follows RFC 2616. An example header is Content-Range:bytes 0-4194303/*.</p>\n ",
|
3005
|
+
"location": "header",
|
3006
|
+
"location_name": "Content-Range"
|
3007
|
+
},
|
3008
|
+
"body": {
|
3009
|
+
"shape_name": "Stream",
|
3010
|
+
"type": "blob",
|
3011
|
+
"streaming": true,
|
3012
|
+
"documentation": "\n <p>The data to upload.</p>\n ",
|
3013
|
+
"payload": true
|
3014
|
+
}
|
3015
|
+
},
|
3016
|
+
"documentation": "\n <p>Provides options to upload a part of an archive in a multipart upload operation.</p>\n "
|
3017
|
+
},
|
3018
|
+
"output": {
|
3019
|
+
"shape_name": "UploadMultipartPartOutput",
|
3020
|
+
"type": "structure",
|
3021
|
+
"members": {
|
3022
|
+
"checksum": {
|
3023
|
+
"shape_name": "string",
|
3024
|
+
"type": "string",
|
3025
|
+
"documentation": "\n <p>The SHA256 tree hash that Amazon Glacier computed for the uploaded part.</p>\n ",
|
3026
|
+
"location": "header",
|
3027
|
+
"location_name": "x-amz-sha256-tree-hash"
|
3028
|
+
}
|
3029
|
+
},
|
3030
|
+
"documentation": "\n <p>Contains the Amazon Glacier response to your request.</p>\n "
|
3031
|
+
},
|
3032
|
+
"errors": [
|
3033
|
+
{
|
3034
|
+
"shape_name": "ResourceNotFoundException",
|
3035
|
+
"type": "structure",
|
3036
|
+
"members": {
|
3037
|
+
"type": {
|
3038
|
+
"shape_name": "string",
|
3039
|
+
"type": "string",
|
3040
|
+
"documentation": "\n <p>Client</p>\n "
|
3041
|
+
},
|
3042
|
+
"code": {
|
3043
|
+
"shape_name": "string",
|
3044
|
+
"type": "string",
|
3045
|
+
"documentation": "\n <p>404 Not Found</p>\n "
|
3046
|
+
},
|
3047
|
+
"message": {
|
3048
|
+
"shape_name": "string",
|
3049
|
+
"type": "string",
|
3050
|
+
"documentation": "\n \n "
|
3051
|
+
}
|
3052
|
+
},
|
3053
|
+
"documentation": "\n <p>Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.</p>\n "
|
3054
|
+
},
|
3055
|
+
{
|
3056
|
+
"shape_name": "InvalidParameterValueException",
|
3057
|
+
"type": "structure",
|
3058
|
+
"members": {
|
3059
|
+
"type": {
|
3060
|
+
"shape_name": "string",
|
3061
|
+
"type": "string",
|
3062
|
+
"documentation": "\n <p>Client</p>\n "
|
3063
|
+
},
|
3064
|
+
"code": {
|
3065
|
+
"shape_name": "string",
|
3066
|
+
"type": "string",
|
3067
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
3068
|
+
},
|
3069
|
+
"message": {
|
3070
|
+
"shape_name": "string",
|
3071
|
+
"type": "string",
|
3072
|
+
"documentation": "\n \n "
|
3073
|
+
}
|
3074
|
+
},
|
3075
|
+
"documentation": "\n <p>Returned if a parameter of the request is incorrectly specified. </p>\n "
|
3076
|
+
},
|
3077
|
+
{
|
3078
|
+
"shape_name": "MissingParameterValueException",
|
3079
|
+
"type": "structure",
|
3080
|
+
"members": {
|
3081
|
+
"type": {
|
3082
|
+
"shape_name": "string",
|
3083
|
+
"type": "string",
|
3084
|
+
"documentation": "\n <p>Client.</p>\n "
|
3085
|
+
},
|
3086
|
+
"code": {
|
3087
|
+
"shape_name": "string",
|
3088
|
+
"type": "string",
|
3089
|
+
"documentation": "\n <p>400 Bad Request</p>\n "
|
3090
|
+
},
|
3091
|
+
"message": {
|
3092
|
+
"shape_name": "string",
|
3093
|
+
"type": "string",
|
3094
|
+
"documentation": "\n \n "
|
3095
|
+
}
|
3096
|
+
},
|
3097
|
+
"documentation": "\n <p>Returned if a required header or parameter is missing from the request.</p>\n "
|
3098
|
+
},
|
3099
|
+
{
|
3100
|
+
"shape_name": "RequestTimeoutException",
|
3101
|
+
"type": "structure",
|
3102
|
+
"members": {
|
3103
|
+
"type": {
|
3104
|
+
"shape_name": "string",
|
3105
|
+
"type": "string",
|
3106
|
+
"documentation": "\n <p>Client</p>\n "
|
3107
|
+
},
|
3108
|
+
"code": {
|
3109
|
+
"shape_name": "string",
|
3110
|
+
"type": "string",
|
3111
|
+
"documentation": "\n <p>408 Request Timeout</p>\n "
|
3112
|
+
},
|
3113
|
+
"message": {
|
3114
|
+
"shape_name": "string",
|
3115
|
+
"type": "string",
|
3116
|
+
"documentation": "\n \n "
|
3117
|
+
}
|
3118
|
+
},
|
3119
|
+
"documentation": "\n <p>Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.</p>\n "
|
3120
|
+
},
|
3121
|
+
{
|
3122
|
+
"shape_name": "ServiceUnavailableException",
|
3123
|
+
"type": "structure",
|
3124
|
+
"members": {
|
3125
|
+
"type": {
|
3126
|
+
"shape_name": "string",
|
3127
|
+
"type": "string",
|
3128
|
+
"documentation": "\n <p>Server</p>\n "
|
3129
|
+
},
|
3130
|
+
"code": {
|
3131
|
+
"shape_name": "string",
|
3132
|
+
"type": "string",
|
3133
|
+
"documentation": "\n <p>500 Internal Server Error</p>\n "
|
3134
|
+
},
|
3135
|
+
"message": {
|
3136
|
+
"shape_name": "string",
|
3137
|
+
"type": "string",
|
3138
|
+
"documentation": "\n \n "
|
3139
|
+
}
|
3140
|
+
},
|
3141
|
+
"documentation": "\n <p>Returned if the service cannot complete the request.</p>\n "
|
3142
|
+
}
|
3143
|
+
],
|
3144
|
+
"documentation": "\n\t <p>This operation uploads a part of an archive. You can upload archive parts in any order. You\n\t\t\tcan also upload them in parallel. You can upload up to 10,000 parts for a\n\t\t\tmultipart upload.</p>\n\n\t\t<p>Amazon Glacier rejects your upload part request if any of the following conditions is\n\t\t\ttrue:</p>\n\n\t\t<ul>\n\t\t\t<li>\n<p><b>SHA256 tree hash does not match</b>To ensure that part\n\t\t\t\t\t\tdata is not corrupted in transmission, you compute a SHA256 tree hash of the\n\t\t\t\t\t\tpart and include it in your request. Upon receiving the part data, Amazon Glacier\n\t\t\t\t\t\talso computes a SHA256 tree hash. If these hash values don't match, the\n\t\t\t\t\t\toperation fails. For information about computing a SHA256 tree hash, see\n\t\t\t\t\t\t\t<a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/checksum-calculations.html\">Computing Checksums</a>.</p>\n\t\t\t</li>\n\t\t\t<li>\n<p><b>Part size does not match</b>The size of each part except the last must match the size specified in the\n\t\t\t\t\t\tcorresponding <a>InitiateMultipartUpload</a> request. The size of the last part must\n\t\t\t\t\t\t\tbe the same size as, or smaller than, the specified size.</p>\n\t\t\t\t<note><p>If you upload a part whose size is smaller than the part size you specified in your initiate\n\t\t\t\t\t\t\tmultipart upload request and that part is not the last part, then the\n\t\t\t\t\t\t\tupload part request will succeed. However, the subsequent Complete\n\t\t\t\t\t\t\tMultipart Upload request will fail.</p></note>\n\t\t\t</li>\n\t\t\t<li>\n<b>Range does not align</b>The byte range value in the\n\t\t\t\t\t\trequest does not align with the part size specified in the corresponding\n\t\t\t\t\t\tinitiate request. For example, if you specify a part size of 4194304 bytes\n\t\t\t\t\t\t(4 MB), then 0 to 4194303 bytes (4 MB - 1) and 4194304 (4 MB) to\n\t\t\t\t\t\t8388607 (8 MB - 1) are valid part ranges. However, if you set a range\n\t\t\t\t\t\tvalue of 2 MB to 6 MB, the range does not align with the part size and the\n\t\t\t\t\t\tupload will fail.\n\t\t\t</li>\n\t\t</ul>\n\n\t\t<p>This operation is idempotent. If you upload the same part multiple times, the data included\n\t\t\tin the most recent request overwrites the previously uploaded data.</p>\n\n\t\t<p>An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, go to \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/uploading-archive-mpu.html\">Uploading Large Archives in Parts (Multipart Upload)</a> \n and \n <a href=\"http://docs.amazonwebservices.com/amazonglacier/latest/dev/api-upload-part.html\">Upload Part </a> in the <i>Amazon Glacier Developer Guide</i>.</p> \n "
|
3145
|
+
}
|
3146
|
+
}
|
3147
|
+
}
|