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 |
Documentation
data AuthorizationData Source #
An authorization token data object that corresponds to a public registry.
See: newAuthorizationData
smart constructor.
AuthorizationData' | |
|
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:expiresAt:AuthorizationData'
, authorizationData_expiresAt
- The Unix time in seconds and milliseconds when the authorization token
expires. Authorization tokens are valid for 12 hours.
$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
.
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.
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
.