aws-sdk-core 2.0.0.rc12 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/apis/AutoScaling.api.json +1943 -0
- data/apis/CloudFormation.api.json +785 -0
- data/apis/CloudFront.api.json +2581 -0
- data/apis/CloudFront.paginators.json +32 -0
- data/apis/CloudSearch.api.json +1955 -0
- data/apis/CloudSearchDomain.api.json +349 -0
- data/apis/CloudTrail.api.json +559 -0
- data/apis/CloudWatch.api.json +917 -0
- data/apis/CloudWatchLogs.api.json +816 -0
- data/apis/CognitoIdentity.api.json +631 -0
- data/apis/CognitoSync.api.json +721 -0
- data/apis/DataPipeline.api.json +940 -0
- data/apis/DirectConnect.api.json +833 -0
- data/apis/DynamoDB.api.json +1210 -0
- data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +1 -3
- data/apis/EC2.api.json +9914 -0
- data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +16 -0
- data/apis/EMR.api.json +1339 -0
- data/apis/ElastiCache.api.json +3410 -0
- data/apis/ElasticBeanstalk.api.json +1543 -0
- data/apis/ElasticLoadBalancing.api.json +2131 -0
- data/apis/ElasticTranscoder.api.json +1647 -0
- data/apis/Glacier.api.json +1456 -0
- data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +5 -9
- data/apis/IAM.api.json +4033 -0
- data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +1 -1
- data/apis/ImportExport.api.json +515 -0
- data/apis/Kinesis.api.json +706 -0
- data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -6
- data/apis/OpsWorks.api.json +2555 -0
- data/apis/OpsWorks.resources.json +181 -0
- data/apis/RDS.api.json +4473 -0
- data/apis/Redshift.api.json +4482 -0
- data/apis/Route53.api.json +1935 -0
- data/apis/Route53Domains.api.json +1129 -0
- data/apis/{s3-2006-03-01.api.json → S3.api.json} +377 -972
- data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
- data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +13 -2
- data/apis/SES.api.json +644 -0
- data/apis/SNS.api.json +1760 -0
- data/apis/SQS.api.json +1113 -0
- data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -10
- data/apis/STS.api.json +594 -0
- data/apis/SWF.api.json +2656 -0
- data/apis/SimpleDB.api.json +954 -0
- data/apis/StorageGateway.api.json +2311 -0
- data/apis/Support.api.json +869 -0
- data/bin/aws.rb +19 -1
- data/endpoints.json +77 -0
- data/lib/aws-sdk-core/api/docstrings.rb +35 -0
- data/lib/aws-sdk-core/api/documenter.rb +241 -0
- data/lib/{aws/api/documentor.rb → aws-sdk-core/api/operation_documenter.rb} +39 -28
- data/lib/{aws/api/doc_example.rb → aws-sdk-core/api/operation_example.rb} +31 -22
- data/lib/{aws → aws-sdk-core}/api/service_customizations.rb +5 -1
- data/lib/aws-sdk-core/autoscaling.rb +5 -0
- data/lib/aws-sdk-core/client.rb +121 -0
- data/lib/aws-sdk-core/cloudformation.rb +5 -0
- data/lib/aws-sdk-core/cloudfront.rb +6 -0
- data/lib/aws-sdk-core/cloudsearch.rb +5 -0
- data/lib/aws-sdk-core/cloudsearchdomain.rb +4 -0
- data/lib/aws-sdk-core/cloudtrail.rb +5 -0
- data/lib/aws-sdk-core/cloudwatch.rb +5 -0
- data/lib/aws-sdk-core/cloudwatchlogs.rb +5 -0
- data/lib/aws-sdk-core/cognitoidentity.rb +4 -0
- data/lib/aws-sdk-core/cognitosync.rb +4 -0
- data/lib/{aws → aws-sdk-core}/credential_provider_chain.rb +4 -1
- data/lib/aws-sdk-core/datapipeline.rb +5 -0
- data/lib/aws-sdk-core/directconnect.rb +5 -0
- data/lib/aws-sdk-core/dynamodb/attribute_value.rb +87 -0
- data/lib/aws-sdk-core/dynamodb.rb +12 -0
- data/lib/aws-sdk-core/ec2.rb +7 -0
- data/lib/aws-sdk-core/elasticache.rb +5 -0
- data/lib/aws-sdk-core/elasticbeanstalk.rb +5 -0
- data/lib/aws-sdk-core/elasticloadbalancing.rb +5 -0
- data/lib/aws-sdk-core/elastictranscoder.rb +5 -0
- data/lib/{aws → aws-sdk-core}/empty_structure.rb +4 -3
- data/lib/aws-sdk-core/emr.rb +5 -0
- data/lib/aws-sdk-core/endpoint_provider.rb +97 -0
- data/lib/{aws → aws-sdk-core}/errors.rb +27 -8
- data/lib/aws-sdk-core/glacier.rb +7 -0
- data/lib/aws-sdk-core/iam.rb +6 -0
- data/lib/aws-sdk-core/importexport.rb +5 -0
- data/lib/{aws → aws-sdk-core}/instance_profile_credentials.rb +13 -9
- data/lib/aws-sdk-core/kinesis.rb +5 -0
- data/lib/aws-sdk-core/opsworks.rb +6 -0
- data/lib/{aws → aws-sdk-core}/pageable_response.rb +1 -1
- data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +37 -0
- data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +179 -0
- data/lib/{aws → aws-sdk-core}/plugins/global_configuration.rb +14 -7
- data/lib/{aws → aws-sdk-core}/plugins/protocols/json_rpc.rb +9 -7
- data/lib/{aws → aws-sdk-core}/plugins/regional_endpoint.rb +2 -4
- data/lib/{aws → aws-sdk-core}/plugins/request_signer.rb +18 -8
- data/lib/aws-sdk-core/plugins/response_paging.rb +25 -0
- data/lib/{aws → aws-sdk-core}/plugins/retry_errors.rb +11 -1
- data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +55 -0
- data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +27 -0
- data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +63 -0
- data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +92 -0
- data/lib/{aws → aws-sdk-core}/plugins/user_agent.rb +1 -2
- data/lib/{aws → aws-sdk-core}/query/handler.rb +4 -5
- data/lib/aws-sdk-core/rds.rb +6 -0
- data/lib/aws-sdk-core/redshift.rb +6 -0
- data/lib/aws-sdk-core/route53.rb +5 -0
- data/lib/aws-sdk-core/route53domains.rb +4 -0
- data/lib/aws-sdk-core/s3/presigner.rb +64 -0
- data/lib/aws-sdk-core/s3.rb +13 -0
- data/lib/aws-sdk-core/service.rb +4 -0
- data/lib/aws-sdk-core/ses.rb +6 -0
- data/lib/{aws → aws-sdk-core}/signers/v4.rb +6 -5
- data/lib/aws-sdk-core/simpledb.rb +5 -0
- data/lib/aws-sdk-core/sns.rb +6 -0
- data/lib/aws-sdk-core/sqs.rb +6 -0
- data/lib/aws-sdk-core/storagegateway.rb +5 -0
- data/lib/{aws → aws-sdk-core}/structure.rb +60 -4
- data/lib/aws-sdk-core/sts.rb +4 -0
- data/lib/aws-sdk-core/support.rb +5 -0
- data/lib/aws-sdk-core/swf.rb +5 -0
- data/lib/aws-sdk-core/version.rb +3 -0
- data/lib/aws-sdk-core/waiters/errors.rb +30 -0
- data/lib/aws-sdk-core/waiters/null_provider.rb +12 -0
- data/lib/aws-sdk-core/waiters/provider.rb +54 -0
- data/lib/aws-sdk-core/waiters/waiter.rb +194 -0
- data/lib/{aws → aws-sdk-core}/xml/builder.rb +4 -3
- data/lib/aws-sdk-core/xml/default_list.rb +10 -0
- data/lib/{aws → aws-sdk-core}/xml/parser.rb +6 -1
- data/lib/aws-sdk-core.rb +288 -1
- data/{vendor/seahorse/lib → lib}/seahorse/client/base.rb +45 -20
- data/{vendor/seahorse/lib → lib}/seahorse/client/handler_list.rb +17 -3
- data/{vendor/seahorse/lib → lib}/seahorse/client/http/error.rb +2 -2
- data/{vendor/seahorse/lib → lib}/seahorse/client/http/request.rb +1 -9
- data/{vendor/seahorse/lib → lib}/seahorse/client/net_http/connection_pool.rb +2 -0
- data/{vendor/seahorse/lib → lib}/seahorse/client/net_http/handler.rb +13 -1
- data/lib/seahorse/client/net_http/patches.rb +97 -0
- data/{vendor/seahorse/lib → lib}/seahorse/client/param_converter.rb +2 -2
- data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/endpoint.rb +24 -15
- data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/restful_bindings.rb +1 -1
- data/{vendor/seahorse/lib → lib}/seahorse/client/request.rb +1 -1
- data/{vendor/seahorse/lib → lib}/seahorse/client/response.rb +0 -2
- data/{vendor/seahorse/lib → lib}/seahorse/client/xml/builder.rb +0 -1
- data/{vendor/seahorse/lib → lib}/seahorse/model/shape_map.rb +1 -0
- data/{vendor/seahorse/lib → lib}/seahorse/model/shapes.rb +13 -4
- data/{vendor/seahorse/lib → lib}/seahorse.rb +3 -3
- metadata +257 -593
- data/.gitignore +0 -8
- data/.simplecov +0 -6
- data/.travis.yml +0 -20
- data/.yardopts +0 -11
- data/Gemfile +0 -26
- data/LICENSE.txt +0 -12
- data/README.md +0 -250
- data/Rakefile +0 -17
- data/apis/autoscaling-2011-01-01.api.json +0 -2602
- data/apis/cloudformation-2010-05-15.api.json +0 -1306
- data/apis/cloudfront-2014-01-31.api.json +0 -3478
- data/apis/cloudfront-2014-01-31.paginators.json +0 -32
- data/apis/cloudfront-2014-05-31.api.json +0 -3540
- data/apis/cloudfront-2014-05-31.paginators.json +0 -32
- data/apis/cloudfront-2014-05-31.waiters.json +0 -29
- data/apis/cloudsearch-2011-02-01.api.json +0 -2093
- data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
- data/apis/cloudsearch-2013-01-01.api.json +0 -2655
- data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
- data/apis/cloudtrail-2013-11-01.api.json +0 -773
- data/apis/cognito-identity-2014-06-30.api.json +0 -884
- data/apis/cognito-sync-2014-06-30.api.json +0 -1029
- data/apis/datapipeline-2012-10-29.api.json +0 -1432
- data/apis/directconnect-2012-10-25.api.json +0 -1174
- data/apis/dynamodb-2011-12-05.api.json +0 -1208
- data/apis/dynamodb-2011-12-05.waiters.json +0 -27
- data/apis/dynamodb-2012-08-10.api.json +0 -1857
- data/apis/dynamodb-2012-08-10.paginators.json +0 -27
- data/apis/ec2-2014-06-15.api.json +0 -11661
- data/apis/elasticache-2014-03-24.api.json +0 -4789
- data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
- data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2576
- data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
- data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
- data/apis/email-2010-12-01.api.json +0 -954
- data/apis/endpoints.json +0 -98
- data/apis/glacier-2012-06-01.api.json +0 -2012
- data/apis/iam-2010-05-08.api.json +0 -5046
- data/apis/importexport-2010-06-01.api.json +0 -687
- data/apis/kinesis-2013-12-02.api.json +0 -769
- data/apis/logs-2014-03-28.api.json +0 -942
- data/apis/manifest.json +0 -250
- data/apis/monitoring-2010-08-01.api.json +0 -1338
- data/apis/opsworks-2013-02-18.api.json +0 -4348
- data/apis/rds-2013-01-10.api.json +0 -6074
- data/apis/rds-2013-02-12.api.json +0 -6392
- data/apis/rds-2013-02-12.paginators.json +0 -110
- data/apis/rds-2013-09-09.api.json +0 -6564
- data/apis/rds-2013-09-09.paginators.json +0 -110
- data/apis/redshift-2012-12-01.api.json +0 -6318
- data/apis/route53-2013-04-01.api.json +0 -1927
- data/apis/sdb-2009-04-15.api.json +0 -1178
- data/apis/sns-2010-03-31.api.json +0 -2275
- data/apis/sqs-2012-11-05.api.json +0 -1438
- data/apis/storagegateway-2013-06-30.api.json +0 -3153
- data/apis/sts-2011-06-15.api.json +0 -786
- data/apis/support-2013-04-15.api.json +0 -1115
- data/apis/swf-2012-01-25.api.json +0 -4463
- data/aws-sdk-core.gemspec +0 -22
- 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 +0 -260
- data/doc-src/plugins/stability.rb +0 -1
- data/doc-src/services/CloudSearchDomain/client.md +0 -8
- data/doc-src/services/CloudSearchDomain/service.md +0 -0
- data/doc-src/services/default/client.md +0 -84
- data/doc-src/services/default/errors.md +0 -45
- data/doc-src/services/default/service.md +0 -28
- data/doc-src/templates/default/fulldoc/html/css/common.css +0 -90
- data/doc-src/templates/default/fulldoc/html/js/tabs.js +0 -21
- data/doc-src/templates/default/fulldoc/html/setup.rb +0 -66
- data/doc-src/templates/default/layout/html/footer.erb +0 -29
- data/doc-src/templates/default/layout/html/layout.erb +0 -37
- data/doc-src/templates/default/layout/html/setup.rb +0 -3
- data/features/autoscaling/client.feature +0 -18
- data/features/autoscaling/step_definitions.rb +0 -6
- data/features/cloudformation/client.feature +0 -17
- data/features/cloudformation/step_definitions.rb +0 -6
- data/features/cloudfront/client.feature +0 -17
- data/features/cloudfront/step_definitions.rb +0 -6
- data/features/cloudsearch/client.feature +0 -16
- data/features/cloudsearch/step_definitions.rb +0 -6
- data/features/cloudtrail/client.feature +0 -16
- data/features/cloudtrail/step_definitions.rb +0 -6
- data/features/cloudwatch/client.feature +0 -19
- data/features/cloudwatch/step_definitions.rb +0 -6
- data/features/cloudwatchlogs/client.feature +0 -17
- data/features/cloudwatchlogs/step_definitions.rb +0 -6
- data/features/cognitoidentity/client.feature +0 -17
- data/features/cognitoidentity/step_definitions.rb +0 -6
- data/features/cognitosync/client.feature +0 -16
- data/features/cognitosync/step_definitions.rb +0 -6
- data/features/datapipeline/client.feature +0 -16
- data/features/datapipeline/step_definitions.rb +0 -6
- data/features/directconnect/client.feature +0 -16
- data/features/directconnect/step_definitions.rb +0 -6
- data/features/dynamodb/client.feature +0 -17
- data/features/dynamodb/simplified.feature +0 -32
- data/features/dynamodb/step_definitions.rb +0 -11
- data/features/ec2/client.feature +0 -16
- data/features/ec2/step_definitions.rb +0 -6
- data/features/elasticache/client.feature +0 -16
- data/features/elasticache/step_definitions.rb +0 -6
- data/features/elasticbeanstalk/client.feature +0 -16
- data/features/elasticbeanstalk/step_definitions.rb +0 -6
- data/features/elasticloadbalancing/client.feature +0 -16
- data/features/elasticloadbalancing/step_definitions.rb +0 -6
- data/features/elastictranscoder/client.feature +0 -16
- data/features/elastictranscoder/step_definitions.rb +0 -6
- data/features/emr/client.feature +0 -16
- data/features/emr/step_definitions.rb +0 -6
- data/features/env.rb +0 -23
- data/features/glacier/client.feature +0 -17
- data/features/glacier/step_definitions.rb +0 -93
- data/features/glacier/upload.feature +0 -27
- data/features/iam/client.feature +0 -16
- data/features/iam/step_definitions.rb +0 -6
- data/features/importexport/client.feature +0 -16
- data/features/importexport/step_definitions.rb +0 -6
- data/features/kinesis/client.feature +0 -16
- data/features/kinesis/step_definitions.rb +0 -6
- data/features/opsworks/client.feature +0 -16
- data/features/opsworks/step_definitions.rb +0 -6
- data/features/rds/client.feature +0 -16
- data/features/rds/step_definitions.rb +0 -6
- data/features/redshift/client.feature +0 -16
- data/features/redshift/step_definitions.rb +0 -6
- data/features/route53/client.feature +0 -16
- data/features/route53/step_definitions.rb +0 -6
- data/features/s3/buckets.feature +0 -40
- data/features/s3/objects.feature +0 -37
- data/features/s3/step_definitions.rb +0 -165
- data/features/s3/test.png +0 -0
- data/features/ses/client.feature +0 -16
- data/features/ses/step_definitions.rb +0 -6
- data/features/simpledb/client.feature +0 -16
- data/features/simpledb/step_definitions.rb +0 -6
- data/features/sns/client.feature +0 -17
- data/features/sns/step_definitions.rb +0 -6
- data/features/sqs/client.feature +0 -21
- data/features/sqs/step_definitions.rb +0 -29
- data/features/step_definitions.rb +0 -94
- data/features/storagegateway/client.feature +0 -16
- data/features/storagegateway/step_definitions.rb +0 -6
- data/features/sts/client.feature +0 -17
- data/features/sts/step_definitions.rb +0 -6
- data/features/swf/client.feature +0 -17
- data/features/swf/step_definitions.rb +0 -6
- data/integration-test-config.json.sample +0 -3
- data/lib/aws/api/manifest.rb +0 -29
- data/lib/aws/api/manifest_builder.rb +0 -57
- data/lib/aws/client.rb +0 -241
- data/lib/aws/endpoint_provider.rb +0 -165
- data/lib/aws/plugins/response_paging.rb +0 -20
- data/lib/aws/plugins/s3_sse_cpk.rb +0 -42
- data/lib/aws/response_handler.rb +0 -38
- data/lib/aws/service.rb +0 -32
- data/lib/aws/signers/v4.rb.orig +0 -243
- data/lib/aws/version.rb +0 -3
- data/lib/aws/version.rb.orig +0 -7
- data/lib/aws.rb +0 -208
- data/lib/aws.rb.orig +0 -218
- data/spec/aws/client_spec.rb +0 -269
- data/spec/aws/credential_provider_chain_spec.rb +0 -120
- data/spec/aws/credentials_spec.rb +0 -47
- data/spec/aws/errors_spec.rb +0 -39
- data/spec/aws/iam_spec.rb +0 -17
- data/spec/aws/instance_profile_credentials_spec.rb +0 -94
- data/spec/aws/json/builder_spec.rb +0 -188
- data/spec/aws/json/parser_spec.rb +0 -214
- data/spec/aws/operations_spec.rb +0 -145
- data/spec/aws/pageable_response_spec.rb +0 -171
- data/spec/aws/plugins/global_configuration_spec.rb +0 -58
- data/spec/aws/plugins/region_endpoint_spec.rb +0 -86
- data/spec/aws/plugins/request_signer_spec.rb +0 -88
- data/spec/aws/plugins/retry_errors_spec.rb +0 -266
- data/spec/aws/plugins/s3_md5s_spec.rb +0 -84
- data/spec/aws/plugins/sqs_queue_urls_spec.rb +0 -42
- data/spec/aws/query/param_builder_spec.rb +0 -362
- data/spec/aws/query/param_list_spec.rb +0 -80
- data/spec/aws/query/param_spec.rb +0 -64
- data/spec/aws/s3_spec.rb +0 -79
- data/spec/aws/shared_credentials_spec.rb +0 -68
- data/spec/aws/signers/v4_spec.rb +0 -141
- data/spec/aws/structure_spec.rb +0 -166
- data/spec/aws/util_spec.rb +0 -60
- data/spec/aws/xml/builder_spec.rb +0 -412
- data/spec/aws/xml/parser_spec.rb +0 -723
- data/spec/aws_spec.rb +0 -94
- data/spec/fixtures/api/swf.json +0 -100
- data/spec/fixtures/credentials/mock_shared_credentials +0 -14
- data/spec/fixtures/operations/cloudfront/list_distributions.yml +0 -199
- data/spec/fixtures/operations/cloudfront/max_items.yml +0 -11
- data/spec/fixtures/operations/dynamodb/error_parsing.yml +0 -13
- data/spec/fixtures/operations/glacier/account_id_param.yml +0 -13
- data/spec/fixtures/operations/glacier/custom_account_id.yml +0 -11
- data/spec/fixtures/operations/glacier/default_account_id.yml +0 -10
- data/spec/fixtures/operations/glacier/error_parsing.yml +0 -10
- data/spec/fixtures/operations/glacier/get_job_output.yml +0 -23
- data/spec/fixtures/operations/glacier/list_vaults.yml +0 -24
- data/spec/fixtures/operations/iam/result_wrapped_elements.yml +0 -31
- data/spec/fixtures/operations/route53/change_resource_record_sets.yml +0 -18
- data/spec/fixtures/operations/s3/304_response.yml +0 -12
- data/spec/fixtures/operations/s3/400_response.yml +0 -12
- data/spec/fixtures/operations/s3/403_response.yml +0 -12
- data/spec/fixtures/operations/s3/404_response.yml +0 -12
- data/spec/fixtures/operations/s3/412_response_head.yml +0 -10
- data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +0 -18
- data/spec/fixtures/operations/s3/content_type_header.yml +0 -12
- data/spec/fixtures/operations/s3/create_bucket_with_implied_location_constraint.yml +0 -23
- data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +0 -25
- data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +0 -9
- data/spec/fixtures/operations/s3/delete_objects.yml +0 -54
- data/spec/fixtures/operations/s3/error_parsing.yml +0 -17
- data/spec/fixtures/operations/s3/get_bucket_location.yml +0 -17
- data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +0 -17
- data/spec/fixtures/operations/s3/get_bucket_policy.yml +0 -8
- data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +0 -12
- data/spec/fixtures/operations/s3/head_object.yml +0 -50
- data/spec/fixtures/operations/s3/list_buckets.yml +0 -41
- data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +0 -10
- data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +0 -8
- data/spec/fixtures/operations/swf/list_domains.yml +0 -20
- data/spec/fixtures/protocols/input/ec2.json +0 -383
- data/spec/fixtures/protocols/input/json.json +0 -47
- data/spec/fixtures/protocols/input/query.json +0 -335
- data/spec/fixtures/protocols/input/rest-json.json +0 -365
- data/spec/fixtures/protocols/input/rest-xml.json +0 -818
- data/spec/fixtures/protocols/output/ec2.json +0 -381
- data/spec/fixtures/protocols/output/json.json +0 -313
- data/spec/fixtures/protocols/output/query.json +0 -424
- data/spec/fixtures/protocols/output/rest-json.json +0 -486
- data/spec/fixtures/protocols/output/rest-xml.json +0 -486
- data/spec/protocols_spec.rb +0 -186
- data/spec/spec_helper.rb +0 -66
- data/tasks/docs.rake +0 -61
- data/tasks/handlers.rake +0 -98
- data/tasks/manifest.rake +0 -9
- data/tasks/test.rake +0 -30
- data/vendor/seahorse/.gitignore +0 -5
- data/vendor/seahorse/.simplecov +0 -4
- data/vendor/seahorse/.yardopts +0 -10
- data/vendor/seahorse/Gemfile +0 -17
- data/vendor/seahorse/LICENSE.txt +0 -12
- data/vendor/seahorse/README.md +0 -129
- data/vendor/seahorse/Rakefile +0 -7
- data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +0 -11
- data/vendor/seahorse/seahorse.gemspec +0 -20
- data/vendor/seahorse/spec/fixtures/plugin.rb +0 -4
- data/vendor/seahorse/spec/seahorse/client/base_spec.rb +0 -299
- data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +0 -122
- data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +0 -159
- data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +0 -232
- data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +0 -40
- data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +0 -213
- data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +0 -121
- data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +0 -77
- data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +0 -185
- data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +0 -63
- data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +0 -10
- data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +0 -242
- data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +0 -308
- data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +0 -275
- data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +0 -166
- data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +0 -118
- data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +0 -19
- data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +0 -33
- data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +0 -46
- data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +0 -70
- data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +0 -76
- data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +0 -105
- data/vendor/seahorse/spec/seahorse/client/request_spec.rb +0 -152
- data/vendor/seahorse/spec/seahorse/client/response_spec.rb +0 -95
- data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +0 -142
- data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +0 -10
- data/vendor/seahorse/spec/seahorse/model/api_spec.rb +0 -154
- data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +0 -162
- data/vendor/seahorse/spec/seahorse/model/shape_map_spec.rb +0 -84
- data/vendor/seahorse/spec/seahorse/model/shapes_spec.rb +0 -522
- data/vendor/seahorse/spec/seahorse/util_spec.rb +0 -54
- data/vendor/seahorse/spec/seahorse/version_spec.rb +0 -11
- data/vendor/seahorse/spec/spec_helper.rb +0 -34
- data/vendor/seahorse/tasks/docs.rake +0 -11
- data/vendor/seahorse/tasks/test.rake +0 -15
- /data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
- /data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
- /data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
- /data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
- /data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
- /data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
- /data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
- /data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
- /data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
- /data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
- /data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
- /data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
- /data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
- /data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
- /data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
- /data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
- /data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
- /data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
- /data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
- /data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
- /data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
- /data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
- /data/apis/{rds-2013-01-10.paginators.json → RDS.paginators.json} +0 -0
- /data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
- /data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
- /data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
- /data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
- /data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
- /data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
- /data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
- /data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
- /data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
- /data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
- /data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
- /data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
- /data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
- /data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
- /data/lib/{aws → aws-sdk-core}/api/customizer.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/credentials.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/builder.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/error_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/parser.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/rest_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/rpc_body_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/rpc_headers_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/json/simple_body_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/paging/null_pager.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/paging/null_provider.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/paging/pager.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/paging/provider.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/dynamodb_extended_retries.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/ec2_copy_encrypted_snapshot.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/glacier_account_id.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/glacier_api_version.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/glacier_checksums.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/protocols/ec2.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/protocols/query.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/protocols/rest_json.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/protocols/rest_xml.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/s3_bucket_dns.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/s3_complete_multipart_upload_fix.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/s3_get_bucket_location_fix.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/s3_location_constraint.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/s3_md5s.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/s3_redirects.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/sqs_queue_urls.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/plugins/swf_read_timeouts.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/query/ec2_param_builder.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/query/param.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/query/param_builder.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/query/param_list.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/rest_body_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/shared_credentials.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/signers/base.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/signers/handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/signers/s3.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/signers/v2.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/signers/v3.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/tree_hash.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/xml/error_handler.rb +0 -0
- /data/lib/{aws → aws-sdk-core}/xml/rest_handler.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/block_io.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/configuration.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/handler.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/handler_builder.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/handler_list_entry.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/http/headers.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/http/response.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/logging/formatter.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/logging/handler.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/managed_file.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/param_validator.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugin.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugin_list.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/content_length.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/json_simple.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/logging.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/net_http.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/operation_methods.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/param_conversion.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/param_validation.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/raise_response_errors.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/client/request_context.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/model/api.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/model/operation.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/util.rb +0 -0
- /data/{vendor/seahorse/lib → lib}/seahorse/version.rb +0 -0
data/spec/aws_spec.rb
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
require 'spec_helper'
|
|
2
|
-
|
|
3
|
-
module Aws
|
|
4
|
-
describe 'VERSION' do
|
|
5
|
-
|
|
6
|
-
it 'is a semver compatible string' do
|
|
7
|
-
expect(VERSION).to match(/\d+\.\d+\.\d+/)
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
describe 'config' do
|
|
13
|
-
|
|
14
|
-
it 'defaults to an empty hash' do
|
|
15
|
-
expect(Aws.config).to eq({})
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
it 'does not allow assigning config object to non-hash objects' do
|
|
19
|
-
expect(-> { Aws.config = [1,2,3] }).to raise_error(ArgumentError)
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
describe 'add_plugin' do
|
|
25
|
-
|
|
26
|
-
it 'adds a plugin to every client for all services' do
|
|
27
|
-
client_class = double('client-class')
|
|
28
|
-
svc_module = Module.new
|
|
29
|
-
svc_module.const_set(:Client, client_class)
|
|
30
|
-
allow(Aws).to receive(:service_modules).and_return(klass: svc_module)
|
|
31
|
-
expect(svc_module::Client).to receive(:add_plugin).with('p')
|
|
32
|
-
Aws.add_plugin('p')
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
describe 'remove_plugin' do
|
|
38
|
-
|
|
39
|
-
it 'removes a plugin from every client for each service' do
|
|
40
|
-
client_class = double('client-class')
|
|
41
|
-
svc_module = Module.new
|
|
42
|
-
svc_module.const_set(:Client, client_class)
|
|
43
|
-
allow(Aws).to receive(:service_modules).and_return(klass: svc_module)
|
|
44
|
-
expect(svc_module::Client).to receive(:remove_plugin).with('p')
|
|
45
|
-
Aws.remove_plugin('p')
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
describe 'add_service' do
|
|
51
|
-
|
|
52
|
-
before(:each) do
|
|
53
|
-
Aws.config[:region] = 'region-name'
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
after(:each) do
|
|
57
|
-
Aws.send(:remove_const, :DummyService)
|
|
58
|
-
Aws.config = {}
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
it 'defines a new service interface' do
|
|
62
|
-
Aws.add_service(:DummyService)
|
|
63
|
-
expect(Aws::DummyService.ancestors).to include(Aws::Service)
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
it 'adds a helper method that constructs a service and client object' do
|
|
67
|
-
Aws.add_service('DummyService', {
|
|
68
|
-
'2006-03-01' => { 'api' => 'apis/s3-2006-03-01.api.json' },
|
|
69
|
-
})
|
|
70
|
-
svc = Aws.dummyservice(http_wire_trace: true, credentials: dummy_credentials)
|
|
71
|
-
expect(Aws::DummyService::Client.api_versions).to eq(['2006-03-01'])
|
|
72
|
-
expect(svc).to be_kind_of(Seahorse::Client::Base)
|
|
73
|
-
expect(svc.config.api).to be_kind_of(Seahorse::Model::Api)
|
|
74
|
-
expect(svc.config.http_wire_trace).to be(true)
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
it 'adds the helper method to Aws (not Module)' do
|
|
78
|
-
Aws.add_service(:DummyService, ['apis/s3-2006-03-01.json'])
|
|
79
|
-
expect(Aws).to respond_to(:dummyservice)
|
|
80
|
-
expect(Aws.class).not_to respond_to(:dummyservice)
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
it 'filters the :api_version option from the client constructor' do
|
|
84
|
-
Aws.add_service('DummyService', {
|
|
85
|
-
'2006-03-01' => { 'api' => 'apis/s3-2006-03-01.api.json' },
|
|
86
|
-
})
|
|
87
|
-
Aws.config[:api_version] = '2007-01-01'
|
|
88
|
-
Aws.config[:credentials] = dummy_credentials
|
|
89
|
-
expect { Aws.dummyservice }.not_to raise_error
|
|
90
|
-
expect { Aws.dummyservice(api_version: '2006-03-01') }.not_to raise_error
|
|
91
|
-
end
|
|
92
|
-
|
|
93
|
-
end
|
|
94
|
-
end
|
data/spec/fixtures/api/swf.json
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"api_version": "2012-01-25",
|
|
3
|
-
"type": "json",
|
|
4
|
-
"json_version": 1.0,
|
|
5
|
-
"target_prefix": "SimpleWorkflowService",
|
|
6
|
-
"timestamp_format": "unixTimestamp",
|
|
7
|
-
"service_full_name": "Amazon Simple Workflow Service",
|
|
8
|
-
"service_abbreviation": "Amazon SWF",
|
|
9
|
-
"endpoint_prefix": "swf",
|
|
10
|
-
"operations": {
|
|
11
|
-
"ListDomains": {
|
|
12
|
-
"name": "ListDomains",
|
|
13
|
-
"input": {
|
|
14
|
-
"shape_name": "ListDomainsInput",
|
|
15
|
-
"type": "structure",
|
|
16
|
-
"members": {
|
|
17
|
-
"nextPageToken": {
|
|
18
|
-
"shape_name": "PageToken",
|
|
19
|
-
"type": "string",
|
|
20
|
-
"max_length": 2048
|
|
21
|
-
},
|
|
22
|
-
"registrationStatus": {
|
|
23
|
-
"shape_name": "RegistrationStatus",
|
|
24
|
-
"type": "string",
|
|
25
|
-
"enum": [
|
|
26
|
-
"REGISTERED",
|
|
27
|
-
"DEPRECATED"
|
|
28
|
-
],
|
|
29
|
-
"required": true
|
|
30
|
-
},
|
|
31
|
-
"maximumPageSize": {
|
|
32
|
-
"shape_name": "PageSize",
|
|
33
|
-
"type": "integer",
|
|
34
|
-
"min_length": 0,
|
|
35
|
-
"max_length": 1000
|
|
36
|
-
},
|
|
37
|
-
"reverseOrder": {
|
|
38
|
-
"shape_name": "ReverseOrder",
|
|
39
|
-
"type": "boolean"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"output": {
|
|
44
|
-
"shape_name": "DomainInfos",
|
|
45
|
-
"type": "structure",
|
|
46
|
-
"members": {
|
|
47
|
-
"domainInfos": {
|
|
48
|
-
"shape_name": "DomainInfoList",
|
|
49
|
-
"type": "list",
|
|
50
|
-
"members": {
|
|
51
|
-
"shape_name": "DomainInfo",
|
|
52
|
-
"type": "structure",
|
|
53
|
-
"members": {
|
|
54
|
-
"name": {
|
|
55
|
-
"shape_name": "DomainName",
|
|
56
|
-
"type": "string",
|
|
57
|
-
"min_length": 1,
|
|
58
|
-
"max_length": 256,
|
|
59
|
-
"required": true
|
|
60
|
-
},
|
|
61
|
-
"status": {
|
|
62
|
-
"shape_name": "RegistrationStatus",
|
|
63
|
-
"type": "string",
|
|
64
|
-
"enum": [
|
|
65
|
-
"REGISTERED",
|
|
66
|
-
"DEPRECATED"
|
|
67
|
-
],
|
|
68
|
-
"required": true
|
|
69
|
-
},
|
|
70
|
-
"description": {
|
|
71
|
-
"shape_name": "Description",
|
|
72
|
-
"type": "string",
|
|
73
|
-
"max_length": 1024
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"required": true
|
|
78
|
-
},
|
|
79
|
-
"nextPageToken": {
|
|
80
|
-
"shape_name": "PageToken",
|
|
81
|
-
"type": "string",
|
|
82
|
-
"max_length": 2048
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"errors": [
|
|
87
|
-
{
|
|
88
|
-
"shape_name": "OperationNotPermittedFault",
|
|
89
|
-
"type": "structure",
|
|
90
|
-
"members": {
|
|
91
|
-
"message": {
|
|
92
|
-
"shape_name": "ErrorMessage",
|
|
93
|
-
"type": "string"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
[default]
|
|
2
|
-
aws_access_key_id = ACCESS_KEY_0
|
|
3
|
-
aws_secret_access_key = SECRET_KEY_0
|
|
4
|
-
aws_session_token = TOKEN_0
|
|
5
|
-
|
|
6
|
-
[fooprofile]
|
|
7
|
-
aws_access_key_id = ACCESS_KEY_1
|
|
8
|
-
aws_secret_access_key = SECRET_KEY_1
|
|
9
|
-
aws_session_token = TOKEN_1
|
|
10
|
-
|
|
11
|
-
[barprofile]
|
|
12
|
-
aws_access_key_id = ACCESS_KEY_2
|
|
13
|
-
aws_secret_access_key = SECRET_KEY_2
|
|
14
|
-
aws_session_token = TOKEN_2
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
# CloudFront uses a target payload. This test ensures the response elements
|
|
2
|
-
# are correctly deserialized
|
|
3
|
-
config:
|
|
4
|
-
api_version: '2014-01-31'
|
|
5
|
-
operation: list_distributions
|
|
6
|
-
response:
|
|
7
|
-
status_code: 200
|
|
8
|
-
body: |
|
|
9
|
-
<?xml version="1.0"?>
|
|
10
|
-
<DistributionList xmlns="http://cloudfront.amazonaws.com/doc/2014-01-31/">
|
|
11
|
-
<Marker />
|
|
12
|
-
<MaxItems>100</MaxItems>
|
|
13
|
-
<IsTruncated>false</IsTruncated>
|
|
14
|
-
<Quantity>1</Quantity>
|
|
15
|
-
<Items>
|
|
16
|
-
<DistributionSummary>
|
|
17
|
-
<Id>EDFDVBD6EXAMPLE</Id>
|
|
18
|
-
<Status>Deployed</Status>
|
|
19
|
-
<LastModifiedTime>2012-05-19T19:37:58Z</LastModifiedTime>
|
|
20
|
-
<DomainName>d111111abcdef8.cloudfront.net</DomainName>
|
|
21
|
-
<Aliases>
|
|
22
|
-
<Quantity>1</Quantity>
|
|
23
|
-
<Items>
|
|
24
|
-
<CNAME>www.example.com</CNAME>
|
|
25
|
-
</Items>
|
|
26
|
-
</Aliases>
|
|
27
|
-
<Origins>
|
|
28
|
-
<Quantity>2</Quantity>
|
|
29
|
-
<Items>
|
|
30
|
-
<Origin>
|
|
31
|
-
<Id>example-Amazon S3-origin</Id>
|
|
32
|
-
<DomainName>myawsbucket.s3.amazonaws.com</DomainName>
|
|
33
|
-
<S3OriginConfig>
|
|
34
|
-
<OriginAccessIdentity>origin-access-identity/cloudfront/E74FTE3AEXAMPLE</OriginAccessIdentity>
|
|
35
|
-
</S3OriginConfig>
|
|
36
|
-
</Origin>
|
|
37
|
-
<Origin>
|
|
38
|
-
<Id>example-custom-origin</Id>
|
|
39
|
-
<DomainName>example.com</DomainName>
|
|
40
|
-
<CustomOriginConfig>
|
|
41
|
-
<HTTPPort>80</HTTPPort>
|
|
42
|
-
<HTTPSPort>443</HTTPSPort>
|
|
43
|
-
<OriginProtocolPolicy>match-viewer</OriginProtocolPolicy>
|
|
44
|
-
</CustomOriginConfig>
|
|
45
|
-
</Origin>
|
|
46
|
-
</Items>
|
|
47
|
-
</Origins>
|
|
48
|
-
<DefaultCacheBehavior>
|
|
49
|
-
<TargetOriginId>example-Amazon S3-origin</TargetOriginId>
|
|
50
|
-
<ForwardedValues>
|
|
51
|
-
<QueryString>true</QueryString>
|
|
52
|
-
<Cookies>
|
|
53
|
-
<Forward>whitelist</Forward>
|
|
54
|
-
<WhitelistedNames>
|
|
55
|
-
<Quantity>1</Quantity>
|
|
56
|
-
<Items>
|
|
57
|
-
<Name>example-cookie</Name>
|
|
58
|
-
</Items>
|
|
59
|
-
</WhitelistedNames>
|
|
60
|
-
</Cookies>
|
|
61
|
-
</ForwardedValues>
|
|
62
|
-
<TrustedSigners>
|
|
63
|
-
<Enabled>true</Enabled>
|
|
64
|
-
<Quantity>3</Quantity>
|
|
65
|
-
<Items>
|
|
66
|
-
<AwsAccountNumber>self</AwsAccountNumber>
|
|
67
|
-
<AwsAccountNumber>111122223333</AwsAccountNumber>
|
|
68
|
-
<AwsAccountNumber>444455556666</AwsAccountNumber>
|
|
69
|
-
</Items>
|
|
70
|
-
</TrustedSigners>
|
|
71
|
-
<ViewerProtocolPolicy>https-only</ViewerProtocolPolicy>
|
|
72
|
-
<MinTTL>0</MinTTL>
|
|
73
|
-
</DefaultCacheBehavior>
|
|
74
|
-
<CacheBehaviors>
|
|
75
|
-
<Quantity>1</Quantity>
|
|
76
|
-
<Items>
|
|
77
|
-
<CacheBehavior>
|
|
78
|
-
<PathPattern>*.jpg</PathPattern>
|
|
79
|
-
<TargetOriginId>example-custom-origin</TargetOriginId>
|
|
80
|
-
<ForwardedValues>
|
|
81
|
-
<QueryString>false</QueryString>
|
|
82
|
-
<Cookies>
|
|
83
|
-
<Forward>all</Forward>
|
|
84
|
-
</Cookies>
|
|
85
|
-
</ForwardedValues>
|
|
86
|
-
<TrustedSigners>
|
|
87
|
-
<Enabled>true</Enabled>
|
|
88
|
-
<Quantity>2</Quantity>
|
|
89
|
-
<Items>
|
|
90
|
-
<AwsAccountNumber>self</AwsAccountNumber>
|
|
91
|
-
<AwsAccountNumber>111122223333</AwsAccountNumber>
|
|
92
|
-
</Items>
|
|
93
|
-
</TrustedSigners>
|
|
94
|
-
<ViewerProtocolPolicy>allow-all</ViewerProtocolPolicy>
|
|
95
|
-
<MinTTL>86400</MinTTL>
|
|
96
|
-
</CacheBehavior>
|
|
97
|
-
</Items>
|
|
98
|
-
</CacheBehaviors>
|
|
99
|
-
<CustomErrorResponses>
|
|
100
|
-
<Quantity>1</Quantity>
|
|
101
|
-
<Items>
|
|
102
|
-
<CustomErrorResponse>
|
|
103
|
-
<ErrorCode>404</ErrorCode>
|
|
104
|
-
<ResponsePagePath>/error-pages/custom-404.html</ResponsePagePath>
|
|
105
|
-
<ResponseCode>200</ResponseCode>
|
|
106
|
-
<ErrorCachingMinTTL>30</ErrorCachingMinTTL>
|
|
107
|
-
</CustomErrorResponse>
|
|
108
|
-
</Items>
|
|
109
|
-
</CustomErrorResponses>
|
|
110
|
-
<Comment>example comment</Comment>
|
|
111
|
-
<Logging>
|
|
112
|
-
<Enabled>true</Enabled>
|
|
113
|
-
<IncludeCookies>true</IncludeCookies>
|
|
114
|
-
<Bucket>myawslogbucket.s3.amazonaws.com</Bucket>
|
|
115
|
-
<Prefix>example.com.</Prefix>
|
|
116
|
-
</Logging>
|
|
117
|
-
<ViewerCertificate>
|
|
118
|
-
<IAMCertificateId>AS1A2M3P4L5E67SIIXR3J</IAMCertificateId>
|
|
119
|
-
</ViewerCertificate>
|
|
120
|
-
<PriceClass>PriceClass_All</PriceClass>
|
|
121
|
-
<Enabled>true</Enabled>
|
|
122
|
-
</DistributionSummary>
|
|
123
|
-
</Items>
|
|
124
|
-
</DistributionList>
|
|
125
|
-
data:
|
|
126
|
-
:distribution_list:
|
|
127
|
-
:max_items: 100
|
|
128
|
-
:is_truncated: false
|
|
129
|
-
:quantity: 1
|
|
130
|
-
:items:
|
|
131
|
-
- :id: EDFDVBD6EXAMPLE
|
|
132
|
-
:status: Deployed
|
|
133
|
-
:last_modified_time: 2012-05-19 19:37:58 Z
|
|
134
|
-
:domain_name: d111111abcdef8.cloudfront.net
|
|
135
|
-
:aliases:
|
|
136
|
-
:quantity: 1
|
|
137
|
-
:items:
|
|
138
|
-
- www.example.com
|
|
139
|
-
:origins:
|
|
140
|
-
:quantity: 2
|
|
141
|
-
:items:
|
|
142
|
-
- :id: example-Amazon S3-origin
|
|
143
|
-
:domain_name: myawsbucket.s3.amazonaws.com
|
|
144
|
-
:s3_origin_config:
|
|
145
|
-
:origin_access_identity: origin-access-identity/cloudfront/E74FTE3AEXAMPLE
|
|
146
|
-
- :id: example-custom-origin
|
|
147
|
-
:domain_name: example.com
|
|
148
|
-
:custom_origin_config:
|
|
149
|
-
:http_port: 80
|
|
150
|
-
:https_port: 443
|
|
151
|
-
:origin_protocol_policy: match-viewer
|
|
152
|
-
:default_cache_behavior:
|
|
153
|
-
:target_origin_id: example-Amazon S3-origin
|
|
154
|
-
:forwarded_values:
|
|
155
|
-
:query_string: true
|
|
156
|
-
:cookies:
|
|
157
|
-
:forward: whitelist
|
|
158
|
-
:whitelisted_names:
|
|
159
|
-
:quantity: 1
|
|
160
|
-
:items:
|
|
161
|
-
- example-cookie
|
|
162
|
-
:trusted_signers:
|
|
163
|
-
:enabled: true
|
|
164
|
-
:quantity: 3
|
|
165
|
-
:items:
|
|
166
|
-
- self
|
|
167
|
-
- '111122223333'
|
|
168
|
-
- '444455556666'
|
|
169
|
-
:viewer_protocol_policy: https-only
|
|
170
|
-
:min_ttl: 0
|
|
171
|
-
:cache_behaviors:
|
|
172
|
-
:quantity: 1
|
|
173
|
-
:items:
|
|
174
|
-
- :path_pattern: '*.jpg'
|
|
175
|
-
:target_origin_id: example-custom-origin
|
|
176
|
-
:forwarded_values:
|
|
177
|
-
:query_string: false
|
|
178
|
-
:cookies:
|
|
179
|
-
:forward: all
|
|
180
|
-
:trusted_signers:
|
|
181
|
-
:enabled: true
|
|
182
|
-
:quantity: 2
|
|
183
|
-
:items:
|
|
184
|
-
- self
|
|
185
|
-
- '111122223333'
|
|
186
|
-
:viewer_protocol_policy: allow-all
|
|
187
|
-
:min_ttl: 86400
|
|
188
|
-
:custom_error_responses:
|
|
189
|
-
:quantity: 1
|
|
190
|
-
:items:
|
|
191
|
-
- :error_code: 404
|
|
192
|
-
:response_page_path: "/error-pages/custom-404.html"
|
|
193
|
-
:response_code: "200"
|
|
194
|
-
:error_caching_min_ttl: 30
|
|
195
|
-
:comment: example comment
|
|
196
|
-
:price_class: PriceClass_All
|
|
197
|
-
:enabled: true
|
|
198
|
-
:viewer_certificate:
|
|
199
|
-
:iam_certificate_id: AS1A2M3P4L5E67SIIXR3J
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# The source cloud front model describes 'MaxItems' as a string instead of
|
|
2
|
-
# an integer. This test asserts that we can make the request using an integer.
|
|
3
|
-
config:
|
|
4
|
-
region: us-east-1
|
|
5
|
-
operation: list_distributions
|
|
6
|
-
params:
|
|
7
|
-
:max_items: 1
|
|
8
|
-
request:
|
|
9
|
-
host: cloudfront.amazonaws.com
|
|
10
|
-
path: !ruby/regexp /^\/\d{4}-\d{2}-\d{2}\/distribution\?MaxItems=1$/
|
|
11
|
-
body: ''
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
config:
|
|
2
|
-
validate_params: false
|
|
3
|
-
operation: describe_table
|
|
4
|
-
response:
|
|
5
|
-
status_code: 400
|
|
6
|
-
body: |
|
|
7
|
-
{
|
|
8
|
-
"__type": "com.amazonaws.dynamodb.v20120810#ResourceNotFoundException",
|
|
9
|
-
"message": "Requested resource not found: Table: asdfasdf not found"
|
|
10
|
-
}
|
|
11
|
-
error:
|
|
12
|
-
class: Aws::DynamoDB::Errors::ResourceNotFoundException
|
|
13
|
-
message: "Requested resource not found: Table: asdfasdf not found"
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# This test ensures the `:account_id` param can be specified and that
|
|
2
|
-
# it will override the default configured account id.
|
|
3
|
-
config:
|
|
4
|
-
account_id: 'CONFIG-ACCOUNT-ID'
|
|
5
|
-
operation: list_vaults
|
|
6
|
-
params:
|
|
7
|
-
:account_id: 'PARAM-ACCOUNT-ID'
|
|
8
|
-
request:
|
|
9
|
-
path: /PARAM-ACCOUNT-ID/vaults
|
|
10
|
-
response:
|
|
11
|
-
status_code: 200
|
|
12
|
-
body: |
|
|
13
|
-
{"Marker":null,"VaultList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# This test ensures the default `:account_id` of '-' can be replaced via config
|
|
2
|
-
config:
|
|
3
|
-
account_id: 'ACCOUNT-ID'
|
|
4
|
-
operation: list_vaults
|
|
5
|
-
params: {}
|
|
6
|
-
request:
|
|
7
|
-
path: /ACCOUNT-ID/vaults
|
|
8
|
-
response:
|
|
9
|
-
status_code: 200
|
|
10
|
-
body: |
|
|
11
|
-
{"Marker":null,"VaultList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# This test ensures the `:account_id` need not be supplied and that it defaults
|
|
2
|
-
# to the '-' string, which means current account
|
|
3
|
-
operation: list_vaults
|
|
4
|
-
params: {}
|
|
5
|
-
request:
|
|
6
|
-
path: /-/vaults
|
|
7
|
-
response:
|
|
8
|
-
status_code: 200
|
|
9
|
-
body: |
|
|
10
|
-
{"Marker":null,"VaultList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
operation: list_vaults
|
|
2
|
-
params:
|
|
3
|
-
:account_id: '12345'
|
|
4
|
-
response:
|
|
5
|
-
status_code: 409
|
|
6
|
-
body: |
|
|
7
|
-
{"message":"Access denied for account ID: 12345","code":"AccessDeniedException","type":"Client"}
|
|
8
|
-
error:
|
|
9
|
-
class: Aws::Glacier::Errors::AccessDeniedException
|
|
10
|
-
message: 'Access denied for account ID: 12345'
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# This test ensures the GetJobOutput operation correctly manages the
|
|
2
|
-
# http status code response.
|
|
3
|
-
operation: get_job_output
|
|
4
|
-
params:
|
|
5
|
-
:vault_name: 'vault'
|
|
6
|
-
:job_id: 'id'
|
|
7
|
-
response:
|
|
8
|
-
status_code: 200
|
|
9
|
-
headers:
|
|
10
|
-
"x-amz-sha256-tree-hash": 'checksum'
|
|
11
|
-
"Content-Range": 'range'
|
|
12
|
-
"Accept-Ranges": 'accept-ranges'
|
|
13
|
-
"Content-Type": 'content-type'
|
|
14
|
-
"x-amz-archive-description": 'desc'
|
|
15
|
-
body: '{ "job": "output" }'
|
|
16
|
-
data:
|
|
17
|
-
:body: '{ "job": "output" }'
|
|
18
|
-
:checksum: 'checksum'
|
|
19
|
-
:content_range: 'range'
|
|
20
|
-
:accept_ranges: 'accept-ranges'
|
|
21
|
-
:content_type: 'content-type'
|
|
22
|
-
:status: 200
|
|
23
|
-
:archive_description: 'desc'
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# This test ensures that the glacier api version is sent as a header.
|
|
2
|
-
# Additionally, it ensures that the body is omitted as all of the
|
|
3
|
-
# params are bound to the request uri
|
|
4
|
-
operation: list_vaults
|
|
5
|
-
params:
|
|
6
|
-
:account_id: '-'
|
|
7
|
-
request:
|
|
8
|
-
method: GET
|
|
9
|
-
path: /-/vaults
|
|
10
|
-
headers:
|
|
11
|
-
x-amz-glacier-version: 2012-06-01
|
|
12
|
-
content-length: 0
|
|
13
|
-
body: ''
|
|
14
|
-
response:
|
|
15
|
-
status_code: 200
|
|
16
|
-
body: |
|
|
17
|
-
{"Marker":null,"VaultList":[{"CreationDate":"2012-08-29T17:05:48.575Z","LastInventoryDate":null,"NumberOfArchives":19,"SizeInBytes":16261451,"VaultARN":"arn:aws:glacier:us-east-1:469596866844:vaults/aws-sdk","VaultName":"aws-sdk"}]}
|
|
18
|
-
data:
|
|
19
|
-
:vault_list:
|
|
20
|
-
- :vault_arn: 'arn:aws:glacier:us-east-1:469596866844:vaults/aws-sdk'
|
|
21
|
-
:vault_name: aws-sdk
|
|
22
|
-
:creation_date: 2012-08-29 17:05:48.575 Z
|
|
23
|
-
:number_of_archives: 19
|
|
24
|
-
:size_in_bytes: 16261451
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# This test ensures that the result wrapped elements in the response
|
|
2
|
-
# XML are correctly deserialized
|
|
3
|
-
operation: list_users
|
|
4
|
-
response:
|
|
5
|
-
status_code: 200
|
|
6
|
-
body: |
|
|
7
|
-
<ListUsersResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
|
|
8
|
-
<ListUsersResult>
|
|
9
|
-
<Users>
|
|
10
|
-
<member>
|
|
11
|
-
<UserId>AIDAJGIY4Z6DJLHUYPUJ6</UserId>
|
|
12
|
-
<Path>/</Path>
|
|
13
|
-
<UserName>user</UserName>
|
|
14
|
-
<Arn>arn:aws:iam::469596866844:user/u3</Arn>
|
|
15
|
-
<CreateDate>2012-03-22T17:38:39Z</CreateDate>
|
|
16
|
-
</member>
|
|
17
|
-
</Users>
|
|
18
|
-
<IsTruncated>false</IsTruncated>
|
|
19
|
-
</ListUsersResult>
|
|
20
|
-
<ResponseMetadata>
|
|
21
|
-
<RequestId>88073802-2d1e-11e3-98d0-159f3b2d2434</RequestId>
|
|
22
|
-
</ResponseMetadata>
|
|
23
|
-
</ListUsersResponse>
|
|
24
|
-
data:
|
|
25
|
-
:users:
|
|
26
|
-
- :path: /
|
|
27
|
-
:user_name: user
|
|
28
|
-
:user_id: AIDAJGIY4Z6DJLHUYPUJ6
|
|
29
|
-
:arn: arn:aws:iam::469596866844:user/u3
|
|
30
|
-
:create_date: 2012-03-22 17:38:39 UTC
|
|
31
|
-
:is_truncated: false
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Ensure that params bound for the request URI (like hosted_zone_id) do not
|
|
2
|
-
# end up in the XML request body
|
|
3
|
-
operation: change_resource_record_sets
|
|
4
|
-
config:
|
|
5
|
-
region: us-east-1
|
|
6
|
-
params:
|
|
7
|
-
:hosted_zone_id: 'ZONE-ID'
|
|
8
|
-
:change_batch:
|
|
9
|
-
:changes: []
|
|
10
|
-
request:
|
|
11
|
-
path: !ruby/regexp /^\/\d{4}-\d{2}-\d{2}\/hostedzone\/ZONE-ID\/rrset\//
|
|
12
|
-
body: |
|
|
13
|
-
<ChangeResourceRecordSetsRequest xmlns="https://route53.amazonaws.com/doc/2012-12-12/">
|
|
14
|
-
<ChangeBatch>
|
|
15
|
-
<Changes>
|
|
16
|
-
</Changes>
|
|
17
|
-
</ChangeBatch>
|
|
18
|
-
</ChangeResourceRecordSetsRequest>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# This test ensures that we generate a helpful error message for failed requests
|
|
2
|
-
# that return no response body
|
|
3
|
-
operation: get_object
|
|
4
|
-
params:
|
|
5
|
-
:bucket: 'bucket'
|
|
6
|
-
:key: 'key'
|
|
7
|
-
response:
|
|
8
|
-
status_code: 304
|
|
9
|
-
body: ''
|
|
10
|
-
error:
|
|
11
|
-
class: Aws::S3::Errors::NotModified
|
|
12
|
-
message: ''
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# This test ensures that we generate a helpful error message for failed requests
|
|
2
|
-
# that return no response body
|
|
3
|
-
operation: get_object
|
|
4
|
-
params:
|
|
5
|
-
:bucket: 'bucket'
|
|
6
|
-
:key: 'key'
|
|
7
|
-
response:
|
|
8
|
-
status_code: 400
|
|
9
|
-
body: ''
|
|
10
|
-
error:
|
|
11
|
-
class: Aws::S3::Errors::BadRequest
|
|
12
|
-
message: ''
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# This test ensures that we generate a helpful error message for failed requests
|
|
2
|
-
# that return no response body
|
|
3
|
-
operation: get_object
|
|
4
|
-
params:
|
|
5
|
-
:bucket: 'bucket'
|
|
6
|
-
:key: 'key'
|
|
7
|
-
response:
|
|
8
|
-
status_code: 403
|
|
9
|
-
body: ''
|
|
10
|
-
error:
|
|
11
|
-
class: Aws::S3::Errors::Forbidden
|
|
12
|
-
message: ''
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# This test ensures that we generate a helpful error message for failed requests
|
|
2
|
-
# that return no response body
|
|
3
|
-
operation: get_object
|
|
4
|
-
params:
|
|
5
|
-
:bucket: 'bucket'
|
|
6
|
-
:key: 'key'
|
|
7
|
-
response:
|
|
8
|
-
status_code: 404
|
|
9
|
-
body: ''
|
|
10
|
-
error:
|
|
11
|
-
class: Aws::S3::Errors::NotFound
|
|
12
|
-
message: ''
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
operation: complete_multipart_upload
|
|
2
|
-
params:
|
|
3
|
-
:bucket: 'bucket'
|
|
4
|
-
:key: 'key'
|
|
5
|
-
:upload_id: 'id'
|
|
6
|
-
response:
|
|
7
|
-
status_code: 200
|
|
8
|
-
body: |
|
|
9
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
10
|
-
<Error>
|
|
11
|
-
<Code>InternalError</Code>
|
|
12
|
-
<Message>We encountered an internal error. Please try again.</Message>
|
|
13
|
-
<RequestId>656c76696e6727732072657175657374</RequestId>
|
|
14
|
-
<HostId>Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg==</HostId>
|
|
15
|
-
</Error>
|
|
16
|
-
error:
|
|
17
|
-
class: Aws::S3::Errors::InternalError
|
|
18
|
-
message: We encountered an internal error. Please try again.
|