« blib/lib/Paws/SavingsPlans/ParentSavingsPlanOffering.pm
↑ Summary
blib/lib/Paws/SavingsPlans/SavingsPlanFilter.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SavingsPlans::SavingsPlan; | ||
| 3 | use Moose; | ||
| 4 | has Commitment => (is => 'ro', isa => 'Str', request_name => 'commitment', traits => ['NameInRequest']); | ||
| 5 | has Currency => (is => 'ro', isa => 'Str', request_name => 'currency', traits => ['NameInRequest']); | ||
| 6 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 7 | has Ec2InstanceFamily => (is => 'ro', isa => 'Str', request_name => 'ec2InstanceFamily', traits => ['NameInRequest']); | ||
| 8 | has End => (is => 'ro', isa => 'Str', request_name => 'end', traits => ['NameInRequest']); | ||
| 9 | has OfferingId => (is => 'ro', isa => 'Str', request_name => 'offeringId', traits => ['NameInRequest']); | ||
| 10 | has PaymentOption => (is => 'ro', isa => 'Str', request_name => 'paymentOption', traits => ['NameInRequest']); | ||
| 11 | has ProductTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'productTypes', traits => ['NameInRequest']); | ||
| 12 | has RecurringPaymentAmount => (is => 'ro', isa => 'Str', request_name => 'recurringPaymentAmount', traits => ['NameInRequest']); | ||
| 13 | has Region => (is => 'ro', isa => 'Str', request_name => 'region', traits => ['NameInRequest']); | ||
| 14 | has SavingsPlanArn => (is => 'ro', isa => 'Str', request_name => 'savingsPlanArn', traits => ['NameInRequest']); | ||
| 15 | has SavingsPlanId => (is => 'ro', isa => 'Str', request_name => 'savingsPlanId', traits => ['NameInRequest']); | ||
| 16 | has SavingsPlanType => (is => 'ro', isa => 'Str', request_name => 'savingsPlanType', traits => ['NameInRequest']); | ||
| 17 | has Start => (is => 'ro', isa => 'Str', request_name => 'start', traits => ['NameInRequest']); | ||
| 18 | has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']); | ||
| 19 | has Tags => (is => 'ro', isa => 'Paws::SavingsPlans::TagMap', request_name => 'tags', traits => ['NameInRequest']); | ||
| 20 | has TermDurationInSeconds => (is => 'ro', isa => 'Int', request_name => 'termDurationInSeconds', traits => ['NameInRequest']); | ||
| 21 | has UpfrontPaymentAmount => (is => 'ro', isa => 'Str', request_name => 'upfrontPaymentAmount', traits => ['NameInRequest']); | ||
| 22 | |||
| 23 | 1; | ||
| 24 | |||
| 25 | ### main pod documentation begin ### | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | Paws::SavingsPlans::SavingsPlan | ||
| 30 | |||
| 31 | =head1 USAGE | ||
| 32 | |||
| 33 | This class represents one of two things: | ||
| 34 | |||
| 35 | =head3 Arguments in a call to a service | ||
| 36 | |||
| 37 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 38 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 39 | |||
| 40 | As an example, if Att1 is expected to be a Paws::SavingsPlans::SavingsPlan object: | ||
| 41 | |||
| 42 | $service_obj->Method(Att1 => { Commitment => $value, ..., UpfrontPaymentAmount => $value }); | ||
| 43 | |||
| 44 | =head3 Results returned from an API call | ||
| 45 | |||
| 46 | Use accessors for each attribute. If Att1 is expected to be an Paws::SavingsPlans::SavingsPlan object: | ||
| 47 | |||
| 48 | $result = $service_obj->Method(...); | ||
| 49 | $result->Att1->Commitment | ||
| 50 | |||
| 51 | =head1 DESCRIPTION | ||
| 52 | |||
| 53 | Information about a Savings Plan. | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Commitment => Str | ||
| 59 | |||
| 60 | The hourly commitment, in USD. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 Currency => Str | ||
| 64 | |||
| 65 | The currency. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 Description => Str | ||
| 69 | |||
| 70 | The description. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 Ec2InstanceFamily => Str | ||
| 74 | |||
| 75 | The EC2 instance family. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 End => Str | ||
| 79 | |||
| 80 | The end time. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 OfferingId => Str | ||
| 84 | |||
| 85 | The ID of the offering. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 PaymentOption => Str | ||
| 89 | |||
| 90 | The payment option. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 ProductTypes => ArrayRef[Str|Undef] | ||
| 94 | |||
| 95 | The product types. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 RecurringPaymentAmount => Str | ||
| 99 | |||
| 100 | The recurring payment amount. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 Region => Str | ||
| 104 | |||
| 105 | The AWS Region. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 SavingsPlanArn => Str | ||
| 109 | |||
| 110 | The Amazon Resource Name (ARN) of the Savings Plan. | ||
| 111 | |||
| 112 | |||
| 113 | =head2 SavingsPlanId => Str | ||
| 114 | |||
| 115 | The ID of the Savings Plan. | ||
| 116 | |||
| 117 | |||
| 118 | =head2 SavingsPlanType => Str | ||
| 119 | |||
| 120 | The plan type. | ||
| 121 | |||
| 122 | |||
| 123 | =head2 Start => Str | ||
| 124 | |||
| 125 | The start time. | ||
| 126 | |||
| 127 | |||
| 128 | =head2 State => Str | ||
| 129 | |||
| 130 | The state. | ||
| 131 | |||
| 132 | |||
| 133 | =head2 Tags => L<Paws::SavingsPlans::TagMap> | ||
| 134 | |||
| 135 | One or more tags. | ||
| 136 | |||
| 137 | |||
| 138 | =head2 TermDurationInSeconds => Int | ||
| 139 | |||
| 140 | The duration of the term, in seconds. | ||
| 141 | |||
| 142 | |||
| 143 | =head2 UpfrontPaymentAmount => Str | ||
| 144 | |||
| 145 | The up-front payment amount. | ||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | =head1 SEE ALSO | ||
| 150 | |||
| 151 | This class forms part of L<Paws>, describing an object used in L<Paws::SavingsPlans> | ||
| 152 | |||
| 153 | =head1 BUGS and CONTRIBUTIONS | ||
| 154 | |||
| 155 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 156 | |||
| 157 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 158 | |||
| 159 | =cut | ||
| 160 |