blib/lib/Paws/MediaConnect/Source.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConnect::Source;
3 use Moose;
4 has DataTransferSubscriberFeePercent => (is => 'ro', isa => 'Int', request_name => 'dataTransferSubscriberFeePercent', traits => ['NameInRequest']);
5 has Decryption => (is => 'ro', isa => 'Paws::MediaConnect::Encryption', request_name => 'decryption', traits => ['NameInRequest']);
6 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
7 has EntitlementArn => (is => 'ro', isa => 'Str', request_name => 'entitlementArn', traits => ['NameInRequest']);
8 has IngestIp => (is => 'ro', isa => 'Str', request_name => 'ingestIp', traits => ['NameInRequest']);
9 has IngestPort => (is => 'ro', isa => 'Int', request_name => 'ingestPort', traits => ['NameInRequest']);
10 has MediaStreamSourceConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::MediaConnect::MediaStreamSourceConfiguration]', request_name => 'mediaStreamSourceConfigurations', traits => ['NameInRequest']);
11 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
12 has SourceArn => (is => 'ro', isa => 'Str', request_name => 'sourceArn', traits => ['NameInRequest'], required => 1);
13 has Transport => (is => 'ro', isa => 'Paws::MediaConnect::Transport', request_name => 'transport', traits => ['NameInRequest']);
14 has VpcInterfaceName => (is => 'ro', isa => 'Str', request_name => 'vpcInterfaceName', traits => ['NameInRequest']);
15 has WhitelistCidr => (is => 'ro', isa => 'Str', request_name => 'whitelistCidr', traits => ['NameInRequest']);
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::MediaConnect::Source
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::MediaConnect::Source object:
35  
36 $service_obj->Method(Att1 => { DataTransferSubscriberFeePercent => $value, ..., WhitelistCidr => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConnect::Source object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->DataTransferSubscriberFeePercent
44  
45 =head1 DESCRIPTION
46  
47 The settings for the source of the flow.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 DataTransferSubscriberFeePercent => Int
53  
54 Percentage from 0-100 of the data transfer cost to be billed to the
55 subscriber.
56  
57  
58 =head2 Decryption => L<Paws::MediaConnect::Encryption>
59  
60 The type of encryption that is used on the content ingested from this
61 source.
62  
63  
64 =head2 Description => Str
65  
66 A description for the source. This value is not used or seen outside of
67 the current AWS Elemental MediaConnect account.
68  
69  
70 =head2 EntitlementArn => Str
71  
72 The ARN of the entitlement that allows you to subscribe to content that
73 comes from another AWS account. The entitlement is set by the content
74 originator and the ARN is generated as part of the originator's flow.
75  
76  
77 =head2 IngestIp => Str
78  
79 The IP address that the flow will be listening on for incoming content.
80  
81  
82 =head2 IngestPort => Int
83  
84 The port that the flow will be listening on for incoming content.
85  
86  
87 =head2 MediaStreamSourceConfigurations => ArrayRef[L<Paws::MediaConnect::MediaStreamSourceConfiguration>]
88  
89 The media streams that are associated with the source, and the
90 parameters for those associations.
91  
92  
93 =head2 B<REQUIRED> Name => Str
94  
95 The name of the source.
96  
97  
98 =head2 B<REQUIRED> SourceArn => Str
99  
100 The ARN of the source.
101  
102  
103 =head2 Transport => L<Paws::MediaConnect::Transport>
104  
105 Attributes related to the transport stream that are used in the source.
106  
107  
108 =head2 VpcInterfaceName => Str
109  
110 The name of the VPC interface that is used for this source.
111  
112  
113 =head2 WhitelistCidr => Str
114  
115 The range of IP addresses that should be allowed to contribute content
116 to your source. These IP addresses should be in the form of a Classless
117 Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132