| 1 | |||
| 2 | package Paws::CloudHSMv2::InitializeCluster; | ||
| 3 | use Moose; | ||
| 4 | has ClusterId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has SignedCert => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has TrustAnchor => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'InitializeCluster'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSMv2::InitializeClusterResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::CloudHSMv2::InitializeCluster - Arguments for method InitializeCluster on L<Paws::CloudHSMv2> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method InitializeCluster on the | ||
| 24 | L<AWS CloudHSM V2|Paws::CloudHSMv2> service. Use the attributes of this class | ||
| 25 | as arguments to method InitializeCluster. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to InitializeCluster. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $cloudhsmv2 = Paws->service('CloudHSMv2'); | ||
| 32 | my $InitializeClusterResponse = $cloudhsmv2->InitializeCluster( | ||
| 33 | ClusterId => 'MyClusterId', | ||
| 34 | SignedCert => 'MyCert', | ||
| 35 | TrustAnchor => 'MyCert', | ||
| 36 | |||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $State = $InitializeClusterResponse->State; | ||
| 41 | my $StateMessage = $InitializeClusterResponse->StateMessage; | ||
| 42 | |||
| 43 | # Returns a L<Paws::CloudHSMv2::InitializeClusterResponse> object. | ||
| 44 | |||
| 45 | 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. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2/InitializeCluster> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> ClusterId => Str | ||
| 52 | |||
| 53 | The identifier (ID) of the cluster that you are claiming. To find the | ||
| 54 | cluster ID, use DescribeClusters. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> SignedCert => Str | ||
| 59 | |||
| 60 | The cluster certificate issued (signed) by your issuing certificate | ||
| 61 | authority (CA). The certificate must be in PEM format and can contain a | ||
| 62 | maximum of 5000 characters. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> TrustAnchor => Str | ||
| 67 | |||
| 68 | The issuing certificate of the issuing certificate authority (CA) that | ||
| 69 | issued (signed) the cluster certificate. You must use a self-signed | ||
| 70 | certificate. The certificate used to sign the HSM CSR must be directly | ||
| 71 | available, and thus must be the root certificate. The certificate must | ||
| 72 | be in PEM format and can contain a maximum of 5000 characters. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method InitializeCluster in L<Paws::CloudHSMv2> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |