blib/lib/Paws/CodeStar/UpdateUserProfile.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeStar::UpdateUserProfile;
3 use Moose;
4 has DisplayName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'displayName' );
5 has EmailAddress => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'emailAddress' );
6 has SshPublicKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sshPublicKey' );
7 has UserArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'userArn' , required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateUserProfile');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeStar::UpdateUserProfileResult');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CodeStar::UpdateUserProfile - Arguments for method UpdateUserProfile on L<Paws::CodeStar>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateUserProfile on the
25 L<AWS CodeStar|Paws::CodeStar> service. Use the attributes of this class
26 as arguments to method UpdateUserProfile.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateUserProfile.
29  
30 =head1 SYNOPSIS
31  
32 my $codestar = Paws->service('CodeStar');
33 my $UpdateUserProfileResult = $codestar->UpdateUserProfile(
34 UserArn => 'MyUserArn',
35 DisplayName => 'MyUserProfileDisplayName', # OPTIONAL
36 EmailAddress => 'MyEmail', # OPTIONAL
37 SshPublicKey => 'MySshPublicKey', # OPTIONAL
38 );
39  
40 # Results:
41 my $CreatedTimestamp = $UpdateUserProfileResult->CreatedTimestamp;
42 my $DisplayName = $UpdateUserProfileResult->DisplayName;
43 my $EmailAddress = $UpdateUserProfileResult->EmailAddress;
44 my $LastModifiedTimestamp = $UpdateUserProfileResult->LastModifiedTimestamp;
45 my $SshPublicKey = $UpdateUserProfileResult->SshPublicKey;
46 my $UserArn = $UpdateUserProfileResult->UserArn;
47  
48 # Returns a L<Paws::CodeStar::UpdateUserProfileResult> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codestar/UpdateUserProfile>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 DisplayName => Str
57  
58 The name that is displayed as the friendly name for the user in AWS
59 CodeStar.
60  
61  
62  
63 =head2 EmailAddress => Str
64  
65 The email address that is displayed as part of the user's profile in
66 AWS CodeStar.
67  
68  
69  
70 =head2 SshPublicKey => Str
71  
72 The SSH public key associated with the user in AWS CodeStar. If a
73 project owner allows the user remote access to project resources, this
74 public key will be used along with the user's private key for SSH
75 access.
76  
77  
78  
79 =head2 B<REQUIRED> UserArn => Str
80  
81 The name that will be displayed as the friendly name for the user in
82 AWS CodeStar.
83  
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, documenting arguments for method UpdateUserProfile in L<Paws::CodeStar>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98