// Modifies the settings for a replication group.
//
// * Scaling for Amazon ElastiCache
// for Redis (cluster mode enabled)
// (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/scaling-redis-cluster-mode-enabled.html)
// in the ElastiCache User Guide
//
// * ModifyReplicationGroupShardConfiguration
// (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyReplicationGroupShardConfiguration.html)
// in the ElastiCache API Reference
//
// This operation is valid for Redis only.
Modifies the settings for a replication group.

Scaling for Amazon ElastiCache
for Redis (cluster mode enabled)

in the ElastiCache User Guide

ModifyReplicationGroupShardConfiguration

in the ElastiCache API Reference

This operation is valid for Redis only.
// Modifies the settings for a replication group . // // * Scaling for Amazon ElastiCache // for Redis ( cluster mode enabled ) // ( https : // docs . aws . amazon . com / AmazonElastiCache / latest / red - ug / scaling - redis - cluster - mode - enabled . html ) // in the ElastiCache User Guide // // * ModifyReplicationGroupShardConfiguration // ( https : // docs . aws . amazon . com / AmazonElastiCache / latest / APIReference / API_ModifyReplicationGroupShardConfiguration . html ) // in the ElastiCache API Reference // // This operation is valid for Redis only .
func (c *Client) ModifyReplicationGroup(ctx context.Context, params *ModifyReplicationGroupInput, optFns ...func(*Options)) (*ModifyReplicationGroupOutput, error) {
	if params == nil {
		params = &ModifyReplicationGroupInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ModifyReplicationGroup", params, optFns, addOperationModifyReplicationGroupMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ModifyReplicationGroupOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ModifyReplicationGroup ( ctx context . Context , params * ModifyReplicationGroupInput , optFns ... func ( * Options ) ) ( * ModifyReplicationGroupOutput , error ) { if params == nil { params = & ModifyReplicationGroupInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationModifyReplicationGroupMiddlewares ) if err != nil { return nil , err } out := result . ( * ModifyReplicationGroupOutput ) out . ResultMetadata = metadata return out , nil }
Modifies the settings for a replication group.
Modifies the settings for a replication group .