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

Description

Returns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group. This is applicable only when you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by default.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeCacheSubnetGroups Source #

Represents the input of a DescribeCacheSubnetGroups operation.

See: newDescribeCacheSubnetGroups smart constructor.

Constructors

DescribeCacheSubnetGroups' 

Fields

  • cacheSubnetGroupName :: Maybe Text

    The name of the cache subnet group to return details for.

  • marker :: Maybe Text

    An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • maxRecords :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints: minimum 20; maximum 100.

Instances

Instances details
Eq DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Read DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Show DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Generic DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Associated Types

type Rep DescribeCacheSubnetGroups :: Type -> Type #

NFData DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Hashable DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

AWSPager DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

AWSRequest DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

ToHeaders DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

ToPath DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

ToQuery DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroups = D1 ('MetaData "DescribeCacheSubnetGroups" "Amazonka.ElastiCache.DescribeCacheSubnetGroups" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "DescribeCacheSubnetGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheSubnetGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeCacheSubnetGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

newDescribeCacheSubnetGroups :: DescribeCacheSubnetGroups Source #

Create a value of DescribeCacheSubnetGroups 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:cacheSubnetGroupName:DescribeCacheSubnetGroups', describeCacheSubnetGroups_cacheSubnetGroupName - The name of the cache subnet group to return details for.

$sel:marker:DescribeCacheSubnetGroups', describeCacheSubnetGroups_marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:maxRecords:DescribeCacheSubnetGroups', describeCacheSubnetGroups_maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Request Lenses

describeCacheSubnetGroups_cacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #

The name of the cache subnet group to return details for.

describeCacheSubnetGroups_marker :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #

An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

describeCacheSubnetGroups_maxRecords :: Lens' DescribeCacheSubnetGroups (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Destructuring the Response

data DescribeCacheSubnetGroupsResponse Source #

Represents the output of a DescribeCacheSubnetGroups operation.

See: newDescribeCacheSubnetGroupsResponse smart constructor.

Constructors

DescribeCacheSubnetGroupsResponse' 

Fields

Instances

Instances details
Eq DescribeCacheSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Read DescribeCacheSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Show DescribeCacheSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Generic DescribeCacheSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

Associated Types

type Rep DescribeCacheSubnetGroupsResponse :: Type -> Type #

NFData DescribeCacheSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroupsResponse = D1 ('MetaData "DescribeCacheSubnetGroupsResponse" "Amazonka.ElastiCache.DescribeCacheSubnetGroups" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "DescribeCacheSubnetGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cacheSubnetGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CacheSubnetGroup])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeCacheSubnetGroupsResponse Source #

Create a value of DescribeCacheSubnetGroupsResponse 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:marker:DescribeCacheSubnetGroups', describeCacheSubnetGroupsResponse_marker - Provides an identifier to allow retrieval of paginated results.

$sel:cacheSubnetGroups:DescribeCacheSubnetGroupsResponse', describeCacheSubnetGroupsResponse_cacheSubnetGroups - A list of cache subnet groups. Each element in the list contains detailed information about one group.

$sel:httpStatus:DescribeCacheSubnetGroupsResponse', describeCacheSubnetGroupsResponse_httpStatus - The response's http status code.

Response Lenses

describeCacheSubnetGroupsResponse_marker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.

describeCacheSubnetGroupsResponse_cacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse (Maybe [CacheSubnetGroup]) Source #

A list of cache subnet groups. Each element in the list contains detailed information about one group.