Module Smaws_Client_LicenseManager.Types

type nonrec message = string
type nonrec validation_exception = {
  1. message : message option;
}

The provided input is not valid. Try your request again.

type nonrec usage_operation = string
type nonrec update_service_settings_response = unit
type nonrec string_ = string
type nonrec boolean_ = bool
type nonrec organization_configuration = {
  1. enable_integration : boolean_;
    (*

    Enables Organizations integration.

    *)
}

Configuration information for Organizations.

type nonrec box_boolean = bool
type nonrec string_list = string_ list
type nonrec update_service_settings_request = {
  1. enabled_discovery_source_regions : string_list option;
    (*

    Cross region discovery enabled source regions.

    *)
  2. enable_cross_accounts_discovery : box_boolean option;
    (*

    Activates cross-account discovery.

    *)
  3. organization_configuration : organization_configuration option;
    (*

    Enables integration with Organizations for cross-account discovery.

    *)
  4. sns_topic_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the Amazon SNS topic used for License Manager alerts.

    *)
  5. s3_bucket_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the Amazon S3 bucket where the License Manager information is stored.

    *)
}
type nonrec server_internal_exception = {
  1. message : message option;
}

The server experienced an internal error. Try again.

type nonrec rate_limit_exceeded_exception = {
  1. message : message option;
}

Too many requests have been submitted. Try again after a brief wait.

type nonrec invalid_parameter_value_exception = {
  1. message : message option;
}

One or more parameter values are not valid.

type nonrec conflict_exception = {
  1. message : message option;
}

There was a conflict processing the request. Try your request again.

type nonrec authorization_exception = {
  1. message : message option;
}

The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.

type nonrec access_denied_exception = {
  1. message : message option;
}

Access to resource denied.

type nonrec update_license_specifications_for_resource_response = unit
type nonrec license_specification = {
  1. ami_association_scope : string_ option;
    (*

    Scope of AMI associations. The possible value is cross-account.

    *)
  2. license_configuration_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
}

Details for associating a license configuration with a resource.

type nonrec license_specifications = license_specification list
type nonrec update_license_specifications_for_resource_request = {
  1. remove_license_specifications : license_specifications option;
    (*

    ARNs of the license configurations to remove.

    *)
  2. add_license_specifications : license_specifications option;
    (*

    ARNs of the license configurations to add.

    *)
  3. resource_arn : string_;
    (*

    Amazon Resource Name (ARN) of the Amazon Web Services resource.

    *)
}
type nonrec license_usage_exception = {
  1. message : message option;
}

You do not have enough licenses available to support a new resource launch.

type nonrec invalid_resource_state_exception = {
  1. message : message option;
}

License Manager cannot allocate a license to a resource because of its state.

For example, you cannot allocate a license to an instance in the process of shutting down.

type nonrec update_license_manager_report_generator_response = unit
type nonrec report_generator_name = string
type nonrec report_type =
  1. | LICENSE_ASSET_GROUP_USAGE_REPORT
  2. | LICENSE_CONFIGURATION_USAGE_REPORT
  3. | LICENSE_CONFIGURATION_SUMMARY_REPORT
type nonrec report_type_list = report_type list
type nonrec arn = string
type nonrec arn_list = arn list
type nonrec date_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec report_context = {
  1. report_end_date : date_time option;
    (*

    End date for the report data collection period.

    *)
  2. report_start_date : date_time option;
    (*

    Start date for the report data collection period.

    *)
  3. license_asset_group_arns : arn_list option;
    (*

    Amazon Resource Names (ARNs) of the license asset groups to include in the report.

    *)
  4. license_configuration_arns : arn_list option;
    (*

    Amazon Resource Name (ARN) of the license configuration that this generator reports on.

    *)
}

Details of the license configuration that this generator reports on.

type nonrec integer = int
type nonrec report_frequency_type =
  1. | ONE_TIME
  2. | MONTH
  3. | WEEK
  4. | DAY
type nonrec report_frequency = {
  1. period : report_frequency_type option;
    (*

    Time period between each report. The period can be daily, weekly, or monthly.

    *)
  2. value : integer option;
    (*

    Number of times within the frequency period that a report is generated. The only supported value is 1.

    *)
}

Details about how frequently reports are generated.

type nonrec client_request_token = string
type nonrec update_license_manager_report_generator_request = {
  1. description : string_ option;
    (*

    Description of the report generator.

    *)
  2. client_token : client_request_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  3. report_frequency : report_frequency;
    (*

    Frequency by which reports are generated.

    *)
  4. report_context : report_context;
    (*

    The report context.

    *)
  5. type_ : report_type_list;
    (*

    Type of reports to generate. The following report types are supported:

    • License configuration report - Reports the number and details of consumed licenses for a license configuration.
    • Resource report - Reports the tracked licenses and resource consumption for a license configuration.
    *)
  6. report_generator_name : report_generator_name;
    (*

    Name of the report generator.

    *)
  7. license_manager_report_generator_arn : string_;
    (*

    Amazon Resource Name (ARN) of the report generator to update.

    *)
}
type nonrec resource_not_found_exception = {
  1. message : message option;
}

The resource cannot be found.

type nonrec resource_limit_exceeded_exception = {
  1. message : message option;
}

Your resource limits have been exceeded.

type nonrec update_license_configuration_response = unit
type nonrec license_configuration_status =
  1. | DISABLED
  2. | AVAILABLE
type nonrec box_long = Smaws_Lib.CoreTypes.Int64.t
type nonrec product_information_filter = {
  1. product_information_filter_comparator : string_;
    (*

    Logical operator.

    *)
  2. product_information_filter_value : string_list option;
    (*

    Filter value.

    *)
  3. product_information_filter_name : string_;
    (*

    Filter name.

    *)
}

Describes product information filters.

type nonrec product_information_filter_list = product_information_filter list
type nonrec product_information = {
  1. product_information_filter_list : product_information_filter_list;
    (*

    A Product information filter consists of a ProductInformationFilterComparator which is a logical operator, a ProductInformationFilterName which specifies the type of filter being declared, and a ProductInformationFilterValue that specifies the value to filter on.

    Accepted values for ProductInformationFilterName are listed here along with descriptions and valid options for ProductInformationFilterComparator.

    The following filters and are supported when the resource type is SSM_MANAGED:

    • Application Name - The name of the application. Logical operator is EQUALS.
    • Application Publisher - The publisher of the application. Logical operator is EQUALS.
    • Application Version - The version of the application. Logical operator is EQUALS.
    • Platform Name - The name of the platform. Logical operator is EQUALS.
    • Platform Type - The platform type. Logical operator is EQUALS.
    • Tag:key - The key of a tag attached to an Amazon Web Services resource you wish to exclude from automated discovery. Logical operator is NOT_EQUALS. The key for your tag must be appended to Tag: following the example: Tag:name-of-your-key. ProductInformationFilterValue is optional if you are not using values for the key.
    • AccountId - The 12-digit ID of an Amazon Web Services account you wish to exclude from automated discovery. Logical operator is NOT_EQUALS.
    • License Included - The type of license included. Logical operators are EQUALS and NOT_EQUALS. Possible values are: sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

    The following filters and logical operators are supported when the resource type is RDS:

    • Engine Edition - The edition of the database engine. Logical operator is EQUALS. Possible values are: oracle-ee | oracle-se | oracle-se1 | oracle-se2 | db2-se | db2-ae.
    • License Pack - The license pack. Logical operator is EQUALS. Possible values are: data guard | diagnostic pack sqlt | tuning pack sqlt | ols | olap.
    *)
  2. resource_type : string_;
    (*

    Resource type. The possible values are SSM_MANAGED | RDS.

    *)
}

Describes product information for a license configuration.

type nonrec product_information_list = product_information list
type nonrec update_license_configuration_request = {
  1. license_expiry : box_long option;
    (*

    License configuration expiry time.

    *)
  2. disassociate_when_not_found : box_boolean option;
    (*

    When true, disassociates a resource when software is uninstalled.

    *)
  3. product_information_list : product_information_list option;
    (*

    New product information.

    *)
  4. description : string_ option;
    (*

    New description of the license configuration.

    *)
  5. name : string_ option;
    (*

    New name of the license configuration.

    *)
  6. license_count_hard_limit : box_boolean option;
    (*

    New hard limit of the number of available licenses.

    *)
  7. license_count : box_long option;
    (*

    New number of licenses managed by the license configuration.

    *)
  8. license_rules : string_list option;
    (*

    New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.

    *)
  9. license_configuration_status : license_configuration_status option;
    (*

    New status of the license configuration.

    *)
  10. license_configuration_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
}
type nonrec update_license_asset_ruleset_response = {
  1. license_asset_ruleset_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license asset ruleset.

    *)
}
type nonrec license_asset_resource_name = string
type nonrec license_asset_resource_description = string
type nonrec matching_rule_statement = {
  1. value_to_match : string_list;
    (*

    Value to match.

    *)
  2. constraint_ : string_;
    (*

    Constraint.

    *)
  3. key_to_match : string_;
    (*

    Key to match.

    The following keys and are supported when the RuleStatement type is Instance:

    • Platform - The name of the platform. Logical operators are EQUALS and NOT_EQUALS.
    • EC2BillingProduct - The billing product code. Logical operators are EQUALS and NOT_EQUALS. Possible values are: windows-server-enterprise | windows-byol | rhel | rhel-byol | rhel-high-availability | ubuntu-pro | suse-linux | sql-server-standard | sql-server-enterprise.
    • MarketPlaceProductCode - The Marketplace product code. Logical operators are EQUALS and NOT_EQUALS.
    • AMIId - The ID of the AMI. Logical operators are EQUALS and NOT_EQUALS.
    • InstanceType - The instance type. Logical operators are EQUALS and NOT_EQUALS.
    • InstanceId - The ID of the instance. Logical operators are EQUALS and NOT_EQUALS.
    • HostId - The ID of the host. Logical operators are EQUALS and NOT_EQUALS.
    • AccountId - The ID of the account. Logical operators are EQUALS and NOT_EQUALS.

    The following keys and are supported when the RuleStatement type is License:

    • LicenseArn - The ARN of a Managed Entitlement License. Logical operators are EQUALS and NOT_EQUALS.
    • ProductSKU - The productSKU of the license. Logical operators are EQUALS and NOT_EQUALS.
    • Issuer - The issuer of the license. Logical operators are EQUALS and NOT_EQUALS.
    • Beneficiary - The beneficiary of the license. Logical operators are EQUALS and NOT_EQUALS.
    • LicenseStatus - The status of the license. Logical operators are EQUALS and NOT_EQUALS.
    • HomeRegion - The home region of the license. Logical operators are EQUALS and NOT_EQUALS.

    The following keys and are supported when the RuleStatement type is License Configuration:

    • LicenseConfigurationArn - The ARN of a self-managed license configuration. Logical operators are EQUALS and NOT_EQUALS.
    • AccountId - The account of the license configuration. Logical operators are EQUALS and NOT_EQUALS.
    *)
}

Matching rule statement.

type nonrec matching_rule_statement_list = matching_rule_statement list
type nonrec script_rule_statement = {
  1. script : string_;
    (*

    Script code used to evaluate the rule condition.

    *)
  2. key_to_match : string_;
    (*

    Key name to match against in the script rule evaluation.

    *)
}

Rule statement that uses a script to evaluate license asset conditions.

type nonrec script_rule_statement_list = script_rule_statement list
type nonrec and_rule_statement = {
  1. script_rule_statements : script_rule_statement_list option;
    (*

    Script rule statements.

    *)
  2. matching_rule_statements : matching_rule_statement_list option;
    (*

    Matching rule statements.

    *)
}

AND rule statement.

type nonrec or_rule_statement = {
  1. script_rule_statements : script_rule_statement_list option;
    (*

    Script rule statements.

    *)
  2. matching_rule_statements : matching_rule_statement_list option;
    (*

    Matching rule statements.

    *)
}

OR rule statement.

type nonrec license_configuration_rule_statement = {
  1. matching_rule_statement : matching_rule_statement option;
    (*

    Matching rule statement.

    *)
  2. or_rule_statement : or_rule_statement option;
    (*

    OR rule statement.

    *)
  3. and_rule_statement : and_rule_statement option;
    (*

    AND rule statement.

    *)
}

License configuration rule statement.

type nonrec license_rule_statement = {
  1. matching_rule_statement : matching_rule_statement option;
    (*

    Matching rule statement.

    *)
  2. or_rule_statement : or_rule_statement option;
    (*

    OR rule statement.

    *)
  3. and_rule_statement : and_rule_statement option;
    (*

    AND rule statement.

    *)
}

License rule statement.

type nonrec instance_rule_statement = {
  1. script_rule_statement : script_rule_statement option;
    (*

    Script rule statement.

    *)
  2. matching_rule_statement : matching_rule_statement option;
    (*

    Matching rule statement.

    *)
  3. or_rule_statement : or_rule_statement option;
    (*

    OR rule statement.

    *)
  4. and_rule_statement : and_rule_statement option;
    (*

    AND rule statement.

    *)
}

Instance rule statement.

type nonrec rule_statement = {
  1. instance_rule_statement : instance_rule_statement option;
    (*

    Instance rule statement.

    *)
  2. license_rule_statement : license_rule_statement option;
    (*

    License rule statement.

    *)
  3. license_configuration_rule_statement : license_configuration_rule_statement option;
    (*

    License configuration rule statement.

    *)
}

Rule statement.

type nonrec license_asset_rule = {
  1. rule_statement : rule_statement;
    (*

    Rule statement.

    *)
}

License asset rule.

type nonrec license_asset_rule_list = license_asset_rule list
type nonrec update_license_asset_ruleset_request = {
  1. client_token : string_;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  2. license_asset_ruleset_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset ruleset.

    *)
  3. rules : license_asset_rule_list;
    (*

    License asset rules.

    *)
  4. description : license_asset_resource_description option;
    (*

    License asset ruleset description.

    *)
  5. name : license_asset_resource_name option;
    (*

    License asset ruleset name.

    *)
}
type nonrec update_license_asset_group_response = {
  1. status : string_;
    (*

    License asset group status.

    *)
  2. license_asset_group_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
}
type nonrec license_asset_group_configuration = {
  1. usage_dimension : string_ option;
    (*

    License Asset Group Configuration Usage dimension.

    *)
}

License asset group configuration.

type nonrec license_asset_group_configuration_list = license_asset_group_configuration list
type nonrec license_asset_ruleset_arn_list = arn list
type nonrec license_asset_group_property = {
  1. value : string_;
    (*

    Property value.

    *)
  2. key : string_;
    (*

    Property key.

    *)
}

License asset group property.

type nonrec license_asset_group_property_list = license_asset_group_property list
type nonrec license_asset_group_status =
  1. | DELETED
  2. | DISABLED
  3. | ACTIVE

License asset group status. Allowed values are

  • ACTIVE
  • DISABLED
  • DELETED
type nonrec update_license_asset_group_request = {
  1. client_token : string_;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  2. status : license_asset_group_status option;
    (*

    License asset group status. The possible values are ACTIVE | DISABLED.

    *)
  3. license_asset_group_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
  4. properties : license_asset_group_property_list option;
    (*

    License asset group properties.

    *)
  5. associated_license_asset_ruleset_ar_ns : license_asset_ruleset_arn_list;
    (*

    ARNs of associated license asset rulesets.

    *)
  6. license_asset_group_configurations : license_asset_group_configuration_list option;
    (*

    License asset group configurations.

    *)
  7. description : license_asset_resource_description option;
    (*

    License asset group description.

    *)
  8. name : license_asset_resource_name option;
    (*

    License asset group name.

    *)
}
type nonrec untag_resource_response = unit
type nonrec tag_key_list = string_ list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
    (*

    Keys identifying the tags to remove.

    *)
  2. resource_arn : string_;
    (*

    Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec unsupported_digital_signature_method_exception = {
  1. message : message option;
}

The digital signature method is unsupported. Try your request again.

type nonrec token_type =
  1. | REFRESH_TOKEN
type nonrec token_string = string
type nonrec iso8601_date_time = string
type nonrec max_size3_string_list = string_ list
type nonrec token_data = {
  1. status : string_ option;
    (*

    Token status. The possible values are AVAILABLE and DELETED.

    *)
  2. role_arns : arn_list option;
    (*

    Amazon Resource Names (ARN) of the roles included in the token.

    *)
  3. token_properties : max_size3_string_list option;
    (*

    Data specified by the caller.

    *)
  4. expiration_time : iso8601_date_time option;
    (*

    Token expiration time, in ISO8601-UTC format.

    *)
  5. license_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
  6. token_type : string_ option;
    (*

    Type of token generated. The supported value is REFRESH_TOKEN.

    *)
  7. token_id : string_ option;
    (*

    Token ID.

    *)
}

Describes a token.

type nonrec token_list = token_data list
type nonrec tag_resource_response = unit
type nonrec tag = {
  1. value : string_ option;
    (*

    The tag value.

    *)
  2. key : string_ option;
    (*

    The tag key.

    *)
}

Details about the tags for a resource. For more information about tagging support in License Manager, see the TagResource operation.

type nonrec tag_list = tag list
type nonrec tag_resource_request = {
  1. tags : tag_list;
    (*

    One or more tags.

    *)
  2. resource_arn : string_;
    (*

    Amazon Resource Name (ARN) of the resource. The following examples provide an example ARN for each supported resource in License Manager:

    • Licenses - arn:aws:license-manager::111122223333:license:l-EXAMPLE2da7646d6861033667f20e895
    • Grants - arn:aws:license-manager::111122223333:grant:g-EXAMPLE7b19f4a0ab73679b0beb52707
    • License configurations - arn:aws:license-manager:us-east-1:111122223333:license-configuration:lic-EXAMPLE6a788d4c8acd4264ff0ecf2ed2d
    • Report generators - arn:aws:license-manager:us-east-1:111122223333:report-generator:r-EXAMPLE825b4a4f8fe5a3e0c88824e5fc6
    *)
}
type nonrec status_reason_message = string
type nonrec signed_token = string
type nonrec cross_account_discovery_service_status = {
  1. message : string_ option;
    (*

    Status message for cross-account discovery service.

    *)
}

Status information for cross-account discovery service.

type nonrec region_status = {
  1. status : string_ option;
    (*

    Status value for the region.

    *)
}

Status information for a specific region.

type nonrec region_status_map = (string_ * region_status) list
type nonrec cross_region_discovery_status = {
  1. message : region_status_map option;
    (*

    Map of region status messages for cross-region discovery.

    *)
}

Status information for cross-region discovery.

type nonrec service_status = {
  1. cross_region_discovery : cross_region_discovery_status option;
    (*

    Status of cross-region discovery service.

    *)
  2. cross_account_discovery : cross_account_discovery_service_status option;
    (*

    Status of cross-account discovery service.

    *)
}

Overall service status information for License Manager.

type nonrec s3_location = {
  1. key_prefix : string_ option;
    (*

    Prefix of the S3 bucket reports are published to.

    *)
  2. bucket : string_ option;
    (*

    Name of the S3 bucket reports are published to.

    *)
}

Details of the S3 bucket that report generator reports are published to.

type nonrec resource_type =
  1. | SYSTEMS_MANAGER_MANAGED_INSTANCE
  2. | RDS
  3. | EC2_AMI
  4. | EC2_HOST
  5. | EC2_INSTANCE
type nonrec resource_inventory = {
  1. instance_type : string_ option;
    (*

    EC2 instance type of the resource.

    *)
  2. region : string_ option;
    (*

    Region where the resource is located.

    *)
  3. host_id : string_ option;
    (*

    Dedicated Host ID where the resource is running.

    *)
  4. ami_id : string_ option;
    (*

    Amazon Machine Image (AMI) ID associated with the resource.

    *)
  5. usage_operation : string_ option;
    (*

    Usage operation value that corresponds to the license type for billing purposes.

    *)
  6. marketplace_product_codes : string_list option;
    (*

    List of Marketplace product codes associated with the resource.

    *)
  7. resource_owning_account_id : string_ option;
    (*

    ID of the account that owns the resource.

    *)
  8. platform_version : string_ option;
    (*

    Platform version of the resource in the inventory.

    *)
  9. platform : string_ option;
    (*

    Platform of the resource.

    *)
  10. resource_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the resource.

    *)
  11. resource_type : resource_type option;
    (*

    Type of resource.

    *)
  12. resource_id : string_ option;
    (*

    ID of the resource.

    *)
}

Details about a resource.

type nonrec resource_inventory_list = resource_inventory list
type nonrec report_generator = {
  1. tags : tag_list option;
    (*

    Tags associated with the report generator.

    *)
  2. create_time : string_ option;
    (*

    Time the report was created.

    *)
  3. s3_location : s3_location option;
    (*

    Details of the S3 bucket that report generator reports are published to.

    *)
  4. description : string_ option;
    (*

    Description of the report generator.

    *)
  5. report_creator_account : string_ option;
    (*

    The Amazon Web Services account ID used to create the report generator.

    *)
  6. last_report_generation_time : string_ option;
    (*

    Time the last report was generated at.

    *)
  7. last_run_failure_reason : string_ option;
    (*

    Failure message for the last report generation attempt.

    *)
  8. last_run_status : string_ option;
    (*

    Status of the last report generation attempt.

    *)
  9. license_manager_report_generator_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the report generator.

    *)
  10. report_frequency : report_frequency option;
    (*

    Details about how frequently reports are generated.

    *)
  11. report_context : report_context option;
    (*

    License configuration type for this generator.

    *)
  12. report_type : report_type_list option;
    (*

    Type of reports that are generated.

    *)
  13. report_generator_name : string_ option;
    (*

    Name of the report generator.

    *)
}

Describe the details of a report generator.

type nonrec report_generator_list = report_generator list
type nonrec renew_type =
  1. | MONTHLY
  2. | WEEKLY
  3. | NONE
type nonrec grant_status =
  1. | WORKFLOW_COMPLETED
  2. | DISABLED
  3. | PENDING_DELETE
  4. | DELETED
  5. | FAILED_WORKFLOW
  6. | ACTIVE
  7. | REJECTED
  8. | PENDING_ACCEPT
  9. | PENDING_WORKFLOW
type nonrec reject_grant_response = {
  1. version : string_ option;
    (*

    Grant version.

    *)
  2. status : grant_status option;
    (*

    Grant status.

    *)
  3. grant_arn : arn option;
    (*

    Grant ARN.

    *)
}
type nonrec reject_grant_request = {
  1. grant_arn : arn;
    (*

    Amazon Resource Name (ARN) of the grant.

    *)
}
type nonrec location = string
type nonrec redirect_exception = {
  1. message : message option;
  2. location : location option;
}

This is not the correct Region for the resource. Try again.

type nonrec received_status =
  1. | WORKFLOW_COMPLETED
  2. | DISABLED
  3. | DELETED
  4. | FAILED_WORKFLOW
  5. | ACTIVE
  6. | REJECTED
  7. | PENDING_ACCEPT
  8. | PENDING_WORKFLOW
type nonrec allowed_operation =
  1. | CREATE_TOKEN
  2. | LIST_PURCHASED_LICENSES
  3. | EXTEND_CONSUMPTION_LICENSE
  4. | CHECK_IN_LICENSE
  5. | CHECKOUT_BORROW_LICENSE
  6. | CHECKOUT_LICENSE
  7. | CREATE_GRANT
type nonrec allowed_operation_list = allowed_operation list
type nonrec received_metadata = {
  1. allowed_operations : allowed_operation_list option;
    (*

    Allowed operations.

    *)
  2. received_status_reason : status_reason_message option;
    (*

    Received status reason.

    *)
  3. received_status : received_status option;
    (*

    Received status.

    *)
}

Metadata associated with received licenses and grants.

type nonrec box_integer = int
type nonrec provisional_configuration = {
  1. max_time_to_live_in_minutes : box_integer;
    (*

    Maximum time for the provisional configuration, in minutes.

    *)
}

Details about a provisional configuration.

type nonrec product_code_type =
  1. | MARKETPLACE
type nonrec product_code_id = string
type nonrec product_code_list_item = {
  1. product_code_type : product_code_type;
    (*

    The product code type

    *)
  2. product_code_id : product_code_id;
    (*

    The product code ID

    *)
}

A list item that contains a product code.

type nonrec product_code_list = product_code_list_item list
type nonrec principal_arn_list = arn list
type nonrec activation_override_behavior =
  1. | ALL_GRANTS_PERMITTED_BY_ISSUER
  2. | DISTRIBUTED_GRANTS_ONLY
type nonrec options = {
  1. activation_override_behavior : activation_override_behavior option;
    (*

    An activation option for your grant that determines the behavior of activating a grant. Activation options can only be used with granted licenses sourced from the Amazon Web Services Marketplace. Additionally, the operation must specify the value of ACTIVE for the Status parameter.

    • As a license administrator, you can optionally specify an ActivationOverrideBehavior when activating a grant.
    • As a grantor, you can optionally specify an ActivationOverrideBehavior when you activate a grant for a grantee account in your organization.
    • As a grantee, if the grantor creating the distributed grant doesn’t specify an ActivationOverrideBehavior, you can optionally specify one when you are activating the grant.

    DISTRIBUTED_GRANTS_ONLY Use this value to activate a grant without replacing any member account’s active grants for the same product.

    ALL_GRANTS_PERMITTED_BY_ISSUER Use this value to activate a grant and disable other active grants in any member accounts for the same product. This action will also replace their previously activated grants with this activated grant.

    *)
}

The options you can specify when you create a new version of a grant, such as activation override behavior. For more information, see Granted licenses in License Manager in the License Manager User Guide.

type nonrec no_entitlements_allowed_exception = {
  1. message : message option;
}

There are no entitlements found for this license, or the entitlement maximum count is reached.

type nonrec metadata = {
  1. value : string_ option;
    (*

    The value.

    *)
  2. name : string_ option;
    (*

    The key name.

    *)
}

Describes key/value pairs.

type nonrec metadata_list = metadata list
type nonrec max_size100 = int
type nonrec managed_resource_summary = {
  1. association_count : box_long option;
    (*

    Number of resources associated with licenses.

    *)
  2. resource_type : resource_type option;
    (*

    Type of resource associated with a license.

    *)
}

Summary information about a managed resource.

type nonrec managed_resource_summary_list = managed_resource_summary list
type nonrec long = Smaws_Lib.CoreTypes.Int64.t
type nonrec license_configuration_usage = {
  1. consumed_licenses : box_long option;
    (*

    Number of licenses consumed by the resource.

    *)
  2. association_time : date_time option;
    (*

    Time when the license configuration was initially associated with the resource.

    *)
  3. resource_owner_id : string_ option;
    (*

    ID of the account that owns the resource.

    *)
  4. resource_status : string_ option;
    (*

    Status of the resource.

    *)
  5. resource_type : resource_type option;
    (*

    Type of resource.

    *)
  6. resource_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the resource.

    *)
}

Details about the usage of a resource associated with a license configuration.

type nonrec license_configuration_usage_list = license_configuration_usage list
type nonrec list_usage_for_license_configuration_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_configuration_usage_list : license_configuration_usage_list option;
    (*

    Information about the license configurations.

    *)
}
type nonrec filter_name = string
type nonrec filter_value = string
type nonrec filter_values = filter_value list
type nonrec filter = {
  1. values : filter_values option;
    (*

    The value of the filter, which is case-sensitive. You can only specify one value for the filter.

    *)
  2. name : filter_name option;
    (*

    Name of the filter. Filter names are case-sensitive.

    *)
}

A filter name and value pair that is used to return more specific results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

type nonrec filters = filter list
type nonrec list_usage_for_license_configuration_request = {
  1. filters : filters option;
    (*

    Filters to scope the results. The following filters and logical operators are supported:

    • resourceArn - The ARN of the license configuration resource.
    • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE).
    • resourceAccount - The ID of the account that owns the resource.
    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  4. license_configuration_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
}
type nonrec filter_limit_exceeded_exception = {
  1. message : message option;
}

The request uses too many filters or too many filter values.

type nonrec list_tokens_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. tokens : token_list option;
    (*

    Received token details.

    *)
}
type nonrec filter_list = filter list
type nonrec list_tokens_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filter is supported:

    • LicenseArns
    *)
  4. token_ids : string_list option;
    (*

    Token IDs.

    *)
}
type nonrec list_tags_for_resource_response = {
  1. tags : tag_list option;
    (*

    Information about the tags.

    *)
}
type nonrec list_tags_for_resource_request = {
  1. resource_arn : string_;
    (*

    Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec list_resource_inventory_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. resource_inventory_list : resource_inventory_list option;
    (*

    Information about the resources.

    *)
}
type nonrec inventory_filter_condition =
  1. | CONTAINS
  2. | BEGINS_WITH
  3. | NOT_EQUALS
  4. | EQUALS
type nonrec inventory_filter = {
  1. value : string_ option;
    (*

    Value of the filter.

    *)
  2. condition : inventory_filter_condition;
    (*

    Condition of the filter.

    *)
  3. name : string_;
    (*

    Name of the filter.

    *)
}

An inventory filter.

type nonrec inventory_filter_list = inventory_filter list
type nonrec list_resource_inventory_request = {
  1. filters : inventory_filter_list option;
    (*

    Filters to scope the results. The following filters and logical operators are supported:

    • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.
    • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.
    • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.
    • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.
    • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.
    • tag:
      • The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).
    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
}
type nonrec failed_dependency_exception = {
  1. error_code : string_ option;
  2. message : message option;
}

A dependency required to run the API is missing.

type nonrec issuer_details = {
  1. key_fingerprint : string_ option;
    (*

    Issuer key fingerprint.

    *)
  2. sign_key : string_ option;
    (*

    Asymmetric KMS key from Key Management Service. The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.

    *)
  3. name : string_ option;
    (*

    Issuer name.

    *)
}

Details associated with the issuer of a license.

type nonrec license_status =
  1. | DELETED
  2. | PENDING_DELETE
  3. | EXPIRED
  4. | SUSPENDED
  5. | DEACTIVATED
  6. | PENDING_AVAILABLE
  7. | AVAILABLE
type nonrec datetime_range = {
  1. end_ : iso8601_date_time option;
    (*

    End of the time range.

    *)
  2. begin : iso8601_date_time;
    (*

    Start of the time range.

    *)
}

Describes a time range, in ISO8601-UTC format.

type nonrec entitlement_unit =
  1. | COUNT_PER_SECOND
  2. | TERABITS_PER_SECOND
  3. | GIGABITS_PER_SECOND
  4. | MEGABITS_PER_SECOND
  5. | KILOBITS_PER_SECOND
  6. | BITS_PER_SECOND
  7. | TERABYTES_PER_SECOND
  8. | GIGABYTES_PER_SECOND
  9. | MEGABYTES_PER_SECOND
  10. | KILOBYTES_PER_SECOND
  11. | BYTES_PER_SECOND
  12. | PERCENT
  13. | TERABITS
  14. | GIGABITS
  15. | MEGABITS
  16. | KILOBITS
  17. | BITS
  18. | TERABYTES
  19. | GIGABYTES
  20. | MEGABYTES
  21. | KILOBYTES
  22. | BYTES
  23. | MILLISECONDS
  24. | MICROSECONDS
  25. | SECONDS
  26. | NONE
  27. | COUNT
type nonrec entitlement = {
  1. allow_check_in : box_boolean option;
    (*

    Indicates whether check-ins are allowed.

    *)
  2. unit_ : entitlement_unit;
    (*

    Entitlement unit.

    *)
  3. overage : box_boolean option;
    (*

    Indicates whether overages are allowed.

    *)
  4. max_count : long option;
    (*

    Maximum entitlement count. Use if the unit is not None.

    *)
  5. value : string_ option;
    (*

    Entitlement resource. Use only if the unit is None.

    *)
  6. name : string_;
    (*

    Entitlement name.

    *)
}

Describes a resource entitled for use with a license.

type nonrec entitlement_list = entitlement list
type nonrec borrow_configuration = {
  1. max_time_to_live_in_minutes : box_integer;
    (*

    Maximum time for the borrow configuration, in minutes.

    *)
  2. allow_early_check_in : box_boolean;
    (*

    Indicates whether early check-ins are allowed.

    *)
}

Details about a borrow configuration.

type nonrec consumption_configuration = {
  1. borrow_configuration : borrow_configuration option;
    (*

    Details about a borrow configuration.

    *)
  2. provisional_configuration : provisional_configuration option;
    (*

    Details about a provisional configuration.

    *)
  3. renew_type : renew_type option;
    (*

    Renewal frequency.

    *)
}

Details about a consumption configuration.

type nonrec granted_license = {
  1. received_metadata : received_metadata option;
    (*

    Granted license received metadata.

    *)
  2. version : string_ option;
    (*

    Version of the granted license.

    *)
  3. create_time : iso8601_date_time option;
    (*

    Creation time of the granted license.

    *)
  4. license_metadata : metadata_list option;
    (*

    Granted license metadata.

    *)
  5. consumption_configuration : consumption_configuration option;
    (*

    Configuration for consumption of the license.

    *)
  6. entitlements : entitlement_list option;
    (*

    License entitlements.

    *)
  7. beneficiary : string_ option;
    (*

    Granted license beneficiary.

    *)
  8. validity : datetime_range option;
    (*

    Date and time range during which the granted license is valid, in ISO8601-UTC format.

    *)
  9. status : license_status option;
    (*

    Granted license status.

    *)
  10. home_region : string_ option;
    (*

    Home Region of the granted license.

    *)
  11. issuer : issuer_details option;
    (*

    Granted license issuer.

    *)
  12. product_sk_u : string_ option;
    (*

    Product SKU.

    *)
  13. product_name : string_ option;
    (*

    Product name.

    *)
  14. license_name : string_ option;
    (*

    License name.

    *)
  15. license_arn : arn option;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}

Describes a license that is granted to a grantee.

type nonrec granted_license_list = granted_license list
type nonrec list_received_licenses_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. licenses : granted_license_list option;
    (*

    Received license details.

    *)
}
type nonrec list_received_licenses_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • ProductSKU
    • Status
    • Fingerprint
    • IssuerName
    • Beneficiary
    *)
  4. license_arns : arn_list option;
    (*

    Amazon Resource Names (ARNs) of the licenses.

    *)
}
type nonrec list_received_licenses_for_organization_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. licenses : granted_license_list option;
    (*

    Lists the licenses the organization has received.

    *)
}
type nonrec list_received_licenses_for_organization_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • Beneficiary
    • ProductSKU
    *)
}
type nonrec grant = {
  1. options : options option;
    (*

    The options specified for the grant.

    *)
  2. granted_operations : allowed_operation_list;
    (*

    Granted operations.

    *)
  3. version : string_;
    (*

    Grant version.

    *)
  4. status_reason : status_reason_message option;
    (*

    Grant status reason.

    *)
  5. grant_status : grant_status;
    (*

    Grant status.

    *)
  6. home_region : string_;
    (*

    Home Region of the grant.

    *)
  7. grantee_principal_arn : arn;
    (*

    The grantee principal ARN.

    *)
  8. license_arn : arn;
    (*

    License ARN.

    *)
  9. parent_arn : arn;
    (*

    Parent ARN.

    *)
  10. grant_name : string_;
    (*

    Grant name.

    *)
  11. grant_arn : arn;
    (*

    Amazon Resource Name (ARN) of the grant.

    *)
}

Describes a grant.

type nonrec grant_list = grant list
type nonrec list_received_grants_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. grants : grant_list option;
    (*

    Received grant details.

    *)
}
type nonrec list_received_grants_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • ProductSKU
    • LicenseIssuerName
    • LicenseArn
    • GrantStatus
    • GranterAccountId
    *)
  4. grant_arns : arn_list option;
    (*

    Amazon Resource Names (ARNs) of the grants.

    *)
}
type nonrec list_received_grants_for_organization_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. grants : grant_list option;
    (*

    Lists the grants the organization has received.

    *)
}
type nonrec list_received_grants_for_organization_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • ParentArn
    • GranteePrincipalArn
    *)
  4. license_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the received license.

    *)
}
type nonrec license = {
  1. version : string_ option;
    (*

    License version.

    *)
  2. create_time : iso8601_date_time option;
    (*

    License creation time.

    *)
  3. license_metadata : metadata_list option;
    (*

    License metadata.

    *)
  4. consumption_configuration : consumption_configuration option;
    (*

    Configuration for consumption of the license.

    *)
  5. entitlements : entitlement_list option;
    (*

    License entitlements.

    *)
  6. beneficiary : string_ option;
    (*

    License beneficiary.

    *)
  7. validity : datetime_range option;
    (*

    Date and time range during which the license is valid, in ISO8601-UTC format.

    *)
  8. status : license_status option;
    (*

    License status.

    *)
  9. home_region : string_ option;
    (*

    Home Region of the license.

    *)
  10. issuer : issuer_details option;
    (*

    License issuer.

    *)
  11. product_sk_u : string_ option;
    (*

    Product SKU.

    *)
  12. product_name : string_ option;
    (*

    Product name.

    *)
  13. license_name : string_ option;
    (*

    License name.

    *)
  14. license_arn : arn option;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}

Software license that is managed in License Manager.

type nonrec license_list = license list
type nonrec list_licenses_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. licenses : license_list option;
    (*

    License details.

    *)
}
type nonrec list_licenses_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • Beneficiary
    • ProductSKU
    • Fingerprint
    • Status
    *)
  4. license_arns : arn_list option;
    (*

    Amazon Resource Names (ARNs) of the licenses.

    *)
}
type nonrec list_license_versions_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. licenses : license_list option;
    (*

    License details.

    *)
}
type nonrec list_license_versions_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec list_license_specifications_for_resource_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_specifications : license_specifications option;
    (*

    License configurations associated with a resource.

    *)
}
type nonrec list_license_specifications_for_resource_request = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. resource_arn : string_;
    (*

    Amazon Resource Name (ARN) of a resource that has an associated license configuration.

    *)
}
type nonrec list_license_manager_report_generators_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. report_generators : report_generator_list option;
    (*

    A report generator that creates periodic reports about your license configurations.

    *)
}
type nonrec list_license_manager_report_generators_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • LicenseConfigurationArn
    *)
}
type nonrec license_conversion_task_id = string
type nonrec license_conversion_context = {
  1. product_codes : product_code_list option;
    (*

    Product codes referred to in the license conversion process.

    *)
  2. usage_operation : usage_operation option;
    (*

    The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see Sample data: usage operation by platform

    *)
}

Information about a license type conversion task.

type nonrec license_conversion_task_status =
  1. | FAILED
  2. | SUCCEEDED
  3. | IN_PROGRESS
type nonrec license_conversion_task = {
  1. end_time : date_time option;
    (*

    The time the conversion task was completed.

    *)
  2. license_conversion_time : date_time option;
    (*

    The time the usage operation value of the resource was changed.

    *)
  3. start_time : date_time option;
    (*

    The time the conversion task was started at.

    *)
  4. status_message : string_ option;
    (*

    The status message for the conversion task.

    *)
  5. status : license_conversion_task_status option;
    (*

    The status of the conversion task.

    *)
  6. destination_license_context : license_conversion_context option;
    (*

    Information about the license type this conversion task converted to.

    *)
  7. source_license_context : license_conversion_context option;
    (*

    Information about the license type this conversion task converted from.

    *)
  8. resource_arn : string_ option;
    (*

    The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.

    *)
  9. license_conversion_task_id : license_conversion_task_id option;
    (*

    The ID of the license type conversion task.

    *)
}

Information about a license type conversion task.

type nonrec license_conversion_tasks = license_conversion_task list
type nonrec list_license_conversion_tasks_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_conversion_tasks : license_conversion_tasks option;
    (*

    Information about the license configuration tasks for your account.

    *)
}
type nonrec list_license_conversion_tasks_request = {
  1. filters : filters option;
    (*

    Filters to scope the results. Valid filters are ResourceArns and Status.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
}
type nonrec license_counting_type =
  1. | SOCKET
  2. | CORE
  3. | INSTANCE
  4. | VCPU
type nonrec consumed_license_summary = {
  1. consumed_licenses : box_long option;
    (*

    Number of licenses consumed by the resource.

    *)
  2. resource_type : resource_type option;
    (*

    Resource type of the resource consuming a license.

    *)
}

Details about license consumption.

type nonrec consumed_license_summary_list = consumed_license_summary list
type nonrec automated_discovery_information = {
  1. last_run_time : date_time option;
    (*

    Time that automated discovery last ran.

    *)
}

Describes automated discovery.

type nonrec license_configuration = {
  1. license_expiry : box_long option;
    (*

    License configuration expiry time in Unix timestamp format.

    *)
  2. automated_discovery_information : automated_discovery_information option;
    (*

    Automated discovery information.

    *)
  3. product_information_list : product_information_list option;
    (*

    Product information.

    *)
  4. managed_resource_summary_list : managed_resource_summary_list option;
    (*

    Summaries for managed resources.

    *)
  5. consumed_license_summary_list : consumed_license_summary_list option;
    (*

    Summaries for licenses consumed by various resources.

    *)
  6. owner_account_id : string_ option;
    (*

    Account ID of the license configuration's owner.

    *)
  7. status : string_ option;
    (*

    Status of the license configuration.

    *)
  8. consumed_licenses : box_long option;
    (*

    Number of licenses consumed.

    *)
  9. disassociate_when_not_found : box_boolean option;
    (*

    When true, disassociates a resource when software is uninstalled.

    *)
  10. license_count_hard_limit : box_boolean option;
    (*

    Number of available licenses as a hard limit.

    *)
  11. license_count : box_long option;
    (*

    Number of licenses managed by the license configuration.

    *)
  12. license_rules : string_list option;
    (*

    License rules.

    *)
  13. license_counting_type : license_counting_type option;
    (*

    Dimension to use to track the license inventory.

    *)
  14. description : string_ option;
    (*

    Description of the license configuration.

    *)
  15. name : string_ option;
    (*

    Name of the license configuration.

    *)
  16. license_configuration_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
  17. license_configuration_id : string_ option;
    (*

    Unique ID of the 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), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

type nonrec license_configurations = license_configuration list
type nonrec list_license_configurations_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_configurations : license_configurations option;
    (*

    Information about the license configurations.

    *)
}
type nonrec list_license_configurations_request = {
  1. filters : filters option;
    (*

    Filters to scope the results. The following filters and logical operators are supported:

    • licenseCountingType - The dimension for which licenses are counted. Possible values are vCPU | Instance | Core | Socket.
    • enforceLicenseCount - A Boolean value that indicates whether hard license enforcement is used.
    • usagelimitExceeded - A Boolean value that indicates whether the available licenses have been exceeded.
    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  4. license_configuration_arns : string_list option;
    (*

    Amazon Resource Names (ARN) of the license configurations.

    *)
}
type nonrec list_license_configurations_for_organization_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_configurations : license_configurations option;
    (*

    License configurations.

    *)
}
type nonrec list_license_configurations_for_organization_request = {
  1. filters : filters option;
    (*

    Filters to scope the results.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  4. license_configuration_arns : string_list option;
    (*

    License configuration ARNs.

    *)
}
type nonrec license_asset_ruleset = {
  1. license_asset_ruleset_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset ruleset.

    *)
  2. rules : license_asset_rule_list;
    (*

    License asset rules.

    *)
  3. description : string_ option;
    (*

    License asset ruleset description.

    *)
  4. name : string_;
    (*

    License asset ruleset name.

    *)
}

License asset ruleset.

type nonrec license_asset_ruleset_list = license_asset_ruleset list
type nonrec list_license_asset_rulesets_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_asset_rulesets : license_asset_ruleset_list option;
    (*

    License asset rulesets.

    *)
}
type nonrec list_license_asset_rulesets_request = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. show_aws_managed_license_asset_rulesets : boolean_ option;
    (*

    Specifies whether to show License Manager managed license asset rulesets.

    *)
  4. filters : filters option;
    (*

    Filters to scope the results. Following filters are supported

    • Name
    *)
}
type nonrec license_asset_group = {
  1. latest_resource_discovery_time : date_time option;
    (*

    Latest resource discovery time.

    *)
  2. latest_usage_analysis_time : date_time option;
    (*

    Latest usage analysis time.

    *)
  3. status_message : string_ option;
    (*

    License asset group status message.

    *)
  4. status : license_asset_group_status;
    (*

    License asset group status.

    *)
  5. license_asset_group_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
  6. properties : license_asset_group_property_list option;
    (*

    License asset group properties.

    *)
  7. associated_license_asset_ruleset_ar_ns : license_asset_ruleset_arn_list;
    (*

    ARNs of associated license asset rulesets.

    *)
  8. license_asset_group_configurations : license_asset_group_configuration_list option;
    (*

    License asset group configurations.

    *)
  9. description : string_ option;
    (*

    License asset group description.

    *)
  10. name : string_;
    (*

    License asset group name.

    *)
}

License asset group.

type nonrec license_asset_group_list = license_asset_group list
type nonrec list_license_asset_groups_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_asset_groups : license_asset_group_list option;
    (*

    License asset groups.

    *)
}
type nonrec list_license_asset_groups_request = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. filters : filters option;
    (*

    Filters to scope the results. Following filters are supported

    • LicenseAssetRulesetArn
    *)
}
type nonrec license_operation_failure = {
  1. metadata_list : metadata_list option;
    (*

    Reserved.

    *)
  2. operation_requested_by : string_ option;
    (*

    The requester is "License Manager Automated Discovery".

    *)
  3. resource_owner_id : string_ option;
    (*

    ID of the Amazon Web Services account that owns the resource.

    *)
  4. operation_name : string_ option;
    (*

    Name of the operation.

    *)
  5. failure_time : date_time option;
    (*

    Failure time.

    *)
  6. error_message : string_ option;
    (*

    Error message.

    *)
  7. resource_type : resource_type option;
    (*

    Resource type.

    *)
  8. resource_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the resource.

    *)
}

Describes the failure of a license operation.

type nonrec license_operation_failure_list = license_operation_failure list
type nonrec list_failures_for_license_configuration_operations_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_operation_failure_list : license_operation_failure_list option;
    (*

    License configuration operations that failed.

    *)
}
type nonrec list_failures_for_license_configuration_operations_request = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. license_configuration_arn : string_;
    (*

    Amazon Resource Name of the license configuration.

    *)
}
type nonrec list_distributed_grants_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. grants : grant_list option;
    (*

    Distributed grant details.

    *)
}
type nonrec list_distributed_grants_request = {
  1. max_results : max_size100 option;
    (*

    Maximum number of results to return in a single call.

    *)
  2. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  3. filters : filter_list option;
    (*

    Filters to scope the results. The following filters are supported:

    • LicenseArn
    • GrantStatus
    • GranteePrincipalARN
    • ProductSKU
    • LicenseIssuerName
    *)
  4. grant_arns : arn_list option;
    (*

    Amazon Resource Names (ARNs) of the grants.

    *)
}
type nonrec license_configuration_association = {
  1. ami_association_scope : string_ option;
    (*

    Scope of AMI associations. The possible value is cross-account.

    *)
  2. association_time : date_time option;
    (*

    Time when the license configuration was associated with the resource.

    *)
  3. resource_owner_id : string_ option;
    (*

    ID of the Amazon Web Services account that owns the resource consuming licenses.

    *)
  4. resource_type : resource_type option;
    (*

    Type of server resource.

    *)
  5. resource_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the resource.

    *)
}

Describes an association with a license configuration.

type nonrec license_configuration_associations = license_configuration_association list
type nonrec list_associations_for_license_configuration_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. license_configuration_associations : license_configuration_associations option;
    (*

    Information about the associations for the license configuration.

    *)
}
type nonrec list_associations_for_license_configuration_request = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. license_configuration_arn : string_;
    (*

    Amazon Resource Name (ARN) of a license configuration.

    *)
}
type nonrec asset = {
  1. latest_asset_discovery_time : date_time option;
    (*

    Latest asset discovery time.

    *)
  2. asset_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the asset.

    *)
}

Asset.

type nonrec asset_list = asset list
type nonrec list_assets_for_license_asset_group_response = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. assets : asset_list option;
    (*

    Assets.

    *)
}
type nonrec list_assets_for_license_asset_group_request = {
  1. next_token : string_ option;
    (*

    Token for the next set of results.

    *)
  2. max_results : box_integer option;
    (*

    Maximum number of results to return in a single call.

    *)
  3. asset_type : string_;
    (*

    Asset type. The possible values are Instance | License | LicenseConfiguration.

    *)
  4. license_asset_group_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
}
type nonrec entitlement_data_unit =
  1. | COUNT_PER_SECOND
  2. | TERABITS_PER_SECOND
  3. | GIGABITS_PER_SECOND
  4. | MEGABITS_PER_SECOND
  5. | KILOBITS_PER_SECOND
  6. | BITS_PER_SECOND
  7. | TERABYTES_PER_SECOND
  8. | GIGABYTES_PER_SECOND
  9. | MEGABYTES_PER_SECOND
  10. | KILOBYTES_PER_SECOND
  11. | BYTES_PER_SECOND
  12. | PERCENT
  13. | TERABITS
  14. | GIGABITS
  15. | MEGABITS
  16. | KILOBITS
  17. | BITS
  18. | TERABYTES
  19. | GIGABYTES
  20. | MEGABYTES
  21. | KILOBYTES
  22. | BYTES
  23. | MILLISECONDS
  24. | MICROSECONDS
  25. | SECONDS
  26. | NONE
  27. | COUNT
type nonrec entitlement_usage = {
  1. unit_ : entitlement_data_unit;
    (*

    Entitlement usage unit.

    *)
  2. max_count : string_ option;
    (*

    Maximum entitlement usage count.

    *)
  3. consumed_value : string_;
    (*

    Resource usage consumed.

    *)
  4. name : string_;
    (*

    Entitlement usage name.

    *)
}

Usage associated with an entitlement resource.

type nonrec entitlement_usage_list = entitlement_usage list
type nonrec license_usage = {
  1. entitlement_usages : entitlement_usage_list option;
    (*

    License entitlement usages.

    *)
}

Describes the entitlement usage associated with a license.

type nonrec license_deletion_status =
  1. | DELETED
  2. | PENDING_DELETE
type nonrec issuer = {
  1. sign_key : string_ option;
    (*

    Asymmetric KMS key from Key Management Service. The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.

    *)
  2. name : string_;
    (*

    Issuer name.

    *)
}

Details about the issuer of a license.

type nonrec get_service_settings_response = {
  1. service_status : service_status option;
    (*

    Service status.

    *)
  2. cross_region_discovery_source_regions : string_list option;
    (*

    Cross region discovery source regions.

    *)
  3. cross_region_discovery_home_region : string_ option;
    (*

    Cross region discovery home region.

    *)
  4. license_manager_resource_share_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the resource share. The License Manager management account provides member accounts with access to this share.

    *)
  5. enable_cross_accounts_discovery : box_boolean option;
    (*

    Indicates whether cross-account discovery is enabled.

    *)
  6. organization_configuration : organization_configuration option;
    (*

    Indicates whether Organizations is integrated with License Manager for cross-account discovery.

    *)
  7. sns_topic_arn : string_ option;
    (*

    SNS topic configured to receive notifications from License Manager.

    *)
  8. s3_bucket_arn : string_ option;
    (*

    Regional S3 bucket path for storing reports, license trail event data, discovery data, and so on.

    *)
}
type nonrec get_service_settings_request = unit
type nonrec get_license_usage_response = {
  1. license_usage : license_usage option;
    (*

    License usage details.

    *)
}
type nonrec get_license_usage_request = {
  1. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec get_license_response = {
  1. license : license option;
    (*

    License details.

    *)
}
type nonrec get_license_request = {
  1. version : string_ option;
    (*

    License version.

    *)
  2. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec get_license_manager_report_generator_response = {
  1. report_generator : report_generator option;
    (*

    A report generator that creates periodic reports about your license configurations.

    *)
}
type nonrec get_license_manager_report_generator_request = {
  1. license_manager_report_generator_arn : string_;
    (*

    Amazon Resource Name (ARN) of the report generator.

    *)
}
type nonrec get_license_conversion_task_response = {
  1. end_time : date_time option;
    (*

    Time at which the license type conversion task was completed.

    *)
  2. license_conversion_time : date_time option;
    (*

    Amount of time to complete the license type conversion.

    *)
  3. start_time : date_time option;
    (*

    Time at which the license type conversion task was started .

    *)
  4. status : license_conversion_task_status option;
    (*

    Status of the license type conversion task.

    *)
  5. status_message : string_ option;
    (*

    The status message for the conversion task.

    *)
  6. destination_license_context : license_conversion_context option;
    (*

    Information about the license type converted to.

    *)
  7. source_license_context : license_conversion_context option;
    (*

    Information about the license type converted from.

    *)
  8. resource_arn : string_ option;
    (*

    Amazon Resource Names (ARN) of the resources the license conversion task is associated with.

    *)
  9. license_conversion_task_id : license_conversion_task_id option;
    (*

    ID of the license type conversion task.

    *)
}
type nonrec get_license_conversion_task_request = {
  1. license_conversion_task_id : license_conversion_task_id;
    (*

    ID of the license type conversion task to retrieve information on.

    *)
}
type nonrec get_license_configuration_response = {
  1. license_expiry : box_long option;
    (*

    License Expiry.

    *)
  2. disassociate_when_not_found : box_boolean option;
    (*

    When true, disassociates a resource when software is uninstalled.

    *)
  3. automated_discovery_information : automated_discovery_information option;
    (*

    Automated discovery information.

    *)
  4. product_information_list : product_information_list option;
    (*

    Product information.

    *)
  5. tags : tag_list option;
    (*

    Tags for the license configuration.

    *)
  6. managed_resource_summary_list : managed_resource_summary_list option;
    (*

    Summaries of the managed resources.

    *)
  7. consumed_license_summary_list : consumed_license_summary_list option;
    (*

    Summaries of the licenses consumed by resources.

    *)
  8. owner_account_id : string_ option;
    (*

    Account ID of the owner of the license configuration.

    *)
  9. status : string_ option;
    (*

    License configuration status.

    *)
  10. consumed_licenses : box_long option;
    (*

    Number of licenses assigned to resources.

    *)
  11. license_count_hard_limit : box_boolean option;
    (*

    Sets the number of available licenses as a hard limit.

    *)
  12. license_count : box_long option;
    (*

    Number of available licenses.

    *)
  13. license_rules : string_list option;
    (*

    License rules.

    *)
  14. license_counting_type : license_counting_type option;
    (*

    Dimension for which the licenses are counted.

    *)
  15. description : string_ option;
    (*

    Description of the license configuration.

    *)
  16. name : string_ option;
    (*

    Name of the license configuration.

    *)
  17. license_configuration_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
  18. license_configuration_id : string_ option;
    (*

    Unique ID for the license configuration.

    *)
}
type nonrec get_license_configuration_request = {
  1. license_configuration_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
}
type nonrec get_license_asset_ruleset_response = {
  1. license_asset_ruleset : license_asset_ruleset;
    (*

    License asset ruleset.

    *)
}
type nonrec get_license_asset_ruleset_request = {
  1. license_asset_ruleset_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset ruleset.

    *)
}
type nonrec get_license_asset_group_response = {
  1. license_asset_group : license_asset_group;
    (*

    License asset group.

    *)
}
type nonrec get_license_asset_group_request = {
  1. license_asset_group_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
}
type nonrec get_grant_response = {
  1. grant : grant option;
    (*

    Grant details.

    *)
}
type nonrec get_grant_request = {
  1. version : string_ option;
    (*

    Grant version.

    *)
  2. grant_arn : arn;
    (*

    Amazon Resource Name (ARN) of the grant.

    *)
}
type nonrec get_access_token_response = {
  1. access_token : token_string option;
    (*

    Temporary access token.

    *)
}
type nonrec get_access_token_request = {
  1. token_properties : max_size3_string_list option;
    (*

    Token properties to validate against those present in the JWT token.

    *)
  2. token : token_string;
    (*

    Refresh token, encoded as a JWT token.

    *)
}
type nonrec extend_license_consumption_response = {
  1. expiration : iso8601_date_time option;
    (*

    Date and time at which the license consumption expires.

    *)
  2. license_consumption_token : string_ option;
    (*

    License consumption token.

    *)
}
type nonrec extend_license_consumption_request = {
  1. dry_run : boolean_ option;
    (*

    Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.

    *)
  2. license_consumption_token : string_;
    (*

    License consumption token.

    *)
}
type nonrec entitlement_not_allowed_exception = {
  1. message : message option;
}

The entitlement is not allowed.

type nonrec entitlement_data = {
  1. unit_ : entitlement_data_unit;
    (*

    Entitlement data unit.

    *)
  2. value : string_ option;
    (*

    Entitlement data value.

    *)
  3. name : string_;
    (*

    Entitlement data name.

    *)
}

Data associated with an entitlement resource.

type nonrec entitlement_data_list = entitlement_data list
type nonrec digital_signature_method =
  1. | JWT_PS384
type nonrec delete_token_response = unit
type nonrec delete_token_request = {
  1. token_id : string_;
    (*

    Token ID.

    *)
}
type nonrec delete_license_response = {
  1. deletion_date : iso8601_date_time option;
    (*

    Date when the license is deleted.

    *)
  2. status : license_deletion_status option;
    (*

    License status.

    *)
}
type nonrec delete_license_request = {
  1. source_version : string_;
    (*

    Current version of the license.

    *)
  2. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec delete_license_manager_report_generator_response = unit
type nonrec delete_license_manager_report_generator_request = {
  1. license_manager_report_generator_arn : string_;
    (*

    Amazon Resource Name (ARN) of the report generator to be deleted.

    *)
}
type nonrec delete_license_configuration_response = unit
type nonrec delete_license_configuration_request = {
  1. license_configuration_arn : string_;
    (*

    ID of the license configuration.

    *)
}
type nonrec delete_license_asset_ruleset_response = unit
type nonrec delete_license_asset_ruleset_request = {
  1. license_asset_ruleset_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset ruleset.

    *)
}
type nonrec delete_license_asset_group_response = {
  1. status : license_asset_group_status;
    (*

    License asset group status.

    *)
}
type nonrec delete_license_asset_group_request = {
  1. license_asset_group_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
}
type nonrec delete_grant_response = {
  1. version : string_ option;
    (*

    Grant version.

    *)
  2. status : grant_status option;
    (*

    Grant status.

    *)
  3. grant_arn : arn option;
    (*

    Grant ARN.

    *)
}
type nonrec delete_grant_request = {
  1. version : string_;
    (*

    Current version of the grant.

    *)
  2. status_reason : status_reason_message option;
    (*

    The Status reason for the delete request.

    *)
  3. grant_arn : arn;
    (*

    Amazon Resource Name (ARN) of the grant.

    *)
}
type nonrec create_token_response = {
  1. token : token_string option;
    (*

    Refresh token, encoded as a JWT token.

    *)
  2. token_type : token_type option;
    (*

    Token type.

    *)
  3. token_id : string_ option;
    (*

    Token ID.

    *)
}
type nonrec client_token = string
type nonrec create_token_request = {
  1. client_token : client_token;
    (*

    Idempotency token, valid for 10 minutes.

    *)
  2. token_properties : max_size3_string_list option;
    (*

    Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.

    *)
  3. expiration_in_days : integer option;
    (*

    Token expiration, in days, counted from token creation. The default is 365 days.

    *)
  4. role_arns : arn_list option;
    (*

    Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.

    *)
  5. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.

    *)
}
type nonrec create_license_version_response = {
  1. status : license_status option;
    (*

    License status.

    *)
  2. version : string_ option;
    (*

    New version of the license.

    *)
  3. license_arn : arn option;
    (*

    License ARN.

    *)
}
type nonrec create_license_version_request = {
  1. source_version : string_ option;
    (*

    Current version of the license.

    *)
  2. client_token : client_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  3. status : license_status;
    (*

    License status.

    *)
  4. consumption_configuration : consumption_configuration;
    (*

    Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

    *)
  5. entitlements : entitlement_list;
    (*

    License entitlements.

    *)
  6. license_metadata : metadata_list option;
    (*

    Information about the license.

    *)
  7. validity : datetime_range;
    (*

    Date and time range during which the license is valid, in ISO8601-UTC format.

    *)
  8. home_region : string_;
    (*

    Home Region of the license.

    *)
  9. issuer : issuer;
    (*

    License issuer.

    *)
  10. product_name : string_;
    (*

    Product name.

    *)
  11. license_name : string_;
    (*

    License name.

    *)
  12. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec create_license_response = {
  1. version : string_ option;
    (*

    License version.

    *)
  2. status : license_status option;
    (*

    License status.

    *)
  3. license_arn : arn option;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec create_license_request = {
  1. tags : tag_list option;
    (*

    Tags to add to the license. For more information about tagging support in License Manager, see the TagResource operation.

    *)
  2. client_token : client_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  3. license_metadata : metadata_list option;
    (*

    Information about the license.

    *)
  4. consumption_configuration : consumption_configuration;
    (*

    Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

    *)
  5. beneficiary : string_;
    (*

    License beneficiary.

    *)
  6. entitlements : entitlement_list;
    (*

    License entitlements.

    *)
  7. validity : datetime_range;
    (*

    Date and time range during which the license is valid, in ISO8601-UTC format.

    *)
  8. home_region : string_;
    (*

    Home Region for the license.

    *)
  9. issuer : issuer;
    (*

    License issuer.

    *)
  10. product_sk_u : string_;
    (*

    Product SKU.

    *)
  11. product_name : string_;
    (*

    Product name.

    *)
  12. license_name : string_;
    (*

    License name.

    *)
}
type nonrec create_license_manager_report_generator_response = {
  1. license_manager_report_generator_arn : string_ option;
    (*

    The Amazon Resource Name (ARN) of the new report generator.

    *)
}
type nonrec create_license_manager_report_generator_request = {
  1. tags : tag_list option;
    (*

    Tags to add to the report generator.

    *)
  2. description : string_ option;
    (*

    Description of the report generator.

    *)
  3. client_token : client_request_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  4. report_frequency : report_frequency;
    (*

    Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.

    *)
  5. report_context : report_context;
    (*

    Defines the type of license configuration the report generator tracks.

    *)
  6. type_ : report_type_list;
    (*

    Type of reports to generate. The following report types an be generated:

    • License configuration report - Reports the number and details of consumed licenses for a license configuration.
    • Resource report - Reports the tracked licenses and resource consumption for a license configuration.
    *)
  7. report_generator_name : report_generator_name;
    (*

    Name of the report generator.

    *)
}
type nonrec create_license_conversion_task_for_resource_response = {
  1. license_conversion_task_id : license_conversion_task_id option;
    (*

    The ID of the created license type conversion task.

    *)
}
type nonrec create_license_conversion_task_for_resource_request = {
  1. destination_license_context : license_conversion_context;
    (*

    Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the CLI in the License Manager User Guide.

    *)
  2. source_license_context : license_conversion_context;
    (*

    Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the CLI in the License Manager User Guide.

    *)
  3. resource_arn : arn;
    (*

    Amazon Resource Name (ARN) of the resource you are converting the license type for.

    *)
}
type nonrec create_license_configuration_response = {
  1. license_configuration_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the license configuration.

    *)
}
type nonrec create_license_configuration_request = {
  1. license_expiry : box_long option;
    (*

    License configuration expiry.

    *)
  2. product_information_list : product_information_list option;
    (*

    Product information.

    *)
  3. disassociate_when_not_found : box_boolean option;
    (*

    When true, disassociates a resource when software is uninstalled.

    *)
  4. tags : tag_list option;
    (*

    Tags to add to the license configuration.

    *)
  5. license_rules : string_list option;
    (*

    License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.

    • Cores dimension: allowedTenancy | licenseAffinityToHost | maximumCores | minimumCores
    • Instances dimension: allowedTenancy | maximumVcpus | minimumVcpus
    • Sockets dimension: allowedTenancy | licenseAffinityToHost | maximumSockets | minimumSockets
    • vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus | minimumVcpus

    The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and EC2-DedicatedInstance. The possible values for honorVcpuOptimization are True and False.

    *)
  6. license_count_hard_limit : box_boolean option;
    (*

    Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.

    *)
  7. license_count : box_long option;
    (*

    Number of licenses managed by the license configuration.

    *)
  8. license_counting_type : license_counting_type;
    (*

    Dimension used to track the license inventory.

    *)
  9. description : string_ option;
    (*

    Description of the license configuration.

    *)
  10. name : string_;
    (*

    Name of the license configuration.

    *)
}
type nonrec create_license_asset_ruleset_response = {
  1. license_asset_ruleset_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license asset ruleset.

    *)
}
type nonrec create_license_asset_ruleset_request = {
  1. client_token : string_;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  2. tags : tag_list option;
    (*

    Tags to add to the license asset ruleset.

    *)
  3. rules : license_asset_rule_list;
    (*

    License asset rules.

    *)
  4. description : license_asset_resource_description option;
    (*

    License asset ruleset description.

    *)
  5. name : license_asset_resource_name;
    (*

    License asset ruleset name.

    *)
}
type nonrec create_license_asset_group_response = {
  1. status : string_;
    (*

    License asset group status.

    *)
  2. license_asset_group_arn : string_;
    (*

    Amazon Resource Name (ARN) of the license asset group.

    *)
}
type nonrec create_license_asset_group_request = {
  1. client_token : string_;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  2. tags : tag_list option;
    (*

    Tags to add to the license asset group.

    *)
  3. properties : license_asset_group_property_list option;
    (*

    License asset group properties.

    *)
  4. associated_license_asset_ruleset_ar_ns : license_asset_ruleset_arn_list;
    (*

    ARNs of associated license asset rulesets.

    *)
  5. license_asset_group_configurations : license_asset_group_configuration_list;
    (*

    License asset group configurations.

    *)
  6. description : license_asset_resource_description option;
    (*

    License asset group description.

    *)
  7. name : license_asset_resource_name;
    (*

    License asset group name.

    *)
}
type nonrec create_grant_version_response = {
  1. version : string_ option;
    (*

    New version of the grant.

    *)
  2. status : grant_status option;
    (*

    Grant status.

    *)
  3. grant_arn : arn option;
    (*

    Grant ARN.

    *)
}
type nonrec create_grant_version_request = {
  1. options : options option;
    (*

    The options specified for the grant.

    *)
  2. source_version : string_ option;
    (*

    Current version of the grant.

    *)
  3. status_reason : status_reason_message option;
    (*

    Grant status reason.

    *)
  4. status : grant_status option;
    (*

    Grant status.

    *)
  5. allowed_operations : allowed_operation_list option;
    (*

    Allowed operations for the grant.

    *)
  6. grant_name : string_ option;
    (*

    Grant name.

    *)
  7. grant_arn : arn;
    (*

    Amazon Resource Name (ARN) of the grant.

    *)
  8. client_token : client_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
}
type nonrec create_grant_response = {
  1. version : string_ option;
    (*

    Grant version.

    *)
  2. status : grant_status option;
    (*

    Grant status.

    *)
  3. grant_arn : arn option;
    (*

    Grant ARN.

    *)
}
type nonrec create_grant_request = {
  1. tags : tag_list option;
    (*

    Tags to add to the grant. For more information about tagging support in License Manager, see the TagResource operation.

    *)
  2. allowed_operations : allowed_operation_list;
    (*

    Allowed operations for the grant.

    *)
  3. home_region : string_;
    (*

    Home Region of the grant.

    *)
  4. principals : principal_arn_list;
    (*

    The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):

    • An Amazon Web Services account, which includes only the account specified.
    • An organizational unit (OU), which includes all accounts in the OU.
    • An organization, which will include all accounts across your organization.
    *)
  5. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
  6. grant_name : string_;
    (*

    Grant name.

    *)
  7. client_token : client_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
}
type nonrec checkout_type =
  1. | PERPETUAL
  2. | PROVISIONAL
type nonrec checkout_license_response = {
  1. license_arn : string_ option;
    (*

    Amazon Resource Name (ARN) of the checkout license.

    *)
  2. expiration : iso8601_date_time option;
    (*

    Date and time at which the license checkout expires.

    *)
  3. issued_at : iso8601_date_time option;
    (*

    Date and time at which the license checkout is issued.

    *)
  4. node_id : string_ option;
    (*

    Node ID.

    *)
  5. signed_token : signed_token option;
    (*

    Signed token.

    *)
  6. entitlements_allowed : entitlement_data_list option;
    (*

    Allowed license entitlements.

    *)
  7. license_consumption_token : string_ option;
    (*

    License consumption token.

    *)
  8. checkout_type : checkout_type option;
    (*

    Checkout type.

    *)
}
type nonrec checkout_license_request = {
  1. node_id : string_ option;
    (*

    Node ID.

    *)
  2. beneficiary : string_ option;
    (*

    License beneficiary.

    *)
  3. client_token : client_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  4. entitlements : entitlement_data_list;
    (*

    License entitlements.

    *)
  5. key_fingerprint : string_;
    (*

    Key fingerprint identifying the license.

    *)
  6. checkout_type : checkout_type;
    (*

    Checkout type.

    *)
  7. product_sk_u : string_;
    (*

    Product SKU.

    *)
}
type nonrec checkout_borrow_license_response = {
  1. checkout_metadata : metadata_list option;
    (*

    Information about constraints.

    *)
  2. expiration : iso8601_date_time option;
    (*

    Date and time at which the license checkout expires.

    *)
  3. issued_at : iso8601_date_time option;
    (*

    Date and time at which the license checkout is issued.

    *)
  4. signed_token : signed_token option;
    (*

    Signed token.

    *)
  5. node_id : string_ option;
    (*

    Node ID.

    *)
  6. entitlements_allowed : entitlement_data_list option;
    (*

    Allowed license entitlements.

    *)
  7. license_consumption_token : string_ option;
    (*

    License consumption token.

    *)
  8. license_arn : arn option;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
}
type nonrec checkout_borrow_license_request = {
  1. client_token : client_token;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  2. checkout_metadata : metadata_list option;
    (*

    Information about constraints.

    *)
  3. node_id : string_ option;
    (*

    Node ID.

    *)
  4. digital_signature_method : digital_signature_method;
    (*

    Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.

    *)
  5. entitlements : entitlement_data_list;
    (*

    License entitlements. Partial checkouts are not supported.

    *)
  6. license_arn : arn;
    (*

    Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.

    *)
}
type nonrec check_in_license_response = unit
type nonrec check_in_license_request = {
  1. beneficiary : string_ option;
    (*

    License beneficiary.

    *)
  2. license_consumption_token : string_;
    (*

    License consumption token.

    *)
}
type nonrec accept_grant_response = {
  1. version : string_ option;
    (*

    Grant version.

    *)
  2. status : grant_status option;
    (*

    Grant status.

    *)
  3. grant_arn : arn option;
    (*

    Grant ARN.

    *)
}
type nonrec accept_grant_request = {
  1. grant_arn : arn;
    (*

    Amazon Resource Name (ARN) of the grant.

    *)
}