Skip to content

PurchaseOfferingRequest

Source code in docs_src/capo_medialive/types/purchase_offering_request.py
class PurchaseOfferingRequest(TypedDict, closed=True):
    count: NotRequired["capo_medialive.types.__integer_min1.__integerMin1"]
    """Number of resources"""
    name: NotRequired["capo_medialive.types.__string.__string"]
    """Name for the new reservation"""
    offering_id: "capo_medialive.types.__string.__string"
    """Offering to purchase, e.g. '87654321'"""
    renewal_settings: NotRequired[
        "capo_medialive.types.renewal_settings.RenewalSettings"
    ]
    """Renewal settings for the reservation"""
    request_id: NotRequired["capo_medialive.types.__string.__string"]
    """Unique request ID to be specified. This is needed to prevent retries from creating multiple resources."""
    start: NotRequired["capo_medialive.types.__string.__string"]
    """Requested reservation start time (UTC) in ISO-8601 format. The specified time must be between the first day of the current month and one year from now. If no value is given, the default is now."""
    tags: NotRequired["capo_medialive.types.tags.Tags"]
    """A collection of key-value pairs"""

count instance-attribute

count: NotRequired[__integerMin1]

Number of resources

name instance-attribute

name: NotRequired[__string]

Name for the new reservation

offering_id instance-attribute

offering_id: __string

Offering to purchase, e.g. '87654321'

renewal_settings instance-attribute

renewal_settings: NotRequired[RenewalSettings]

Renewal settings for the reservation

request_id instance-attribute

request_id: NotRequired[__string]

Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.

start instance-attribute

start: NotRequired[__string]

Requested reservation start time (UTC) in ISO-8601 format. The specified time must be between the first day of the current month and one year from now. If no value is given, the default is now.

tags instance-attribute

tags: NotRequired[Tags]

A collection of key-value pairs