| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IAM::InstanceProfile; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has Arn => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | 1 | has CreateDate => (is => 'ro', isa => 'Str', required => 1); | |
| 6 | 1 | has InstanceProfileId => (is => 'ro', isa => 'Str', required => 1); | |
| 7 | 1 | has InstanceProfileName => (is => 'ro', isa => 'Str', required => 1); | |
| 8 | 1 | has Path => (is => 'ro', isa => 'Str', required => 1); | |
| 9 | 1 | has Roles => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Role]', required => 1); | |
| 10 | 1 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]'); | |
| 11 | |||
| 12 | 1 | 1; | |
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::IAM::InstanceProfile | ||
| 19 | |||
| 20 | =head1 USAGE | ||
| 21 | |||
| 22 | This class represents one of two things: | ||
| 23 | |||
| 24 | =head3 Arguments in a call to a service | ||
| 25 | |||
| 26 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 27 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 28 | |||
| 29 | As an example, if Att1 is expected to be a Paws::IAM::InstanceProfile object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value }); | ||
| 32 | |||
| 33 | =head3 Results returned from an API call | ||
| 34 | |||
| 35 | Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::InstanceProfile object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->Arn | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | Contains information about an instance profile. | ||
| 43 | |||
| 44 | This data type is used as a response element in the following | ||
| 45 | operations: | ||
| 46 | |||
| 47 | =over | ||
| 48 | |||
| 49 | =item * | ||
| 50 | |||
| 51 | CreateInstanceProfile | ||
| 52 | |||
| 53 | =item * | ||
| 54 | |||
| 55 | GetInstanceProfile | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | ListInstanceProfiles | ||
| 60 | |||
| 61 | =item * | ||
| 62 | |||
| 63 | ListInstanceProfilesForRole | ||
| 64 | |||
| 65 | =back | ||
| 66 | |||
| 67 | |||
| 68 | =head1 ATTRIBUTES | ||
| 69 | |||
| 70 | |||
| 71 | =head2 B<REQUIRED> Arn => Str | ||
| 72 | |||
| 73 | The Amazon Resource Name (ARN) specifying the instance profile. For | ||
| 74 | more information about ARNs and how to use them in policies, see IAM | ||
| 75 | identifiers | ||
| 76 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) | ||
| 77 | in the I<IAM User Guide>. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> CreateDate => Str | ||
| 81 | |||
| 82 | The date when the instance profile was created. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> InstanceProfileId => Str | ||
| 86 | |||
| 87 | The stable and unique string identifying the instance profile. For more | ||
| 88 | information about IDs, see IAM identifiers | ||
| 89 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) | ||
| 90 | in the I<IAM User Guide>. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 B<REQUIRED> InstanceProfileName => Str | ||
| 94 | |||
| 95 | The name identifying the instance profile. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 B<REQUIRED> Path => Str | ||
| 99 | |||
| 100 | The path to the instance profile. For more information about paths, see | ||
| 101 | IAM identifiers | ||
| 102 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) | ||
| 103 | in the I<IAM User Guide>. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 B<REQUIRED> Roles => ArrayRef[L<Paws::IAM::Role>] | ||
| 107 | |||
| 108 | The role associated with the instance profile. | ||
| 109 | |||
| 110 | |||
| 111 | =head2 Tags => ArrayRef[L<Paws::IAM::Tag>] | ||
| 112 | |||
| 113 | A list of tags that are attached to the instance profile. For more | ||
| 114 | information about tagging, see Tagging IAM resources | ||
| 115 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the | ||
| 116 | I<IAM User Guide>. | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, describing an object used in L<Paws::IAM> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 | |||