Skip to content

Type definitions#

Index > AgreementService > Type definitions

Auto-generated documentation for AgreementService type annotations stubs module mypy-boto3-marketplace-agreement.

ByolPricingTermTypeDef#

# ByolPricingTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ByolPricingTermTypeDef


def get_value() -> ByolPricingTermTypeDef:
    return {
        "type": ...,
    }


# ByolPricingTermTypeDef definition

class ByolPricingTermTypeDef(TypedDict):
    type: NotRequired[str],

RecurringPaymentTermTypeDef#

# RecurringPaymentTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import RecurringPaymentTermTypeDef


def get_value() -> RecurringPaymentTermTypeDef:
    return {
        "billingPeriod": ...,
    }


# RecurringPaymentTermTypeDef definition

class RecurringPaymentTermTypeDef(TypedDict):
    billingPeriod: NotRequired[str],
    currencyCode: NotRequired[str],
    price: NotRequired[str],
    type: NotRequired[str],

SupportTermTypeDef#

# SupportTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import SupportTermTypeDef


def get_value() -> SupportTermTypeDef:
    return {
        "refundPolicy": ...,
    }


# SupportTermTypeDef definition

class SupportTermTypeDef(TypedDict):
    refundPolicy: NotRequired[str],
    type: NotRequired[str],

ValidityTermTypeDef#

# ValidityTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ValidityTermTypeDef


def get_value() -> ValidityTermTypeDef:
    return {
        "agreementDuration": ...,
    }


# ValidityTermTypeDef definition

class ValidityTermTypeDef(TypedDict):
    agreementDuration: NotRequired[str],
    agreementEndDate: NotRequired[datetime.datetime],
    agreementStartDate: NotRequired[datetime.datetime],
    type: NotRequired[str],

AcceptorTypeDef#

# AcceptorTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import AcceptorTypeDef


def get_value() -> AcceptorTypeDef:
    return {
        "accountId": ...,
    }


# AcceptorTypeDef definition

class AcceptorTypeDef(TypedDict):
    accountId: NotRequired[str],

ProposerTypeDef#

# ProposerTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ProposerTypeDef


def get_value() -> ProposerTypeDef:
    return {
        "accountId": ...,
    }


# ProposerTypeDef definition

class ProposerTypeDef(TypedDict):
    accountId: NotRequired[str],

DimensionTypeDef#

# DimensionTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import DimensionTypeDef


def get_value() -> DimensionTypeDef:
    return {
        "dimensionKey": ...,
    }


# DimensionTypeDef definition

class DimensionTypeDef(TypedDict):
    dimensionKey: str,
    dimensionValue: int,

ConstraintsTypeDef#

# ConstraintsTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ConstraintsTypeDef


def get_value() -> ConstraintsTypeDef:
    return {
        "multipleDimensionSelection": ...,
    }


# ConstraintsTypeDef definition

class ConstraintsTypeDef(TypedDict):
    multipleDimensionSelection: NotRequired[str],
    quantityConfiguration: NotRequired[str],

RateCardItemTypeDef#

# RateCardItemTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import RateCardItemTypeDef


def get_value() -> RateCardItemTypeDef:
    return {
        "dimensionKey": ...,
    }


# RateCardItemTypeDef definition

class RateCardItemTypeDef(TypedDict):
    dimensionKey: NotRequired[str],
    price: NotRequired[str],

SelectorTypeDef#

# SelectorTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import SelectorTypeDef


def get_value() -> SelectorTypeDef:
    return {
        "type": ...,
    }


# SelectorTypeDef definition

class SelectorTypeDef(TypedDict):
    type: NotRequired[str],
    value: NotRequired[str],

DescribeAgreementInputTypeDef#

# DescribeAgreementInputTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import DescribeAgreementInputTypeDef


def get_value() -> DescribeAgreementInputTypeDef:
    return {
        "agreementId": ...,
    }


# DescribeAgreementInputTypeDef definition

class DescribeAgreementInputTypeDef(TypedDict):
    agreementId: str,

EstimatedChargesTypeDef#

# EstimatedChargesTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import EstimatedChargesTypeDef


def get_value() -> EstimatedChargesTypeDef:
    return {
        "agreementValue": ...,
    }


# EstimatedChargesTypeDef definition

class EstimatedChargesTypeDef(TypedDict):
    agreementValue: NotRequired[str],
    currencyCode: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

DocumentItemTypeDef#

# DocumentItemTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import DocumentItemTypeDef


def get_value() -> DocumentItemTypeDef:
    return {
        "type": ...,
    }


# DocumentItemTypeDef definition

class DocumentItemTypeDef(TypedDict):
    type: NotRequired[str],
    url: NotRequired[str],
    version: NotRequired[str],

FilterTypeDef#

# FilterTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import FilterTypeDef


def get_value() -> FilterTypeDef:
    return {
        "name": ...,
    }


# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    name: NotRequired[str],
    values: NotRequired[Sequence[str]],

GrantItemTypeDef#

# GrantItemTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import GrantItemTypeDef


def get_value() -> GrantItemTypeDef:
    return {
        "dimensionKey": ...,
    }


# GrantItemTypeDef definition

class GrantItemTypeDef(TypedDict):
    dimensionKey: NotRequired[str],
    maxQuantity: NotRequired[int],

GetAgreementTermsInputTypeDef#

# GetAgreementTermsInputTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import GetAgreementTermsInputTypeDef


def get_value() -> GetAgreementTermsInputTypeDef:
    return {
        "agreementId": ...,
    }


# GetAgreementTermsInputTypeDef definition

class GetAgreementTermsInputTypeDef(TypedDict):
    agreementId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ScheduleItemTypeDef#

# ScheduleItemTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ScheduleItemTypeDef


def get_value() -> ScheduleItemTypeDef:
    return {
        "chargeAmount": ...,
    }


# ScheduleItemTypeDef definition

class ScheduleItemTypeDef(TypedDict):
    chargeAmount: NotRequired[str],
    chargeDate: NotRequired[datetime.datetime],

ResourceTypeDef#

# ResourceTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ResourceTypeDef


def get_value() -> ResourceTypeDef:
    return {
        "id": ...,
    }


# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[str],

RenewalTermConfigurationTypeDef#

# RenewalTermConfigurationTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import RenewalTermConfigurationTypeDef


def get_value() -> RenewalTermConfigurationTypeDef:
    return {
        "enableAutoRenew": ...,
    }


# RenewalTermConfigurationTypeDef definition

class RenewalTermConfigurationTypeDef(TypedDict):
    enableAutoRenew: bool,

SortTypeDef#

# SortTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import SortTypeDef


def get_value() -> SortTypeDef:
    return {
        "sortBy": ...,
    }


# SortTypeDef definition

class SortTypeDef(TypedDict):
    sortBy: NotRequired[str],
    sortOrder: NotRequired[SortOrderType],  # (1)
  1. See SortOrderType

ConfigurableUpfrontPricingTermConfigurationTypeDef#

# ConfigurableUpfrontPricingTermConfigurationTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ConfigurableUpfrontPricingTermConfigurationTypeDef


def get_value() -> ConfigurableUpfrontPricingTermConfigurationTypeDef:
    return {
        "dimensions": ...,
    }


# ConfigurableUpfrontPricingTermConfigurationTypeDef definition

class ConfigurableUpfrontPricingTermConfigurationTypeDef(TypedDict):
    dimensions: List[DimensionTypeDef],  # (1)
    selectorValue: str,
  1. See List[DimensionTypeDef]

UsageBasedRateCardItemTypeDef#

# UsageBasedRateCardItemTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import UsageBasedRateCardItemTypeDef


def get_value() -> UsageBasedRateCardItemTypeDef:
    return {
        "rateCard": ...,
    }


# UsageBasedRateCardItemTypeDef definition

class UsageBasedRateCardItemTypeDef(TypedDict):
    rateCard: NotRequired[List[RateCardItemTypeDef]],  # (1)
  1. See List[RateCardItemTypeDef]

ConfigurableUpfrontRateCardItemTypeDef#

# ConfigurableUpfrontRateCardItemTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ConfigurableUpfrontRateCardItemTypeDef


def get_value() -> ConfigurableUpfrontRateCardItemTypeDef:
    return {
        "constraints": ...,
    }


# ConfigurableUpfrontRateCardItemTypeDef definition

class ConfigurableUpfrontRateCardItemTypeDef(TypedDict):
    constraints: NotRequired[ConstraintsTypeDef],  # (1)
    rateCard: NotRequired[List[RateCardItemTypeDef]],  # (2)
    selector: NotRequired[SelectorTypeDef],  # (3)
  1. See ConstraintsTypeDef
  2. See List[RateCardItemTypeDef]
  3. See SelectorTypeDef

LegalTermTypeDef#

# LegalTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import LegalTermTypeDef


def get_value() -> LegalTermTypeDef:
    return {
        "documents": ...,
    }


# LegalTermTypeDef definition

class LegalTermTypeDef(TypedDict):
    documents: NotRequired[List[DocumentItemTypeDef]],  # (1)
    type: NotRequired[str],
  1. See List[DocumentItemTypeDef]

FixedUpfrontPricingTermTypeDef#

# FixedUpfrontPricingTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import FixedUpfrontPricingTermTypeDef


def get_value() -> FixedUpfrontPricingTermTypeDef:
    return {
        "currencyCode": ...,
    }


# FixedUpfrontPricingTermTypeDef definition

class FixedUpfrontPricingTermTypeDef(TypedDict):
    currencyCode: NotRequired[str],
    duration: NotRequired[str],
    grants: NotRequired[List[GrantItemTypeDef]],  # (1)
    price: NotRequired[str],
    type: NotRequired[str],
  1. See List[GrantItemTypeDef]

FreeTrialPricingTermTypeDef#

# FreeTrialPricingTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import FreeTrialPricingTermTypeDef


def get_value() -> FreeTrialPricingTermTypeDef:
    return {
        "duration": ...,
    }


# FreeTrialPricingTermTypeDef definition

class FreeTrialPricingTermTypeDef(TypedDict):
    duration: NotRequired[str],
    grants: NotRequired[List[GrantItemTypeDef]],  # (1)
    type: NotRequired[str],
  1. See List[GrantItemTypeDef]

PaymentScheduleTermTypeDef#

# PaymentScheduleTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import PaymentScheduleTermTypeDef


def get_value() -> PaymentScheduleTermTypeDef:
    return {
        "currencyCode": ...,
    }


# PaymentScheduleTermTypeDef definition

class PaymentScheduleTermTypeDef(TypedDict):
    currencyCode: NotRequired[str],
    schedule: NotRequired[List[ScheduleItemTypeDef]],  # (1)
    type: NotRequired[str],
  1. See List[ScheduleItemTypeDef]

ProposalSummaryTypeDef#

# ProposalSummaryTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ProposalSummaryTypeDef


def get_value() -> ProposalSummaryTypeDef:
    return {
        "offerId": ...,
    }


# ProposalSummaryTypeDef definition

class ProposalSummaryTypeDef(TypedDict):
    offerId: NotRequired[str],
    resources: NotRequired[List[ResourceTypeDef]],  # (1)
  1. See List[ResourceTypeDef]

RenewalTermTypeDef#

# RenewalTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import RenewalTermTypeDef


def get_value() -> RenewalTermTypeDef:
    return {
        "configuration": ...,
    }


# RenewalTermTypeDef definition

class RenewalTermTypeDef(TypedDict):
    configuration: NotRequired[RenewalTermConfigurationTypeDef],  # (1)
    type: NotRequired[str],
  1. See RenewalTermConfigurationTypeDef

SearchAgreementsInputTypeDef#

# SearchAgreementsInputTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import SearchAgreementsInputTypeDef


def get_value() -> SearchAgreementsInputTypeDef:
    return {
        "catalog": ...,
    }


# SearchAgreementsInputTypeDef definition

class SearchAgreementsInputTypeDef(TypedDict):
    catalog: NotRequired[str],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sort: NotRequired[SortTypeDef],  # (2)
  1. See Sequence[FilterTypeDef]
  2. See SortTypeDef

UsageBasedPricingTermTypeDef#

# UsageBasedPricingTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import UsageBasedPricingTermTypeDef


def get_value() -> UsageBasedPricingTermTypeDef:
    return {
        "currencyCode": ...,
    }


# UsageBasedPricingTermTypeDef definition

class UsageBasedPricingTermTypeDef(TypedDict):
    currencyCode: NotRequired[str],
    rateCards: NotRequired[List[UsageBasedRateCardItemTypeDef]],  # (1)
    type: NotRequired[str],
  1. See List[UsageBasedRateCardItemTypeDef]

ConfigurableUpfrontPricingTermTypeDef#

# ConfigurableUpfrontPricingTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import ConfigurableUpfrontPricingTermTypeDef


def get_value() -> ConfigurableUpfrontPricingTermTypeDef:
    return {
        "configuration": ...,
    }


# ConfigurableUpfrontPricingTermTypeDef definition

class ConfigurableUpfrontPricingTermTypeDef(TypedDict):
    configuration: NotRequired[ConfigurableUpfrontPricingTermConfigurationTypeDef],  # (1)
    currencyCode: NotRequired[str],
    rateCards: NotRequired[List[ConfigurableUpfrontRateCardItemTypeDef]],  # (2)
    type: NotRequired[str],
  1. See ConfigurableUpfrontPricingTermConfigurationTypeDef
  2. See List[ConfigurableUpfrontRateCardItemTypeDef]

AgreementViewSummaryTypeDef#

# AgreementViewSummaryTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import AgreementViewSummaryTypeDef


def get_value() -> AgreementViewSummaryTypeDef:
    return {
        "acceptanceTime": ...,
    }


# AgreementViewSummaryTypeDef definition

class AgreementViewSummaryTypeDef(TypedDict):
    acceptanceTime: NotRequired[datetime.datetime],
    acceptor: NotRequired[AcceptorTypeDef],  # (1)
    agreementId: NotRequired[str],
    agreementType: NotRequired[str],
    endTime: NotRequired[datetime.datetime],
    proposalSummary: NotRequired[ProposalSummaryTypeDef],  # (2)
    proposer: NotRequired[ProposerTypeDef],  # (3)
    startTime: NotRequired[datetime.datetime],
    status: NotRequired[AgreementStatusType],  # (4)
  1. See AcceptorTypeDef
  2. See ProposalSummaryTypeDef
  3. See ProposerTypeDef
  4. See AgreementStatusType

DescribeAgreementOutputTypeDef#

# DescribeAgreementOutputTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import DescribeAgreementOutputTypeDef


def get_value() -> DescribeAgreementOutputTypeDef:
    return {
        "acceptanceTime": ...,
    }


# DescribeAgreementOutputTypeDef definition

class DescribeAgreementOutputTypeDef(TypedDict):
    acceptanceTime: datetime.datetime,
    acceptor: AcceptorTypeDef,  # (1)
    agreementId: str,
    agreementType: str,
    endTime: datetime.datetime,
    estimatedCharges: EstimatedChargesTypeDef,  # (2)
    proposalSummary: ProposalSummaryTypeDef,  # (3)
    proposer: ProposerTypeDef,  # (4)
    startTime: datetime.datetime,
    status: AgreementStatusType,  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See AcceptorTypeDef
  2. See EstimatedChargesTypeDef
  3. See ProposalSummaryTypeDef
  4. See ProposerTypeDef
  5. See AgreementStatusType
  6. See ResponseMetadataTypeDef

AcceptedTermTypeDef#

# AcceptedTermTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import AcceptedTermTypeDef


def get_value() -> AcceptedTermTypeDef:
    return {
        "byolPricingTerm": ...,
    }


# AcceptedTermTypeDef definition

class AcceptedTermTypeDef(TypedDict):
    byolPricingTerm: NotRequired[ByolPricingTermTypeDef],  # (1)
    configurableUpfrontPricingTerm: NotRequired[ConfigurableUpfrontPricingTermTypeDef],  # (2)
    fixedUpfrontPricingTerm: NotRequired[FixedUpfrontPricingTermTypeDef],  # (3)
    freeTrialPricingTerm: NotRequired[FreeTrialPricingTermTypeDef],  # (4)
    legalTerm: NotRequired[LegalTermTypeDef],  # (5)
    paymentScheduleTerm: NotRequired[PaymentScheduleTermTypeDef],  # (6)
    recurringPaymentTerm: NotRequired[RecurringPaymentTermTypeDef],  # (7)
    renewalTerm: NotRequired[RenewalTermTypeDef],  # (8)
    supportTerm: NotRequired[SupportTermTypeDef],  # (9)
    usageBasedPricingTerm: NotRequired[UsageBasedPricingTermTypeDef],  # (10)
    validityTerm: NotRequired[ValidityTermTypeDef],  # (11)
  1. See ByolPricingTermTypeDef
  2. See ConfigurableUpfrontPricingTermTypeDef
  3. See FixedUpfrontPricingTermTypeDef
  4. See FreeTrialPricingTermTypeDef
  5. See LegalTermTypeDef
  6. See PaymentScheduleTermTypeDef
  7. See RecurringPaymentTermTypeDef
  8. See RenewalTermTypeDef
  9. See SupportTermTypeDef
  10. See UsageBasedPricingTermTypeDef
  11. See ValidityTermTypeDef

SearchAgreementsOutputTypeDef#

# SearchAgreementsOutputTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import SearchAgreementsOutputTypeDef


def get_value() -> SearchAgreementsOutputTypeDef:
    return {
        "agreementViewSummaries": ...,
    }


# SearchAgreementsOutputTypeDef definition

class SearchAgreementsOutputTypeDef(TypedDict):
    agreementViewSummaries: List[AgreementViewSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[AgreementViewSummaryTypeDef]
  2. See ResponseMetadataTypeDef

GetAgreementTermsOutputTypeDef#

# GetAgreementTermsOutputTypeDef TypedDict usage example

from mypy_boto3_marketplace_agreement.type_defs import GetAgreementTermsOutputTypeDef


def get_value() -> GetAgreementTermsOutputTypeDef:
    return {
        "acceptedTerms": ...,
    }


# GetAgreementTermsOutputTypeDef definition

class GetAgreementTermsOutputTypeDef(TypedDict):
    acceptedTerms: List[AcceptedTermTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[AcceptedTermTypeDef]
  2. See ResponseMetadataTypeDef