lib/fog/aws.rb in fog-aws-3.5.2 vs lib/fog/aws.rb in fog-aws-3.6.2
- old
+ new
@@ -24,10 +24,11 @@
autoload :DNS, File.expand_path('../aws/dns', __FILE__)
autoload :DynamoDB, File.expand_path('../aws/dynamodb', __FILE__)
autoload :ECS, File.expand_path('../aws/ecs', __FILE__)
autoload :EFS, File.expand_path('../aws/efs', __FILE__)
autoload :ELB, File.expand_path('../aws/elb', __FILE__)
+ autoload :ELBV2, File.expand_path('../aws/elbv2', __FILE__)
autoload :EMR, File.expand_path('../aws/emr', __FILE__)
autoload :ElasticBeanstalk, File.expand_path('../aws/beanstalk', __FILE__)
autoload :Elasticache, File.expand_path('../aws/elasticache', __FILE__)
autoload :Federation, File.expand_path('../aws/federation', __FILE__)
autoload :Glacier, File.expand_path('../aws/glacier', __FILE__)
@@ -56,10 +57,11 @@
service(:dynamodb, 'DynamoDB')
service(:elasticache, 'Elasticache')
service(:ecs, 'ECS')
service(:efs, 'EFS')
service(:elb, 'ELB')
+ service(:elbv2, 'ELBV2')
service(:emr, 'EMR')
service(:federation, 'Federation')
service(:glacier, 'Glacier')
service(:iam, 'IAM')
service(:kinesis, 'Kinesis')
@@ -226,12 +228,14 @@
'cn-north-1',
'cn-northwest-1',
'eu-central-1',
'eu-north-1',
'eu-west-1', 'eu-west-2', 'eu-west-3',
+ 'me-south-1',
'us-east-1', 'us-east-2',
'us-west-1', 'us-west-2',
'sa-east-1',
+ 'us-gov-east-1',
'us-gov-west-1'
]
end
def self.validate_region!(region, host=nil)