Skip to content

Type definitions#

Index > LicenseManager > Type definitions

Auto-generated documentation for LicenseManager type annotations stubs module mypy-boto3-license-manager.

AcceptGrantRequestRequestTypeDef#

# AcceptGrantRequestRequestTypeDef definition

class AcceptGrantRequestRequestTypeDef(TypedDict):
    GrantArn: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AutomatedDiscoveryInformationTypeDef#

# AutomatedDiscoveryInformationTypeDef definition

class AutomatedDiscoveryInformationTypeDef(TypedDict):
    LastRunTime: NotRequired[datetime],

BorrowConfigurationTypeDef#

# BorrowConfigurationTypeDef definition

class BorrowConfigurationTypeDef(TypedDict):
    AllowEarlyCheckIn: bool,
    MaxTimeToLiveInMinutes: int,

CheckInLicenseRequestRequestTypeDef#

# CheckInLicenseRequestRequestTypeDef definition

class CheckInLicenseRequestRequestTypeDef(TypedDict):
    LicenseConsumptionToken: str,
    Beneficiary: NotRequired[str],

EntitlementDataTypeDef#

# EntitlementDataTypeDef definition

class EntitlementDataTypeDef(TypedDict):
    Name: str,
    Unit: EntitlementDataUnitType,  # (1)
    Value: NotRequired[str],
  1. See EntitlementDataUnitType

MetadataTypeDef#

# MetadataTypeDef definition

class MetadataTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[str],

ConsumedLicenseSummaryTypeDef#

# ConsumedLicenseSummaryTypeDef definition

class ConsumedLicenseSummaryTypeDef(TypedDict):
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    ConsumedLicenses: NotRequired[int],
  1. See ResourceTypeType

ProvisionalConfigurationTypeDef#

# ProvisionalConfigurationTypeDef definition

class ProvisionalConfigurationTypeDef(TypedDict):
    MaxTimeToLiveInMinutes: int,

CreateGrantRequestRequestTypeDef#

# CreateGrantRequestRequestTypeDef definition

class CreateGrantRequestRequestTypeDef(TypedDict):
    ClientToken: str,
    GrantName: str,
    LicenseArn: str,
    Principals: Sequence[str],
    HomeRegion: str,
    AllowedOperations: Sequence[AllowedOperationType],  # (1)
  1. See AllowedOperationType

OptionsTypeDef#

# OptionsTypeDef definition

class OptionsTypeDef(TypedDict):
    ActivationOverrideBehavior: NotRequired[ActivationOverrideBehaviorType],  # (1)
  1. See ActivationOverrideBehaviorType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

LicenseConversionContextTypeDef#

# LicenseConversionContextTypeDef definition

class LicenseConversionContextTypeDef(TypedDict):
    UsageOperation: NotRequired[str],

ReportContextTypeDef#

# ReportContextTypeDef definition

class ReportContextTypeDef(TypedDict):
    licenseConfigurationArns: Sequence[str],

ReportFrequencyTypeDef#

# ReportFrequencyTypeDef definition

class ReportFrequencyTypeDef(TypedDict):
    value: NotRequired[int],
    period: NotRequired[ReportFrequencyTypeType],  # (1)
  1. See ReportFrequencyTypeType

DatetimeRangeTypeDef#

# DatetimeRangeTypeDef definition

class DatetimeRangeTypeDef(TypedDict):
    Begin: str,
    End: NotRequired[str],

EntitlementTypeDef#

# EntitlementTypeDef definition

class EntitlementTypeDef(TypedDict):
    Name: str,
    Unit: EntitlementUnitType,  # (1)
    Value: NotRequired[str],
    MaxCount: NotRequired[int],
    Overage: NotRequired[bool],
    AllowCheckIn: NotRequired[bool],
  1. See EntitlementUnitType

IssuerTypeDef#

# IssuerTypeDef definition

class IssuerTypeDef(TypedDict):
    Name: str,
    SignKey: NotRequired[str],

CreateTokenRequestRequestTypeDef#

# CreateTokenRequestRequestTypeDef definition

class CreateTokenRequestRequestTypeDef(TypedDict):
    LicenseArn: str,
    ClientToken: str,
    RoleArns: NotRequired[Sequence[str]],
    ExpirationInDays: NotRequired[int],
    TokenProperties: NotRequired[Sequence[str]],

DeleteGrantRequestRequestTypeDef#

# DeleteGrantRequestRequestTypeDef definition

class DeleteGrantRequestRequestTypeDef(TypedDict):
    GrantArn: str,
    Version: str,
    StatusReason: NotRequired[str],

DeleteLicenseConfigurationRequestRequestTypeDef#

# DeleteLicenseConfigurationRequestRequestTypeDef definition

class DeleteLicenseConfigurationRequestRequestTypeDef(TypedDict):
    LicenseConfigurationArn: str,

DeleteLicenseManagerReportGeneratorRequestRequestTypeDef#

# DeleteLicenseManagerReportGeneratorRequestRequestTypeDef definition

class DeleteLicenseManagerReportGeneratorRequestRequestTypeDef(TypedDict):
    LicenseManagerReportGeneratorArn: str,

DeleteLicenseRequestRequestTypeDef#

# DeleteLicenseRequestRequestTypeDef definition

class DeleteLicenseRequestRequestTypeDef(TypedDict):
    LicenseArn: str,
    SourceVersion: str,

DeleteTokenRequestRequestTypeDef#

# DeleteTokenRequestRequestTypeDef definition

class DeleteTokenRequestRequestTypeDef(TypedDict):
    TokenId: str,

EntitlementUsageTypeDef#

# EntitlementUsageTypeDef definition

class EntitlementUsageTypeDef(TypedDict):
    Name: str,
    ConsumedValue: str,
    Unit: EntitlementDataUnitType,  # (1)
    MaxCount: NotRequired[str],
  1. See EntitlementDataUnitType

ExtendLicenseConsumptionRequestRequestTypeDef#

# ExtendLicenseConsumptionRequestRequestTypeDef definition

class ExtendLicenseConsumptionRequestRequestTypeDef(TypedDict):
    LicenseConsumptionToken: str,
    DryRun: NotRequired[bool],

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    Name: NotRequired[str],
    Values: NotRequired[Sequence[str]],

GetAccessTokenRequestRequestTypeDef#

# GetAccessTokenRequestRequestTypeDef definition

class GetAccessTokenRequestRequestTypeDef(TypedDict):
    Token: str,
    TokenProperties: NotRequired[Sequence[str]],

GetGrantRequestRequestTypeDef#

# GetGrantRequestRequestTypeDef definition

class GetGrantRequestRequestTypeDef(TypedDict):
    GrantArn: str,
    Version: NotRequired[str],

GetLicenseConfigurationRequestRequestTypeDef#

# GetLicenseConfigurationRequestRequestTypeDef definition

class GetLicenseConfigurationRequestRequestTypeDef(TypedDict):
    LicenseConfigurationArn: str,

ManagedResourceSummaryTypeDef#

# ManagedResourceSummaryTypeDef definition

class ManagedResourceSummaryTypeDef(TypedDict):
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    AssociationCount: NotRequired[int],
  1. See ResourceTypeType

GetLicenseConversionTaskRequestRequestTypeDef#

# GetLicenseConversionTaskRequestRequestTypeDef definition

class GetLicenseConversionTaskRequestRequestTypeDef(TypedDict):
    LicenseConversionTaskId: str,

GetLicenseManagerReportGeneratorRequestRequestTypeDef#

# GetLicenseManagerReportGeneratorRequestRequestTypeDef definition

class GetLicenseManagerReportGeneratorRequestRequestTypeDef(TypedDict):
    LicenseManagerReportGeneratorArn: str,

GetLicenseRequestRequestTypeDef#

# GetLicenseRequestRequestTypeDef definition

class GetLicenseRequestRequestTypeDef(TypedDict):
    LicenseArn: str,
    Version: NotRequired[str],

GetLicenseUsageRequestRequestTypeDef#

# GetLicenseUsageRequestRequestTypeDef definition

class GetLicenseUsageRequestRequestTypeDef(TypedDict):
    LicenseArn: str,

OrganizationConfigurationTypeDef#

# OrganizationConfigurationTypeDef definition

class OrganizationConfigurationTypeDef(TypedDict):
    EnableIntegration: bool,

IssuerDetailsTypeDef#

# IssuerDetailsTypeDef definition

class IssuerDetailsTypeDef(TypedDict):
    Name: NotRequired[str],
    SignKey: NotRequired[str],
    KeyFingerprint: NotRequired[str],

ReceivedMetadataTypeDef#

# ReceivedMetadataTypeDef definition

class ReceivedMetadataTypeDef(TypedDict):
    ReceivedStatus: NotRequired[ReceivedStatusType],  # (1)
    ReceivedStatusReason: NotRequired[str],
    AllowedOperations: NotRequired[List[AllowedOperationType]],  # (2)
  1. See ReceivedStatusType
  2. See AllowedOperationType

InventoryFilterTypeDef#

# InventoryFilterTypeDef definition

class InventoryFilterTypeDef(TypedDict):
    Name: str,
    Condition: InventoryFilterConditionType,  # (1)
    Value: NotRequired[str],
  1. See InventoryFilterCo