1VM::EC2::Spot::DatafeedUSsuebrscCroinpttriiobnu(t3e)d PeVrMl::DEoCc2u:m:eSnptoatt:i:oDnatafeedSubscription(3)
2
3
4
6 VM::EC2::Spot::DatafeedSubscription - Object describing an Amazon EC2
7 spot instance datafeed subscription
8
10 use VM::EC2;
11
12 $ec2 = VM::EC2->new(...);
13 $sub = $ec2->create_spot_datafeed_subscription('myBucket','SPOT:');
14 my $owner = $sub->ownerId;
15 my $bucket = $sub->bucket;
16 my $prefix = $sub->prefix;
17 my $state = $sub->state;
18 my $error = $sub->fault;
19
21 This object represents an Amazon EC2 spot instance datafeed
22 subscription, and is returned by
23 VM::EC2->create_spot_datafeed_subscription() and
24 VM::EC2->describe_spot_datafeed_subscription().
25
27 These object methods are supported:
28
29 ownerId -- ID of the owner of this subscription
30 bucket -- bucket receiving the subscription files
31 prefix -- prefix for log files written into the bucket
32 state -- state of the subscription; one of 'Active' or 'Inactive'
33 fault -- VM::EC2::Error object describing errors in the
34 subscription.
35 =head1 SEE ALSO
36
37 VM::EC2 VM::EC2::Generic
38
40 Lincoln Stein <lincoln.stein@gmail.com>.
41
42 Copyright (c) 2011 Ontario Institute for Cancer Research
43
44 This package and its accompanying libraries is free software; you can
45 redistribute it and/or modify it under the terms of the GPL (either
46 version 1, or at your option, any later version) or the Artistic
47 License 2.0. Refer to LICENSE for the full license text. In addition,
48 please see DISCLAIMER.txt for disclaimers of warranty.
49
50
51
52perl v5.34.0 2021-07V-M2:7:EC2::Spot::DatafeedSubscription(3)