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

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



76
77
78
79
80
81
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 76

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