Exception: Aws::Errors::MissingEndpointHostLabelValue

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

Overview

raised when hostLabel member is not provided at operation input when endpoint trait is available with 'hostPrefix' requirement

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ MissingEndpointHostLabelValue

Returns a new instance of MissingEndpointHostLabelValue



52
53
54
55
56
57
# File 'lib/aws-sdk-core/errors.rb', line 52

def initialize(name)
  msg = "Missing required parameter #{name} to construct"\
    " endpoint host prefix. You can disable host prefix by"\
    " setting :disable_host_prefix_injection to `true`."
  super(msg)
end