« blib/lib/Paws/Lightsail/OpenInstancePublicPortsResult.pm
↑ Summary
blib/lib/Paws/Lightsail/Origin.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Lightsail::Operation; | ||
| 3 | use Moose; | ||
| 4 | has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']); | ||
| 5 | has ErrorCode => (is => 'ro', isa => 'Str', request_name => 'errorCode', traits => ['NameInRequest']); | ||
| 6 | has ErrorDetails => (is => 'ro', isa => 'Str', request_name => 'errorDetails', traits => ['NameInRequest']); | ||
| 7 | has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']); | ||
| 8 | has IsTerminal => (is => 'ro', isa => 'Bool', request_name => 'isTerminal', traits => ['NameInRequest']); | ||
| 9 | has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']); | ||
| 10 | has OperationDetails => (is => 'ro', isa => 'Str', request_name => 'operationDetails', traits => ['NameInRequest']); | ||
| 11 | has OperationType => (is => 'ro', isa => 'Str', request_name => 'operationType', traits => ['NameInRequest']); | ||
| 12 | has ResourceName => (is => 'ro', isa => 'Str', request_name => 'resourceName', traits => ['NameInRequest']); | ||
| 13 | has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']); | ||
| 14 | has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']); | ||
| 15 | has StatusChangedAt => (is => 'ro', isa => 'Str', request_name => 'statusChangedAt', traits => ['NameInRequest']); | ||
| 16 | |||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::Lightsail::Operation | ||
| 24 | |||
| 25 | =head1 USAGE | ||
| 26 | |||
| 27 | This class represents one of two things: | ||
| 28 | |||
| 29 | =head3 Arguments in a call to a service | ||
| 30 | |||
| 31 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 32 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 33 | |||
| 34 | As an example, if Att1 is expected to be a Paws::Lightsail::Operation object: | ||
| 35 | |||
| 36 | $service_obj->Method(Att1 => { CreatedAt => $value, ..., StatusChangedAt => $value }); | ||
| 37 | |||
| 38 | =head3 Results returned from an API call | ||
| 39 | |||
| 40 | Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Operation object: | ||
| 41 | |||
| 42 | $result = $service_obj->Method(...); | ||
| 43 | $result->Att1->CreatedAt | ||
| 44 | |||
| 45 | =head1 DESCRIPTION | ||
| 46 | |||
| 47 | Describes the API operation. | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 CreatedAt => Str | ||
| 53 | |||
| 54 | The timestamp when the operation was initialized (e.g., | ||
| 55 | C<1479816991.349>). | ||
| 56 | |||
| 57 | |||
| 58 | =head2 ErrorCode => Str | ||
| 59 | |||
| 60 | The error code. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ErrorDetails => Str | ||
| 64 | |||
| 65 | The error details. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 Id => Str | ||
| 69 | |||
| 70 | The ID of the operation. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 IsTerminal => Bool | ||
| 74 | |||
| 75 | A Boolean value indicating whether the operation is terminal. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 Location => L<Paws::Lightsail::ResourceLocation> | ||
| 79 | |||
| 80 | The AWS Region and Availability Zone. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 OperationDetails => Str | ||
| 84 | |||
| 85 | Details about the operation (e.g., C<Debian-1GB-Ohio-1>). | ||
| 86 | |||
| 87 | |||
| 88 | =head2 OperationType => Str | ||
| 89 | |||
| 90 | The type of operation. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 ResourceName => Str | ||
| 94 | |||
| 95 | The resource name. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 ResourceType => Str | ||
| 99 | |||
| 100 | The resource type. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 Status => Str | ||
| 104 | |||
| 105 | The status of the operation. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 StatusChangedAt => Str | ||
| 109 | |||
| 110 | The timestamp when the status was changed (e.g., C<1479816991.349>). | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | =head1 SEE ALSO | ||
| 115 | |||
| 116 | This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail> | ||
| 117 | |||
| 118 | =head1 BUGS and CONTRIBUTIONS | ||
| 119 | |||
| 120 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 121 | |||
| 122 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 123 | |||
| 124 | =cut | ||
| 125 |