blib/lib/Paws/AlexaForBusiness/CreateUser.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AlexaForBusiness::CreateUser;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str');
5 has Email => (is => 'ro', isa => 'Str');
6 has FirstName => (is => 'ro', isa => 'Str');
7 has LastName => (is => 'ro', isa => 'Str');
8 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Tag]');
9 has UserId => (is => 'ro', isa => 'Str', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateUser');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::CreateUserResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AlexaForBusiness::CreateUser - Arguments for method CreateUser on L<Paws::AlexaForBusiness>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateUser on the
27 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
28 as arguments to method CreateUser.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUser.
31  
32 =head1 SYNOPSIS
33  
34 my $a4b = Paws->service('AlexaForBusiness');
35 my $CreateUserResponse = $a4b->CreateUser(
36 UserId => 'Myuser_UserId',
37 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
38 Email => 'MyEmail', # OPTIONAL
39 FirstName => 'Myuser_FirstName', # OPTIONAL
40 LastName => 'Myuser_LastName', # OPTIONAL
41 Tags => [
42 {
43 Key => 'MyTagKey', # min: 1, max: 128
44 Value => 'MyTagValue', # max: 256
45  
46 },
47 ...
48 ], # OPTIONAL
49 );
50  
51 # Results:
52 my $UserArn = $CreateUserResponse->UserArn;
53  
54 # Returns a L<Paws::AlexaForBusiness::CreateUserResponse> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/CreateUser>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 ClientRequestToken => Str
63  
64 A unique, user-specified identifier for this request that ensures
65 idempotency.
66  
67  
68  
69 =head2 Email => Str
70  
71 The email address for the user.
72  
73  
74  
75 =head2 FirstName => Str
76  
77 The first name for the user.
78  
79  
80  
81 =head2 LastName => Str
82  
83 The last name for the user.
84  
85  
86  
87 =head2 Tags => ArrayRef[L<Paws::AlexaForBusiness::Tag>]
88  
89 The tags for the user.
90  
91  
92  
93 =head2 B<REQUIRED> UserId => Str
94  
95 The ARN for the user.
96  
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, documenting arguments for method CreateUser in L<Paws::AlexaForBusiness>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111