« blib/lib/Paws/Quicksight/RenameColumnOperation.pm
↑ Summary
blib/lib/Paws/Quicksight/RestoreAnalysis.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Quicksight::ResourcePermission; | ||
| 3 | use Moose; | ||
| 4 | has Actions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 5 | has Principal => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Quicksight::ResourcePermission | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Quicksight::ResourcePermission object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Actions => $value, ..., Principal => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Quicksight::ResourcePermission object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Actions | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Permission for the resource. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 B<REQUIRED> Actions => ArrayRef[Str|Undef] | ||
| 43 | |||
| 44 | The IAM action to grant or revoke permissions on. | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> Principal => Str | ||
| 48 | |||
| 49 | The Amazon Resource Name (ARN) of the principal. This can be one of the | ||
| 50 | following: | ||
| 51 | |||
| 52 | =over | ||
| 53 | |||
| 54 | =item * | ||
| 55 | |||
| 56 | The ARN of an Amazon QuickSight user or group associated with a data | ||
| 57 | source or dataset. (This is common.) | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | The ARN of an Amazon QuickSight user, group, or namespace associated | ||
| 62 | with an analysis, dashboard, template, or theme. (This is common.) | ||
| 63 | |||
| 64 | =item * | ||
| 65 | |||
| 66 | The ARN of an AWS account root: This is an IAM ARN rather than a | ||
| 67 | QuickSight ARN. Use this option only to share resources (templates) | ||
| 68 | across AWS accounts. (This is less common.) | ||
| 69 | |||
| 70 | =back | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head1 SEE ALSO | ||
| 76 | |||
| 77 | This class forms part of L<Paws>, describing an object used in L<Paws::Quicksight> | ||
| 78 | |||
| 79 | =head1 BUGS and CONTRIBUTIONS | ||
| 80 | |||
| 81 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 82 | |||
| 83 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 84 | |||
| 85 | =cut | ||
| 86 |