« blib/lib/Paws/ACMPCA/CreateCertificateAuthorityResponse.pm
↑ Summary
blib/lib/Paws/ACMPCA/CrlConfiguration.pm »
| 1 | |||
| 2 | package Paws::ACMPCA::CreatePermission; | ||
| 3 | use Moose; | ||
| 4 | has Actions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 5 | has CertificateAuthorityArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Principal => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has SourceAccount => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePermission'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ACMPCA::CreatePermission - Arguments for method CreatePermission on L<Paws::ACMPCA> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreatePermission on the | ||
| 25 | L<AWS Certificate Manager Private Certificate Authority|Paws::ACMPCA> service. Use the attributes of this class | ||
| 26 | as arguments to method CreatePermission. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePermission. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $acm-pca = Paws->service('ACMPCA'); | ||
| 33 | $acm -pca->CreatePermission( | ||
| 34 | Actions => [ | ||
| 35 | 'IssueCertificate', | ||
| 36 | ... # values: IssueCertificate, GetCertificate, ListPermissions | ||
| 37 | ], | ||
| 38 | CertificateAuthorityArn => 'MyArn', | ||
| 39 | Principal => 'MyPrincipal', | ||
| 40 | SourceAccount => 'MyAccountId', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/acm-pca/CreatePermission> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> Actions => ArrayRef[Str|Undef] | ||
| 50 | |||
| 51 | The actions that the specified AWS service principal can use. These | ||
| 52 | include C<IssueCertificate>, C<GetCertificate>, and C<ListPermissions>. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> CertificateAuthorityArn => Str | ||
| 57 | |||
| 58 | The Amazon Resource Name (ARN) of the CA that grants the permissions. | ||
| 59 | You can find the ARN by calling the ListCertificateAuthorities | ||
| 60 | (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html) | ||
| 61 | action. This must have the following form: | ||
| 62 | |||
| 63 | C<arn:aws:acm-pca:I<region>:I<account>:certificate-authority/I<12345678-1234-1234-1234-123456789012> | ||
| 64 | >. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> Principal => Str | ||
| 69 | |||
| 70 | The AWS service or identity that receives the permission. At this time, | ||
| 71 | the only valid principal is C<acm.amazonaws.com>. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 SourceAccount => Str | ||
| 76 | |||
| 77 | The ID of the calling account. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, documenting arguments for method CreatePermission in L<Paws::ACMPCA> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut | ||
| 93 |