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 AuthorizationData = AuthorizationData' {}
- newAuthorizationData :: AuthorizationData
- authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime)
- authorizationData_proxyEndpoint :: Lens' AuthorizationData (Maybe Text)
- authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text)
Documentation
data AuthorizationData Source #
An object representing authorization data for an Amazon ECR 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:proxyEndpoint:AuthorizationData'
, authorizationData_proxyEndpoint
- The registry URL to use for this authorization token in a docker login
command. The Amazon ECR registry URL format is
https://aws_account_id.dkr.ecr.region.amazonaws.com
. For example,
https://012345678910.dkr.ecr.us-east-1.amazonaws.com
..
$sel:authorizationToken:AuthorizationData'
, authorizationData_authorizationToken
- A base64-encoded string that contains authorization data for the
specified Amazon ECR registry. When the string is decoded, it is
presented in the format user:password
for private 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_proxyEndpoint :: Lens' AuthorizationData (Maybe Text) Source #
The registry URL to use for this authorization token in a docker login
command. The Amazon ECR registry URL format is
https://aws_account_id.dkr.ecr.region.amazonaws.com
. For example,
https://012345678910.dkr.ecr.us-east-1.amazonaws.com
..
authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text) Source #
A base64-encoded string that contains authorization data for the
specified Amazon ECR registry. When the string is decoded, it is
presented in the format user:password
for private registry
authentication using docker login
.