« blib/lib/Paws/MediaConnect/AddFlowVpcInterfacesResponse.pm
↑ Summary
blib/lib/Paws/MediaConnect/AddOutputRequest.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConnect::AddMediaStreamRequest; | ||
| 3 | use Moose; | ||
| 4 | has Attributes => (is => 'ro', isa => 'Paws::MediaConnect::MediaStreamAttributesRequest', request_name => 'attributes', traits => ['NameInRequest']); | ||
| 5 | has ClockRate => (is => 'ro', isa => 'Int', request_name => 'clockRate', traits => ['NameInRequest']); | ||
| 6 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 7 | has MediaStreamId => (is => 'ro', isa => 'Int', request_name => 'mediaStreamId', traits => ['NameInRequest'], required => 1); | ||
| 8 | has MediaStreamName => (is => 'ro', isa => 'Str', request_name => 'mediaStreamName', traits => ['NameInRequest'], required => 1); | ||
| 9 | has MediaStreamType => (is => 'ro', isa => 'Str', request_name => 'mediaStreamType', traits => ['NameInRequest'], required => 1); | ||
| 10 | has VideoFormat => (is => 'ro', isa => 'Str', request_name => 'videoFormat', traits => ['NameInRequest']); | ||
| 11 | |||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::MediaConnect::AddMediaStreamRequest | ||
| 19 | |||
| 20 | =head1 USAGE | ||
| 21 | |||
| 22 | This class represents one of two things: | ||
| 23 | |||
| 24 | =head3 Arguments in a call to a service | ||
| 25 | |||
| 26 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 27 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 28 | |||
| 29 | As an example, if Att1 is expected to be a Paws::MediaConnect::AddMediaStreamRequest object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { Attributes => $value, ..., VideoFormat => $value }); | ||
| 32 | |||
| 33 | =head3 Results returned from an API call | ||
| 34 | |||
| 35 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConnect::AddMediaStreamRequest object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->Attributes | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | The media stream that you want to add to the flow. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Attributes => L<Paws::MediaConnect::MediaStreamAttributesRequest> | ||
| 48 | |||
| 49 | The attributes that you want to assign to the new media stream. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 ClockRate => Int | ||
| 53 | |||
| 54 | The sample rate (in Hz) for the stream. If the media stream type is | ||
| 55 | video or ancillary data, set this value to 90000. If the media stream | ||
| 56 | type is audio, set this value to either 48000 or 96000. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Description => Str | ||
| 60 | |||
| 61 | A description that can help you quickly identify what your media stream | ||
| 62 | is used for. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> MediaStreamId => Int | ||
| 66 | |||
| 67 | A unique identifier for the media stream. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> MediaStreamName => Str | ||
| 71 | |||
| 72 | A name that helps you distinguish one media stream from another. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> MediaStreamType => Str | ||
| 76 | |||
| 77 | The type of media stream. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 VideoFormat => Str | ||
| 81 | |||
| 82 | The resolution of the video. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |