| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.Types.Credentials
Description
Synopsis
- data Credentials = Credentials' {}
- newCredentials :: Credentials
- credentials_accessToken :: Lens' Credentials (Maybe Text)
- credentials_accessTokenExpiration :: Lens' Credentials (Maybe UTCTime)
- 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.
Constructors
| Credentials' | |
Fields
| |
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:accessToken:Credentials', credentials_accessToken - An access token generated for a federated user to access Amazon Connect.
$sel:accessTokenExpiration:Credentials', credentials_accessTokenExpiration - A token generated with an expiration time for the session a user is
logged in to 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_accessToken :: Lens' Credentials (Maybe Text) Source #
An access token generated for a federated user to access Amazon Connect.
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_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.