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

Description

Lists the grants distributed for the specified license.

Synopsis

Creating a Request

data ListDistributedGrants Source #

See: newListDistributedGrants smart constructor.

Constructors

ListDistributedGrants' 

Fields

Instances

Instances details
Eq ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Read ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Show ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Generic ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Associated Types

type Rep ListDistributedGrants :: Type -> Type #

NFData ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Methods

rnf :: ListDistributedGrants -> () #

Hashable ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

ToJSON ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

AWSRequest ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Associated Types

type AWSResponse ListDistributedGrants #

ToHeaders ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

ToPath ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

ToQuery ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

type Rep ListDistributedGrants Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

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

Defined in Amazonka.LicenseManager.ListDistributedGrants

newListDistributedGrants :: ListDistributedGrants Source #

Create a value of ListDistributedGrants 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:filters:ListDistributedGrants', listDistributedGrants_filters - Filters to scope the results. The following filters are supported:

  • LicenseArn
  • GrantStatus
  • GranteePrincipalARN
  • ProductSKU
  • LicenseIssuerName

$sel:nextToken:ListDistributedGrants', listDistributedGrants_nextToken - Token for the next set of results.

$sel:grantArns:ListDistributedGrants', listDistributedGrants_grantArns - Amazon Resource Names (ARNs) of the grants.

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

Request Lenses

listDistributedGrants_filters :: Lens' ListDistributedGrants (Maybe [Filter]) Source #

Filters to scope the results. The following filters are supported:

  • LicenseArn
  • GrantStatus
  • GranteePrincipalARN
  • ProductSKU
  • LicenseIssuerName

listDistributedGrants_grantArns :: Lens' ListDistributedGrants (Maybe [Text]) Source #

Amazon Resource Names (ARNs) of the grants.

listDistributedGrants_maxResults :: Lens' ListDistributedGrants (Maybe Natural) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListDistributedGrantsResponse Source #

See: newListDistributedGrantsResponse smart constructor.

Constructors

ListDistributedGrantsResponse' 

Fields

Instances

Instances details
Eq ListDistributedGrantsResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Read ListDistributedGrantsResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Show ListDistributedGrantsResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Generic ListDistributedGrantsResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

Associated Types

type Rep ListDistributedGrantsResponse :: Type -> Type #

NFData ListDistributedGrantsResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

type Rep ListDistributedGrantsResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListDistributedGrants

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

newListDistributedGrantsResponse Source #

Create a value of ListDistributedGrantsResponse 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:grants:ListDistributedGrantsResponse', listDistributedGrantsResponse_grants - Distributed grant details.

$sel:nextToken:ListDistributedGrants', listDistributedGrantsResponse_nextToken - Token for the next set of results.

$sel:httpStatus:ListDistributedGrantsResponse', listDistributedGrantsResponse_httpStatus - The response's http status code.

Response Lenses