class Aws::Plugins::RegionalEndpoint
constructed from the ‘:region`.
@seahorse.client.option [String] :endpoint A default endpoint is
Also checks `AMAZON_REGION` and `AWS_DEFAULT_REGION`.
the client endpoint. Defaults to `ENV`.
The AWS region to connect to. The region is used to construct
@seahorse.client.option [required, String] :region
def after_initialize(client)
def after_initialize(client) if client.config.region.nil? or client.config.region == '' msg = "missing region; use :region option or " msg << "export region name to ENV['AWS_REGION']" raise Errors::MissingRegionError, msg end end