« blib/lib/Paws/MediaConnect/AddFlowMediaStreamsResponse.pm
↑ Summary
blib/lib/Paws/MediaConnect/AddFlowOutputsResponse.pm »
| 1 | |||
| 2 | package Paws::MediaConnect::AddFlowOutputs; | ||
| 3 | use Moose; | ||
| 4 | has FlowArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'flowArn', required => 1); | ||
| 5 | has Outputs => (is => 'ro', isa => 'ArrayRef[Paws::MediaConnect::AddOutputRequest]', traits => ['NameInRequest'], request_name => 'outputs', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddFlowOutputs'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/flows/{flowArn}/outputs'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaConnect::AddFlowOutputsResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::MediaConnect::AddFlowOutputs - Arguments for method AddFlowOutputs on L<Paws::MediaConnect> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method AddFlowOutputs on the | ||
| 24 | L<AWS MediaConnect|Paws::MediaConnect> service. Use the attributes of this class | ||
| 25 | as arguments to method AddFlowOutputs. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddFlowOutputs. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $mediaconnect = Paws->service('MediaConnect'); | ||
| 32 | my $AddFlowOutputsResponse = $mediaconnect->AddFlowOutputs( | ||
| 33 | FlowArn => 'My__string', | ||
| 34 | Outputs => [ | ||
| 35 | { | ||
| 36 | Protocol => 'zixi-push' | ||
| 37 | , # values: zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener | ||
| 38 | CidrAllowList => [ 'My__string', ... ], # OPTIONAL | ||
| 39 | Description => 'My__string', | ||
| 40 | Destination => 'My__string', | ||
| 41 | Encryption => { | ||
| 42 | RoleArn => 'My__string', | ||
| 43 | Algorithm => 'aes128', # values: aes128, aes192, aes256; OPTIONAL | ||
| 44 | ConstantInitializationVector => 'My__string', | ||
| 45 | DeviceId => 'My__string', | ||
| 46 | KeyType => | ||
| 47 | 'speke', # values: speke, static-key, srt-password; OPTIONAL | ||
| 48 | Region => 'My__string', | ||
| 49 | ResourceId => 'My__string', | ||
| 50 | SecretArn => 'My__string', | ||
| 51 | Url => 'My__string', | ||
| 52 | }, # OPTIONAL | ||
| 53 | MaxLatency => 1, # OPTIONAL | ||
| 54 | MediaStreamOutputConfigurations => [ | ||
| 55 | { | ||
| 56 | EncodingName => 'jxsv', # values: jxsv, raw, smpte291, pcm | ||
| 57 | MediaStreamName => 'My__string', | ||
| 58 | DestinationConfigurations => [ | ||
| 59 | { | ||
| 60 | DestinationIp => 'My__string', | ||
| 61 | DestinationPort => 1, # OPTIONAL | ||
| 62 | Interface => { | ||
| 63 | Name => 'My__string', | ||
| 64 | |||
| 65 | }, | ||
| 66 | |||
| 67 | }, | ||
| 68 | ... | ||
| 69 | ], # OPTIONAL | ||
| 70 | EncodingParameters => { | ||
| 71 | CompressionFactor => 1, | ||
| 72 | EncoderProfile => 'main', # values: main, high | ||
| 73 | |||
| 74 | }, # OPTIONAL | ||
| 75 | }, | ||
| 76 | ... | ||
| 77 | ], # OPTIONAL | ||
| 78 | MinLatency => 1, # OPTIONAL | ||
| 79 | Name => 'My__string', | ||
| 80 | Port => 1, # OPTIONAL | ||
| 81 | RemoteId => 'My__string', | ||
| 82 | SmoothingLatency => 1, # OPTIONAL | ||
| 83 | StreamId => 'My__string', | ||
| 84 | VpcInterfaceAttachment => { VpcInterfaceName => 'My__string', } | ||
| 85 | , # OPTIONAL | ||
| 86 | }, | ||
| 87 | ... | ||
| 88 | ], | ||
| 89 | |||
| 90 | ); | ||
| 91 | |||
| 92 | # Results: | ||
| 93 | my $FlowArn = $AddFlowOutputsResponse->FlowArn; | ||
| 94 | my $Outputs = $AddFlowOutputsResponse->Outputs; | ||
| 95 | |||
| 96 | # Returns a L<Paws::MediaConnect::AddFlowOutputsResponse> object. | ||
| 97 | |||
| 98 | 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. | ||
| 99 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconnect/AddFlowOutputs> | ||
| 100 | |||
| 101 | =head1 ATTRIBUTES | ||
| 102 | |||
| 103 | |||
| 104 | =head2 B<REQUIRED> FlowArn => Str | ||
| 105 | |||
| 106 | The flow that you want to add outputs to. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head2 B<REQUIRED> Outputs => ArrayRef[L<Paws::MediaConnect::AddOutputRequest>] | ||
| 111 | |||
| 112 | A list of outputs that you want to add. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | =head1 SEE ALSO | ||
| 118 | |||
| 119 | This class forms part of L<Paws>, documenting arguments for method AddFlowOutputs in L<Paws::MediaConnect> | ||
| 120 | |||
| 121 | =head1 BUGS and CONTRIBUTIONS | ||
| 122 | |||
| 123 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 124 | |||
| 125 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 126 | |||
| 127 | =cut | ||
| 128 |