1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #662 from thattommyhall/master

Added sa-east-1 region
This commit is contained in:
Wesley Beary 2011-12-15 07:16:56 -08:00
commit f4068b6fbd
11 changed files with 23 additions and 0 deletions

View file

@ -90,6 +90,8 @@ module Fog
'autoscaling.us-west-1.amazonaws.com'
when 'us-west-2'
'autoscaling.us-west-2.amazonaws.com'
when 'sa-east-1'
'autoscaling.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -67,6 +67,8 @@ module Fog
'cloudformation.us-west-1.amazonaws.com'
when 'us-west-2'
'cloudformation.us-west-2.amazonaws.com'
when 'sa-east-1'
'cloudformation.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -81,6 +81,8 @@ module Fog
'monitoring.us-west-1.amazonaws.com'
when 'us-west-2'
'monitoring.us-west-2.amazonaws.com'
when 'sa-east-1'
'monitoring.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -284,6 +284,8 @@ module Fog
'ec2.us-west-1.amazonaws.com'
when 'us-west-2'
'ec2.us-west-2.amazonaws.com'
when 'sa-east-1'
'ec2.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -120,6 +120,8 @@ module Fog
'elasticloadbalancing.us-west-1.amazonaws.com'
when 'us-west-2'
'elasticloadbalancing.us-west-2.amazonaws.com'
when 'sa-east-1'
'elasticloadbalancing.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -136,6 +136,8 @@ module Fog
'rds.us-west-1.amazonaws.com'
when 'us-west-2'
'rds.us-west-2.amazonaws.com'
when 'sa-east-1'
'rds.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -57,6 +57,9 @@ module Fog
{"messageSet" => [], "regionName" => "us-west-2", "zoneName" => "us-west-2a", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "us-west-2", "zoneName" => "us-west-2b", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "sa-east-1", "zoneName" => "sa-east-1a", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "sa-east-1", "zoneName" => "sa-east-1b", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "eu-west-1", "zoneName" => "eu-west-1a", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "eu-west-1", "zoneName" => "eu-west-1b", "zoneState" => "available"},

View file

@ -89,6 +89,8 @@ module Fog
'sdb.us-west-1.amazonaws.com'
when 'us-west-2'
'sdb.us-west-2.amazonaws.com'
when 'sa-east-1'
'sdb.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -67,6 +67,8 @@ module Fog
'sns.us-west-1.amazonaws.com'
when 'us-west-2'
'sns.us-west-2.amazonaws.com'
when 'sa-east-1'
'sns.sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -93,6 +93,8 @@ module Fog
'us-west-1.queue.amazonaws.com'
when 'us-west-2'
'us-west-2.queue.amazonaws.com'
when 'sa-east-1'
'sa-east-1.queue.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end

View file

@ -203,6 +203,8 @@ module Fog
's3-us-west-1.amazonaws.com'
when 'us-west-2'
's3-us-west-2.amazonaws.com'
when 'sa-east-1'
's3-sa-east-1.amazonaws.com'
else
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
end