Skip to content

Typed dictionaries

Index > MarketplaceEntitlementService > Typed dictionaries

Auto-generated documentation for MarketplaceEntitlementService type annotations stubs module types-aiobotocore-marketplace-entitlement.

EntitlementValueTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import EntitlementValueTypeDef

def get_value() -> EntitlementValueTypeDef:
    return {
        "IntegerValue": ...,
    }
Definition
class EntitlementValueTypeDef(TypedDict):
    IntegerValue: NotRequired[int],
    DoubleValue: NotRequired[float],
    BooleanValue: NotRequired[bool],
    StringValue: NotRequired[str],

PaginatorConfigTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetEntitlementsRequestRequestTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import GetEntitlementsRequestRequestTypeDef

def get_value() -> GetEntitlementsRequestRequestTypeDef:
    return {
        "ProductCode": ...,
    }
Definition
class GetEntitlementsRequestRequestTypeDef(TypedDict):
    ProductCode: str,
    Filter: NotRequired[Mapping[GetEntitlementFilterNameType, Sequence[str]]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See GetEntitlementFilterNameType

ResponseMetadataTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

EntitlementTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import EntitlementTypeDef

def get_value() -> EntitlementTypeDef:
    return {
        "ProductCode": ...,
    }
Definition
class EntitlementTypeDef(TypedDict):
    ProductCode: NotRequired[str],
    Dimension: NotRequired[str],
    CustomerIdentifier: NotRequired[str],
    Value: NotRequired[EntitlementValueTypeDef],  # (1)
    ExpirationDate: NotRequired[datetime],
  1. See EntitlementValueTypeDef

GetEntitlementsRequestGetEntitlementsPaginateTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import GetEntitlementsRequestGetEntitlementsPaginateTypeDef

def get_value() -> GetEntitlementsRequestGetEntitlementsPaginateTypeDef:
    return {
        "ProductCode": ...,
    }
Definition
class GetEntitlementsRequestGetEntitlementsPaginateTypeDef(TypedDict):
    ProductCode: str,
    Filter: NotRequired[Mapping[GetEntitlementFilterNameType, Sequence[str]]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See GetEntitlementFilterNameType
  2. See PaginatorConfigTypeDef

GetEntitlementsResultTypeDef

Usage Example
from types_aiobotocore_marketplace_entitlement.type_defs import GetEntitlementsResultTypeDef

def get_value() -> GetEntitlementsResultTypeDef:
    return {
        "Entitlements": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetEntitlementsResultTypeDef(TypedDict):
    Entitlements: List[EntitlementTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EntitlementTypeDef
  2. See ResponseMetadataTypeDef