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

Description

Lists your tokens.

Synopsis

Creating a Request

data ListTokens Source #

See: newListTokens smart constructor.

Constructors

ListTokens' 

Fields

Instances

Instances details
Eq ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Read ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Show ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Generic ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Associated Types

type Rep ListTokens :: Type -> Type #

NFData ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Methods

rnf :: ListTokens -> () #

Hashable ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

ToJSON ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

AWSRequest ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Associated Types

type AWSResponse ListTokens #

ToHeaders ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Methods

toHeaders :: ListTokens -> [Header] #

ToPath ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

ToQuery ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

type Rep ListTokens Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

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

Defined in Amazonka.LicenseManager.ListTokens

newListTokens :: ListTokens Source #

Create a value of ListTokens 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:tokenIds:ListTokens', listTokens_tokenIds - Token IDs.

$sel:filters:ListTokens', listTokens_filters - Filters to scope the results. The following filter is supported:

  • LicenseArns

$sel:nextToken:ListTokens', listTokens_nextToken - Token for the next set of results.

$sel:maxResults:ListTokens', listTokens_maxResults - Maximum number of results to return in a single call.

Request Lenses

listTokens_filters :: Lens' ListTokens (Maybe [Filter]) Source #

Filters to scope the results. The following filter is supported:

  • LicenseArns

listTokens_nextToken :: Lens' ListTokens (Maybe Text) Source #

Token for the next set of results.

listTokens_maxResults :: Lens' ListTokens (Maybe Natural) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListTokensResponse Source #

See: newListTokensResponse smart constructor.

Constructors

ListTokensResponse' 

Fields

Instances

Instances details
Eq ListTokensResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Read ListTokensResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Show ListTokensResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Generic ListTokensResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Associated Types

type Rep ListTokensResponse :: Type -> Type #

NFData ListTokensResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

Methods

rnf :: ListTokensResponse -> () #

type Rep ListTokensResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListTokens

type Rep ListTokensResponse = D1 ('MetaData "ListTokensResponse" "Amazonka.LicenseManager.ListTokens" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "ListTokensResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TokenData])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTokensResponse Source #

Create a value of ListTokensResponse 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:tokens:ListTokensResponse', listTokensResponse_tokens - Received token details.

$sel:nextToken:ListTokens', listTokensResponse_nextToken - Token for the next set of results.

$sel:httpStatus:ListTokensResponse', listTokensResponse_httpStatus - The response's http status code.

Response Lenses

listTokensResponse_nextToken :: Lens' ListTokensResponse (Maybe Text) Source #

Token for the next set of results.