Smaws_Client_LicenseManager.UpdateLicenseSpecificationsForResourceAdds 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AuthorizationException of Types.authorization_exception
| `ConflictException of Types.conflict_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `InvalidResourceStateException of Types.invalid_resource_state_exception
| `LicenseUsageException of Types.license_usage_exception
| `RateLimitExceededException of Types.rate_limit_exceeded_exception
| `ServerInternalException of Types.server_internal_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_license_specifications_for_resource_request ->
(Types.update_license_specifications_for_resource_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AuthorizationException of Types.authorization_exception
| `ConflictException of Types.conflict_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidResourceStateException of Types.invalid_resource_state_exception
| `LicenseUsageException of Types.license_usage_exception
| `RateLimitExceededException of Types.rate_limit_exceeded_exception
| `ServerInternalException of Types.server_internal_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_license_specifications_for_resource_request ->
(Types.update_license_specifications_for_resource_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AuthorizationException of Types.authorization_exception
| `ConflictException of Types.conflict_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidResourceStateException of Types.invalid_resource_state_exception
| `LicenseUsageException of Types.license_usage_exception
| `RateLimitExceededException of Types.rate_limit_exceeded_exception
| `ServerInternalException of Types.server_internal_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result