| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ACMPCA::Permission; | ||
| 3 | use Moose; | ||
| 4 | has Actions => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 5 | has CertificateAuthorityArn => (is => 'ro', isa => 'Str'); | ||
| 6 | has CreatedAt => (is => 'ro', isa => 'Str'); | ||
| 7 | has Policy => (is => 'ro', isa => 'Str'); | ||
| 8 | has Principal => (is => 'ro', isa => 'Str'); | ||
| 9 | has SourceAccount => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::ACMPCA::Permission | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::ACMPCA::Permission object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Actions => $value, ..., SourceAccount => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::ACMPCA::Permission object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Actions | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Permissions designate which private CA actions can be performed by an | ||
| 42 | AWS service or entity. In order for ACM to automatically renew private | ||
| 43 | certificates, you must give the ACM service principal all available | ||
| 44 | permissions (C<IssueCertificate>, C<GetCertificate>, and | ||
| 45 | C<ListPermissions>). Permissions can be assigned with the | ||
| 46 | CreatePermission | ||
| 47 | (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreatePermission.html) | ||
| 48 | action, removed with the DeletePermission | ||
| 49 | (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePermission.html) | ||
| 50 | action, and listed with the ListPermissions | ||
| 51 | (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html) | ||
| 52 | action. | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 Actions => ArrayRef[Str|Undef] | ||
| 58 | |||
| 59 | The private CA actions that can be performed by the designated AWS | ||
| 60 | service. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 CertificateAuthorityArn => Str | ||
| 64 | |||
| 65 | The Amazon Resource Number (ARN) of the private CA from which the | ||
| 66 | permission was issued. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 CreatedAt => Str | ||
| 70 | |||
| 71 | The time at which the permission was created. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 Policy => Str | ||
| 75 | |||
| 76 | The name of the policy that is associated with the permission. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 Principal => Str | ||
| 80 | |||
| 81 | The AWS service or entity that holds the permission. At this time, the | ||
| 82 | only valid principal is C<acm.amazonaws.com>. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 SourceAccount => Str | ||
| 86 | |||
| 87 | The ID of the account that assigned the permission. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, describing an object used in L<Paws::ACMPCA> | ||
| 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 |