amazonka-license-manager-2.0: Amazon License Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.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

AWSRequest CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Associated Types

type AWSResponse CreateGrantVersion #

Generic CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Associated Types

type Rep CreateGrantVersion :: Type -> Type #

Read CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Show CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

NFData CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Methods

rnf :: CreateGrantVersion -> () #

Eq CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Hashable CreateGrantVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

type AWSResponse 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" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "CreateGrantVersion'" 'PrefixI 'True) ((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 "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrantStatus)) :*: 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)))))

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:

CreateGrantVersion, createGrantVersion_allowedOperations - Allowed operations for the grant.

CreateGrantVersion, createGrantVersion_grantName - Grant name.

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

CreateGrantVersion, createGrantVersion_status - Grant status.

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.

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
Generic CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Associated Types

type Rep CreateGrantVersionResponse :: Type -> Type #

Read CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Show CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

NFData CreateGrantVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateGrantVersion

Eq 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" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "CreateGrantVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "grantArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrantStatus))) :*: (S1 ('MetaSel ('Just "version") '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:

CreateGrantVersion, createGrantVersionResponse_grantArn - Grant ARN.

CreateGrantVersion, createGrantVersionResponse_status - Grant status.

CreateGrantVersionResponse, createGrantVersionResponse_version - New version of the grant.

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

Response Lenses