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

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Chime::PutVoiceConnectorProxy;
3 use Moose;
4 has DefaultSessionExpiryMinutes => (is => 'ro', isa => 'Int', required => 1);
5 has Disabled => (is => 'ro', isa => 'Bool');
6 has FallBackPhoneNumber => (is => 'ro', isa => 'Str');
7 has PhoneNumberPoolCountries => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
8 has VoiceConnectorId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'voiceConnectorId', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutVoiceConnectorProxy');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Chime::PutVoiceConnectorProxyResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Chime::PutVoiceConnectorProxy - Arguments for method PutVoiceConnectorProxy on L<Paws::Chime>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method PutVoiceConnectorProxy on the
27 L<Amazon Chime|Paws::Chime> service. Use the attributes of this class
28 as arguments to method PutVoiceConnectorProxy.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutVoiceConnectorProxy.
31  
32 =head1 SYNOPSIS
33  
34 my $chime = Paws->service('Chime');
35 my $PutVoiceConnectorProxyResponse = $chime->PutVoiceConnectorProxy(
36 DefaultSessionExpiryMinutes => 1,
37 PhoneNumberPoolCountries => [ 'MyCountry', ... ],
38 VoiceConnectorId => 'MyNonEmptyString128',
39 Disabled => 1, # OPTIONAL
40 FallBackPhoneNumber => 'MyE164PhoneNumber', # OPTIONAL
41 );
42  
43 # Results:
44 my $Proxy = $PutVoiceConnectorProxyResponse->Proxy;
45  
46 # Returns a L<Paws::Chime::PutVoiceConnectorProxyResponse> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/chime/PutVoiceConnectorProxy>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> DefaultSessionExpiryMinutes => Int
55  
56 The default number of minutes allowed for proxy sessions.
57  
58  
59  
60 =head2 Disabled => Bool
61  
62 When true, stops proxy sessions from being created on the specified
63 Amazon Chime Voice Connector.
64  
65  
66  
67 =head2 FallBackPhoneNumber => Str
68  
69 The phone number to route calls to after a proxy session expires.
70  
71  
72  
73 =head2 B<REQUIRED> PhoneNumberPoolCountries => ArrayRef[Str|Undef]
74  
75 The countries for proxy phone numbers to be selected from.
76  
77  
78  
79 =head2 B<REQUIRED> VoiceConnectorId => Str
80  
81 The Amazon Chime voice connector ID.
82  
83  
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, documenting arguments for method PutVoiceConnectorProxy in L<Paws::Chime>
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