amazonka-2.0: Comprehensive Amazon Web Services SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Amazonka.Auth.Exception

Description

Exception for errors involving AWS authentication.

Synopsis

Documentation

data AuthError Source #

An error thrown when attempting to read AuthN/AuthZ information.

Instances

Instances details
AsAuthError AuthError Source # 
Instance details

Defined in Amazonka.Auth.Exception

ToLog AuthError Source # 
Instance details

Defined in Amazonka.Auth.Exception

Exception AuthError Source # 
Instance details

Defined in Amazonka.Auth.Exception

Generic AuthError Source # 
Instance details

Defined in Amazonka.Auth.Exception

Show AuthError Source # 
Instance details

Defined in Amazonka.Auth.Exception

type Rep AuthError Source # 
Instance details

Defined in Amazonka.Auth.Exception

class AsAuthError a where Source #

Minimal complete definition

_AuthError

Methods

_AuthError :: Prism' a AuthError Source #

A general authentication error.

_RetrievalError :: Prism' a HttpException Source #

An error occured while communicating over HTTP with the local metadata endpoint.

_MissingEnvError :: Prism' a Text Source #

The named environment variable was not found.

_MissingFileError :: Prism' a FilePath Source #

The specified credentials file could not be found.

_InvalidFileError :: Prism' a Text Source #

An error occured parsing the credentials file.

_InvalidIAMError :: Prism' a Text Source #

The specified IAM profile could not be found or deserialised.