Paws

 view release on metacpan or  search on metacpan

lib/Paws/ACM/RequestCertificate.pm  view on Meta::CPAN


package Paws::ACM::RequestCertificate;
  use Moose;
  has CertificateAuthorityArn => (is => 'ro', isa => 'Str');
  has DomainName => (is => 'ro', isa => 'Str', required => 1);
  has DomainValidationOptions => (is => 'ro', isa => 'ArrayRef[Paws::ACM::DomainValidationOption]');
  has IdempotencyToken => (is => 'ro', isa => 'Str');
  has Options => (is => 'ro', isa => 'Paws::ACM::CertificateOptions');
  has SubjectAlternativeNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
  has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ACM::Tag]');
  has ValidationMethod => (is => 'ro', isa => 'Str');

  use MooseX::ClassAttribute;

  class_has _api_call => (isa => 'Str', is => 'ro', default => 'RequestCertificate');
  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ACM::RequestCertificateResponse');
  class_has _result_key => (isa => 'Str', is => 'ro');
1;

### main pod documentation begin ###

=head1 NAME

Paws::ACM::RequestCertificate - Arguments for method RequestCertificate on L<Paws::ACM>

=head1 DESCRIPTION

This class represents the parameters used for calling the method RequestCertificate on the
L<AWS Certificate Manager|Paws::ACM> service. Use the attributes of this class
as arguments to method RequestCertificate.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RequestCertificate.

=head1 SYNOPSIS

    my $acm = Paws->service('ACM');
    my $RequestCertificateResponse = $acm->RequestCertificate(
      DomainName              => 'MyDomainNameString',
      CertificateAuthorityArn => 'MyArn',                # OPTIONAL
      DomainValidationOptions => [
        {
          DomainName       => 'MyDomainNameString',    # min: 1, max: 253
          ValidationDomain => 'MyDomainNameString',    # min: 1, max: 253

        },
        ...
      ],    # OPTIONAL
      IdempotencyToken => 'MyIdempotencyToken',    # OPTIONAL
      Options          => {
        CertificateTransparencyLoggingPreference =>
          'ENABLED',    # values: ENABLED, DISABLED; OPTIONAL
      },    # OPTIONAL
      SubjectAlternativeNames => [
        'MyDomainNameString', ...    # min: 1, max: 253
      ],    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256; OPTIONAL
        },
        ...
      ],    # OPTIONAL
      ValidationMethod => 'EMAIL',    # OPTIONAL
    );

    # Results:
    my $CertificateArn = $RequestCertificateResponse->CertificateArn;

    # Returns a L<Paws::ACM::RequestCertificateResponse> object.



( run in 1.563 second using v1.01-cache-2.11-cpan-39bf76dae61 )