LicenseManager / Client / get_license_asset_ruleset

get_license_asset_ruleset

LicenseManager.Client.get_license_asset_ruleset(**kwargs)

Gets a license asset ruleset.

See also: AWS API Documentation

Request Syntax

response = client.get_license_asset_ruleset(
    LicenseAssetRulesetArn='string'
)
Parameters:

LicenseAssetRulesetArn (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{
    'LicenseAssetRuleset': {
        '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'
    }
}

Response Structure

  • (dict) –

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

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