« blib/lib/Paws/EC2/DescribeVpcEndpointsResult.pm
↑ Summary
blib/lib/Paws/EC2/DescribeVpcPeeringConnectionsResult.pm »
| 1 | |||
| 2 | package Paws::EC2::DescribeVpcPeeringConnections; | ||
| 3 | use Moose; | ||
| 4 | has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); | ||
| 5 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' ); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 8 | has VpcPeeringConnectionIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'VpcPeeringConnectionId' ); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeVpcPeeringConnections'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeVpcPeeringConnectionsResult'); | ||
| 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::DescribeVpcPeeringConnections - Arguments for method DescribeVpcPeeringConnections on L<Paws::EC2> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DescribeVpcPeeringConnections on the | ||
| 26 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 27 | as arguments to method DescribeVpcPeeringConnections. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeVpcPeeringConnections. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $ec2 = Paws->service('EC2'); | ||
| 34 | my $DescribeVpcPeeringConnectionsResult = | ||
| 35 | $ec2->DescribeVpcPeeringConnections( | ||
| 36 | DryRun => 1, # OPTIONAL | ||
| 37 | Filters => [ | ||
| 38 | { | ||
| 39 | Name => 'MyString', # OPTIONAL | ||
| 40 | Values => [ | ||
| 41 | 'MyString', ... # OPTIONAL | ||
| 42 | ], # OPTIONAL | ||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | MaxResults => 1, # OPTIONAL | ||
| 47 | NextToken => 'MyString', # OPTIONAL | ||
| 48 | VpcPeeringConnectionIds => [ 'MyVpcPeeringConnectionId', ... ], # OPTIONAL | ||
| 49 | ); | ||
| 50 | |||
| 51 | # Results: | ||
| 52 | my $NextToken = $DescribeVpcPeeringConnectionsResult->NextToken; | ||
| 53 | my $VpcPeeringConnections = | ||
| 54 | $DescribeVpcPeeringConnectionsResult->VpcPeeringConnections; | ||
| 55 | |||
| 56 | # Returns a L<Paws::EC2::DescribeVpcPeeringConnectionsResult> object. | ||
| 57 | |||
| 58 | 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. | ||
| 59 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeVpcPeeringConnections> | ||
| 60 | |||
| 61 | =head1 ATTRIBUTES | ||
| 62 | |||
| 63 | |||
| 64 | =head2 DryRun => Bool | ||
| 65 | |||
| 66 | Checks whether you have the required permissions for the action, | ||
| 67 | without actually making the request, and provides an error response. If | ||
| 68 | you have the required permissions, the error response is | ||
| 69 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 Filters => ArrayRef[L<Paws::EC2::Filter>] | ||
| 74 | |||
| 75 | One or more filters. | ||
| 76 | |||
| 77 | =over | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | C<accepter-vpc-info.cidr-block> - The IPv4 CIDR block of the accepter | ||
| 82 | VPC. | ||
| 83 | |||
| 84 | =item * | ||
| 85 | |||
| 86 | C<accepter-vpc-info.owner-id> - The AWS account ID of the owner of the | ||
| 87 | accepter VPC. | ||
| 88 | |||
| 89 | =item * | ||
| 90 | |||
| 91 | C<accepter-vpc-info.vpc-id> - The ID of the accepter VPC. | ||
| 92 | |||
| 93 | =item * | ||
| 94 | |||
| 95 | C<expiration-time> - The expiration date and time for the VPC peering | ||
| 96 | connection. | ||
| 97 | |||
| 98 | =item * | ||
| 99 | |||
| 100 | C<requester-vpc-info.cidr-block> - The IPv4 CIDR block of the | ||
| 101 | requester's VPC. | ||
| 102 | |||
| 103 | =item * | ||
| 104 | |||
| 105 | C<requester-vpc-info.owner-id> - The AWS account ID of the owner of the | ||
| 106 | requester VPC. | ||
| 107 | |||
| 108 | =item * | ||
| 109 | |||
| 110 | C<requester-vpc-info.vpc-id> - The ID of the requester VPC. | ||
| 111 | |||
| 112 | =item * | ||
| 113 | |||
| 114 | C<status-code> - The status of the VPC peering connection | ||
| 115 | (C<pending-acceptance> | C<failed> | C<expired> | C<provisioning> | | ||
| 116 | C<active> | C<deleting> | C<deleted> | C<rejected>). | ||
| 117 | |||
| 118 | =item * | ||
| 119 | |||
| 120 | C<status-message> - A message that provides more information about the | ||
| 121 | status of the VPC peering connection, if applicable. | ||
| 122 | |||
| 123 | =item * | ||
| 124 | |||
| 125 | C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to | ||
| 126 | the resource. Use the tag key in the filter name and the tag value as | ||
| 127 | the filter value. For example, to find all resources that have a tag | ||
| 128 | with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for | ||
| 129 | the filter name and C<TeamA> for the filter value. | ||
| 130 | |||
| 131 | =item * | ||
| 132 | |||
| 133 | C<tag-key> - The key of a tag assigned to the resource. Use this filter | ||
| 134 | to find all resources assigned a tag with a specific key, regardless of | ||
| 135 | the tag value. | ||
| 136 | |||
| 137 | =item * | ||
| 138 | |||
| 139 | C<vpc-peering-connection-id> - The ID of the VPC peering connection. | ||
| 140 | |||
| 141 | =back | ||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | =head2 MaxResults => Int | ||
| 147 | |||
| 148 | The maximum number of results to return with a single call. To retrieve | ||
| 149 | the remaining results, make another call with the returned C<nextToken> | ||
| 150 | value. | ||
| 151 | |||
| 152 | |||
| 153 | |||
| 154 | =head2 NextToken => Str | ||
| 155 | |||
| 156 | The token for the next page of results. | ||
| 157 | |||
| 158 | |||
| 159 | |||
| 160 | =head2 VpcPeeringConnectionIds => ArrayRef[Str|Undef] | ||
| 161 | |||
| 162 | One or more VPC peering connection IDs. | ||
| 163 | |||
| 164 | Default: Describes all your VPC peering connections. | ||
| 165 | |||
| 166 | |||
| 167 | |||
| 168 | |||
| 169 | =head1 SEE ALSO | ||
| 170 | |||
| 171 | This class forms part of L<Paws>, documenting arguments for method DescribeVpcPeeringConnections in L<Paws::EC2> | ||
| 172 | |||
| 173 | =head1 BUGS and CONTRIBUTIONS | ||
| 174 | |||
| 175 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 176 | |||
| 177 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 178 | |||
| 179 | =cut | ||
| 180 |