« blib/lib/Paws/ElastiCache/ReservedCacheNodesOfferingMessage.pm
↑ Summary
blib/lib/Paws/ElastiCache/ReshardingConfiguration.pm »
| 1 | |||
| 2 | package Paws::ElastiCache::ResetCacheParameterGroup; | ||
| 3 | use Moose; | ||
| 4 | has CacheParameterGroupName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ParameterNameValues => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::ParameterNameValue]'); | ||
| 6 | has ResetAllParameters => (is => 'ro', isa => 'Bool'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ResetCacheParameterGroup'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElastiCache::CacheParameterGroupNameMessage'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'ResetCacheParameterGroupResult'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ElastiCache::ResetCacheParameterGroup - Arguments for method ResetCacheParameterGroup on L<Paws::ElastiCache> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ResetCacheParameterGroup on the | ||
| 24 | L<Amazon ElastiCache|Paws::ElastiCache> service. Use the attributes of this class | ||
| 25 | as arguments to method ResetCacheParameterGroup. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ResetCacheParameterGroup. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $elasticache = Paws->service('ElastiCache'); | ||
| 32 | # ResetCacheParameterGroup | ||
| 33 | # Modifies the parameters of a cache parameter group to the engine or system | ||
| 34 | # default value. | ||
| 35 | my $CacheParameterGroupNameMessage = $elasticache->ResetCacheParameterGroup( | ||
| 36 | 'CacheParameterGroupName' => 'custom-mem1-4', | ||
| 37 | 'ResetAllParameters' => 1 | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $CacheParameterGroupName = | ||
| 42 | $CacheParameterGroupNameMessage->CacheParameterGroupName; | ||
| 43 | |||
| 44 | # Returns a L<Paws::ElastiCache::CacheParameterGroupNameMessage> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticache/ResetCacheParameterGroup> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> CacheParameterGroupName => Str | ||
| 53 | |||
| 54 | The name of the cache parameter group to reset. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 ParameterNameValues => ArrayRef[L<Paws::ElastiCache::ParameterNameValue>] | ||
| 59 | |||
| 60 | An array of parameter names to reset to their default values. If | ||
| 61 | C<ResetAllParameters> is C<true>, do not use C<ParameterNameValues>. If | ||
| 62 | C<ResetAllParameters> is C<false>, you must specify the name of at | ||
| 63 | least one parameter to reset. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 ResetAllParameters => Bool | ||
| 68 | |||
| 69 | If C<true>, all parameters in the cache parameter group are reset to | ||
| 70 | their default values. If C<false>, only the parameters listed by | ||
| 71 | C<ParameterNameValues> are reset to their default values. | ||
| 72 | |||
| 73 | Valid values: C<true> | C<false> | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, documenting arguments for method ResetCacheParameterGroup in L<Paws::ElastiCache> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |