MemoryDB / Client / update_parameter_group

update_parameter_group#

MemoryDB.Client.update_parameter_group(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.update_parameter_group(
    ParameterGroupName='string',
    ParameterNameValues=[
        {
            'ParameterName': 'string',
            'ParameterValue': 'string'
        },
    ]
)
Parameters:
  • ParameterGroupName (string) –

    [REQUIRED]

    The name of the parameter group to update.

  • ParameterNameValues (list) –

    [REQUIRED]

    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.

    • (dict) –

      Describes a name-value pair that is used to update the value of a parameter.

      • ParameterName (string) –

        The name of the parameter

      • ParameterValue (string) –

        The value of the parameter

Return type:

dict

Returns:

Response Syntax

{
    'ParameterGroup': {
        'Name': 'string',
        'Family': 'string',
        'Description': 'string',
        'ARN': 'string'
    }
}

Response Structure

  • (dict) –

    • ParameterGroup (dict) –

      The updated parameter group

      • Name (string) –

        The name of the parameter group

      • Family (string) –

        The name of the parameter group family that this parameter group is compatible with.

      • Description (string) –

        A description of the parameter group

      • ARN (string) –

        The Amazon Resource Name (ARN) of the parameter group

Exceptions

  • MemoryDB.Client.exceptions.ParameterGroupNotFoundFault

  • MemoryDB.Client.exceptions.InvalidParameterGroupStateFault

  • MemoryDB.Client.exceptions.ServiceLinkedRoleNotFoundFault

  • MemoryDB.Client.exceptions.InvalidParameterValueException

  • MemoryDB.Client.exceptions.InvalidParameterCombinationException