« blib/lib/Paws/MediaLive/CreateInputSecurityGroupResultModel.pm
↑ Summary
blib/lib/Paws/MediaLive/CreateMultiplexProgram.pm »
| 1 | |||
| 2 | package Paws::MediaLive::CreateMultiplex; | ||
| 3 | use Moose; | ||
| 4 | has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'availabilityZones', required => 1); | ||
| 5 | has MultiplexSettings => (is => 'ro', isa => 'Paws::MediaLive::MultiplexSettings', traits => ['NameInRequest'], request_name => 'multiplexSettings', required => 1); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 7 | has RequestId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'requestId', required => 1); | ||
| 8 | has Tags => (is => 'ro', isa => 'Paws::MediaLive::Tags', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateMultiplex'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/prod/multiplexes'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::CreateMultiplexResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::MediaLive::CreateMultiplex - Arguments for method CreateMultiplex on L<Paws::MediaLive> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateMultiplex on the | ||
| 27 | L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateMultiplex. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMultiplex. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $medialive = Paws->service('MediaLive'); | ||
| 35 | my $CreateMultiplexResponse = $medialive->CreateMultiplex( | ||
| 36 | AvailabilityZones => [ 'My__string', ... ], | ||
| 37 | MultiplexSettings => { | ||
| 38 | TransportStreamBitrate => 1, # min: 1000000, max: 100000000 | ||
| 39 | TransportStreamId => 1, # max: 65535 | ||
| 40 | MaximumVideoBufferDelayMilliseconds => | ||
| 41 | 1, # min: 800, max: 3000; OPTIONAL | ||
| 42 | TransportStreamReservedBitrate => 1, # max: 100000000; OPTIONAL | ||
| 43 | }, | ||
| 44 | Name => 'My__string', | ||
| 45 | RequestId => 'My__string', | ||
| 46 | Tags => { 'My__string' => 'My__string', }, # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $Multiplex = $CreateMultiplexResponse->Multiplex; | ||
| 51 | |||
| 52 | # Returns a L<Paws::MediaLive::CreateMultiplexResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/medialive/CreateMultiplex> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> AvailabilityZones => ArrayRef[Str|Undef] | ||
| 61 | |||
| 62 | A list of availability zones for the multiplex. You must specify | ||
| 63 | exactly two. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> MultiplexSettings => L<Paws::MediaLive::MultiplexSettings> | ||
| 68 | |||
| 69 | Configuration for a multiplex event. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> Name => Str | ||
| 74 | |||
| 75 | Name of multiplex. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 B<REQUIRED> RequestId => Str | ||
| 80 | |||
| 81 | Unique request ID. This prevents retries from creating multiple | ||
| 82 | resources. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 Tags => L<Paws::MediaLive::Tags> | ||
| 87 | |||
| 88 | A collection of key-value pairs. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method CreateMultiplex in L<Paws::MediaLive> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |