fog 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/CHANGELOG.md +99 -0
- data/Rakefile +4 -0
- data/fog.gemspec +6 -4
- data/gemfiles/Gemfile-ruby-1.8.7 +2 -0
- data/lib/fog/aws.rb +1 -0
- data/lib/fog/aws/service_mapper.rb +129 -0
- data/lib/fog/bare_metal_cloud/compute.rb +1 -1
- data/lib/fog/bin/aws.rb +10 -116
- data/lib/fog/bin/rackspace.rb +8 -0
- data/lib/fog/cloudstack/compute.rb +107 -9
- data/lib/fog/cloudstack/models/compute/egress_firewall_rule.rb +38 -0
- data/lib/fog/cloudstack/models/compute/egress_firewall_rules.rb +25 -0
- data/lib/fog/cloudstack/models/compute/firewall_rule.rb +24 -0
- data/lib/fog/cloudstack/models/compute/firewall_rules.rb +25 -0
- data/lib/fog/cloudstack/models/compute/flavor.rb +6 -3
- data/lib/fog/cloudstack/models/compute/image.rb +5 -5
- data/lib/fog/cloudstack/models/compute/images.rb +0 -2
- data/lib/fog/cloudstack/models/compute/job.rb +10 -0
- data/lib/fog/cloudstack/models/compute/network.rb +72 -0
- data/lib/fog/cloudstack/models/compute/network_offering.rb +25 -0
- data/lib/fog/cloudstack/models/compute/network_offerings.rb +39 -0
- data/lib/fog/cloudstack/models/compute/networks.rb +38 -0
- data/lib/fog/cloudstack/models/compute/port_forwarding_rule.rb +25 -0
- data/lib/fog/cloudstack/models/compute/port_forwarding_rules.rb +25 -0
- data/lib/fog/cloudstack/models/compute/project.rb +58 -0
- data/lib/fog/cloudstack/models/compute/projects.rb +39 -0
- data/lib/fog/cloudstack/models/compute/public_ip_address.rb +53 -0
- data/lib/fog/cloudstack/models/compute/public_ip_addresses.rb +25 -0
- data/lib/fog/cloudstack/models/compute/server.rb +3 -2
- data/lib/fog/cloudstack/models/compute/servers.rb +4 -1
- data/lib/fog/cloudstack/models/compute/volume.rb +2 -0
- data/lib/fog/cloudstack/models/compute/zone.rb +1 -0
- data/lib/fog/cloudstack/requests/compute/associate_ip_address.rb +32 -1
- data/lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb +22 -4
- data/lib/fog/cloudstack/requests/compute/create_firewall_rule.rb +25 -3
- data/lib/fog/cloudstack/requests/compute/create_network.rb +7 -5
- data/lib/fog/cloudstack/requests/compute/create_network_offering.rb +32 -6
- data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +32 -6
- data/lib/fog/cloudstack/requests/compute/create_service_offering.rb +32 -3
- data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +4 -2
- data/lib/fog/cloudstack/requests/compute/create_volume.rb +6 -4
- data/lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb +11 -2
- data/lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb +11 -2
- data/lib/fog/cloudstack/requests/compute/delete_network_offering.rb +11 -2
- data/lib/fog/cloudstack/requests/compute/delete_service_offering.rb +11 -2
- data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +4 -2
- data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +8 -6
- data/lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb +12 -2
- data/lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb +12 -1
- data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +12 -1
- data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +8 -1
- data/lib/fog/cloudstack/requests/compute/list_networks.rb +5 -1
- data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +17 -1
- data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +12 -1
- data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +15 -16
- data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +5 -3
- data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +3 -1
- data/lib/fog/cloudstack/requests/compute/list_templates.rb +8 -4
- data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +5 -3
- data/lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb +3 -1
- data/lib/fog/cloudstack/requests/compute/list_volumes.rb +5 -3
- data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +5 -3
- data/lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb +5 -3
- data/lib/fog/cloudstack/requests/compute/upload_volume.rb +7 -5
- data/lib/fog/hp/models/block_storage_v2/snapshots.rb +3 -3
- data/lib/fog/hp/models/block_storage_v2/volume_backups.rb +3 -3
- data/lib/fog/hp/models/block_storage_v2/volumes.rb +3 -3
- data/lib/fog/hp/models/compute_v2/flavors.rb +3 -3
- data/lib/fog/hp/models/compute_v2/images.rb +3 -3
- data/lib/fog/hp/models/compute_v2/servers.rb +3 -3
- data/lib/fog/hp/models/network/floating_ips.rb +2 -2
- data/lib/fog/hp/models/network/networks.rb +2 -2
- data/lib/fog/hp/models/network/ports.rb +2 -2
- data/lib/fog/hp/models/network/routers.rb +2 -2
- data/lib/fog/hp/models/network/security_group_rules.rb +2 -2
- data/lib/fog/hp/models/network/security_groups.rb +2 -2
- data/lib/fog/hp/models/network/subnets.rb +2 -2
- data/lib/fog/libvirt/models/compute/server.rb +9 -9
- data/lib/fog/openstack/examples/compute/block_device_mapping_v2.rb +21 -19
- data/lib/fog/openstack/models/compute/images.rb +2 -2
- data/lib/fog/openstack/models/compute/servers.rb +2 -2
- data/lib/fog/openstack/models/network/floating_ips.rb +2 -2
- data/lib/fog/openstack/models/network/lb_health_monitors.rb +2 -2
- data/lib/fog/openstack/models/network/lb_members.rb +2 -2
- data/lib/fog/openstack/models/network/lb_pools.rb +2 -2
- data/lib/fog/openstack/models/network/lb_vips.rb +2 -2
- data/lib/fog/openstack/models/network/networks.rb +2 -2
- data/lib/fog/openstack/models/network/ports.rb +2 -2
- data/lib/fog/openstack/models/network/routers.rb +2 -2
- data/lib/fog/openstack/models/network/security_group_rules.rb +2 -2
- data/lib/fog/openstack/models/network/security_groups.rb +2 -2
- data/lib/fog/openstack/models/network/subnets.rb +2 -2
- data/lib/fog/openstack/models/storage/file.rb +3 -2
- data/lib/fog/openstack/volume.rb +1 -0
- data/lib/fog/ovirt/compute.rb +3 -1
- data/lib/fog/ovirt/models/compute/server.rb +11 -4
- data/lib/fog/ovirt/requests/compute/vm_start_with_cloudinit.rb +19 -0
- data/lib/fog/rackspace.rb +2 -0
- data/lib/fog/rackspace/cdn_v2.rb +123 -0
- data/lib/fog/rackspace/core.rb +2 -0
- data/lib/fog/rackspace/docs/cdn_v2.md +351 -0
- data/lib/fog/rackspace/docs/networking_v2.md +422 -0
- data/lib/fog/rackspace/models/cdn_v2/flavor.rb +14 -0
- data/lib/fog/rackspace/models/cdn_v2/flavors.rb +24 -0
- data/lib/fog/rackspace/models/cdn_v2/service.rb +66 -0
- data/lib/fog/rackspace/models/cdn_v2/services.rb +24 -0
- data/lib/fog/rackspace/models/networking_v2/network.rb +36 -0
- data/lib/fog/rackspace/models/networking_v2/networks.rb +23 -0
- data/lib/fog/rackspace/models/networking_v2/port.rb +39 -0
- data/lib/fog/rackspace/models/networking_v2/ports.rb +23 -0
- data/lib/fog/rackspace/models/networking_v2/subnet.rb +38 -0
- data/lib/fog/rackspace/models/networking_v2/subnets.rb +23 -0
- data/lib/fog/rackspace/networking_v2.rb +205 -0
- data/lib/fog/rackspace/requests/cdn_v2/create_service.rb +10 -0
- data/lib/fog/rackspace/requests/cdn_v2/delete_assets.rb +12 -0
- data/lib/fog/rackspace/requests/cdn_v2/delete_service.rb +9 -0
- data/lib/fog/rackspace/requests/cdn_v2/get_flavor.rb +9 -0
- data/lib/fog/rackspace/requests/cdn_v2/get_home_document.rb +9 -0
- data/lib/fog/rackspace/requests/cdn_v2/get_ping.rb +10 -0
- data/lib/fog/rackspace/requests/cdn_v2/get_service.rb +9 -0
- data/lib/fog/rackspace/requests/cdn_v2/list_flavors.rb +9 -0
- data/lib/fog/rackspace/requests/cdn_v2/list_services.rb +9 -0
- data/lib/fog/rackspace/requests/cdn_v2/update_service.rb +10 -0
- data/lib/fog/rackspace/requests/identity/create_token.rb +5 -0
- data/lib/fog/rackspace/requests/networking_v2/create_network.rb +18 -0
- data/lib/fog/rackspace/requests/networking_v2/create_port.rb +18 -0
- data/lib/fog/rackspace/requests/networking_v2/create_subnet.rb +18 -0
- data/lib/fog/rackspace/requests/networking_v2/delete_network.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/delete_port.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/delete_subnet.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/list_networks.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/list_ports.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/list_subnets.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/show_network.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/show_port.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/show_subnet.rb +11 -0
- data/lib/fog/rackspace/requests/networking_v2/update_network.rb +18 -0
- data/lib/fog/rackspace/requests/networking_v2/update_port.rb +18 -0
- data/lib/fog/rackspace/requests/networking_v2/update_subnet.rb +23 -0
- data/lib/fog/riakcs/provisioning.rb +3 -1
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vsphere/models/compute/cluster.rb +1 -0
- data/lib/fog/vsphere/requests/compute/cloudinit_to_customspec.rb +28 -0
- data/lib/fog/vsphere/requests/compute/list_clusters.rb +6 -0
- data/lib/fog/xenserver/compute.rb +20 -7
- data/lib/fog/xenserver/core.rb +15 -1
- data/lib/fog/xenserver/models/compute/network.rb +3 -0
- data/lib/fog/xenserver/models/compute/server.rb +3 -0
- data/lib/fog/xenserver/requests/compute/clone_server.rb +5 -2
- data/lib/fog/xenserver/requests/compute/create_network.rb +17 -8
- data/lib/fog/xenserver/requests/compute/create_server.rb +74 -54
- data/lib/fog/xenserver/requests/compute/create_sr.rb +51 -28
- data/lib/fog/xenserver/requests/compute/create_vbd.rb +26 -18
- data/lib/fog/xenserver/requests/compute/create_vdi.rb +29 -10
- data/lib/fog/xenserver/requests/compute/create_vif.rb +14 -4
- data/lib/fog/xenserver/requests/compute/create_vlan.rb +15 -2
- data/lib/fog/xenserver/requests/compute/destroy_network.rb +3 -0
- data/lib/fog/xenserver/requests/compute/destroy_record.rb +11 -0
- data/lib/fog/xenserver/requests/compute/destroy_server.rb +3 -0
- data/lib/fog/xenserver/requests/compute/destroy_sr.rb +3 -0
- data/lib/fog/xenserver/requests/compute/destroy_vdi.rb +3 -0
- data/lib/fog/xenserver/requests/compute/destroy_vif.rb +3 -0
- data/lib/fog/xenserver/requests/compute/destroy_vlan.rb +3 -0
- data/lib/fog/xenserver/requests/compute/get_record.rb +8 -0
- data/lib/fog/xenserver/requests/compute/snapshot_revert.rb +9 -2
- data/lib/tasks/changelog_task.rb +1 -0
- data/spec/fog/account_spec.rb +15 -0
- data/spec/fog/billing_spec.rb +15 -0
- data/spec/fog/bin/aws_spec.rb +89 -0
- data/spec/fog/cdn_spec.rb +15 -0
- data/spec/fog/compute_spec.rb +14 -2
- data/spec/fog/dns_spec.rb +20 -0
- data/spec/fog/identity_spec.rb +15 -0
- data/spec/fog/image_spec.rb +15 -0
- data/spec/fog/metering_spec.rb +15 -0
- data/spec/fog/monitoring_spec.rb +15 -0
- data/spec/fog/network_spec.rb +15 -0
- data/spec/fog/orchestration_spec.rb +15 -0
- data/spec/fog/storage_spec.rb +15 -0
- data/spec/fog/support_spec.rb +15 -0
- data/spec/fog/volume_spec.rb +15 -0
- data/spec/fog/vpn_spec.rb +15 -0
- data/tests/cloudstack/compute/models/egress_firewall_rule_tests.rb +6 -0
- data/tests/cloudstack/requests/egress_firewall_rule_tests.rb +25 -0
- data/tests/cloudstack/requests/firewall_rule_tests.rb +29 -0
- data/tests/cloudstack/requests/network_offering_tests.rb +32 -0
- data/tests/cloudstack/requests/port_forwarding_rule_tests.rb +33 -0
- data/tests/cloudstack/requests/public_ip_address_tests.rb +38 -0
- data/tests/cloudstack/requests/service_offering_tests.rb +8 -15
- data/tests/cloudstack/requests/volume_tests.rb +5 -6
- data/tests/compute/helper.rb +1 -0
- data/tests/helpers/mock_helper.rb +1 -0
- metadata +131 -1461
- data/lib/fog/aws/auto_scaling.rb +0 -279
- data/lib/fog/aws/beanstalk.rb +0 -156
- data/lib/fog/aws/cdn.rb +0 -205
- data/lib/fog/aws/cloud_formation.rb +0 -133
- data/lib/fog/aws/cloud_watch.rb +0 -167
- data/lib/fog/aws/compute.rb +0 -543
- data/lib/fog/aws/core.rb +0 -343
- data/lib/fog/aws/credential_fetcher.rb +0 -63
- data/lib/fog/aws/data_pipeline.rb +0 -126
- data/lib/fog/aws/dns.rb +0 -154
- data/lib/fog/aws/dynamodb.rb +0 -152
- data/lib/fog/aws/elasticache.rb +0 -216
- data/lib/fog/aws/elb.rb +0 -240
- data/lib/fog/aws/elb/policy_types.rb +0 -477
- data/lib/fog/aws/emr.rb +0 -139
- data/lib/fog/aws/glacier.rb +0 -179
- data/lib/fog/aws/iam.rb +0 -260
- data/lib/fog/aws/models/auto_scaling/activities.rb +0 -37
- data/lib/fog/aws/models/auto_scaling/activity.rb +0 -27
- data/lib/fog/aws/models/auto_scaling/configuration.rb +0 -69
- data/lib/fog/aws/models/auto_scaling/configurations.rb +0 -33
- data/lib/fog/aws/models/auto_scaling/group.rb +0 -150
- data/lib/fog/aws/models/auto_scaling/groups.rb +0 -37
- data/lib/fog/aws/models/auto_scaling/instance.rb +0 -58
- data/lib/fog/aws/models/auto_scaling/instances.rb +0 -28
- data/lib/fog/aws/models/auto_scaling/policies.rb +0 -37
- data/lib/fog/aws/models/auto_scaling/policy.rb +0 -46
- data/lib/fog/aws/models/beanstalk/application.rb +0 -59
- data/lib/fog/aws/models/beanstalk/applications.rb +0 -23
- data/lib/fog/aws/models/beanstalk/environment.rb +0 -145
- data/lib/fog/aws/models/beanstalk/environments.rb +0 -27
- data/lib/fog/aws/models/beanstalk/event.rb +0 -18
- data/lib/fog/aws/models/beanstalk/events.rb +0 -17
- data/lib/fog/aws/models/beanstalk/template.rb +0 -76
- data/lib/fog/aws/models/beanstalk/templates.rb +0 -68
- data/lib/fog/aws/models/beanstalk/version.rb +0 -77
- data/lib/fog/aws/models/beanstalk/versions.rb +0 -29
- data/lib/fog/aws/models/cdn/distribution.rb +0 -90
- data/lib/fog/aws/models/cdn/distribution_helper.rb +0 -60
- data/lib/fog/aws/models/cdn/distributions.rb +0 -30
- data/lib/fog/aws/models/cdn/distributions_helper.rb +0 -45
- data/lib/fog/aws/models/cdn/invalidation.rb +0 -60
- data/lib/fog/aws/models/cdn/invalidations.rb +0 -50
- data/lib/fog/aws/models/cdn/streaming_distribution.rb +0 -74
- data/lib/fog/aws/models/cdn/streaming_distributions.rb +0 -30
- data/lib/fog/aws/models/cloud_watch/alarm.rb +0 -60
- data/lib/fog/aws/models/cloud_watch/alarm_data.rb +0 -38
- data/lib/fog/aws/models/cloud_watch/alarm_datum.rb +0 -65
- data/lib/fog/aws/models/cloud_watch/alarm_histories.rb +0 -17
- data/lib/fog/aws/models/cloud_watch/alarm_history.rb +0 -15
- data/lib/fog/aws/models/cloud_watch/alarms.rb +0 -45
- data/lib/fog/aws/models/cloud_watch/metric.rb +0 -13
- data/lib/fog/aws/models/cloud_watch/metric_statistic.rb +0 -44
- data/lib/fog/aws/models/cloud_watch/metric_statistics.rb +0 -22
- data/lib/fog/aws/models/cloud_watch/metrics.rb +0 -50
- data/lib/fog/aws/models/compute/address.rb +0 -74
- data/lib/fog/aws/models/compute/addresses.rb +0 -96
- data/lib/fog/aws/models/compute/dhcp_option.rb +0 -66
- data/lib/fog/aws/models/compute/dhcp_options.rb +0 -87
- data/lib/fog/aws/models/compute/flavor.rb +0 -19
- data/lib/fog/aws/models/compute/flavors.rb +0 -606
- data/lib/fog/aws/models/compute/image.rb +0 -45
- data/lib/fog/aws/models/compute/images.rb +0 -59
- data/lib/fog/aws/models/compute/internet_gateway.rb +0 -78
- data/lib/fog/aws/models/compute/internet_gateways.rb +0 -87
- data/lib/fog/aws/models/compute/key_pair.rb +0 -53
- data/lib/fog/aws/models/compute/key_pairs.rb +0 -84
- data/lib/fog/aws/models/compute/network_acl.rb +0 -180
- data/lib/fog/aws/models/compute/network_acls.rb +0 -136
- data/lib/fog/aws/models/compute/network_interface.rb +0 -73
- data/lib/fog/aws/models/compute/network_interfaces.rb +0 -133
- data/lib/fog/aws/models/compute/route_table.rb +0 -66
- data/lib/fog/aws/models/compute/route_tables.rb +0 -88
- data/lib/fog/aws/models/compute/security_group.rb +0 -322
- data/lib/fog/aws/models/compute/security_groups.rb +0 -117
- data/lib/fog/aws/models/compute/server.rb +0 -271
- data/lib/fog/aws/models/compute/servers.rb +0 -211
- data/lib/fog/aws/models/compute/snapshot.rb +0 -53
- data/lib/fog/aws/models/compute/snapshots.rb +0 -48
- data/lib/fog/aws/models/compute/spot_request.rb +0 -119
- data/lib/fog/aws/models/compute/spot_requests.rb +0 -86
- data/lib/fog/aws/models/compute/subnet.rb +0 -61
- data/lib/fog/aws/models/compute/subnets.rb +0 -95
- data/lib/fog/aws/models/compute/tag.rb +0 -31
- data/lib/fog/aws/models/compute/tags.rb +0 -31
- data/lib/fog/aws/models/compute/volume.rb +0 -126
- data/lib/fog/aws/models/compute/volumes.rb +0 -117
- data/lib/fog/aws/models/compute/vpc.rb +0 -75
- data/lib/fog/aws/models/compute/vpcs.rb +0 -89
- data/lib/fog/aws/models/data_pipeline/pipeline.rb +0 -63
- data/lib/fog/aws/models/data_pipeline/pipelines.rb +0 -33
- data/lib/fog/aws/models/dns/record.rb +0 -116
- data/lib/fog/aws/models/dns/records.rb +0 -120
- data/lib/fog/aws/models/dns/zone.rb +0 -49
- data/lib/fog/aws/models/dns/zones.rb +0 -29
- data/lib/fog/aws/models/elasticache/cluster.rb +0 -69
- data/lib/fog/aws/models/elasticache/clusters.rb +0 -29
- data/lib/fog/aws/models/elasticache/parameter_group.rb +0 -28
- data/lib/fog/aws/models/elasticache/parameter_groups.rb +0 -28
- data/lib/fog/aws/models/elasticache/security_group.rb +0 -48
- data/lib/fog/aws/models/elasticache/security_groups.rb +0 -28
- data/lib/fog/aws/models/elasticache/subnet_group.rb +0 -32
- data/lib/fog/aws/models/elasticache/subnet_groups.rb +0 -24
- data/lib/fog/aws/models/elb/backend_server_description.rb +0 -11
- data/lib/fog/aws/models/elb/backend_server_descriptions.rb +0 -20
- data/lib/fog/aws/models/elb/listener.rb +0 -56
- data/lib/fog/aws/models/elb/listeners.rb +0 -30
- data/lib/fog/aws/models/elb/load_balancer.rb +0 -241
- data/lib/fog/aws/models/elb/load_balancers.rb +0 -37
- data/lib/fog/aws/models/elb/policies.rb +0 -52
- data/lib/fog/aws/models/elb/policy.rb +0 -59
- data/lib/fog/aws/models/glacier/archive.rb +0 -68
- data/lib/fog/aws/models/glacier/archives.rb +0 -26
- data/lib/fog/aws/models/glacier/job.rb +0 -61
- data/lib/fog/aws/models/glacier/jobs.rb +0 -40
- data/lib/fog/aws/models/glacier/vault.rb +0 -50
- data/lib/fog/aws/models/glacier/vaults.rb +0 -24
- data/lib/fog/aws/models/iam/access_key.rb +0 -39
- data/lib/fog/aws/models/iam/access_keys.rb +0 -32
- data/lib/fog/aws/models/iam/policies.rb +0 -40
- data/lib/fog/aws/models/iam/policy.rb +0 -36
- data/lib/fog/aws/models/iam/role.rb +0 -34
- data/lib/fog/aws/models/iam/roles.rb +0 -37
- data/lib/fog/aws/models/iam/user.rb +0 -38
- data/lib/fog/aws/models/iam/users.rb +0 -47
- data/lib/fog/aws/models/rds/instance_option.rb +0 -18
- data/lib/fog/aws/models/rds/instance_options.rb +0 -28
- data/lib/fog/aws/models/rds/log_file.rb +0 -22
- data/lib/fog/aws/models/rds/log_files.rb +0 -48
- data/lib/fog/aws/models/rds/parameter.rb +0 -18
- data/lib/fog/aws/models/rds/parameter_group.rb +0 -34
- data/lib/fog/aws/models/rds/parameter_groups.rb +0 -24
- data/lib/fog/aws/models/rds/parameters.rb +0 -36
- data/lib/fog/aws/models/rds/security_group.rb +0 -79
- data/lib/fog/aws/models/rds/security_groups.rb +0 -41
- data/lib/fog/aws/models/rds/server.rb +0 -140
- data/lib/fog/aws/models/rds/servers.rb +0 -24
- data/lib/fog/aws/models/rds/snapshot.rb +0 -49
- data/lib/fog/aws/models/rds/snapshots.rb +0 -69
- data/lib/fog/aws/models/rds/subnet_group.rb +0 -31
- data/lib/fog/aws/models/rds/subnet_groups.rb +0 -24
- data/lib/fog/aws/models/storage/directories.rb +0 -39
- data/lib/fog/aws/models/storage/directory.rb +0 -126
- data/lib/fog/aws/models/storage/file.rb +0 -280
- data/lib/fog/aws/models/storage/files.rb +0 -119
- data/lib/fog/aws/models/storage/version.rb +0 -33
- data/lib/fog/aws/models/storage/versions.rb +0 -34
- data/lib/fog/aws/parsers/auto_scaling/basic.rb +0 -24
- data/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +0 -49
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +0 -156
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb +0 -40
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_notification_types.rb +0 -40
- data/lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb +0 -97
- data/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +0 -64
- data/lib/fog/aws/parsers/auto_scaling/describe_notification_configurations.rb +0 -39
- data/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +0 -65
- data/lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb +0 -44
- data/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +0 -49
- data/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +0 -43
- data/lib/fog/aws/parsers/auto_scaling/describe_tags.rb +0 -42
- data/lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb +0 -40
- data/lib/fog/aws/parsers/auto_scaling/put_notification_configuration.rb +0 -24
- data/lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb +0 -27
- data/lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb +0 -32
- data/lib/fog/aws/parsers/beanstalk/check_dns_availability.rb +0 -16
- data/lib/fog/aws/parsers/beanstalk/create_application.rb +0 -21
- data/lib/fog/aws/parsers/beanstalk/create_application_version.rb +0 -23
- data/lib/fog/aws/parsers/beanstalk/create_configuration_template.rb +0 -26
- data/lib/fog/aws/parsers/beanstalk/create_environment.rb +0 -34
- data/lib/fog/aws/parsers/beanstalk/create_storage_location.rb +0 -15
- data/lib/fog/aws/parsers/beanstalk/describe_application_versions.rb +0 -23
- data/lib/fog/aws/parsers/beanstalk/describe_applications.rb +0 -21
- data/lib/fog/aws/parsers/beanstalk/describe_configuration_options.rb +0 -29
- data/lib/fog/aws/parsers/beanstalk/describe_configuration_settings.rb +0 -27
- data/lib/fog/aws/parsers/beanstalk/describe_environment_resources.rb +0 -34
- data/lib/fog/aws/parsers/beanstalk/describe_environments.rb +0 -35
- data/lib/fog/aws/parsers/beanstalk/describe_events.rb +0 -24
- data/lib/fog/aws/parsers/beanstalk/empty.rb +0 -20
- data/lib/fog/aws/parsers/beanstalk/list_available_solution_stacks.rb +0 -18
- data/lib/fog/aws/parsers/beanstalk/parser.rb +0 -84
- data/lib/fog/aws/parsers/beanstalk/retrieve_environment_info.rb +0 -19
- data/lib/fog/aws/parsers/beanstalk/terminate_environment.rb +0 -34
- data/lib/fog/aws/parsers/beanstalk/update_application.rb +0 -21
- data/lib/fog/aws/parsers/beanstalk/update_application_version.rb +0 -23
- data/lib/fog/aws/parsers/beanstalk/update_configuration_template.rb +0 -26
- data/lib/fog/aws/parsers/beanstalk/update_environment.rb +0 -34
- data/lib/fog/aws/parsers/beanstalk/validate_configuration_settings.rb +0 -19
- data/lib/fog/aws/parsers/cdn/distribution.rb +0 -55
- data/lib/fog/aws/parsers/cdn/get_distribution_list.rb +0 -57
- data/lib/fog/aws/parsers/cdn/get_invalidation.rb +0 -28
- data/lib/fog/aws/parsers/cdn/get_invalidation_list.rb +0 -38
- data/lib/fog/aws/parsers/cdn/get_streaming_distribution_list.rb +0 -55
- data/lib/fog/aws/parsers/cdn/post_invalidation.rb +0 -24
- data/lib/fog/aws/parsers/cdn/streaming_distribution.rb +0 -56
- data/lib/fog/aws/parsers/cloud_formation/basic.rb +0 -10
- data/lib/fog/aws/parsers/cloud_formation/create_stack.rb +0 -16
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +0 -28
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +0 -28
- data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +0 -78
- data/lib/fog/aws/parsers/cloud_formation/get_template.rb +0 -16
- data/lib/fog/aws/parsers/cloud_formation/list_stack_resources.rb +0 -30
- data/lib/fog/aws/parsers/cloud_formation/list_stacks.rb +0 -32
- data/lib/fog/aws/parsers/cloud_formation/update_stack.rb +0 -16
- data/lib/fog/aws/parsers/cloud_formation/validate_template.rb +0 -49
- data/lib/fog/aws/parsers/cloud_watch/delete_alarms.rb +0 -24
- data/lib/fog/aws/parsers/cloud_watch/describe_alarm_history.rb +0 -38
- data/lib/fog/aws/parsers/cloud_watch/describe_alarms.rb +0 -71
- data/lib/fog/aws/parsers/cloud_watch/describe_alarms_for_metric.rb +0 -69
- data/lib/fog/aws/parsers/cloud_watch/disable_alarm_actions.rb +0 -24
- data/lib/fog/aws/parsers/cloud_watch/enable_alarm_actions.rb +0 -24
- data/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +0 -40
- data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +0 -56
- data/lib/fog/aws/parsers/cloud_watch/put_metric_alarm.rb +0 -24
- data/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +0 -24
- data/lib/fog/aws/parsers/cloud_watch/set_alarm_state.rb +0 -24
- data/lib/fog/aws/parsers/compute/allocate_address.rb +0 -16
- data/lib/fog/aws/parsers/compute/assign_private_ip_addresses.rb +0 -22
- data/lib/fog/aws/parsers/compute/associate_address.rb +0 -22
- data/lib/fog/aws/parsers/compute/associate_route_table.rb +0 -16
- data/lib/fog/aws/parsers/compute/attach_network_interface.rb +0 -16
- data/lib/fog/aws/parsers/compute/attach_volume.rb +0 -18
- data/lib/fog/aws/parsers/compute/basic.rb +0 -22
- data/lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb +0 -26
- data/lib/fog/aws/parsers/compute/copy_image.rb +0 -18
- data/lib/fog/aws/parsers/compute/copy_snapshot.rb +0 -18
- data/lib/fog/aws/parsers/compute/create_dhcp_options.rb +0 -73
- data/lib/fog/aws/parsers/compute/create_image.rb +0 -16
- data/lib/fog/aws/parsers/compute/create_internet_gateway.rb +0 -61
- data/lib/fog/aws/parsers/compute/create_key_pair.rb +0 -16
- data/lib/fog/aws/parsers/compute/create_network_acl.rb +0 -28
- data/lib/fog/aws/parsers/compute/create_network_interface.rb +0 -28
- data/lib/fog/aws/parsers/compute/create_route_table.rb +0 -71
- data/lib/fog/aws/parsers/compute/create_security_group.rb +0 -22
- data/lib/fog/aws/parsers/compute/create_snapshot.rb +0 -22
- data/lib/fog/aws/parsers/compute/create_subnet.rb +0 -46
- data/lib/fog/aws/parsers/compute/create_volume.rb +0 -22
- data/lib/fog/aws/parsers/compute/create_vpc.rb +0 -47
- data/lib/fog/aws/parsers/compute/deregister_image.rb +0 -16
- data/lib/fog/aws/parsers/compute/describe_account_attributes.rb +0 -41
- data/lib/fog/aws/parsers/compute/describe_addresses.rb +0 -26
- data/lib/fog/aws/parsers/compute/describe_availability_zones.rb +0 -40
- data/lib/fog/aws/parsers/compute/describe_dhcp_options.rb +0 -72
- data/lib/fog/aws/parsers/compute/describe_images.rb +0 -89
- data/lib/fog/aws/parsers/compute/describe_instance_status.rb +0 -73
- data/lib/fog/aws/parsers/compute/describe_instances.rb +0 -122
- data/lib/fog/aws/parsers/compute/describe_internet_gateways.rb +0 -60
- data/lib/fog/aws/parsers/compute/describe_key_pairs.rb +0 -26
- data/lib/fog/aws/parsers/compute/describe_network_acls.rb +0 -42
- data/lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb +0 -77
- data/lib/fog/aws/parsers/compute/describe_network_interfaces.rb +0 -42
- data/lib/fog/aws/parsers/compute/describe_placement_groups.rb +0 -26
- data/lib/fog/aws/parsers/compute/describe_regions.rb +0 -26
- data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +0 -58
- data/lib/fog/aws/parsers/compute/describe_reserved_instances_offerings.rb +0 -30
- data/lib/fog/aws/parsers/compute/describe_route_tables.rb +0 -81
- data/lib/fog/aws/parsers/compute/describe_security_groups.rb +0 -111
- data/lib/fog/aws/parsers/compute/describe_snapshots.rb +0 -52
- data/lib/fog/aws/parsers/compute/describe_spot_price_history.rb +0 -30
- data/lib/fog/aws/parsers/compute/describe_subnets.rb +0 -49
- data/lib/fog/aws/parsers/compute/describe_tags.rb +0 -26
- data/lib/fog/aws/parsers/compute/describe_volume_status.rb +0 -87
- data/lib/fog/aws/parsers/compute/describe_volumes.rb +0 -71
- data/lib/fog/aws/parsers/compute/describe_vpc_attribute.rb +0 -48
- data/lib/fog/aws/parsers/compute/describe_vpcs.rb +0 -47
- data/lib/fog/aws/parsers/compute/detach_volume.rb +0 -18
- data/lib/fog/aws/parsers/compute/get_console_output.rb +0 -24
- data/lib/fog/aws/parsers/compute/get_password_data.rb +0 -22
- data/lib/fog/aws/parsers/compute/import_key_pair.rb +0 -16
- data/lib/fog/aws/parsers/compute/modify_subnet_attribute.rb +0 -24
- data/lib/fog/aws/parsers/compute/monitor_unmonitor_instances.rb +0 -31
- data/lib/fog/aws/parsers/compute/network_acl_parser.rb +0 -103
- data/lib/fog/aws/parsers/compute/network_interface_parser.rb +0 -108
- data/lib/fog/aws/parsers/compute/purchase_reserved_instances_offering.rb +0 -20
- data/lib/fog/aws/parsers/compute/register_image.rb +0 -16
- data/lib/fog/aws/parsers/compute/replace_network_acl_association.rb +0 -20
- data/lib/fog/aws/parsers/compute/run_instances.rb +0 -90
- data/lib/fog/aws/parsers/compute/spot_datafeed_subscription.rb +0 -25
- data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +0 -69
- data/lib/fog/aws/parsers/compute/start_stop_instances.rb +0 -37
- data/lib/fog/aws/parsers/compute/terminate_instances.rb +0 -51
- data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +0 -22
- data/lib/fog/aws/parsers/dns/create_health_check.rb +0 -0
- data/lib/fog/aws/parsers/dns/create_hosted_zone.rb +0 -51
- data/lib/fog/aws/parsers/dns/delete_hosted_zone.rb +0 -21
- data/lib/fog/aws/parsers/dns/get_change.rb +0 -22
- data/lib/fog/aws/parsers/dns/get_hosted_zone.rb +0 -41
- data/lib/fog/aws/parsers/dns/health_check.rb +0 -33
- data/lib/fog/aws/parsers/dns/list_health_checks.rb +0 -41
- data/lib/fog/aws/parsers/dns/list_hosted_zones.rb +0 -33
- data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +0 -58
- data/lib/fog/aws/parsers/elasticache/authorize_cache_security_group_ingress.rb +0 -21
- data/lib/fog/aws/parsers/elasticache/base.rb +0 -28
- data/lib/fog/aws/parsers/elasticache/cache_cluster_parser.rb +0 -77
- data/lib/fog/aws/parsers/elasticache/create_cache_subnet_group.rb +0 -32
- data/lib/fog/aws/parsers/elasticache/describe_cache_clusters.rb +0 -26
- data/lib/fog/aws/parsers/elasticache/describe_cache_parameters.rb +0 -21
- data/lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb +0 -34
- data/lib/fog/aws/parsers/elasticache/describe_engine_default_parameters.rb +0 -21
- data/lib/fog/aws/parsers/elasticache/describe_parameter_groups.rb +0 -26
- data/lib/fog/aws/parsers/elasticache/describe_reserved_cache_nodes.rb +0 -32
- data/lib/fog/aws/parsers/elasticache/describe_security_groups.rb +0 -26
- data/lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb +0 -58
- data/lib/fog/aws/parsers/elasticache/event_list.rb +0 -38
- data/lib/fog/aws/parsers/elasticache/modify_parameter_group.rb +0 -26
- data/lib/fog/aws/parsers/elasticache/parameter_group_parser.rb +0 -29
- data/lib/fog/aws/parsers/elasticache/reset_parameter_group.rb +0 -26
- data/lib/fog/aws/parsers/elasticache/security_group_parser.rb +0 -38
- data/lib/fog/aws/parsers/elasticache/single_cache_cluster.rb +0 -21
- data/lib/fog/aws/parsers/elasticache/single_parameter_group.rb +0 -21
- data/lib/fog/aws/parsers/elasticache/single_security_group.rb +0 -33
- data/lib/fog/aws/parsers/elasticache/subnet_group_parser.rb +0 -35
- data/lib/fog/aws/parsers/elb/apply_security_groups_to_load_balancer.rb +0 -22
- data/lib/fog/aws/parsers/elb/attach_load_balancer_to_subnets.rb +0 -22
- data/lib/fog/aws/parsers/elb/configure_health_check.rb +0 -33
- data/lib/fog/aws/parsers/elb/create_load_balancer.rb +0 -22
- data/lib/fog/aws/parsers/elb/delete_load_balancer.rb +0 -20
- data/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +0 -22
- data/lib/fog/aws/parsers/elb/describe_instance_health.rb +0 -26
- data/lib/fog/aws/parsers/elb/describe_load_balancer_attributes.rb +0 -54
- data/lib/fog/aws/parsers/elb/describe_load_balancer_policies.rb +0 -60
- data/lib/fog/aws/parsers/elb/describe_load_balancer_policy_types.rb +0 -66
- data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +0 -167
- data/lib/fog/aws/parsers/elb/describe_tags.rb +0 -26
- data/lib/fog/aws/parsers/elb/detach_load_balancer_from_subnets.rb +0 -22
- data/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +0 -22
- data/lib/fog/aws/parsers/elb/empty.rb +0 -24
- data/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +0 -22
- data/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +0 -22
- data/lib/fog/aws/parsers/elb/tag_list_parser.rb +0 -57
- data/lib/fog/aws/parsers/emr/add_instance_groups.rb +0 -26
- data/lib/fog/aws/parsers/emr/add_job_flow_steps.rb +0 -16
- data/lib/fog/aws/parsers/emr/describe_job_flows.rb +0 -137
- data/lib/fog/aws/parsers/emr/modify_instance_groups.rb +0 -16
- data/lib/fog/aws/parsers/emr/run_job_flow.rb +0 -18
- data/lib/fog/aws/parsers/emr/set_termination_protection.rb +0 -16
- data/lib/fog/aws/parsers/emr/terminate_job_flows.rb +0 -16
- data/lib/fog/aws/parsers/iam/base_instance_profile.rb +0 -75
- data/lib/fog/aws/parsers/iam/basic.rb +0 -16
- data/lib/fog/aws/parsers/iam/create_access_key.rb +0 -22
- data/lib/fog/aws/parsers/iam/create_group.rb +0 -22
- data/lib/fog/aws/parsers/iam/create_user.rb +0 -22
- data/lib/fog/aws/parsers/iam/get_account_password_policy.rb +0 -26
- data/lib/fog/aws/parsers/iam/get_account_summary.rb +0 -42
- data/lib/fog/aws/parsers/iam/get_group.rb +0 -52
- data/lib/fog/aws/parsers/iam/get_group_policy.rb +0 -30
- data/lib/fog/aws/parsers/iam/get_role_policy.rb +0 -28
- data/lib/fog/aws/parsers/iam/get_user.rb +0 -26
- data/lib/fog/aws/parsers/iam/get_user_policy.rb +0 -30
- data/lib/fog/aws/parsers/iam/instance_profile.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_access_keys.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_account_aliases.rb +0 -24
- data/lib/fog/aws/parsers/iam/list_groups.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_groups_for_user.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_instance_profiles.rb +0 -29
- data/lib/fog/aws/parsers/iam/list_mfa_devices.rb +0 -30
- data/lib/fog/aws/parsers/iam/list_policies.rb +0 -24
- data/lib/fog/aws/parsers/iam/list_roles.rb +0 -29
- data/lib/fog/aws/parsers/iam/list_server_certificates.rb +0 -34
- data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_users.rb +0 -30
- data/lib/fog/aws/parsers/iam/login_profile.rb +0 -24
- data/lib/fog/aws/parsers/iam/role_parser.rb +0 -49
- data/lib/fog/aws/parsers/iam/single_role.rb +0 -27
- data/lib/fog/aws/parsers/iam/update_group.rb +0 -23
- data/lib/fog/aws/parsers/iam/update_user.rb +0 -24
- data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +0 -24
- data/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +0 -22
- data/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +0 -32
- data/lib/fog/aws/parsers/rds/base.rb +0 -28
- data/lib/fog/aws/parsers/rds/create_db_instance.rb +0 -32
- data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +0 -32
- data/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +0 -33
- data/lib/fog/aws/parsers/rds/create_db_security_group.rb +0 -32
- data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +0 -32
- data/lib/fog/aws/parsers/rds/create_db_subnet_group.rb +0 -32
- data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +0 -32
- data/lib/fog/aws/parsers/rds/db_parser.rb +0 -136
- data/lib/fog/aws/parsers/rds/delete_db_instance.rb +0 -33
- data/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +0 -25
- data/lib/fog/aws/parsers/rds/delete_db_security_group.rb +0 -29
- data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +0 -32
- data/lib/fog/aws/parsers/rds/delete_db_subnet_group.rb +0 -29
- data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_db_instances.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_db_log_files.rb +0 -42
- data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +0 -33
- data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +0 -42
- data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +0 -38
- data/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_orderable_db_instance_options.rb +0 -45
- data/lib/fog/aws/parsers/rds/download_db_logfile_portion.rb +0 -22
- data/lib/fog/aws/parsers/rds/event_list.rb +0 -38
- data/lib/fog/aws/parsers/rds/modify_db_instance.rb +0 -32
- data/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +0 -26
- data/lib/fog/aws/parsers/rds/promote_read_replica.rb +0 -32
- data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +0 -33
- data/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +0 -32
- data/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +0 -32
- data/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +0 -32
- data/lib/fog/aws/parsers/rds/security_group_parser.rb +0 -36
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +0 -39
- data/lib/fog/aws/parsers/rds/subnet_group_parser.rb +0 -35
- data/lib/fog/aws/parsers/rds/tag_list_parser.rb +0 -33
- data/lib/fog/aws/parsers/redshift/cluster.rb +0 -28
- data/lib/fog/aws/parsers/redshift/cluster_parser.rb +0 -143
- data/lib/fog/aws/parsers/redshift/cluster_security_group_parser.rb +0 -49
- data/lib/fog/aws/parsers/redshift/cluster_snapshot.rb +0 -31
- data/lib/fog/aws/parsers/redshift/cluster_snapshot_parser.rb +0 -65
- data/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +0 -50
- data/lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb +0 -29
- data/lib/fog/aws/parsers/redshift/create_cluster_security_group.rb +0 -30
- data/lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb +0 -40
- data/lib/fog/aws/parsers/redshift/describe_cluster_parameters.rb +0 -47
- data/lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb +0 -37
- data/lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb +0 -37
- data/lib/fog/aws/parsers/redshift/describe_cluster_subnet_groups.rb +0 -55
- data/lib/fog/aws/parsers/redshift/describe_cluster_versions.rb +0 -50
- data/lib/fog/aws/parsers/redshift/describe_clusters.rb +0 -29
- data/lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb +0 -48
- data/lib/fog/aws/parsers/redshift/describe_events.rb +0 -43
- data/lib/fog/aws/parsers/redshift/describe_orderable_cluster_options.rb +0 -53
- data/lib/fog/aws/parsers/redshift/describe_reserved_node_offerings.rb +0 -63
- data/lib/fog/aws/parsers/redshift/describe_reserved_nodes.rb +0 -70
- data/lib/fog/aws/parsers/redshift/describe_resize.rb +0 -58
- data/lib/fog/aws/parsers/redshift/purchase_reserved_node_offering.rb +0 -56
- data/lib/fog/aws/parsers/redshift/revoke_cluster_security_group_ingress.rb +0 -30
- data/lib/fog/aws/parsers/redshift/update_cluster_parameter_group_parser.rb +0 -28
- data/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +0 -20
- data/lib/fog/aws/parsers/ses/get_send_quota.rb +0 -22
- data/lib/fog/aws/parsers/ses/get_send_statistics.rb +0 -26
- data/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +0 -22
- data/lib/fog/aws/parsers/ses/send_email.rb +0 -22
- data/lib/fog/aws/parsers/ses/send_raw_email.rb +0 -22
- data/lib/fog/aws/parsers/ses/verify_domain_identity.rb +0 -22
- data/lib/fog/aws/parsers/ses/verify_email_address.rb +0 -20
- data/lib/fog/aws/parsers/simpledb/basic.rb +0 -27
- data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +0 -28
- data/lib/fog/aws/parsers/simpledb/get_attributes.rb +0 -32
- data/lib/fog/aws/parsers/simpledb/list_domains.rb +0 -26
- data/lib/fog/aws/parsers/simpledb/select.rb +0 -37
- data/lib/fog/aws/parsers/sns/add_permission.rb +0 -20
- data/lib/fog/aws/parsers/sns/confirm_subscription.rb +0 -20
- data/lib/fog/aws/parsers/sns/create_topic.rb +0 -20
- data/lib/fog/aws/parsers/sns/delete_topic.rb +0 -20
- data/lib/fog/aws/parsers/sns/get_topic_attributes.rb +0 -29
- data/lib/fog/aws/parsers/sns/list_subscriptions.rb +0 -26
- data/lib/fog/aws/parsers/sns/list_topics.rb +0 -22
- data/lib/fog/aws/parsers/sns/publish.rb +0 -20
- data/lib/fog/aws/parsers/sns/remove_permission.rb +0 -20
- data/lib/fog/aws/parsers/sns/set_topic_attributes.rb +0 -20
- data/lib/fog/aws/parsers/sns/subscribe.rb +0 -20
- data/lib/fog/aws/parsers/sns/unsubscribe.rb +0 -20
- data/lib/fog/aws/parsers/sqs/basic.rb +0 -20
- data/lib/fog/aws/parsers/sqs/create_queue.rb +0 -22
- data/lib/fog/aws/parsers/sqs/get_queue_attributes.rb +0 -31
- data/lib/fog/aws/parsers/sqs/list_queues.rb +0 -22
- data/lib/fog/aws/parsers/sqs/receive_message.rb +0 -37
- data/lib/fog/aws/parsers/sqs/send_message.rb +0 -24
- data/lib/fog/aws/parsers/storage/access_control_list.rb +0 -42
- data/lib/fog/aws/parsers/storage/complete_multipart_upload.rb +0 -20
- data/lib/fog/aws/parsers/storage/copy_object.rb +0 -18
- data/lib/fog/aws/parsers/storage/cors_configuration.rb +0 -38
- data/lib/fog/aws/parsers/storage/delete_multiple_objects.rb +0 -45
- data/lib/fog/aws/parsers/storage/get_bucket.rb +0 -58
- data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +0 -64
- data/lib/fog/aws/parsers/storage/get_bucket_location.rb +0 -16
- data/lib/fog/aws/parsers/storage/get_bucket_logging.rb +0 -36
- data/lib/fog/aws/parsers/storage/get_bucket_object_versions.rb +0 -84
- data/lib/fog/aws/parsers/storage/get_bucket_tagging.rb +0 -33
- data/lib/fog/aws/parsers/storage/get_bucket_versioning.rb +0 -20
- data/lib/fog/aws/parsers/storage/get_bucket_website.rb +0 -26
- data/lib/fog/aws/parsers/storage/get_request_payment.rb +0 -16
- data/lib/fog/aws/parsers/storage/get_service.rb +0 -28
- data/lib/fog/aws/parsers/storage/initiate_multipart_upload.rb +0 -20
- data/lib/fog/aws/parsers/storage/list_multipart_uploads.rb +0 -52
- data/lib/fog/aws/parsers/storage/list_parts.rb +0 -36
- data/lib/fog/aws/parsers/sts/assume_role.rb +0 -26
- data/lib/fog/aws/parsers/sts/assume_role_with_saml.rb +0 -26
- data/lib/fog/aws/parsers/sts/get_session_token.rb +0 -26
- data/lib/fog/aws/rds.rb +0 -258
- data/lib/fog/aws/redshift.rb +0 -133
- data/lib/fog/aws/region_methods.rb +0 -11
- data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +0 -140
- data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +0 -114
- data/lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb +0 -57
- data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +0 -55
- data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +0 -51
- data/lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb +0 -58
- data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +0 -50
- data/lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb +0 -42
- data/lib/fog/aws/requests/auto_scaling/delete_tags.rb +0 -57
- data/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +0 -48
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +0 -134
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +0 -89
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_notification_types.rb +0 -50
- data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +0 -112
- data/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +0 -56
- data/lib/fog/aws/requests/auto_scaling/describe_notification_configurations.rb +0 -73
- data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +0 -105
- data/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +0 -82
- data/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +0 -49
- data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +0 -82
- data/lib/fog/aws/requests/auto_scaling/describe_tags.rb +0 -68
- data/lib/fog/aws/requests/auto_scaling/describe_termination_policy_types.rb +0 -47
- data/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +0 -50
- data/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +0 -60
- data/lib/fog/aws/requests/auto_scaling/execute_policy.rb +0 -44
- data/lib/fog/aws/requests/auto_scaling/put_notification_configuration.rb +0 -64
- data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +0 -79
- data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +0 -64
- data/lib/fog/aws/requests/auto_scaling/resume_processes.rb +0 -53
- data/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +0 -81
- data/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +0 -49
- data/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +0 -56
- data/lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb +0 -59
- data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +0 -93
- data/lib/fog/aws/requests/beanstalk/check_dns_availability.rb +0 -26
- data/lib/fog/aws/requests/beanstalk/create_application.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/create_application_version.rb +0 -40
- data/lib/fog/aws/requests/beanstalk/create_configuration_template.rb +0 -46
- data/lib/fog/aws/requests/beanstalk/create_environment.rb +0 -49
- data/lib/fog/aws/requests/beanstalk/create_storage_location.rb +0 -26
- data/lib/fog/aws/requests/beanstalk/delete_application.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/delete_application_version.rb +0 -35
- data/lib/fog/aws/requests/beanstalk/delete_configuration_template.rb +0 -33
- data/lib/fog/aws/requests/beanstalk/delete_environment_configuration.rb +0 -33
- data/lib/fog/aws/requests/beanstalk/describe_application_versions.rb +0 -33
- data/lib/fog/aws/requests/beanstalk/describe_applications.rb +0 -29
- data/lib/fog/aws/requests/beanstalk/describe_configuration_options.rb +0 -39
- data/lib/fog/aws/requests/beanstalk/describe_configuration_settings.rb +0 -30
- data/lib/fog/aws/requests/beanstalk/describe_environment_resources.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/describe_environments.rb +0 -39
- data/lib/fog/aws/requests/beanstalk/describe_events.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/list_available_solution_stacks.rb +0 -26
- data/lib/fog/aws/requests/beanstalk/rebuild_environment.rb +0 -29
- data/lib/fog/aws/requests/beanstalk/request_environment_info.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/restart_app_server.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/retrieve_environment_info.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/swap_environment_cnames.rb +0 -28
- data/lib/fog/aws/requests/beanstalk/terminate_environment.rb +0 -30
- data/lib/fog/aws/requests/beanstalk/update_application.rb +0 -29
- data/lib/fog/aws/requests/beanstalk/update_application_version.rb +0 -29
- data/lib/fog/aws/requests/beanstalk/update_configuration_template.rb +0 -35
- data/lib/fog/aws/requests/beanstalk/update_environment.rb +0 -41
- data/lib/fog/aws/requests/beanstalk/validate_configuration_settings.rb +0 -32
- data/lib/fog/aws/requests/cdn/delete_distribution.rb +0 -52
- data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +0 -51
- data/lib/fog/aws/requests/cdn/get_distribution.rb +0 -78
- data/lib/fog/aws/requests/cdn/get_distribution_list.rb +0 -81
- data/lib/fog/aws/requests/cdn/get_invalidation.rb +0 -58
- data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +0 -76
- data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +0 -69
- data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +0 -81
- data/lib/fog/aws/requests/cdn/post_distribution.rb +0 -130
- data/lib/fog/aws/requests/cdn/post_invalidation.rb +0 -75
- data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +0 -115
- data/lib/fog/aws/requests/cdn/put_distribution_config.rb +0 -116
- data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +0 -105
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +0 -88
- data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +0 -25
- data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +0 -39
- data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +0 -38
- data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +0 -37
- data/lib/fog/aws/requests/cloud_formation/get_template.rb +0 -27
- data/lib/fog/aws/requests/cloud_formation/list_stack_resources.rb +0 -34
- data/lib/fog/aws/requests/cloud_formation/list_stacks.rb +0 -35
- data/lib/fog/aws/requests/cloud_formation/update_stack.rb +0 -56
- data/lib/fog/aws/requests/cloud_formation/validate_template.rb +0 -29
- data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +0 -47
- data/lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb +0 -32
- data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +0 -55
- data/lib/fog/aws/requests/cloud_watch/describe_alarms_for_metric.rb +0 -38
- data/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb +0 -29
- data/lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb +0 -29
- data/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +0 -46
- data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +0 -62
- data/lib/fog/aws/requests/cloud_watch/put_metric_alarm.rb +0 -93
- data/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +0 -72
- data/lib/fog/aws/requests/cloud_watch/set_alarm_state.rb +0 -30
- data/lib/fog/aws/requests/compute/allocate_address.rb +0 -55
- data/lib/fog/aws/requests/compute/assign_private_ip_addresses.rb +0 -55
- data/lib/fog/aws/requests/compute/associate_address.rb +0 -126
- data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +0 -53
- data/lib/fog/aws/requests/compute/associate_route_table.rb +0 -70
- data/lib/fog/aws/requests/compute/attach_internet_gateway.rb +0 -52
- data/lib/fog/aws/requests/compute/attach_network_interface.rb +0 -61
- data/lib/fog/aws/requests/compute/attach_volume.rb +0 -83
- data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +0 -230
- data/lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb +0 -32
- data/lib/fog/aws/requests/compute/copy_image.rb +0 -59
- data/lib/fog/aws/requests/compute/copy_snapshot.rb +0 -54
- data/lib/fog/aws/requests/compute/create_dhcp_options.rb +0 -74
- data/lib/fog/aws/requests/compute/create_image.rb +0 -91
- data/lib/fog/aws/requests/compute/create_internet_gateway.rb +0 -52
- data/lib/fog/aws/requests/compute/create_key_pair.rb +0 -52
- data/lib/fog/aws/requests/compute/create_network_acl.rb +0 -105
- data/lib/fog/aws/requests/compute/create_network_acl_entry.rb +0 -80
- data/lib/fog/aws/requests/compute/create_network_interface.rb +0 -134
- data/lib/fog/aws/requests/compute/create_placement_group.rb +0 -31
- data/lib/fog/aws/requests/compute/create_route.rb +0 -87
- data/lib/fog/aws/requests/compute/create_route_table.rb +0 -69
- data/lib/fog/aws/requests/compute/create_security_group.rb +0 -60
- data/lib/fog/aws/requests/compute/create_snapshot.rb +0 -70
- data/lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb +0 -39
- data/lib/fog/aws/requests/compute/create_subnet.rb +0 -102
- data/lib/fog/aws/requests/compute/create_tags.rb +0 -65
- data/lib/fog/aws/requests/compute/create_volume.rb +0 -124
- data/lib/fog/aws/requests/compute/create_vpc.rb +0 -94
- data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +0 -50
- data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +0 -48
- data/lib/fog/aws/requests/compute/delete_key_pair.rb +0 -43
- data/lib/fog/aws/requests/compute/delete_network_acl.rb +0 -52
- data/lib/fog/aws/requests/compute/delete_network_acl_entry.rb +0 -55
- data/lib/fog/aws/requests/compute/delete_network_interface.rb +0 -51
- data/lib/fog/aws/requests/compute/delete_placement_group.rb +0 -30
- data/lib/fog/aws/requests/compute/delete_route.rb +0 -57
- data/lib/fog/aws/requests/compute/delete_route_table.rb +0 -49
- data/lib/fog/aws/requests/compute/delete_security_group.rb +0 -100
- data/lib/fog/aws/requests/compute/delete_snapshot.rb +0 -46
- data/lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb +0 -26
- data/lib/fog/aws/requests/compute/delete_subnet.rb +0 -49
- data/lib/fog/aws/requests/compute/delete_tags.rb +0 -67
- data/lib/fog/aws/requests/compute/delete_volume.rb +0 -52
- data/lib/fog/aws/requests/compute/delete_vpc.rb +0 -56
- data/lib/fog/aws/requests/compute/deregister_image.rb +0 -49
- data/lib/fog/aws/requests/compute/describe_account_attributes.rb +0 -48
- data/lib/fog/aws/requests/compute/describe_addresses.rb +0 -62
- data/lib/fog/aws/requests/compute/describe_availability_zones.rb +0 -94
- data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +0 -54
- data/lib/fog/aws/requests/compute/describe_images.rb +0 -126
- data/lib/fog/aws/requests/compute/describe_instance_status.rb +0 -46
- data/lib/fog/aws/requests/compute/describe_instances.rb +0 -255
- data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +0 -59
- data/lib/fog/aws/requests/compute/describe_key_pairs.rb +0 -64
- data/lib/fog/aws/requests/compute/describe_network_acls.rb +0 -108
- data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +0 -66
- data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +0 -85
- data/lib/fog/aws/requests/compute/describe_placement_groups.rb +0 -33
- data/lib/fog/aws/requests/compute/describe_regions.rb +0 -64
- data/lib/fog/aws/requests/compute/describe_reserved_instances.rb +0 -59
- data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +0 -80
- data/lib/fog/aws/requests/compute/describe_route_tables.rb +0 -86
- data/lib/fog/aws/requests/compute/describe_security_groups.rb +0 -98
- data/lib/fog/aws/requests/compute/describe_snapshots.rb +0 -120
- data/lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb +0 -33
- data/lib/fog/aws/requests/compute/describe_spot_instance_requests.rb +0 -46
- data/lib/fog/aws/requests/compute/describe_spot_price_history.rb +0 -35
- data/lib/fog/aws/requests/compute/describe_subnets.rb +0 -71
- data/lib/fog/aws/requests/compute/describe_tags.rb +0 -104
- data/lib/fog/aws/requests/compute/describe_volume_status.rb +0 -43
- data/lib/fog/aws/requests/compute/describe_volumes.rb +0 -118
- data/lib/fog/aws/requests/compute/describe_vpc_attribute.rb +0 -55
- data/lib/fog/aws/requests/compute/describe_vpcs.rb +0 -74
- data/lib/fog/aws/requests/compute/detach_internet_gateway.rb +0 -52
- data/lib/fog/aws/requests/compute/detach_network_interface.rb +0 -48
- data/lib/fog/aws/requests/compute/detach_volume.rb +0 -61
- data/lib/fog/aws/requests/compute/disassociate_address.rb +0 -55
- data/lib/fog/aws/requests/compute/disassociate_route_table.rb +0 -54
- data/lib/fog/aws/requests/compute/get_console_output.rb +0 -50
- data/lib/fog/aws/requests/compute/get_password_data.rb +0 -52
- data/lib/fog/aws/requests/compute/import_key_pair.rb +0 -52
- data/lib/fog/aws/requests/compute/modify_image_attribute.rb +0 -70
- data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +0 -42
- data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +0 -89
- data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +0 -35
- data/lib/fog/aws/requests/compute/modify_subnet_attribute.rb +0 -58
- data/lib/fog/aws/requests/compute/modify_volume_attribute.rb +0 -48
- data/lib/fog/aws/requests/compute/modify_vpc_attribute.rb +0 -66
- data/lib/fog/aws/requests/compute/monitor_instances.rb +0 -48
- data/lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb +0 -62
- data/lib/fog/aws/requests/compute/reboot_instances.rb +0 -50
- data/lib/fog/aws/requests/compute/register_image.rb +0 -133
- data/lib/fog/aws/requests/compute/release_address.rb +0 -59
- data/lib/fog/aws/requests/compute/replace_network_acl_association.rb +0 -66
- data/lib/fog/aws/requests/compute/replace_network_acl_entry.rb +0 -81
- data/lib/fog/aws/requests/compute/replace_route.rb +0 -80
- data/lib/fog/aws/requests/compute/request_spot_instances.rb +0 -96
- data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +0 -56
- data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +0 -98
- data/lib/fog/aws/requests/compute/run_instances.rb +0 -274
- data/lib/fog/aws/requests/compute/start_instances.rb +0 -58
- data/lib/fog/aws/requests/compute/stop_instances.rb +0 -59
- data/lib/fog/aws/requests/compute/terminate_instances.rb +0 -92
- data/lib/fog/aws/requests/compute/unmonitor_instances.rb +0 -48
- data/lib/fog/aws/requests/data_pipeline/activate_pipeline.rb +0 -31
- data/lib/fog/aws/requests/data_pipeline/create_pipeline.rb +0 -39
- data/lib/fog/aws/requests/data_pipeline/delete_pipeline.rb +0 -30
- data/lib/fog/aws/requests/data_pipeline/describe_objects.rb +0 -38
- data/lib/fog/aws/requests/data_pipeline/describe_pipelines.rb +0 -32
- data/lib/fog/aws/requests/data_pipeline/get_pipeline_definition.rb +0 -33
- data/lib/fog/aws/requests/data_pipeline/list_pipelines.rb +0 -32
- data/lib/fog/aws/requests/data_pipeline/put_pipeline_definition.rb +0 -76
- data/lib/fog/aws/requests/data_pipeline/query_objects.rb +0 -38
- data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +0 -243
- data/lib/fog/aws/requests/dns/create_health_check.rb +0 -64
- data/lib/fog/aws/requests/dns/create_hosted_zone.rb +0 -108
- data/lib/fog/aws/requests/dns/delete_health_check.rb +0 -24
- data/lib/fog/aws/requests/dns/delete_hosted_zone.rb +0 -66
- data/lib/fog/aws/requests/dns/get_change.rb +0 -59
- data/lib/fog/aws/requests/dns/get_health_check.rb +0 -41
- data/lib/fog/aws/requests/dns/get_hosted_zone.rb +0 -61
- data/lib/fog/aws/requests/dns/list_health_checks.rb +0 -36
- data/lib/fog/aws/requests/dns/list_hosted_zones.rb +0 -88
- data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +0 -130
- data/lib/fog/aws/requests/dynamodb/batch_get_item.rb +0 -41
- data/lib/fog/aws/requests/dynamodb/batch_write_item.rb +0 -33
- data/lib/fog/aws/requests/dynamodb/create_table.rb +0 -53
- data/lib/fog/aws/requests/dynamodb/delete_item.rb +0 -43
- data/lib/fog/aws/requests/dynamodb/delete_table.rb +0 -40
- data/lib/fog/aws/requests/dynamodb/describe_table.rb +0 -42
- data/lib/fog/aws/requests/dynamodb/get_item.rb +0 -41
- data/lib/fog/aws/requests/dynamodb/list_tables.rb +0 -27
- data/lib/fog/aws/requests/dynamodb/put_item.rb +0 -39
- data/lib/fog/aws/requests/dynamodb/query.rb +0 -42
- data/lib/fog/aws/requests/dynamodb/scan.rb +0 -43
- data/lib/fog/aws/requests/dynamodb/update_item.rb +0 -47
- data/lib/fog/aws/requests/dynamodb/update_table.rb +0 -44
- data/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +0 -57
- data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +0 -94
- data/lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb +0 -52
- data/lib/fog/aws/requests/elasticache/create_cache_security_group.rb +0 -51
- data/lib/fog/aws/requests/elasticache/create_cache_subnet_group.rb +0 -60
- data/lib/fog/aws/requests/elasticache/delete_cache_cluster.rb +0 -38
- data/lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb +0 -40
- data/lib/fog/aws/requests/elasticache/delete_cache_security_group.rb +0 -39
- data/lib/fog/aws/requests/elasticache/delete_cache_subnet_group.rb +0 -39
- data/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb +0 -51
- data/lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb +0 -47
- data/lib/fog/aws/requests/elasticache/describe_cache_parameters.rb +0 -34
- data/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb +0 -64
- data/lib/fog/aws/requests/elasticache/describe_cache_subnet_groups.rb +0 -59
- data/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb +0 -33
- data/lib/fog/aws/requests/elasticache/describe_events.rb +0 -47
- data/lib/fog/aws/requests/elasticache/describe_reserved_cache_nodes.rb +0 -38
- data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +0 -99
- data/lib/fog/aws/requests/elasticache/modify_cache_parameter_group.rb +0 -43
- data/lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb +0 -49
- data/lib/fog/aws/requests/elasticache/reset_cache_parameter_group.rb +0 -44
- data/lib/fog/aws/requests/elasticache/revoke_cache_security_group_ingress.rb +0 -35
- data/lib/fog/aws/requests/elb/add_tags.rb +0 -46
- data/lib/fog/aws/requests/elb/apply_security_groups_to_load_balancer.rb +0 -58
- data/lib/fog/aws/requests/elb/attach_load_balancer_to_subnets.rb +0 -58
- data/lib/fog/aws/requests/elb/configure_health_check.rb +0 -63
- data/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +0 -52
- data/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +0 -54
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +0 -206
- data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +0 -86
- data/lib/fog/aws/requests/elb/create_load_balancer_policy.rb +0 -80
- data/lib/fog/aws/requests/elb/delete_load_balancer.rb +0 -49
- data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +0 -48
- data/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +0 -52
- data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +0 -61
- data/lib/fog/aws/requests/elb/describe_instance_health.rb +0 -70
- data/lib/fog/aws/requests/elb/describe_load_balancer_attributes.rb +0 -58
- data/lib/fog/aws/requests/elb/describe_load_balancer_policies.rb +0 -69
- data/lib/fog/aws/requests/elb/describe_load_balancer_policy_types.rb +0 -66
- data/lib/fog/aws/requests/elb/describe_load_balancers.rb +0 -137
- data/lib/fog/aws/requests/elb/describe_tags.rb +0 -56
- data/lib/fog/aws/requests/elb/detach_load_balancer_from_subnets.rb +0 -58
- data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +0 -57
- data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +0 -58
- data/lib/fog/aws/requests/elb/modify_load_balancer_attributes.rb +0 -65
- data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +0 -62
- data/lib/fog/aws/requests/elb/remove_tags.rb +0 -46
- data/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +0 -65
- data/lib/fog/aws/requests/elb/set_load_balancer_policies_for_backend_server.rb +0 -66
- data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +0 -78
- data/lib/fog/aws/requests/emr/add_instance_groups.rb +0 -42
- data/lib/fog/aws/requests/emr/add_job_flow_steps.rb +0 -45
- data/lib/fog/aws/requests/emr/describe_job_flows.rb +0 -104
- data/lib/fog/aws/requests/emr/modify_instance_groups.rb +0 -36
- data/lib/fog/aws/requests/emr/run_job_flow.rb +0 -104
- data/lib/fog/aws/requests/emr/set_termination_protection.rb +0 -35
- data/lib/fog/aws/requests/emr/terminate_job_flows.rb +0 -33
- data/lib/fog/aws/requests/glacier/abort_multipart_upload.rb +0 -33
- data/lib/fog/aws/requests/glacier/complete_multipart_upload.rb +0 -40
- data/lib/fog/aws/requests/glacier/create_archive.rb +0 -41
- data/lib/fog/aws/requests/glacier/create_vault.rb +0 -32
- data/lib/fog/aws/requests/glacier/delete_archive.rb +0 -33
- data/lib/fog/aws/requests/glacier/delete_vault.rb +0 -32
- data/lib/fog/aws/requests/glacier/delete_vault_notification_configuration.rb +0 -31
- data/lib/fog/aws/requests/glacier/describe_job.rb +0 -33
- data/lib/fog/aws/requests/glacier/describe_vault.rb +0 -32
- data/lib/fog/aws/requests/glacier/get_job_output.rb +0 -39
- data/lib/fog/aws/requests/glacier/get_vault_notification_configuration.rb +0 -32
- data/lib/fog/aws/requests/glacier/initiate_job.rb +0 -39
- data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +0 -36
- data/lib/fog/aws/requests/glacier/list_jobs.rb +0 -36
- data/lib/fog/aws/requests/glacier/list_multipart_uploads.rb +0 -34
- data/lib/fog/aws/requests/glacier/list_parts.rb +0 -35
- data/lib/fog/aws/requests/glacier/list_vaults.rb +0 -34
- data/lib/fog/aws/requests/glacier/set_vault_notification_configuration.rb +0 -35
- data/lib/fog/aws/requests/glacier/upload_part.rb +0 -44
- data/lib/fog/aws/requests/iam/add_role_to_instance_profile.rb +0 -32
- data/lib/fog/aws/requests/iam/add_user_to_group.rb +0 -54
- data/lib/fog/aws/requests/iam/create_access_key.rb +0 -66
- data/lib/fog/aws/requests/iam/create_account_alias.rb +0 -17
- data/lib/fog/aws/requests/iam/create_group.rb +0 -56
- data/lib/fog/aws/requests/iam/create_instance_profile.rb +0 -45
- data/lib/fog/aws/requests/iam/create_login_profile.rb +0 -34
- data/lib/fog/aws/requests/iam/create_role.rb +0 -55
- data/lib/fog/aws/requests/iam/create_user.rb +0 -59
- data/lib/fog/aws/requests/iam/delete_access_key.rb +0 -47
- data/lib/fog/aws/requests/iam/delete_account_alias.rb +0 -17
- data/lib/fog/aws/requests/iam/delete_account_password_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/delete_group.rb +0 -48
- data/lib/fog/aws/requests/iam/delete_group_policy.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_instance_profile.rb +0 -30
- data/lib/fog/aws/requests/iam/delete_login_profile.rb +0 -29
- data/lib/fog/aws/requests/iam/delete_role.rb +0 -30
- data/lib/fog/aws/requests/iam/delete_role_policy.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_server_certificate.rb +0 -46
- data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +0 -31
- data/lib/fog/aws/requests/iam/delete_user.rb +0 -44
- data/lib/fog/aws/requests/iam/delete_user_policy.rb +0 -46
- data/lib/fog/aws/requests/iam/get_account_password_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/get_account_summary.rb +0 -75
- data/lib/fog/aws/requests/iam/get_group.rb +0 -60
- data/lib/fog/aws/requests/iam/get_group_policy.rb +0 -51
- data/lib/fog/aws/requests/iam/get_instance_profile.rb +0 -40
- data/lib/fog/aws/requests/iam/get_login_profile.rb +0 -33
- data/lib/fog/aws/requests/iam/get_role.rb +0 -36
- data/lib/fog/aws/requests/iam/get_role_policy.rb +0 -34
- data/lib/fog/aws/requests/iam/get_server_certificate.rb +0 -45
- data/lib/fog/aws/requests/iam/get_user.rb +0 -55
- data/lib/fog/aws/requests/iam/get_user_policy.rb +0 -51
- data/lib/fog/aws/requests/iam/list_access_keys.rb +0 -62
- data/lib/fog/aws/requests/iam/list_account_aliases.rb +0 -16
- data/lib/fog/aws/requests/iam/list_group_policies.rb +0 -37
- data/lib/fog/aws/requests/iam/list_groups.rb +0 -57
- data/lib/fog/aws/requests/iam/list_groups_for_user.rb +0 -65
- data/lib/fog/aws/requests/iam/list_instance_profiles.rb +0 -48
- data/lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb +0 -49
- data/lib/fog/aws/requests/iam/list_mfa_devices.rb +0 -55
- data/lib/fog/aws/requests/iam/list_role_policies.rb +0 -37
- data/lib/fog/aws/requests/iam/list_roles.rb +0 -41
- data/lib/fog/aws/requests/iam/list_server_certificates.rb +0 -54
- data/lib/fog/aws/requests/iam/list_signing_certificates.rb +0 -36
- data/lib/fog/aws/requests/iam/list_user_policies.rb +0 -53
- data/lib/fog/aws/requests/iam/list_users.rb +0 -58
- data/lib/fog/aws/requests/iam/put_group_policy.rb +0 -50
- data/lib/fog/aws/requests/iam/put_role_policy.rb +0 -34
- data/lib/fog/aws/requests/iam/put_user_policy.rb +0 -51
- data/lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb +0 -33
- data/lib/fog/aws/requests/iam/remove_user_from_group.rb +0 -50
- data/lib/fog/aws/requests/iam/update_access_key.rb +0 -55
- data/lib/fog/aws/requests/iam/update_account_password_policy.rb +0 -56
- data/lib/fog/aws/requests/iam/update_group.rb +0 -37
- data/lib/fog/aws/requests/iam/update_login_profile.rb +0 -31
- data/lib/fog/aws/requests/iam/update_server_certificate.rb +0 -63
- data/lib/fog/aws/requests/iam/update_signing_certificate.rb +0 -31
- data/lib/fog/aws/requests/iam/update_user.rb +0 -37
- data/lib/fog/aws/requests/iam/upload_server_certificate.rb +0 -95
- data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +0 -36
- data/lib/fog/aws/requests/rds/add_tags_to_resource.rb +0 -42
- data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +0 -65
- data/lib/fog/aws/requests/rds/create_db_instance.rb +0 -130
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +0 -77
- data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +0 -53
- data/lib/fog/aws/requests/rds/create_db_security_group.rb +0 -49
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +0 -68
- data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +0 -61
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +0 -51
- data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +0 -41
- data/lib/fog/aws/requests/rds/delete_db_security_group.rb +0 -40
- data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +0 -42
- data/lib/fog/aws/requests/rds/delete_db_subnet_group.rb +0 -38
- data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +0 -30
- data/lib/fog/aws/requests/rds/describe_db_instances.rb +0 -89
- data/lib/fog/aws/requests/rds/describe_db_log_files.rb +0 -64
- data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +0 -58
- data/lib/fog/aws/requests/rds/describe_db_parameters.rb +0 -42
- data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +0 -38
- data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +0 -80
- data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +0 -66
- data/lib/fog/aws/requests/rds/describe_db_subnet_groups.rb +0 -59
- data/lib/fog/aws/requests/rds/describe_events.rb +0 -50
- data/lib/fog/aws/requests/rds/describe_orderable_db_instance_options.rb +0 -72
- data/lib/fog/aws/requests/rds/download_db_logfile_portion.rb +0 -58
- data/lib/fog/aws/requests/rds/list_tags_for_resource.rb +0 -40
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +0 -81
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +0 -50
- data/lib/fog/aws/requests/rds/promote_read_replica.rb +0 -59
- data/lib/fog/aws/requests/rds/reboot_db_instance.rb +0 -47
- data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +0 -40
- data/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +0 -29
- data/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +0 -29
- data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +0 -63
- data/lib/fog/aws/requests/redshift/authorize_cluster_security_group_ingress.rb +0 -54
- data/lib/fog/aws/requests/redshift/authorize_snapshot_access.rb +0 -42
- data/lib/fog/aws/requests/redshift/copy_cluster_snapshot.rb +0 -46
- data/lib/fog/aws/requests/redshift/create_cluster.rb +0 -148
- data/lib/fog/aws/requests/redshift/create_cluster_parameter_group.rb +0 -53
- data/lib/fog/aws/requests/redshift/create_cluster_security_group.rb +0 -41
- data/lib/fog/aws/requests/redshift/create_cluster_snapshot.rb +0 -43
- data/lib/fog/aws/requests/redshift/create_cluster_subnet_group.rb +0 -49
- data/lib/fog/aws/requests/redshift/delete_cluster.rb +0 -50
- data/lib/fog/aws/requests/redshift/delete_cluster_parameter_group.rb +0 -33
- data/lib/fog/aws/requests/redshift/delete_cluster_security_group.rb +0 -32
- data/lib/fog/aws/requests/redshift/delete_cluster_snapshot.rb +0 -43
- data/lib/fog/aws/requests/redshift/delete_cluster_subnet_group.rb +0 -36
- data/lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb +0 -47
- data/lib/fog/aws/requests/redshift/describe_cluster_parameters.rb +0 -54
- data/lib/fog/aws/requests/redshift/describe_cluster_security_groups.rb +0 -49
- data/lib/fog/aws/requests/redshift/describe_cluster_snapshots.rb +0 -72
- data/lib/fog/aws/requests/redshift/describe_cluster_subnet_groups.rb +0 -46
- data/lib/fog/aws/requests/redshift/describe_cluster_versions.rb +0 -53
- data/lib/fog/aws/requests/redshift/describe_clusters.rb +0 -49
- data/lib/fog/aws/requests/redshift/describe_default_cluster_parameters.rb +0 -48
- data/lib/fog/aws/requests/redshift/describe_events.rb +0 -79
- data/lib/fog/aws/requests/redshift/describe_orderable_cluster_options.rb +0 -54
- data/lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb +0 -47
- data/lib/fog/aws/requests/redshift/describe_reserved_nodes.rb +0 -47
- data/lib/fog/aws/requests/redshift/describe_resize.rb +0 -38
- data/lib/fog/aws/requests/redshift/modify_cluster.rb +0 -109
- data/lib/fog/aws/requests/redshift/modify_cluster_parameter_group.rb +0 -44
- data/lib/fog/aws/requests/redshift/modify_cluster_subnet_group.rb +0 -49
- data/lib/fog/aws/requests/redshift/purchase_reserved_node_offering.rb +0 -39
- data/lib/fog/aws/requests/redshift/reboot_cluster.rb +0 -36
- data/lib/fog/aws/requests/redshift/reset_cluster_parameter_group.rb +0 -55
- data/lib/fog/aws/requests/redshift/restore_from_cluster_snapshot.rb +0 -76
- data/lib/fog/aws/requests/redshift/revoke_cluster_security_group_ingress.rb +0 -54
- data/lib/fog/aws/requests/redshift/revoke_snapshot_access.rb +0 -43
- data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +0 -26
- data/lib/fog/aws/requests/ses/get_send_quota.rb +0 -29
- data/lib/fog/aws/requests/ses/get_send_statistics.rb +0 -32
- data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +0 -26
- data/lib/fog/aws/requests/ses/send_email.rb +0 -71
- data/lib/fog/aws/requests/ses/send_raw_email.rb +0 -39
- data/lib/fog/aws/requests/ses/verify_domain_identity.rb +0 -28
- data/lib/fog/aws/requests/ses/verify_email_address.rb +0 -26
- data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +0 -60
- data/lib/fog/aws/requests/simpledb/create_domain.rb +0 -40
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +0 -69
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +0 -41
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +0 -72
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +0 -80
- data/lib/fog/aws/requests/simpledb/list_domains.rb +0 -55
- data/lib/fog/aws/requests/simpledb/put_attributes.rb +0 -74
- data/lib/fog/aws/requests/simpledb/select.rb +0 -41
- data/lib/fog/aws/requests/sns/add_permission.rb +0 -22
- data/lib/fog/aws/requests/sns/confirm_subscription.rb +0 -30
- data/lib/fog/aws/requests/sns/create_topic.rb +0 -26
- data/lib/fog/aws/requests/sns/delete_topic.rb +0 -26
- data/lib/fog/aws/requests/sns/get_topic_attributes.rb +0 -26
- data/lib/fog/aws/requests/sns/list_subscriptions.rb +0 -26
- data/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +0 -28
- data/lib/fog/aws/requests/sns/list_topics.rb +0 -26
- data/lib/fog/aws/requests/sns/publish.rb +0 -31
- data/lib/fog/aws/requests/sns/remove_permission.rb +0 -22
- data/lib/fog/aws/requests/sns/set_topic_attributes.rb +0 -30
- data/lib/fog/aws/requests/sns/subscribe.rb +0 -30
- data/lib/fog/aws/requests/sns/unsubscribe.rb +0 -26
- data/lib/fog/aws/requests/sqs/change_message_visibility.rb +0 -58
- data/lib/fog/aws/requests/sqs/create_queue.rb +0 -62
- data/lib/fog/aws/requests/sqs/delete_message.rb +0 -56
- data/lib/fog/aws/requests/sqs/delete_queue.rb +0 -47
- data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +0 -48
- data/lib/fog/aws/requests/sqs/list_queues.rb +0 -41
- data/lib/fog/aws/requests/sqs/receive_message.rb +0 -83
- data/lib/fog/aws/requests/sqs/send_message.rb +0 -65
- data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +0 -49
- data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +0 -45
- data/lib/fog/aws/requests/storage/acl_utils.rb +0 -60
- data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +0 -73
- data/lib/fog/aws/requests/storage/copy_object.rb +0 -77
- data/lib/fog/aws/requests/storage/cors_utils.rb +0 -39
- data/lib/fog/aws/requests/storage/delete_bucket.rb +0 -42
- data/lib/fog/aws/requests/storage/delete_bucket_cors.rb +0 -26
- data/lib/fog/aws/requests/storage/delete_bucket_lifecycle.rb +0 -26
- data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +0 -26
- data/lib/fog/aws/requests/storage/delete_bucket_tagging.rb +0 -41
- data/lib/fog/aws/requests/storage/delete_bucket_website.rb +0 -26
- data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +0 -164
- data/lib/fog/aws/requests/storage/delete_object.rb +0 -115
- data/lib/fog/aws/requests/storage/get_bucket.rb +0 -108
- data/lib/fog/aws/requests/storage/get_bucket_acl.rb +0 -65
- data/lib/fog/aws/requests/storage/get_bucket_cors.rb +0 -61
- data/lib/fog/aws/requests/storage/get_bucket_lifecycle.rb +0 -35
- data/lib/fog/aws/requests/storage/get_bucket_location.rb +0 -54
- data/lib/fog/aws/requests/storage/get_bucket_logging.rb +0 -45
- data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +0 -160
- data/lib/fog/aws/requests/storage/get_bucket_policy.rb +0 -31
- data/lib/fog/aws/requests/storage/get_bucket_tagging.rb +0 -49
- data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +0 -68
- data/lib/fog/aws/requests/storage/get_bucket_website.rb +0 -38
- data/lib/fog/aws/requests/storage/get_object.rb +0 -189
- data/lib/fog/aws/requests/storage/get_object_acl.rb +0 -76
- data/lib/fog/aws/requests/storage/get_object_http_url.rb +0 -30
- data/lib/fog/aws/requests/storage/get_object_https_url.rb +0 -30
- data/lib/fog/aws/requests/storage/get_object_torrent.rb +0 -45
- data/lib/fog/aws/requests/storage/get_object_url.rb +0 -40
- data/lib/fog/aws/requests/storage/get_request_payment.rb +0 -45
- data/lib/fog/aws/requests/storage/get_service.rb +0 -50
- data/lib/fog/aws/requests/storage/head_bucket.rb +0 -38
- data/lib/fog/aws/requests/storage/head_object.rb +0 -62
- data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +0 -66
- data/lib/fog/aws/requests/storage/list_multipart_uploads.rb +0 -52
- data/lib/fog/aws/requests/storage/list_parts.rb +0 -53
- data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +0 -54
- data/lib/fog/aws/requests/storage/post_object_restore.rb +0 -50
- data/lib/fog/aws/requests/storage/put_bucket.rb +0 -73
- data/lib/fog/aws/requests/storage/put_bucket_acl.rb +0 -69
- data/lib/fog/aws/requests/storage/put_bucket_cors.rb +0 -47
- data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +0 -76
- data/lib/fog/aws/requests/storage/put_bucket_logging.rb +0 -80
- data/lib/fog/aws/requests/storage/put_bucket_policy.rb +0 -25
- data/lib/fog/aws/requests/storage/put_bucket_tagging.rb +0 -55
- data/lib/fog/aws/requests/storage/put_bucket_versioning.rb +0 -74
- data/lib/fog/aws/requests/storage/put_bucket_website.rb +0 -87
- data/lib/fog/aws/requests/storage/put_object.rb +0 -73
- data/lib/fog/aws/requests/storage/put_object_acl.rb +0 -78
- data/lib/fog/aws/requests/storage/put_object_url.rb +0 -41
- data/lib/fog/aws/requests/storage/put_request_payment.rb +0 -45
- data/lib/fog/aws/requests/storage/shared_mock_methods.rb +0 -87
- data/lib/fog/aws/requests/storage/sync_clock.rb +0 -24
- data/lib/fog/aws/requests/storage/upload_part.rb +0 -57
- data/lib/fog/aws/requests/sts/assume_role.rb +0 -44
- data/lib/fog/aws/requests/sts/assume_role_with_saml.rb +0 -44
- data/lib/fog/aws/requests/sts/get_federation_token.rb +0 -62
- data/lib/fog/aws/requests/sts/get_session_token.rb +0 -18
- data/lib/fog/aws/ses.rb +0 -141
- data/lib/fog/aws/signaturev4.rb +0 -119
- data/lib/fog/aws/simpledb.rb +0 -211
- data/lib/fog/aws/sns.rb +0 -125
- data/lib/fog/aws/sqs.rb +0 -164
- data/lib/fog/aws/storage.rb +0 -687
- data/lib/fog/aws/sts.rb +0 -185
- data/lib/fog/bin/serverlove.rb +0 -29
- data/lib/fog/rackspace/docs/networking.md +0 -315
- data/lib/fog/serverlove.rb +0 -1
- data/lib/fog/serverlove/compute.rb +0 -96
- data/lib/fog/serverlove/core.rb +0 -10
- data/lib/fog/serverlove/models/compute/image.rb +0 -54
- data/lib/fog/serverlove/models/compute/images.rb +0 -22
- data/lib/fog/serverlove/models/compute/server.rb +0 -70
- data/lib/fog/serverlove/models/compute/servers.rb +0 -22
- data/lib/fog/serverlove/requests/compute/create_image.rb +0 -28
- data/lib/fog/serverlove/requests/compute/create_server.rb +0 -30
- data/lib/fog/serverlove/requests/compute/destroy_image.rb +0 -11
- data/lib/fog/serverlove/requests/compute/destroy_server.rb +0 -11
- data/lib/fog/serverlove/requests/compute/get_image.rb +0 -11
- data/lib/fog/serverlove/requests/compute/get_images.rb +0 -11
- data/lib/fog/serverlove/requests/compute/get_server.rb +0 -11
- data/lib/fog/serverlove/requests/compute/get_servers.rb +0 -11
- data/lib/fog/serverlove/requests/compute/load_standard_image.rb +0 -11
- data/lib/fog/serverlove/requests/compute/reset_server.rb +0 -11
- data/lib/fog/serverlove/requests/compute/shutdown_server.rb +0 -11
- data/lib/fog/serverlove/requests/compute/start_server.rb +0 -11
- data/lib/fog/serverlove/requests/compute/stop_server.rb +0 -11
- data/lib/fog/serverlove/requests/compute/update_image.rb +0 -13
- data/lib/fog/serverlove/requests/compute/update_server.rb +0 -13
- data/lib/fog/serverlove/util/compute/password_generator.rb +0 -11
- data/tests/aws/credentials_tests.rb +0 -55
- data/tests/aws/models/auto_scaling/activities_tests.rb +0 -6
- data/tests/aws/models/auto_scaling/configuration_test.rb +0 -13
- data/tests/aws/models/auto_scaling/configurations_tests.rb +0 -11
- data/tests/aws/models/auto_scaling/groups_test.rb +0 -27
- data/tests/aws/models/auto_scaling/helper.rb +0 -0
- data/tests/aws/models/auto_scaling/instance_tests.rb +0 -15
- data/tests/aws/models/auto_scaling/instances_tests.rb +0 -6
- data/tests/aws/models/beanstalk/application_tests.rb +0 -69
- data/tests/aws/models/beanstalk/applications_tests.rb +0 -7
- data/tests/aws/models/beanstalk/environment_tests.rb +0 -131
- data/tests/aws/models/beanstalk/environments_tests.rb +0 -34
- data/tests/aws/models/beanstalk/template_tests.rb +0 -47
- data/tests/aws/models/beanstalk/templates_tests.rb +0 -62
- data/tests/aws/models/beanstalk/version_tests.rb +0 -66
- data/tests/aws/models/beanstalk/versions_tests.rb +0 -60
- data/tests/aws/models/cdn/distribution_tests.rb +0 -15
- data/tests/aws/models/cdn/distributions_tests.rb +0 -15
- data/tests/aws/models/cdn/invalidation_tests.rb +0 -31
- data/tests/aws/models/cdn/invalidations_tests.rb +0 -14
- data/tests/aws/models/cdn/streaming_distribution_tests.rb +0 -15
- data/tests/aws/models/cdn/streaming_distributions_tests.rb +0 -15
- data/tests/aws/models/cloud_watch/alarm_data_tests.rb +0 -42
- data/tests/aws/models/cloud_watch/alarm_history_tests.rb +0 -22
- data/tests/aws/models/cloud_watch/metric_statistics_tests.rb +0 -51
- data/tests/aws/models/cloud_watch/metrics_tests.rb +0 -32
- data/tests/aws/models/compute/address_tests.rb +0 -24
- data/tests/aws/models/compute/addresses_tests.rb +0 -5
- data/tests/aws/models/compute/dhcp_option_tests.rb +0 -3
- data/tests/aws/models/compute/dhcp_options_tests.rb +0 -3
- data/tests/aws/models/compute/internet_gateway_tests.rb +0 -3
- data/tests/aws/models/compute/internet_gateways_tests.rb +0 -3
- data/tests/aws/models/compute/key_pair_tests.rb +0 -26
- data/tests/aws/models/compute/key_pairs_tests.rb +0 -5
- data/tests/aws/models/compute/network_acl_tests.rb +0 -109
- data/tests/aws/models/compute/network_acls_tests.rb +0 -20
- data/tests/aws/models/compute/network_interfaces_test.rb +0 -12
- data/tests/aws/models/compute/security_group_tests.rb +0 -64
- data/tests/aws/models/compute/security_groups_tests.rb +0 -5
- data/tests/aws/models/compute/server_tests.rb +0 -83
- data/tests/aws/models/compute/snapshot_tests.rb +0 -10
- data/tests/aws/models/compute/snapshots_tests.rb +0 -10
- data/tests/aws/models/compute/subnet_tests.rb +0 -5
- data/tests/aws/models/compute/subnets_tests.rb +0 -5
- data/tests/aws/models/compute/volume_tests.rb +0 -43
- data/tests/aws/models/compute/volumes_tests.rb +0 -5
- data/tests/aws/models/compute/vpc_tests.rb +0 -4
- data/tests/aws/models/compute/vpcs_tests.rb +0 -19
- data/tests/aws/models/data_pipeline/pipeline_tests.rb +0 -8
- data/tests/aws/models/data_pipeline/pipelines_tests.rb +0 -8
- data/tests/aws/models/dns/record_tests.rb +0 -33
- data/tests/aws/models/dns/records_tests.rb +0 -41
- data/tests/aws/models/dns/zone_tests.rb +0 -4
- data/tests/aws/models/dns/zones_tests.rb +0 -4
- data/tests/aws/models/elasticache/cluster_tests.rb +0 -30
- data/tests/aws/models/elasticache/parameter_groups_tests.rb +0 -15
- data/tests/aws/models/elasticache/security_groups_tests.rb +0 -52
- data/tests/aws/models/elasticache/subnet_groups_tests.rb +0 -44
- data/tests/aws/models/elb/model_tests.rb +0 -362
- data/tests/aws/models/elb/tagging_tests.rb +0 -15
- data/tests/aws/models/glacier/model_tests.rb +0 -47
- data/tests/aws/models/iam/access_keys_tests.rb +0 -53
- data/tests/aws/models/iam/policies_tests.rb +0 -57
- data/tests/aws/models/iam/roles_tests.rb +0 -63
- data/tests/aws/models/iam/users_tests.rb +0 -71
- data/tests/aws/models/rds/helper.rb +0 -5
- data/tests/aws/models/rds/instance_option_tests.rb +0 -14
- data/tests/aws/models/rds/parameter_group_tests.rb +0 -24
- data/tests/aws/models/rds/parameter_groups_tests.rb +0 -8
- data/tests/aws/models/rds/security_group_tests.rb +0 -53
- data/tests/aws/models/rds/security_groups_tests.rb +0 -5
- data/tests/aws/models/rds/server_tests.rb +0 -110
- data/tests/aws/models/rds/servers_tests.rb +0 -6
- data/tests/aws/models/rds/snapshot_tests.rb +0 -12
- data/tests/aws/models/rds/snapshots_tests.rb +0 -12
- data/tests/aws/models/rds/tagging_tests.rb +0 -20
- data/tests/aws/models/storage/directory_tests.rb +0 -87
- data/tests/aws/models/storage/file_tests.rb +0 -92
- data/tests/aws/models/storage/files_tests.rb +0 -58
- data/tests/aws/models/storage/url_tests.rb +0 -26
- data/tests/aws/models/storage/version_tests.rb +0 -52
- data/tests/aws/models/storage/versions_tests.rb +0 -56
- data/tests/aws/parsers/elb/describe_load_balancers.rb +0 -65
- data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +0 -77
- data/tests/aws/requests/auto_scaling/describe_types_tests.rb +0 -102
- data/tests/aws/requests/auto_scaling/helper.rb +0 -228
- data/tests/aws/requests/auto_scaling/model_tests.rb +0 -233
- data/tests/aws/requests/auto_scaling/notification_configuration_tests.rb +0 -124
- data/tests/aws/requests/auto_scaling/tag_tests.rb +0 -63
- data/tests/aws/requests/beanstalk/application_tests.rb +0 -140
- data/tests/aws/requests/beanstalk/solution_stack_tests.rb +0 -22
- data/tests/aws/requests/cdn/cdn_tests.rb +0 -252
- data/tests/aws/requests/cloud_formation/stack_tests.rb +0 -167
- data/tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb +0 -28
- data/tests/aws/requests/cloud_watch/list_metrics_test.rb +0 -64
- data/tests/aws/requests/cloud_watch/put_metric_data_tests.rb +0 -36
- data/tests/aws/requests/compute/address_tests.rb +0 -108
- data/tests/aws/requests/compute/assign_private_ip_tests.rb +0 -55
- data/tests/aws/requests/compute/availability_zone_tests.rb +0 -25
- data/tests/aws/requests/compute/client_tests.rb +0 -25
- data/tests/aws/requests/compute/dhcp_options_tests.rb +0 -39
- data/tests/aws/requests/compute/helper.rb +0 -10
- data/tests/aws/requests/compute/image_tests.rb +0 -158
- data/tests/aws/requests/compute/instance_tests.rb +0 -297
- data/tests/aws/requests/compute/internet_gateway_tests.rb +0 -49
- data/tests/aws/requests/compute/key_pair_tests.rb +0 -67
- data/tests/aws/requests/compute/network_acl_tests.rb +0 -112
- data/tests/aws/requests/compute/network_interface_tests.rb +0 -250
- data/tests/aws/requests/compute/placement_group_tests.rb +0 -48
- data/tests/aws/requests/compute/region_tests.rb +0 -52
- data/tests/aws/requests/compute/route_tests.rb +0 -339
- data/tests/aws/requests/compute/security_group_tests.rb +0 -437
- data/tests/aws/requests/compute/snapshot_tests.rb +0 -77
- data/tests/aws/requests/compute/spot_datafeed_subscription_tests.rb +0 -47
- data/tests/aws/requests/compute/spot_instance_tests.rb +0 -57
- data/tests/aws/requests/compute/spot_price_history_tests.rb +0 -24
- data/tests/aws/requests/compute/subnet_tests.rb +0 -85
- data/tests/aws/requests/compute/tag_tests.rb +0 -101
- data/tests/aws/requests/compute/volume_tests.rb +0 -206
- data/tests/aws/requests/compute/vpc_tests.rb +0 -111
- data/tests/aws/requests/data_pipeline/helper.rb +0 -72
- data/tests/aws/requests/data_pipeline/pipeline_tests.rb +0 -78
- data/tests/aws/requests/dns/dns_tests.rb +0 -257
- data/tests/aws/requests/dns/health_check_tests.rb +0 -159
- data/tests/aws/requests/dns/helper.rb +0 -21
- data/tests/aws/requests/dynamodb/item_tests.rb +0 -137
- data/tests/aws/requests/dynamodb/table_tests.rb +0 -99
- data/tests/aws/requests/elasticache/cache_cluster_tests.rb +0 -137
- data/tests/aws/requests/elasticache/describe_events.rb +0 -17
- data/tests/aws/requests/elasticache/describe_reserved_cache_nodes.rb +0 -17
- data/tests/aws/requests/elasticache/helper.rb +0 -103
- data/tests/aws/requests/elasticache/parameter_group_tests.rb +0 -105
- data/tests/aws/requests/elasticache/security_group_tests.rb +0 -108
- data/tests/aws/requests/elasticache/subnet_group_tests.rb +0 -52
- data/tests/aws/requests/elb/helper.rb +0 -91
- data/tests/aws/requests/elb/listener_tests.rb +0 -68
- data/tests/aws/requests/elb/load_balancer_tests.rb +0 -89
- data/tests/aws/requests/elb/policy_tests.rb +0 -132
- data/tests/aws/requests/emr/helper.rb +0 -168
- data/tests/aws/requests/emr/instance_group_tests.rb +0 -106
- data/tests/aws/requests/emr/job_flow_tests.rb +0 -88
- data/tests/aws/requests/glacier/archive_tests.rb +0 -13
- data/tests/aws/requests/glacier/multipart_upload_tests.rb +0 -29
- data/tests/aws/requests/glacier/tree_hash_tests.rb +0 -62
- data/tests/aws/requests/glacier/vault_tests.rb +0 -35
- data/tests/aws/requests/iam/access_key_tests.rb +0 -53
- data/tests/aws/requests/iam/account_policy_tests.rb +0 -20
- data/tests/aws/requests/iam/account_tests.rb +0 -34
- data/tests/aws/requests/iam/group_policy_tests.rb +0 -48
- data/tests/aws/requests/iam/group_tests.rb +0 -44
- data/tests/aws/requests/iam/helper.rb +0 -102
- data/tests/aws/requests/iam/login_profile_tests.rb +0 -62
- data/tests/aws/requests/iam/mfa_tests.rb +0 -23
- data/tests/aws/requests/iam/role_tests.rb +0 -167
- data/tests/aws/requests/iam/server_certificate_tests.rb +0 -130
- data/tests/aws/requests/iam/user_policy_tests.rb +0 -45
- data/tests/aws/requests/iam/user_tests.rb +0 -77
- data/tests/aws/requests/rds/describe_events.rb +0 -16
- data/tests/aws/requests/rds/helper.rb +0 -274
- data/tests/aws/requests/rds/instance_option_tests.rb +0 -21
- data/tests/aws/requests/rds/instance_tests.rb +0 -133
- data/tests/aws/requests/rds/log_file_tests.rb +0 -19
- data/tests/aws/requests/rds/parameter_group_tests.rb +0 -62
- data/tests/aws/requests/rds/parameter_request_tests.rb +0 -34
- data/tests/aws/requests/rds/security_group_tests.rb +0 -101
- data/tests/aws/requests/rds/subnet_groups_tests.rb +0 -52
- data/tests/aws/requests/rds/tagging_tests.rb +0 -78
- data/tests/aws/requests/redshift/cluster_parameter_group_tests.rb +0 -76
- data/tests/aws/requests/redshift/cluster_security_group_tests.rb +0 -42
- data/tests/aws/requests/redshift/cluster_snapshot_tests.rb +0 -73
- data/tests/aws/requests/redshift/cluster_tests.rb +0 -80
- data/tests/aws/requests/ses/helper.rb +0 -9
- data/tests/aws/requests/ses/verified_domain_identity_tests.rb +0 -16
- data/tests/aws/requests/ses/verified_email_address_tests.rb +0 -27
- data/tests/aws/requests/simpledb/attributes_tests.rb +0 -86
- data/tests/aws/requests/simpledb/domain_tests.rb +0 -51
- data/tests/aws/requests/simpledb/helper.rb +0 -10
- data/tests/aws/requests/sns/helper.rb +0 -9
- data/tests/aws/requests/sns/subscription_tests.rb +0 -86
- data/tests/aws/requests/sns/topic_tests.rb +0 -50
- data/tests/aws/requests/sqs/helper.rb +0 -9
- data/tests/aws/requests/sqs/message_tests.rb +0 -51
- data/tests/aws/requests/sqs/queue_tests.rb +0 -50
- data/tests/aws/requests/storage/acl_utils_tests.rb +0 -209
- data/tests/aws/requests/storage/bucket_tests.rb +0 -379
- data/tests/aws/requests/storage/cors_utils_tests.rb +0 -108
- data/tests/aws/requests/storage/delete_multiple_objects_tests.rb +0 -12
- data/tests/aws/requests/storage/multipart_upload_tests.rb +0 -121
- data/tests/aws/requests/storage/object_tests.rb +0 -175
- data/tests/aws/requests/storage/versioning_tests.rb +0 -258
- data/tests/aws/requests/sts/assume_role_tests.rb +0 -19
- data/tests/aws/requests/sts/assume_role_with_saml_tests.rb +0 -18
- data/tests/aws/requests/sts/get_federation_token_tests.rb +0 -20
- data/tests/aws/requests/sts/session_token_tests.rb +0 -16
- data/tests/aws/signaturev4_tests.rb +0 -88
- data/tests/aws/signed_params_tests.rb +0 -17
- data/tests/aws/storage_tests.rb +0 -7
- data/tests/serverlove/requests/compute/image_tests.rb +0 -57
- data/tests/serverlove/requests/compute/server_tests.rb +0 -85
- data/tests/serverlove/util/compute/password_generator_tests.rb +0 -19
@@ -1,322 +0,0 @@
|
|
1
|
-
require 'fog/core/model'
|
2
|
-
|
3
|
-
module Fog
|
4
|
-
module Compute
|
5
|
-
class AWS
|
6
|
-
class SecurityGroup < Fog::Model
|
7
|
-
identity :name, :aliases => 'groupName'
|
8
|
-
attribute :description, :aliases => 'groupDescription'
|
9
|
-
attribute :group_id, :aliases => 'groupId'
|
10
|
-
attribute :ip_permissions, :aliases => 'ipPermissions'
|
11
|
-
attribute :ip_permissions_egress, :aliases => 'ipPermissionsEgress'
|
12
|
-
attribute :owner_id, :aliases => 'ownerId'
|
13
|
-
attribute :vpc_id, :aliases => 'vpcId'
|
14
|
-
attribute :tags, :aliases => 'tagSet'
|
15
|
-
|
16
|
-
# Authorize access by another security group
|
17
|
-
#
|
18
|
-
# >> g = AWS.security_groups.all(:description => "something").first
|
19
|
-
# >> g.authorize_group_and_owner("some_group_name", "1234567890")
|
20
|
-
#
|
21
|
-
# == Parameters:
|
22
|
-
# group::
|
23
|
-
# The name of the security group you're granting access to.
|
24
|
-
#
|
25
|
-
# owner::
|
26
|
-
# The owner id for security group you're granting access to.
|
27
|
-
#
|
28
|
-
# == Returns:
|
29
|
-
#
|
30
|
-
# An excon response object representing the result
|
31
|
-
#
|
32
|
-
# <Excon::Response:0x101fc2ae0
|
33
|
-
# @status=200,
|
34
|
-
# @body={"requestId"=>"some-id-string",
|
35
|
-
# "return"=>true},
|
36
|
-
# headers{"Transfer-Encoding"=>"chunked",
|
37
|
-
# "Date"=>"Mon, 27 Dec 2010 22:12:57 GMT",
|
38
|
-
# "Content-Type"=>"text/xml;charset=UTF-8",
|
39
|
-
# "Server"=>"AmazonEC2"}
|
40
|
-
#
|
41
|
-
|
42
|
-
def authorize_group_and_owner(group, owner = nil)
|
43
|
-
Fog::Logger.deprecation("authorize_group_and_owner is deprecated, use authorize_port_range with :group option instead")
|
44
|
-
|
45
|
-
requires_one :name, :group_id
|
46
|
-
|
47
|
-
service.authorize_security_group_ingress(
|
48
|
-
name,
|
49
|
-
'GroupId' => group_id,
|
50
|
-
'SourceSecurityGroupName' => group,
|
51
|
-
'SourceSecurityGroupOwnerId' => owner
|
52
|
-
)
|
53
|
-
end
|
54
|
-
|
55
|
-
# Authorize a new port range for a security group
|
56
|
-
#
|
57
|
-
# >> g = AWS.security_groups.all(:description => "something").first
|
58
|
-
# >> g.authorize_port_range(20..21)
|
59
|
-
#
|
60
|
-
# == Parameters:
|
61
|
-
# range::
|
62
|
-
# A Range object representing the port range you want to open up. E.g., 20..21
|
63
|
-
#
|
64
|
-
# options::
|
65
|
-
# A hash that can contain any of the following keys:
|
66
|
-
# :cidr_ip (defaults to "0.0.0.0/0")
|
67
|
-
# :group - ("account:group_name" or "account:group_id"), cannot be used with :cidr_ip
|
68
|
-
# :ip_protocol (defaults to "tcp")
|
69
|
-
#
|
70
|
-
# == Returns:
|
71
|
-
#
|
72
|
-
# An excon response object representing the result
|
73
|
-
#
|
74
|
-
# <Excon::Response:0x101fc2ae0
|
75
|
-
# @status=200,
|
76
|
-
# @body={"requestId"=>"some-id-string",
|
77
|
-
# "return"=>true},
|
78
|
-
# headers{"Transfer-Encoding"=>"chunked",
|
79
|
-
# "Date"=>"Mon, 27 Dec 2010 22:12:57 GMT",
|
80
|
-
# "Content-Type"=>"text/xml;charset=UTF-8",
|
81
|
-
# "Server"=>"AmazonEC2"}
|
82
|
-
#
|
83
|
-
|
84
|
-
def authorize_port_range(range, options = {})
|
85
|
-
requires_one :name, :group_id
|
86
|
-
|
87
|
-
ip_permission = {
|
88
|
-
'FromPort' => range.min,
|
89
|
-
'ToPort' => range.max,
|
90
|
-
'IpProtocol' => options[:ip_protocol] || 'tcp'
|
91
|
-
}
|
92
|
-
|
93
|
-
if options[:group].nil?
|
94
|
-
ip_permission['IpRanges'] = [
|
95
|
-
{ 'CidrIp' => options[:cidr_ip] || '0.0.0.0/0' }
|
96
|
-
]
|
97
|
-
else
|
98
|
-
ip_permission['Groups'] = [
|
99
|
-
group_info(options[:group])
|
100
|
-
]
|
101
|
-
end
|
102
|
-
|
103
|
-
service.authorize_security_group_ingress(
|
104
|
-
name,
|
105
|
-
'GroupId' => group_id,
|
106
|
-
'IpPermissions' => [ ip_permission ]
|
107
|
-
)
|
108
|
-
end
|
109
|
-
|
110
|
-
# Removes an existing security group
|
111
|
-
#
|
112
|
-
# security_group.destroy
|
113
|
-
#
|
114
|
-
# ==== Returns
|
115
|
-
#
|
116
|
-
# True or false depending on the result
|
117
|
-
#
|
118
|
-
|
119
|
-
def destroy
|
120
|
-
requires_one :name, :group_id
|
121
|
-
|
122
|
-
if group_id.nil?
|
123
|
-
service.delete_security_group(name)
|
124
|
-
else
|
125
|
-
service.delete_security_group(nil, group_id)
|
126
|
-
end
|
127
|
-
true
|
128
|
-
end
|
129
|
-
|
130
|
-
# Revoke access by another security group
|
131
|
-
#
|
132
|
-
# >> g = AWS.security_groups.all(:description => "something").first
|
133
|
-
# >> g.revoke_group_and_owner("some_group_name", "1234567890")
|
134
|
-
#
|
135
|
-
# == Parameters:
|
136
|
-
# group::
|
137
|
-
# The name of the security group you're revoking access to.
|
138
|
-
#
|
139
|
-
# owner::
|
140
|
-
# The owner id for security group you're revoking access access to.
|
141
|
-
#
|
142
|
-
# == Returns:
|
143
|
-
#
|
144
|
-
# An excon response object representing the result
|
145
|
-
#
|
146
|
-
# <Excon::Response:0x101fc2ae0
|
147
|
-
# @status=200,
|
148
|
-
# @body={"requestId"=>"some-id-string",
|
149
|
-
# "return"=>true},
|
150
|
-
# headers{"Transfer-Encoding"=>"chunked",
|
151
|
-
# "Date"=>"Mon, 27 Dec 2010 22:12:57 GMT",
|
152
|
-
# "Content-Type"=>"text/xml;charset=UTF-8",
|
153
|
-
# "Server"=>"AmazonEC2"}
|
154
|
-
#
|
155
|
-
|
156
|
-
def revoke_group_and_owner(group, owner = nil)
|
157
|
-
Fog::Logger.deprecation("revoke_group_and_owner is deprecated, use revoke_port_range with :group option instead")
|
158
|
-
|
159
|
-
requires_one :name, :group_id
|
160
|
-
|
161
|
-
service.revoke_security_group_ingress(
|
162
|
-
name,
|
163
|
-
'GroupId' => group_id,
|
164
|
-
'SourceSecurityGroupName' => group,
|
165
|
-
'SourceSecurityGroupOwnerId' => owner
|
166
|
-
)
|
167
|
-
end
|
168
|
-
|
169
|
-
# Revoke an existing port range for a security group
|
170
|
-
#
|
171
|
-
# >> g = AWS.security_groups.all(:description => "something").first
|
172
|
-
# >> g.revoke_port_range(20..21)
|
173
|
-
#
|
174
|
-
# == Parameters:
|
175
|
-
# range::
|
176
|
-
# A Range object representing the port range you want to open up. E.g., 20..21
|
177
|
-
#
|
178
|
-
# options::
|
179
|
-
# A hash that can contain any of the following keys:
|
180
|
-
# :cidr_ip (defaults to "0.0.0.0/0")
|
181
|
-
# :group - ("account:group_name" or "account:group_id"), cannot be used with :cidr_ip
|
182
|
-
# :ip_protocol (defaults to "tcp")
|
183
|
-
#
|
184
|
-
# == Returns:
|
185
|
-
#
|
186
|
-
# An excon response object representing the result
|
187
|
-
#
|
188
|
-
# <Excon::Response:0x101fc2ae0
|
189
|
-
# @status=200,
|
190
|
-
# @body={"requestId"=>"some-id-string",
|
191
|
-
# "return"=>true},
|
192
|
-
# headers{"Transfer-Encoding"=>"chunked",
|
193
|
-
# "Date"=>"Mon, 27 Dec 2010 22:12:57 GMT",
|
194
|
-
# "Content-Type"=>"text/xml;charset=UTF-8",
|
195
|
-
# "Server"=>"AmazonEC2"}
|
196
|
-
#
|
197
|
-
|
198
|
-
def revoke_port_range(range, options = {})
|
199
|
-
requires_one :name, :group_id
|
200
|
-
|
201
|
-
ip_permission = {
|
202
|
-
'FromPort' => range.min,
|
203
|
-
'ToPort' => range.max,
|
204
|
-
'IpProtocol' => options[:ip_protocol] || 'tcp'
|
205
|
-
}
|
206
|
-
|
207
|
-
if options[:group].nil?
|
208
|
-
ip_permission['IpRanges'] = [
|
209
|
-
{ 'CidrIp' => options[:cidr_ip] || '0.0.0.0/0' }
|
210
|
-
]
|
211
|
-
else
|
212
|
-
ip_permission['Groups'] = [
|
213
|
-
group_info(options[:group])
|
214
|
-
]
|
215
|
-
end
|
216
|
-
|
217
|
-
service.revoke_security_group_ingress(
|
218
|
-
name,
|
219
|
-
'GroupId' => group_id,
|
220
|
-
'IpPermissions' => [ ip_permission ]
|
221
|
-
)
|
222
|
-
end
|
223
|
-
|
224
|
-
# Reload a security group
|
225
|
-
#
|
226
|
-
# >> g = AWS.security_groups.get(:name => "some_name")
|
227
|
-
# >> g.reload
|
228
|
-
#
|
229
|
-
# == Returns:
|
230
|
-
#
|
231
|
-
# Up to date model or an exception
|
232
|
-
|
233
|
-
def reload
|
234
|
-
if group_id.nil?
|
235
|
-
super
|
236
|
-
service.delete_security_group(name)
|
237
|
-
else
|
238
|
-
requires :group_id
|
239
|
-
|
240
|
-
data = begin
|
241
|
-
collection.get_by_id(group_id)
|
242
|
-
rescue Excon::Errors::SocketError
|
243
|
-
nil
|
244
|
-
end
|
245
|
-
|
246
|
-
return unless data
|
247
|
-
|
248
|
-
merge_attributes(data.attributes)
|
249
|
-
self
|
250
|
-
end
|
251
|
-
end
|
252
|
-
|
253
|
-
|
254
|
-
# Create a security group
|
255
|
-
#
|
256
|
-
# >> g = AWS.security_groups.new(:name => "some_name", :description => "something")
|
257
|
-
# >> g.save
|
258
|
-
#
|
259
|
-
# == Returns:
|
260
|
-
#
|
261
|
-
# True or an exception depending on the result. Keep in mind that this *creates* a new security group.
|
262
|
-
# As such, it yields an InvalidGroup.Duplicate exception if you attempt to save an existing group.
|
263
|
-
#
|
264
|
-
|
265
|
-
def save
|
266
|
-
requires :description, :name
|
267
|
-
data = service.create_security_group(name, description, vpc_id).body
|
268
|
-
new_attributes = data.reject {|key,value| key == 'requestId'}
|
269
|
-
merge_attributes(new_attributes)
|
270
|
-
|
271
|
-
if tags = self.tags
|
272
|
-
# expect eventual consistency
|
273
|
-
Fog.wait_for { self.reload rescue nil }
|
274
|
-
service.create_tags(
|
275
|
-
self.group_id,
|
276
|
-
tags
|
277
|
-
)
|
278
|
-
end
|
279
|
-
|
280
|
-
true
|
281
|
-
end
|
282
|
-
|
283
|
-
private
|
284
|
-
|
285
|
-
#
|
286
|
-
# +group_arg+ may be a string or a hash with one key & value.
|
287
|
-
#
|
288
|
-
# If group_arg is a string, it is assumed to be the group name,
|
289
|
-
# and the UserId is assumed to be self.owner_id.
|
290
|
-
#
|
291
|
-
# The "account:group" form is deprecated.
|
292
|
-
#
|
293
|
-
# If group_arg is a hash, the key is the UserId and value is the group.
|
294
|
-
def group_info(group_arg)
|
295
|
-
if Hash === group_arg
|
296
|
-
account = group_arg.keys.first
|
297
|
-
group = group_arg.values.first
|
298
|
-
elsif group_arg.match(/:/)
|
299
|
-
account, group = group_arg.split(':')
|
300
|
-
Fog::Logger.deprecation("'account:group' argument is deprecated. Use {account => group} or just group instead")
|
301
|
-
else
|
302
|
-
requires :owner_id
|
303
|
-
account = owner_id
|
304
|
-
group = group_arg
|
305
|
-
end
|
306
|
-
|
307
|
-
info = { 'UserId' => account }
|
308
|
-
|
309
|
-
if group.start_with?("sg-")
|
310
|
-
# we're dealing with a security group id
|
311
|
-
info['GroupId'] = group
|
312
|
-
else
|
313
|
-
# this has to be a security group name
|
314
|
-
info['GroupName'] = group
|
315
|
-
end
|
316
|
-
|
317
|
-
info
|
318
|
-
end
|
319
|
-
end
|
320
|
-
end
|
321
|
-
end
|
322
|
-
end
|
@@ -1,117 +0,0 @@
|
|
1
|
-
require 'fog/core/collection'
|
2
|
-
require 'fog/aws/models/compute/security_group'
|
3
|
-
|
4
|
-
module Fog
|
5
|
-
module Compute
|
6
|
-
class AWS
|
7
|
-
class SecurityGroups < Fog::Collection
|
8
|
-
attribute :filters
|
9
|
-
|
10
|
-
model Fog::Compute::AWS::SecurityGroup
|
11
|
-
|
12
|
-
# Creates a new security group
|
13
|
-
#
|
14
|
-
# AWS.security_groups.new
|
15
|
-
#
|
16
|
-
# ==== Returns
|
17
|
-
#
|
18
|
-
# Returns the details of the new image
|
19
|
-
#
|
20
|
-
#>> AWS.security_groups.new
|
21
|
-
# <Fog::AWS::Compute::SecurityGroup
|
22
|
-
# name=nil,
|
23
|
-
# description=nil,
|
24
|
-
# ip_permissions=nil,
|
25
|
-
# owner_id=nil
|
26
|
-
# vpc_id=nil
|
27
|
-
# >
|
28
|
-
#
|
29
|
-
|
30
|
-
def initialize(attributes)
|
31
|
-
self.filters ||= {}
|
32
|
-
super
|
33
|
-
end
|
34
|
-
|
35
|
-
# Returns an array of all security groups that have been created
|
36
|
-
#
|
37
|
-
# AWS.security_groups.all
|
38
|
-
#
|
39
|
-
# ==== Returns
|
40
|
-
#
|
41
|
-
# Returns an array of all security groups
|
42
|
-
#
|
43
|
-
#>> AWS.security_groups.all
|
44
|
-
# <Fog::AWS::Compute::SecurityGroups
|
45
|
-
# filters={}
|
46
|
-
# [
|
47
|
-
# <Fog::AWS::Compute::SecurityGroup
|
48
|
-
# name="default",
|
49
|
-
# description="default group",
|
50
|
-
# ip_permissions=[{"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>-1, "toPort"=>-1, "ipRanges"=>[], "ipProtocol"=>"icmp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"tcp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"udp"}],
|
51
|
-
# owner_id="312571045469"
|
52
|
-
# vpc_id=nill
|
53
|
-
# >
|
54
|
-
# ]
|
55
|
-
# >
|
56
|
-
#
|
57
|
-
|
58
|
-
def all(filters = filters)
|
59
|
-
unless filters.is_a?(Hash)
|
60
|
-
Fog::Logger.deprecation("all with #{filters.class} param is deprecated, use all('group-name' => []) instead [light_black](#{caller.first})[/]")
|
61
|
-
filters = {'group-name' => [*filters]}
|
62
|
-
end
|
63
|
-
self.filters = filters
|
64
|
-
data = service.describe_security_groups(filters).body
|
65
|
-
load(data['securityGroupInfo'])
|
66
|
-
end
|
67
|
-
|
68
|
-
# Used to retrieve a security group
|
69
|
-
# group name is required to get the associated flavor information.
|
70
|
-
#
|
71
|
-
# You can run the following command to get the details:
|
72
|
-
# AWS.security_groups.get("default")
|
73
|
-
#
|
74
|
-
# ==== Returns
|
75
|
-
#
|
76
|
-
#>> AWS.security_groups.get("default")
|
77
|
-
# <Fog::AWS::Compute::SecurityGroup
|
78
|
-
# name="default",
|
79
|
-
# description="default group",
|
80
|
-
# ip_permissions=[{"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>-1, "toPort"=>-1, "ipRanges"=>[], "ipProtocol"=>"icmp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"tcp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"udp"}],
|
81
|
-
# owner_id="312571045469"
|
82
|
-
# vpc_id=nil
|
83
|
-
# >
|
84
|
-
#
|
85
|
-
|
86
|
-
def get(group_name)
|
87
|
-
if group_name
|
88
|
-
self.class.new(:service => service).all('group-name' => group_name).first
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
# Used to retrieve a security group
|
93
|
-
# group id is required to get the associated flavor information.
|
94
|
-
#
|
95
|
-
# You can run the following command to get the details:
|
96
|
-
# AWS.security_groups.get_by_id("default")
|
97
|
-
#
|
98
|
-
# ==== Returns
|
99
|
-
#
|
100
|
-
#>> AWS.security_groups.get_by_id("sg-123456")
|
101
|
-
# <Fog::AWS::Compute::SecurityGroup
|
102
|
-
# name="default",
|
103
|
-
# description="default group",
|
104
|
-
# ip_permissions=[{"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>-1, "toPort"=>-1, "ipRanges"=>[], "ipProtocol"=>"icmp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"tcp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"udp"}],
|
105
|
-
# owner_id="312571045469"
|
106
|
-
# >
|
107
|
-
#
|
108
|
-
|
109
|
-
def get_by_id(group_id)
|
110
|
-
if group_id
|
111
|
-
self.class.new(:service => service).all('group-id' => group_id).first
|
112
|
-
end
|
113
|
-
end
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
117
|
-
end
|
@@ -1,271 +0,0 @@
|
|
1
|
-
require 'fog/compute/models/server'
|
2
|
-
|
3
|
-
module Fog
|
4
|
-
module Compute
|
5
|
-
class AWS
|
6
|
-
class Server < Fog::Compute::Server
|
7
|
-
extend Fog::Deprecation
|
8
|
-
deprecate :ip_address, :public_ip_address
|
9
|
-
|
10
|
-
identity :id, :aliases => 'instanceId'
|
11
|
-
|
12
|
-
attr_accessor :architecture
|
13
|
-
attribute :ami_launch_index, :aliases => 'amiLaunchIndex'
|
14
|
-
attribute :associate_public_ip, :aliases => 'associatePublicIP'
|
15
|
-
attribute :availability_zone, :aliases => 'availabilityZone'
|
16
|
-
attribute :block_device_mapping, :aliases => 'blockDeviceMapping'
|
17
|
-
attribute :network_interfaces, :aliases => 'networkInterfaces'
|
18
|
-
attribute :client_token, :aliases => 'clientToken'
|
19
|
-
attribute :disable_api_termination, :aliases => 'disableApiTermination'
|
20
|
-
attribute :dns_name, :aliases => 'dnsName'
|
21
|
-
attribute :ebs_optimized, :aliases => 'ebsOptimized'
|
22
|
-
attribute :groups
|
23
|
-
attribute :flavor_id, :aliases => 'instanceType'
|
24
|
-
attribute :hypervisor
|
25
|
-
attribute :iam_instance_profile, :aliases => 'iamInstanceProfile'
|
26
|
-
attribute :image_id, :aliases => 'imageId'
|
27
|
-
attr_accessor :instance_initiated_shutdown_behavior
|
28
|
-
attribute :kernel_id, :aliases => 'kernelId'
|
29
|
-
attribute :key_name, :aliases => 'keyName'
|
30
|
-
attribute :created_at, :aliases => 'launchTime'
|
31
|
-
attribute :lifecycle, :aliases => 'instanceLifecycle'
|
32
|
-
attribute :monitoring, :squash => 'state'
|
33
|
-
attribute :placement_group, :aliases => 'groupName'
|
34
|
-
attribute :platform, :aliases => 'platform'
|
35
|
-
attribute :product_codes, :aliases => 'productCodes'
|
36
|
-
attribute :private_dns_name, :aliases => 'privateDnsName'
|
37
|
-
attribute :private_ip_address, :aliases => 'privateIpAddress'
|
38
|
-
attribute :public_ip_address, :aliases => 'ipAddress'
|
39
|
-
attribute :ramdisk_id, :aliases => 'ramdiskId'
|
40
|
-
attribute :reason
|
41
|
-
attribute :requester_id, :aliases => 'requesterId'
|
42
|
-
attribute :root_device_name, :aliases => 'rootDeviceName'
|
43
|
-
attribute :root_device_type, :aliases => 'rootDeviceType'
|
44
|
-
attribute :security_group_ids, :aliases => 'securityGroupIds'
|
45
|
-
attribute :source_dest_check, :aliases => 'sourceDestCheck'
|
46
|
-
attribute :spot_instance_request_id, :aliases => 'spotInstanceRequestId'
|
47
|
-
attribute :state, :aliases => 'instanceState', :squash => 'name'
|
48
|
-
attribute :state_reason, :aliases => 'stateReason'
|
49
|
-
attribute :subnet_id, :aliases => 'subnetId'
|
50
|
-
attribute :tenancy
|
51
|
-
attribute :tags, :aliases => 'tagSet'
|
52
|
-
attribute :user_data
|
53
|
-
attribute :virtualization_type, :aliases => 'virtualizationType'
|
54
|
-
attribute :vpc_id, :aliases => 'vpcId'
|
55
|
-
|
56
|
-
attr_accessor :password
|
57
|
-
attr_writer :iam_instance_profile_name, :iam_instance_profile_arn
|
58
|
-
|
59
|
-
def initialize(attributes={})
|
60
|
-
self.groups ||= ["default"] unless (attributes[:subnet_id] || attributes[:security_group_ids] || attributes[:network_interfaces])
|
61
|
-
self.flavor_id ||= 't1.micro'
|
62
|
-
|
63
|
-
# Old 'connection' is renamed as service and should be used instead
|
64
|
-
prepare_service_value(attributes)
|
65
|
-
|
66
|
-
self.image_id ||= begin
|
67
|
-
self.username ||= 'ubuntu'
|
68
|
-
case @service.instance_variable_get(:@region) # Ubuntu 10.04 LTS 64bit (EBS)
|
69
|
-
when 'ap-northeast-1'
|
70
|
-
'ami-5e0fa45f'
|
71
|
-
when 'ap-southeast-1'
|
72
|
-
'ami-f092eca2'
|
73
|
-
when 'ap-southeast-2'
|
74
|
-
'ami-fb8611c1' # Ubuntu 12.04 LTS 64bit (EBS)
|
75
|
-
when 'eu-west-1'
|
76
|
-
'ami-3d1f2b49'
|
77
|
-
when 'sa-east-1'
|
78
|
-
'ami-d0429ccd'
|
79
|
-
when 'us-east-1'
|
80
|
-
'ami-3202f25b'
|
81
|
-
when 'us-west-1'
|
82
|
-
'ami-f5bfefb0'
|
83
|
-
when 'us-west-2'
|
84
|
-
'ami-e0ec60d0'
|
85
|
-
end
|
86
|
-
end
|
87
|
-
super
|
88
|
-
end
|
89
|
-
|
90
|
-
def addresses
|
91
|
-
requires :id
|
92
|
-
|
93
|
-
service.addresses(:server => self)
|
94
|
-
end
|
95
|
-
|
96
|
-
def console_output
|
97
|
-
requires :id
|
98
|
-
|
99
|
-
service.get_console_output(id)
|
100
|
-
end
|
101
|
-
|
102
|
-
def destroy
|
103
|
-
requires :id
|
104
|
-
|
105
|
-
service.terminate_instances(id)
|
106
|
-
true
|
107
|
-
end
|
108
|
-
|
109
|
-
remove_method :flavor_id
|
110
|
-
def flavor_id
|
111
|
-
@flavor && @flavor.id || attributes[:flavor_id]
|
112
|
-
end
|
113
|
-
|
114
|
-
def flavor=(new_flavor)
|
115
|
-
@flavor = new_flavor
|
116
|
-
end
|
117
|
-
|
118
|
-
def flavor
|
119
|
-
@flavor ||= service.flavors.all.find {|flavor| flavor.id == flavor_id}
|
120
|
-
end
|
121
|
-
|
122
|
-
def key_pair
|
123
|
-
requires :key_name
|
124
|
-
service.key_pairs.all({'key-name' => key_name}).first
|
125
|
-
end
|
126
|
-
|
127
|
-
def key_pair=(new_keypair)
|
128
|
-
self.key_name = new_keypair && new_keypair.name
|
129
|
-
end
|
130
|
-
|
131
|
-
def ready?
|
132
|
-
state == 'running'
|
133
|
-
end
|
134
|
-
|
135
|
-
def reboot
|
136
|
-
requires :id
|
137
|
-
service.reboot_instances(id)
|
138
|
-
true
|
139
|
-
end
|
140
|
-
|
141
|
-
def run_instance_options
|
142
|
-
raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted?
|
143
|
-
requires :image_id
|
144
|
-
|
145
|
-
options = {
|
146
|
-
'BlockDeviceMapping' => block_device_mapping,
|
147
|
-
'NetworkInterfaces' => network_interfaces,
|
148
|
-
'ClientToken' => client_token,
|
149
|
-
'DisableApiTermination' => disable_api_termination,
|
150
|
-
'EbsOptimized' => ebs_optimized,
|
151
|
-
'IamInstanceProfile.Arn' => @iam_instance_profile_arn,
|
152
|
-
'IamInstanceProfile.Name' => @iam_instance_profile_name,
|
153
|
-
'InstanceInitiatedShutdownBehavior' => instance_initiated_shutdown_behavior,
|
154
|
-
'InstanceType' => flavor_id,
|
155
|
-
'KernelId' => kernel_id,
|
156
|
-
'KeyName' => key_name,
|
157
|
-
'Monitoring.Enabled' => monitoring,
|
158
|
-
'Placement.AvailabilityZone' => availability_zone,
|
159
|
-
'Placement.GroupName' => placement_group,
|
160
|
-
'Placement.Tenancy' => tenancy,
|
161
|
-
'PrivateIpAddress' => private_ip_address,
|
162
|
-
'RamdiskId' => ramdisk_id,
|
163
|
-
'SecurityGroup' => groups,
|
164
|
-
'SecurityGroupId' => security_group_ids,
|
165
|
-
'SubnetId' => subnet_id,
|
166
|
-
'UserData' => user_data,
|
167
|
-
}
|
168
|
-
options.delete_if {|key, value| value.nil?}
|
169
|
-
|
170
|
-
# If subnet is defined then this is a Virtual Private Cloud.
|
171
|
-
# subnet & security group cannot co-exist. Attempting to specify
|
172
|
-
# both subnet and groups will cause an error. Instead please make
|
173
|
-
# use of Security Group Ids when working in a VPC.
|
174
|
-
if subnet_id
|
175
|
-
options.delete('SecurityGroup')
|
176
|
-
if associate_public_ip
|
177
|
-
options['NetworkInterface.0.DeviceIndex'] = 0
|
178
|
-
options['NetworkInterface.0.AssociatePublicIpAddress'] = associate_public_ip
|
179
|
-
options['NetworkInterface.0.SubnetId'] = options['SubnetId']
|
180
|
-
options.delete('SubnetId')
|
181
|
-
if options['SecurityGroupId'].kind_of?(Array)
|
182
|
-
options['SecurityGroupId'].each {|id|
|
183
|
-
options["NetworkInterface.0.SecurityGroupId.#{options['SecurityGroupId'].index(id)}"] = id
|
184
|
-
}
|
185
|
-
else
|
186
|
-
options["NetworkInterface.0.SecurityGroupId.0"] = options['SecurityGroupId']
|
187
|
-
end
|
188
|
-
options.delete('SecurityGroupId')
|
189
|
-
if private_ip_address
|
190
|
-
options.delete('PrivateIpAddress')
|
191
|
-
options['NetworkInterface.0.PrivateIpAddress'] = private_ip_address
|
192
|
-
end
|
193
|
-
end
|
194
|
-
else
|
195
|
-
options.delete('SubnetId')
|
196
|
-
end
|
197
|
-
options
|
198
|
-
end
|
199
|
-
|
200
|
-
def save
|
201
|
-
servers = service.servers.save_many(self, 1, 1)
|
202
|
-
merge_attributes(servers.first.attributes)
|
203
|
-
true
|
204
|
-
end
|
205
|
-
|
206
|
-
def setup(credentials = {})
|
207
|
-
requires :ssh_ip_address, :username
|
208
|
-
require 'net/ssh'
|
209
|
-
|
210
|
-
commands = [
|
211
|
-
%{mkdir .ssh},
|
212
|
-
%{passwd -l #{username}},
|
213
|
-
%{echo "#{Fog::JSON.encode(Fog::JSON.sanitize(attributes))}" >> ~/attributes.json}
|
214
|
-
]
|
215
|
-
if public_key
|
216
|
-
commands << %{echo "#{public_key}" >> ~/.ssh/authorized_keys}
|
217
|
-
end
|
218
|
-
|
219
|
-
# wait for aws to be ready
|
220
|
-
wait_for { sshable?(credentials) }
|
221
|
-
|
222
|
-
Fog::SSH.new(ssh_ip_address, username, credentials).run(commands)
|
223
|
-
end
|
224
|
-
|
225
|
-
def start
|
226
|
-
requires :id
|
227
|
-
service.start_instances(id)
|
228
|
-
true
|
229
|
-
end
|
230
|
-
|
231
|
-
def stop(force = false)
|
232
|
-
requires :id
|
233
|
-
service.stop_instances(id, force)
|
234
|
-
true
|
235
|
-
end
|
236
|
-
|
237
|
-
def volumes
|
238
|
-
requires :id
|
239
|
-
service.volumes(:server => self)
|
240
|
-
end
|
241
|
-
|
242
|
-
#I tried to call it monitoring= and be smart with attributes[]
|
243
|
-
#but in #save a merge_attribute is called after run_instance
|
244
|
-
#thus making an un-necessary request. Use this until finding a clever solution
|
245
|
-
def monitor=(new_monitor)
|
246
|
-
if persisted?
|
247
|
-
case new_monitor
|
248
|
-
when true
|
249
|
-
response = service.monitor_instances(identity)
|
250
|
-
when false
|
251
|
-
response = service.unmonitor_instances(identity)
|
252
|
-
else
|
253
|
-
raise ArgumentError.new("only Boolean allowed here")
|
254
|
-
end
|
255
|
-
end
|
256
|
-
self.monitoring = new_monitor
|
257
|
-
end
|
258
|
-
|
259
|
-
private
|
260
|
-
|
261
|
-
def placement=(new_placement)
|
262
|
-
if new_placement.is_a?(Hash)
|
263
|
-
merge_attributes(new_placement)
|
264
|
-
else
|
265
|
-
self.attributes[:placement] = new_placement
|
266
|
-
end
|
267
|
-
end
|
268
|
-
end
|
269
|
-
end
|
270
|
-
end
|
271
|
-
end
|