« blib/lib/Paws/EC2/ClientVpnEndpointStatus.pm
↑ Summary
blib/lib/Paws/EC2/ClientVpnRouteStatus.pm »
| 1 | package Paws::EC2::ClientVpnRoute; | ||
| 2 | use Moose; | ||
| 3 | has ClientVpnEndpointId => (is => 'ro', isa => 'Str', request_name => 'clientVpnEndpointId', traits => ['NameInRequest']); | ||
| 4 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 5 | has DestinationCidr => (is => 'ro', isa => 'Str', request_name => 'destinationCidr', traits => ['NameInRequest']); | ||
| 6 | has Origin => (is => 'ro', isa => 'Str', request_name => 'origin', traits => ['NameInRequest']); | ||
| 7 | has Status => (is => 'ro', isa => 'Paws::EC2::ClientVpnRouteStatus', request_name => 'status', traits => ['NameInRequest']); | ||
| 8 | has TargetSubnet => (is => 'ro', isa => 'Str', request_name => 'targetSubnet', traits => ['NameInRequest']); | ||
| 9 | has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']); | ||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::EC2::ClientVpnRoute | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::EC2::ClientVpnRoute object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { ClientVpnEndpointId => $value, ..., Type => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ClientVpnRoute object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->ClientVpnEndpointId | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | This class has no description | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 ClientVpnEndpointId => Str | ||
| 46 | |||
| 47 | The ID of the Client VPN endpoint with which the route is associated. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 Description => Str | ||
| 51 | |||
| 52 | A brief description of the route. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 DestinationCidr => Str | ||
| 56 | |||
| 57 | The IPv4 address range, in CIDR notation, of the route destination. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 Origin => Str | ||
| 61 | |||
| 62 | Indicates how the route was associated with the Client VPN endpoint. | ||
| 63 | C<associate> indicates that the route was automatically added when the | ||
| 64 | target network was associated with the Client VPN endpoint. | ||
| 65 | C<add-route> indicates that the route was manually added using the | ||
| 66 | B<CreateClientVpnRoute> action. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Status => L<Paws::EC2::ClientVpnRouteStatus> | ||
| 70 | |||
| 71 | The current state of the route. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 TargetSubnet => Str | ||
| 75 | |||
| 76 | The ID of the subnet through which traffic is routed. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 Type => Str | ||
| 80 | |||
| 81 | The route type. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 88 | |||
| 89 | =head1 BUGS and CONTRIBUTIONS | ||
| 90 | |||
| 91 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 92 | |||
| 93 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 94 | |||
| 95 | =cut |