The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ElastiCache::DecreaseNodeGroupsInGlobalReplicationGroup - Arguments for method DecreaseNodeGroupsInGlobalReplicationGroup on Paws::ElastiCache

DESCRIPTION

This class represents the parameters used for calling the method DecreaseNodeGroupsInGlobalReplicationGroup on the Amazon ElastiCache service. Use the attributes of this class as arguments to method DecreaseNodeGroupsInGlobalReplicationGroup.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DecreaseNodeGroupsInGlobalReplicationGroup.

SYNOPSIS

my $elasticache = Paws->service('ElastiCache');
my $DecreaseNodeGroupsInGlobalReplicationGroupResult =
  $elasticache->DecreaseNodeGroupsInGlobalReplicationGroup(
  ApplyImmediately         => 1,
  GlobalReplicationGroupId => 'MyString',
  NodeGroupCount           => 1,
  GlobalNodeGroupsToRemove => [ 'MyString', ... ],    # OPTIONAL
  GlobalNodeGroupsToRetain => [ 'MyString', ... ],    # OPTIONAL
  );

# Results:
my $GlobalReplicationGroup =
  $DecreaseNodeGroupsInGlobalReplicationGroupResult->GlobalReplicationGroup;

# Returns a Paws::ElastiCache::DecreaseNodeGroupsInGlobalReplicationGroupResult 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/DecreaseNodeGroupsInGlobalReplicationGroup

ATTRIBUTES

REQUIRED ApplyImmediately => Bool

Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

GlobalNodeGroupsToRemove => ArrayRef[Str|Undef]

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

GlobalNodeGroupsToRetain => ArrayRef[Str|Undef]

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

REQUIRED GlobalReplicationGroupId => Str

The name of the Global datastore

REQUIRED NodeGroupCount => Int

The number of node groups (shards) that results from the modification of the shard configuration

SEE ALSO

This class forms part of Paws, documenting arguments for method DecreaseNodeGroupsInGlobalReplicationGroup in Paws::ElastiCache

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues