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.

ReservationPlanSettings

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

type ReservationPlanSettings struct { Commitment *string `locationName:"commitment" type:"string" required:"true" enum:"Commitment"` RenewalType *string `locationName:"renewalType" type:"string" required:"true" enum:"RenewalType"` ReservedSlots *int64 `locationName:"reservedSlots" type:"integer" required:"true"` }

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.

Commitment is a required field

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. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment.

RenewalType is a required field

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. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity.

ReservedSlots is a required field

Method

GoString

func (s ReservationPlanSettings) GoString() string

GoString returns the string representation

SetCommitment

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

SetCommitment sets the Commitment field's value.

SetRenewalType

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

SetRenewalType sets the RenewalType field's value.

SetReservedSlots

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

SetReservedSlots sets the ReservedSlots field's value.

String

func (s ReservationPlanSettings) String() string

String returns the string representation

Validate

func (s *ReservationPlanSettings) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: