create_parameter_group

MemoryDB.Client.create_parameter_group(**kwargs)

Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.

See also: AWS API Documentation

Request Syntax

response = client.create_parameter_group(
    ParameterGroupName='string',
    Family='string',
    Description='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • ParameterGroupName (string) --

    [REQUIRED]

    The name of the parameter group.

  • Family (string) --

    [REQUIRED]

    The name of the parameter group family that the parameter group can be used with.

  • Description (string) -- An optional description of the parameter group.
  • Tags (list) --

    A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

    • (dict) --

      A tag that can be added to an MemoryDB resource. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. A tag with a null Value is permitted. For more information, see Tagging your MemoryDB resources

      • Key (string) --

        The key for the tag. May not be null.

      • Value (string) --

        The tag's value. May be null.

Return type

dict

Returns

Response Syntax

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

Response Structure

  • (dict) --

    • ParameterGroup (dict) --

      The newly-created 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.ParameterGroupQuotaExceededFault
  • MemoryDB.Client.exceptions.ParameterGroupAlreadyExistsFault
  • MemoryDB.Client.exceptions.InvalidParameterGroupStateFault
  • MemoryDB.Client.exceptions.ServiceLinkedRoleNotFoundFault
  • MemoryDB.Client.exceptions.TagQuotaPerResourceExceeded
  • MemoryDB.Client.exceptions.InvalidParameterValueException
  • MemoryDB.Client.exceptions.InvalidParameterCombinationException