UpdateParameterGroupCommand

Updates 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.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { MemoryDBClient, UpdateParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
// const { MemoryDBClient, UpdateParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
const client = new MemoryDBClient(config);
const input = { // UpdateParameterGroupRequest
  ParameterGroupName: "STRING_VALUE", // required
  ParameterNameValues: [ // ParameterNameValueList // required
    { // ParameterNameValue
      ParameterName: "STRING_VALUE",
      ParameterValue: "STRING_VALUE",
    },
  ],
};
const command = new UpdateParameterGroupCommand(input);
const response = await client.send(command);
// { // UpdateParameterGroupResponse
//   ParameterGroup: { // ParameterGroup
//     Name: "STRING_VALUE",
//     Family: "STRING_VALUE",
//     Description: "STRING_VALUE",
//     ARN: "STRING_VALUE",
//   },
// };

UpdateParameterGroupCommand Input

Parameter
Type
Description
ParameterGroupName
Required
string | undefined

The name of the parameter group to update.

ParameterNameValues
Required
ParameterNameValue[] | undefined

An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be updated per request.

UpdateParameterGroupCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
ParameterGroup
ParameterGroup | undefined

The updated parameter group

Throws