« blib/lib/Paws/MediaConvert/CreatePresetResponse.pm
↑ Summary
blib/lib/Paws/MediaConvert/CreateQueueResponse.pm »
| 1 | |||
| 2 | package Paws::MediaConvert::CreateQueue; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 6 | has PricingPlan => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pricingPlan'); | ||
| 7 | has ReservationPlanSettings => (is => 'ro', isa => 'Paws::MediaConvert::ReservationPlanSettings', traits => ['NameInRequest'], request_name => 'reservationPlanSettings'); | ||
| 8 | has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status'); | ||
| 9 | has Tags => (is => 'ro', isa => 'Paws::MediaConvert::__mapOf__string', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateQueue'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2017-08-29/queues'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaConvert::CreateQueueResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::MediaConvert::CreateQueue - Arguments for method CreateQueue on L<Paws::MediaConvert> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method CreateQueue on the | ||
| 28 | L<AWS Elemental MediaConvert|Paws::MediaConvert> service. Use the attributes of this class | ||
| 29 | as arguments to method CreateQueue. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateQueue. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $mediaconvert = Paws->service('MediaConvert'); | ||
| 36 | my $CreateQueueResponse = $mediaconvert->CreateQueue( | ||
| 37 | Name => 'My__string', | ||
| 38 | Description => 'My__string', # OPTIONAL | ||
| 39 | PricingPlan => 'ON_DEMAND', # OPTIONAL | ||
| 40 | ReservationPlanSettings => { | ||
| 41 | Commitment => 'ONE_YEAR', # values: ONE_YEAR | ||
| 42 | RenewalType => 'AUTO_RENEW', # values: AUTO_RENEW, EXPIRE | ||
| 43 | ReservedSlots => 1, | ||
| 44 | |||
| 45 | }, # OPTIONAL | ||
| 46 | Status => 'ACTIVE', # OPTIONAL | ||
| 47 | Tags => { 'My__string' => 'My__string', }, # OPTIONAL | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $Queue = $CreateQueueResponse->Queue; | ||
| 52 | |||
| 53 | # Returns a L<Paws::MediaConvert::CreateQueueResponse> object. | ||
| 54 | |||
| 55 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconvert/CreateQueue> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 Description => Str | ||
| 62 | |||
| 63 | Optional. A description of the queue that you are creating. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> Name => Str | ||
| 68 | |||
| 69 | The name of the queue that you are creating. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 PricingPlan => Str | ||
| 74 | |||
| 75 | Specifies whether the pricing plan for the queue is on-demand or | ||
| 76 | reserved. For on-demand, you pay per minute, billed in increments of | ||
| 77 | .01 minute. For reserved, you pay for the transcoding capacity of the | ||
| 78 | entire queue, regardless of how much or how little you use it. Reserved | ||
| 79 | pricing requires a 12-month commitment. When you use the API to create | ||
| 80 | a queue, the default is on-demand. | ||
| 81 | |||
| 82 | Valid values are: C<"ON_DEMAND">, C<"RESERVED"> | ||
| 83 | |||
| 84 | =head2 ReservationPlanSettings => L<Paws::MediaConvert::ReservationPlanSettings> | ||
| 85 | |||
| 86 | Details about the pricing plan for your reserved queue. Required for | ||
| 87 | reserved queues and not applicable to on-demand queues. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 Status => Str | ||
| 92 | |||
| 93 | Initial state of the queue. If you create a paused queue, then jobs in | ||
| 94 | that queue won't begin. | ||
| 95 | |||
| 96 | Valid values are: C<"ACTIVE">, C<"PAUSED"> | ||
| 97 | |||
| 98 | =head2 Tags => L<Paws::MediaConvert::__mapOf__string> | ||
| 99 | |||
| 100 | The tags that you want to add to the resource. You can tag resources | ||
| 101 | with a key-value pair or with only a key. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, documenting arguments for method CreateQueue in L<Paws::MediaConvert> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 |