1VM::EC2::REST::general(U3s)er Contributed Perl DocumentatViMo:n:EC2::REST::general(3)
2
3
4
7 use VM::EC2 'general';
8
10 These are EC2 methods that Amazon calls "general".
11
12 Implemented:
13 GetConsoleOutput
14 DescribeAccountAttributes
15
16 Unimplemented:
17 (none)
18
19 $output = $ec2->get_console_output(-instance_id=>'i-12345')
20 $output = $ec2->get_console_output('i-12345');
21 Returns the console output of the indicated instance. The output is
22 actually a VM::EC2::ConsoleOutput object, but it is overloaded so that
23 when treated as a string it will appear as a large text string
24 containing the console output. When treated like an object it provides
25 instanceId() and timestamp() methods.
26
27 @attrs = $ec2->describe_account_attributes(-attribute_name => \@attr_list)
28 @attrs = $ec2->describe_account_attributes(@attr_list)
29 @attrs = $ec2->describe_account_attributes($attr)
30 Describes the specified attribute of your AWS account.
31
32 Require Argument:
33
34 -attribute_name The attribute to describe
35
36 Supported attributes:
37
38 supported-platforms Whether your account can launch instances into EC2-Classic
39 and EC2-VPC, or only into EC2-VPC. For more information,
40 see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html
41
42 default-vpc ID of the default VPC for your account, or none. For more information, see
43 http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html
44
45 Returns an array of VM::EC2::AccountAttributes objects.
46
48 VM::EC2
49
51 Lincoln Stein <lincoln.stein@gmail.com>.
52
53 Copyright (c) 2011 Ontario Institute for Cancer Research
54
55 This package and its accompanying libraries is free software; you can
56 redistribute it and/or modify it under the terms of the GPL (either
57 version 1, or at your option, any later version) or the Artistic
58 License 2.0. Refer to LICENSE for the full license text. In addition,
59 please see DISCLAIMER.txt for disclaimers of warranty.
60
61
62
63perl v5.34.0 2021-07-27 VM::EC2::REST::general(3)