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' {}
- newCredentials :: Credentials
- credentials_accessTokenExpiration :: Lens' Credentials (Maybe UTCTime)
- credentials_accessToken :: Lens' Credentials (Maybe Text)
- credentials_refreshToken :: Lens' Credentials (Maybe Text)
- credentials_refreshTokenExpiration :: Lens' Credentials (Maybe UTCTime)
Documentation
data Credentials Source #
Contains credentials to use for federation.
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:accessTokenExpiration:Credentials'
, credentials_accessTokenExpiration
- A token generated with an expiration time for the session a user is
logged in to Amazon Connect.
$sel:accessToken:Credentials'
, credentials_accessToken
- An access token generated for a federated user to access Amazon Connect.
$sel:refreshToken:Credentials'
, credentials_refreshToken
- Renews a token generated for a user to access the Amazon Connect
instance.
$sel:refreshTokenExpiration:Credentials'
, credentials_refreshTokenExpiration
- Renews the expiration timer for a generated token.
credentials_accessTokenExpiration :: Lens' Credentials (Maybe UTCTime) Source #
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
credentials_accessToken :: Lens' Credentials (Maybe Text) Source #
An access token generated for a federated user to access Amazon Connect.
credentials_refreshToken :: Lens' Credentials (Maybe Text) Source #
Renews a token generated for a user to access the Amazon Connect instance.
credentials_refreshTokenExpiration :: Lens' Credentials (Maybe UTCTime) Source #
Renews the expiration timer for a generated token.