modifyCacheParameterGroup
abstract suspend fun modifyCacheParameterGroup(input: ModifyCacheParameterGroupRequest): ModifyCacheParameterGroupResponse
Modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Samples
import aws.sdk.kotlin.services.elasticache.model.ParameterNameValue
fun main() {
//sampleStart
// Modifies one or more parameter values in the specified parameter group. You cannot modify any
// default parameter group.
val resp = elastiCacheClient.modifyCacheParameterGroup {
cacheParameterGroupName = "custom-mem1-4"
parameterNameValues = listOf<ParameterNameValue>(
ParameterNameValue {
parameterName = "binding_protocol"
parameterValue = "ascii"
},
ParameterNameValue {
parameterName = "chunk_size"
parameterValue = "96"
}
)
}
//sampleEnd
}