libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.CreateCacheParameterGroup

Description

Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster or replication group using the CacheParameterGroup.

A newly created CacheParameterGroup is an exact duplicate of the default parameter group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can change the values of specific parameters. For more information, see:

Synopsis

Creating a Request

data CreateCacheParameterGroup Source #

Represents the input of a CreateCacheParameterGroup operation.

See: newCreateCacheParameterGroup smart constructor.

Constructors

CreateCacheParameterGroup' 

Fields

  • tags :: Maybe [Tag]

    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.

  • cacheParameterGroupName :: Text

    A user-specified name for the cache parameter group.

  • cacheParameterGroupFamily :: Text

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

    Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x |

  • description :: Text

    A user-specified description for the cache parameter group.

Instances

Instances details
Eq CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Read CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Show CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Generic CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Associated Types

type Rep CreateCacheParameterGroup :: Type -> Type #

NFData CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Hashable CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

AWSRequest CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

ToHeaders CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

ToPath CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

ToQuery CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

type Rep CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

type Rep CreateCacheParameterGroup = D1 ('MetaData "CreateCacheParameterGroup" "Amazonka.ElastiCache.CreateCacheParameterGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "CreateCacheParameterGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "cacheParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "cacheParameterGroupFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

newCreateCacheParameterGroup Source #

Create a value of CreateCacheParameterGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:CreateCacheParameterGroup', createCacheParameterGroup_tags - 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.

$sel:cacheParameterGroupName:CreateCacheParameterGroup', createCacheParameterGroup_cacheParameterGroupName - A user-specified name for the cache parameter group.

$sel:cacheParameterGroupFamily:CreateCacheParameterGroup', createCacheParameterGroup_cacheParameterGroupFamily - The name of the cache parameter group family that the cache parameter group can be used with.

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x |

$sel:description:CreateCacheParameterGroup', createCacheParameterGroup_description - A user-specified description for the cache parameter group.

Request Lenses

createCacheParameterGroup_tags :: Lens' CreateCacheParameterGroup (Maybe [Tag]) Source #

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.

createCacheParameterGroup_cacheParameterGroupName :: Lens' CreateCacheParameterGroup Text Source #

A user-specified name for the cache parameter group.

createCacheParameterGroup_cacheParameterGroupFamily :: Lens' CreateCacheParameterGroup Text Source #

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

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x |

createCacheParameterGroup_description :: Lens' CreateCacheParameterGroup Text Source #

A user-specified description for the cache parameter group.

Destructuring the Response

data CreateCacheParameterGroupResponse Source #

See: newCreateCacheParameterGroupResponse smart constructor.

Constructors

CreateCacheParameterGroupResponse' 

Fields

Instances

Instances details
Eq CreateCacheParameterGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Read CreateCacheParameterGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Show CreateCacheParameterGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Generic CreateCacheParameterGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

Associated Types

type Rep CreateCacheParameterGroupResponse :: Type -> Type #

NFData CreateCacheParameterGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

type Rep CreateCacheParameterGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheParameterGroup

type Rep CreateCacheParameterGroupResponse = D1 ('MetaData "CreateCacheParameterGroupResponse" "Amazonka.ElastiCache.CreateCacheParameterGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "CreateCacheParameterGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheParameterGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheParameterGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateCacheParameterGroupResponse Source #

Create a value of CreateCacheParameterGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cacheParameterGroup:CreateCacheParameterGroupResponse', createCacheParameterGroupResponse_cacheParameterGroup - Undocumented member.

$sel:httpStatus:CreateCacheParameterGroupResponse', createCacheParameterGroupResponse_httpStatus - The response's http status code.

Response Lenses