| 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.ECRPublic.Types.AuthorizationData
Description
Documentation
data AuthorizationData Source #
An authorization token data object that corresponds to a public registry.
See: newAuthorizationData smart constructor.
Constructors
| AuthorizationData' | |
Fields
| |
Instances
newAuthorizationData :: AuthorizationData Source #
Create a value of AuthorizationData 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:authorizationToken:AuthorizationData', authorizationData_authorizationToken - A base64-encoded string that contains authorization data for a public
Amazon ECR registry. When the string is decoded, it is presented in the
format user:password for public registry authentication using
docker login.
$sel:expiresAt:AuthorizationData', authorizationData_expiresAt - The Unix time in seconds and milliseconds when the authorization token
expires. Authorization tokens are valid for 12 hours.
authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text) Source #
A base64-encoded string that contains authorization data for a public
Amazon ECR registry. When the string is decoded, it is presented in the
format user:password for public registry authentication using
docker login.
authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime) Source #
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.