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/aws-sdk-core.gemspec
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
-
|
|
4
|
-
require 'aws/version'
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = 'aws-sdk-core'
|
|
8
|
-
spec.version = Aws::VERSION
|
|
9
|
-
spec.summary = 'AWS SDK Core'
|
|
10
|
-
spec.description = 'Provides client libraries for AWS.'
|
|
11
|
-
spec.author = 'Amazon Web Services'
|
|
12
|
-
spec.homepage = 'http://github.com/aws/aws-sdk-core-ruby'
|
|
13
|
-
spec.license = 'Apache 2.0'
|
|
14
|
-
spec.files = `git ls-files`.split($/)
|
|
15
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
16
|
-
spec.test_files = spec.files.grep(%r{^(spec|features)/})
|
|
17
|
-
spec.require_paths = ['lib', 'vendor/seahorse/lib']
|
|
18
|
-
spec.add_dependency('multi_json', '~> 1.0')
|
|
19
|
-
spec.add_dependency('multi_xml', '~> 0.5')
|
|
20
|
-
spec.add_dependency('builder', '~> 3.0')
|
|
21
|
-
spec.add_dependency('jamespath')
|
|
22
|
-
end
|
data/doc-src/images/lastnode.png
DELETED
|
Binary file
|
data/doc-src/images/node.png
DELETED
|
Binary file
|
data/doc-src/images/vline.png
DELETED
|
Binary file
|
data/doc-src/plugins/apis.rb
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
|
|
2
|
-
$:.unshift(File.join(root, 'vendor', 'seahorse', 'lib'))
|
|
3
|
-
$:.unshift(File.join(root, 'lib'))
|
|
4
|
-
|
|
5
|
-
require 'aws-sdk-core'
|
|
6
|
-
require 'erb'
|
|
7
|
-
|
|
8
|
-
YARD::Tags::Library.define_tag('CONFIGURATION_OPTIONS', :seahorse_client_option)
|
|
9
|
-
YARD::Tags::Library.define_tag('SERVICE', :service)
|
|
10
|
-
YARD::Tags::Library.define_tag('API_VERSION', :api_version)
|
|
11
|
-
|
|
12
|
-
YARD::Templates::Engine.register_template_path(File.join(File.dirname(__FILE__), '..', 'templates'))
|
|
13
|
-
|
|
14
|
-
YARD::Parser::SourceParser.after_parse_list do
|
|
15
|
-
each_service do |svc_name, apis|
|
|
16
|
-
document_svc(svc_name, apis)
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def each_service(&block)
|
|
21
|
-
Aws::Api::Manifest.default_manifest.services.each do |svc|
|
|
22
|
-
apis = svc.versions.map do |date, definitions|
|
|
23
|
-
api = MultiJson.load(File.read(definitions['api']))
|
|
24
|
-
Seahorse::Model::Api.new(api)
|
|
25
|
-
end
|
|
26
|
-
yield(svc.name, apis)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
def load_api(path)
|
|
31
|
-
Aws::Api::Translator.translate(
|
|
32
|
-
MultiJson.load(File.read(path), max_nesting: nil),
|
|
33
|
-
documentation: true,
|
|
34
|
-
errors: true)
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
def document_svc(svc_name, apis)
|
|
38
|
-
document_svc_helper(svc_name, apis)
|
|
39
|
-
svc_mod = document_service(svc_name, apis)
|
|
40
|
-
document_errors(svc_mod, svc_name, apis)
|
|
41
|
-
client = document_client(svc_mod, svc_name, apis)
|
|
42
|
-
apis.each do |api|
|
|
43
|
-
document_client_versions(client, svc_name, api)
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
def document_svc_helper(svc_name, apis)
|
|
48
|
-
method_name = svc_name.downcase
|
|
49
|
-
m = YARD::CodeObjects::MethodObject.new(YARD::Registry['Aws'], method_name)
|
|
50
|
-
m.scope = :class
|
|
51
|
-
m.parameters << ['options', '{}']
|
|
52
|
-
m.docstring = <<-DOC.strip
|
|
53
|
-
Returns a new instance of {#{svc_name}}.
|
|
54
|
-
@option (see Aws::#{svc_name}.new)
|
|
55
|
-
@return (see Aws::#{svc_name}.new)
|
|
56
|
-
DOC
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
def document_service(svc_name, apis)
|
|
60
|
-
namespace = YARD::Registry['Aws']
|
|
61
|
-
yard_mod = YARD::CodeObjects::ModuleObject.new(namespace, svc_name)
|
|
62
|
-
yard_mod.docstring = service_docstring(svc_name, apis)
|
|
63
|
-
yard_mod.docstring.add_tag(YARD::Tags::Tag.new(:service, svc_name))
|
|
64
|
-
yard_mod
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
def service_docstring(svc_name, apis)
|
|
68
|
-
path = "doc-src/services/#{svc_name}/service.md"
|
|
69
|
-
if File.exists?(path)
|
|
70
|
-
template = File.read(path)
|
|
71
|
-
else
|
|
72
|
-
template = File.read('doc-src/services/default/service.md')
|
|
73
|
-
end
|
|
74
|
-
default_api = apis.sort_by(&:version).last
|
|
75
|
-
full_name = default_api.metadata('serviceFullName')
|
|
76
|
-
ERB.new(template).result(binding)
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
def document_errors(namespace, svc_name, apis)
|
|
80
|
-
errors_mod = YARD::CodeObjects::ModuleObject.new(namespace, 'Errors')
|
|
81
|
-
errors_mod.docstring = errors_docstring(svc_name, apis)
|
|
82
|
-
|
|
83
|
-
base_error = YARD::CodeObjects::ClassObject.new(errors_mod, 'ServiceError')
|
|
84
|
-
base_error.docstring = "Base class for all Aws::#{svc_name} errors."
|
|
85
|
-
base_error.superclass = YARD::Registry['Aws::Errors::ServiceError']
|
|
86
|
-
|
|
87
|
-
default_api = apis.sort_by(&:version).last
|
|
88
|
-
default_api.operations.each do |_, operation|
|
|
89
|
-
operation.errors.each do |error|
|
|
90
|
-
error_klass = YARD::CodeObjects::ClassObject.new(errors_mod, error.name)
|
|
91
|
-
error_klass.superclass = base_error
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
def errors_docstring(svc_name, apis)
|
|
99
|
-
path = "doc-src/services/#{svc_name}/errors.md"
|
|
100
|
-
if File.exists?(path)
|
|
101
|
-
template = File.read(path)
|
|
102
|
-
else
|
|
103
|
-
template = File.read('doc-src/services/default/errors.md')
|
|
104
|
-
end
|
|
105
|
-
default_api = apis.sort_by(&:version).last
|
|
106
|
-
full_name = default_api.metadata('serviceFullName')
|
|
107
|
-
known_errors = default_api.operations.map {|_,o| o.errors.map(&:name) }.flatten.uniq.sort
|
|
108
|
-
ERB.new(template).result(binding)
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
def document_client(namespace, svc_name, apis)
|
|
112
|
-
yard_klass = YARD::CodeObjects::ClassObject.new(namespace, 'Client')
|
|
113
|
-
yard_klass.superclass = YARD::Registry['Aws::Client']
|
|
114
|
-
yard_klass.docstring = client_docstring(svc_name, apis)
|
|
115
|
-
|
|
116
|
-
client = Aws.const_get(svc_name).const_get(:Client)
|
|
117
|
-
|
|
118
|
-
options = {}
|
|
119
|
-
|
|
120
|
-
client.default_client_class.plugins.each do |plugin|
|
|
121
|
-
if p = YARD::Registry[plugin.name]
|
|
122
|
-
p.tags.each do |tag|
|
|
123
|
-
if tag.tag_name == 'seahorse_client_option'
|
|
124
|
-
option_name = tag.text.match(/.+(:\w+)/)[1]
|
|
125
|
-
option_text = "@option options " + tag.text.split("\n").join("\n ")
|
|
126
|
-
options[option_name] = option_text +
|
|
127
|
-
" See {#{plugin.name}} for more details."
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
end
|
|
132
|
-
options = options.sort_by { |k,v| k }.map(&:last).join("\n")
|
|
133
|
-
|
|
134
|
-
docstring = <<-DOCS.strip
|
|
135
|
-
Constructs a versioned client for this service.
|
|
136
|
-
@option options [String<YYYY-MM-DD>] :api_version ('#{client.latest_api_version}')
|
|
137
|
-
The API version to use for this service. Valid values include:
|
|
138
|
-
|
|
139
|
-
* #{client.api_versions.join("\n * ")}
|
|
140
|
-
#{options}
|
|
141
|
-
@return [#{client.default_client_class.name}] Returns a versioned client.
|
|
142
|
-
By default, this will be a client for the latest API version. Configure
|
|
143
|
-
the `:api_version` option to affect which client class is constructed.
|
|
144
|
-
Possible versioned clients are:
|
|
145
|
-
|
|
146
|
-
* #{client.versioned_clients.map{ |k| "{#{k.name}}" }.join("\n * ")}
|
|
147
|
-
|
|
148
|
-
DOCS
|
|
149
|
-
|
|
150
|
-
constructor = YARD::CodeObjects::MethodObject.new(yard_klass, :new)
|
|
151
|
-
constructor.scope = :class
|
|
152
|
-
constructor.parameters << ['options', '{}']
|
|
153
|
-
constructor.docstring = docstring
|
|
154
|
-
|
|
155
|
-
client.default_client_class.api.operations.each do |method_name, operation|
|
|
156
|
-
document_operation(svc_name, yard_klass, method_name, operation)
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
yard_klass
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
def client_docstring(svc_name, apis)
|
|
163
|
-
path = "doc-src/services/#{svc_name}/client.md"
|
|
164
|
-
if File.exists?(path)
|
|
165
|
-
template = File.read(path)
|
|
166
|
-
else
|
|
167
|
-
template = File.read('doc-src/services/default/client.md')
|
|
168
|
-
end
|
|
169
|
-
oldest_api = apis.sort_by(&:version).first
|
|
170
|
-
default_api = apis.sort_by(&:version).last
|
|
171
|
-
full_name = default_api.metadata('serviceFullName')
|
|
172
|
-
ERB.new(template).result(binding)
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
def document_client_versions(namespace, svc_name, api)
|
|
176
|
-
name = "V#{api.version.gsub(/-/, '')}"
|
|
177
|
-
full_name = api.metadata('serviceFullName')
|
|
178
|
-
klass = YARD::CodeObjects::ClassObject.new(namespace, name)
|
|
179
|
-
klass.superclass = YARD::Registry['Seahorse::Client::Base']
|
|
180
|
-
klass.docstring = "A client for the #{full_name} #{api.version} API."
|
|
181
|
-
klass.docstring.add_tag(YARD::Tags::Tag.new(:api_version, api.version))
|
|
182
|
-
api.operations.each do |method_name, operation|
|
|
183
|
-
document_operation(svc_name, klass, method_name, operation)
|
|
184
|
-
end
|
|
185
|
-
constructor = YARD::CodeObjects::MethodObject.new(klass, :initialize)
|
|
186
|
-
constructor.scope = :instance
|
|
187
|
-
constructor.parameters << ['options', '{}']
|
|
188
|
-
constructor.docstring = "@option (see #{svc_name}.new)"
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
class Tabulator
|
|
192
|
-
|
|
193
|
-
def initialize
|
|
194
|
-
@tabs = []
|
|
195
|
-
@tab_contents = []
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
def tab(method_name, tab_name, &block)
|
|
199
|
-
tab_class = tab_name.downcase.gsub(/[^a-z]+/i, '-')
|
|
200
|
-
tab_id = "#{method_name.to_s.gsub(/_/, '-')}-#{tab_class}"
|
|
201
|
-
class_names = ['tab-contents', tab_class]
|
|
202
|
-
@tabs << [tab_id, tab_name]
|
|
203
|
-
@tab_contents << "<div class=\"#{class_names.join(' ')}\" id=\"#{tab_id}\">"
|
|
204
|
-
@tab_contents << yield
|
|
205
|
-
@tab_contents << '</div>'
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
def to_html
|
|
209
|
-
lines = []
|
|
210
|
-
lines << '<div class="tab-box">'
|
|
211
|
-
lines << '<ul class="tabs">'
|
|
212
|
-
@tabs.each do |tab_id, tab_name|
|
|
213
|
-
lines << "<li data-tab-id=\"#{tab_id}\">#{tab_name}</li>"
|
|
214
|
-
end
|
|
215
|
-
lines << '</ul>'
|
|
216
|
-
lines.concat(@tab_contents)
|
|
217
|
-
lines << '</div>'
|
|
218
|
-
lines.join
|
|
219
|
-
end
|
|
220
|
-
alias inspect to_html
|
|
221
|
-
alias to_str to_html
|
|
222
|
-
alias to_s to_html
|
|
223
|
-
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
def document_operation(svc_name, client, method_name, operation)
|
|
227
|
-
m = YARD::CodeObjects::MethodObject.new(client, method_name)
|
|
228
|
-
m.scope = :instance
|
|
229
|
-
m.parameters << ['params', '{}']
|
|
230
|
-
m.docstring = operation_docstring(svc_name, method_name, operation)
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
def operation_docstring(svc_name, method_name, operation)
|
|
234
|
-
|
|
235
|
-
documentor = Aws::Api::Documentor.new(svc_name.downcase, method_name, operation)
|
|
236
|
-
|
|
237
|
-
tabs = Tabulator.new.tap do |t|
|
|
238
|
-
t.tab(method_name, 'Formatting Example') do
|
|
239
|
-
"<pre><code>#{documentor.example}</code></pre>"
|
|
240
|
-
end
|
|
241
|
-
t.tab(method_name, 'Request Parameters') do
|
|
242
|
-
documentor.input
|
|
243
|
-
end
|
|
244
|
-
t.tab(method_name, 'Response Structure') do
|
|
245
|
-
documentor.output
|
|
246
|
-
end
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
errors = (operation.errors || []).map { |shape| shape.name }
|
|
250
|
-
errors = errors.map { |e| "@raise [Errors::#{e}]" }.join("\n")
|
|
251
|
-
|
|
252
|
-
docstring = <<-DOCSTRING.strip
|
|
253
|
-
<p>Calls the #{operation.name} operation.<p>
|
|
254
|
-
#{documentor.api_ref(operation)}
|
|
255
|
-
#{tabs}
|
|
256
|
-
@param [Hash] params ({})
|
|
257
|
-
@return [PageableResponse]
|
|
258
|
-
#{errors}
|
|
259
|
-
DOCSTRING
|
|
260
|
-
end
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
YARD::Tags::Library.define_tag('STABILITY', :stability)
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Returns a client suitable for making requests against a CloudSearch domain.
|
|
2
|
-
|
|
3
|
-
To construct a client, you must configure the `:endpoint` option:
|
|
4
|
-
|
|
5
|
-
client = Aws::CloudSearchDomain.new(endpoint:'http://...')
|
|
6
|
-
|
|
7
|
-
See {CloudSearchDomain::V<%= default_api.version.gsub(/-/, '') %>} for a list of
|
|
8
|
-
operations.
|
|
File without changes
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
A service client builder for <%= full_name %>.
|
|
2
|
-
|
|
3
|
-
# Configuration
|
|
4
|
-
|
|
5
|
-
You can provide default configuration options to `Aws.config` for
|
|
6
|
-
all services, or for only this service. You can additionally provide
|
|
7
|
-
configuration options to the constructor. Constructor options always
|
|
8
|
-
take precedence.
|
|
9
|
-
|
|
10
|
-
# default region for all service
|
|
11
|
-
Aws.config[:region] = 'us-west-2'
|
|
12
|
-
|
|
13
|
-
# default region for only this service
|
|
14
|
-
Aws.config[:<%= svc_name.downcase %>] = { region: 'us-west-1' }
|
|
15
|
-
|
|
16
|
-
# this has the highest precedence
|
|
17
|
-
Aws::<%= svc_name %>::Client.new(region: 'us-east-1')
|
|
18
|
-
|
|
19
|
-
At a minimum, you must configure `:region` and `:credentials`.
|
|
20
|
-
|
|
21
|
-
## Region
|
|
22
|
-
|
|
23
|
-
If `ENV['AWS_REGION']` is set, this is used as the default region.
|
|
24
|
-
|
|
25
|
-
The `:region` option is used to build the `:endpoint`. You can override the
|
|
26
|
-
endpoint constructed from the region, but the region is still required for
|
|
27
|
-
signing requests.
|
|
28
|
-
|
|
29
|
-
<%= svc_name.downcase %> = Aws::<%= svc_name %>::Client.new(region: 'us-west-1')
|
|
30
|
-
<%= svc_name.downcase %>.config.endpoint #=> <%= Aws::EndpointProvider.default_provider.resolve(service: default_api.metadata('endpointPrefix'), region:'us-west-1', scheme:'https').inspect %>
|
|
31
|
-
|
|
32
|
-
## Credentials
|
|
33
|
-
|
|
34
|
-
Credentials are used to sign requests sent to AWS. The Ruby SDK
|
|
35
|
-
attempts to load credentials from the following locations:
|
|
36
|
-
|
|
37
|
-
* From the instance profile when running on EC2
|
|
38
|
-
* From AWS shared credentials file located at `ENV['HOME']/.aws/credentials`.
|
|
39
|
-
* From `ENV['AWS_ACCESS_KEY_ID']` and `ENV['SECRET_ACCESS_KEY']`
|
|
40
|
-
|
|
41
|
-
If credentials can not be found, they must be configured via `:credentials`:
|
|
42
|
-
|
|
43
|
-
credentials = Aws::SharedCredentials.new(
|
|
44
|
-
path: '/path/to/file',
|
|
45
|
-
profile_name: Rails.env)
|
|
46
|
-
|
|
47
|
-
Aws::<%= svc_name %>::Client.new(credentials: credentials)
|
|
48
|
-
|
|
49
|
-
The `:credentials` option should be one of the following types:
|
|
50
|
-
|
|
51
|
-
* {Aws::Credentials}
|
|
52
|
-
* {Aws::SharedCredentials}
|
|
53
|
-
* {Aws::InstanceProfileCredentials}
|
|
54
|
-
|
|
55
|
-
Alternatively, you configure credentials with `:access_key_id` and
|
|
56
|
-
`:secret_access_key`:
|
|
57
|
-
|
|
58
|
-
# load credentials from disk
|
|
59
|
-
creds = YAML.load(File.read('/path/to/secrets'))
|
|
60
|
-
|
|
61
|
-
Aws::<%= svc_name %>::Client.new(
|
|
62
|
-
access_key_id: creds['access_key_id'],
|
|
63
|
-
secret_access_key: creds['secret_access_key']
|
|
64
|
-
)
|
|
65
|
-
|
|
66
|
-
**It is recommended to never configure credentials statically in your
|
|
67
|
-
application.** This makes it difficult to rotate credentials and
|
|
68
|
-
easy to commit to source control.
|
|
69
|
-
|
|
70
|
-
## API Version
|
|
71
|
-
|
|
72
|
-
Calling {Client.new} will construct and return a versioned service client. The client
|
|
73
|
-
will default to the most recent API version. You can also specify an API version:
|
|
74
|
-
|
|
75
|
-
<%= svc_name.downcase %> = Aws::<%= svc_name %>::Client.new
|
|
76
|
-
#=> #<Aws::<%= svc_name %>::Client::V<%= default_api.version.gsub(/-/, '') %>>
|
|
77
|
-
|
|
78
|
-
<%= svc_name.downcase %> = Aws::<%= svc_name %>::Client.new(api_version: '<%= oldest_api.version %>')
|
|
79
|
-
#=> #<Aws::<%= svc_name %>::Client::V<%= oldest_api.version.gsub(/-/, '') %>>
|
|
80
|
-
|
|
81
|
-
The following API versions are available for Aws::<%= svc_name %>:
|
|
82
|
-
|
|
83
|
-
<%= apis.map{ |a| "* {Client::V#{a.version.gsub(/-/, '')} #{a.version}}" }.join("\n") %>
|
|
84
|
-
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
When <%= full_name %> returns an error response, the Ruby SDK constructs and raises an error. These errors have the following ancestors:
|
|
2
|
-
|
|
3
|
-
* {Aws::<%= svc_name %>::Errors::ServiceError Aws::<%= svc_name %>::Errors::ServiceError}
|
|
4
|
-
* {Aws::Errors::ServiceError Aws::Errors::ServiceError}
|
|
5
|
-
* `RuntimeError`
|
|
6
|
-
|
|
7
|
-
You can rescue all <%= svc_name %> errors using `ServiceError`:
|
|
8
|
-
|
|
9
|
-
# rescue all errors from <%= full_name %>
|
|
10
|
-
begin
|
|
11
|
-
# do stuff
|
|
12
|
-
rescue Aws::<%= svc_name %>::Errors::ServiceError
|
|
13
|
-
# ...
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
# Request Context
|
|
17
|
-
|
|
18
|
-
ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns information about the request that generated the error, including:
|
|
19
|
-
|
|
20
|
-
* `#params` - The request params
|
|
21
|
-
* `#operation_name` - Name of the API operation invoked
|
|
22
|
-
* `#http_request`
|
|
23
|
-
* `#http_response`
|
|
24
|
-
* etc ...
|
|
25
|
-
|
|
26
|
-
See {Seahorse::Client::RequestContext} for more information.
|
|
27
|
-
|
|
28
|
-
<% if known_errors.count > 0 %>
|
|
29
|
-
|
|
30
|
-
# Error Classes
|
|
31
|
-
|
|
32
|
-
You can rescue a specific errors by their error code:
|
|
33
|
-
|
|
34
|
-
begin
|
|
35
|
-
# do stuff
|
|
36
|
-
rescue Aws::<%= svc_name %>::Errors::<%= known_errors.first %>
|
|
37
|
-
# ...
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
Some of the common errors are listed below:
|
|
41
|
-
|
|
42
|
-
<% known_errors.each do |code| %>
|
|
43
|
-
* {<%= code %>}
|
|
44
|
-
<% end %>
|
|
45
|
-
<% end %>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
This module provides a client for making API requests to <%= full_name %>.
|
|
2
|
-
|
|
3
|
-
# Aws::<%= svc_name %>::Client
|
|
4
|
-
|
|
5
|
-
The {Aws::<%= svc_name %>::Client} class provides one-to-one mapping for each API operation.
|
|
6
|
-
|
|
7
|
-
<%= svc_name.downcase %> = Aws::<%= svc_name %>::Client.new(region: 'us-east-1')
|
|
8
|
-
<%= svc_name.downcase %>.operation_names
|
|
9
|
-
#=> [<%= default_api.operation_names[0..3].map(&:inspect).join(', ') %>, ...]
|
|
10
|
-
|
|
11
|
-
Each API operation method accepts a hash of request parameters and returns a response object.
|
|
12
|
-
|
|
13
|
-
resp = <%= svc_name.downcase %>.<%= default_api.operation_names.first %>(params)
|
|
14
|
-
|
|
15
|
-
See {Client} for more information.
|
|
16
|
-
|
|
17
|
-
# Aws::<%= svc_name %>::Errors
|
|
18
|
-
|
|
19
|
-
Errors returned from <%= full_name %> are defined in the {Errors} module
|
|
20
|
-
and extend {Aws::<%= svc_name %>::Errors::ServiceError}.
|
|
21
|
-
|
|
22
|
-
begin
|
|
23
|
-
# do stuff
|
|
24
|
-
rescue Aws::<%= svc_name %>::Errors::ServiceError
|
|
25
|
-
# rescues all errors returned by <%= full_name %>
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
See {Errors} for more information.
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* AWS API operation tabs */
|
|
3
|
-
|
|
4
|
-
ul.tabs {
|
|
5
|
-
list-style-type: none;
|
|
6
|
-
margin: 15px 0 0 0;
|
|
7
|
-
padding: 0 0 0 10px;
|
|
8
|
-
height: 26px;
|
|
9
|
-
clear: both;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
ul.tabs li {
|
|
13
|
-
float: left;
|
|
14
|
-
border: 1px solid #c9c3ba;
|
|
15
|
-
background-color: #eee;
|
|
16
|
-
line-height: 25px;
|
|
17
|
-
height: 25px;
|
|
18
|
-
padding: 0px 5px;
|
|
19
|
-
margin: 0 0 0 3px;
|
|
20
|
-
}
|
|
21
|
-
ul.tabs li:hover {
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
background-color: #ddd;
|
|
24
|
-
}
|
|
25
|
-
ul.tabs li.active {
|
|
26
|
-
background-color: #fff;
|
|
27
|
-
border-bottom: 2px solid #fff;
|
|
28
|
-
}
|
|
29
|
-
.tab-contents {
|
|
30
|
-
border: 1px solid #ccc;
|
|
31
|
-
padding: 0.5em;
|
|
32
|
-
width: 100%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* formatting for request parameters and response data */
|
|
36
|
-
|
|
37
|
-
.params, .params .params {
|
|
38
|
-
background: url(../images/vline.png) repeat-y;
|
|
39
|
-
margin: 0;
|
|
40
|
-
padding: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.params .params {
|
|
44
|
-
margin-left: 10px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.params .param {
|
|
48
|
-
margin: 0;
|
|
49
|
-
padding: 0 12px;
|
|
50
|
-
line-height: 20px;
|
|
51
|
-
background: url(../images/node.png) no-repeat;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.params .param:last-child {
|
|
55
|
-
background: #fff url(../images/lastnode.png) no-repeat;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.entry {
|
|
59
|
-
font-family: monospace;
|
|
60
|
-
display: inline;
|
|
61
|
-
line-height: 20px;
|
|
62
|
-
padding: 0 4px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.entry .key.required {
|
|
66
|
-
font-weight: bold;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/* documentation provided by the AWS service API reference docs */
|
|
70
|
-
|
|
71
|
-
.api-ref {
|
|
72
|
-
margin: 0 0 0 1px;
|
|
73
|
-
padding-left: 15px;
|
|
74
|
-
color: #333;
|
|
75
|
-
border-left: 1px solid #c9c3ba;
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.params .api-ref {
|
|
80
|
-
border: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.api-src {
|
|
84
|
-
max-height: 400px;
|
|
85
|
-
overflow: auto;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
pre.code .label {
|
|
89
|
-
color: #C5060B;
|
|
90
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
function activateTab($li) {
|
|
2
|
-
$li.addClass('active')
|
|
3
|
-
$li.siblings('li').removeClass('active');
|
|
4
|
-
$li.parents('.tab-box').find('.tab-contents').hide();
|
|
5
|
-
$('#' + $li.attr('data-tab-id')).show();
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
function setupTabBoxes() {
|
|
9
|
-
|
|
10
|
-
$('div.tab-box .tabs li:first-child').each(function(n, li) {
|
|
11
|
-
activateTab($(li));
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
$('div.tab-box .tabs li').click(function(e) {
|
|
15
|
-
activateTab($(e.target));
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
$(document).ready(function() {
|
|
20
|
-
setupTabBoxes();
|
|
21
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
def class_list(root = Registry.root)
|
|
2
|
-
|
|
3
|
-
out = ""
|
|
4
|
-
children = run_verifier(root.children)
|
|
5
|
-
if root == Registry.root
|
|
6
|
-
children += @items.select {|o| o.namespace.is_a?(CodeObjects::Proxy) }
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
if root == Registry.root
|
|
10
|
-
out << '<li class="expander"><a class="toggle"></a> Non-Service Classes</li><ul>'
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
children.reject {|c| c.nil? }.sort_by {|child| child.path }.map do |child|
|
|
14
|
-
if child.is_a?(CodeObjects::NamespaceObject)
|
|
15
|
-
name = child.namespace.is_a?(CodeObjects::Proxy) ? child.path : child.name
|
|
16
|
-
next if child.tag(:service)
|
|
17
|
-
has_children = run_verifier(child.children).any? {|o| o.is_a?(CodeObjects::NamespaceObject) }
|
|
18
|
-
out << "<li>"
|
|
19
|
-
out << "<a class='toggle'></a> " if has_children
|
|
20
|
-
out << linkify(child, name)
|
|
21
|
-
out << " < #{child.superclass.name}" if child.is_a?(CodeObjects::ClassObject) && child.superclass
|
|
22
|
-
out << "<small class='search_info'>"
|
|
23
|
-
out << child.namespace.title
|
|
24
|
-
out << "</small>"
|
|
25
|
-
out << "</li>"
|
|
26
|
-
out << "<ul>#{class_list(child)}</ul>" if has_children
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
out << '</ul>' if root == Registry.root
|
|
31
|
-
|
|
32
|
-
if root == Registry.root
|
|
33
|
-
out << '<li class="expander"><a class="toggle"></a> Services</li><ul>'
|
|
34
|
-
svcs = Registry.at('Aws').children.select {|c| c.has_tag?(:service) }
|
|
35
|
-
|
|
36
|
-
services = Registry.at('Aws').children.select { |c| c.has_tag?(:service) }
|
|
37
|
-
|
|
38
|
-
services.sort_by(&:name).each do |svc|
|
|
39
|
-
out << "<li><a class='toggle'></a>"
|
|
40
|
-
out << linkify(svc, svc.name)
|
|
41
|
-
out << " < Service"
|
|
42
|
-
out << "<small class='search_info'>"
|
|
43
|
-
out << svc.namespace.title
|
|
44
|
-
out << "</small>"
|
|
45
|
-
out << "</li>"
|
|
46
|
-
out << "<ul>"
|
|
47
|
-
svc.children.each do |child|
|
|
48
|
-
name = child.namespace.is_a?(CodeObjects::Proxy) ? child.path : child.name
|
|
49
|
-
has_children = run_verifier(child.children).any? {|o| o.is_a?(CodeObjects::NamespaceObject) }
|
|
50
|
-
out << "<li>"
|
|
51
|
-
out << "<a class='toggle'></a> " if has_children
|
|
52
|
-
out << linkify(child, name)
|
|
53
|
-
out << " < #{child.superclass.name}" if child.is_a?(CodeObjects::ClassObject) && child.superclass
|
|
54
|
-
out << "<small class='search_info'>"
|
|
55
|
-
out << child.namespace.title
|
|
56
|
-
out << "</small>"
|
|
57
|
-
out << "</li>"
|
|
58
|
-
out << "<ul>#{class_list(child)}</ul>" if has_children
|
|
59
|
-
end
|
|
60
|
-
out << "</ul>"
|
|
61
|
-
end
|
|
62
|
-
out << '</ul>'
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
out
|
|
66
|
-
end
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<div id="footer">
|
|
2
|
-
Generated on <%= Time.now.strftime("%c") %> by
|
|
3
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
4
|
-
<%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<script type="text/javascript" src="https://d36cz9buwru1tt.cloudfront.net/amznUrchin.js"></script>
|
|
8
|
-
<!-- SiteCatalyst code version: H.25.2. Copyright 1996-2012 Adobe, Inc. All Rights Reserved.
|
|
9
|
-
More info available at http://www.omniture.com -->
|
|
10
|
-
<script language="JavaScript" type="text/javascript" src="https://d36cz9buwru1tt.cloudfront.net/js/sitecatalyst/s_code.min.js">
|
|
11
|
-
</script>
|
|
12
|
-
<script language="JavaScript" type="text/javascript">
|
|
13
|
-
<!--
|
|
14
|
-
s.prop66='AWS SDK for Ruby Core';
|
|
15
|
-
s.eVar66='D=c66';
|
|
16
|
-
s.prop65='API Reference';
|
|
17
|
-
s.eVar65='D=c65';
|
|
18
|
-
var s_code=s.t();if(s_code)document.write(s_code)
|
|
19
|
-
//-->
|
|
20
|
-
</script>
|
|
21
|
-
<script language="JavaScript" type="text/javascript">
|
|
22
|
-
<!--if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
|
|
23
|
-
//-->
|
|
24
|
-
</script>
|
|
25
|
-
<noscript>
|
|
26
|
-
<img src="http://amazonwebservices.d2.sc.omtrdc.net/b/ss/awsamazondev/1/H.25.2--NS/0" height="1" width="1" border="0" alt="">
|
|
27
|
-
</noscript>
|
|
28
|
-
<!--/DO NOT REMOVE/-->
|
|
29
|
-
<!-- End SiteCatalyst code version: H.25.2. -->
|