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

Exception: Aws::Errors::MissingWebIdentityTokenFile

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

Overview

Raised when :web_identity_token_file parameter is not provided or the file doesn't exist when initializing AssumeRoleWebIdentityCredentials credential provider

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MissingWebIdentityTokenFile

Returns a new instance of MissingWebIdentityTokenFile



165
166
167
168
169
170
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 165

def initialize(*args)
  msg = 'Missing :web_identity_token_file parameter or'\
    ' invalid file path provided for'\
    ' Aws::AssumeRoleWebIdentityCredentials provider'
  super(msg)
end