« blib/lib/Paws/Lightsail/IsVpcPeeredResult.pm
↑ Summary
blib/lib/Paws/Lightsail/LightsailDistribution.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Lightsail::KeyPair; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']); | ||
| 5 | has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']); | ||
| 6 | has Fingerprint => (is => 'ro', isa => 'Str', request_name => 'fingerprint', traits => ['NameInRequest']); | ||
| 7 | has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 9 | has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']); | ||
| 10 | has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']); | ||
| 11 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Tag]', request_name => 'tags', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Lightsail::KeyPair | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::Lightsail::KeyPair object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::KeyPair object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->Arn | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Describes the SSH key pair. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 Arn => Str | ||
| 49 | |||
| 50 | The Amazon Resource Name (ARN) of the key pair (e.g., | ||
| 51 | C<arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE>). | ||
| 52 | |||
| 53 | |||
| 54 | =head2 CreatedAt => Str | ||
| 55 | |||
| 56 | The timestamp when the key pair was created (e.g., C<1479816991.349>). | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Fingerprint => Str | ||
| 60 | |||
| 61 | The RSA fingerprint of the key pair. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 Location => L<Paws::Lightsail::ResourceLocation> | ||
| 65 | |||
| 66 | The region name and Availability Zone where the key pair was created. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Name => Str | ||
| 70 | |||
| 71 | The friendly name of the SSH key pair. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 ResourceType => Str | ||
| 75 | |||
| 76 | The resource type (usually C<KeyPair>). | ||
| 77 | |||
| 78 | |||
| 79 | =head2 SupportCode => Str | ||
| 80 | |||
| 81 | The support code. Include this code in your email to support when you | ||
| 82 | have questions about an instance or another resource in Lightsail. This | ||
| 83 | code enables our support team to look up your Lightsail information | ||
| 84 | more easily. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 Tags => ArrayRef[L<Paws::Lightsail::Tag>] | ||
| 88 | |||
| 89 | The tag keys and optional values for the resource. For more information | ||
| 90 | about tags in Lightsail, see the Lightsail Dev Guide | ||
| 91 | (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags). | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |