| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Macie2::SessionIssuer; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest']); | ||
| 5 | has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']); | ||
| 6 | has PrincipalId => (is => 'ro', isa => 'Str', request_name => 'principalId', traits => ['NameInRequest']); | ||
| 7 | has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']); | ||
| 8 | has UserName => (is => 'ro', isa => 'Str', request_name => 'userName', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Macie2::SessionIssuer | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::Macie2::SessionIssuer object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { AccountId => $value, ..., UserName => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::SessionIssuer object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->AccountId | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Provides information about the source and type of temporary security | ||
| 41 | credentials that were issued to an entity. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 AccountId => Str | ||
| 47 | |||
| 48 | The unique identifier for the Amazon Web Services account that owns the | ||
| 49 | entity that was used to get the credentials. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Arn => Str | ||
| 53 | |||
| 54 | The Amazon Resource Name (ARN) of the source account, IAM user, or role | ||
| 55 | that was used to get the credentials. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 PrincipalId => Str | ||
| 59 | |||
| 60 | The unique identifier for the entity that was used to get the | ||
| 61 | credentials. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 Type => Str | ||
| 65 | |||
| 66 | The source of the temporary security credentials, such as Root, | ||
| 67 | IAMUser, or Role. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 UserName => Str | ||
| 71 | |||
| 72 | The name or alias of the user or role that issued the session. This | ||
| 73 | value is null if the credentials were obtained from a root account that | ||
| 74 | doesn't have an alias. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, describing an object used in L<Paws::Macie2> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |