blib/lib/Paws/Chime/SipRule.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Chime::SipRule;
3 use Moose;
4 has CreatedTimestamp => (is => 'ro', isa => 'Str');
5 has Disabled => (is => 'ro', isa => 'Bool');
6 has Name => (is => 'ro', isa => 'Str');
7 has SipRuleId => (is => 'ro', isa => 'Str');
8 has TargetApplications => (is => 'ro', isa => 'ArrayRef[Paws::Chime::SipRuleTargetApplication]');
9 has TriggerType => (is => 'ro', isa => 'Str');
10 has TriggerValue => (is => 'ro', isa => 'Str');
11 has UpdatedTimestamp => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Chime::SipRule
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::Chime::SipRule object:
31  
32 $service_obj->Method(Att1 => { CreatedTimestamp => $value, ..., UpdatedTimestamp => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::Chime::SipRule object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->CreatedTimestamp
40  
41 =head1 DESCRIPTION
42  
43 The SIP rule details, including name, triggers, and target
44 applications. An AWS account can have multiple SIP rules.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 CreatedTimestamp => Str
50  
51 The time at which the SIP rule was created, in ISO 8601 format.
52  
53  
54 =head2 Disabled => Bool
55  
56 Indicates whether the SIP rule is enabled or disabled. You must disable
57 a rule before you can delete it.
58  
59  
60 =head2 Name => Str
61  
62 The name of the SIP rule.
63  
64  
65 =head2 SipRuleId => Str
66  
67 The SIP rule ID.
68  
69  
70 =head2 TargetApplications => ArrayRef[L<Paws::Chime::SipRuleTargetApplication>]
71  
72 Target SIP media application and other details, such as priority and
73 AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS
74 Region can be provided.
75  
76  
77 =head2 TriggerType => Str
78  
79 The type of trigger assigned to the SIP rule in C<TriggerValue>,
80 currently C<RequestUriHostname> or C<ToPhoneNumber>.
81  
82  
83 =head2 TriggerValue => Str
84  
85 If C<TriggerType> is C<RequestUriHostname>, then the value can be the
86 outbound host name of the Amazon Chime Voice Connector. If
87 C<TriggerType> is C<ToPhoneNumber>, then the value can be a
88 customer-owned phone number in E164 format. C<SipRule> is triggered
89 when a SIP rule requests host name or C<ToPhoneNumber> matches in the
90 incoming SIP request.
91  
92  
93 =head2 UpdatedTimestamp => Str
94  
95 The time at which the SIP rule was last updated, in ISO 8601 format.
96  
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, describing an object used in L<Paws::Chime>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110