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

Description

Gets detailed information about the specified grant.

Synopsis

Creating a Request

data GetGrant Source #

See: newGetGrant smart constructor.

Constructors

GetGrant' 

Fields

Instances

Instances details
Eq GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Read GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Show GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Generic GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Associated Types

type Rep GetGrant :: Type -> Type #

Methods

from :: GetGrant -> Rep GetGrant x #

to :: Rep GetGrant x -> GetGrant #

NFData GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Methods

rnf :: GetGrant -> () #

Hashable GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Methods

hashWithSalt :: Int -> GetGrant -> Int #

hash :: GetGrant -> Int #

ToJSON GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

AWSRequest GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Associated Types

type AWSResponse GetGrant #

ToHeaders GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Methods

toHeaders :: GetGrant -> [Header] #

ToPath GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

ToQuery GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

type Rep GetGrant Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

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

Defined in Amazonka.LicenseManager.GetGrant

newGetGrant Source #

Create a value of GetGrant 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:version:GetGrant', getGrant_version - Grant version.

$sel:grantArn:GetGrant', getGrant_grantArn - Amazon Resource Name (ARN) of the grant.

Request Lenses

getGrant_grantArn :: Lens' GetGrant Text Source #

Amazon Resource Name (ARN) of the grant.

Destructuring the Response

data GetGrantResponse Source #

See: newGetGrantResponse smart constructor.

Constructors

GetGrantResponse' 

Fields

Instances

Instances details
Eq GetGrantResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Read GetGrantResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Show GetGrantResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Generic GetGrantResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Associated Types

type Rep GetGrantResponse :: Type -> Type #

NFData GetGrantResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

Methods

rnf :: GetGrantResponse -> () #

type Rep GetGrantResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.GetGrant

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

newGetGrantResponse Source #

Create a value of GetGrantResponse 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:grant:GetGrantResponse', getGrantResponse_grant - Grant details.

$sel:httpStatus:GetGrantResponse', getGrantResponse_httpStatus - The response's http status code.

Response Lenses

getGrantResponse_httpStatus :: Lens' GetGrantResponse Int Source #

The response's http status code.