class Aws::Errors::InvalidRegionError

Raised when a client is contsructed and the region is not valid.

def initialize(*args)

def initialize(*args)
  super(<<-MSG)
d `:region` option was provided.
every service is available in every region.
r suffix region names with availability zones.
"us-east-1", not "us-east-1a"
AWS regions include (not specific to this service):
ible_regions}
  MSG
end

def possible_regions

def possible_regions
  Aws.partitions.each_with_object([]) do |partition, region_names|
    partition.regions.each do |region|
      region_names << region.name
    end
  end.join("\n")
end