UpdateParameterGroup
Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Request Syntax
{
"ParameterGroupName": "string
",
"ParameterNameValues": [
{
"ParameterName": "string
",
"ParameterValue": "string
"
}
]
}
Request Parameters
The request accepts the following data in JSON format.
Note
In the following list, the required parameters are described first.
- ParameterGroupName
-
The name of the parameter group.
Type: String
Required: Yes
- ParameterNameValues
-
An array of name-value pairs for the parameters in the group. Each element in the array represents a single parameter.
Note
record-ttl-millis
andquery-ttl-millis
are the only supported parameter names. For more details, see Configuring TTL Settings.Type: Array of ParameterNameValue objects
Required: Yes
Response Syntax
{
"ParameterGroup": {
"Description": "string",
"ParameterGroupName": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ParameterGroup
-
The parameter group that has been modified.
Type: ParameterGroup object
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidParameterCombinationException
-
Two or more incompatible parameters were specified.
HTTP Status Code: 400
- InvalidParameterGroupStateFault
-
One or more parameters in a parameter group are in an invalid state.
HTTP Status Code: 400
- InvalidParameterValueException
-
The value for a parameter is invalid.
HTTP Status Code: 400
- ParameterGroupNotFoundFault
-
The specified parameter group does not exist.
HTTP Status Code: 400
- ServiceLinkedRoleNotFoundFault
-
The specified service linked role (SLR) was not found.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: