update_license_configuration
async
¶
update_license_configuration(
license_configuration_arn: String,
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
license_configuration_status: Optional[LicenseConfigurationStatus] = None,
license_rules: Optional[StringList] = None,
license_count: Optional[BoxLong] = None,
license_count_hard_limit: Optional[BoxBoolean] = None,
name: Optional[String] = None,
description: Optional[String] = None,
product_information_list: Optional[ProductInformationList] = None,
disassociate_when_not_found: Optional[BoxBoolean] = None,
license_expiry: Optional[BoxLong] = None,
) -> UpdateLicenseConfigurationResponse
Modifies the attributes of an existing license configuration.
Parameters:
-
license_configuration_arn(String) –Amazon Resource Name (ARN) of the license configuration.
-
license_configuration_status(Optional[LicenseConfigurationStatus], default:None) –New status of the license configuration.
-
license_rules(Optional[StringList], default:None) –New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
-
license_count(Optional[BoxLong], default:None) –New number of licenses managed by the license configuration.
-
license_count_hard_limit(Optional[BoxBoolean], default:None) –New hard limit of the number of available licenses.
-
name(Optional[String], default:None) –New name of the license configuration.
-
description(Optional[String], default:None) –New description of the license configuration.
-
product_information_list(Optional[ProductInformationList], default:None) –New product information.
-
disassociate_when_not_found(Optional[BoxBoolean], default:None) –When true, disassociates a resource when software is uninstalled.
-
license_expiry(Optional[BoxLong], default:None) –License configuration expiry time.
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
ConflictException–There was a conflict processing the request. Try your request again.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ServerInternalException–The server experienced an internal error. Try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/async_license_manager.py
3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 | |