1VM::EC2::ProductCode(3)User Contributed Perl DocumentatioVnM::EC2::ProductCode(3)
2
3
4

NAME

6       VM::EC2::ProductCode - Object describing an Amazon EC2 product code
7

SYNOPSIS

9         use VM::EC2;
10
11         $ec2      = VM::EC2->new(...);
12         $volume = $ec2->describe_volumes('vol-123456');
13         for my $g ($volume->product_codes) {
14           my $id      = $g->productCode;
15           my $type    = $g->type;
16         }
17

DESCRIPTION

19       This object represents the code and type of a product code.
20

METHODS

22       These object methods are supported:
23
24        productCode   -- the product code
25        code          -- shorter version of the above
26        type          -- the type of product code ('devpay','marketplace')
27

STRING OVERLOADING

29       When used in a string context, this object will interpolate the
30       productCode
31

SEE ALSO

33       VM::EC2 VM::EC2::Object VM::EC2::Generic VM::EC2::Instance
34       VM::EC2::Volume
35

AUTHOR

37       Lincoln Stein <lincoln.stein@gmail.com>.
38
39       Copyright (c) 2011 Ontario Institute for Cancer Research
40
41       This package and its accompanying libraries is free software; you can
42       redistribute it and/or modify it under the terms of the GPL (either
43       version 1, or at your option, any later version) or the Artistic
44       License 2.0.  Refer to LICENSE for the full license text. In addition,
45       please see DISCLAIMER.txt for disclaimers of warranty.
46
47
48
49perl v5.32.0                      2020-07-28           VM::EC2::ProductCode(3)
Impressum