libZSservicesZSamazonka-license-managerZSamazonka-license-manager
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.LicenseManager.Types.TokenData

Description

 
Synopsis

Documentation

data TokenData Source #

Describes a token.

See: newTokenData smart constructor.

Constructors

TokenData' 

Fields

Instances

Instances details
Eq TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

Read TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

Show TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

Generic TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

Associated Types

type Rep TokenData :: Type -> Type #

NFData TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

Methods

rnf :: TokenData -> () #

Hashable TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

FromJSON TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

type Rep TokenData Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.TokenData

type Rep TokenData = D1 ('MetaData "TokenData" "Amazonka.LicenseManager.Types.TokenData" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "TokenData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tokenId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tokenProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "roleArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tokenType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "expirationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTokenData :: TokenData Source #

Create a value of TokenData 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:status:TokenData', tokenData_status - Token status. The possible values are AVAILABLE and DELETED.

$sel:tokenId:TokenData', tokenData_tokenId - Token ID.

$sel:tokenProperties:TokenData', tokenData_tokenProperties - Data specified by the caller.

$sel:roleArns:TokenData', tokenData_roleArns - Amazon Resource Names (ARN) of the roles included in the token.

$sel:tokenType:TokenData', tokenData_tokenType - Type of token generated. The supported value is REFRESH_TOKEN.

$sel:expirationTime:TokenData', tokenData_expirationTime - Token expiration time, in ISO8601-UTC format.

$sel:licenseArn:TokenData', tokenData_licenseArn - Amazon Resource Name (ARN) of the license.

tokenData_status :: Lens' TokenData (Maybe Text) Source #

Token status. The possible values are AVAILABLE and DELETED.

tokenData_tokenProperties :: Lens' TokenData (Maybe [Text]) Source #

Data specified by the caller.

tokenData_roleArns :: Lens' TokenData (Maybe [Text]) Source #

Amazon Resource Names (ARN) of the roles included in the token.

tokenData_tokenType :: Lens' TokenData (Maybe Text) Source #

Type of token generated. The supported value is REFRESH_TOKEN.

tokenData_expirationTime :: Lens' TokenData (Maybe Text) Source #

Token expiration time, in ISO8601-UTC format.

tokenData_licenseArn :: Lens' TokenData (Maybe Text) Source #

Amazon Resource Name (ARN) of the license.