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.

CreateQueueInput

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

type CreateQueueInput struct { Description *string `locationName:"description" type:"string"` Name *string `locationName:"name" type:"string" required:"true"` PricingPlan *string `locationName:"pricingPlan" type:"string" enum:"PricingPlan"` ReservationPlanSettings *ReservationPlanSettings `locationName:"reservationPlanSettings" type:"structure"` Tags map[string]*string `locationName:"tags" type:"map"` }

Create an on-demand queue by sending a CreateQueue request with the name of the queue. Create a reserved queue by sending a CreateQueue request with the pricing plan set to RESERVED and with values specified for the settings under reservationPlanSettings. When you create a reserved queue, you enter into a 12-month commitment to purchase the RTS that you specify. You can't cancel this commitment.

Description

Type: *string

Optional. A description of the queue that you are creating.

Name

Type: *string

The name of the queue that you are creating.

Name is a required field

PricingPlan

Type: *string

Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.

ReservationPlanSettings

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

Tags

Type: map[string]*string

The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

Method

GoString

func (s CreateQueueInput) GoString() string

GoString returns the string representation

SetDescription

func (s *CreateQueueInput) SetDescription(v string) *CreateQueueInput

SetDescription sets the Description field's value.

SetName

func (s *CreateQueueInput) SetName(v string) *CreateQueueInput

SetName sets the Name field's value.

SetPricingPlan

func (s *CreateQueueInput) SetPricingPlan(v string) *CreateQueueInput

SetPricingPlan sets the PricingPlan field's value.

SetReservationPlanSettings

func (s *CreateQueueInput) SetReservationPlanSettings(v *ReservationPlanSettings) *CreateQueueInput

SetReservationPlanSettings sets the ReservationPlanSettings field's value.

SetTags

func (s *CreateQueueInput) SetTags(v map[string]*string) *CreateQueueInput

SetTags sets the Tags field's value.

String

func (s CreateQueueInput) String() string

String returns the string representation

Validate

func (s *CreateQueueInput) Validate() error

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

On this page: