| 1 | package Net::Amazon::IAM::PolicyVersion; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | =head1 NAME | ||
| 5 | |||
| 6 | Net::Amazon::IAM::PolicyVersion | ||
| 7 | |||
| 8 | =head1 DESCRIPTION | ||
| 9 | |||
| 10 | Contains information about a version of a managed policy. | ||
| 11 | |||
| 12 | =head1 ATTRIBUTES | ||
| 13 | |||
| 14 | =over | ||
| 15 | |||
| 16 | =item CreateDate (optional) | ||
| 17 | |||
| 18 | The date and time, in ISO 8601 date-time format, when the policy version was created. | ||
| 19 | |||
| 20 | =item Document (optional) | ||
| 21 | |||
| 22 | The policy document. | ||
| 23 | |||
| 24 | =item IsDefaultVersion (optional) | ||
| 25 | |||
| 26 | Specifies whether the policy version is set as the policy's default version. | ||
| 27 | |||
| 28 | =item VersionId (optional) | ||
| 29 | |||
| 30 | The identifier for the policy version. | ||
| 31 | |||
| 32 | =back | ||
| 33 | |||
| 34 | =cut | ||
| 35 | |||
| 36 | 1 | has 'CreateDate' => ( | |
| 37 | is => 'ro', | ||
| 38 | isa => 'Maybe[Str]', | ||
| 39 | required => 0, | ||
| 40 | ); | ||
| 41 | |||
| 42 | 1 | has 'Document' => ( | |
| 43 | is => 'ro', | ||
| 44 | isa => 'Maybe[HashRef]', | ||
| 45 | required => 0, | ||
| 46 | ); | ||
| 47 | |||
| 48 | 1 | has 'IsDefaultVersion' => ( | |
| 49 | is => 'ro', | ||
| 50 | isa => 'Maybe[Str]', | ||
| 51 | required => 0, | ||
| 52 | ); | ||
| 53 | |||
| 54 | 1 | has 'VersionId' => ( | |
| 55 | is => 'ro', | ||
| 56 | isa => 'Maybe[Str]', | ||
| 57 | required => 0, | ||
| 58 | ); | ||
| 59 | |||
| 60 | 1 | __PACKAGE__->meta->make_immutable(); | |
| 61 | |||
| 62 | =head1 AUTHOR | ||
| 63 | |||
| 64 | Igor Tsigankov <tsiganenok@gmail.com> | ||
| 65 | |||
| 66 | =head1 COPYRIGHT | ||
| 67 | |||
| 68 | Copyright (c) 2015 Igor Tsigankov . This program is free software; you can redistribute it and/or modify it | ||
| 69 | under the same terms as Perl itself. | ||
| 70 | |||
| 71 | =cut | ||
| 72 | |||
| 73 | 1 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 74 | 1 | 1; | |