fog-aws 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.travis.yml +48 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +36 -0
- data/Rakefile +8 -0
- data/fog-aws.gemspec +30 -0
- data/gemfiles/Gemfile-edge +9 -0
- data/gemfiles/Gemfile-ruby-1.8.7 +6 -0
- data/lib/fog/aws.rb +31 -0
- data/lib/fog/aws/auto_scaling.rb +279 -0
- data/lib/fog/aws/beanstalk.rb +156 -0
- data/lib/fog/aws/cdn.rb +205 -0
- data/lib/fog/aws/cloud_formation.rb +133 -0
- data/lib/fog/aws/cloud_watch.rb +167 -0
- data/lib/fog/aws/compute.rb +543 -0
- data/lib/fog/aws/core.rb +343 -0
- data/lib/fog/aws/credential_fetcher.rb +63 -0
- data/lib/fog/aws/data_pipeline.rb +126 -0
- data/lib/fog/aws/dns.rb +154 -0
- data/lib/fog/aws/dynamodb.rb +152 -0
- data/lib/fog/aws/elasticache.rb +216 -0
- data/lib/fog/aws/elb.rb +240 -0
- data/lib/fog/aws/elb/policy_types.rb +477 -0
- data/lib/fog/aws/emr.rb +139 -0
- data/lib/fog/aws/glacier.rb +179 -0
- data/lib/fog/aws/iam.rb +260 -0
- data/lib/fog/aws/models/auto_scaling/activities.rb +37 -0
- data/lib/fog/aws/models/auto_scaling/activity.rb +27 -0
- data/lib/fog/aws/models/auto_scaling/configuration.rb +69 -0
- data/lib/fog/aws/models/auto_scaling/configurations.rb +33 -0
- data/lib/fog/aws/models/auto_scaling/group.rb +150 -0
- data/lib/fog/aws/models/auto_scaling/groups.rb +37 -0
- data/lib/fog/aws/models/auto_scaling/instance.rb +58 -0
- data/lib/fog/aws/models/auto_scaling/instances.rb +28 -0
- data/lib/fog/aws/models/auto_scaling/policies.rb +37 -0
- data/lib/fog/aws/models/auto_scaling/policy.rb +46 -0
- data/lib/fog/aws/models/beanstalk/application.rb +59 -0
- data/lib/fog/aws/models/beanstalk/applications.rb +23 -0
- data/lib/fog/aws/models/beanstalk/environment.rb +145 -0
- data/lib/fog/aws/models/beanstalk/environments.rb +27 -0
- data/lib/fog/aws/models/beanstalk/event.rb +18 -0
- data/lib/fog/aws/models/beanstalk/events.rb +17 -0
- data/lib/fog/aws/models/beanstalk/template.rb +76 -0
- data/lib/fog/aws/models/beanstalk/templates.rb +68 -0
- data/lib/fog/aws/models/beanstalk/version.rb +77 -0
- data/lib/fog/aws/models/beanstalk/versions.rb +29 -0
- data/lib/fog/aws/models/cdn/distribution.rb +90 -0
- data/lib/fog/aws/models/cdn/distribution_helper.rb +60 -0
- data/lib/fog/aws/models/cdn/distributions.rb +30 -0
- data/lib/fog/aws/models/cdn/distributions_helper.rb +45 -0
- data/lib/fog/aws/models/cdn/invalidation.rb +60 -0
- data/lib/fog/aws/models/cdn/invalidations.rb +50 -0
- data/lib/fog/aws/models/cdn/streaming_distribution.rb +74 -0
- data/lib/fog/aws/models/cdn/streaming_distributions.rb +30 -0
- data/lib/fog/aws/models/cloud_watch/alarm.rb +60 -0
- data/lib/fog/aws/models/cloud_watch/alarm_data.rb +38 -0
- data/lib/fog/aws/models/cloud_watch/alarm_datum.rb +65 -0
- data/lib/fog/aws/models/cloud_watch/alarm_histories.rb +17 -0
- data/lib/fog/aws/models/cloud_watch/alarm_history.rb +15 -0
- data/lib/fog/aws/models/cloud_watch/alarms.rb +45 -0
- data/lib/fog/aws/models/cloud_watch/metric.rb +13 -0
- data/lib/fog/aws/models/cloud_watch/metric_statistic.rb +44 -0
- data/lib/fog/aws/models/cloud_watch/metric_statistics.rb +22 -0
- data/lib/fog/aws/models/cloud_watch/metrics.rb +50 -0
- data/lib/fog/aws/models/compute/address.rb +74 -0
- data/lib/fog/aws/models/compute/addresses.rb +96 -0
- data/lib/fog/aws/models/compute/dhcp_option.rb +66 -0
- data/lib/fog/aws/models/compute/dhcp_options.rb +87 -0
- data/lib/fog/aws/models/compute/flavor.rb +19 -0
- data/lib/fog/aws/models/compute/flavors.rb +606 -0
- data/lib/fog/aws/models/compute/image.rb +45 -0
- data/lib/fog/aws/models/compute/images.rb +59 -0
- data/lib/fog/aws/models/compute/internet_gateway.rb +78 -0
- data/lib/fog/aws/models/compute/internet_gateways.rb +87 -0
- data/lib/fog/aws/models/compute/key_pair.rb +53 -0
- data/lib/fog/aws/models/compute/key_pairs.rb +84 -0
- data/lib/fog/aws/models/compute/network_acl.rb +180 -0
- data/lib/fog/aws/models/compute/network_acls.rb +136 -0
- data/lib/fog/aws/models/compute/network_interface.rb +73 -0
- data/lib/fog/aws/models/compute/network_interfaces.rb +133 -0
- data/lib/fog/aws/models/compute/route_table.rb +66 -0
- data/lib/fog/aws/models/compute/route_tables.rb +88 -0
- data/lib/fog/aws/models/compute/security_group.rb +322 -0
- data/lib/fog/aws/models/compute/security_groups.rb +117 -0
- data/lib/fog/aws/models/compute/server.rb +271 -0
- data/lib/fog/aws/models/compute/servers.rb +211 -0
- data/lib/fog/aws/models/compute/snapshot.rb +53 -0
- data/lib/fog/aws/models/compute/snapshots.rb +48 -0
- data/lib/fog/aws/models/compute/spot_request.rb +119 -0
- data/lib/fog/aws/models/compute/spot_requests.rb +86 -0
- data/lib/fog/aws/models/compute/subnet.rb +61 -0
- data/lib/fog/aws/models/compute/subnets.rb +95 -0
- data/lib/fog/aws/models/compute/tag.rb +31 -0
- data/lib/fog/aws/models/compute/tags.rb +31 -0
- data/lib/fog/aws/models/compute/volume.rb +126 -0
- data/lib/fog/aws/models/compute/volumes.rb +117 -0
- data/lib/fog/aws/models/compute/vpc.rb +75 -0
- data/lib/fog/aws/models/compute/vpcs.rb +89 -0
- data/lib/fog/aws/models/data_pipeline/pipeline.rb +63 -0
- data/lib/fog/aws/models/data_pipeline/pipelines.rb +33 -0
- data/lib/fog/aws/models/dns/record.rb +116 -0
- data/lib/fog/aws/models/dns/records.rb +120 -0
- data/lib/fog/aws/models/dns/zone.rb +49 -0
- data/lib/fog/aws/models/dns/zones.rb +29 -0
- data/lib/fog/aws/models/elasticache/cluster.rb +69 -0
- data/lib/fog/aws/models/elasticache/clusters.rb +29 -0
- data/lib/fog/aws/models/elasticache/parameter_group.rb +28 -0
- data/lib/fog/aws/models/elasticache/parameter_groups.rb +28 -0
- data/lib/fog/aws/models/elasticache/security_group.rb +48 -0
- data/lib/fog/aws/models/elasticache/security_groups.rb +28 -0
- data/lib/fog/aws/models/elasticache/subnet_group.rb +32 -0
- data/lib/fog/aws/models/elasticache/subnet_groups.rb +24 -0
- data/lib/fog/aws/models/elb/backend_server_description.rb +11 -0
- data/lib/fog/aws/models/elb/backend_server_descriptions.rb +20 -0
- data/lib/fog/aws/models/elb/listener.rb +56 -0
- data/lib/fog/aws/models/elb/listeners.rb +30 -0
- data/lib/fog/aws/models/elb/load_balancer.rb +241 -0
- data/lib/fog/aws/models/elb/load_balancers.rb +37 -0
- data/lib/fog/aws/models/elb/policies.rb +52 -0
- data/lib/fog/aws/models/elb/policy.rb +59 -0
- data/lib/fog/aws/models/glacier/archive.rb +68 -0
- data/lib/fog/aws/models/glacier/archives.rb +26 -0
- data/lib/fog/aws/models/glacier/job.rb +61 -0
- data/lib/fog/aws/models/glacier/jobs.rb +40 -0
- data/lib/fog/aws/models/glacier/vault.rb +50 -0
- data/lib/fog/aws/models/glacier/vaults.rb +24 -0
- data/lib/fog/aws/models/iam/access_key.rb +39 -0
- data/lib/fog/aws/models/iam/access_keys.rb +32 -0
- data/lib/fog/aws/models/iam/policies.rb +40 -0
- data/lib/fog/aws/models/iam/policy.rb +36 -0
- data/lib/fog/aws/models/iam/role.rb +34 -0
- data/lib/fog/aws/models/iam/roles.rb +37 -0
- data/lib/fog/aws/models/iam/user.rb +38 -0
- data/lib/fog/aws/models/iam/users.rb +47 -0
- data/lib/fog/aws/models/rds/event_subscription.rb +41 -0
- data/lib/fog/aws/models/rds/event_subscriptions.rb +24 -0
- data/lib/fog/aws/models/rds/instance_option.rb +18 -0
- data/lib/fog/aws/models/rds/instance_options.rb +28 -0
- data/lib/fog/aws/models/rds/log_file.rb +22 -0
- data/lib/fog/aws/models/rds/log_files.rb +48 -0
- data/lib/fog/aws/models/rds/parameter.rb +18 -0
- data/lib/fog/aws/models/rds/parameter_group.rb +34 -0
- data/lib/fog/aws/models/rds/parameter_groups.rb +24 -0
- data/lib/fog/aws/models/rds/parameters.rb +36 -0
- data/lib/fog/aws/models/rds/security_group.rb +79 -0
- data/lib/fog/aws/models/rds/security_groups.rb +41 -0
- data/lib/fog/aws/models/rds/server.rb +142 -0
- data/lib/fog/aws/models/rds/servers.rb +24 -0
- data/lib/fog/aws/models/rds/snapshot.rb +49 -0
- data/lib/fog/aws/models/rds/snapshots.rb +69 -0
- data/lib/fog/aws/models/rds/subnet_group.rb +31 -0
- data/lib/fog/aws/models/rds/subnet_groups.rb +24 -0
- data/lib/fog/aws/models/sns/subscription.rb +0 -0
- data/lib/fog/aws/models/sns/subscriptions.rb +17 -0
- data/lib/fog/aws/models/sns/topic.rb +48 -0
- data/lib/fog/aws/models/sns/topics.rb +24 -0
- data/lib/fog/aws/models/storage/directories.rb +39 -0
- data/lib/fog/aws/models/storage/directory.rb +126 -0
- data/lib/fog/aws/models/storage/file.rb +280 -0
- data/lib/fog/aws/models/storage/files.rb +119 -0
- data/lib/fog/aws/models/storage/version.rb +33 -0
- data/lib/fog/aws/models/storage/versions.rb +34 -0
- data/lib/fog/aws/parsers/auto_scaling/basic.rb +24 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +49 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +156 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb +40 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_notification_types.rb +40 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb +97 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +64 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_notification_configurations.rb +39 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +65 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb +44 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +49 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +43 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_tags.rb +42 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb +40 -0
- data/lib/fog/aws/parsers/auto_scaling/put_notification_configuration.rb +24 -0
- data/lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb +27 -0
- data/lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb +32 -0
- data/lib/fog/aws/parsers/beanstalk/check_dns_availability.rb +16 -0
- data/lib/fog/aws/parsers/beanstalk/create_application.rb +21 -0
- data/lib/fog/aws/parsers/beanstalk/create_application_version.rb +23 -0
- data/lib/fog/aws/parsers/beanstalk/create_configuration_template.rb +26 -0
- data/lib/fog/aws/parsers/beanstalk/create_environment.rb +34 -0
- data/lib/fog/aws/parsers/beanstalk/create_storage_location.rb +15 -0
- data/lib/fog/aws/parsers/beanstalk/describe_application_versions.rb +23 -0
- data/lib/fog/aws/parsers/beanstalk/describe_applications.rb +21 -0
- data/lib/fog/aws/parsers/beanstalk/describe_configuration_options.rb +29 -0
- data/lib/fog/aws/parsers/beanstalk/describe_configuration_settings.rb +27 -0
- data/lib/fog/aws/parsers/beanstalk/describe_environment_resources.rb +34 -0
- data/lib/fog/aws/parsers/beanstalk/describe_environments.rb +35 -0
- data/lib/fog/aws/parsers/beanstalk/describe_events.rb +24 -0
- data/lib/fog/aws/parsers/beanstalk/empty.rb +20 -0
- data/lib/fog/aws/parsers/beanstalk/list_available_solution_stacks.rb +18 -0
- data/lib/fog/aws/parsers/beanstalk/parser.rb +84 -0
- data/lib/fog/aws/parsers/beanstalk/retrieve_environment_info.rb +19 -0
- data/lib/fog/aws/parsers/beanstalk/terminate_environment.rb +34 -0
- data/lib/fog/aws/parsers/beanstalk/update_application.rb +21 -0
- data/lib/fog/aws/parsers/beanstalk/update_application_version.rb +23 -0
- data/lib/fog/aws/parsers/beanstalk/update_configuration_template.rb +26 -0
- data/lib/fog/aws/parsers/beanstalk/update_environment.rb +34 -0
- data/lib/fog/aws/parsers/beanstalk/validate_configuration_settings.rb +19 -0
- data/lib/fog/aws/parsers/cdn/distribution.rb +55 -0
- data/lib/fog/aws/parsers/cdn/get_distribution_list.rb +57 -0
- data/lib/fog/aws/parsers/cdn/get_invalidation.rb +28 -0
- data/lib/fog/aws/parsers/cdn/get_invalidation_list.rb +38 -0
- data/lib/fog/aws/parsers/cdn/get_streaming_distribution_list.rb +55 -0
- data/lib/fog/aws/parsers/cdn/post_invalidation.rb +24 -0
- data/lib/fog/aws/parsers/cdn/streaming_distribution.rb +56 -0
- data/lib/fog/aws/parsers/cloud_formation/basic.rb +10 -0
- data/lib/fog/aws/parsers/cloud_formation/create_stack.rb +16 -0
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +28 -0
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +28 -0
- data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +78 -0
- data/lib/fog/aws/parsers/cloud_formation/get_template.rb +16 -0
- data/lib/fog/aws/parsers/cloud_formation/list_stack_resources.rb +30 -0
- data/lib/fog/aws/parsers/cloud_formation/list_stacks.rb +32 -0
- data/lib/fog/aws/parsers/cloud_formation/update_stack.rb +16 -0
- data/lib/fog/aws/parsers/cloud_formation/validate_template.rb +49 -0
- data/lib/fog/aws/parsers/cloud_watch/delete_alarms.rb +24 -0
- data/lib/fog/aws/parsers/cloud_watch/describe_alarm_history.rb +38 -0
- data/lib/fog/aws/parsers/cloud_watch/describe_alarms.rb +71 -0
- data/lib/fog/aws/parsers/cloud_watch/describe_alarms_for_metric.rb +69 -0
- data/lib/fog/aws/parsers/cloud_watch/disable_alarm_actions.rb +24 -0
- data/lib/fog/aws/parsers/cloud_watch/enable_alarm_actions.rb +24 -0
- data/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +40 -0
- data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +56 -0
- data/lib/fog/aws/parsers/cloud_watch/put_metric_alarm.rb +24 -0
- data/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +24 -0
- data/lib/fog/aws/parsers/cloud_watch/set_alarm_state.rb +24 -0
- data/lib/fog/aws/parsers/compute/allocate_address.rb +16 -0
- data/lib/fog/aws/parsers/compute/assign_private_ip_addresses.rb +22 -0
- data/lib/fog/aws/parsers/compute/associate_address.rb +22 -0
- data/lib/fog/aws/parsers/compute/associate_route_table.rb +16 -0
- data/lib/fog/aws/parsers/compute/attach_network_interface.rb +16 -0
- data/lib/fog/aws/parsers/compute/attach_volume.rb +18 -0
- data/lib/fog/aws/parsers/compute/basic.rb +22 -0
- data/lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb +26 -0
- data/lib/fog/aws/parsers/compute/copy_image.rb +18 -0
- data/lib/fog/aws/parsers/compute/copy_snapshot.rb +18 -0
- data/lib/fog/aws/parsers/compute/create_dhcp_options.rb +73 -0
- data/lib/fog/aws/parsers/compute/create_image.rb +16 -0
- data/lib/fog/aws/parsers/compute/create_internet_gateway.rb +61 -0
- data/lib/fog/aws/parsers/compute/create_key_pair.rb +16 -0
- data/lib/fog/aws/parsers/compute/create_network_acl.rb +28 -0
- data/lib/fog/aws/parsers/compute/create_network_interface.rb +28 -0
- data/lib/fog/aws/parsers/compute/create_route_table.rb +71 -0
- data/lib/fog/aws/parsers/compute/create_security_group.rb +22 -0
- data/lib/fog/aws/parsers/compute/create_snapshot.rb +22 -0
- data/lib/fog/aws/parsers/compute/create_subnet.rb +46 -0
- data/lib/fog/aws/parsers/compute/create_volume.rb +22 -0
- data/lib/fog/aws/parsers/compute/create_vpc.rb +47 -0
- data/lib/fog/aws/parsers/compute/deregister_image.rb +16 -0
- data/lib/fog/aws/parsers/compute/describe_account_attributes.rb +41 -0
- data/lib/fog/aws/parsers/compute/describe_addresses.rb +26 -0
- data/lib/fog/aws/parsers/compute/describe_availability_zones.rb +40 -0
- data/lib/fog/aws/parsers/compute/describe_dhcp_options.rb +72 -0
- data/lib/fog/aws/parsers/compute/describe_images.rb +89 -0
- data/lib/fog/aws/parsers/compute/describe_instance_status.rb +73 -0
- data/lib/fog/aws/parsers/compute/describe_instances.rb +122 -0
- data/lib/fog/aws/parsers/compute/describe_internet_gateways.rb +60 -0
- data/lib/fog/aws/parsers/compute/describe_key_pairs.rb +26 -0
- data/lib/fog/aws/parsers/compute/describe_network_acls.rb +42 -0
- data/lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb +77 -0
- data/lib/fog/aws/parsers/compute/describe_network_interfaces.rb +42 -0
- data/lib/fog/aws/parsers/compute/describe_placement_groups.rb +26 -0
- data/lib/fog/aws/parsers/compute/describe_regions.rb +26 -0
- data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +58 -0
- data/lib/fog/aws/parsers/compute/describe_reserved_instances_offerings.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_route_tables.rb +81 -0
- data/lib/fog/aws/parsers/compute/describe_security_groups.rb +111 -0
- data/lib/fog/aws/parsers/compute/describe_snapshots.rb +52 -0
- data/lib/fog/aws/parsers/compute/describe_spot_price_history.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_subnets.rb +49 -0
- data/lib/fog/aws/parsers/compute/describe_tags.rb +26 -0
- data/lib/fog/aws/parsers/compute/describe_volume_status.rb +87 -0
- data/lib/fog/aws/parsers/compute/describe_volumes.rb +71 -0
- data/lib/fog/aws/parsers/compute/describe_vpc_attribute.rb +48 -0
- data/lib/fog/aws/parsers/compute/describe_vpcs.rb +47 -0
- data/lib/fog/aws/parsers/compute/detach_volume.rb +18 -0
- data/lib/fog/aws/parsers/compute/get_console_output.rb +24 -0
- data/lib/fog/aws/parsers/compute/get_password_data.rb +22 -0
- data/lib/fog/aws/parsers/compute/import_key_pair.rb +16 -0
- data/lib/fog/aws/parsers/compute/modify_subnet_attribute.rb +24 -0
- data/lib/fog/aws/parsers/compute/monitor_unmonitor_instances.rb +31 -0
- data/lib/fog/aws/parsers/compute/network_acl_parser.rb +103 -0
- data/lib/fog/aws/parsers/compute/network_interface_parser.rb +108 -0
- data/lib/fog/aws/parsers/compute/purchase_reserved_instances_offering.rb +20 -0
- data/lib/fog/aws/parsers/compute/register_image.rb +16 -0
- data/lib/fog/aws/parsers/compute/replace_network_acl_association.rb +20 -0
- data/lib/fog/aws/parsers/compute/run_instances.rb +90 -0
- data/lib/fog/aws/parsers/compute/spot_datafeed_subscription.rb +25 -0
- data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +69 -0
- data/lib/fog/aws/parsers/compute/start_stop_instances.rb +37 -0
- data/lib/fog/aws/parsers/compute/terminate_instances.rb +51 -0
- data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +22 -0
- data/lib/fog/aws/parsers/dns/create_health_check.rb +0 -0
- data/lib/fog/aws/parsers/dns/create_hosted_zone.rb +51 -0
- data/lib/fog/aws/parsers/dns/delete_hosted_zone.rb +21 -0
- data/lib/fog/aws/parsers/dns/get_change.rb +22 -0
- data/lib/fog/aws/parsers/dns/get_hosted_zone.rb +41 -0
- data/lib/fog/aws/parsers/dns/health_check.rb +33 -0
- data/lib/fog/aws/parsers/dns/list_health_checks.rb +41 -0
- data/lib/fog/aws/parsers/dns/list_hosted_zones.rb +33 -0
- data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +58 -0
- data/lib/fog/aws/parsers/elasticache/authorize_cache_security_group_ingress.rb +21 -0
- data/lib/fog/aws/parsers/elasticache/base.rb +28 -0
- data/lib/fog/aws/parsers/elasticache/cache_cluster_parser.rb +77 -0
- data/lib/fog/aws/parsers/elasticache/create_cache_subnet_group.rb +32 -0
- data/lib/fog/aws/parsers/elasticache/describe_cache_clusters.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/describe_cache_parameters.rb +21 -0
- data/lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb +34 -0
- data/lib/fog/aws/parsers/elasticache/describe_engine_default_parameters.rb +21 -0
- data/lib/fog/aws/parsers/elasticache/describe_parameter_groups.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/describe_reserved_cache_nodes.rb +32 -0
- data/lib/fog/aws/parsers/elasticache/describe_security_groups.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb +58 -0
- data/lib/fog/aws/parsers/elasticache/event_list.rb +38 -0
- data/lib/fog/aws/parsers/elasticache/modify_parameter_group.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/parameter_group_parser.rb +29 -0
- data/lib/fog/aws/parsers/elasticache/reset_parameter_group.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/security_group_parser.rb +38 -0
- data/lib/fog/aws/parsers/elasticache/single_cache_cluster.rb +21 -0
- data/lib/fog/aws/parsers/elasticache/single_parameter_group.rb +21 -0
- data/lib/fog/aws/parsers/elasticache/single_security_group.rb +33 -0
- data/lib/fog/aws/parsers/elasticache/subnet_group_parser.rb +35 -0
- data/lib/fog/aws/parsers/elb/apply_security_groups_to_load_balancer.rb +22 -0
- data/lib/fog/aws/parsers/elb/attach_load_balancer_to_subnets.rb +22 -0
- data/lib/fog/aws/parsers/elb/configure_health_check.rb +33 -0
- data/lib/fog/aws/parsers/elb/create_load_balancer.rb +22 -0
- data/lib/fog/aws/parsers/elb/delete_load_balancer.rb +20 -0
- data/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +22 -0
- data/lib/fog/aws/parsers/elb/describe_instance_health.rb +26 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancer_attributes.rb +54 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancer_policies.rb +60 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancer_policy_types.rb +66 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +167 -0
- data/lib/fog/aws/parsers/elb/describe_tags.rb +26 -0
- data/lib/fog/aws/parsers/elb/detach_load_balancer_from_subnets.rb +22 -0
- data/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +22 -0
- data/lib/fog/aws/parsers/elb/empty.rb +24 -0
- data/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +22 -0
- data/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +22 -0
- data/lib/fog/aws/parsers/elb/tag_list_parser.rb +57 -0
- data/lib/fog/aws/parsers/emr/add_instance_groups.rb +26 -0
- data/lib/fog/aws/parsers/emr/add_job_flow_steps.rb +16 -0
- data/lib/fog/aws/parsers/emr/describe_job_flows.rb +137 -0
- data/lib/fog/aws/parsers/emr/modify_instance_groups.rb +16 -0
- data/lib/fog/aws/parsers/emr/run_job_flow.rb +18 -0
- data/lib/fog/aws/parsers/emr/set_termination_protection.rb +16 -0
- data/lib/fog/aws/parsers/emr/terminate_job_flows.rb +16 -0
- data/lib/fog/aws/parsers/iam/base_instance_profile.rb +75 -0
- data/lib/fog/aws/parsers/iam/basic.rb +16 -0
- data/lib/fog/aws/parsers/iam/create_access_key.rb +22 -0
- data/lib/fog/aws/parsers/iam/create_group.rb +22 -0
- data/lib/fog/aws/parsers/iam/create_user.rb +22 -0
- data/lib/fog/aws/parsers/iam/get_account_password_policy.rb +26 -0
- data/lib/fog/aws/parsers/iam/get_account_summary.rb +42 -0
- data/lib/fog/aws/parsers/iam/get_group.rb +52 -0
- data/lib/fog/aws/parsers/iam/get_group_policy.rb +30 -0
- data/lib/fog/aws/parsers/iam/get_role_policy.rb +28 -0
- data/lib/fog/aws/parsers/iam/get_user.rb +26 -0
- data/lib/fog/aws/parsers/iam/get_user_policy.rb +30 -0
- data/lib/fog/aws/parsers/iam/instance_profile.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_access_keys.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_account_aliases.rb +24 -0
- data/lib/fog/aws/parsers/iam/list_groups.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_groups_for_user.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_instance_profiles.rb +29 -0
- data/lib/fog/aws/parsers/iam/list_mfa_devices.rb +30 -0
- data/lib/fog/aws/parsers/iam/list_policies.rb +24 -0
- data/lib/fog/aws/parsers/iam/list_roles.rb +29 -0
- data/lib/fog/aws/parsers/iam/list_server_certificates.rb +34 -0
- data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_users.rb +30 -0
- data/lib/fog/aws/parsers/iam/login_profile.rb +24 -0
- data/lib/fog/aws/parsers/iam/role_parser.rb +49 -0
- data/lib/fog/aws/parsers/iam/single_role.rb +27 -0
- data/lib/fog/aws/parsers/iam/update_group.rb +23 -0
- data/lib/fog/aws/parsers/iam/update_user.rb +24 -0
- data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +24 -0
- data/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +22 -0
- data/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +32 -0
- data/lib/fog/aws/parsers/rds/base.rb +28 -0
- data/lib/fog/aws/parsers/rds/create_db_instance.rb +32 -0
- data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +32 -0
- data/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +33 -0
- data/lib/fog/aws/parsers/rds/create_db_security_group.rb +32 -0
- data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +32 -0
- data/lib/fog/aws/parsers/rds/create_db_subnet_group.rb +32 -0
- data/lib/fog/aws/parsers/rds/create_event_subscription.rb +32 -0
- data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +32 -0
- data/lib/fog/aws/parsers/rds/db_parser.rb +136 -0
- data/lib/fog/aws/parsers/rds/delete_db_instance.rb +33 -0
- data/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +25 -0
- data/lib/fog/aws/parsers/rds/delete_db_security_group.rb +29 -0
- data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +32 -0
- data/lib/fog/aws/parsers/rds/delete_db_subnet_group.rb +29 -0
- data/lib/fog/aws/parsers/rds/delete_event_subscription.rb +29 -0
- data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_db_instances.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_db_log_files.rb +42 -0
- data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +33 -0
- data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +42 -0
- data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +38 -0
- data/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_event_subscriptions.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_orderable_db_instance_options.rb +45 -0
- data/lib/fog/aws/parsers/rds/download_db_logfile_portion.rb +22 -0
- data/lib/fog/aws/parsers/rds/event_list.rb +38 -0
- data/lib/fog/aws/parsers/rds/event_subscription_parser.rb +37 -0
- data/lib/fog/aws/parsers/rds/modify_db_instance.rb +32 -0
- data/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +26 -0
- data/lib/fog/aws/parsers/rds/promote_read_replica.rb +32 -0
- data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +33 -0
- data/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +32 -0
- data/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +32 -0
- data/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +32 -0
- data/lib/fog/aws/parsers/rds/security_group_parser.rb +36 -0
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +39 -0
- data/lib/fog/aws/parsers/rds/subnet_group_parser.rb +35 -0
- data/lib/fog/aws/parsers/rds/tag_list_parser.rb +33 -0
- data/lib/fog/aws/parsers/redshift/cluster.rb +28 -0
- data/lib/fog/aws/parsers/redshift/cluster_parser.rb +143 -0
- data/lib/fog/aws/parsers/redshift/cluster_security_group_parser.rb +49 -0
- data/lib/fog/aws/parsers/redshift/cluster_snapshot.rb +31 -0
- data/lib/fog/aws/parsers/redshift/cluster_snapshot_parser.rb +65 -0
- data/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +50 -0
- data/lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb +29 -0
- data/lib/fog/aws/parsers/redshift/create_cluster_security_group.rb +30 -0
- data/lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb +40 -0
- data/lib/fog/aws/parsers/redshift/describe_cluster_parameters.rb +47 -0
- data/lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb +37 -0
- data/lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb +37 -0
- data/lib/fog/aws/parsers/redshift/describe_cluster_subnet_groups.rb +55 -0
- data/lib/fog/aws/parsers/redshift/describe_cluster_versions.rb +50 -0
- data/lib/fog/aws/parsers/redshift/describe_clusters.rb +29 -0
- data/lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb +48 -0
- data/lib/fog/aws/parsers/redshift/describe_events.rb +43 -0
- data/lib/fog/aws/parsers/redshift/describe_orderable_cluster_options.rb +53 -0
- data/lib/fog/aws/parsers/redshift/describe_reserved_node_offerings.rb +63 -0
- data/lib/fog/aws/parsers/redshift/describe_reserved_nodes.rb +70 -0
- data/lib/fog/aws/parsers/redshift/describe_resize.rb +58 -0
- data/lib/fog/aws/parsers/redshift/purchase_reserved_node_offering.rb +56 -0
- data/lib/fog/aws/parsers/redshift/revoke_cluster_security_group_ingress.rb +30 -0
- data/lib/fog/aws/parsers/redshift/update_cluster_parameter_group_parser.rb +28 -0
- data/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +20 -0
- data/lib/fog/aws/parsers/ses/get_send_quota.rb +22 -0
- data/lib/fog/aws/parsers/ses/get_send_statistics.rb +26 -0
- data/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +22 -0
- data/lib/fog/aws/parsers/ses/send_email.rb +22 -0
- data/lib/fog/aws/parsers/ses/send_raw_email.rb +22 -0
- data/lib/fog/aws/parsers/ses/verify_domain_identity.rb +22 -0
- data/lib/fog/aws/parsers/ses/verify_email_address.rb +20 -0
- data/lib/fog/aws/parsers/simpledb/basic.rb +27 -0
- data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +28 -0
- data/lib/fog/aws/parsers/simpledb/get_attributes.rb +32 -0
- data/lib/fog/aws/parsers/simpledb/list_domains.rb +26 -0
- data/lib/fog/aws/parsers/simpledb/select.rb +37 -0
- data/lib/fog/aws/parsers/sns/add_permission.rb +20 -0
- data/lib/fog/aws/parsers/sns/confirm_subscription.rb +20 -0
- data/lib/fog/aws/parsers/sns/create_topic.rb +20 -0
- data/lib/fog/aws/parsers/sns/delete_topic.rb +20 -0
- data/lib/fog/aws/parsers/sns/get_topic_attributes.rb +29 -0
- data/lib/fog/aws/parsers/sns/list_subscriptions.rb +26 -0
- data/lib/fog/aws/parsers/sns/list_topics.rb +22 -0
- data/lib/fog/aws/parsers/sns/publish.rb +20 -0
- data/lib/fog/aws/parsers/sns/remove_permission.rb +20 -0
- data/lib/fog/aws/parsers/sns/set_topic_attributes.rb +20 -0
- data/lib/fog/aws/parsers/sns/subscribe.rb +20 -0
- data/lib/fog/aws/parsers/sns/unsubscribe.rb +20 -0
- data/lib/fog/aws/parsers/sqs/basic.rb +20 -0
- data/lib/fog/aws/parsers/sqs/create_queue.rb +22 -0
- data/lib/fog/aws/parsers/sqs/get_queue_attributes.rb +31 -0
- data/lib/fog/aws/parsers/sqs/list_queues.rb +22 -0
- data/lib/fog/aws/parsers/sqs/receive_message.rb +37 -0
- data/lib/fog/aws/parsers/sqs/send_message.rb +24 -0
- data/lib/fog/aws/parsers/storage/access_control_list.rb +42 -0
- data/lib/fog/aws/parsers/storage/complete_multipart_upload.rb +20 -0
- data/lib/fog/aws/parsers/storage/copy_object.rb +18 -0
- data/lib/fog/aws/parsers/storage/cors_configuration.rb +38 -0
- data/lib/fog/aws/parsers/storage/delete_multiple_objects.rb +45 -0
- data/lib/fog/aws/parsers/storage/get_bucket.rb +58 -0
- data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +64 -0
- data/lib/fog/aws/parsers/storage/get_bucket_location.rb +16 -0
- data/lib/fog/aws/parsers/storage/get_bucket_logging.rb +36 -0
- data/lib/fog/aws/parsers/storage/get_bucket_notification.rb +61 -0
- data/lib/fog/aws/parsers/storage/get_bucket_object_versions.rb +84 -0
- data/lib/fog/aws/parsers/storage/get_bucket_tagging.rb +33 -0
- data/lib/fog/aws/parsers/storage/get_bucket_versioning.rb +20 -0
- data/lib/fog/aws/parsers/storage/get_bucket_website.rb +26 -0
- data/lib/fog/aws/parsers/storage/get_request_payment.rb +16 -0
- data/lib/fog/aws/parsers/storage/get_service.rb +28 -0
- data/lib/fog/aws/parsers/storage/initiate_multipart_upload.rb +20 -0
- data/lib/fog/aws/parsers/storage/list_multipart_uploads.rb +52 -0
- data/lib/fog/aws/parsers/storage/list_parts.rb +36 -0
- data/lib/fog/aws/parsers/sts/assume_role.rb +26 -0
- data/lib/fog/aws/parsers/sts/assume_role_with_saml.rb +26 -0
- data/lib/fog/aws/parsers/sts/get_session_token.rb +26 -0
- data/lib/fog/aws/rds.rb +269 -0
- data/lib/fog/aws/redshift.rb +133 -0
- data/lib/fog/aws/region_methods.rb +11 -0
- data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +140 -0
- data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +114 -0
- data/lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb +57 -0
- data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +55 -0
- data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +51 -0
- data/lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb +58 -0
- data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +50 -0
- data/lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb +42 -0
- data/lib/fog/aws/requests/auto_scaling/delete_tags.rb +57 -0
- data/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +48 -0
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +134 -0
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +89 -0
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_notification_types.rb +50 -0
- data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +112 -0
- data/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +56 -0
- data/lib/fog/aws/requests/auto_scaling/describe_notification_configurations.rb +73 -0
- data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +105 -0
- data/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +82 -0
- data/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +49 -0
- data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +82 -0
- data/lib/fog/aws/requests/auto_scaling/describe_tags.rb +68 -0
- data/lib/fog/aws/requests/auto_scaling/describe_termination_policy_types.rb +47 -0
- data/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +50 -0
- data/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +60 -0
- data/lib/fog/aws/requests/auto_scaling/execute_policy.rb +44 -0
- data/lib/fog/aws/requests/auto_scaling/put_notification_configuration.rb +64 -0
- data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +79 -0
- data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +64 -0
- data/lib/fog/aws/requests/auto_scaling/resume_processes.rb +53 -0
- data/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +81 -0
- data/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +49 -0
- data/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +56 -0
- data/lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb +59 -0
- data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +93 -0
- data/lib/fog/aws/requests/beanstalk/check_dns_availability.rb +26 -0
- data/lib/fog/aws/requests/beanstalk/create_application.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/create_application_version.rb +40 -0
- data/lib/fog/aws/requests/beanstalk/create_configuration_template.rb +46 -0
- data/lib/fog/aws/requests/beanstalk/create_environment.rb +49 -0
- data/lib/fog/aws/requests/beanstalk/create_storage_location.rb +26 -0
- data/lib/fog/aws/requests/beanstalk/delete_application.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/delete_application_version.rb +35 -0
- data/lib/fog/aws/requests/beanstalk/delete_configuration_template.rb +33 -0
- data/lib/fog/aws/requests/beanstalk/delete_environment_configuration.rb +33 -0
- data/lib/fog/aws/requests/beanstalk/describe_application_versions.rb +33 -0
- data/lib/fog/aws/requests/beanstalk/describe_applications.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/describe_configuration_options.rb +39 -0
- data/lib/fog/aws/requests/beanstalk/describe_configuration_settings.rb +30 -0
- data/lib/fog/aws/requests/beanstalk/describe_environment_resources.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/describe_environments.rb +39 -0
- data/lib/fog/aws/requests/beanstalk/describe_events.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/list_available_solution_stacks.rb +26 -0
- data/lib/fog/aws/requests/beanstalk/rebuild_environment.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/request_environment_info.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/restart_app_server.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/retrieve_environment_info.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/swap_environment_cnames.rb +28 -0
- data/lib/fog/aws/requests/beanstalk/terminate_environment.rb +30 -0
- data/lib/fog/aws/requests/beanstalk/update_application.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/update_application_version.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/update_configuration_template.rb +35 -0
- data/lib/fog/aws/requests/beanstalk/update_environment.rb +41 -0
- data/lib/fog/aws/requests/beanstalk/validate_configuration_settings.rb +32 -0
- data/lib/fog/aws/requests/cdn/delete_distribution.rb +52 -0
- data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +51 -0
- data/lib/fog/aws/requests/cdn/get_distribution.rb +78 -0
- data/lib/fog/aws/requests/cdn/get_distribution_list.rb +81 -0
- data/lib/fog/aws/requests/cdn/get_invalidation.rb +58 -0
- data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +76 -0
- data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +69 -0
- data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +81 -0
- data/lib/fog/aws/requests/cdn/post_distribution.rb +130 -0
- data/lib/fog/aws/requests/cdn/post_invalidation.rb +75 -0
- data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +115 -0
- data/lib/fog/aws/requests/cdn/put_distribution_config.rb +116 -0
- data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +105 -0
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +88 -0
- data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +25 -0
- data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +39 -0
- data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +38 -0
- data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +37 -0
- data/lib/fog/aws/requests/cloud_formation/get_template.rb +27 -0
- data/lib/fog/aws/requests/cloud_formation/list_stack_resources.rb +34 -0
- data/lib/fog/aws/requests/cloud_formation/list_stacks.rb +35 -0
- data/lib/fog/aws/requests/cloud_formation/update_stack.rb +56 -0
- data/lib/fog/aws/requests/cloud_formation/validate_template.rb +29 -0
- data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +47 -0
- data/lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb +32 -0
- data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +55 -0
- data/lib/fog/aws/requests/cloud_watch/describe_alarms_for_metric.rb +38 -0
- data/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb +29 -0
- data/lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb +29 -0
- data/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +46 -0
- data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +62 -0
- data/lib/fog/aws/requests/cloud_watch/put_metric_alarm.rb +93 -0
- data/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +72 -0
- data/lib/fog/aws/requests/cloud_watch/set_alarm_state.rb +30 -0
- data/lib/fog/aws/requests/compute/allocate_address.rb +55 -0
- data/lib/fog/aws/requests/compute/assign_private_ip_addresses.rb +55 -0
- data/lib/fog/aws/requests/compute/associate_address.rb +126 -0
- data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +53 -0
- data/lib/fog/aws/requests/compute/associate_route_table.rb +70 -0
- data/lib/fog/aws/requests/compute/attach_internet_gateway.rb +52 -0
- data/lib/fog/aws/requests/compute/attach_network_interface.rb +61 -0
- data/lib/fog/aws/requests/compute/attach_volume.rb +83 -0
- data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +230 -0
- data/lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb +32 -0
- data/lib/fog/aws/requests/compute/copy_image.rb +59 -0
- data/lib/fog/aws/requests/compute/copy_snapshot.rb +54 -0
- data/lib/fog/aws/requests/compute/create_dhcp_options.rb +74 -0
- data/lib/fog/aws/requests/compute/create_image.rb +91 -0
- data/lib/fog/aws/requests/compute/create_internet_gateway.rb +52 -0
- data/lib/fog/aws/requests/compute/create_key_pair.rb +52 -0
- data/lib/fog/aws/requests/compute/create_network_acl.rb +105 -0
- data/lib/fog/aws/requests/compute/create_network_acl_entry.rb +80 -0
- data/lib/fog/aws/requests/compute/create_network_interface.rb +134 -0
- data/lib/fog/aws/requests/compute/create_placement_group.rb +31 -0
- data/lib/fog/aws/requests/compute/create_route.rb +87 -0
- data/lib/fog/aws/requests/compute/create_route_table.rb +69 -0
- data/lib/fog/aws/requests/compute/create_security_group.rb +60 -0
- data/lib/fog/aws/requests/compute/create_snapshot.rb +70 -0
- data/lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb +39 -0
- data/lib/fog/aws/requests/compute/create_subnet.rb +102 -0
- data/lib/fog/aws/requests/compute/create_tags.rb +65 -0
- data/lib/fog/aws/requests/compute/create_volume.rb +124 -0
- data/lib/fog/aws/requests/compute/create_vpc.rb +94 -0
- data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +50 -0
- data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +48 -0
- data/lib/fog/aws/requests/compute/delete_key_pair.rb +43 -0
- data/lib/fog/aws/requests/compute/delete_network_acl.rb +52 -0
- data/lib/fog/aws/requests/compute/delete_network_acl_entry.rb +55 -0
- data/lib/fog/aws/requests/compute/delete_network_interface.rb +51 -0
- data/lib/fog/aws/requests/compute/delete_placement_group.rb +30 -0
- data/lib/fog/aws/requests/compute/delete_route.rb +57 -0
- data/lib/fog/aws/requests/compute/delete_route_table.rb +49 -0
- data/lib/fog/aws/requests/compute/delete_security_group.rb +100 -0
- data/lib/fog/aws/requests/compute/delete_snapshot.rb +46 -0
- data/lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb +26 -0
- data/lib/fog/aws/requests/compute/delete_subnet.rb +49 -0
- data/lib/fog/aws/requests/compute/delete_tags.rb +67 -0
- data/lib/fog/aws/requests/compute/delete_volume.rb +52 -0
- data/lib/fog/aws/requests/compute/delete_vpc.rb +56 -0
- data/lib/fog/aws/requests/compute/deregister_image.rb +49 -0
- data/lib/fog/aws/requests/compute/describe_account_attributes.rb +48 -0
- data/lib/fog/aws/requests/compute/describe_addresses.rb +62 -0
- data/lib/fog/aws/requests/compute/describe_availability_zones.rb +94 -0
- data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +54 -0
- data/lib/fog/aws/requests/compute/describe_images.rb +126 -0
- data/lib/fog/aws/requests/compute/describe_instance_status.rb +46 -0
- data/lib/fog/aws/requests/compute/describe_instances.rb +265 -0
- data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +59 -0
- data/lib/fog/aws/requests/compute/describe_key_pairs.rb +64 -0
- data/lib/fog/aws/requests/compute/describe_network_acls.rb +108 -0
- data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +66 -0
- data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +85 -0
- data/lib/fog/aws/requests/compute/describe_placement_groups.rb +33 -0
- data/lib/fog/aws/requests/compute/describe_regions.rb +64 -0
- data/lib/fog/aws/requests/compute/describe_reserved_instances.rb +59 -0
- data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +80 -0
- data/lib/fog/aws/requests/compute/describe_route_tables.rb +86 -0
- data/lib/fog/aws/requests/compute/describe_security_groups.rb +98 -0
- data/lib/fog/aws/requests/compute/describe_snapshots.rb +120 -0
- data/lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb +33 -0
- data/lib/fog/aws/requests/compute/describe_spot_instance_requests.rb +46 -0
- data/lib/fog/aws/requests/compute/describe_spot_price_history.rb +35 -0
- data/lib/fog/aws/requests/compute/describe_subnets.rb +71 -0
- data/lib/fog/aws/requests/compute/describe_tags.rb +104 -0
- data/lib/fog/aws/requests/compute/describe_volume_status.rb +43 -0
- data/lib/fog/aws/requests/compute/describe_volumes.rb +118 -0
- data/lib/fog/aws/requests/compute/describe_vpc_attribute.rb +55 -0
- data/lib/fog/aws/requests/compute/describe_vpcs.rb +74 -0
- data/lib/fog/aws/requests/compute/detach_internet_gateway.rb +52 -0
- data/lib/fog/aws/requests/compute/detach_network_interface.rb +48 -0
- data/lib/fog/aws/requests/compute/detach_volume.rb +61 -0
- data/lib/fog/aws/requests/compute/disassociate_address.rb +55 -0
- data/lib/fog/aws/requests/compute/disassociate_route_table.rb +54 -0
- data/lib/fog/aws/requests/compute/get_console_output.rb +50 -0
- data/lib/fog/aws/requests/compute/get_password_data.rb +52 -0
- data/lib/fog/aws/requests/compute/import_key_pair.rb +52 -0
- data/lib/fog/aws/requests/compute/modify_image_attribute.rb +70 -0
- data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +42 -0
- data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +89 -0
- data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +35 -0
- data/lib/fog/aws/requests/compute/modify_subnet_attribute.rb +58 -0
- data/lib/fog/aws/requests/compute/modify_volume_attribute.rb +48 -0
- data/lib/fog/aws/requests/compute/modify_vpc_attribute.rb +66 -0
- data/lib/fog/aws/requests/compute/monitor_instances.rb +48 -0
- data/lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb +62 -0
- data/lib/fog/aws/requests/compute/reboot_instances.rb +50 -0
- data/lib/fog/aws/requests/compute/register_image.rb +133 -0
- data/lib/fog/aws/requests/compute/release_address.rb +59 -0
- data/lib/fog/aws/requests/compute/replace_network_acl_association.rb +66 -0
- data/lib/fog/aws/requests/compute/replace_network_acl_entry.rb +81 -0
- data/lib/fog/aws/requests/compute/replace_route.rb +80 -0
- data/lib/fog/aws/requests/compute/request_spot_instances.rb +96 -0
- data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +56 -0
- data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +98 -0
- data/lib/fog/aws/requests/compute/run_instances.rb +274 -0
- data/lib/fog/aws/requests/compute/start_instances.rb +58 -0
- data/lib/fog/aws/requests/compute/stop_instances.rb +59 -0
- data/lib/fog/aws/requests/compute/terminate_instances.rb +92 -0
- data/lib/fog/aws/requests/compute/unmonitor_instances.rb +48 -0
- data/lib/fog/aws/requests/data_pipeline/activate_pipeline.rb +31 -0
- data/lib/fog/aws/requests/data_pipeline/create_pipeline.rb +39 -0
- data/lib/fog/aws/requests/data_pipeline/delete_pipeline.rb +30 -0
- data/lib/fog/aws/requests/data_pipeline/describe_objects.rb +38 -0
- data/lib/fog/aws/requests/data_pipeline/describe_pipelines.rb +32 -0
- data/lib/fog/aws/requests/data_pipeline/get_pipeline_definition.rb +33 -0
- data/lib/fog/aws/requests/data_pipeline/list_pipelines.rb +32 -0
- data/lib/fog/aws/requests/data_pipeline/put_pipeline_definition.rb +76 -0
- data/lib/fog/aws/requests/data_pipeline/query_objects.rb +38 -0
- data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +243 -0
- data/lib/fog/aws/requests/dns/create_health_check.rb +64 -0
- data/lib/fog/aws/requests/dns/create_hosted_zone.rb +108 -0
- data/lib/fog/aws/requests/dns/delete_health_check.rb +24 -0
- data/lib/fog/aws/requests/dns/delete_hosted_zone.rb +66 -0
- data/lib/fog/aws/requests/dns/get_change.rb +59 -0
- data/lib/fog/aws/requests/dns/get_health_check.rb +41 -0
- data/lib/fog/aws/requests/dns/get_hosted_zone.rb +61 -0
- data/lib/fog/aws/requests/dns/list_health_checks.rb +36 -0
- data/lib/fog/aws/requests/dns/list_hosted_zones.rb +88 -0
- data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +130 -0
- data/lib/fog/aws/requests/dynamodb/batch_get_item.rb +41 -0
- data/lib/fog/aws/requests/dynamodb/batch_write_item.rb +33 -0
- data/lib/fog/aws/requests/dynamodb/create_table.rb +53 -0
- data/lib/fog/aws/requests/dynamodb/delete_item.rb +43 -0
- data/lib/fog/aws/requests/dynamodb/delete_table.rb +40 -0
- data/lib/fog/aws/requests/dynamodb/describe_table.rb +42 -0
- data/lib/fog/aws/requests/dynamodb/get_item.rb +41 -0
- data/lib/fog/aws/requests/dynamodb/list_tables.rb +27 -0
- data/lib/fog/aws/requests/dynamodb/put_item.rb +39 -0
- data/lib/fog/aws/requests/dynamodb/query.rb +42 -0
- data/lib/fog/aws/requests/dynamodb/scan.rb +43 -0
- data/lib/fog/aws/requests/dynamodb/update_item.rb +47 -0
- data/lib/fog/aws/requests/dynamodb/update_table.rb +44 -0
- data/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +57 -0
- data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +94 -0
- data/lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb +52 -0
- data/lib/fog/aws/requests/elasticache/create_cache_security_group.rb +51 -0
- data/lib/fog/aws/requests/elasticache/create_cache_subnet_group.rb +60 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_cluster.rb +38 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb +40 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_security_group.rb +39 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_subnet_group.rb +39 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb +51 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb +47 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_parameters.rb +34 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb +64 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_subnet_groups.rb +59 -0
- data/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb +33 -0
- data/lib/fog/aws/requests/elasticache/describe_events.rb +47 -0
- data/lib/fog/aws/requests/elasticache/describe_reserved_cache_nodes.rb +38 -0
- data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +99 -0
- data/lib/fog/aws/requests/elasticache/modify_cache_parameter_group.rb +43 -0
- data/lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb +49 -0
- data/lib/fog/aws/requests/elasticache/reset_cache_parameter_group.rb +44 -0
- data/lib/fog/aws/requests/elasticache/revoke_cache_security_group_ingress.rb +35 -0
- data/lib/fog/aws/requests/elb/add_tags.rb +46 -0
- data/lib/fog/aws/requests/elb/apply_security_groups_to_load_balancer.rb +58 -0
- data/lib/fog/aws/requests/elb/attach_load_balancer_to_subnets.rb +58 -0
- data/lib/fog/aws/requests/elb/configure_health_check.rb +63 -0
- data/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +52 -0
- data/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +54 -0
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +206 -0
- data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +86 -0
- data/lib/fog/aws/requests/elb/create_load_balancer_policy.rb +80 -0
- data/lib/fog/aws/requests/elb/delete_load_balancer.rb +49 -0
- data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +48 -0
- data/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +52 -0
- data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +61 -0
- data/lib/fog/aws/requests/elb/describe_instance_health.rb +70 -0
- data/lib/fog/aws/requests/elb/describe_load_balancer_attributes.rb +58 -0
- data/lib/fog/aws/requests/elb/describe_load_balancer_policies.rb +69 -0
- data/lib/fog/aws/requests/elb/describe_load_balancer_policy_types.rb +66 -0
- data/lib/fog/aws/requests/elb/describe_load_balancers.rb +137 -0
- data/lib/fog/aws/requests/elb/describe_tags.rb +56 -0
- data/lib/fog/aws/requests/elb/detach_load_balancer_from_subnets.rb +58 -0
- data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +57 -0
- data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +58 -0
- data/lib/fog/aws/requests/elb/modify_load_balancer_attributes.rb +65 -0
- data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +62 -0
- data/lib/fog/aws/requests/elb/remove_tags.rb +46 -0
- data/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +65 -0
- data/lib/fog/aws/requests/elb/set_load_balancer_policies_for_backend_server.rb +66 -0
- data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +78 -0
- data/lib/fog/aws/requests/emr/add_instance_groups.rb +42 -0
- data/lib/fog/aws/requests/emr/add_job_flow_steps.rb +45 -0
- data/lib/fog/aws/requests/emr/describe_job_flows.rb +104 -0
- data/lib/fog/aws/requests/emr/modify_instance_groups.rb +36 -0
- data/lib/fog/aws/requests/emr/run_job_flow.rb +104 -0
- data/lib/fog/aws/requests/emr/set_termination_protection.rb +35 -0
- data/lib/fog/aws/requests/emr/terminate_job_flows.rb +33 -0
- data/lib/fog/aws/requests/glacier/abort_multipart_upload.rb +33 -0
- data/lib/fog/aws/requests/glacier/complete_multipart_upload.rb +40 -0
- data/lib/fog/aws/requests/glacier/create_archive.rb +41 -0
- data/lib/fog/aws/requests/glacier/create_vault.rb +32 -0
- data/lib/fog/aws/requests/glacier/delete_archive.rb +33 -0
- data/lib/fog/aws/requests/glacier/delete_vault.rb +32 -0
- data/lib/fog/aws/requests/glacier/delete_vault_notification_configuration.rb +31 -0
- data/lib/fog/aws/requests/glacier/describe_job.rb +33 -0
- data/lib/fog/aws/requests/glacier/describe_vault.rb +32 -0
- data/lib/fog/aws/requests/glacier/get_job_output.rb +39 -0
- data/lib/fog/aws/requests/glacier/get_vault_notification_configuration.rb +32 -0
- data/lib/fog/aws/requests/glacier/initiate_job.rb +39 -0
- data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +36 -0
- data/lib/fog/aws/requests/glacier/list_jobs.rb +36 -0
- data/lib/fog/aws/requests/glacier/list_multipart_uploads.rb +34 -0
- data/lib/fog/aws/requests/glacier/list_parts.rb +35 -0
- data/lib/fog/aws/requests/glacier/list_vaults.rb +34 -0
- data/lib/fog/aws/requests/glacier/set_vault_notification_configuration.rb +35 -0
- data/lib/fog/aws/requests/glacier/upload_part.rb +44 -0
- data/lib/fog/aws/requests/iam/add_role_to_instance_profile.rb +32 -0
- data/lib/fog/aws/requests/iam/add_user_to_group.rb +54 -0
- data/lib/fog/aws/requests/iam/create_access_key.rb +66 -0
- data/lib/fog/aws/requests/iam/create_account_alias.rb +17 -0
- data/lib/fog/aws/requests/iam/create_group.rb +56 -0
- data/lib/fog/aws/requests/iam/create_instance_profile.rb +45 -0
- data/lib/fog/aws/requests/iam/create_login_profile.rb +34 -0
- data/lib/fog/aws/requests/iam/create_role.rb +55 -0
- data/lib/fog/aws/requests/iam/create_user.rb +59 -0
- data/lib/fog/aws/requests/iam/delete_access_key.rb +47 -0
- data/lib/fog/aws/requests/iam/delete_account_alias.rb +17 -0
- data/lib/fog/aws/requests/iam/delete_account_password_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/delete_group.rb +48 -0
- data/lib/fog/aws/requests/iam/delete_group_policy.rb +32 -0
- data/lib/fog/aws/requests/iam/delete_instance_profile.rb +30 -0
- data/lib/fog/aws/requests/iam/delete_login_profile.rb +29 -0
- data/lib/fog/aws/requests/iam/delete_role.rb +30 -0
- data/lib/fog/aws/requests/iam/delete_role_policy.rb +32 -0
- data/lib/fog/aws/requests/iam/delete_server_certificate.rb +46 -0
- data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +31 -0
- data/lib/fog/aws/requests/iam/delete_user.rb +44 -0
- data/lib/fog/aws/requests/iam/delete_user_policy.rb +46 -0
- data/lib/fog/aws/requests/iam/get_account_password_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/get_account_summary.rb +75 -0
- data/lib/fog/aws/requests/iam/get_group.rb +60 -0
- data/lib/fog/aws/requests/iam/get_group_policy.rb +51 -0
- data/lib/fog/aws/requests/iam/get_instance_profile.rb +40 -0
- data/lib/fog/aws/requests/iam/get_login_profile.rb +33 -0
- data/lib/fog/aws/requests/iam/get_role.rb +36 -0
- data/lib/fog/aws/requests/iam/get_role_policy.rb +34 -0
- data/lib/fog/aws/requests/iam/get_server_certificate.rb +45 -0
- data/lib/fog/aws/requests/iam/get_user.rb +55 -0
- data/lib/fog/aws/requests/iam/get_user_policy.rb +51 -0
- data/lib/fog/aws/requests/iam/list_access_keys.rb +62 -0
- data/lib/fog/aws/requests/iam/list_account_aliases.rb +16 -0
- data/lib/fog/aws/requests/iam/list_group_policies.rb +37 -0
- data/lib/fog/aws/requests/iam/list_groups.rb +57 -0
- data/lib/fog/aws/requests/iam/list_groups_for_user.rb +65 -0
- data/lib/fog/aws/requests/iam/list_instance_profiles.rb +48 -0
- data/lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb +49 -0
- data/lib/fog/aws/requests/iam/list_mfa_devices.rb +55 -0
- data/lib/fog/aws/requests/iam/list_role_policies.rb +37 -0
- data/lib/fog/aws/requests/iam/list_roles.rb +41 -0
- data/lib/fog/aws/requests/iam/list_server_certificates.rb +54 -0
- data/lib/fog/aws/requests/iam/list_signing_certificates.rb +36 -0
- data/lib/fog/aws/requests/iam/list_user_policies.rb +53 -0
- data/lib/fog/aws/requests/iam/list_users.rb +58 -0
- data/lib/fog/aws/requests/iam/put_group_policy.rb +50 -0
- data/lib/fog/aws/requests/iam/put_role_policy.rb +34 -0
- data/lib/fog/aws/requests/iam/put_user_policy.rb +51 -0
- data/lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb +33 -0
- data/lib/fog/aws/requests/iam/remove_user_from_group.rb +50 -0
- data/lib/fog/aws/requests/iam/update_access_key.rb +55 -0
- data/lib/fog/aws/requests/iam/update_account_password_policy.rb +56 -0
- data/lib/fog/aws/requests/iam/update_group.rb +37 -0
- data/lib/fog/aws/requests/iam/update_login_profile.rb +31 -0
- data/lib/fog/aws/requests/iam/update_server_certificate.rb +63 -0
- data/lib/fog/aws/requests/iam/update_signing_certificate.rb +31 -0
- data/lib/fog/aws/requests/iam/update_user.rb +37 -0
- data/lib/fog/aws/requests/iam/upload_server_certificate.rb +95 -0
- data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +36 -0
- data/lib/fog/aws/requests/rds/add_tags_to_resource.rb +42 -0
- data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +65 -0
- data/lib/fog/aws/requests/rds/create_db_instance.rb +132 -0
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +77 -0
- data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +53 -0
- data/lib/fog/aws/requests/rds/create_db_security_group.rb +49 -0
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +68 -0
- data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +61 -0
- data/lib/fog/aws/requests/rds/create_event_subscription.rb +67 -0
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +51 -0
- data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +41 -0
- data/lib/fog/aws/requests/rds/delete_db_security_group.rb +40 -0
- data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +42 -0
- data/lib/fog/aws/requests/rds/delete_db_subnet_group.rb +38 -0
- data/lib/fog/aws/requests/rds/delete_event_subscription.rb +44 -0
- data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +30 -0
- data/lib/fog/aws/requests/rds/describe_db_instances.rb +89 -0
- data/lib/fog/aws/requests/rds/describe_db_log_files.rb +64 -0
- data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +58 -0
- data/lib/fog/aws/requests/rds/describe_db_parameters.rb +42 -0
- data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +38 -0
- data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +80 -0
- data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +66 -0
- data/lib/fog/aws/requests/rds/describe_db_subnet_groups.rb +59 -0
- data/lib/fog/aws/requests/rds/describe_event_subscriptions.rb +61 -0
- data/lib/fog/aws/requests/rds/describe_events.rb +50 -0
- data/lib/fog/aws/requests/rds/describe_orderable_db_instance_options.rb +72 -0
- data/lib/fog/aws/requests/rds/download_db_logfile_portion.rb +58 -0
- data/lib/fog/aws/requests/rds/list_tags_for_resource.rb +40 -0
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +81 -0
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +50 -0
- data/lib/fog/aws/requests/rds/promote_read_replica.rb +59 -0
- data/lib/fog/aws/requests/rds/reboot_db_instance.rb +47 -0
- data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +40 -0
- data/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +29 -0
- data/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +29 -0
- data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +63 -0
- data/lib/fog/aws/requests/redshift/authorize_cluster_security_group_ingress.rb +54 -0
- data/lib/fog/aws/requests/redshift/authorize_snapshot_access.rb +42 -0
- data/lib/fog/aws/requests/redshift/copy_cluster_snapshot.rb +46 -0
- data/lib/fog/aws/requests/redshift/create_cluster.rb +148 -0
- data/lib/fog/aws/requests/redshift/create_cluster_parameter_group.rb +53 -0
- data/lib/fog/aws/requests/redshift/create_cluster_security_group.rb +41 -0
- data/lib/fog/aws/requests/redshift/create_cluster_snapshot.rb +43 -0
- data/lib/fog/aws/requests/redshift/create_cluster_subnet_group.rb +49 -0
- data/lib/fog/aws/requests/redshift/delete_cluster.rb +50 -0
- data/lib/fog/aws/requests/redshift/delete_cluster_parameter_group.rb +33 -0
- data/lib/fog/aws/requests/redshift/delete_cluster_security_group.rb +32 -0
- data/lib/fog/aws/requests/redshift/delete_cluster_snapshot.rb +43 -0
- data/lib/fog/aws/requests/redshift/delete_cluster_subnet_group.rb +36 -0
- data/lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb +47 -0
- data/lib/fog/aws/requests/redshift/describe_cluster_parameters.rb +54 -0
- data/lib/fog/aws/requests/redshift/describe_cluster_security_groups.rb +49 -0
- data/lib/fog/aws/requests/redshift/describe_cluster_snapshots.rb +72 -0
- data/lib/fog/aws/requests/redshift/describe_cluster_subnet_groups.rb +46 -0
- data/lib/fog/aws/requests/redshift/describe_cluster_versions.rb +53 -0
- data/lib/fog/aws/requests/redshift/describe_clusters.rb +49 -0
- data/lib/fog/aws/requests/redshift/describe_default_cluster_parameters.rb +48 -0
- data/lib/fog/aws/requests/redshift/describe_events.rb +79 -0
- data/lib/fog/aws/requests/redshift/describe_orderable_cluster_options.rb +54 -0
- data/lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb +47 -0
- data/lib/fog/aws/requests/redshift/describe_reserved_nodes.rb +47 -0
- data/lib/fog/aws/requests/redshift/describe_resize.rb +38 -0
- data/lib/fog/aws/requests/redshift/modify_cluster.rb +109 -0
- data/lib/fog/aws/requests/redshift/modify_cluster_parameter_group.rb +44 -0
- data/lib/fog/aws/requests/redshift/modify_cluster_subnet_group.rb +49 -0
- data/lib/fog/aws/requests/redshift/purchase_reserved_node_offering.rb +39 -0
- data/lib/fog/aws/requests/redshift/reboot_cluster.rb +36 -0
- data/lib/fog/aws/requests/redshift/reset_cluster_parameter_group.rb +55 -0
- data/lib/fog/aws/requests/redshift/restore_from_cluster_snapshot.rb +76 -0
- data/lib/fog/aws/requests/redshift/revoke_cluster_security_group_ingress.rb +54 -0
- data/lib/fog/aws/requests/redshift/revoke_snapshot_access.rb +43 -0
- data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +26 -0
- data/lib/fog/aws/requests/ses/get_send_quota.rb +29 -0
- data/lib/fog/aws/requests/ses/get_send_statistics.rb +32 -0
- data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +26 -0
- data/lib/fog/aws/requests/ses/send_email.rb +71 -0
- data/lib/fog/aws/requests/ses/send_raw_email.rb +39 -0
- data/lib/fog/aws/requests/ses/verify_domain_identity.rb +28 -0
- data/lib/fog/aws/requests/ses/verify_email_address.rb +26 -0
- data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +60 -0
- data/lib/fog/aws/requests/simpledb/create_domain.rb +40 -0
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +69 -0
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +41 -0
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +72 -0
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +80 -0
- data/lib/fog/aws/requests/simpledb/list_domains.rb +55 -0
- data/lib/fog/aws/requests/simpledb/put_attributes.rb +74 -0
- data/lib/fog/aws/requests/simpledb/select.rb +41 -0
- data/lib/fog/aws/requests/sns/add_permission.rb +22 -0
- data/lib/fog/aws/requests/sns/confirm_subscription.rb +30 -0
- data/lib/fog/aws/requests/sns/create_topic.rb +47 -0
- data/lib/fog/aws/requests/sns/delete_topic.rb +36 -0
- data/lib/fog/aws/requests/sns/get_topic_attributes.rb +36 -0
- data/lib/fog/aws/requests/sns/list_subscriptions.rb +35 -0
- data/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +39 -0
- data/lib/fog/aws/requests/sns/list_topics.rb +35 -0
- data/lib/fog/aws/requests/sns/publish.rb +31 -0
- data/lib/fog/aws/requests/sns/remove_permission.rb +22 -0
- data/lib/fog/aws/requests/sns/set_topic_attributes.rb +45 -0
- data/lib/fog/aws/requests/sns/subscribe.rb +60 -0
- data/lib/fog/aws/requests/sns/unsubscribe.rb +26 -0
- data/lib/fog/aws/requests/sqs/change_message_visibility.rb +58 -0
- data/lib/fog/aws/requests/sqs/create_queue.rb +62 -0
- data/lib/fog/aws/requests/sqs/delete_message.rb +56 -0
- data/lib/fog/aws/requests/sqs/delete_queue.rb +47 -0
- data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +48 -0
- data/lib/fog/aws/requests/sqs/list_queues.rb +41 -0
- data/lib/fog/aws/requests/sqs/receive_message.rb +83 -0
- data/lib/fog/aws/requests/sqs/send_message.rb +65 -0
- data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +49 -0
- data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +45 -0
- data/lib/fog/aws/requests/storage/acl_utils.rb +60 -0
- data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +73 -0
- data/lib/fog/aws/requests/storage/copy_object.rb +77 -0
- data/lib/fog/aws/requests/storage/cors_utils.rb +39 -0
- data/lib/fog/aws/requests/storage/delete_bucket.rb +42 -0
- data/lib/fog/aws/requests/storage/delete_bucket_cors.rb +26 -0
- data/lib/fog/aws/requests/storage/delete_bucket_lifecycle.rb +26 -0
- data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +26 -0
- data/lib/fog/aws/requests/storage/delete_bucket_tagging.rb +41 -0
- data/lib/fog/aws/requests/storage/delete_bucket_website.rb +26 -0
- data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +164 -0
- data/lib/fog/aws/requests/storage/delete_object.rb +115 -0
- data/lib/fog/aws/requests/storage/get_bucket.rb +108 -0
- data/lib/fog/aws/requests/storage/get_bucket_acl.rb +65 -0
- data/lib/fog/aws/requests/storage/get_bucket_cors.rb +61 -0
- data/lib/fog/aws/requests/storage/get_bucket_lifecycle.rb +35 -0
- data/lib/fog/aws/requests/storage/get_bucket_location.rb +55 -0
- data/lib/fog/aws/requests/storage/get_bucket_logging.rb +45 -0
- data/lib/fog/aws/requests/storage/get_bucket_notification.rb +60 -0
- data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +160 -0
- data/lib/fog/aws/requests/storage/get_bucket_policy.rb +31 -0
- data/lib/fog/aws/requests/storage/get_bucket_tagging.rb +49 -0
- data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +68 -0
- data/lib/fog/aws/requests/storage/get_bucket_website.rb +38 -0
- data/lib/fog/aws/requests/storage/get_object.rb +189 -0
- data/lib/fog/aws/requests/storage/get_object_acl.rb +76 -0
- data/lib/fog/aws/requests/storage/get_object_http_url.rb +30 -0
- data/lib/fog/aws/requests/storage/get_object_https_url.rb +30 -0
- data/lib/fog/aws/requests/storage/get_object_torrent.rb +45 -0
- data/lib/fog/aws/requests/storage/get_object_url.rb +40 -0
- data/lib/fog/aws/requests/storage/get_request_payment.rb +45 -0
- data/lib/fog/aws/requests/storage/get_service.rb +50 -0
- data/lib/fog/aws/requests/storage/head_bucket.rb +38 -0
- data/lib/fog/aws/requests/storage/head_object.rb +62 -0
- data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +66 -0
- data/lib/fog/aws/requests/storage/list_multipart_uploads.rb +52 -0
- data/lib/fog/aws/requests/storage/list_parts.rb +53 -0
- data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +54 -0
- data/lib/fog/aws/requests/storage/post_object_restore.rb +50 -0
- data/lib/fog/aws/requests/storage/put_bucket.rb +73 -0
- data/lib/fog/aws/requests/storage/put_bucket_acl.rb +69 -0
- data/lib/fog/aws/requests/storage/put_bucket_cors.rb +47 -0
- data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +76 -0
- data/lib/fog/aws/requests/storage/put_bucket_logging.rb +80 -0
- data/lib/fog/aws/requests/storage/put_bucket_notification.rb +83 -0
- data/lib/fog/aws/requests/storage/put_bucket_policy.rb +25 -0
- data/lib/fog/aws/requests/storage/put_bucket_tagging.rb +55 -0
- data/lib/fog/aws/requests/storage/put_bucket_versioning.rb +74 -0
- data/lib/fog/aws/requests/storage/put_bucket_website.rb +87 -0
- data/lib/fog/aws/requests/storage/put_object.rb +87 -0
- data/lib/fog/aws/requests/storage/put_object_acl.rb +78 -0
- data/lib/fog/aws/requests/storage/put_object_url.rb +41 -0
- data/lib/fog/aws/requests/storage/put_request_payment.rb +45 -0
- data/lib/fog/aws/requests/storage/shared_mock_methods.rb +87 -0
- data/lib/fog/aws/requests/storage/sync_clock.rb +24 -0
- data/lib/fog/aws/requests/storage/upload_part.rb +57 -0
- data/lib/fog/aws/requests/sts/assume_role.rb +44 -0
- data/lib/fog/aws/requests/sts/assume_role_with_saml.rb +44 -0
- data/lib/fog/aws/requests/sts/get_federation_token.rb +62 -0
- data/lib/fog/aws/requests/sts/get_session_token.rb +18 -0
- data/lib/fog/aws/ses.rb +141 -0
- data/lib/fog/aws/signaturev4.rb +119 -0
- data/lib/fog/aws/simpledb.rb +211 -0
- data/lib/fog/aws/sns.rb +156 -0
- data/lib/fog/aws/sqs.rb +164 -0
- data/lib/fog/aws/storage.rb +690 -0
- data/lib/fog/aws/sts.rb +185 -0
- data/lib/fog/aws/version.rb +5 -0
- data/tests/credentials_tests.rb +55 -0
- data/tests/helper.rb +28 -0
- data/tests/helpers/collection_helper.rb +97 -0
- data/tests/helpers/compute/flavors_helper.rb +32 -0
- data/tests/helpers/compute/server_helper.rb +25 -0
- data/tests/helpers/compute/servers_helper.rb +10 -0
- data/tests/helpers/dns_helper.rb +55 -0
- data/tests/helpers/formats_helper.rb +98 -0
- data/tests/helpers/formats_helper_tests.rb +110 -0
- data/tests/helpers/mock_helper.rb +110 -0
- data/tests/helpers/model_helper.rb +31 -0
- data/tests/helpers/responds_to_helper.rb +11 -0
- data/tests/helpers/schema_validator_tests.rb +107 -0
- data/tests/helpers/succeeds_helper.rb +9 -0
- data/tests/lorem.txt +1 -0
- data/tests/models/auto_scaling/activities_tests.rb +6 -0
- data/tests/models/auto_scaling/configuration_test.rb +13 -0
- data/tests/models/auto_scaling/configurations_tests.rb +11 -0
- data/tests/models/auto_scaling/groups_test.rb +27 -0
- data/tests/models/auto_scaling/helper.rb +0 -0
- data/tests/models/auto_scaling/instance_tests.rb +15 -0
- data/tests/models/auto_scaling/instances_tests.rb +6 -0
- data/tests/models/beanstalk/application_tests.rb +69 -0
- data/tests/models/beanstalk/applications_tests.rb +7 -0
- data/tests/models/beanstalk/environment_tests.rb +131 -0
- data/tests/models/beanstalk/environments_tests.rb +34 -0
- data/tests/models/beanstalk/template_tests.rb +47 -0
- data/tests/models/beanstalk/templates_tests.rb +62 -0
- data/tests/models/beanstalk/version_tests.rb +66 -0
- data/tests/models/beanstalk/versions_tests.rb +60 -0
- data/tests/models/cdn/distribution_tests.rb +15 -0
- data/tests/models/cdn/distributions_tests.rb +15 -0
- data/tests/models/cdn/invalidation_tests.rb +31 -0
- data/tests/models/cdn/invalidations_tests.rb +14 -0
- data/tests/models/cdn/streaming_distribution_tests.rb +15 -0
- data/tests/models/cdn/streaming_distributions_tests.rb +15 -0
- data/tests/models/cloud_watch/alarm_data_tests.rb +42 -0
- data/tests/models/cloud_watch/alarm_history_tests.rb +22 -0
- data/tests/models/cloud_watch/metric_statistics_tests.rb +51 -0
- data/tests/models/cloud_watch/metrics_tests.rb +32 -0
- data/tests/models/compute/address_tests.rb +24 -0
- data/tests/models/compute/addresses_tests.rb +5 -0
- data/tests/models/compute/dhcp_option_tests.rb +3 -0
- data/tests/models/compute/dhcp_options_tests.rb +3 -0
- data/tests/models/compute/internet_gateway_tests.rb +3 -0
- data/tests/models/compute/internet_gateways_tests.rb +3 -0
- data/tests/models/compute/key_pair_tests.rb +26 -0
- data/tests/models/compute/key_pairs_tests.rb +5 -0
- data/tests/models/compute/network_acl_tests.rb +109 -0
- data/tests/models/compute/network_acls_tests.rb +20 -0
- data/tests/models/compute/network_interfaces_test.rb +12 -0
- data/tests/models/compute/security_group_tests.rb +64 -0
- data/tests/models/compute/security_groups_tests.rb +5 -0
- data/tests/models/compute/server_tests.rb +83 -0
- data/tests/models/compute/snapshot_tests.rb +10 -0
- data/tests/models/compute/snapshots_tests.rb +10 -0
- data/tests/models/compute/subnet_tests.rb +5 -0
- data/tests/models/compute/subnets_tests.rb +5 -0
- data/tests/models/compute/volume_tests.rb +43 -0
- data/tests/models/compute/volumes_tests.rb +5 -0
- data/tests/models/compute/vpc_tests.rb +4 -0
- data/tests/models/compute/vpcs_tests.rb +19 -0
- data/tests/models/data_pipeline/pipeline_tests.rb +8 -0
- data/tests/models/data_pipeline/pipelines_tests.rb +8 -0
- data/tests/models/dns/record_tests.rb +33 -0
- data/tests/models/dns/records_tests.rb +41 -0
- data/tests/models/dns/zone_tests.rb +4 -0
- data/tests/models/dns/zones_tests.rb +4 -0
- data/tests/models/elasticache/cluster_tests.rb +30 -0
- data/tests/models/elasticache/parameter_groups_tests.rb +15 -0
- data/tests/models/elasticache/security_groups_tests.rb +52 -0
- data/tests/models/elasticache/subnet_groups_tests.rb +44 -0
- data/tests/models/elb/model_tests.rb +360 -0
- data/tests/models/elb/tagging_tests.rb +15 -0
- data/tests/models/glacier/model_tests.rb +47 -0
- data/tests/models/iam/access_keys_tests.rb +53 -0
- data/tests/models/iam/policies_tests.rb +57 -0
- data/tests/models/iam/roles_tests.rb +63 -0
- data/tests/models/iam/users_tests.rb +71 -0
- data/tests/models/rds/event_subscription_tests.rb +9 -0
- data/tests/models/rds/event_subscriptions_tests.rb +6 -0
- data/tests/models/rds/helper.rb +5 -0
- data/tests/models/rds/instance_option_tests.rb +14 -0
- data/tests/models/rds/parameter_group_tests.rb +24 -0
- data/tests/models/rds/parameter_groups_tests.rb +8 -0
- data/tests/models/rds/security_group_tests.rb +53 -0
- data/tests/models/rds/security_groups_tests.rb +5 -0
- data/tests/models/rds/server_tests.rb +110 -0
- data/tests/models/rds/servers_tests.rb +6 -0
- data/tests/models/rds/snapshot_tests.rb +12 -0
- data/tests/models/rds/snapshots_tests.rb +12 -0
- data/tests/models/rds/tagging_tests.rb +20 -0
- data/tests/models/sns/topic_tests.rb +15 -0
- data/tests/models/sns/topics_tests.rb +6 -0
- data/tests/models/storage/directory_tests.rb +87 -0
- data/tests/models/storage/file_tests.rb +92 -0
- data/tests/models/storage/files_tests.rb +58 -0
- data/tests/models/storage/url_tests.rb +26 -0
- data/tests/models/storage/version_tests.rb +52 -0
- data/tests/models/storage/versions_tests.rb +56 -0
- data/tests/parsers/elb/describe_load_balancers.rb +65 -0
- data/tests/requests/auto_scaling/auto_scaling_tests.rb +77 -0
- data/tests/requests/auto_scaling/describe_types_tests.rb +102 -0
- data/tests/requests/auto_scaling/helper.rb +228 -0
- data/tests/requests/auto_scaling/model_tests.rb +233 -0
- data/tests/requests/auto_scaling/notification_configuration_tests.rb +124 -0
- data/tests/requests/auto_scaling/tag_tests.rb +63 -0
- data/tests/requests/beanstalk/application_tests.rb +140 -0
- data/tests/requests/beanstalk/solution_stack_tests.rb +22 -0
- data/tests/requests/cdn/cdn_tests.rb +252 -0
- data/tests/requests/cloud_formation/stack_tests.rb +167 -0
- data/tests/requests/cloud_watch/get_metric_statistics_tests.rb +28 -0
- data/tests/requests/cloud_watch/list_metrics_test.rb +64 -0
- data/tests/requests/cloud_watch/put_metric_data_tests.rb +36 -0
- data/tests/requests/compute/address_tests.rb +108 -0
- data/tests/requests/compute/assign_private_ip_tests.rb +55 -0
- data/tests/requests/compute/availability_zone_tests.rb +25 -0
- data/tests/requests/compute/client_tests.rb +25 -0
- data/tests/requests/compute/dhcp_options_tests.rb +39 -0
- data/tests/requests/compute/helper.rb +10 -0
- data/tests/requests/compute/image_tests.rb +158 -0
- data/tests/requests/compute/instance_tests.rb +297 -0
- data/tests/requests/compute/internet_gateway_tests.rb +49 -0
- data/tests/requests/compute/key_pair_tests.rb +67 -0
- data/tests/requests/compute/network_acl_tests.rb +112 -0
- data/tests/requests/compute/network_interface_tests.rb +250 -0
- data/tests/requests/compute/placement_group_tests.rb +48 -0
- data/tests/requests/compute/region_tests.rb +52 -0
- data/tests/requests/compute/route_tests.rb +339 -0
- data/tests/requests/compute/security_group_tests.rb +437 -0
- data/tests/requests/compute/snapshot_tests.rb +77 -0
- data/tests/requests/compute/spot_datafeed_subscription_tests.rb +47 -0
- data/tests/requests/compute/spot_instance_tests.rb +57 -0
- data/tests/requests/compute/spot_price_history_tests.rb +24 -0
- data/tests/requests/compute/subnet_tests.rb +85 -0
- data/tests/requests/compute/tag_tests.rb +101 -0
- data/tests/requests/compute/volume_tests.rb +206 -0
- data/tests/requests/compute/vpc_tests.rb +111 -0
- data/tests/requests/data_pipeline/helper.rb +72 -0
- data/tests/requests/data_pipeline/pipeline_tests.rb +78 -0
- data/tests/requests/dns/dns_tests.rb +257 -0
- data/tests/requests/dns/health_check_tests.rb +159 -0
- data/tests/requests/dns/helper.rb +21 -0
- data/tests/requests/dynamodb/item_tests.rb +137 -0
- data/tests/requests/dynamodb/table_tests.rb +99 -0
- data/tests/requests/elasticache/cache_cluster_tests.rb +137 -0
- data/tests/requests/elasticache/describe_events.rb +17 -0
- data/tests/requests/elasticache/describe_reserved_cache_nodes.rb +17 -0
- data/tests/requests/elasticache/helper.rb +103 -0
- data/tests/requests/elasticache/parameter_group_tests.rb +105 -0
- data/tests/requests/elasticache/security_group_tests.rb +108 -0
- data/tests/requests/elasticache/subnet_group_tests.rb +52 -0
- data/tests/requests/elb/helper.rb +91 -0
- data/tests/requests/elb/listener_tests.rb +68 -0
- data/tests/requests/elb/load_balancer_tests.rb +89 -0
- data/tests/requests/elb/policy_tests.rb +132 -0
- data/tests/requests/emr/helper.rb +168 -0
- data/tests/requests/emr/instance_group_tests.rb +106 -0
- data/tests/requests/emr/job_flow_tests.rb +88 -0
- data/tests/requests/glacier/archive_tests.rb +13 -0
- data/tests/requests/glacier/multipart_upload_tests.rb +29 -0
- data/tests/requests/glacier/tree_hash_tests.rb +62 -0
- data/tests/requests/glacier/vault_tests.rb +35 -0
- data/tests/requests/iam/access_key_tests.rb +53 -0
- data/tests/requests/iam/account_policy_tests.rb +20 -0
- data/tests/requests/iam/account_tests.rb +34 -0
- data/tests/requests/iam/group_policy_tests.rb +48 -0
- data/tests/requests/iam/group_tests.rb +44 -0
- data/tests/requests/iam/helper.rb +102 -0
- data/tests/requests/iam/login_profile_tests.rb +62 -0
- data/tests/requests/iam/mfa_tests.rb +23 -0
- data/tests/requests/iam/role_tests.rb +167 -0
- data/tests/requests/iam/server_certificate_tests.rb +130 -0
- data/tests/requests/iam/user_policy_tests.rb +45 -0
- data/tests/requests/iam/user_tests.rb +77 -0
- data/tests/requests/rds/describe_events.rb +16 -0
- data/tests/requests/rds/event_subscription_tests.rb +30 -0
- data/tests/requests/rds/helper.rb +296 -0
- data/tests/requests/rds/instance_option_tests.rb +21 -0
- data/tests/requests/rds/instance_tests.rb +133 -0
- data/tests/requests/rds/log_file_tests.rb +19 -0
- data/tests/requests/rds/parameter_group_tests.rb +62 -0
- data/tests/requests/rds/parameter_request_tests.rb +34 -0
- data/tests/requests/rds/security_group_tests.rb +101 -0
- data/tests/requests/rds/subnet_groups_tests.rb +52 -0
- data/tests/requests/rds/tagging_tests.rb +78 -0
- data/tests/requests/redshift/cluster_parameter_group_tests.rb +76 -0
- data/tests/requests/redshift/cluster_security_group_tests.rb +42 -0
- data/tests/requests/redshift/cluster_snapshot_tests.rb +73 -0
- data/tests/requests/redshift/cluster_tests.rb +80 -0
- data/tests/requests/ses/helper.rb +9 -0
- data/tests/requests/ses/verified_domain_identity_tests.rb +16 -0
- data/tests/requests/ses/verified_email_address_tests.rb +27 -0
- data/tests/requests/simpledb/attributes_tests.rb +86 -0
- data/tests/requests/simpledb/domain_tests.rb +51 -0
- data/tests/requests/simpledb/helper.rb +10 -0
- data/tests/requests/sns/helper.rb +9 -0
- data/tests/requests/sns/subscription_tests.rb +86 -0
- data/tests/requests/sns/topic_tests.rb +45 -0
- data/tests/requests/sqs/helper.rb +9 -0
- data/tests/requests/sqs/message_tests.rb +51 -0
- data/tests/requests/sqs/queue_tests.rb +50 -0
- data/tests/requests/storage/acl_utils_tests.rb +209 -0
- data/tests/requests/storage/bucket_tests.rb +399 -0
- data/tests/requests/storage/cors_utils_tests.rb +108 -0
- data/tests/requests/storage/delete_multiple_objects_tests.rb +12 -0
- data/tests/requests/storage/multipart_upload_tests.rb +121 -0
- data/tests/requests/storage/object_tests.rb +189 -0
- data/tests/requests/storage/versioning_tests.rb +258 -0
- data/tests/requests/sts/assume_role_tests.rb +19 -0
- data/tests/requests/sts/assume_role_with_saml_tests.rb +18 -0
- data/tests/requests/sts/get_federation_token_tests.rb +20 -0
- data/tests/requests/sts/session_token_tests.rb +16 -0
- data/tests/signaturev4_tests.rb +88 -0
- data/tests/signed_params_tests.rb +17 -0
- data/tests/storage_tests.rb +7 -0
- metadata +1420 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/core/collection'
|
2
|
+
require 'fog/aws/models/cloud_watch/metric_statistic'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module AWS
|
6
|
+
class CloudWatch
|
7
|
+
class MetricStatistics < Fog::Collection
|
8
|
+
model Fog::AWS::CloudWatch::MetricStatistic
|
9
|
+
|
10
|
+
def all(conditions)
|
11
|
+
metricName = conditions['MetricName']
|
12
|
+
namespace = conditions['Namespace']
|
13
|
+
dimensions = conditions['Dimensions']
|
14
|
+
get_metric_opts = {"StartTime" => (Time.now-3600).iso8601, "EndTime" => Time.now.iso8601, "Period" => 300}.merge(conditions)
|
15
|
+
data = service.get_metric_statistics(get_metric_opts).body['GetMetricStatisticsResult']['Datapoints']
|
16
|
+
data.map! { |datum| datum.merge('MetricName' => metricName, 'Namespace' => namespace, 'Dimensions' => dimensions) }
|
17
|
+
load(data) # data is an array of attribute hashes
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'fog/core/collection'
|
2
|
+
require 'fog/aws/models/cloud_watch/metric'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module AWS
|
6
|
+
class CloudWatch
|
7
|
+
class Metrics < Fog::Collection
|
8
|
+
attribute :next_token, :aliases => 'NextToken'
|
9
|
+
|
10
|
+
model Fog::AWS::CloudWatch::Metric
|
11
|
+
|
12
|
+
def all(conditions={})
|
13
|
+
result = service.list_metrics(conditions).body['ListMetricsResult']
|
14
|
+
merge_attributes("NextToken" => result["NextToken"])
|
15
|
+
load(result['Metrics']) # an array of attribute hashes
|
16
|
+
end
|
17
|
+
|
18
|
+
alias_method :each_metric_this_page, :each
|
19
|
+
def each
|
20
|
+
if !block_given?
|
21
|
+
self
|
22
|
+
else
|
23
|
+
subset = dup.all
|
24
|
+
subset.each_metric_this_page {|m| yield m }
|
25
|
+
|
26
|
+
while next_token = subset.next_token
|
27
|
+
subset = subset.all("NextToken" => next_token)
|
28
|
+
subset.each_metric_this_page {|m| yield m }
|
29
|
+
end
|
30
|
+
|
31
|
+
self
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def get(namespace, metric_name, dimensions=nil)
|
36
|
+
list_opts = {'Namespace' => namespace, 'MetricName' => metric_name}
|
37
|
+
if dimensions
|
38
|
+
dimensions_array = dimensions.map do |name, value|
|
39
|
+
{'Name' => name, 'Value' => value}
|
40
|
+
end
|
41
|
+
# list_opts.merge!('Dimensions' => dimensions_array)
|
42
|
+
end
|
43
|
+
if data = service.list_metrics(list_opts).body['ListMetricsResult']['Metrics'].first
|
44
|
+
new(data)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
require 'fog/core/model'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class AWS
|
6
|
+
class Address < Fog::Model
|
7
|
+
identity :public_ip, :aliases => 'publicIp'
|
8
|
+
|
9
|
+
attribute :allocation_id, :aliases => 'allocationId'
|
10
|
+
attribute :association_id, :aliases => 'associationId'
|
11
|
+
attribute :server_id, :aliases => 'instanceId'
|
12
|
+
attribute :network_interface_id, :aliases => 'networkInterfaceId'
|
13
|
+
attribute :network_interface_owner_id, :aliases => 'networkInterfaceOwnerId'
|
14
|
+
attribute :domain
|
15
|
+
|
16
|
+
def initialize(attributes = {})
|
17
|
+
# assign server first to prevent race condition with persisted?
|
18
|
+
self.server = attributes.delete(:server)
|
19
|
+
super
|
20
|
+
end
|
21
|
+
|
22
|
+
def destroy
|
23
|
+
requires :public_ip
|
24
|
+
|
25
|
+
service.release_address(allocation_id || public_ip)
|
26
|
+
true
|
27
|
+
end
|
28
|
+
|
29
|
+
def server=(new_server)
|
30
|
+
if new_server
|
31
|
+
associate(new_server)
|
32
|
+
else
|
33
|
+
disassociate
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def server
|
38
|
+
service.servers.get(server_id)
|
39
|
+
end
|
40
|
+
|
41
|
+
def save
|
42
|
+
raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted?
|
43
|
+
data = service.allocate_address(domain).body
|
44
|
+
new_attributes = data.reject {|key,value| key == 'requestId'}
|
45
|
+
merge_attributes(new_attributes)
|
46
|
+
if @server
|
47
|
+
self.server = @server
|
48
|
+
end
|
49
|
+
true
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def associate(new_server)
|
55
|
+
unless persisted?
|
56
|
+
@server = new_server
|
57
|
+
else
|
58
|
+
@server = nil
|
59
|
+
self.server_id = new_server.id
|
60
|
+
service.associate_address(server_id, public_ip, network_interface_id, allocation_id)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def disassociate
|
65
|
+
@server = nil
|
66
|
+
self.server_id = nil
|
67
|
+
if persisted?
|
68
|
+
service.disassociate_address(public_ip)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
require 'fog/core/collection'
|
2
|
+
require 'fog/aws/models/compute/address'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class AWS
|
7
|
+
class Addresses < Fog::Collection
|
8
|
+
attribute :filters
|
9
|
+
attribute :server
|
10
|
+
|
11
|
+
model Fog::Compute::AWS::Address
|
12
|
+
|
13
|
+
# Used to create an IP address
|
14
|
+
#
|
15
|
+
# ==== Returns
|
16
|
+
#
|
17
|
+
#>> AWS.addresses.create
|
18
|
+
# <Fog::AWS::Compute::Address
|
19
|
+
# public_ip="4.88.524.95",
|
20
|
+
# server_id=nil
|
21
|
+
# >
|
22
|
+
#
|
23
|
+
# The IP address can be retrieved by running AWS.addresses.get("test"). See get method below.
|
24
|
+
#
|
25
|
+
|
26
|
+
def initialize(attributes)
|
27
|
+
self.filters ||= {}
|
28
|
+
super
|
29
|
+
end
|
30
|
+
|
31
|
+
# AWS.addresses.all
|
32
|
+
#
|
33
|
+
# ==== Returns
|
34
|
+
#
|
35
|
+
# Returns an array of all IP addresses
|
36
|
+
#
|
37
|
+
#>> AWS.addresses.all
|
38
|
+
# <Fog::AWS::Compute::Addresses
|
39
|
+
# filters={},
|
40
|
+
# server=nil
|
41
|
+
# [
|
42
|
+
# <Fog::AWS::Compute::Address
|
43
|
+
# public_ip="76.7.46.54",
|
44
|
+
# server_id=nil
|
45
|
+
# >,
|
46
|
+
# .......
|
47
|
+
# <Fog::AWS::Compute::Address
|
48
|
+
# public_ip="4.88.524.95",
|
49
|
+
# server_id=nil
|
50
|
+
# >
|
51
|
+
# ]
|
52
|
+
# >
|
53
|
+
#>>
|
54
|
+
|
55
|
+
def all(filters_arg = filters)
|
56
|
+
unless filters_arg.is_a?(Hash)
|
57
|
+
Fog::Logger.deprecation("all with #{filters_arg.class} param is deprecated, use all('public-ip' => []) instead [light_black](#{caller.first})[/]")
|
58
|
+
filters_arg = {'public-ip' => [*filters_arg]}
|
59
|
+
end
|
60
|
+
self.filters = filters_arg
|
61
|
+
data = service.describe_addresses(filters).body
|
62
|
+
load(
|
63
|
+
data['addressesSet'].map do |address|
|
64
|
+
address.reject {|key, value| value.nil? || value.empty? }
|
65
|
+
end
|
66
|
+
)
|
67
|
+
if server
|
68
|
+
self.replace(self.select {|address| address.server_id == server.id})
|
69
|
+
end
|
70
|
+
self
|
71
|
+
end
|
72
|
+
|
73
|
+
# Used to retrieve an IP address
|
74
|
+
#
|
75
|
+
# public_ip is required to get the associated IP information.
|
76
|
+
#
|
77
|
+
# You can run the following command to get the details:
|
78
|
+
# AWS.addresses.get("76.7.46.54")
|
79
|
+
|
80
|
+
def get(public_ip)
|
81
|
+
if public_ip
|
82
|
+
self.class.new(:service => service).all('public-ip' => public_ip).first
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
def new(attributes = {})
|
87
|
+
if server
|
88
|
+
super({ :server => server }.merge!(attributes))
|
89
|
+
else
|
90
|
+
super(attributes)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'fog/core/model'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class AWS
|
6
|
+
class DhcpOption < Fog::Model
|
7
|
+
identity :id, :aliases => 'dhcpOptionsId'
|
8
|
+
attribute :dhcp_configuration_set, :aliases => 'dhcpConfigurationSet'
|
9
|
+
attribute :tag_set, :aliases => 'tagSet'
|
10
|
+
|
11
|
+
def initialize(attributes={})
|
12
|
+
super
|
13
|
+
end
|
14
|
+
|
15
|
+
# Associates an existing dhcp configration set with a VPC
|
16
|
+
#
|
17
|
+
# dhcp_option.attach(dopt-id, vpc-id)
|
18
|
+
#
|
19
|
+
# ==== Returns
|
20
|
+
#
|
21
|
+
# True or false depending on the result
|
22
|
+
#
|
23
|
+
def associate(vpc_id)
|
24
|
+
requires :id
|
25
|
+
service.associate_dhcp_options(id, vpc_id)
|
26
|
+
reload
|
27
|
+
end
|
28
|
+
|
29
|
+
# Removes an existing dhcp configuration set
|
30
|
+
#
|
31
|
+
# dhcp_option.destroy
|
32
|
+
#
|
33
|
+
# ==== Returns
|
34
|
+
#
|
35
|
+
# True or false depending on the result
|
36
|
+
#
|
37
|
+
|
38
|
+
def destroy
|
39
|
+
requires :id
|
40
|
+
service.delete_dhcp_options(id)
|
41
|
+
true
|
42
|
+
end
|
43
|
+
|
44
|
+
# Create a dhcp configuration set
|
45
|
+
#
|
46
|
+
# >> g = AWS.dhcp_options.new()
|
47
|
+
# >> g.save
|
48
|
+
#
|
49
|
+
# == Returns:
|
50
|
+
#
|
51
|
+
# requestId and a dhcpOptions object
|
52
|
+
#
|
53
|
+
|
54
|
+
def save
|
55
|
+
requires :dhcp_configuration_set
|
56
|
+
data = service.create_dhcp_options(dhcp_configuration_set).body['dhcpOptionsSet'].first
|
57
|
+
new_attributes = data.reject {|key,value| key == 'requestId'}
|
58
|
+
merge_attributes(new_attributes)
|
59
|
+
true
|
60
|
+
|
61
|
+
true
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
require 'fog/core/collection'
|
2
|
+
require 'fog/aws/models/compute/dhcp_option'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class AWS
|
7
|
+
class DhcpOptions < Fog::Collection
|
8
|
+
attribute :filters
|
9
|
+
|
10
|
+
model Fog::Compute::AWS::DhcpOption
|
11
|
+
|
12
|
+
# Creates a new dhcp option
|
13
|
+
#
|
14
|
+
# AWS.dhcp_options.new
|
15
|
+
#
|
16
|
+
# ==== Returns
|
17
|
+
#
|
18
|
+
# Returns the details of the new DHCP options
|
19
|
+
#
|
20
|
+
#>> AWS.dhcp_options.new
|
21
|
+
#=> <Fog::Compute::AWS::DhcpOption
|
22
|
+
#id=nil,
|
23
|
+
#dhcp_configuration_set=nil,
|
24
|
+
#tag_set=nil
|
25
|
+
#>
|
26
|
+
#
|
27
|
+
|
28
|
+
def initialize(attributes)
|
29
|
+
self.filters ||= {}
|
30
|
+
super
|
31
|
+
end
|
32
|
+
|
33
|
+
# Returns an array of all DhcpOptions that have been created
|
34
|
+
#
|
35
|
+
# AWS.dhcp_options.all
|
36
|
+
#
|
37
|
+
# ==== Returns
|
38
|
+
#
|
39
|
+
# Returns an array of all DhcpOptions
|
40
|
+
#
|
41
|
+
#>> AWS.dhcp_options.all
|
42
|
+
#<Fog::Compute::AWS::DhcpOptions
|
43
|
+
#filters={}
|
44
|
+
#[
|
45
|
+
#<Fog::Compute::AWS::DhcpOption
|
46
|
+
#id="dopt-some-id",
|
47
|
+
#dhcp_configuration_set={"vpcId"=>"vpc-some-id", "state"=>"available"},
|
48
|
+
#tag_set={}
|
49
|
+
#>
|
50
|
+
#]
|
51
|
+
#>
|
52
|
+
#
|
53
|
+
|
54
|
+
def all(filters_arg = filters)
|
55
|
+
unless filters_arg.is_a?(Hash)
|
56
|
+
Fog::Logger.warning("all with #{filters_arg.class} param is deprecated, use all('internet-gateway-id' => []) instead [light_black](#{caller.first})[/]")
|
57
|
+
filters_arg = {'dhcp-options-id' => [*filters_arg]}
|
58
|
+
end
|
59
|
+
filters = filters_arg
|
60
|
+
data = service.describe_dhcp_options(filters).body
|
61
|
+
load(data['dhcpOptionsSet'])
|
62
|
+
end
|
63
|
+
|
64
|
+
# Used to retrieve an DhcpOption
|
65
|
+
#
|
66
|
+
# You can run the following command to get the details:
|
67
|
+
# AWS.dhcp_options.get("dopt-12345678")
|
68
|
+
#
|
69
|
+
# ==== Returns
|
70
|
+
#
|
71
|
+
#>> AWS.dhcp_options.get("dopt-12345678")
|
72
|
+
#=> <Fog::Compute::AWS::DhcpOption
|
73
|
+
#id="dopt-12345678",
|
74
|
+
#dhcp_configuration_set={"vpcId"=>"vpc-12345678", "state"=>"available"},
|
75
|
+
#tag_set={}
|
76
|
+
#>
|
77
|
+
#
|
78
|
+
|
79
|
+
def get(dhcp_options_id)
|
80
|
+
if dhcp_options_id
|
81
|
+
self.class.new(:service => service).all('dhcp-options-id' => dhcp_options_id).first
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'fog/core/model'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class AWS
|
6
|
+
class Flavor < Fog::Model
|
7
|
+
identity :id
|
8
|
+
|
9
|
+
attribute :bits
|
10
|
+
attribute :cores
|
11
|
+
attribute :disk
|
12
|
+
attribute :name
|
13
|
+
attribute :ram
|
14
|
+
attribute :ebs_optimized_available
|
15
|
+
attribute :instance_store_volumes
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,606 @@
|
|
1
|
+
require 'fog/core/collection'
|
2
|
+
require 'fog/aws/models/compute/flavor'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class AWS
|
7
|
+
FLAVORS = [
|
8
|
+
{
|
9
|
+
:id => 't1.micro',
|
10
|
+
:name => 'Micro Instance',
|
11
|
+
:bits => 0,
|
12
|
+
:cores => 2,
|
13
|
+
:disk => 0,
|
14
|
+
:ram => 613,
|
15
|
+
:ebs_optimized_available => false,
|
16
|
+
:instance_store_volumes => 0
|
17
|
+
},
|
18
|
+
{
|
19
|
+
:id => 't2.micro',
|
20
|
+
:name => 'Micro Instance',
|
21
|
+
:bits => 64,
|
22
|
+
:cores => 1,
|
23
|
+
:disk => 0,
|
24
|
+
:ram => 1024,
|
25
|
+
:ebs_optimized_available => false,
|
26
|
+
:instance_store_volumes => 0
|
27
|
+
},
|
28
|
+
{
|
29
|
+
:id => 't2.small',
|
30
|
+
:name => 'Micro Instance',
|
31
|
+
:bits => 64,
|
32
|
+
:cores => 1,
|
33
|
+
:disk => 0,
|
34
|
+
:ram => 2048,
|
35
|
+
:ebs_optimized_available => false,
|
36
|
+
:instance_store_volumes => 0
|
37
|
+
},
|
38
|
+
{
|
39
|
+
:id => 't2.medium',
|
40
|
+
:name => 'Micro Instance',
|
41
|
+
:bits => 64,
|
42
|
+
:cores => 2,
|
43
|
+
:disk => 0,
|
44
|
+
:ram => 4096,
|
45
|
+
:ebs_optimized_available => false,
|
46
|
+
:instance_store_volumes => 0
|
47
|
+
},
|
48
|
+
{
|
49
|
+
:id => 'm1.small',
|
50
|
+
:name => 'Small Instance',
|
51
|
+
:bits => 32,
|
52
|
+
:cores => 1,
|
53
|
+
:disk => 160,
|
54
|
+
:ram => 1740.8,
|
55
|
+
:ebs_optimized_available => false,
|
56
|
+
:instance_store_volumes => 1
|
57
|
+
},
|
58
|
+
{
|
59
|
+
:id => 'm1.medium',
|
60
|
+
:name => 'Medium Instance',
|
61
|
+
:bits => 32,
|
62
|
+
:cores => 2,
|
63
|
+
:disk => 400,
|
64
|
+
:ram => 3750,
|
65
|
+
:ebs_optimized_available => false,
|
66
|
+
:instance_store_volumes => 1
|
67
|
+
},
|
68
|
+
{
|
69
|
+
:id => 'm1.large',
|
70
|
+
:name => 'Large Instance',
|
71
|
+
:bits => 64,
|
72
|
+
:cores => 4,
|
73
|
+
:disk => 850,
|
74
|
+
:ram => 7680,
|
75
|
+
:ebs_optimized_available => true,
|
76
|
+
:instance_store_volumes => 2
|
77
|
+
},
|
78
|
+
{
|
79
|
+
:id => 'm1.xlarge',
|
80
|
+
:name => 'Extra Large Instance',
|
81
|
+
:bits => 64,
|
82
|
+
:cores => 8,
|
83
|
+
:disk => 1690,
|
84
|
+
:ram => 15360,
|
85
|
+
:ebs_optimized_available => true,
|
86
|
+
:instance_store_volumes => 4
|
87
|
+
},
|
88
|
+
{
|
89
|
+
:id => 'c1.medium',
|
90
|
+
:bits => 32,
|
91
|
+
:cores => 5,
|
92
|
+
:disk => 350,
|
93
|
+
:name => 'High-CPU Medium',
|
94
|
+
:ram => 1740.8,
|
95
|
+
:ebs_optimized_available => false,
|
96
|
+
:instance_store_volumes => 1
|
97
|
+
},
|
98
|
+
{
|
99
|
+
:id => 'c1.xlarge',
|
100
|
+
:name => 'High-CPU Extra Large',
|
101
|
+
:bits => 64,
|
102
|
+
:cores => 20,
|
103
|
+
:disk => 1690,
|
104
|
+
:ram => 7168,
|
105
|
+
:ebs_optimized_available => true,
|
106
|
+
:instance_store_volumes => 4
|
107
|
+
},
|
108
|
+
{
|
109
|
+
:id => 'c3.large',
|
110
|
+
:name => 'C3 Large',
|
111
|
+
:bits => 64,
|
112
|
+
:cores => 7,
|
113
|
+
:disk => 32,
|
114
|
+
:ram => 3750,
|
115
|
+
:ebs_optimized_available => false,
|
116
|
+
:instance_store_volumes => 2
|
117
|
+
},
|
118
|
+
{
|
119
|
+
:id => 'c3.xlarge',
|
120
|
+
:name => 'C3 Extra Large',
|
121
|
+
:bits => 64,
|
122
|
+
:cores => 14,
|
123
|
+
:disk => 80,
|
124
|
+
:ram => 7168,
|
125
|
+
:ebs_optimized_available => true,
|
126
|
+
:instance_store_volumes => 2
|
127
|
+
},
|
128
|
+
{
|
129
|
+
:id => 'c3.2xlarge',
|
130
|
+
:name => 'C3 Double Extra Large',
|
131
|
+
:bits => 64,
|
132
|
+
:cores => 28,
|
133
|
+
:disk => 160,
|
134
|
+
:ram => 15360,
|
135
|
+
:ebs_optimized_available => true,
|
136
|
+
:instance_store_volumes => 2
|
137
|
+
},
|
138
|
+
{
|
139
|
+
:id => 'c3.4xlarge',
|
140
|
+
:name => 'C3 Quadruple Extra Large',
|
141
|
+
:bits => 64,
|
142
|
+
:cores => 55,
|
143
|
+
:disk => 320,
|
144
|
+
:ram => 30720,
|
145
|
+
:ebs_optimized_available => true,
|
146
|
+
:instance_store_volumes => 2
|
147
|
+
},
|
148
|
+
{
|
149
|
+
:id => 'c3.8xlarge',
|
150
|
+
:name => 'C3 Eight Extra Large',
|
151
|
+
:bits => 64,
|
152
|
+
:cores => 108,
|
153
|
+
:disk => 640,
|
154
|
+
:ram => 61440,
|
155
|
+
:ebs_optimized_available => false,
|
156
|
+
:instance_store_volumes => 2
|
157
|
+
},
|
158
|
+
{
|
159
|
+
:id => 'g2.2xlarge',
|
160
|
+
:name => 'GPU Double Extra Large',
|
161
|
+
:bits => 64,
|
162
|
+
:cores => 26,
|
163
|
+
:disk => 60,
|
164
|
+
:ram => 15360,
|
165
|
+
:ebs_optimized_available => true,
|
166
|
+
:instance_store_volumes => 0
|
167
|
+
},
|
168
|
+
{
|
169
|
+
:id => 'hs1.8xlarge',
|
170
|
+
:name => 'High Storage Eight Extra Large',
|
171
|
+
:bits => 64,
|
172
|
+
:cores => 35,
|
173
|
+
:disk => 50331648,
|
174
|
+
:ram => 119808,
|
175
|
+
:ebs_optimized_available => false,
|
176
|
+
:instance_store_volumes => 24
|
177
|
+
},
|
178
|
+
{
|
179
|
+
:id => 'm2.xlarge',
|
180
|
+
:name => 'High-Memory Extra Large',
|
181
|
+
:bits => 64,
|
182
|
+
:cores => 6.5,
|
183
|
+
:disk => 420,
|
184
|
+
:ram => 17510.4,
|
185
|
+
:ebs_optimized_available => false,
|
186
|
+
:instance_store_volumes => 1
|
187
|
+
},
|
188
|
+
{
|
189
|
+
:id => 'm2.2xlarge',
|
190
|
+
:name => 'High Memory Double Extra Large',
|
191
|
+
:bits => 64,
|
192
|
+
:cores => 13,
|
193
|
+
:disk => 850,
|
194
|
+
:ram => 35020.8,
|
195
|
+
:ebs_optimized_available => true,
|
196
|
+
:instance_store_volumes => 1
|
197
|
+
},
|
198
|
+
{
|
199
|
+
:id => 'm2.4xlarge',
|
200
|
+
:name => 'High Memory Quadruple Extra Large',
|
201
|
+
:bits => 64,
|
202
|
+
:cores => 26,
|
203
|
+
:disk => 1690,
|
204
|
+
:ram => 70041.6,
|
205
|
+
:ebs_optimized_available => true,
|
206
|
+
:instance_store_volumes => 2
|
207
|
+
},
|
208
|
+
{
|
209
|
+
:id => 'cr1.8xlarge',
|
210
|
+
:name => 'High Memory Eight Extra Large',
|
211
|
+
:bits => 64,
|
212
|
+
:cores => 88,
|
213
|
+
:disk => 240,
|
214
|
+
:ram => 249856,
|
215
|
+
:ebs_optimized_available => false,
|
216
|
+
:instance_store_volumes => 2
|
217
|
+
},
|
218
|
+
{
|
219
|
+
:id => 'm3.medium',
|
220
|
+
:name => 'M3 Medium',
|
221
|
+
:bits => 64,
|
222
|
+
:cores => 3,
|
223
|
+
:disk => 4,
|
224
|
+
:ram => 3840,
|
225
|
+
:ebs_optimized_available => false,
|
226
|
+
:instance_store_volumes => 0
|
227
|
+
},
|
228
|
+
{
|
229
|
+
:id => 'm3.large',
|
230
|
+
:name => 'M3 Large',
|
231
|
+
:bits => 64,
|
232
|
+
:cores => 6.5,
|
233
|
+
:disk => 32,
|
234
|
+
:ram => 7168,
|
235
|
+
:ebs_optimized_available => false,
|
236
|
+
:instance_store_volumes => 1
|
237
|
+
},
|
238
|
+
{
|
239
|
+
:id => 'm3.xlarge',
|
240
|
+
:name => 'M3 Extra Large',
|
241
|
+
:bits => 64,
|
242
|
+
:cores => 13,
|
243
|
+
:disk => 80,
|
244
|
+
:ram => 15360,
|
245
|
+
:ebs_optimized_available => true,
|
246
|
+
:instance_store_volumes => 2
|
247
|
+
},
|
248
|
+
{
|
249
|
+
:id => 'm3.2xlarge',
|
250
|
+
:name => 'M3 Double Extra Large',
|
251
|
+
:bits => 64,
|
252
|
+
:cores => 26,
|
253
|
+
:disk => 160,
|
254
|
+
:ram => 30720,
|
255
|
+
:ebs_optimized_available => true,
|
256
|
+
:instance_store_volumes => 2
|
257
|
+
},
|
258
|
+
{
|
259
|
+
:id => "hi1.4xlarge",
|
260
|
+
:name => "High I/O Quadruple Extra Large Instance",
|
261
|
+
:bits => 64,
|
262
|
+
:cores => 35,
|
263
|
+
:disk => 2048,
|
264
|
+
:ram => 61952,
|
265
|
+
:ebs_optimized_available => false,
|
266
|
+
:instance_store_volumes => 2
|
267
|
+
},
|
268
|
+
{
|
269
|
+
:id => 'cc1.4xlarge',
|
270
|
+
:name => 'Cluster Compute Quadruple Extra Large',
|
271
|
+
:bits => 64,
|
272
|
+
:cores => 33.5,
|
273
|
+
:disk => 1690,
|
274
|
+
:ram => 23552,
|
275
|
+
:ebs_optimized_available => false,
|
276
|
+
:instance_store_volumes => 0
|
277
|
+
},
|
278
|
+
{
|
279
|
+
:id => 'cc2.8xlarge',
|
280
|
+
:name => 'Cluster Compute Eight Extra Large',
|
281
|
+
:bits => 64,
|
282
|
+
:cores => 88,
|
283
|
+
:disk => 3370,
|
284
|
+
:ram => 61952,
|
285
|
+
:ebs_optimized_available => false,
|
286
|
+
:instance_store_volumes => 4
|
287
|
+
},
|
288
|
+
{
|
289
|
+
:id => 'cg1.4xlarge',
|
290
|
+
:name => 'Cluster GPU Quadruple Extra Large',
|
291
|
+
:bits => 64,
|
292
|
+
:cores => 33.5,
|
293
|
+
:disk => 1690,
|
294
|
+
:ram => 22528,
|
295
|
+
:ebs_optimized_available => false,
|
296
|
+
:instance_store_volumes => 2
|
297
|
+
},
|
298
|
+
{
|
299
|
+
:id => 'i2.xlarge',
|
300
|
+
:name => 'I2 Extra Large',
|
301
|
+
:bits => 64,
|
302
|
+
:cores => 14,
|
303
|
+
:disk => 800,
|
304
|
+
:ram => 31232,
|
305
|
+
:ebs_optimized_available => true,
|
306
|
+
:instance_store_volumes => 1
|
307
|
+
},
|
308
|
+
{
|
309
|
+
:id => 'i2.2xlarge',
|
310
|
+
:name => 'I2 Double Extra Large',
|
311
|
+
:bits => 64,
|
312
|
+
:cores => 27,
|
313
|
+
:disk => 1600,
|
314
|
+
:ram => 62464,
|
315
|
+
:ebs_optimized_available => true,
|
316
|
+
:instance_store_volumes => 2
|
317
|
+
},
|
318
|
+
{
|
319
|
+
:id => 'i2.4xlarge',
|
320
|
+
:name => 'I2 Quadruple Extra Large',
|
321
|
+
:bits => 64,
|
322
|
+
:cores => 53,
|
323
|
+
:disk => 3200,
|
324
|
+
:ram => 124928,
|
325
|
+
:ebs_optimized_available => true,
|
326
|
+
:instance_store_volumes => 4
|
327
|
+
},
|
328
|
+
{
|
329
|
+
:id => 'i2.8xlarge',
|
330
|
+
:name => 'I2 Eight Extra Large',
|
331
|
+
:bits => 64,
|
332
|
+
:cores => 104,
|
333
|
+
:disk => 6400,
|
334
|
+
:ram => 249856,
|
335
|
+
:ebs_optimized_available => false,
|
336
|
+
:instance_store_volumes => 8
|
337
|
+
},
|
338
|
+
{
|
339
|
+
:id => "r3.large",
|
340
|
+
:name => "R3 Large",
|
341
|
+
:bits => 64,
|
342
|
+
:cores => 2,
|
343
|
+
:ram => 15360,
|
344
|
+
:disk => 32,
|
345
|
+
:ebs_optimized_available => true,
|
346
|
+
:instance_store_volumes => 1
|
347
|
+
},
|
348
|
+
{
|
349
|
+
:id => "r3.xlarge",
|
350
|
+
:name => "R3 Extra Large",
|
351
|
+
:bits => 64,
|
352
|
+
:cores => 4,
|
353
|
+
:ram => 31232,
|
354
|
+
:disk => 80,
|
355
|
+
:ebs_optimized_available => true,
|
356
|
+
:instance_store_volumes => 1
|
357
|
+
},
|
358
|
+
{
|
359
|
+
:id => "r3.2xlarge",
|
360
|
+
:name => "R3 Double Extra Large",
|
361
|
+
:bits => 64,
|
362
|
+
:cores => 8,
|
363
|
+
:ram => 62464,
|
364
|
+
:disk => 160,
|
365
|
+
:ebs_optimized_available => true,
|
366
|
+
:instance_store_volumes => 1
|
367
|
+
},
|
368
|
+
{
|
369
|
+
:id => "r3.4xlarge",
|
370
|
+
:name => "R3 Quadruple Extra Large",
|
371
|
+
:bits => 64,
|
372
|
+
:cores => 16,
|
373
|
+
:ram => 124928,
|
374
|
+
:disk => 320,
|
375
|
+
:ebs_optimized_available => true,
|
376
|
+
:instance_store_volumes => 1
|
377
|
+
},
|
378
|
+
{
|
379
|
+
:id => "r3.8xlarge",
|
380
|
+
:name => "R3 Eight Extra Large",
|
381
|
+
:bits => 64,
|
382
|
+
:cores => 32,
|
383
|
+
:ram => 249856,
|
384
|
+
:disk => 640,
|
385
|
+
:ebs_optimized_available => true,
|
386
|
+
:instance_store_volumes => 2
|
387
|
+
}
|
388
|
+
]
|
389
|
+
|
390
|
+
class Flavors < Fog::Collection
|
391
|
+
model Fog::Compute::AWS::Flavor
|
392
|
+
|
393
|
+
# Returns an array of all flavors that have been created
|
394
|
+
#
|
395
|
+
# AWS.flavors.all
|
396
|
+
#
|
397
|
+
# ==== Returns
|
398
|
+
#
|
399
|
+
# Returns an array of all available instances and their general information
|
400
|
+
#
|
401
|
+
#>> AWS.flavors.all
|
402
|
+
# <Fog::AWS::Compute::Flavors
|
403
|
+
# [
|
404
|
+
# <Fog::AWS::Compute::Flavor
|
405
|
+
# id="t1.micro",
|
406
|
+
# bits=0,
|
407
|
+
# cores=2,
|
408
|
+
# disk=0,
|
409
|
+
# name="Micro Instance",
|
410
|
+
# ram=613,
|
411
|
+
# ebs_optimized_available=false,
|
412
|
+
# instance_store_volumes=0
|
413
|
+
# >,
|
414
|
+
# <Fog::AWS::Compute::Flavor
|
415
|
+
# id="m1.small",
|
416
|
+
# bits=32,
|
417
|
+
# cores=1,
|
418
|
+
# disk=160,
|
419
|
+
# name="Small Instance",
|
420
|
+
# ram=1740.8,
|
421
|
+
# ebs_optimized_available=false,
|
422
|
+
# instance_store_volumes=1
|
423
|
+
# >,
|
424
|
+
# <Fog::AWS::Compute::Flavor
|
425
|
+
# id="m1.medium",
|
426
|
+
# bits=32,
|
427
|
+
# cores=2,
|
428
|
+
# disk=400,
|
429
|
+
# name="Medium Instance",
|
430
|
+
# ram=3750,
|
431
|
+
# ebs_optimized_available=false,
|
432
|
+
# instance_store_volumes=1
|
433
|
+
# >,
|
434
|
+
# <Fog::AWS::Compute::Flavor
|
435
|
+
# id="m1.large",
|
436
|
+
# bits=64,
|
437
|
+
# cores=4,
|
438
|
+
# disk=850,
|
439
|
+
# name="Large Instance",
|
440
|
+
# ram=7680,
|
441
|
+
# ebs_optimized_available=true
|
442
|
+
# instance_store_volumes=2
|
443
|
+
# >,
|
444
|
+
# <Fog::AWS::Compute::Flavor
|
445
|
+
# id="m1.xlarge",
|
446
|
+
# bits=64,
|
447
|
+
# cores=8,
|
448
|
+
# disk=1690,
|
449
|
+
# name="Extra Large Instance",
|
450
|
+
# ram=15360,
|
451
|
+
# ebs_optimized_available=true,
|
452
|
+
# instance_store_volumes=4
|
453
|
+
#
|
454
|
+
# >,
|
455
|
+
# <Fog::AWS::Compute::Flavor
|
456
|
+
# id="c1.medium",
|
457
|
+
# bits=32,
|
458
|
+
# cores=5,
|
459
|
+
# disk=350,
|
460
|
+
# name="High-CPU Medium",
|
461
|
+
# ram=1740.8,
|
462
|
+
# ebs_optimized_available=false,
|
463
|
+
# instance_store_volumes=1
|
464
|
+
# >,
|
465
|
+
# <Fog::AWS::Compute::Flavor
|
466
|
+
# id="c1.xlarge",
|
467
|
+
# bits=64,
|
468
|
+
# cores=20,
|
469
|
+
# disk=1690,
|
470
|
+
# name="High-CPU Extra Large",
|
471
|
+
# ram=7168,
|
472
|
+
# ebs_optimized_available=true,
|
473
|
+
# instance_store_volumes=4
|
474
|
+
# >,
|
475
|
+
# <Fog::AWS::Compute::Flavor
|
476
|
+
# id="m2.xlarge",
|
477
|
+
# bits=64,
|
478
|
+
# cores=6.5,
|
479
|
+
# disk=420,
|
480
|
+
# name="High-Memory Extra Large",
|
481
|
+
# ram=17510.4,
|
482
|
+
# ebs_optimized_available=false,
|
483
|
+
# instance_store_volumes=1
|
484
|
+
# >,
|
485
|
+
# <Fog::AWS::Compute::Flavor
|
486
|
+
# id="m2.2xlarge",
|
487
|
+
# bits=64,
|
488
|
+
# cores=13,
|
489
|
+
# disk=850,
|
490
|
+
# name="High Memory Double Extra Large",
|
491
|
+
# ram=35020.8,
|
492
|
+
# ebs_optimized_available=true,
|
493
|
+
# instance_store_volumes=1
|
494
|
+
# >,
|
495
|
+
# <Fog::AWS::Compute::Flavor
|
496
|
+
# id="m2.4xlarge",
|
497
|
+
# bits=64,
|
498
|
+
# cores=26,
|
499
|
+
# disk=1690,
|
500
|
+
# name="High Memory Quadruple Extra Large",
|
501
|
+
# ram=70041.6,
|
502
|
+
# ebs_optimized_available=true,
|
503
|
+
# instance_store_volumes=2
|
504
|
+
# >,
|
505
|
+
# <Fog::AWS::Compute::Flavor
|
506
|
+
# id="cc1.4xlarge",
|
507
|
+
# bits=64,
|
508
|
+
# cores=33.5,
|
509
|
+
# disk=1690,
|
510
|
+
# name="Cluster Compute Quadruple Extra Large",
|
511
|
+
# ram=23552,
|
512
|
+
# ebs_optimized_available=false,
|
513
|
+
# instance_store_volumes=0
|
514
|
+
# >,
|
515
|
+
# <Fog::Compute::AWS::Flavor
|
516
|
+
# id="m3.xlarge",
|
517
|
+
# bits=64,
|
518
|
+
# cores=13,
|
519
|
+
# disk=0,
|
520
|
+
# name="M3 Extra Large",
|
521
|
+
# ram=15360,
|
522
|
+
# ebs_optimized_available=true,
|
523
|
+
# instance_store_volumes=2
|
524
|
+
# >,
|
525
|
+
# <Fog::Compute::AWS::Flavor
|
526
|
+
# id="m3.2xlarge",
|
527
|
+
# bits=64,
|
528
|
+
# cores=26,
|
529
|
+
# disk=0,
|
530
|
+
# name="M3 Double Extra Large",
|
531
|
+
# ram=30720,
|
532
|
+
# ebs_optimized_available=true,
|
533
|
+
# instance_store_volumes=2
|
534
|
+
# >,
|
535
|
+
# <Fog::AWS::Compute::Flavor
|
536
|
+
# id="cc2.8xlarge",
|
537
|
+
# bits=64,
|
538
|
+
# cores=88,
|
539
|
+
# disk=3370,
|
540
|
+
# name="Cluster Compute Eight Extra Large",
|
541
|
+
# ram=61952,
|
542
|
+
# ebs_optimized_available=false,
|
543
|
+
# instance_store_volumes=4
|
544
|
+
# >,
|
545
|
+
# <Fog::AWS::Compute::Flavor
|
546
|
+
# id="cg1.4xlarge",
|
547
|
+
# bits=64,
|
548
|
+
# cores=33.5,
|
549
|
+
# disk=1690,
|
550
|
+
# name="Cluster GPU Quadruple Extra Large",
|
551
|
+
# ram=22528,
|
552
|
+
# ebs_optimized_available=false,
|
553
|
+
# instance_store_volumes=2
|
554
|
+
# >
|
555
|
+
# ]
|
556
|
+
# >
|
557
|
+
#
|
558
|
+
|
559
|
+
def all
|
560
|
+
load(Fog::Compute::AWS::FLAVORS)
|
561
|
+
self
|
562
|
+
end
|
563
|
+
|
564
|
+
# Used to retrieve a flavor
|
565
|
+
# flavor_id is required to get the associated flavor information.
|
566
|
+
# flavors available currently:
|
567
|
+
#
|
568
|
+
# t1.micro
|
569
|
+
# m1.small, m1.medium, m1.large, m1.xlarge
|
570
|
+
# c1.medium, c1.xlarge
|
571
|
+
# c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge
|
572
|
+
# g2.2xlarge
|
573
|
+
# hs1.8xlarge
|
574
|
+
# m2.xlarge, m2.2xlarge, m2.4xlarge
|
575
|
+
# m3.xlarge, m3.2xlarge
|
576
|
+
# cr1.8xlarge
|
577
|
+
# cc1.4xlarge
|
578
|
+
# cc2.8xlarge
|
579
|
+
# cg1.4xlarge
|
580
|
+
# i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge
|
581
|
+
#
|
582
|
+
# You can run the following command to get the details:
|
583
|
+
# AWS.flavors.get("t1.micro")
|
584
|
+
#
|
585
|
+
# ==== Returns
|
586
|
+
#
|
587
|
+
#>> AWS.flavors.get("t1.micro")
|
588
|
+
# <Fog::AWS::Compute::Flavor
|
589
|
+
# id="t1.micro",
|
590
|
+
# bits=0,
|
591
|
+
# cores=2,
|
592
|
+
# disk=0,
|
593
|
+
# name="Micro Instance",
|
594
|
+
# ram=613
|
595
|
+
# ebs_optimized_available=false
|
596
|
+
# instance_store_volumes=0
|
597
|
+
#>
|
598
|
+
#
|
599
|
+
|
600
|
+
def get(flavor_id)
|
601
|
+
self.class.new(:service => service).all.find {|flavor| flavor.id == flavor_id}
|
602
|
+
end
|
603
|
+
end
|
604
|
+
end
|
605
|
+
end
|
606
|
+
end
|