aws-sdk 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +1 -1
- data/lib/aws-sdk.rb +3 -1
- data/lib/aws.rb +1 -1
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +31 -2
- data/lib/aws/api_config/CloudFormation-2010-05-15.yml +16 -8
- data/lib/aws/api_config/CloudFront-2012-05-05.yml +1 -1
- data/lib/aws/api_config/CloudSearch-2011-02-01.yml +1 -1
- data/lib/aws/api_config/CloudWatch-2010-08-01.yml +1 -1
- data/lib/aws/api_config/DataPipeline-2012-10-29.yml +1 -1
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +1 -1
- data/lib/aws/api_config/{EC2-2012-07-20.yml → EC2-2012-12-01.yml} +26 -2
- data/lib/aws/api_config/ELB-2012-06-01.yml +1 -1
- data/lib/aws/api_config/EMR-2009-03-31.yml +1 -1
- data/lib/aws/api_config/ElastiCache-2012-03-09.yml +1 -1
- data/lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml +1 -1
- data/lib/aws/api_config/ElasticTranscoder-2012-09-25.yml +1036 -0
- data/lib/aws/api_config/Glacier-2012-06-01.yml +7 -11
- data/lib/aws/api_config/IAM-2010-05-08.yml +1 -1
- data/lib/aws/api_config/ImportExport-2010-06-01.yml +1 -1
- data/lib/aws/api_config/{RDS-2012-07-31.yml → RDS-2012-09-17.yml} +247 -7
- data/lib/aws/api_config/Route53-2012-02-29.yml +1 -1
- data/lib/aws/api_config/SNS-2010-03-31.yml +1 -1
- data/lib/aws/api_config/SQS-2012-11-05.yml +1 -1
- data/lib/aws/api_config/STS-2011-06-15.yml +1 -1
- data/lib/aws/api_config/SimpleDB-2009-04-15.yml +1 -1
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +1 -1
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +1 -1
- data/lib/aws/api_config/StorageGateway-2012-06-30.yml +1 -1
- data/lib/aws/auto_scaling.rb +1 -1
- data/lib/aws/auto_scaling/activity.rb +1 -1
- data/lib/aws/auto_scaling/activity_collection.rb +1 -1
- data/lib/aws/auto_scaling/client.rb +19 -6
- data/lib/aws/auto_scaling/config.rb +1 -1
- data/lib/aws/auto_scaling/errors.rb +1 -1
- data/lib/aws/auto_scaling/group.rb +2 -2
- data/lib/aws/auto_scaling/group_collection.rb +1 -1
- data/lib/aws/auto_scaling/group_options.rb +1 -1
- data/lib/aws/auto_scaling/instance.rb +1 -1
- data/lib/aws/auto_scaling/instance_collection.rb +1 -1
- data/lib/aws/auto_scaling/launch_configuration.rb +1 -1
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +2 -2
- data/lib/aws/auto_scaling/notification_configuration.rb +1 -1
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/request.rb +1 -1
- data/lib/aws/auto_scaling/scaling_policy.rb +1 -1
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +1 -1
- data/lib/aws/auto_scaling/scaling_policy_options.rb +1 -1
- data/lib/aws/auto_scaling/scheduled_action.rb +1 -1
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +1 -1
- data/lib/aws/auto_scaling/tag.rb +1 -1
- data/lib/aws/auto_scaling/tag_collection.rb +1 -1
- data/lib/aws/cloud_formation.rb +1 -1
- data/lib/aws/cloud_formation/client.rb +154 -52
- data/lib/aws/cloud_formation/config.rb +1 -1
- data/lib/aws/cloud_formation/errors.rb +1 -1
- data/lib/aws/cloud_formation/request.rb +1 -1
- data/lib/aws/cloud_formation/stack.rb +1 -2
- data/lib/aws/cloud_formation/stack_collection.rb +7 -4
- data/lib/aws/cloud_formation/stack_event.rb +1 -1
- data/lib/aws/cloud_formation/stack_event_collection.rb +1 -1
- data/lib/aws/cloud_formation/stack_options.rb +1 -1
- data/lib/aws/cloud_formation/stack_output.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource_collection.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +1 -1
- data/lib/aws/cloud_formation/stack_summary_collection.rb +1 -1
- data/lib/aws/cloud_front.rb +2 -2
- data/lib/aws/cloud_front/client.rb +5 -5
- data/lib/aws/cloud_front/config.rb +1 -1
- data/lib/aws/cloud_front/errors.rb +1 -1
- data/lib/aws/cloud_front/request.rb +1 -1
- data/lib/aws/cloud_search.rb +42 -1
- data/lib/aws/cloud_search/client.rb +5 -5
- data/lib/aws/cloud_search/config.rb +1 -1
- data/lib/aws/cloud_search/errors.rb +1 -1
- data/lib/aws/cloud_search/request.rb +1 -1
- data/lib/aws/cloud_watch.rb +43 -1
- data/lib/aws/cloud_watch/alarm.rb +1 -1
- data/lib/aws/cloud_watch/alarm_collection.rb +1 -1
- data/lib/aws/cloud_watch/alarm_history_item.rb +1 -1
- data/lib/aws/cloud_watch/alarm_history_item_collection.rb +1 -1
- data/lib/aws/cloud_watch/client.rb +5 -5
- data/lib/aws/cloud_watch/config.rb +1 -1
- data/lib/aws/cloud_watch/errors.rb +1 -1
- data/lib/aws/cloud_watch/metric.rb +1 -1
- data/lib/aws/cloud_watch/metric_alarm_collection.rb +1 -1
- data/lib/aws/cloud_watch/metric_collection.rb +1 -1
- data/lib/aws/cloud_watch/metric_statistics.rb +1 -1
- data/lib/aws/cloud_watch/request.rb +1 -1
- data/lib/aws/core.rb +6 -10
- data/lib/aws/core/async_handle.rb +1 -1
- data/lib/aws/core/autoloader.rb +1 -1
- data/lib/aws/core/cacheable.rb +1 -1
- data/lib/aws/core/client.rb +2 -2
- data/lib/aws/core/collection.rb +1 -1
- data/lib/aws/core/collection/simple.rb +1 -1
- data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
- data/lib/aws/core/collection/with_next_token.rb +1 -1
- data/lib/aws/core/configuration.rb +5 -2
- data/lib/aws/core/credential_providers.rb +23 -4
- data/lib/aws/core/data.rb +1 -1
- data/lib/aws/core/http/curb_handler.rb +1 -1
- data/lib/aws/core/http/handler.rb +1 -1
- data/lib/aws/core/http/net_http_handler.rb +19 -14
- data/lib/aws/core/http/request.rb +1 -1
- data/lib/aws/core/http/response.rb +7 -4
- data/lib/aws/core/indifferent_hash.rb +1 -1
- data/lib/aws/core/inflection.rb +1 -1
- data/lib/aws/core/json_client.rb +1 -1
- data/lib/aws/core/json_parser.rb +1 -1
- data/lib/aws/core/json_request_builder.rb +1 -1
- data/lib/aws/core/json_response_parser.rb +1 -1
- data/lib/aws/core/lazy_error_classes.rb +1 -1
- data/lib/aws/core/log_formatter.rb +1 -1
- data/lib/aws/core/managed_file.rb +1 -1
- data/lib/aws/core/meta_utils.rb +1 -1
- data/lib/aws/core/model.rb +1 -1
- data/lib/aws/core/naming.rb +1 -1
- data/lib/aws/core/option_grammar.rb +1 -1
- data/lib/aws/core/options/json_serializer.rb +1 -1
- data/lib/aws/core/options/validator.rb +1 -1
- data/lib/aws/core/options/xml_serializer.rb +2 -2
- data/lib/aws/core/page_result.rb +1 -1
- data/lib/aws/core/policy.rb +1 -1
- data/lib/aws/core/query_client.rb +1 -1
- data/lib/aws/core/query_error_parser.rb +1 -1
- data/lib/aws/core/query_request_builder.rb +1 -1
- data/lib/aws/core/query_response_parser.rb +1 -1
- data/lib/aws/core/resource.rb +1 -1
- data/lib/aws/core/resource_cache.rb +1 -1
- data/lib/aws/core/response.rb +1 -1
- data/lib/aws/core/response_cache.rb +1 -1
- data/lib/aws/core/rest_error_parser.rb +1 -1
- data/lib/aws/core/rest_json_client.rb +1 -1
- data/lib/aws/core/rest_request_builder.rb +4 -4
- data/lib/aws/core/rest_response_parser.rb +13 -4
- data/lib/aws/core/rest_xml_client.rb +1 -1
- data/lib/aws/core/service_interface.rb +1 -1
- data/lib/aws/core/signature/version_2.rb +1 -1
- data/lib/aws/core/signature/version_3.rb +1 -1
- data/lib/aws/core/signature/version_3_https.rb +1 -1
- data/lib/aws/core/signature/version_4.rb +1 -1
- data/lib/aws/core/signer.rb +1 -1
- data/lib/aws/core/uri_escape.rb +1 -1
- data/lib/aws/core/xml/frame.rb +1 -1
- data/lib/aws/core/xml/frame_stack.rb +1 -1
- data/lib/aws/core/xml/grammar.rb +1 -1
- data/lib/aws/core/xml/parser.rb +1 -1
- data/lib/aws/core/xml/root_frame.rb +1 -1
- data/lib/aws/core/xml/sax_handlers/libxml.rb +1 -1
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +1 -1
- data/lib/aws/core/xml/sax_handlers/ox.rb +1 -1
- data/lib/aws/core/xml/sax_handlers/rexml.rb +1 -1
- data/lib/aws/core/xml/stub.rb +1 -1
- data/lib/aws/data_pipeline.rb +42 -1
- data/lib/aws/data_pipeline/client.rb +91 -144
- data/lib/aws/data_pipeline/config.rb +1 -1
- data/lib/aws/data_pipeline/errors.rb +1 -1
- data/lib/aws/data_pipeline/request.rb +1 -1
- data/lib/aws/dynamo_db.rb +1 -1
- data/lib/aws/dynamo_db/attribute_collection.rb +1 -1
- data/lib/aws/dynamo_db/batch_get.rb +1 -1
- data/lib/aws/dynamo_db/batch_write.rb +1 -1
- data/lib/aws/dynamo_db/binary.rb +1 -1
- data/lib/aws/dynamo_db/client.rb +5 -5
- data/lib/aws/dynamo_db/config.rb +1 -1
- data/lib/aws/dynamo_db/errors.rb +1 -1
- data/lib/aws/dynamo_db/expectations.rb +1 -1
- data/lib/aws/dynamo_db/item.rb +1 -1
- data/lib/aws/dynamo_db/item_collection.rb +11 -11
- data/lib/aws/dynamo_db/item_data.rb +1 -1
- data/lib/aws/dynamo_db/keys.rb +1 -1
- data/lib/aws/dynamo_db/primary_key_element.rb +1 -1
- data/lib/aws/dynamo_db/request.rb +1 -1
- data/lib/aws/dynamo_db/resource.rb +1 -1
- data/lib/aws/dynamo_db/table.rb +1 -1
- data/lib/aws/dynamo_db/table_collection.rb +1 -1
- data/lib/aws/dynamo_db/types.rb +1 -1
- data/lib/aws/ec2.rb +1 -1
- data/lib/aws/ec2/attachment.rb +1 -1
- data/lib/aws/ec2/attachment_collection.rb +1 -1
- data/lib/aws/ec2/availability_zone.rb +1 -1
- data/lib/aws/ec2/availability_zone_collection.rb +1 -1
- data/lib/aws/ec2/block_device_mappings.rb +1 -1
- data/lib/aws/ec2/client.rb +26 -5
- data/lib/aws/ec2/collection.rb +1 -1
- data/lib/aws/ec2/config.rb +1 -1
- data/lib/aws/ec2/config_transform.rb +1 -1
- data/lib/aws/ec2/customer_gateway.rb +1 -1
- data/lib/aws/ec2/customer_gateway_collection.rb +1 -1
- data/lib/aws/ec2/dhcp_options.rb +1 -1
- data/lib/aws/ec2/dhcp_options_collection.rb +1 -1
- data/lib/aws/ec2/elastic_ip.rb +1 -1
- data/lib/aws/ec2/elastic_ip_collection.rb +1 -1
- data/lib/aws/ec2/errors.rb +1 -1
- data/lib/aws/ec2/export_task.rb +1 -1
- data/lib/aws/ec2/export_task_collection.rb +1 -1
- data/lib/aws/ec2/filtered_collection.rb +1 -1
- data/lib/aws/ec2/has_permissions.rb +1 -1
- data/lib/aws/ec2/image.rb +1 -1
- data/lib/aws/ec2/image_collection.rb +1 -1
- data/lib/aws/ec2/instance.rb +1 -1
- data/lib/aws/ec2/instance_collection.rb +2 -2
- data/lib/aws/ec2/internet_gateway.rb +1 -1
- data/lib/aws/ec2/internet_gateway/attachment.rb +1 -1
- data/lib/aws/ec2/internet_gateway_collection.rb +1 -1
- data/lib/aws/ec2/key_pair.rb +1 -1
- data/lib/aws/ec2/key_pair_collection.rb +1 -1
- data/lib/aws/ec2/network_acl.rb +1 -1
- data/lib/aws/ec2/network_acl/association.rb +1 -1
- data/lib/aws/ec2/network_acl/entry.rb +1 -1
- data/lib/aws/ec2/network_acl_collection.rb +1 -1
- data/lib/aws/ec2/network_interface.rb +1 -1
- data/lib/aws/ec2/network_interface/attachment.rb +1 -1
- data/lib/aws/ec2/network_interface_collection.rb +1 -1
- data/lib/aws/ec2/permission_collection.rb +1 -1
- data/lib/aws/ec2/region.rb +27 -19
- data/lib/aws/ec2/region_collection.rb +1 -1
- data/lib/aws/ec2/request.rb +1 -1
- data/lib/aws/ec2/reserved_instances.rb +1 -1
- data/lib/aws/ec2/reserved_instances_collection.rb +1 -1
- data/lib/aws/ec2/reserved_instances_offering.rb +1 -1
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +1 -1
- data/lib/aws/ec2/resource.rb +1 -1
- data/lib/aws/ec2/resource_tag_collection.rb +1 -1
- data/lib/aws/ec2/route_table.rb +1 -1
- data/lib/aws/ec2/route_table/association.rb +1 -1
- data/lib/aws/ec2/route_table/route.rb +7 -1
- data/lib/aws/ec2/route_table_collection.rb +1 -1
- data/lib/aws/ec2/security_group.rb +15 -5
- data/lib/aws/ec2/security_group/ip_permission.rb +6 -2
- data/lib/aws/ec2/security_group/ip_permission_collection.rb +1 -1
- data/lib/aws/ec2/security_group_collection.rb +1 -1
- data/lib/aws/ec2/snapshot.rb +1 -1
- data/lib/aws/ec2/snapshot_collection.rb +1 -1
- data/lib/aws/ec2/subnet.rb +1 -1
- data/lib/aws/ec2/subnet_collection.rb +1 -1
- data/lib/aws/ec2/tag.rb +1 -1
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/ec2/tagged_collection.rb +1 -1
- data/lib/aws/ec2/tagged_item.rb +1 -1
- data/lib/aws/ec2/volume.rb +1 -1
- data/lib/aws/ec2/volume_collection.rb +1 -1
- data/lib/aws/ec2/vpc.rb +1 -1
- data/lib/aws/ec2/vpc_collection.rb +1 -1
- data/lib/aws/ec2/vpn_connection.rb +1 -1
- data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
- data/lib/aws/ec2/vpn_connection_collection.rb +1 -1
- data/lib/aws/ec2/vpn_gateway.rb +1 -1
- data/lib/aws/ec2/vpn_gateway/attachment.rb +1 -1
- data/lib/aws/ec2/vpn_gateway_collection.rb +1 -1
- data/lib/aws/elastic_beanstalk.rb +1 -1
- data/lib/aws/elastic_beanstalk/client.rb +5 -5
- data/lib/aws/elastic_beanstalk/config.rb +1 -1
- data/lib/aws/elastic_beanstalk/errors.rb +1 -1
- data/lib/aws/elastic_beanstalk/request.rb +1 -1
- data/lib/aws/elastic_transcoder.rb +30 -0
- data/lib/aws/elastic_transcoder/client.rb +672 -0
- data/lib/aws/elastic_transcoder/config.rb +18 -0
- data/lib/aws/elastic_transcoder/errors.rb +23 -0
- data/lib/aws/elastic_transcoder/request.rb +30 -0
- data/lib/aws/elasticache.rb +1 -1
- data/lib/aws/elasticache/client.rb +5 -6
- data/lib/aws/elasticache/config.rb +1 -1
- data/lib/aws/elasticache/errors.rb +1 -1
- data/lib/aws/elasticache/request.rb +1 -1
- data/lib/aws/elb.rb +1 -1
- data/lib/aws/elb/availability_zone_collection.rb +1 -1
- data/lib/aws/elb/backend_server_policy_collection.rb +1 -1
- data/lib/aws/elb/client.rb +5 -5
- data/lib/aws/elb/config.rb +1 -1
- data/lib/aws/elb/errors.rb +1 -1
- data/lib/aws/elb/instance_collection.rb +1 -1
- data/lib/aws/elb/listener.rb +1 -1
- data/lib/aws/elb/listener_collection.rb +1 -1
- data/lib/aws/elb/listener_opts.rb +1 -1
- data/lib/aws/elb/load_balancer.rb +1 -1
- data/lib/aws/elb/load_balancer_collection.rb +1 -1
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +1 -1
- data/lib/aws/elb/request.rb +8 -2
- data/lib/aws/emr.rb +1 -1
- data/lib/aws/emr/client.rb +5 -5
- data/lib/aws/emr/config.rb +1 -1
- data/lib/aws/emr/errors.rb +1 -1
- data/lib/aws/emr/instance_group.rb +1 -1
- data/lib/aws/emr/instance_group_collection.rb +1 -1
- data/lib/aws/emr/job_flow.rb +1 -1
- data/lib/aws/emr/job_flow_collection.rb +1 -1
- data/lib/aws/emr/request.rb +1 -1
- data/lib/aws/errors.rb +1 -1
- data/lib/aws/glacier.rb +29 -1
- data/lib/aws/glacier/archive.rb +3 -1
- data/lib/aws/glacier/archive_collection.rb +19 -14
- data/lib/aws/glacier/client.rb +5 -5
- data/lib/aws/glacier/config.rb +1 -1
- data/lib/aws/glacier/errors.rb +1 -1
- data/lib/aws/glacier/request.rb +1 -1
- data/lib/aws/glacier/resource.rb +1 -1
- data/lib/aws/glacier/vault.rb +10 -2
- data/lib/aws/glacier/vault_collection.rb +1 -1
- data/lib/aws/glacier/vault_notification_configuration.rb +3 -1
- data/lib/aws/iam.rb +1 -1
- data/lib/aws/iam/access_key.rb +1 -1
- data/lib/aws/iam/access_key_collection.rb +1 -1
- data/lib/aws/iam/account_alias_collection.rb +1 -1
- data/lib/aws/iam/client.rb +5 -5
- data/lib/aws/iam/collection.rb +1 -1
- data/lib/aws/iam/config.rb +1 -1
- data/lib/aws/iam/errors.rb +1 -1
- data/lib/aws/iam/group.rb +1 -1
- data/lib/aws/iam/group_collection.rb +1 -1
- data/lib/aws/iam/group_policy_collection.rb +1 -1
- data/lib/aws/iam/group_user_collection.rb +1 -1
- data/lib/aws/iam/login_profile.rb +1 -1
- data/lib/aws/iam/mfa_device.rb +1 -1
- data/lib/aws/iam/mfa_device_collection.rb +1 -1
- data/lib/aws/iam/policy.rb +1 -1
- data/lib/aws/iam/policy_collection.rb +1 -1
- data/lib/aws/iam/request.rb +1 -1
- data/lib/aws/iam/resource.rb +5 -14
- data/lib/aws/iam/server_certificate.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +1 -1
- data/lib/aws/iam/signing_certificate.rb +1 -1
- data/lib/aws/iam/signing_certificate_collection.rb +1 -1
- data/lib/aws/iam/user.rb +1 -1
- data/lib/aws/iam/user_collection.rb +1 -1
- data/lib/aws/iam/user_group_collection.rb +1 -1
- data/lib/aws/iam/user_policy.rb +1 -1
- data/lib/aws/iam/user_policy_collection.rb +1 -1
- data/lib/aws/iam/virtual_mfa_device.rb +1 -1
- data/lib/aws/iam/virtual_mfa_device_collection.rb +1 -1
- data/lib/aws/import_export.rb +1 -1
- data/lib/aws/import_export/client.rb +5 -5
- data/lib/aws/import_export/config.rb +1 -1
- data/lib/aws/import_export/errors.rb +1 -1
- data/lib/aws/import_export/request.rb +1 -1
- data/lib/aws/rails.rb +1 -1
- data/lib/aws/rds.rb +1 -1
- data/lib/aws/rds/client.rb +193 -7
- data/lib/aws/rds/config.rb +1 -1
- data/lib/aws/rds/db_instance.rb +5 -1
- data/lib/aws/rds/db_instance_collection.rb +1 -1
- data/lib/aws/rds/db_snapshot.rb +1 -1
- data/lib/aws/rds/db_snapshot_collection.rb +1 -1
- data/lib/aws/rds/errors.rb +1 -1
- data/lib/aws/rds/request.rb +1 -1
- data/lib/aws/record.rb +1 -1
- data/lib/aws/record/abstract_base.rb +119 -63
- data/lib/aws/record/attributes.rb +1 -1
- data/lib/aws/record/conversion.rb +1 -1
- data/lib/aws/record/dirty_tracking.rb +1 -1
- data/lib/aws/record/errors.rb +1 -1
- data/lib/aws/record/exceptions.rb +2 -2
- data/lib/aws/record/hash_model.rb +1 -1
- data/lib/aws/record/hash_model/attributes.rb +1 -1
- data/lib/aws/record/hash_model/finder_methods.rb +1 -1
- data/lib/aws/record/hash_model/scope.rb +1 -1
- data/lib/aws/record/model.rb +1 -1
- data/lib/aws/record/model/attributes.rb +1 -1
- data/lib/aws/record/model/finder_methods.rb +1 -1
- data/lib/aws/record/model/scope.rb +1 -1
- data/lib/aws/record/naming.rb +1 -1
- data/lib/aws/record/scope.rb +2 -2
- data/lib/aws/record/validations.rb +21 -3
- data/lib/aws/record/validator.rb +11 -2
- data/lib/aws/record/validators/acceptance.rb +2 -2
- data/lib/aws/record/validators/block.rb +2 -2
- data/lib/aws/record/validators/confirmation.rb +1 -1
- data/lib/aws/record/validators/count.rb +1 -1
- data/lib/aws/record/validators/exclusion.rb +2 -2
- data/lib/aws/record/validators/format.rb +2 -2
- data/lib/aws/record/validators/inclusion.rb +2 -2
- data/lib/aws/record/validators/length.rb +2 -2
- data/lib/aws/record/validators/method.rb +1 -1
- data/lib/aws/record/validators/numericality.rb +2 -2
- data/lib/aws/record/validators/presence.rb +2 -2
- data/lib/aws/route_53.rb +17 -3
- data/lib/aws/route_53/change_batch.rb +159 -0
- data/lib/aws/route_53/change_info.rb +72 -0
- data/lib/aws/route_53/client.rb +5 -5
- data/lib/aws/route_53/config.rb +1 -1
- data/lib/aws/route_53/errors.rb +1 -1
- data/lib/aws/route_53/hosted_zone.rb +111 -0
- data/lib/aws/route_53/hosted_zone_collection.rb +100 -0
- data/lib/aws/route_53/request.rb +1 -1
- data/lib/aws/route_53/resource_record_set.rb +212 -0
- data/lib/aws/route_53/resource_record_set_collection.rb +110 -0
- data/lib/aws/s3.rb +3 -2
- data/lib/aws/s3/access_control_list.rb +1 -1
- data/lib/aws/s3/acl_object.rb +1 -1
- data/lib/aws/s3/acl_options.rb +1 -1
- data/lib/aws/s3/bucket.rb +114 -1
- data/lib/aws/s3/bucket_collection.rb +1 -1
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +1 -1
- data/lib/aws/s3/bucket_tag_collection.rb +1 -1
- data/lib/aws/s3/bucket_version_collection.rb +1 -1
- data/lib/aws/s3/cipher_io.rb +1 -1
- data/lib/aws/s3/client.rb +148 -98
- data/lib/aws/s3/client/xml.rb +10 -1
- data/lib/aws/s3/config.rb +1 -1
- data/lib/aws/s3/cors_rule.rb +1 -1
- data/lib/aws/s3/cors_rule_collection.rb +1 -1
- data/lib/aws/s3/data_options.rb +1 -1
- data/lib/aws/s3/encryption_utils.rb +1 -1
- data/lib/aws/s3/errors.rb +1 -1
- data/lib/aws/s3/multipart_upload.rb +1 -1
- data/lib/aws/s3/multipart_upload_collection.rb +1 -1
- data/lib/aws/s3/object_collection.rb +1 -1
- data/lib/aws/s3/object_metadata.rb +1 -1
- data/lib/aws/s3/object_upload_collection.rb +1 -1
- data/lib/aws/s3/object_version.rb +1 -1
- data/lib/aws/s3/object_version_collection.rb +1 -1
- data/lib/aws/s3/paginated_collection.rb +1 -1
- data/lib/aws/s3/policy.rb +1 -1
- data/lib/aws/s3/prefix_and_delimiter_collection.rb +1 -1
- data/lib/aws/s3/prefixed_collection.rb +1 -1
- data/lib/aws/s3/presigned_post.rb +1 -1
- data/lib/aws/s3/request.rb +4 -2
- data/lib/aws/s3/s3_object.rb +77 -83
- data/lib/aws/s3/tree.rb +1 -1
- data/lib/aws/s3/tree/branch_node.rb +1 -1
- data/lib/aws/s3/tree/child_collection.rb +1 -1
- data/lib/aws/s3/tree/leaf_node.rb +1 -1
- data/lib/aws/s3/tree/node.rb +1 -1
- data/lib/aws/s3/tree/parent.rb +1 -1
- data/lib/aws/s3/uploaded_part.rb +1 -1
- data/lib/aws/s3/uploaded_part_collection.rb +1 -1
- data/lib/aws/s3/website_configuration.rb +60 -0
- data/lib/aws/simple_db.rb +1 -1
- data/lib/aws/simple_db/attribute.rb +1 -1
- data/lib/aws/simple_db/attribute_collection.rb +1 -1
- data/lib/aws/simple_db/client.rb +5 -5
- data/lib/aws/simple_db/config.rb +1 -1
- data/lib/aws/simple_db/consistent_read_option.rb +1 -1
- data/lib/aws/simple_db/delete_attributes.rb +1 -1
- data/lib/aws/simple_db/domain.rb +1 -1
- data/lib/aws/simple_db/domain_collection.rb +1 -1
- data/lib/aws/simple_db/domain_metadata.rb +1 -1
- data/lib/aws/simple_db/errors.rb +1 -1
- data/lib/aws/simple_db/expect_condition_option.rb +1 -1
- data/lib/aws/simple_db/item.rb +1 -1
- data/lib/aws/simple_db/item_collection.rb +1 -1
- data/lib/aws/simple_db/item_data.rb +1 -1
- data/lib/aws/simple_db/put_attributes.rb +1 -1
- data/lib/aws/simple_db/request.rb +1 -1
- data/lib/aws/simple_email_service.rb +1 -1
- data/lib/aws/simple_email_service/client.rb +5 -5
- data/lib/aws/simple_email_service/config.rb +1 -1
- data/lib/aws/simple_email_service/email_address_collection.rb +1 -1
- data/lib/aws/simple_email_service/errors.rb +1 -1
- data/lib/aws/simple_email_service/identity.rb +1 -1
- data/lib/aws/simple_email_service/identity_collection.rb +1 -1
- data/lib/aws/simple_email_service/quotas.rb +1 -1
- data/lib/aws/simple_email_service/request.rb +1 -1
- data/lib/aws/simple_workflow.rb +1 -1
- data/lib/aws/simple_workflow/activity_task.rb +1 -1
- data/lib/aws/simple_workflow/activity_task_collection.rb +1 -1
- data/lib/aws/simple_workflow/activity_type.rb +1 -1
- data/lib/aws/simple_workflow/activity_type_collection.rb +1 -1
- data/lib/aws/simple_workflow/client.rb +5 -5
- data/lib/aws/simple_workflow/config.rb +1 -1
- data/lib/aws/simple_workflow/count.rb +1 -1
- data/lib/aws/simple_workflow/decision_task.rb +4 -2
- data/lib/aws/simple_workflow/decision_task_collection.rb +1 -1
- data/lib/aws/simple_workflow/domain.rb +1 -1
- data/lib/aws/simple_workflow/domain_collection.rb +1 -1
- data/lib/aws/simple_workflow/errors.rb +1 -1
- data/lib/aws/simple_workflow/history_event.rb +1 -1
- data/lib/aws/simple_workflow/history_event_collection.rb +1 -1
- data/lib/aws/simple_workflow/option_formatters.rb +1 -1
- data/lib/aws/simple_workflow/request.rb +1 -1
- data/lib/aws/simple_workflow/resource.rb +1 -1
- data/lib/aws/simple_workflow/type.rb +1 -1
- data/lib/aws/simple_workflow/type_collection.rb +1 -1
- data/lib/aws/simple_workflow/workflow_execution.rb +1 -1
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +1 -1
- data/lib/aws/simple_workflow/workflow_type.rb +1 -1
- data/lib/aws/simple_workflow/workflow_type_collection.rb +1 -1
- data/lib/aws/sns.rb +1 -1
- data/lib/aws/sns/client.rb +5 -5
- data/lib/aws/sns/config.rb +1 -1
- data/lib/aws/sns/errors.rb +1 -1
- data/lib/aws/sns/has_delivery_policy.rb +1 -1
- data/lib/aws/sns/policy.rb +1 -1
- data/lib/aws/sns/request.rb +1 -1
- data/lib/aws/sns/subscription.rb +1 -1
- data/lib/aws/sns/subscription_collection.rb +1 -1
- data/lib/aws/sns/topic.rb +1 -1
- data/lib/aws/sns/topic_collection.rb +1 -1
- data/lib/aws/sns/topic_subscription_collection.rb +1 -1
- data/lib/aws/sqs.rb +1 -1
- data/lib/aws/sqs/client.rb +5 -5
- data/lib/aws/sqs/config.rb +1 -1
- data/lib/aws/sqs/errors.rb +1 -1
- data/lib/aws/sqs/policy.rb +1 -1
- data/lib/aws/sqs/queue.rb +2 -2
- data/lib/aws/sqs/queue_collection.rb +1 -1
- data/lib/aws/sqs/received_message.rb +1 -1
- data/lib/aws/sqs/received_sns_message.rb +6 -2
- data/lib/aws/sqs/request.rb +1 -1
- data/lib/aws/storage_gateway.rb +1 -1
- data/lib/aws/storage_gateway/client.rb +5 -5
- data/lib/aws/storage_gateway/config.rb +1 -1
- data/lib/aws/storage_gateway/errors.rb +1 -1
- data/lib/aws/storage_gateway/request.rb +1 -1
- data/lib/aws/sts.rb +1 -1
- data/lib/aws/sts/client.rb +5 -5
- data/lib/aws/sts/config.rb +1 -1
- data/lib/aws/sts/errors.rb +1 -1
- data/lib/aws/sts/federated_session.rb +1 -1
- data/lib/aws/sts/policy.rb +1 -1
- data/lib/aws/sts/request.rb +1 -1
- data/lib/aws/sts/session.rb +1 -1
- data/lib/aws/version.rb +2 -2
- data/lib/net/http/connection_pool.rb +1 -1
- data/lib/net/http/connection_pool/connection.rb +1 -1
- data/lib/net/http/connection_pool/session.rb +1 -1
- data/rails/init.rb +1 -1
- metadata +18 -6
- data/lib/aws/core/http/httparty_handler.rb +0 -115
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
data/lib/aws/auto_scaling.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for Auto Scaling.
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
define_client_methods('2011-01-01')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[
|
24
22
|
:describe_adjustment_types,
|
@@ -35,7 +33,7 @@ module AWS
|
|
35
33
|
:describe_tags,
|
36
34
|
]
|
37
35
|
|
38
|
-
|
36
|
+
# client methods #
|
39
37
|
|
40
38
|
# @!method create_auto_scaling_group(options = {})
|
41
39
|
# Calls the CreateAutoScalingGroup API operation.
|
@@ -46,12 +44,13 @@ module AWS
|
|
46
44
|
# * +:max_size+ - *required* - (Integer)
|
47
45
|
# * +:desired_capacity+ - (Integer)
|
48
46
|
# * +:default_cooldown+ - (Integer)
|
49
|
-
# * +:availability_zones+ -
|
47
|
+
# * +:availability_zones+ - (Array<String>)
|
50
48
|
# * +:load_balancer_names+ - (Array<String>)
|
51
49
|
# * +:health_check_type+ - (String)
|
52
50
|
# * +:health_check_grace_period+ - (Integer)
|
53
51
|
# * +:placement_group+ - (String)
|
54
52
|
# * +:vpc_zone_identifier+ - (String)
|
53
|
+
# * +:termination_policies+ - (Array<String>)
|
55
54
|
# * +:tags+ - (Array<Hash>)
|
56
55
|
# * +:resource_id+ - (String)
|
57
56
|
# * +:resource_type+ - (String)
|
@@ -81,6 +80,7 @@ module AWS
|
|
81
80
|
# * +:enabled+ - (Boolean)
|
82
81
|
# * +:spot_price+ - (String)
|
83
82
|
# * +:iam_instance_profile+ - (String)
|
83
|
+
# * +:ebs_optimized+ - (Boolean)
|
84
84
|
# @return [Core::Response]
|
85
85
|
|
86
86
|
# @!method create_or_update_tags(options = {})
|
@@ -191,6 +191,7 @@ module AWS
|
|
191
191
|
# * +:key+ - (String)
|
192
192
|
# * +:value+ - (String)
|
193
193
|
# * +:propagate_at_launch+ - (Boolean)
|
194
|
+
# * +:termination_policies+ - (Array<String>)
|
194
195
|
# * +:next_token+ - (String)
|
195
196
|
|
196
197
|
# @!method describe_auto_scaling_instances(options = {})
|
@@ -249,6 +250,7 @@ module AWS
|
|
249
250
|
# * +:spot_price+ - (String)
|
250
251
|
# * +:iam_instance_profile+ - (String)
|
251
252
|
# * +:created_time+ - (Time)
|
253
|
+
# * +:ebs_optimized+ - (Boolean)
|
252
254
|
# * +:next_token+ - (String)
|
253
255
|
|
254
256
|
# @!method describe_metric_collection_types(options = {})
|
@@ -376,6 +378,14 @@ module AWS
|
|
376
378
|
# * +:propagate_at_launch+ - (Boolean)
|
377
379
|
# * +:next_token+ - (String)
|
378
380
|
|
381
|
+
# @!method describe_termination_policy_types(options = {})
|
382
|
+
# Calls the DescribeTerminationPolicyTypes API operation.
|
383
|
+
# @param [Hash] options
|
384
|
+
# @return [Core::Response]
|
385
|
+
# The #data method of the response object returns
|
386
|
+
# a hash with the following structure:
|
387
|
+
# * +:termination_policy_types+ - (Array<String>)
|
388
|
+
|
379
389
|
# @!method disable_metrics_collection(options = {})
|
380
390
|
# Calls the DisableMetricsCollection API operation.
|
381
391
|
# @param [Hash] options
|
@@ -499,9 +509,12 @@ module AWS
|
|
499
509
|
# * +:health_check_grace_period+ - (Integer)
|
500
510
|
# * +:placement_group+ - (String)
|
501
511
|
# * +:vpc_zone_identifier+ - (String)
|
512
|
+
# * +:termination_policies+ - (Array<String>)
|
502
513
|
# @return [Core::Response]
|
503
514
|
|
504
|
-
|
515
|
+
# end client methods #
|
516
|
+
|
517
|
+
define_client_methods('2011-01-01')
|
505
518
|
|
506
519
|
end
|
507
520
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -31,7 +31,7 @@ module AWS
|
|
31
31
|
#
|
32
32
|
# @attr_reader [Symbol] health_check_type Returns :ec2 or :vpc.
|
33
33
|
#
|
34
|
-
# @attr_reader [String]
|
34
|
+
# @attr_reader [String] launch_configuration_name
|
35
35
|
#
|
36
36
|
# @attr_reader [Array<String>] load_balancer_names
|
37
37
|
#
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -96,7 +96,7 @@ module AWS
|
|
96
96
|
|
97
97
|
end
|
98
98
|
|
99
|
-
# @param [String] name The name of a launch
|
99
|
+
# @param [String] name The name of a launch configuration.
|
100
100
|
# @return [LaunchConfiguration]
|
101
101
|
def [] name
|
102
102
|
LaunchConfiguration.new(name, :config => config)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
data/lib/aws/auto_scaling/tag.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
data/lib/aws/cloud_formation.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for AWS CloudFormation.
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
define_client_methods('2010-05-15')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[
|
24
22
|
:describe_adjustment_types,
|
@@ -35,46 +33,83 @@ module AWS
|
|
35
33
|
:describe_tags,
|
36
34
|
]
|
37
35
|
|
38
|
-
|
36
|
+
# client methods #
|
39
37
|
|
40
38
|
# @!method create_stack(options = {})
|
41
39
|
# Calls the CreateStack API operation.
|
42
40
|
# @param [Hash] options
|
43
|
-
# * +:stack_name+ - *required* - (String)
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# * +:
|
53
|
-
#
|
41
|
+
# * +:stack_name+ - *required* - (String) The name associated with the
|
42
|
+
# stack. The name must be unique within your AWS account. Must
|
43
|
+
# contain only alphanumeric characters (case sensitive) and start
|
44
|
+
# with an alpha character. Maximum length of the name is 255
|
45
|
+
# characters.
|
46
|
+
# * +:template_body+ - (String) Structure containing the template body.
|
47
|
+
# (For more information, go to the AWS CloudFormation User Guide.)
|
48
|
+
# Conditional: You must pass TemplateBody or TemplateURL. If both are
|
49
|
+
# passed, only TemplateBody is used.
|
50
|
+
# * +:template_url+ - (String) Location of file containing the template
|
51
|
+
# body. The URL must point to a template located in an S3 bucket in
|
52
|
+
# the same region as the stack. For more information, go to the AWS
|
53
|
+
# CloudFormation User Guide. Conditional: You must pass TemplateURL
|
54
|
+
# or TemplateBody. If both are passed, only TemplateBody is used.
|
55
|
+
# * +:parameters+ - (Array<Hash>) A list of Parameter structures that
|
56
|
+
# specify input parameters for the stack.
|
57
|
+
# * +:parameter_key+ - (String) The key associated with the
|
58
|
+
# parameter.
|
59
|
+
# * +:parameter_value+ - (String) The value associated with the
|
60
|
+
# parameter.
|
61
|
+
# * +:disable_rollback+ - (Boolean) Set to +true+ to disable rollback
|
62
|
+
# of the stack if stack creation failed. You can specify either
|
63
|
+
# DisableRollback or OnFailure, but not both. Default: +false+
|
64
|
+
# * +:timeout_in_minutes+ - (Integer) The amount of time that can pass
|
65
|
+
# before the stack status becomes CREATE_FAILED; if DisableRollback
|
66
|
+
# is not set or is set to +false+ , the stack will be rolled back.
|
67
|
+
# * +:notification_arns+ - (Array<String>) The Simple Notification
|
68
|
+
# Service (SNS) topic ARNs to publish stack related events. You can
|
69
|
+
# find your SNS topic ARNs using the SNS console or your Command Line
|
70
|
+
# Interface (CLI).
|
71
|
+
# * +:capabilities+ - (Array<String>) The list of capabilities that you
|
72
|
+
# want to allow in the stack. If your template contains IAM
|
73
|
+
# resources, you must specify the CAPABILITY_IAM value for this
|
74
|
+
# parameter; otherwise, this action returns an
|
75
|
+
# InsufficientCapabilities error. IAM resources are the following:
|
76
|
+
# AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy,
|
77
|
+
# AWS::IAM::User, and AWS::IAM::UserToGroupAddition.
|
78
|
+
# * +:on_failure+ - (String) Determines what action will be taken if
|
79
|
+
# stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or
|
80
|
+
# DELETE. You can specify either OnFailure or DisableRollback, but
|
81
|
+
# not both. Default: ROLLBACK
|
82
|
+
# * +:tags+ - (Array<Hash>) A set of user-defined Tags to associate
|
83
|
+
# with this stack, represented by key/value pairs. Tags defined for
|
84
|
+
# the stack are propogated to EC2 resources that are created as part
|
85
|
+
# of the stack. A maximum number of 10 tags can be specified.
|
86
|
+
# * +:key+ - (String) Required. A string used to identify this tag.
|
87
|
+
# You can specify a maximum of 128 characters for a tag key. Tags
|
88
|
+
# owned by Amazon Web Services (AWS) have the reserved prefix:
|
89
|
+
# aws:.
|
90
|
+
# * +:value+ - (String) Required. A string containing the value for
|
91
|
+
# this tag. You can specify a maximum of 256 characters for a tag
|
92
|
+
# value.
|
54
93
|
# @return [Core::Response]
|
55
94
|
# The #data method of the response object returns
|
56
95
|
# a hash with the following structure:
|
57
96
|
# * +:stack_id+ - (String)
|
58
97
|
|
59
|
-
# @!method create_upload_bucket(options = {})
|
60
|
-
# Calls the CreateUploadBucket API operation.
|
61
|
-
# @param [Hash] options
|
62
|
-
# @return [Core::Response]
|
63
|
-
# The #data method of the response object returns
|
64
|
-
# a hash with the following structure:
|
65
|
-
# * +:bucket_name+ - (String)
|
66
|
-
|
67
98
|
# @!method delete_stack(options = {})
|
68
99
|
# Calls the DeleteStack API operation.
|
69
100
|
# @param [Hash] options
|
70
|
-
# * +:stack_name+ - *required* - (String)
|
101
|
+
# * +:stack_name+ - *required* - (String) The name or the unique
|
102
|
+
# identifier associated with the stack.
|
71
103
|
# @return [Core::Response]
|
72
104
|
|
73
105
|
# @!method describe_stack_events(options = {})
|
74
106
|
# Calls the DescribeStackEvents API operation.
|
75
107
|
# @param [Hash] options
|
76
|
-
# * +:stack_name+ - (String)
|
77
|
-
#
|
108
|
+
# * +:stack_name+ - (String) The name or the unique identifier
|
109
|
+
# associated with the stack. Default: There is no default value.
|
110
|
+
# * +:next_token+ - (String) String that identifies the start of the
|
111
|
+
# next list of events, if there is one. Default: There is no default
|
112
|
+
# value.
|
78
113
|
# @return [Core::Response]
|
79
114
|
# The #data method of the response object returns
|
80
115
|
# a hash with the following structure:
|
@@ -94,8 +129,12 @@ module AWS
|
|
94
129
|
# @!method describe_stack_resource(options = {})
|
95
130
|
# Calls the DescribeStackResource API operation.
|
96
131
|
# @param [Hash] options
|
97
|
-
# * +:stack_name+ - *required* - (String)
|
98
|
-
#
|
132
|
+
# * +:stack_name+ - *required* - (String) The name or the unique
|
133
|
+
# identifier associated with the stack. Default: There is no default
|
134
|
+
# value.
|
135
|
+
# * +:logical_resource_id+ - *required* - (String) The logical name of
|
136
|
+
# the resource as specified in the template. Default: There is no
|
137
|
+
# default value.
|
99
138
|
# @return [Core::Response]
|
100
139
|
# The #data method of the response object returns
|
101
140
|
# a hash with the following structure:
|
@@ -114,9 +153,18 @@ module AWS
|
|
114
153
|
# @!method describe_stack_resources(options = {})
|
115
154
|
# Calls the DescribeStackResources API operation.
|
116
155
|
# @param [Hash] options
|
117
|
-
# * +:stack_name+ - (String)
|
118
|
-
#
|
119
|
-
# * +:
|
156
|
+
# * +:stack_name+ - (String) The name or the unique identifier
|
157
|
+
# associated with the stack. Default: There is no default value.
|
158
|
+
# * +:logical_resource_id+ - (String) The logical name of the resource
|
159
|
+
# as specified in the template. Default: There is no default value.
|
160
|
+
# * +:physical_resource_id+ - (String) The name or unique identifier
|
161
|
+
# that corresponds to a physical instance ID of a resource supported
|
162
|
+
# by AWS CloudFormation. For example, for an Amazon Elastic Compute
|
163
|
+
# Cloud (EC2) instance, PhysicalResourceId corresponds to the
|
164
|
+
# InstanceId. You can pass the EC2 InstanceId to
|
165
|
+
# DescribeStackResources to find which stack the instance belongs to
|
166
|
+
# and what other resources are part of the stack. Default: There is
|
167
|
+
# no default value.
|
120
168
|
# @return [Core::Response]
|
121
169
|
# The #data method of the response object returns
|
122
170
|
# a hash with the following structure:
|
@@ -134,7 +182,9 @@ module AWS
|
|
134
182
|
# @!method describe_stacks(options = {})
|
135
183
|
# Calls the DescribeStacks API operation.
|
136
184
|
# @param [Hash] options
|
137
|
-
# * +:stack_name+ - (String)
|
185
|
+
# * +:stack_name+ - (String) The name or the unique identifier
|
186
|
+
# associated with the stack. Default: There is no default value.
|
187
|
+
# * +:next_token+ - (String)
|
138
188
|
# @return [Core::Response]
|
139
189
|
# The #data method of the response object returns
|
140
190
|
# a hash with the following structure:
|
@@ -157,15 +207,29 @@ module AWS
|
|
157
207
|
# * +:output_key+ - (String)
|
158
208
|
# * +:output_value+ - (String)
|
159
209
|
# * +:description+ - (String)
|
210
|
+
# * +:tags+ - (Array<Hash>)
|
211
|
+
# * +:key+ - (String)
|
212
|
+
# * +:value+ - (String)
|
213
|
+
# * +:next_token+ - (String)
|
160
214
|
|
161
215
|
# @!method estimate_template_cost(options = {})
|
162
216
|
# Calls the EstimateTemplateCost API operation.
|
163
217
|
# @param [Hash] options
|
164
|
-
# * +:template_body+ - (String)
|
165
|
-
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
218
|
+
# * +:template_body+ - (String) Structure containing the template body.
|
219
|
+
# (For more information, go to the AWS CloudFormation User Guide.)
|
220
|
+
# Conditional: You must pass TemplateBody or TemplateURL. If both are
|
221
|
+
# passed, only TemplateBody is used.
|
222
|
+
# * +:template_url+ - (String) Location of file containing the template
|
223
|
+
# body. The URL must point to a template located in an S3 bucket in
|
224
|
+
# the same region as the stack. For more information, go to the AWS
|
225
|
+
# CloudFormation User Guide. Conditional: You must pass TemplateURL
|
226
|
+
# or TemplateBody. If both are passed, only TemplateBody is used.
|
227
|
+
# * +:parameters+ - (Array<Hash>) A list of Parameter structures that
|
228
|
+
# specify input parameters.
|
229
|
+
# * +:parameter_key+ - (String) The key associated with the
|
230
|
+
# parameter.
|
231
|
+
# * +:parameter_value+ - (String) The value associated with the
|
232
|
+
# parameter.
|
169
233
|
# @return [Core::Response]
|
170
234
|
# The #data method of the response object returns
|
171
235
|
# a hash with the following structure:
|
@@ -174,7 +238,8 @@ module AWS
|
|
174
238
|
# @!method get_template(options = {})
|
175
239
|
# Calls the GetTemplate API operation.
|
176
240
|
# @param [Hash] options
|
177
|
-
# * +:stack_name+ - *required* - (String)
|
241
|
+
# * +:stack_name+ - *required* - (String) The name or the unique
|
242
|
+
# identifier associated with the stack.
|
178
243
|
# @return [Core::Response]
|
179
244
|
# The #data method of the response object returns
|
180
245
|
# a hash with the following structure:
|
@@ -183,8 +248,12 @@ module AWS
|
|
183
248
|
# @!method list_stack_resources(options = {})
|
184
249
|
# Calls the ListStackResources API operation.
|
185
250
|
# @param [Hash] options
|
186
|
-
# * +:stack_name+ - *required* - (String)
|
187
|
-
#
|
251
|
+
# * +:stack_name+ - *required* - (String) The name or the unique
|
252
|
+
# identifier associated with the stack. Default: There is no default
|
253
|
+
# value.
|
254
|
+
# * +:next_token+ - (String) String that identifies the start of the
|
255
|
+
# next list of stack resource summaries, if there is one. Default:
|
256
|
+
# There is no default value.
|
188
257
|
# @return [Core::Response]
|
189
258
|
# The #data method of the response object returns
|
190
259
|
# a hash with the following structure:
|
@@ -200,8 +269,13 @@ module AWS
|
|
200
269
|
# @!method list_stacks(options = {})
|
201
270
|
# Calls the ListStacks API operation.
|
202
271
|
# @param [Hash] options
|
203
|
-
# * +:next_token+ - (String)
|
204
|
-
#
|
272
|
+
# * +:next_token+ - (String) String that identifies the start of the
|
273
|
+
# next list of stacks, if there is one. Default: There is no default
|
274
|
+
# value.
|
275
|
+
# * +:stack_status_filter+ - (Array<String>) Stack status to use as a
|
276
|
+
# filter. Specify one or more stack status codes to list only stacks
|
277
|
+
# with the specified status codes. For a complete list of stack
|
278
|
+
# status codes, see the StackStatus parameter of the Stack data type.
|
205
279
|
# @return [Core::Response]
|
206
280
|
# The #data method of the response object returns
|
207
281
|
# a hash with the following structure:
|
@@ -219,13 +293,32 @@ module AWS
|
|
219
293
|
# @!method update_stack(options = {})
|
220
294
|
# Calls the UpdateStack API operation.
|
221
295
|
# @param [Hash] options
|
222
|
-
# * +:stack_name+ - *required* - (String)
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
296
|
+
# * +:stack_name+ - *required* - (String) The name or stack ID of the
|
297
|
+
# stack to update. Must contain only alphanumeric characters (case
|
298
|
+
# sensitive) and start with an alpha character. Maximum length of the
|
299
|
+
# name is 255 characters.
|
300
|
+
# * +:template_body+ - (String) Structure containing the template body.
|
301
|
+
# (For more information, go to the AWS CloudFormation User Guide.)
|
302
|
+
# Conditional: You must pass TemplateBody or TemplateURL. If both are
|
303
|
+
# passed, only TemplateBody is used.
|
304
|
+
# * +:template_url+ - (String) Location of file containing the template
|
305
|
+
# body. The URL must point to a template located in an S3 bucket in
|
306
|
+
# the same region as the stack. For more information, go to the AWS
|
307
|
+
# CloudFormation User Guide. Conditional: You must pass TemplateURL
|
308
|
+
# or TemplateBody. If both are passed, only TemplateBody is used.
|
309
|
+
# * +:parameters+ - (Array<Hash>) A list of Parameter structures that
|
310
|
+
# specify input parameters for the stack.
|
311
|
+
# * +:parameter_key+ - (String) The key associated with the
|
312
|
+
# parameter.
|
313
|
+
# * +:parameter_value+ - (String) The value associated with the
|
314
|
+
# parameter.
|
315
|
+
# * +:capabilities+ - (Array<String>) The list of capabilities that you
|
316
|
+
# want to allow in the stack. If your stack contains IAM resources,
|
317
|
+
# you must specify the CAPABILITY_IAM value for this parameter;
|
318
|
+
# otherwise, this action returns an InsufficientCapabilities error.
|
319
|
+
# IAM resources are the following: AWS::IAM::AccessKey,
|
320
|
+
# AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and
|
321
|
+
# AWS::IAM::UserToGroupAddition.
|
229
322
|
# @return [Core::Response]
|
230
323
|
# The #data method of the response object returns
|
231
324
|
# a hash with the following structure:
|
@@ -234,8 +327,15 @@ module AWS
|
|
234
327
|
# @!method validate_template(options = {})
|
235
328
|
# Calls the ValidateTemplate API operation.
|
236
329
|
# @param [Hash] options
|
237
|
-
# * +:template_body+ - (String)
|
238
|
-
#
|
330
|
+
# * +:template_body+ - (String) String containing the template body.
|
331
|
+
# (For more information, go to the AWS CloudFormation User Guide.)
|
332
|
+
# Conditional: You must pass TemplateURL or TemplateBody. If both are
|
333
|
+
# passed, only TemplateBody is used.
|
334
|
+
# * +:template_url+ - (String) Location of file containing the template
|
335
|
+
# body. The URL must point to a template located in an S3 bucket in
|
336
|
+
# the same region as the stack. For more information, go to the AWS
|
337
|
+
# CloudFormation User Guide. Conditional: You must pass TemplateURL
|
338
|
+
# or TemplateBody. If both are passed, only TemplateBody is used.
|
239
339
|
# @return [Core::Response]
|
240
340
|
# The #data method of the response object returns
|
241
341
|
# a hash with the following structure:
|
@@ -248,7 +348,9 @@ module AWS
|
|
248
348
|
# * +:capabilities+ - (Array<String>)
|
249
349
|
# * +:capabilities_reason+ - (String)
|
250
350
|
|
251
|
-
|
351
|
+
# end client methods #
|
352
|
+
|
353
|
+
define_client_methods('2010-05-15')
|
252
354
|
|
253
355
|
end
|
254
356
|
end
|