Skip to content

Reservation

Source code in docs_src/capo_redshift_serverless/types/reservation.py
class Reservation(TypedDict, closed=True):
    reservation_id: NotRequired[
        "capo_redshift_serverless.types.reservation_id.ReservationId"
    ]
    """<p>The identifier that uniquely identifies the serverless reservation.</p>"""
    reservation_arn: NotRequired[
        "capo_redshift_serverless.types.reservation_arn.ReservationArn"
    ]
    """<p>The Amazon Resource Name (ARN) that uniquely identifies the serverless reservation.</p>"""
    start_date: NotRequired["datetime.datetime"]
    """<p>The start date for the serverless reservation. This is the date you created the reservation.</p>"""
    end_date: NotRequired["datetime.datetime"]
    """<p>The end date for the serverless reservation. This date is one year after the start date that you specify.</p>"""
    capacity: "capo_redshift_serverless.types.capacity.Capacity"
    """<p>The number of Redshift Processing Units (RPUs) to reserve.</p>"""
    offering: NotRequired[
        "capo_redshift_serverless.types.reservation_offering.ReservationOffering"
    ]
    """<p>The type of offering for the reservation. The offering class determines the payment schedule for the reservation.</p>"""
    status: NotRequired["capo_redshift_serverless.types.status.Status"]
    """<p>The status of the reservation. Possible values include the following:</p> <ul> <li> <p> <code>payment-pending</code> </p> </li> <li> <p> <code>active</code> </p> </li> <li> <p> <code>payment-failed</code> </p> </li> <li> <p> <code>retired</code> </p> </li> </ul>"""

capacity instance-attribute

capacity: Capacity

The number of Redshift Processing Units (RPUs) to reserve.

end_date instance-attribute

end_date: NotRequired[datetime]

The end date for the serverless reservation. This date is one year after the start date that you specify.

offering instance-attribute

offering: NotRequired[ReservationOffering]

The type of offering for the reservation. The offering class determines the payment schedule for the reservation.

reservation_arn instance-attribute

reservation_arn: NotRequired[ReservationArn]

The Amazon Resource Name (ARN) that uniquely identifies the serverless reservation.

reservation_id instance-attribute

reservation_id: NotRequired[ReservationId]

The identifier that uniquely identifies the serverless reservation.

start_date instance-attribute

start_date: NotRequired[datetime]

The start date for the serverless reservation. This is the date you created the reservation.

status instance-attribute

status: NotRequired[Status]

The status of the reservation. Possible values include the following:

  • payment-pending

  • active

  • payment-failed

  • retired