Exception: Aws::Errors::MissingEndpointHostLabelValue

Inherits:
RuntimeError
  • Object
show all
Defined in:
gems/aws-sdk-core/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.



86
87
88
89
90
91
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 86

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