You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Exception: Aws::Errors::MissingEndpointHostLabelValue

Inherits:
RuntimeError
  • Object
show all
Defined in:
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



80
81
82
83
84
85
# File 'aws-sdk-core/lib/aws-sdk-core/errors.rb', line 80

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