| 1 | |||
| 2 | package Paws::DS::RegisterCertificate; | ||
| 3 | use Moose; | ||
| 4 | has CertificateData => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ClientCertAuthSettings => (is => 'ro', isa => 'Paws::DS::ClientCertAuthSettings'); | ||
| 6 | has DirectoryId => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Type => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterCertificate'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DS::RegisterCertificateResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::DS::RegisterCertificate - Arguments for method RegisterCertificate on L<Paws::DS> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method RegisterCertificate on the | ||
| 25 | L<AWS Directory Service|Paws::DS> service. Use the attributes of this class | ||
| 26 | as arguments to method RegisterCertificate. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterCertificate. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $ds = Paws->service('DS'); | ||
| 33 | my $RegisterCertificateResult = $ds->RegisterCertificate( | ||
| 34 | CertificateData => 'MyCertificateData', | ||
| 35 | DirectoryId => 'MyDirectoryId', | ||
| 36 | ClientCertAuthSettings => { | ||
| 37 | OCSPUrl => 'MyOCSPUrl', # min: 1, max: 1024; OPTIONAL | ||
| 38 | }, # OPTIONAL | ||
| 39 | Type => 'ClientCertAuth', # OPTIONAL | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $CertificateId = $RegisterCertificateResult->CertificateId; | ||
| 44 | |||
| 45 | # Returns a L<Paws::DS::RegisterCertificateResult> object. | ||
| 46 | |||
| 47 | 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. | ||
| 48 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ds/RegisterCertificate> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> CertificateData => Str | ||
| 54 | |||
| 55 | The certificate PEM string that needs to be registered. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 ClientCertAuthSettings => L<Paws::DS::ClientCertAuthSettings> | ||
| 60 | |||
| 61 | A C<ClientCertAuthSettings> object that contains client certificate | ||
| 62 | authentication settings. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> DirectoryId => Str | ||
| 67 | |||
| 68 | The identifier of the directory. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 Type => Str | ||
| 73 | |||
| 74 | The function that the registered certificate performs. Valid values | ||
| 75 | include C<ClientLDAPS> or C<ClientCertAuth>. The default value is | ||
| 76 | C<ClientLDAPS>. | ||
| 77 | |||
| 78 | Valid values are: C<"ClientCertAuth">, C<"ClientLDAPS"> | ||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method RegisterCertificate in L<Paws::DS> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |