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

Description

Adds or removes the specified license configurations for the specified Amazon Web Services resource.

You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.

Synopsis

Creating a Request

data UpdateLicenseSpecificationsForResource Source #

Constructors

UpdateLicenseSpecificationsForResource' 

Fields

Instances

Instances details
Eq UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Read UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Show UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Generic UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

NFData UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Hashable UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

ToJSON UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

AWSRequest UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

ToHeaders UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

ToPath UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

ToQuery UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

type Rep UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

type Rep UpdateLicenseSpecificationsForResource = D1 ('MetaData "UpdateLicenseSpecificationsForResource" "Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "UpdateLicenseSpecificationsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addLicenseSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LicenseSpecification])) :*: (S1 ('MetaSel ('Just "removeLicenseSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LicenseSpecification])) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateLicenseSpecificationsForResource Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

newUpdateLicenseSpecificationsForResource Source #

Create a value of UpdateLicenseSpecificationsForResource 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:addLicenseSpecifications:UpdateLicenseSpecificationsForResource', updateLicenseSpecificationsForResource_addLicenseSpecifications - ARNs of the license configurations to add.

$sel:removeLicenseSpecifications:UpdateLicenseSpecificationsForResource', updateLicenseSpecificationsForResource_removeLicenseSpecifications - ARNs of the license configurations to remove.

$sel:resourceArn:UpdateLicenseSpecificationsForResource', updateLicenseSpecificationsForResource_resourceArn - Amazon Resource Name (ARN) of the Amazon Web Services resource.

Request Lenses

updateLicenseSpecificationsForResource_resourceArn :: Lens' UpdateLicenseSpecificationsForResource Text Source #

Amazon Resource Name (ARN) of the Amazon Web Services resource.

Destructuring the Response

data UpdateLicenseSpecificationsForResourceResponse Source #

Constructors

UpdateLicenseSpecificationsForResourceResponse' 

Fields

Instances

Instances details
Eq UpdateLicenseSpecificationsForResourceResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Read UpdateLicenseSpecificationsForResourceResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Show UpdateLicenseSpecificationsForResourceResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

Generic UpdateLicenseSpecificationsForResourceResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

NFData UpdateLicenseSpecificationsForResourceResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

type Rep UpdateLicenseSpecificationsForResourceResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource

type Rep UpdateLicenseSpecificationsForResourceResponse = D1 ('MetaData "UpdateLicenseSpecificationsForResourceResponse" "Amazonka.LicenseManager.UpdateLicenseSpecificationsForResource" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "UpdateLicenseSpecificationsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateLicenseSpecificationsForResourceResponse Source #

Create a value of UpdateLicenseSpecificationsForResourceResponse 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:httpStatus:UpdateLicenseSpecificationsForResourceResponse', updateLicenseSpecificationsForResourceResponse_httpStatus - The response's http status code.

Response Lenses