« blib/lib/Paws/CloudHSM/DescribeHapgResponse.pm
↑ Summary
blib/lib/Paws/CloudHSM/DescribeHsmResponse.pm »
| 1 | |||
| 2 | package Paws::CloudHSM::DescribeHsm; | ||
| 3 | use Moose; | ||
| 4 | has HsmArn => (is => 'ro', isa => 'Str'); | ||
| 5 | has HsmSerialNumber => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeHsm'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSM::DescribeHsmResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::CloudHSM::DescribeHsm - Arguments for method DescribeHsm on L<Paws::CloudHSM> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method DescribeHsm on the | ||
| 23 | L<Amazon CloudHSM|Paws::CloudHSM> service. Use the attributes of this class | ||
| 24 | as arguments to method DescribeHsm. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeHsm. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $cloudhsm = Paws->service('CloudHSM'); | ||
| 31 | my $DescribeHsmResponse = $cloudhsm->DescribeHsm( | ||
| 32 | HsmArn => 'MyHsmArn', # OPTIONAL | ||
| 33 | HsmSerialNumber => 'MyHsmSerialNumber', # OPTIONAL | ||
| 34 | ); | ||
| 35 | |||
| 36 | # Results: | ||
| 37 | my $AvailabilityZone = $DescribeHsmResponse->AvailabilityZone; | ||
| 38 | my $EniId = $DescribeHsmResponse->EniId; | ||
| 39 | my $EniIp = $DescribeHsmResponse->EniIp; | ||
| 40 | my $HsmArn = $DescribeHsmResponse->HsmArn; | ||
| 41 | my $HsmType = $DescribeHsmResponse->HsmType; | ||
| 42 | my $IamRoleArn = $DescribeHsmResponse->IamRoleArn; | ||
| 43 | my $Partitions = $DescribeHsmResponse->Partitions; | ||
| 44 | my $SerialNumber = $DescribeHsmResponse->SerialNumber; | ||
| 45 | my $ServerCertLastUpdated = $DescribeHsmResponse->ServerCertLastUpdated; | ||
| 46 | my $ServerCertUri = $DescribeHsmResponse->ServerCertUri; | ||
| 47 | my $SoftwareVersion = $DescribeHsmResponse->SoftwareVersion; | ||
| 48 | my $SshKeyLastUpdated = $DescribeHsmResponse->SshKeyLastUpdated; | ||
| 49 | my $SshPublicKey = $DescribeHsmResponse->SshPublicKey; | ||
| 50 | my $Status = $DescribeHsmResponse->Status; | ||
| 51 | my $StatusDetails = $DescribeHsmResponse->StatusDetails; | ||
| 52 | my $SubnetId = $DescribeHsmResponse->SubnetId; | ||
| 53 | my $SubscriptionEndDate = $DescribeHsmResponse->SubscriptionEndDate; | ||
| 54 | my $SubscriptionStartDate = $DescribeHsmResponse->SubscriptionStartDate; | ||
| 55 | my $SubscriptionType = $DescribeHsmResponse->SubscriptionType; | ||
| 56 | my $VendorName = $DescribeHsmResponse->VendorName; | ||
| 57 | my $VpcId = $DescribeHsmResponse->VpcId; | ||
| 58 | |||
| 59 | # Returns a L<Paws::CloudHSM::DescribeHsmResponse> object. | ||
| 60 | |||
| 61 | 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. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudhsm/DescribeHsm> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 HsmArn => Str | ||
| 68 | |||
| 69 | The ARN of the HSM. Either the C<HsmArn> or the C<SerialNumber> | ||
| 70 | parameter must be specified. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 HsmSerialNumber => Str | ||
| 75 | |||
| 76 | The serial number of the HSM. Either the C<HsmArn> or the | ||
| 77 | C<HsmSerialNumber> parameter must be specified. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, documenting arguments for method DescribeHsm in L<Paws::CloudHSM> | ||
| 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 |