« blib/lib/Paws/MediaConnect/UpdateFlowResponse.pm
↑ Summary
blib/lib/Paws/MediaConnect/UpdateFlowSourceResponse.pm »
| 1 | |||
| 2 | package Paws::MediaConnect::UpdateFlowSource; | ||
| 3 | use Moose; | ||
| 4 | has Decryption => (is => 'ro', isa => 'Paws::MediaConnect::UpdateEncryption', traits => ['NameInRequest'], request_name => 'decryption'); | ||
| 5 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 6 | has EntitlementArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'entitlementArn'); | ||
| 7 | has FlowArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'flowArn', required => 1); | ||
| 8 | has IngestPort => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'ingestPort'); | ||
| 9 | has MaxBitrate => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxBitrate'); | ||
| 10 | has MaxLatency => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxLatency'); | ||
| 11 | has MaxSyncBuffer => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxSyncBuffer'); | ||
| 12 | has MediaStreamSourceConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::MediaConnect::MediaStreamSourceConfigurationRequest]', traits => ['NameInRequest'], request_name => 'mediaStreamSourceConfigurations'); | ||
| 13 | has MinLatency => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'minLatency'); | ||
| 14 | has Protocol => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'protocol'); | ||
| 15 | has SourceArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'sourceArn', required => 1); | ||
| 16 | has StreamId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'streamId'); | ||
| 17 | has VpcInterfaceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'vpcInterfaceName'); | ||
| 18 | has WhitelistCidr => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'whitelistCidr'); | ||
| 19 | |||
| 20 | use MooseX::ClassAttribute; | ||
| 21 | |||
| 22 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFlowSource'); | ||
| 23 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/flows/{flowArn}/source/{sourceArn}'); | ||
| 24 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 25 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaConnect::UpdateFlowSourceResponse'); | ||
| 26 | 1; | ||
| 27 | |||
| 28 | ### main pod documentation begin ### | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Paws::MediaConnect::UpdateFlowSource - Arguments for method UpdateFlowSource on L<Paws::MediaConnect> | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | This class represents the parameters used for calling the method UpdateFlowSource on the | ||
| 37 | L<AWS MediaConnect|Paws::MediaConnect> service. Use the attributes of this class | ||
| 38 | as arguments to method UpdateFlowSource. | ||
| 39 | |||
| 40 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFlowSource. | ||
| 41 | |||
| 42 | =head1 SYNOPSIS | ||
| 43 | |||
| 44 | my $mediaconnect = Paws->service('MediaConnect'); | ||
| 45 | my $UpdateFlowSourceResponse = $mediaconnect->UpdateFlowSource( | ||
| 46 | FlowArn => 'My__string', | ||
| 47 | SourceArn => 'My__string', | ||
| 48 | Decryption => { | ||
| 49 | Algorithm => 'aes128', # values: aes128, aes192, aes256; OPTIONAL | ||
| 50 | ConstantInitializationVector => 'My__string', | ||
| 51 | DeviceId => 'My__string', | ||
| 52 | KeyType => 'speke', # values: speke, static-key, srt-password; OPTIONAL | ||
| 53 | Region => 'My__string', | ||
| 54 | ResourceId => 'My__string', | ||
| 55 | RoleArn => 'My__string', | ||
| 56 | SecretArn => 'My__string', | ||
| 57 | Url => 'My__string', | ||
| 58 | }, # OPTIONAL | ||
| 59 | Description => 'My__string', # OPTIONAL | ||
| 60 | EntitlementArn => 'My__string', # OPTIONAL | ||
| 61 | IngestPort => 1, # OPTIONAL | ||
| 62 | MaxBitrate => 1, # OPTIONAL | ||
| 63 | MaxLatency => 1, # OPTIONAL | ||
| 64 | MaxSyncBuffer => 1, # OPTIONAL | ||
| 65 | MediaStreamSourceConfigurations => [ | ||
| 66 | { | ||
| 67 | EncodingName => 'jxsv', # values: jxsv, raw, smpte291, pcm | ||
| 68 | MediaStreamName => 'My__string', | ||
| 69 | InputConfigurations => [ | ||
| 70 | { | ||
| 71 | InputPort => 1, | ||
| 72 | Interface => { | ||
| 73 | Name => 'My__string', | ||
| 74 | |||
| 75 | }, | ||
| 76 | |||
| 77 | }, | ||
| 78 | ... | ||
| 79 | ], # OPTIONAL | ||
| 80 | }, | ||
| 81 | ... | ||
| 82 | ], # OPTIONAL | ||
| 83 | MinLatency => 1, # OPTIONAL | ||
| 84 | Protocol => 'zixi-push', # OPTIONAL | ||
| 85 | StreamId => 'My__string', # OPTIONAL | ||
| 86 | VpcInterfaceName => 'My__string', # OPTIONAL | ||
| 87 | WhitelistCidr => 'My__string', # OPTIONAL | ||
| 88 | ); | ||
| 89 | |||
| 90 | # Results: | ||
| 91 | my $FlowArn = $UpdateFlowSourceResponse->FlowArn; | ||
| 92 | my $Source = $UpdateFlowSourceResponse->Source; | ||
| 93 | |||
| 94 | # Returns a L<Paws::MediaConnect::UpdateFlowSourceResponse> object. | ||
| 95 | |||
| 96 | 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. | ||
| 97 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconnect/UpdateFlowSource> | ||
| 98 | |||
| 99 | =head1 ATTRIBUTES | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Decryption => L<Paws::MediaConnect::UpdateEncryption> | ||
| 103 | |||
| 104 | The type of encryption used on the content ingested from this source. | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head2 Description => Str | ||
| 109 | |||
| 110 | A description for the source. This value is not used or seen outside of | ||
| 111 | the current AWS Elemental MediaConnect account. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 EntitlementArn => Str | ||
| 116 | |||
| 117 | The ARN of the entitlement that allows you to subscribe to this flow. | ||
| 118 | The entitlement is set by the flow originator, and the ARN is generated | ||
| 119 | as part of the originator's flow. | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head2 B<REQUIRED> FlowArn => Str | ||
| 124 | |||
| 125 | The flow that is associated with the source that you want to update. | ||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | =head2 IngestPort => Int | ||
| 130 | |||
| 131 | The port that the flow will be listening on for incoming content. | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head2 MaxBitrate => Int | ||
| 136 | |||
| 137 | The smoothing max bitrate for RIST, RTP, and RTP-FEC streams. | ||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head2 MaxLatency => Int | ||
| 142 | |||
| 143 | The maximum latency in milliseconds. This parameter applies only to | ||
| 144 | RIST-based and Zixi-based streams. | ||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | =head2 MaxSyncBuffer => Int | ||
| 149 | |||
| 150 | The size of the buffer (in milliseconds) to use to sync incoming source | ||
| 151 | data. | ||
| 152 | |||
| 153 | |||
| 154 | |||
| 155 | =head2 MediaStreamSourceConfigurations => ArrayRef[L<Paws::MediaConnect::MediaStreamSourceConfigurationRequest>] | ||
| 156 | |||
| 157 | The media streams that are associated with the source, and the | ||
| 158 | parameters for those associations. | ||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | =head2 MinLatency => Int | ||
| 163 | |||
| 164 | The minimum latency in milliseconds for SRT-based streams. In streams | ||
| 165 | that use the SRT protocol, this value that you set on your MediaConnect | ||
| 166 | source or output represents the minimal potential latency of that | ||
| 167 | connection. The latency of the stream is set to the highest number | ||
| 168 | between the senderE<rsquo>s minimum latency and the receiverE<rsquo>s | ||
| 169 | minimum latency. | ||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | =head2 Protocol => Str | ||
| 174 | |||
| 175 | The protocol that is used by the source. | ||
| 176 | |||
| 177 | Valid values are: C<"zixi-push">, C<"rtp-fec">, C<"rtp">, C<"zixi-pull">, C<"rist">, C<"st2110-jpegxs">, C<"cdi">, C<"srt-listener"> | ||
| 178 | |||
| 179 | =head2 B<REQUIRED> SourceArn => Str | ||
| 180 | |||
| 181 | The ARN of the source that you want to update. | ||
| 182 | |||
| 183 | |||
| 184 | |||
| 185 | =head2 StreamId => Str | ||
| 186 | |||
| 187 | The stream ID that you want to use for this transport. This parameter | ||
| 188 | applies only to Zixi-based streams. | ||
| 189 | |||
| 190 | |||
| 191 | |||
| 192 | =head2 VpcInterfaceName => Str | ||
| 193 | |||
| 194 | The name of the VPC interface to use for this source. | ||
| 195 | |||
| 196 | |||
| 197 | |||
| 198 | =head2 WhitelistCidr => Str | ||
| 199 | |||
| 200 | The range of IP addresses that should be allowed to contribute content | ||
| 201 | to your source. These IP addresses should be in the form of a Classless | ||
| 202 | Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. | ||
| 203 | |||
| 204 | |||
| 205 | |||
| 206 | |||
| 207 | =head1 SEE ALSO | ||
| 208 | |||
| 209 | This class forms part of L<Paws>, documenting arguments for method UpdateFlowSource in L<Paws::MediaConnect> | ||
| 210 | |||
| 211 | =head1 BUGS and CONTRIBUTIONS | ||
| 212 | |||
| 213 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 214 | |||
| 215 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 216 | |||
| 217 | =cut | ||
| 218 |