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

Description

Creates a new version of the specified grant.

Synopsis

Creating a Request

data CreateGrantVersion Source #

See: newCreateGrantVersion smart constructor.

Constructors

CreateGrantVersion' 

Fields

Instances

Instances details
Eq CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Read CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Show CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Generic CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Associated Types

type Rep CreateGrantVersion :: Type -> Type #

NFData CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Methods

rnf :: CreateGrantVersion -> () #

Hashable CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

ToJSON CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

AWSRequest CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Associated Types

type AWSResponse CreateGrantVersion #

ToHeaders CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

ToPath CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

ToQuery CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

type Rep CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

type Rep CreateGrantVersion = D1 ('MetaData "CreateGrantVersion" "Amazonka.LicenseManager.CreateGrantVersion" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CreateGrantVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrantStatus)) :*: (S1 ('MetaSel ('Just "allowedOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty AllowedOperation))) :*: S1 ('MetaSel ('Just "grantName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "sourceVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "grantArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

newCreateGrantVersion Source #

Create a value of CreateGrantVersion 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:CreateGrantVersion', createGrantVersion_status - Grant status.

$sel:allowedOperations:CreateGrantVersion', createGrantVersion_allowedOperations - Allowed operations for the grant.

$sel:grantName:CreateGrantVersion', createGrantVersion_grantName - Grant name.

$sel:sourceVersion:CreateGrantVersion', createGrantVersion_sourceVersion - Current version of the grant.

$sel:statusReason:CreateGrantVersion', createGrantVersion_statusReason - Grant status reason.

$sel:clientToken:CreateGrantVersion', createGrantVersion_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

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

Request Lenses

createGrantVersion_clientToken :: Lens' CreateGrantVersion Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createGrantVersion_grantArn :: Lens' CreateGrantVersion Text Source #

Amazon Resource Name (ARN) of the grant.

Destructuring the Response

data CreateGrantVersionResponse Source #

See: newCreateGrantVersionResponse smart constructor.

Constructors

CreateGrantVersionResponse' 

Fields

Instances

Instances details
Eq CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Read CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Show CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Generic CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Associated Types

type Rep CreateGrantVersionResponse :: Type -> Type #

NFData CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

type Rep CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

type Rep CreateGrantVersionResponse = D1 ('MetaData "CreateGrantVersionResponse" "Amazonka.LicenseManager.CreateGrantVersion" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CreateGrantVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrantStatus)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "grantArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateGrantVersionResponse Source #

Create a value of CreateGrantVersionResponse 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:CreateGrantVersion', createGrantVersionResponse_status - Grant status.

$sel:version:CreateGrantVersionResponse', createGrantVersionResponse_version - New version of the grant.

$sel:grantArn:CreateGrantVersion', createGrantVersionResponse_grantArn - Grant ARN.

$sel:httpStatus:CreateGrantVersionResponse', createGrantVersionResponse_httpStatus - The response's http status code.

Response Lenses