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.



198
199
200
201
202
203
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 198

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