libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.DescribeSubnetGroups

Description

Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.

Synopsis

Creating a Request

data DescribeSubnetGroups Source #

See: newDescribeSubnetGroups smart constructor.

Constructors

DescribeSubnetGroups' 

Fields

  • subnetGroupName :: Maybe Text

    The name of the subnet group to return details for.

  • nextToken :: Maybe Text

    An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • maxResults :: Maybe Int

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

Instances

Instances details
Eq DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Read DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Show DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Generic DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Associated Types

type Rep DescribeSubnetGroups :: Type -> Type #

NFData DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Methods

rnf :: DescribeSubnetGroups -> () #

Hashable DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

ToJSON DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

AWSRequest DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Associated Types

type AWSResponse DescribeSubnetGroups #

ToHeaders DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

ToPath DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

ToQuery DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

type Rep DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

type Rep DescribeSubnetGroups = D1 ('MetaData "DescribeSubnetGroups" "Amazonka.MemoryDb.DescribeSubnetGroups" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DescribeSubnetGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeSubnetGroups Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

newDescribeSubnetGroups :: DescribeSubnetGroups Source #

Create a value of DescribeSubnetGroups 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:subnetGroupName:DescribeSubnetGroups', describeSubnetGroups_subnetGroupName - The name of the subnet group to return details for.

$sel:nextToken:DescribeSubnetGroups', describeSubnetGroups_nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:maxResults:DescribeSubnetGroups', describeSubnetGroups_maxResults - The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Request Lenses

describeSubnetGroups_subnetGroupName :: Lens' DescribeSubnetGroups (Maybe Text) Source #

The name of the subnet group to return details for.

describeSubnetGroups_nextToken :: Lens' DescribeSubnetGroups (Maybe Text) Source #

An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

describeSubnetGroups_maxResults :: Lens' DescribeSubnetGroups (Maybe Int) Source #

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

Destructuring the Response

data DescribeSubnetGroupsResponse Source #

See: newDescribeSubnetGroupsResponse smart constructor.

Constructors

DescribeSubnetGroupsResponse' 

Fields

  • subnetGroups :: Maybe [SubnetGroup]

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

  • nextToken :: Maybe Text

    An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Read DescribeSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Show DescribeSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Generic DescribeSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

Associated Types

type Rep DescribeSubnetGroupsResponse :: Type -> Type #

NFData DescribeSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

type Rep DescribeSubnetGroupsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeSubnetGroups

type Rep DescribeSubnetGroupsResponse = D1 ('MetaData "DescribeSubnetGroupsResponse" "Amazonka.MemoryDb.DescribeSubnetGroups" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DescribeSubnetGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SubnetGroup])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeSubnetGroupsResponse Source #

Create a value of DescribeSubnetGroupsResponse 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:subnetGroups:DescribeSubnetGroupsResponse', describeSubnetGroupsResponse_subnetGroups - A list of subnet groups. Each element in the list contains detailed information about one group.

$sel:nextToken:DescribeSubnetGroups', describeSubnetGroupsResponse_nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:httpStatus:DescribeSubnetGroupsResponse', describeSubnetGroupsResponse_httpStatus - The response's http status code.

Response Lenses

describeSubnetGroupsResponse_subnetGroups :: Lens' DescribeSubnetGroupsResponse (Maybe [SubnetGroup]) Source #

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

describeSubnetGroupsResponse_nextToken :: Lens' DescribeSubnetGroupsResponse (Maybe Text) Source #

An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.