« blib/lib/Paws/EC2/DeleteQueuedReservedInstancesResult.pm
↑ Summary
blib/lib/Paws/EC2/DeleteRouteTable.pm »
| 1 | |||
| 2 | package Paws::EC2::DeleteRoute; | ||
| 3 | use Moose; | ||
| 4 | has DestinationCidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationCidrBlock' ); | ||
| 5 | has DestinationIpv6CidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationIpv6CidrBlock' ); | ||
| 6 | has DestinationPrefixListId => (is => 'ro', isa => 'Str'); | ||
| 7 | has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); | ||
| 8 | has RouteTableId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'routeTableId' , required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteRoute'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::EC2::DeleteRoute - Arguments for method DeleteRoute on L<Paws::EC2> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DeleteRoute on the | ||
| 26 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 27 | as arguments to method DeleteRoute. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteRoute. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $ec2 = Paws->service('EC2'); | ||
| 34 | # To delete a route | ||
| 35 | # This example deletes the specified route from the specified route table. | ||
| 36 | $ec2->DeleteRoute( | ||
| 37 | 'DestinationCidrBlock' => '0.0.0.0/0', | ||
| 38 | 'RouteTableId' => 'rtb-22574640' | ||
| 39 | ); | ||
| 40 | |||
| 41 | |||
| 42 | 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. | ||
| 43 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DeleteRoute> | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 DestinationCidrBlock => Str | ||
| 49 | |||
| 50 | The IPv4 CIDR range for the route. The value you specify must match the | ||
| 51 | CIDR for the route exactly. | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 DestinationIpv6CidrBlock => Str | ||
| 56 | |||
| 57 | The IPv6 CIDR range for the route. The value you specify must match the | ||
| 58 | CIDR for the route exactly. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 DestinationPrefixListId => Str | ||
| 63 | |||
| 64 | The ID of the prefix list for the route. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 DryRun => Bool | ||
| 69 | |||
| 70 | Checks whether you have the required permissions for the action, | ||
| 71 | without actually making the request, and provides an error response. If | ||
| 72 | you have the required permissions, the error response is | ||
| 73 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> RouteTableId => Str | ||
| 78 | |||
| 79 | The ID of the route table. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, documenting arguments for method DeleteRoute in L<Paws::EC2> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |