| 1 | package Net::Amazon::EC2::ConfirmProductInstanceResponse; | ||
| 2 | 2 | $Net::Amazon::EC2::ConfirmProductInstanceResponse::VERSION = '0.36'; | |
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | Net::Amazon::EC2::ConfirmProductInstanceResponse | ||
| 9 | |||
| 10 | =head1 DESCRIPTION | ||
| 11 | |||
| 12 | A class representing the response from a request to attach a product code to a running instance | ||
| 13 | |||
| 14 | =head1 ATTRIBUTES | ||
| 15 | |||
| 16 | =over | ||
| 17 | |||
| 18 | =item return (required) | ||
| 19 | |||
| 20 | true if the product code is attached to the instance, false if it is | ||
| 21 | not. | ||
| 22 | |||
| 23 | =item owner_id (optional) | ||
| 24 | |||
| 25 | The instance owner's account ID. Only present if the product code | ||
| 26 | is sucessfully attached to the instance. | ||
| 27 | |||
| 28 | =back | ||
| 29 | |||
| 30 | =cut | ||
| 31 | |||
| 32 | 2 | has 'return' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 33 | 2 | has 'owner_id' => ( is => 'ro', isa => 'Str', required => 0 ); | |
| 34 | |||
| 35 | 2 | __PACKAGE__->meta->make_immutable(); | |
| 36 | |||
| 37 | =head1 AUTHOR | ||
| 38 | |||
| 39 | Jeff Kim <cpan@chosec.com> | ||
| 40 | |||
| 41 | =head1 COPYRIGHT | ||
| 42 | |||
| 43 | Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it | ||
| 44 | under the same terms as Perl itself. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 49 | 2 | 1; | |