libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECRPublic.Types.AuthorizationData

Description

 
Synopsis

Documentation

data AuthorizationData Source #

An authorization token data object that corresponds to a public registry.

See: newAuthorizationData smart constructor.

Constructors

AuthorizationData' 

Fields

  • expiresAt :: Maybe POSIX

    The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.

  • authorizationToken :: Maybe Text

    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.

Instances

Instances details
Eq AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

Read AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

Show AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

Generic AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

Associated Types

type Rep AuthorizationData :: Type -> Type #

NFData AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

Methods

rnf :: AuthorizationData -> () #

Hashable AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

FromJSON AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

type Rep AuthorizationData Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.AuthorizationData

type Rep AuthorizationData = D1 ('MetaData "AuthorizationData" "Amazonka.ECRPublic.Types.AuthorizationData" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "AuthorizationData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expiresAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "authorizationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.