« blib/lib/Paws/CodeStar/CreateProjectResult.pm
↑ Summary
blib/lib/Paws/CodeStar/CreateUserProfileResult.pm »
| 1 | |||
| 2 | package Paws::CodeStar::CreateUserProfile; | ||
| 3 | use Moose; | ||
| 4 | has DisplayName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'displayName' , required => 1); | ||
| 5 | has EmailAddress => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'emailAddress' , required => 1); | ||
| 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 => 'CreateUserProfile'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeStar::CreateUserProfileResult'); | ||
| 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::CreateUserProfile - Arguments for method CreateUserProfile on L<Paws::CodeStar> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateUserProfile on the | ||
| 25 | L<AWS CodeStar|Paws::CodeStar> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateUserProfile. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUserProfile. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $codestar = Paws->service('CodeStar'); | ||
| 33 | my $CreateUserProfileResult = $codestar->CreateUserProfile( | ||
| 34 | DisplayName => 'MyUserProfileDisplayName', | ||
| 35 | EmailAddress => 'MyEmail', | ||
| 36 | UserArn => 'MyUserArn', | ||
| 37 | SshPublicKey => 'MySshPublicKey', # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $CreatedTimestamp = $CreateUserProfileResult->CreatedTimestamp; | ||
| 42 | my $DisplayName = $CreateUserProfileResult->DisplayName; | ||
| 43 | my $EmailAddress = $CreateUserProfileResult->EmailAddress; | ||
| 44 | my $LastModifiedTimestamp = $CreateUserProfileResult->LastModifiedTimestamp; | ||
| 45 | my $SshPublicKey = $CreateUserProfileResult->SshPublicKey; | ||
| 46 | my $UserArn = $CreateUserProfileResult->UserArn; | ||
| 47 | |||
| 48 | # Returns a L<Paws::CodeStar::CreateUserProfileResult> 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/CreateUserProfile> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> DisplayName => Str | ||
| 57 | |||
| 58 | The name that will be displayed as the friendly name for the user in | ||
| 59 | AWS CodeStar. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> EmailAddress => Str | ||
| 64 | |||
| 65 | The email address that will be displayed as part of the user's profile | ||
| 66 | in 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 Amazon Resource Name (ARN) of the user in IAM. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method CreateUserProfile in L<Paws::CodeStar> | ||
| 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 |