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.

Queue

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

type Queue struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unixTimestamp"` Description *string `locationName:"description" type:"string"` LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"unixTimestamp"` Name *string `locationName:"name" type:"string" required:"true"` PricingPlan *string `locationName:"pricingPlan" type:"string" enum:"PricingPlan"` ProgressingJobsCount *int64 `locationName:"progressingJobsCount" type:"integer"` ReservationPlan *ReservationPlan `locationName:"reservationPlan" type:"structure"` Status *string `locationName:"status" type:"string" enum:"QueueStatus"` SubmittedJobsCount *int64 `locationName:"submittedJobsCount" type:"integer"` Type *string `locationName:"type" type:"string" enum:"Type"` }

You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.

Arn

Type: *string

An identifier for this resource that is unique within all of AWS.

CreatedAt

Type: *time.Time

The timestamp in epoch seconds for when you created the queue.

Description

Type: *string

An optional description that you create for each queue.

LastUpdated

Type: *time.Time

The timestamp in epoch seconds for when you most recently updated the queue.

Name

Type: *string

A name that you create for each queue. Each name must be unique within your account.

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.

ProgressingJobsCount

Type: *int64

The estimated number of jobs with a PROGRESSING status.

ReservationPlan

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

Status

Type: *string

Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.

SubmittedJobsCount

Type: *int64

The estimated number of jobs with a SUBMITTED status.

Type

Type: *string

Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.

Method

GoString

func (s Queue) GoString() string

GoString returns the string representation

SetArn

func (s *Queue) SetArn(v string) *Queue

SetArn sets the Arn field's value.

SetCreatedAt

func (s *Queue) SetCreatedAt(v time.Time) *Queue

SetCreatedAt sets the CreatedAt field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetLastUpdated

func (s *Queue) SetLastUpdated(v time.Time) *Queue

SetLastUpdated sets the LastUpdated field's value.

SetName

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

SetName sets the Name field's value.

SetPricingPlan

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

SetPricingPlan sets the PricingPlan field's value.

SetProgressingJobsCount

func (s *Queue) SetProgressingJobsCount(v int64) *Queue

SetProgressingJobsCount sets the ProgressingJobsCount field's value.

SetReservationPlan

func (s *Queue) SetReservationPlan(v *ReservationPlan) *Queue

SetReservationPlan sets the ReservationPlan field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetSubmittedJobsCount

func (s *Queue) SetSubmittedJobsCount(v int64) *Queue

SetSubmittedJobsCount sets the SubmittedJobsCount field's value.

SetType

func (s *Queue) SetType(v string) *Queue

SetType sets the Type field's value.

String

func (s Queue) String() string

String returns the string representation

On this page: