« blib/lib/Paws/MediaLive/UpdateChannel.pm
↑ Summary
blib/lib/Paws/MediaLive/UpdateChannelClassResponse.pm »
| 1 | |||
| 2 | package Paws::MediaLive::UpdateChannelClass; | ||
| 3 | use Moose; | ||
| 4 | has ChannelClass => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'channelClass', required => 1); | ||
| 5 | has ChannelId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'channelId', required => 1); | ||
| 6 | has Destinations => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::OutputDestination]', traits => ['NameInRequest'], request_name => 'destinations'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateChannelClass'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/prod/channels/{channelId}/channelClass'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::UpdateChannelClassResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::MediaLive::UpdateChannelClass - Arguments for method UpdateChannelClass on L<Paws::MediaLive> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateChannelClass on the | ||
| 25 | L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateChannelClass. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateChannelClass. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $medialive = Paws->service('MediaLive'); | ||
| 33 | my $UpdateChannelClassResponse = $medialive->UpdateChannelClass( | ||
| 34 | ChannelClass => 'STANDARD', | ||
| 35 | ChannelId => 'My__string', | ||
| 36 | Destinations => [ | ||
| 37 | { | ||
| 38 | Id => 'My__string', | ||
| 39 | MediaPackageSettings => [ | ||
| 40 | { | ||
| 41 | ChannelId => 'My__stringMin1', # min: 1; OPTIONAL | ||
| 42 | }, | ||
| 43 | ... | ||
| 44 | ], # OPTIONAL | ||
| 45 | MultiplexSettings => { | ||
| 46 | MultiplexId => 'My__stringMin1', # min: 1; OPTIONAL | ||
| 47 | ProgramName => 'My__stringMin1', # min: 1; OPTIONAL | ||
| 48 | }, # OPTIONAL | ||
| 49 | Settings => [ | ||
| 50 | { | ||
| 51 | PasswordParam => 'My__string', | ||
| 52 | StreamName => 'My__string', | ||
| 53 | Url => 'My__string', | ||
| 54 | Username => 'My__string', | ||
| 55 | }, | ||
| 56 | ... | ||
| 57 | ], # OPTIONAL | ||
| 58 | }, | ||
| 59 | ... | ||
| 60 | ], # OPTIONAL | ||
| 61 | ); | ||
| 62 | |||
| 63 | # Results: | ||
| 64 | my $Channel = $UpdateChannelClassResponse->Channel; | ||
| 65 | |||
| 66 | # Returns a L<Paws::MediaLive::UpdateChannelClassResponse> object. | ||
| 67 | |||
| 68 | 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. | ||
| 69 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/medialive/UpdateChannelClass> | ||
| 70 | |||
| 71 | =head1 ATTRIBUTES | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> ChannelClass => Str | ||
| 75 | |||
| 76 | The channel class that you wish to update this channel to use. | ||
| 77 | |||
| 78 | Valid values are: C<"STANDARD">, C<"SINGLE_PIPELINE"> | ||
| 79 | |||
| 80 | =head2 B<REQUIRED> ChannelId => Str | ||
| 81 | |||
| 82 | Channel Id of the channel whose class should be updated. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 Destinations => ArrayRef[L<Paws::MediaLive::OutputDestination>] | ||
| 87 | |||
| 88 | A list of output destinations for this channel. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method UpdateChannelClass 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 |