Module Smaws_Client_LicenseManager.CreateLicenseConfiguration

Creates a license configuration.

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AuthorizationException of Types.authorization_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `RateLimitExceededException of Types.rate_limit_exceeded_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ServerInternalException of Types.server_internal_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_license_configuration_request -> (Types.create_license_configuration_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AuthorizationException of Types.authorization_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `RateLimitExceededException of Types.rate_limit_exceeded_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ServerInternalException of Types.server_internal_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_license_configuration_request -> (Types.create_license_configuration_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AuthorizationException of Types.authorization_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `RateLimitExceededException of Types.rate_limit_exceeded_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ServerInternalException of Types.server_internal_exception ] * Smaws_Lib.Response.metadata) Stdlib.result