blib/lib/Paws/Chime/CreateMeeting.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::CreateMeeting;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', required => 1);
5 has ExternalMeetingId => (is => 'ro', isa => 'Str');
6 has MediaRegion => (is => 'ro', isa => 'Str');
7 has MeetingHostId => (is => 'ro', isa => 'Str');
8 has NotificationsConfiguration => (is => 'ro', isa => 'Paws::Chime::MeetingNotificationConfiguration');
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Chime::Tag]');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateMeeting');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/meetings');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Chime::CreateMeetingResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Chime::CreateMeeting - Arguments for method CreateMeeting on L<Paws::Chime>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreateMeeting on the
28 L<Amazon Chime|Paws::Chime> service. Use the attributes of this class
29 as arguments to method CreateMeeting.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMeeting.
32  
33 =head1 SYNOPSIS
34  
35 my $chime = Paws->service('Chime');
36 my $CreateMeetingResponse = $chime->CreateMeeting(
37 ClientRequestToken => 'MyClientRequestToken',
38 ExternalMeetingId => 'MyExternalMeetingIdType', # OPTIONAL
39 MediaRegion => 'MyString', # OPTIONAL
40 MeetingHostId => 'MyExternalUserIdType', # OPTIONAL
41 NotificationsConfiguration => {
42 SnsTopicArn => 'MyArn', # min: 1, max: 1024; OPTIONAL
43 SqsQueueArn => 'MyArn', # min: 1, max: 1024; OPTIONAL
44 }, # OPTIONAL
45 Tags => [
46 {
47 Key => 'MyTagKey', # min: 1, max: 128
48 Value => 'MyTagValue', # min: 1, max: 256
49  
50 },
51 ...
52 ], # OPTIONAL
53 );
54  
55 # Results:
56 my $Meeting = $CreateMeetingResponse->Meeting;
57  
58 # Returns a L<Paws::Chime::CreateMeetingResponse> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/chime/CreateMeeting>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 B<REQUIRED> ClientRequestToken => Str
67  
68 The unique identifier for the client request. Use a different token for
69 different meetings.
70  
71  
72  
73 =head2 ExternalMeetingId => Str
74  
75 The external meeting ID.
76  
77  
78  
79 =head2 MediaRegion => Str
80  
81 The Region in which to create the meeting. Default: C<us-east-1>.
82  
83 Available values: C<af-south-1> , C<ap-northeast-1> , C<ap-northeast-2>
84 , C<ap-south-1> , C<ap-southeast-1> , C<ap-southeast-2> ,
85 C<ca-central-1> , C<eu-central-1> , C<eu-north-1> , C<eu-south-1> ,
86 C<eu-west-1> , C<eu-west-2> , C<eu-west-3> , C<sa-east-1> ,
87 C<us-east-1> , C<us-east-2> , C<us-west-1> , C<us-west-2> .
88  
89  
90  
91 =head2 MeetingHostId => Str
92  
93 Reserved.
94  
95  
96  
97 =head2 NotificationsConfiguration => L<Paws::Chime::MeetingNotificationConfiguration>
98  
99 The configuration for resource targets to receive notifications when
100 meeting and attendee events occur.
101  
102  
103  
104 =head2 Tags => ArrayRef[L<Paws::Chime::Tag>]
105  
106 The tag key-value pairs.
107  
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, documenting arguments for method CreateMeeting in L<Paws::Chime>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122