libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.Types.ReservationPlan

Description

 
Synopsis

Documentation

data ReservationPlan Source #

Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.

See: newReservationPlan smart constructor.

Constructors

ReservationPlan' 

Fields

  • status :: Maybe ReservationPlanStatus

    Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.

  • expiresAt :: Maybe POSIX

    The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.

  • purchasedAt :: Maybe POSIX

    The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.

  • commitment :: Maybe Commitment

    The length of the term of your reserved queue pricing plan commitment.

  • reservedSlots :: Maybe Int

    Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.

  • renewalType :: Maybe RenewalType

    Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.

Instances

Instances details
Eq ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

Read ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

Show ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

Generic ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

Associated Types

type Rep ReservationPlan :: Type -> Type #

NFData ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

Methods

rnf :: ReservationPlan -> () #

Hashable ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

FromJSON ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

type Rep ReservationPlan Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.ReservationPlan

type Rep ReservationPlan = D1 ('MetaData "ReservationPlan" "Amazonka.MediaConvert.Types.ReservationPlan" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "ReservationPlan'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationPlanStatus)) :*: (S1 ('MetaSel ('Just "expiresAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "purchasedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "commitment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Commitment)) :*: (S1 ('MetaSel ('Just "reservedSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "renewalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RenewalType))))))

newReservationPlan :: ReservationPlan Source #

Create a value of ReservationPlan with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:ReservationPlan', reservationPlan_status - Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.

$sel:expiresAt:ReservationPlan', reservationPlan_expiresAt - The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.

$sel:purchasedAt:ReservationPlan', reservationPlan_purchasedAt - The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.

$sel:commitment:ReservationPlan', reservationPlan_commitment - The length of the term of your reserved queue pricing plan commitment.

$sel:reservedSlots:ReservationPlan', reservationPlan_reservedSlots - Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.

$sel:renewalType:ReservationPlan', reservationPlan_renewalType - Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.

reservationPlan_status :: Lens' ReservationPlan (Maybe ReservationPlanStatus) Source #

Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.

reservationPlan_expiresAt :: Lens' ReservationPlan (Maybe UTCTime) Source #

The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.

reservationPlan_purchasedAt :: Lens' ReservationPlan (Maybe UTCTime) Source #

The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.

reservationPlan_commitment :: Lens' ReservationPlan (Maybe Commitment) Source #

The length of the term of your reserved queue pricing plan commitment.

reservationPlan_reservedSlots :: Lens' ReservationPlan (Maybe Int) Source #

Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.

reservationPlan_renewalType :: Lens' ReservationPlan (Maybe RenewalType) Source #

Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.