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.GetAccessToken

Description

Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.

Synopsis

Creating a Request

data GetAccessToken Source #

See: newGetAccessToken smart constructor.

Constructors

GetAccessToken' 

Fields

Instances

Instances details
Eq GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Read GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Show GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Generic GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Associated Types

type Rep GetAccessToken :: Type -> Type #

NFData GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Methods

rnf :: GetAccessToken -> () #

Hashable GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

ToJSON GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

AWSRequest GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Associated Types

type AWSResponse GetAccessToken #

ToHeaders GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

ToPath GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

ToQuery GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

type Rep GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

type Rep GetAccessToken = D1 ('MetaData "GetAccessToken" "Amazonka.LicenseManager.GetAccessToken" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "GetAccessToken'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tokenProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetAccessToken Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

newGetAccessToken Source #

Create a value of GetAccessToken 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:tokenProperties:GetAccessToken', getAccessToken_tokenProperties - Token properties to validate against those present in the JWT token.

$sel:token:GetAccessToken', getAccessToken_token - Refresh token, encoded as a JWT token.

Request Lenses

getAccessToken_tokenProperties :: Lens' GetAccessToken (Maybe [Text]) Source #

Token properties to validate against those present in the JWT token.

getAccessToken_token :: Lens' GetAccessToken Text Source #

Refresh token, encoded as a JWT token.

Destructuring the Response

data GetAccessTokenResponse Source #

See: newGetAccessTokenResponse smart constructor.

Constructors

GetAccessTokenResponse' 

Fields

Instances

Instances details
Eq GetAccessTokenResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Read GetAccessTokenResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Show GetAccessTokenResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Generic GetAccessTokenResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Associated Types

type Rep GetAccessTokenResponse :: Type -> Type #

NFData GetAccessTokenResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

Methods

rnf :: GetAccessTokenResponse -> () #

type Rep GetAccessTokenResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetAccessToken

type Rep GetAccessTokenResponse = D1 ('MetaData "GetAccessTokenResponse" "Amazonka.LicenseManager.GetAccessToken" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "GetAccessTokenResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetAccessTokenResponse Source #

Create a value of GetAccessTokenResponse 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:accessToken:GetAccessTokenResponse', getAccessTokenResponse_accessToken - Temporary access token.

$sel:httpStatus:GetAccessTokenResponse', getAccessTokenResponse_httpStatus - The response's http status code.

Response Lenses