Exception: Aws::Errors::InvalidRegionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Aws::Errors::InvalidRegionError
- Defined in:
- lib/aws-sdk-core/errors.rb
Overview
Raised when a client is contsructed and the region is not valid.
Instance Method Summary collapse
-
#initialize(*args) ⇒ InvalidRegionError
constructor
A new instance of InvalidRegionError.
Constructor Details
#initialize(*args) ⇒ InvalidRegionError
Returns a new instance of InvalidRegionError.
250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
# File 'lib/aws-sdk-core/errors.rb', line 250 def initialize(*args) super("Invalid `:region` option was provided.\n\n* Not every service is available in every region.\n\n* Never suffix region names with availability zones.\n Use \"us-east-1\", not \"us-east-1a\"\n\nKnown AWS regions include (not specific to this service):\n\n\#{possible_regions}\n MSG\nend\n") |