« blib/lib/Paws/CloudHSM/ModifyHapgResponse.pm
↑ Summary
blib/lib/Paws/CloudHSM/ModifyHsmResponse.pm »
| 1 | |||
| 2 | package Paws::CloudHSM::ModifyHsm; | ||
| 3 | use Moose; | ||
| 4 | has EniIp => (is => 'ro', isa => 'Str'); | ||
| 5 | has ExternalId => (is => 'ro', isa => 'Str'); | ||
| 6 | has HsmArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has IamRoleArn => (is => 'ro', isa => 'Str'); | ||
| 8 | has SubnetId => (is => 'ro', isa => 'Str'); | ||
| 9 | has SyslogIp => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyHsm'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSM::ModifyHsmResponse'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CloudHSM::ModifyHsm - Arguments for method ModifyHsm on L<Paws::CloudHSM> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method ModifyHsm on the | ||
| 27 | L<Amazon CloudHSM|Paws::CloudHSM> service. Use the attributes of this class | ||
| 28 | as arguments to method ModifyHsm. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyHsm. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $cloudhsm = Paws->service('CloudHSM'); | ||
| 35 | my $ModifyHsmResponse = $cloudhsm->ModifyHsm( | ||
| 36 | HsmArn => 'MyHsmArn', | ||
| 37 | EniIp => 'MyIpAddress', # OPTIONAL | ||
| 38 | ExternalId => 'MyExternalId', # OPTIONAL | ||
| 39 | IamRoleArn => 'MyIamRoleArn', # OPTIONAL | ||
| 40 | SubnetId => 'MySubnetId', # OPTIONAL | ||
| 41 | SyslogIp => 'MyIpAddress', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $HsmArn = $ModifyHsmResponse->HsmArn; | ||
| 46 | |||
| 47 | # Returns a L<Paws::CloudHSM::ModifyHsmResponse> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudhsm/ModifyHsm> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 EniIp => Str | ||
| 56 | |||
| 57 | The new IP address for the elastic network interface (ENI) attached to | ||
| 58 | the HSM. | ||
| 59 | |||
| 60 | If the HSM is moved to a different subnet, and an IP address is not | ||
| 61 | specified, an IP address will be randomly chosen from the CIDR range of | ||
| 62 | the new subnet. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 ExternalId => Str | ||
| 67 | |||
| 68 | The new external ID. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> HsmArn => Str | ||
| 73 | |||
| 74 | The ARN of the HSM to modify. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 IamRoleArn => Str | ||
| 79 | |||
| 80 | The new IAM role ARN. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 SubnetId => Str | ||
| 85 | |||
| 86 | The new identifier of the subnet that the HSM is in. The new subnet | ||
| 87 | must be in the same Availability Zone as the current subnet. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 SyslogIp => Str | ||
| 92 | |||
| 93 | The new IP address for the syslog monitoring server. The AWS CloudHSM | ||
| 94 | service only supports one syslog monitoring server. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head1 SEE ALSO | ||
| 100 | |||
| 101 | This class forms part of L<Paws>, documenting arguments for method ModifyHsm in L<Paws::CloudHSM> | ||
| 102 | |||
| 103 | =head1 BUGS and CONTRIBUTIONS | ||
| 104 | |||
| 105 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 106 | |||
| 107 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 108 | |||
| 109 | =cut | ||
| 110 |