AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ReservationPlan

import "github.com/aws/aws-sdk-go/service/mediaconvert"

type ReservationPlan struct { Commitment *string `locationName:"commitment" type:"string" enum:"Commitment"` ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unixTimestamp"` PurchasedAt *time.Time `locationName:"purchasedAt" type:"timestamp" timestampFormat:"unixTimestamp"` RenewalType *string `locationName:"renewalType" type:"string" enum:"RenewalType"` ReservedSlots *int64 `locationName:"reservedSlots" type:"integer"` Status *string `locationName:"status" type:"string" enum:"ReservationPlanStatus"` }

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

Commitment

Type: *string

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

ExpiresAt

Type: *time.Time

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

PurchasedAt

Type: *time.Time

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

RenewalType

Type: *string

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

ReservedSlots

Type: *int64

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.

Status

Type: *string

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

Method

GoString

func (s ReservationPlan) GoString() string

GoString returns the string representation

SetCommitment

func (s *ReservationPlan) SetCommitment(v string) *ReservationPlan

SetCommitment sets the Commitment field's value.

SetExpiresAt

func (s *ReservationPlan) SetExpiresAt(v time.Time) *ReservationPlan

SetExpiresAt sets the ExpiresAt field's value.

SetPurchasedAt

func (s *ReservationPlan) SetPurchasedAt(v time.Time) *ReservationPlan

SetPurchasedAt sets the PurchasedAt field's value.

SetRenewalType

func (s *ReservationPlan) SetRenewalType(v string) *ReservationPlan

SetRenewalType sets the RenewalType field's value.

SetReservedSlots

func (s *ReservationPlan) SetReservedSlots(v int64) *ReservationPlan

SetReservedSlots sets the ReservedSlots field's value.

SetStatus

func (s *ReservationPlan) SetStatus(v string) *ReservationPlan

SetStatus sets the Status field's value.

String

func (s ReservationPlan) String() string

String returns the string representation

On this page: