« blib/lib/Paws/Organizations/ListRootsResponse.pm
↑ Summary
blib/lib/Paws/Organizations/ListTagsForResourceResponse.pm »
| 1 | |||
| 2 | package Paws::Organizations::ListTagsForResource; | ||
| 3 | use Moose; | ||
| 4 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 5 | has ResourceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTagsForResource'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::ListTagsForResourceResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::Organizations::ListTagsForResource - Arguments for method ListTagsForResource on L<Paws::Organizations> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method ListTagsForResource on the | ||
| 23 | L<AWS Organizations|Paws::Organizations> service. Use the attributes of this class | ||
| 24 | as arguments to method ListTagsForResource. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTagsForResource. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $organizations = Paws->service('Organizations'); | ||
| 31 | my $ListTagsForResourceResponse = $organizations->ListTagsForResource( | ||
| 32 | ResourceId => 'MyTaggableResourceId', | ||
| 33 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 34 | ); | ||
| 35 | |||
| 36 | # Results: | ||
| 37 | my $NextToken = $ListTagsForResourceResponse->NextToken; | ||
| 38 | my $Tags = $ListTagsForResourceResponse->Tags; | ||
| 39 | |||
| 40 | # Returns a L<Paws::Organizations::ListTagsForResourceResponse> object. | ||
| 41 | |||
| 42 | 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. | ||
| 43 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/organizations/ListTagsForResource> | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 NextToken => Str | ||
| 49 | |||
| 50 | The parameter for receiving additional results if you receive a | ||
| 51 | C<NextToken> response in a previous request. A C<NextToken> response | ||
| 52 | indicates that more output is available. Set this parameter to the | ||
| 53 | value of the previous call's C<NextToken> response to indicate where | ||
| 54 | the output should continue from. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> ResourceId => Str | ||
| 59 | |||
| 60 | The ID of the resource with the tags to list. | ||
| 61 | |||
| 62 | You can specify any of the following taggable resources. | ||
| 63 | |||
| 64 | =over | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | AWS account E<ndash> specify the account ID number. | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | Organizational unit E<ndash> specify the OU ID that begins with C<ou-> | ||
| 73 | and looks similar to: C<ou-I<1a2b-34uvwxyz>> | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | Root E<ndash> specify the root ID that begins with C<r-> and looks | ||
| 78 | similar to: C<r-I<1a2b>> | ||
| 79 | |||
| 80 | =item * | ||
| 81 | |||
| 82 | Policy E<ndash> specify the policy ID that begins with C<p-> andlooks | ||
| 83 | similar to: C<p-I<12abcdefg3>> | ||
| 84 | |||
| 85 | =back | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, documenting arguments for method ListTagsForResource in L<Paws::Organizations> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut | ||
| 102 |