« blib/lib/Paws/ElastiCache/ProcessedUpdateAction.pm
↑ Summary
blib/lib/Paws/ElastiCache/PurchaseReservedCacheNodesOfferingResult.pm »
| 1 | |||
| 2 | package Paws::ElastiCache::PurchaseReservedCacheNodesOffering; | ||
| 3 | use Moose; | ||
| 4 | has CacheNodeCount => (is => 'ro', isa => 'Int'); | ||
| 5 | has ReservedCacheNodeId => (is => 'ro', isa => 'Str'); | ||
| 6 | has ReservedCacheNodesOfferingId => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::Tag]'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PurchaseReservedCacheNodesOffering'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElastiCache::PurchaseReservedCacheNodesOfferingResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'PurchaseReservedCacheNodesOfferingResult'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ElastiCache::PurchaseReservedCacheNodesOffering - Arguments for method PurchaseReservedCacheNodesOffering on L<Paws::ElastiCache> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method PurchaseReservedCacheNodesOffering on the | ||
| 25 | L<Amazon ElastiCache|Paws::ElastiCache> service. Use the attributes of this class | ||
| 26 | as arguments to method PurchaseReservedCacheNodesOffering. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PurchaseReservedCacheNodesOffering. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $elasticache = Paws->service('ElastiCache'); | ||
| 33 | # PurchaseReservedCacheNodesOfferings | ||
| 34 | # Allows you to purchase a reserved cache node offering. | ||
| 35 | my $PurchaseReservedCacheNodesOfferingResult = | ||
| 36 | $elasticache->PurchaseReservedCacheNodesOffering( | ||
| 37 | 'ReservedCacheNodesOfferingId' => | ||
| 38 | '1ef01f5b-94ff-433f-a530-61a56bfc8e7a' ); | ||
| 39 | |||
| 40 | |||
| 41 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 42 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticache/PurchaseReservedCacheNodesOffering> | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 CacheNodeCount => Int | ||
| 48 | |||
| 49 | The number of cache node instances to reserve. | ||
| 50 | |||
| 51 | Default: C<1> | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 ReservedCacheNodeId => Str | ||
| 56 | |||
| 57 | A customer-specified identifier to track this reservation. | ||
| 58 | |||
| 59 | The Reserved Cache Node ID is an unique customer-specified identifier | ||
| 60 | to track this reservation. If this parameter is not specified, | ||
| 61 | ElastiCache automatically generates an identifier for the reservation. | ||
| 62 | |||
| 63 | Example: myreservationID | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> ReservedCacheNodesOfferingId => Str | ||
| 68 | |||
| 69 | The ID of the reserved cache node offering to purchase. | ||
| 70 | |||
| 71 | Example: C<438012d3-4052-4cc7-b2e3-8d3372e0e706> | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 Tags => ArrayRef[L<Paws::ElastiCache::Tag>] | ||
| 76 | |||
| 77 | A list of tags to be added to this resource. A tag is a key-value pair. | ||
| 78 | A tag key must be accompanied by a tag value, although null is | ||
| 79 | accepted. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, documenting arguments for method PurchaseReservedCacheNodesOffering in L<Paws::ElastiCache> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |