update_license_configuration
¶
update_license_configuration(
license_configuration_arn: String,
*,
config_overrides: Optional[LicenseManagerClientConfig] = 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/license_manager.py
3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 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 | |