« blib/lib/Paws/EC2/DescribeInstancesResult.pm
↑ Summary
blib/lib/Paws/EC2/DescribeInternetGatewaysResult.pm »
| 1 | |||
| 2 | package Paws::EC2::DescribeInternetGateways; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); | |
| 5 | 1 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' ); | |
| 6 | 1 | has InternetGatewayIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'internetGatewayId' ); | |
| 7 | 1 | has MaxResults => (is => 'ro', isa => 'Int'); | |
| 8 | 1 | has NextToken => (is => 'ro', isa => 'Str'); | |
| 9 | |||
| 10 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeInternetGateways'); | |
| 13 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeInternetGatewaysResult'); | |
| 14 | 1 | class_has _result_key => (isa => 'Str', is => 'ro'); | |
| 15 | 1 | 1; | |
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::EC2::DescribeInternetGateways - Arguments for method DescribeInternetGateways on L<Paws::EC2> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DescribeInternetGateways on the | ||
| 26 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 27 | as arguments to method DescribeInternetGateways. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeInternetGateways. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $ec2 = Paws->service('EC2'); | ||
| 34 | # To describe the Internet gateway for a VPC | ||
| 35 | # This example describes the Internet gateway for the specified VPC. | ||
| 36 | my $DescribeInternetGatewaysResult = $ec2->DescribeInternetGateways( | ||
| 37 | 'Filters' => [ | ||
| 38 | |||
| 39 | { | ||
| 40 | 'Name' => 'attachment.vpc-id', | ||
| 41 | 'Values' => ['vpc-a01106c2'] | ||
| 42 | } | ||
| 43 | ] | ||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $InternetGateways = $DescribeInternetGatewaysResult->InternetGateways; | ||
| 48 | |||
| 49 | # Returns a L<Paws::EC2::DescribeInternetGatewaysResult> object. | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeInternetGateways> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 DryRun => Bool | ||
| 58 | |||
| 59 | Checks whether you have the required permissions for the action, | ||
| 60 | without actually making the request, and provides an error response. If | ||
| 61 | you have the required permissions, the error response is | ||
| 62 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 Filters => ArrayRef[L<Paws::EC2::Filter>] | ||
| 67 | |||
| 68 | One or more filters. | ||
| 69 | |||
| 70 | =over | ||
| 71 | |||
| 72 | =item * | ||
| 73 | |||
| 74 | C<attachment.state> - The current state of the attachment between the | ||
| 75 | gateway and the VPC (C<available>). Present only if a VPC is attached. | ||
| 76 | |||
| 77 | =item * | ||
| 78 | |||
| 79 | C<attachment.vpc-id> - The ID of an attached VPC. | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | C<internet-gateway-id> - The ID of the Internet gateway. | ||
| 84 | |||
| 85 | =item * | ||
| 86 | |||
| 87 | C<owner-id> - The ID of the AWS account that owns the internet gateway. | ||
| 88 | |||
| 89 | =item * | ||
| 90 | |||
| 91 | C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to | ||
| 92 | the resource. Use the tag key in the filter name and the tag value as | ||
| 93 | the filter value. For example, to find all resources that have a tag | ||
| 94 | with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for | ||
| 95 | the filter name and C<TeamA> for the filter value. | ||
| 96 | |||
| 97 | =item * | ||
| 98 | |||
| 99 | C<tag-key> - The key of a tag assigned to the resource. Use this filter | ||
| 100 | to find all resources assigned a tag with a specific key, regardless of | ||
| 101 | the tag value. | ||
| 102 | |||
| 103 | =back | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head2 InternetGatewayIds => ArrayRef[Str|Undef] | ||
| 109 | |||
| 110 | One or more internet gateway IDs. | ||
| 111 | |||
| 112 | Default: Describes all your internet gateways. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head2 MaxResults => Int | ||
| 117 | |||
| 118 | The maximum number of results to return with a single call. To retrieve | ||
| 119 | the remaining results, make another call with the returned C<nextToken> | ||
| 120 | value. | ||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | =head2 NextToken => Str | ||
| 125 | |||
| 126 | The token for the next page of results. | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | =head1 SEE ALSO | ||
| 132 | |||
| 133 | This class forms part of L<Paws>, documenting arguments for method DescribeInternetGateways in L<Paws::EC2> | ||
| 134 | |||
| 135 | =head1 BUGS and CONTRIBUTIONS | ||
| 136 | |||
| 137 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 138 | |||
| 139 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 140 | |||
| 141 | =cut | ||
| 142 | |||