Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies the attributes of an existing license configuration.
Synopsis
- data UpdateLicenseConfiguration = UpdateLicenseConfiguration' {
- licenseCount :: Maybe Integer
- name :: Maybe Text
- licenseConfigurationStatus :: Maybe LicenseConfigurationStatus
- licenseCountHardLimit :: Maybe Bool
- disassociateWhenNotFound :: Maybe Bool
- productInformationList :: Maybe [ProductInformation]
- licenseRules :: Maybe [Text]
- description :: Maybe Text
- licenseConfigurationArn :: Text
- newUpdateLicenseConfiguration :: Text -> UpdateLicenseConfiguration
- updateLicenseConfiguration_licenseCount :: Lens' UpdateLicenseConfiguration (Maybe Integer)
- updateLicenseConfiguration_name :: Lens' UpdateLicenseConfiguration (Maybe Text)
- updateLicenseConfiguration_licenseConfigurationStatus :: Lens' UpdateLicenseConfiguration (Maybe LicenseConfigurationStatus)
- updateLicenseConfiguration_licenseCountHardLimit :: Lens' UpdateLicenseConfiguration (Maybe Bool)
- updateLicenseConfiguration_disassociateWhenNotFound :: Lens' UpdateLicenseConfiguration (Maybe Bool)
- updateLicenseConfiguration_productInformationList :: Lens' UpdateLicenseConfiguration (Maybe [ProductInformation])
- updateLicenseConfiguration_licenseRules :: Lens' UpdateLicenseConfiguration (Maybe [Text])
- updateLicenseConfiguration_description :: Lens' UpdateLicenseConfiguration (Maybe Text)
- updateLicenseConfiguration_licenseConfigurationArn :: Lens' UpdateLicenseConfiguration Text
- data UpdateLicenseConfigurationResponse = UpdateLicenseConfigurationResponse' {
- httpStatus :: Int
- newUpdateLicenseConfigurationResponse :: Int -> UpdateLicenseConfigurationResponse
- updateLicenseConfigurationResponse_httpStatus :: Lens' UpdateLicenseConfigurationResponse Int
Creating a Request
data UpdateLicenseConfiguration Source #
See: newUpdateLicenseConfiguration
smart constructor.
UpdateLicenseConfiguration' | |
|
Instances
newUpdateLicenseConfiguration Source #
Create a value of UpdateLicenseConfiguration
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:licenseCount:UpdateLicenseConfiguration'
, updateLicenseConfiguration_licenseCount
- New number of licenses managed by the license configuration.
$sel:name:UpdateLicenseConfiguration'
, updateLicenseConfiguration_name
- New name of the license configuration.
$sel:licenseConfigurationStatus:UpdateLicenseConfiguration'
, updateLicenseConfiguration_licenseConfigurationStatus
- New status of the license configuration.
$sel:licenseCountHardLimit:UpdateLicenseConfiguration'
, updateLicenseConfiguration_licenseCountHardLimit
- New hard limit of the number of available licenses.
$sel:disassociateWhenNotFound:UpdateLicenseConfiguration'
, updateLicenseConfiguration_disassociateWhenNotFound
- When true, disassociates a resource when software is uninstalled.
$sel:productInformationList:UpdateLicenseConfiguration'
, updateLicenseConfiguration_productInformationList
- New product information.
$sel:licenseRules:UpdateLicenseConfiguration'
, updateLicenseConfiguration_licenseRules
- New license rule. The only rule that you can add after you create a
license configuration is licenseAffinityToHost.
$sel:description:UpdateLicenseConfiguration'
, updateLicenseConfiguration_description
- New description of the license configuration.
$sel:licenseConfigurationArn:UpdateLicenseConfiguration'
, updateLicenseConfiguration_licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.
Request Lenses
updateLicenseConfiguration_licenseCount :: Lens' UpdateLicenseConfiguration (Maybe Integer) Source #
New number of licenses managed by the license configuration.
updateLicenseConfiguration_name :: Lens' UpdateLicenseConfiguration (Maybe Text) Source #
New name of the license configuration.
updateLicenseConfiguration_licenseConfigurationStatus :: Lens' UpdateLicenseConfiguration (Maybe LicenseConfigurationStatus) Source #
New status of the license configuration.
updateLicenseConfiguration_licenseCountHardLimit :: Lens' UpdateLicenseConfiguration (Maybe Bool) Source #
New hard limit of the number of available licenses.
updateLicenseConfiguration_disassociateWhenNotFound :: Lens' UpdateLicenseConfiguration (Maybe Bool) Source #
When true, disassociates a resource when software is uninstalled.
updateLicenseConfiguration_productInformationList :: Lens' UpdateLicenseConfiguration (Maybe [ProductInformation]) Source #
New product information.
updateLicenseConfiguration_licenseRules :: Lens' UpdateLicenseConfiguration (Maybe [Text]) Source #
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
updateLicenseConfiguration_description :: Lens' UpdateLicenseConfiguration (Maybe Text) Source #
New description of the license configuration.
updateLicenseConfiguration_licenseConfigurationArn :: Lens' UpdateLicenseConfiguration Text Source #
Amazon Resource Name (ARN) of the license configuration.
Destructuring the Response
data UpdateLicenseConfigurationResponse Source #
See: newUpdateLicenseConfigurationResponse
smart constructor.
UpdateLicenseConfigurationResponse' | |
|
Instances
Eq UpdateLicenseConfigurationResponse Source # | |
Read UpdateLicenseConfigurationResponse Source # | |
Show UpdateLicenseConfigurationResponse Source # | |
Generic UpdateLicenseConfigurationResponse Source # | |
NFData UpdateLicenseConfigurationResponse Source # | |
Defined in Amazonka.LicenseManager.UpdateLicenseConfiguration rnf :: UpdateLicenseConfigurationResponse -> () # | |
type Rep UpdateLicenseConfigurationResponse Source # | |
Defined in Amazonka.LicenseManager.UpdateLicenseConfiguration type Rep UpdateLicenseConfigurationResponse = D1 ('MetaData "UpdateLicenseConfigurationResponse" "Amazonka.LicenseManager.UpdateLicenseConfiguration" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "UpdateLicenseConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateLicenseConfigurationResponse Source #
Create a value of UpdateLicenseConfigurationResponse
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:UpdateLicenseConfigurationResponse'
, updateLicenseConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateLicenseConfigurationResponse_httpStatus :: Lens' UpdateLicenseConfigurationResponse Int Source #
The response's http status code.