Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Credentials = Credentials' {
- sessionToken :: Maybe Text
- expiration :: Maybe POSIX
- secretKey :: Maybe Text
- accessKeyId :: Maybe Text
- newCredentials :: Credentials
- credentials_sessionToken :: Lens' Credentials (Maybe Text)
- credentials_expiration :: Lens' Credentials (Maybe UTCTime)
- credentials_secretKey :: Lens' Credentials (Maybe Text)
- credentials_accessKeyId :: Lens' Credentials (Maybe Text)
Documentation
data Credentials Source #
Credentials for the provided identity ID.
See: newCredentials
smart constructor.
Credentials' | |
|
Instances
newCredentials :: Credentials Source #
Create a value of Credentials
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sessionToken:Credentials'
, credentials_sessionToken
- The Session Token portion of the credentials
$sel:expiration:Credentials'
, credentials_expiration
- The date at which these credentials will expire.
$sel:secretKey:Credentials'
, credentials_secretKey
- The Secret Access Key portion of the credentials
$sel:accessKeyId:Credentials'
, credentials_accessKeyId
- The Access Key portion of the credentials.
credentials_sessionToken :: Lens' Credentials (Maybe Text) Source #
The Session Token portion of the credentials
credentials_expiration :: Lens' Credentials (Maybe UTCTime) Source #
The date at which these credentials will expire.
credentials_secretKey :: Lens' Credentials (Maybe Text) Source #
The Secret Access Key portion of the credentials
credentials_accessKeyId :: Lens' Credentials (Maybe Text) Source #
The Access Key portion of the credentials.