| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LicenseManager.UpdateLicenseConfiguration
Description
Modifies the attributes of an existing license configuration.
Synopsis
- data UpdateLicenseConfiguration = UpdateLicenseConfiguration' {
- description :: Maybe Text
- disassociateWhenNotFound :: Maybe Bool
- licenseConfigurationStatus :: Maybe LicenseConfigurationStatus
- licenseCount :: Maybe Integer
- licenseCountHardLimit :: Maybe Bool
- licenseRules :: Maybe [Text]
- name :: Maybe Text
- productInformationList :: Maybe [ProductInformation]
- licenseConfigurationArn :: Text
- newUpdateLicenseConfiguration :: Text -> UpdateLicenseConfiguration
- updateLicenseConfiguration_description :: Lens' UpdateLicenseConfiguration (Maybe Text)
- updateLicenseConfiguration_disassociateWhenNotFound :: Lens' UpdateLicenseConfiguration (Maybe Bool)
- updateLicenseConfiguration_licenseConfigurationStatus :: Lens' UpdateLicenseConfiguration (Maybe LicenseConfigurationStatus)
- updateLicenseConfiguration_licenseCount :: Lens' UpdateLicenseConfiguration (Maybe Integer)
- updateLicenseConfiguration_licenseCountHardLimit :: Lens' UpdateLicenseConfiguration (Maybe Bool)
- updateLicenseConfiguration_licenseRules :: Lens' UpdateLicenseConfiguration (Maybe [Text])
- updateLicenseConfiguration_name :: Lens' UpdateLicenseConfiguration (Maybe Text)
- updateLicenseConfiguration_productInformationList :: Lens' UpdateLicenseConfiguration (Maybe [ProductInformation])
- 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.
Constructors
| UpdateLicenseConfiguration' | |
Fields
| |
Instances
newUpdateLicenseConfiguration Source #
Arguments
| :: Text | |
| -> UpdateLicenseConfiguration |
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:
UpdateLicenseConfiguration, updateLicenseConfiguration_description - New description of the license configuration.
UpdateLicenseConfiguration, updateLicenseConfiguration_disassociateWhenNotFound - When true, disassociates a resource when software is uninstalled.
$sel:licenseConfigurationStatus:UpdateLicenseConfiguration', updateLicenseConfiguration_licenseConfigurationStatus - New status of the license configuration.
UpdateLicenseConfiguration, updateLicenseConfiguration_licenseCount - New number of licenses managed by the license configuration.
UpdateLicenseConfiguration, updateLicenseConfiguration_licenseCountHardLimit - New hard limit of the number of available licenses.
UpdateLicenseConfiguration, updateLicenseConfiguration_licenseRules - New license rule. The only rule that you can add after you create a
license configuration is licenseAffinityToHost.
UpdateLicenseConfiguration, updateLicenseConfiguration_name - New name of the license configuration.
UpdateLicenseConfiguration, updateLicenseConfiguration_productInformationList - New product information.
UpdateLicenseConfiguration, updateLicenseConfiguration_licenseConfigurationArn - Amazon Resource Name (ARN) of the license configuration.
Request Lenses
updateLicenseConfiguration_description :: Lens' UpdateLicenseConfiguration (Maybe Text) Source #
New description of the license configuration.
updateLicenseConfiguration_disassociateWhenNotFound :: Lens' UpdateLicenseConfiguration (Maybe Bool) Source #
When true, disassociates a resource when software is uninstalled.
updateLicenseConfiguration_licenseConfigurationStatus :: Lens' UpdateLicenseConfiguration (Maybe LicenseConfigurationStatus) Source #
New status of the license configuration.
updateLicenseConfiguration_licenseCount :: Lens' UpdateLicenseConfiguration (Maybe Integer) Source #
New number of licenses managed by the license configuration.
updateLicenseConfiguration_licenseCountHardLimit :: Lens' UpdateLicenseConfiguration (Maybe Bool) Source #
New hard limit of the number of available licenses.
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_name :: Lens' UpdateLicenseConfiguration (Maybe Text) Source #
New name of the license configuration.
updateLicenseConfiguration_productInformationList :: Lens' UpdateLicenseConfiguration (Maybe [ProductInformation]) Source #
New product information.
updateLicenseConfiguration_licenseConfigurationArn :: Lens' UpdateLicenseConfiguration Text Source #
Amazon Resource Name (ARN) of the license configuration.
Destructuring the Response
data UpdateLicenseConfigurationResponse Source #
See: newUpdateLicenseConfigurationResponse smart constructor.
Constructors
| UpdateLicenseConfigurationResponse' | |
Fields
| |
Instances
newUpdateLicenseConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateLicenseConfigurationResponse |
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.