LicenseManager / Client / list_license_asset_rulesets

list_license_asset_rulesets

LicenseManager.Client.list_license_asset_rulesets(**kwargs)

Lists license asset rulesets.

See also: AWS API Documentation

Request Syntax

response = client.list_license_asset_rulesets(
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    ShowAWSManagedLicenseAssetRulesets=True|False,
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • Filters (list) –

    Filters to scope the results. Following filters are supported

    • Name

    • (dict) –

      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.

      • Name (string) –

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

      • Values (list) –

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

        • (string) –

  • ShowAWSManagedLicenseAssetRulesets (boolean) – Specifies whether to show License Manager managed license asset rulesets.

  • MaxResults (integer) – Maximum number of results to return in a single call.

  • NextToken (string) – Token for the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'LicenseAssetRulesets': [
        {
            'Name': 'string',
            'Description': 'string',
            'Rules': [
                {
                    'RuleStatement': {
                        'LicenseConfigurationRuleStatement': {
                            'AndRuleStatement': {
                                'MatchingRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Constraint': 'string',
                                        'ValueToMatch': [
                                            'string',
                                        ]
                                    },
                                ],
                                'ScriptRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Script': 'string'
                                    },
                                ]
                            },
                            'OrRuleStatement': {
                                'MatchingRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Constraint': 'string',
                                        'ValueToMatch': [
                                            'string',
                                        ]
                                    },
                                ],
                                'ScriptRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Script': 'string'
                                    },
                                ]
                            },
                            'MatchingRuleStatement': {
                                'KeyToMatch': 'string',
                                'Constraint': 'string',
                                'ValueToMatch': [
                                    'string',
                                ]
                            }
                        },
                        'LicenseRuleStatement': {
                            'AndRuleStatement': {
                                'MatchingRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Constraint': 'string',
                                        'ValueToMatch': [
                                            'string',
                                        ]
                                    },
                                ],
                                'ScriptRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Script': 'string'
                                    },
                                ]
                            },
                            'OrRuleStatement': {
                                'MatchingRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Constraint': 'string',
                                        'ValueToMatch': [
                                            'string',
                                        ]
                                    },
                                ],
                                'ScriptRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Script': 'string'
                                    },
                                ]
                            },
                            'MatchingRuleStatement': {
                                'KeyToMatch': 'string',
                                'Constraint': 'string',
                                'ValueToMatch': [
                                    'string',
                                ]
                            }
                        },
                        'InstanceRuleStatement': {
                            'AndRuleStatement': {
                                'MatchingRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Constraint': 'string',
                                        'ValueToMatch': [
                                            'string',
                                        ]
                                    },
                                ],
                                'ScriptRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Script': 'string'
                                    },
                                ]
                            },
                            'OrRuleStatement': {
                                'MatchingRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Constraint': 'string',
                                        'ValueToMatch': [
                                            'string',
                                        ]
                                    },
                                ],
                                'ScriptRuleStatements': [
                                    {
                                        'KeyToMatch': 'string',
                                        'Script': 'string'
                                    },
                                ]
                            },
                            'MatchingRuleStatement': {
                                'KeyToMatch': 'string',
                                'Constraint': 'string',
                                'ValueToMatch': [
                                    'string',
                                ]
                            },
                            'ScriptRuleStatement': {
                                'KeyToMatch': 'string',
                                'Script': 'string'
                            }
                        }
                    }
                },
            ],
            'LicenseAssetRulesetArn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • LicenseAssetRulesets (list) –

      License asset rulesets.

      • (dict) –

        License asset ruleset.

        • Name (string) –

          License asset ruleset name.

        • Description (string) –

          License asset ruleset description.

        • Rules (list) –

          License asset rules.

          • (dict) –

            License asset rule.

            • RuleStatement (dict) –

              Rule statement.

              • LicenseConfigurationRuleStatement (dict) –

                License configuration rule statement.

                • AndRuleStatement (dict) –

                  AND rule statement.

                  • MatchingRuleStatements (list) –

                    Matching rule statements.

                    • (dict) –

                      Matching rule statement.

                      • KeyToMatch (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.

                      • Constraint (string) –

                        Constraint.

                      • ValueToMatch (list) –

                        Value to match.

                        • (string) –

                  • ScriptRuleStatements (list) –

                    Script rule statements.

                    • (dict) –

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

                      • KeyToMatch (string) –

                        Key name to match against in the script rule evaluation.

                      • Script (string) –

                        Script code used to evaluate the rule condition.

                • OrRuleStatement (dict) –

                  OR rule statement.

                  • MatchingRuleStatements (list) –

                    Matching rule statements.

                    • (dict) –

                      Matching rule statement.

                      • KeyToMatch (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.

                      • Constraint (string) –

                        Constraint.

                      • ValueToMatch (list) –

                        Value to match.

                        • (string) –

                  • ScriptRuleStatements (list) –

                    Script rule statements.

                    • (dict) –

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

                      • KeyToMatch (string) –

                        Key name to match against in the script rule evaluation.

                      • Script (string) –

                        Script code used to evaluate the rule condition.

                • MatchingRuleStatement (dict) –

                  Matching rule statement.

                  • KeyToMatch (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.

                  • Constraint (string) –

                    Constraint.

                  • ValueToMatch (list) –

                    Value to match.

                    • (string) –

              • LicenseRuleStatement (dict) –

                License rule statement.

                • AndRuleStatement (dict) –

                  AND rule statement.

                  • MatchingRuleStatements (list) –

                    Matching rule statements.

                    • (dict) –

                      Matching rule statement.

                      • KeyToMatch (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.

                      • Constraint (string) –

                        Constraint.

                      • ValueToMatch (list) –

                        Value to match.

                        • (string) –

                  • ScriptRuleStatements (list) –

                    Script rule statements.

                    • (dict) –

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

                      • KeyToMatch (string) –

                        Key name to match against in the script rule evaluation.

                      • Script (string) –

                        Script code used to evaluate the rule condition.

                • OrRuleStatement (dict) –

                  OR rule statement.

                  • MatchingRuleStatements (list) –

                    Matching rule statements.

                    • (dict) –

                      Matching rule statement.

                      • KeyToMatch (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.

                      • Constraint (string) –

                        Constraint.

                      • ValueToMatch (list) –

                        Value to match.

                        • (string) –

                  • ScriptRuleStatements (list) –

                    Script rule statements.

                    • (dict) –

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

                      • KeyToMatch (string) –

                        Key name to match against in the script rule evaluation.

                      • Script (string) –

                        Script code used to evaluate the rule condition.

                • MatchingRuleStatement (dict) –

                  Matching rule statement.

                  • KeyToMatch (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.

                  • Constraint (string) –

                    Constraint.

                  • ValueToMatch (list) –

                    Value to match.

                    • (string) –

              • InstanceRuleStatement (dict) –

                Instance rule statement.

                • AndRuleStatement (dict) –

                  AND rule statement.

                  • MatchingRuleStatements (list) –

                    Matching rule statements.

                    • (dict) –

                      Matching rule statement.

                      • KeyToMatch (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.

                      • Constraint (string) –

                        Constraint.

                      • ValueToMatch (list) –

                        Value to match.

                        • (string) –

                  • ScriptRuleStatements (list) –

                    Script rule statements.

                    • (dict) –

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

                      • KeyToMatch (string) –

                        Key name to match against in the script rule evaluation.

                      • Script (string) –

                        Script code used to evaluate the rule condition.

                • OrRuleStatement (dict) –

                  OR rule statement.

                  • MatchingRuleStatements (list) –

                    Matching rule statements.

                    • (dict) –

                      Matching rule statement.

                      • KeyToMatch (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.

                      • Constraint (string) –

                        Constraint.

                      • ValueToMatch (list) –

                        Value to match.

                        • (string) –

                  • ScriptRuleStatements (list) –

                    Script rule statements.

                    • (dict) –

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

                      • KeyToMatch (string) –

                        Key name to match against in the script rule evaluation.

                      • Script (string) –

                        Script code used to evaluate the rule condition.

                • MatchingRuleStatement (dict) –

                  Matching rule statement.

                  • KeyToMatch (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.

                  • Constraint (string) –

                    Constraint.

                  • ValueToMatch (list) –

                    Value to match.

                    • (string) –

                • ScriptRuleStatement (dict) –

                  Script rule statement.

                  • KeyToMatch (string) –

                    Key name to match against in the script rule evaluation.

                  • Script (string) –

                    Script code used to evaluate the rule condition.

        • LicenseAssetRulesetArn (string) –

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

    • NextToken (string) –

      Token for the next set of results.

Exceptions

  • LicenseManager.Client.exceptions.ValidationException

  • LicenseManager.Client.exceptions.InvalidParameterValueException

  • LicenseManager.Client.exceptions.AuthorizationException

  • LicenseManager.Client.exceptions.AccessDeniedException

  • LicenseManager.Client.exceptions.RateLimitExceededException

  • LicenseManager.Client.exceptions.ServerInternalException