« blib/lib/Paws/EC2InstanceConnect.pm
↑ Summary
blib/lib/Paws/EC2InstanceConnect/SendSSHPublicKeyResponse.pm »
| 1 | |||
| 2 | package Paws::EC2InstanceConnect::SendSSHPublicKey; | ||
| 3 | use Moose; | ||
| 4 | has AvailabilityZone => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has InstanceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has InstanceOSUser => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has SSHPublicKey => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'SendSSHPublicKey'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2InstanceConnect::SendSSHPublicKeyResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::EC2InstanceConnect::SendSSHPublicKey - Arguments for method SendSSHPublicKey on L<Paws::EC2InstanceConnect> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method SendSSHPublicKey on the | ||
| 25 | L<AWS EC2 Instance Connect|Paws::EC2InstanceConnect> service. Use the attributes of this class | ||
| 26 | as arguments to method SendSSHPublicKey. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendSSHPublicKey. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $ec2-instance-connect = Paws->service('EC2InstanceConnect'); | ||
| 33 | my $SendSSHPublicKeyResponse = $ec2 -instance-connect->SendSSHPublicKey( | ||
| 34 | AvailabilityZone => 'MyAvailabilityZone', | ||
| 35 | InstanceId => 'MyInstanceId', | ||
| 36 | InstanceOSUser => 'MyInstanceOSUser', | ||
| 37 | SSHPublicKey => 'MySSHPublicKey', | ||
| 38 | |||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $RequestId = $SendSSHPublicKeyResponse->RequestId; | ||
| 43 | my $Success = $SendSSHPublicKeyResponse->Success; | ||
| 44 | |||
| 45 | # Returns a L<Paws::EC2InstanceConnect::SendSSHPublicKeyResponse> 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/ec2-instance-connect/SendSSHPublicKey> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> AvailabilityZone => Str | ||
| 54 | |||
| 55 | The Availability Zone in which the EC2 instance was launched. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> InstanceId => Str | ||
| 60 | |||
| 61 | The ID of the EC2 instance. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> InstanceOSUser => Str | ||
| 66 | |||
| 67 | The OS user on the EC2 instance for whom the key can be used to | ||
| 68 | authenticate. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> SSHPublicKey => Str | ||
| 73 | |||
| 74 | The public key material. To use the public key, you must have the | ||
| 75 | matching private key. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, documenting arguments for method SendSSHPublicKey in L<Paws::EC2InstanceConnect> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |