« blib/lib/Paws/MediaPackage/ConfigureLogsResponse.pm
↑ Summary
blib/lib/Paws/MediaPackage/CreateChannelResponse.pm »
| 1 | |||
| 2 | package Paws::MediaPackage::CreateChannel; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 5 | has Id => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'id', required => 1); | ||
| 6 | has Tags => (is => 'ro', isa => 'Paws::MediaPackage::Tags', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateChannel'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/channels'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaPackage::CreateChannelResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::MediaPackage::CreateChannel - Arguments for method CreateChannel on L<Paws::MediaPackage> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateChannel on the | ||
| 25 | L<AWS Elemental MediaPackage|Paws::MediaPackage> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateChannel. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateChannel. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $mediapackage = Paws->service('MediaPackage'); | ||
| 33 | my $CreateChannelResponse = $mediapackage->CreateChannel( | ||
| 34 | Id => 'My__string', | ||
| 35 | Description => 'My__string', # OPTIONAL | ||
| 36 | Tags => { 'My__string' => 'My__string', }, # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $Arn = $CreateChannelResponse->Arn; | ||
| 41 | my $Description = $CreateChannelResponse->Description; | ||
| 42 | my $EgressAccessLogs = $CreateChannelResponse->EgressAccessLogs; | ||
| 43 | my $HlsIngest = $CreateChannelResponse->HlsIngest; | ||
| 44 | my $Id = $CreateChannelResponse->Id; | ||
| 45 | my $IngressAccessLogs = $CreateChannelResponse->IngressAccessLogs; | ||
| 46 | my $Tags = $CreateChannelResponse->Tags; | ||
| 47 | |||
| 48 | # Returns a L<Paws::MediaPackage::CreateChannelResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediapackage/CreateChannel> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Description => Str | ||
| 57 | |||
| 58 | A short text description of the Channel. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> Id => Str | ||
| 63 | |||
| 64 | The ID of the Channel. The ID must be unique within the region and it | ||
| 65 | cannot be changed after a Channel is created. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 Tags => L<Paws::MediaPackage::Tags> | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method CreateChannel in L<Paws::MediaPackage> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |