| 1 | |||
| 2 | package Paws::IAM::GetUserPolicyResponse; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has PolicyDocument => (is => 'ro', isa => 'Str', decode_as => 'URLJSON', method => 'Policy', traits => ['JSONAttribute',], required => 1); | |
| 5 | 1 | has PolicyName => (is => 'ro', isa => 'Str', required => 1); | |
| 6 | 1 | has UserName => (is => 'ro', isa => 'Str', required => 1); | |
| 7 | |||
| 8 | 1 | has _request_id => (is => 'ro', isa => 'Str'); | |
| 9 | 1 | 1; | |
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IAM::GetUserPolicyResponse | ||
| 16 | |||
| 17 | =head1 ATTRIBUTES | ||
| 18 | |||
| 19 | |||
| 20 | =head2 B<REQUIRED> PolicyDocument => Str | ||
| 21 | |||
| 22 | The policy document. | ||
| 23 | |||
| 24 | IAM stores policies in JSON format. However, resources that were | ||
| 25 | created using AWS CloudFormation templates can be formatted in YAML. | ||
| 26 | AWS CloudFormation always converts a YAML policy to JSON format before | ||
| 27 | submitting it to IAM. | ||
| 28 | |||
| 29 | |||
| 30 | =head2 B<REQUIRED> PolicyName => Str | ||
| 31 | |||
| 32 | The name of the policy. | ||
| 33 | |||
| 34 | |||
| 35 | =head2 B<REQUIRED> UserName => Str | ||
| 36 | |||
| 37 | The user the policy is associated with. | ||
| 38 | |||
| 39 | |||
| 40 | =head2 _request_id => Str | ||
| 41 | |||
| 42 | |||
| 43 | =cut | ||
| 44 | |||