Exception: Aws::Errors::InvalidARNRegionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/aws-sdk-core/errors.rb

Overview

Raised when the region from the ARN string is different from the :region configured on the service client.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ InvalidARNRegionError

Returns a new instance of InvalidARNRegionError.


145
146
147
148
# File 'lib/aws-sdk-core/errors.rb', line 145

def initialize(*args)
  msg = 'ARN region is different from the configured client region.'
  super(msg)
end