« blib/lib/Paws/ACM/ExpiryEventsConfiguration.pm
↑ Summary
blib/lib/Paws/ACM/ExportCertificateResponse.pm »
| 1 | |||
| 2 | package Paws::ACM::ExportCertificate; | ||
| 3 | use Moose; | ||
| 4 | has CertificateArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Passphrase => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ExportCertificate'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ACM::ExportCertificateResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::ACM::ExportCertificate - Arguments for method ExportCertificate on L<Paws::ACM> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method ExportCertificate on the | ||
| 23 | L<AWS Certificate Manager|Paws::ACM> service. Use the attributes of this class | ||
| 24 | as arguments to method ExportCertificate. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExportCertificate. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $acm = Paws->service('ACM'); | ||
| 31 | my $ExportCertificateResponse = $acm->ExportCertificate( | ||
| 32 | CertificateArn => 'MyArn', | ||
| 33 | Passphrase => 'BlobPassphraseBlob', | ||
| 34 | |||
| 35 | ); | ||
| 36 | |||
| 37 | # Results: | ||
| 38 | my $Certificate = $ExportCertificateResponse->Certificate; | ||
| 39 | my $CertificateChain = $ExportCertificateResponse->CertificateChain; | ||
| 40 | my $PrivateKey = $ExportCertificateResponse->PrivateKey; | ||
| 41 | |||
| 42 | # Returns a L<Paws::ACM::ExportCertificateResponse> object. | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/acm/ExportCertificate> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> CertificateArn => Str | ||
| 51 | |||
| 52 | An Amazon Resource Name (ARN) of the issued certificate. This must be | ||
| 53 | of the form: | ||
| 54 | |||
| 55 | C<arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012> | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> Passphrase => Str | ||
| 60 | |||
| 61 | Passphrase to associate with the encrypted exported private key. If you | ||
| 62 | want to later decrypt the private key, you must have the passphrase. | ||
| 63 | You can use the following OpenSSL command to decrypt a private key: | ||
| 64 | |||
| 65 | C<openssl rsa -in encrypted_key.pem -out decrypted_key.pem> | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, documenting arguments for method ExportCertificate in L<Paws::ACM> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |