![]() |
![]()
| ![]() |
![]()
NAMEPaws::ElastiCache::DecreaseReplicaCount - Arguments for method DecreaseReplicaCount on Paws::ElastiCache DESCRIPTIONThis class represents the parameters used for calling the method DecreaseReplicaCount on the Amazon ElastiCache service. Use the attributes of this class as arguments to method DecreaseReplicaCount. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DecreaseReplicaCount. SYNOPSISmy $elasticache = Paws->service('ElastiCache'); my $DecreaseReplicaCountResult = $elasticache->DecreaseReplicaCount( ApplyImmediately => 1, ReplicationGroupId => 'MyString', NewReplicaCount => 1, # OPTIONAL ReplicaConfiguration => [ { NewReplicaCount => 1, NodeGroupId => 'MyAllowedNodeGroupId', # min: 1, max: 4 PreferredAvailabilityZones => [ 'MyString', ... ], # OPTIONAL PreferredOutpostArns => [ 'MyString', ... ], # OPTIONAL }, ... ], # OPTIONAL ReplicasToRemove => [ 'MyString', ... ], # OPTIONAL ); # Results: my $ReplicationGroup = $DecreaseReplicaCountResult->ReplicationGroup; # Returns a L<Paws::ElastiCache::DecreaseReplicaCountResult> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/elasticache/DecreaseReplicaCount> ATTRIBUTESREQUIRED ApplyImmediately => BoolIf "True", the number of replica nodes is decreased immediately. "ApplyImmediately=False" is not currently supported. NewReplicaCount => IntThe number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups. The minimum number of replicas in a shard or replication group is:
ReplicaConfiguration => ArrayRef[Paws::ElastiCache::ConfigureShard]A list of "ConfigureShard" objects that can be used to configure each shard in a Redis (cluster mode enabled) replication group. The "ConfigureShard" has three members: "NewReplicaCount", "NodeGroupId", and "PreferredAvailabilityZones". ReplicasToRemove => ArrayRef[Str|Undef]A list of the node ids to remove from the replication group or node group (shard). REQUIRED ReplicationGroupId => StrThe id of the replication group from which you want to remove replica nodes. SEE ALSOThis class forms part of Paws, documenting arguments for method DecreaseReplicaCount in Paws::ElastiCache BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|