1VM::EC2::VPC::PeeringCoUnsneerctCioonnt:rV:iMSb:tu:atEteCed2R:eP:aeVsrPolCn:(D:3oP)ceuemreinntgaCtoinonnection::StateReason(3)
2
3
4
6 VM::EC2::VPC::PeeringConnection::StateReason - Virtual Private Cloud
7 Peering Connection State Reason
8
10 use VM::EC2;
11
12 my $ec2 = VM::EC2->new(...);
13 my $pcx = $ec2->describe_vpc_peering_connections(-vpc_peering_connection_id=>'pcx-12345678');
14 my $status = $pcx->status;
15 print $status->message,"\n";
16
18 This object represents an Amazon EC2 VPC Peering Connection State
19 Reason as returned in a VPC Peering Connection.
20
22 These object methods are supported:
23
24 code -- The status code of the VPC peering connection
25 Valid values:
26 initiating-request | pending-acceptance | failed | expired |
27 provisioning | active | deleted | rejected
28 message -- A message that provides more information about the status,
29 if applicable
30
32 When used in a string context, this object will interpolate a string
33 containing the code and message in format "[code] message"
34
36 VM::EC2 VM::EC2::Generic VM::EC2::VPC VM::EC2::VPC::PeeringConnection
37
39 Lance Kinley <lkinley@loyaltymethods.com>.
40
41 Copyright (c) 2014 Loyalty Methods, Inc.
42
43 This package and its accompanying libraries is free software; you can
44 redistribute it and/or modify it under the terms of the GPL (either
45 version 1, or at your option, any later version) or the Artistic
46 License 2.0. Refer to LICENSE for the full license text. In addition,
47 please see DISCLAIMER.txt for disclaimers of warranty.
48
49
50
51perl v5.32.0 VM:2:0E2C02-:0:7V-P2C8::PeeringConnection::StateReason(3)