Skip to content

Type definitions#

Index > MarketplaceEntitlementService > Type definitions

Auto-generated documentation for MarketplaceEntitlementService type annotations stubs module mypy-boto3-marketplace-entitlement.

EntitlementValueTypeDef#

# EntitlementValueTypeDef definition

class EntitlementValueTypeDef(TypedDict):
    IntegerValue: NotRequired[int],
    DoubleValue: NotRequired[float],
    BooleanValue: NotRequired[bool],
    StringValue: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetEntitlementsRequestRequestTypeDef#

# GetEntitlementsRequestRequestTypeDef definition

class GetEntitlementsRequestRequestTypeDef(TypedDict):
    ProductCode: str,
    Filter: NotRequired[Mapping[GetEntitlementFilterNameType, Sequence[str]]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See GetEntitlementFilterNameType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

EntitlementTypeDef#

# EntitlementTypeDef definition

class EntitlementTypeDef(TypedDict):
    ProductCode: NotRequired[str],
    Dimension: NotRequired[str],
    CustomerIdentifier: NotRequired[str],
    Value: NotRequired[EntitlementValueTypeDef],  # (1)
    ExpirationDate: NotRequired[datetime],
  1. See EntitlementValueTypeDef

GetEntitlementsRequestGetEntitlementsPaginateTypeDef#

# GetEntitlementsRequestGetEntitlementsPaginateTypeDef definition

class GetEntitlementsRequestGetEntitlementsPaginateTypeDef(TypedDict):
    ProductCode: str,
    Filter: NotRequired[Mapping[GetEntitlementFilterNameType, Sequence[str]]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See GetEntitlementFilterNameType
  2. See PaginatorConfigTypeDef

GetEntitlementsResultTypeDef#

# GetEntitlementsResultTypeDef definition

class GetEntitlementsResultTypeDef(TypedDict):
    Entitlements: List[EntitlementTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EntitlementTypeDef
  2. See ResponseMetadataTypeDef