« blib/lib/Paws/CloudHSMv2/DeleteClusterResponse.pm
↑ Summary
blib/lib/Paws/CloudHSMv2/DeleteHsmResponse.pm »
| 1 | |||
| 2 | package Paws::CloudHSMv2::DeleteHsm; | ||
| 3 | use Moose; | ||
| 4 | has ClusterId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has EniId => (is => 'ro', isa => 'Str'); | ||
| 6 | has EniIp => (is => 'ro', isa => 'Str'); | ||
| 7 | has HsmId => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteHsm'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSMv2::DeleteHsmResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::CloudHSMv2::DeleteHsm - Arguments for method DeleteHsm on L<Paws::CloudHSMv2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method DeleteHsm on the | ||
| 25 | L<AWS CloudHSM V2|Paws::CloudHSMv2> service. Use the attributes of this class | ||
| 26 | as arguments to method DeleteHsm. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteHsm. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $cloudhsmv2 = Paws->service('CloudHSMv2'); | ||
| 33 | my $DeleteHsmResponse = $cloudhsmv2->DeleteHsm( | ||
| 34 | ClusterId => 'MyClusterId', | ||
| 35 | EniId => 'MyEniId', # OPTIONAL | ||
| 36 | EniIp => 'MyIpAddress', # OPTIONAL | ||
| 37 | HsmId => 'MyHsmId', # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $HsmId = $DeleteHsmResponse->HsmId; | ||
| 42 | |||
| 43 | # Returns a L<Paws::CloudHSMv2::DeleteHsmResponse> 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/DeleteHsm> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> ClusterId => Str | ||
| 52 | |||
| 53 | The identifier (ID) of the cluster that contains the HSM that you are | ||
| 54 | deleting. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 EniId => Str | ||
| 59 | |||
| 60 | The identifier (ID) of the elastic network interface (ENI) of the HSM | ||
| 61 | that you are deleting. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 EniIp => Str | ||
| 66 | |||
| 67 | The IP address of the elastic network interface (ENI) of the HSM that | ||
| 68 | you are deleting. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 HsmId => Str | ||
| 73 | |||
| 74 | The identifier (ID) of the HSM that you are deleting. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, documenting arguments for method DeleteHsm in L<Paws::CloudHSMv2> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |