| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DAX.DescribeSubnetGroups
Description
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
- describeSubnetGroups :: DescribeSubnetGroups
- data DescribeSubnetGroups
- dsgSubnetGroupNames :: Lens' DescribeSubnetGroups [Text]
- dsgNextToken :: Lens' DescribeSubnetGroups (Maybe Text)
- dsgMaxResults :: Lens' DescribeSubnetGroups (Maybe Int)
- describeSubnetGroupsResponse :: Int -> DescribeSubnetGroupsResponse
- data DescribeSubnetGroupsResponse
- dsgsrsSubnetGroups :: Lens' DescribeSubnetGroupsResponse [SubnetGroup]
- dsgsrsNextToken :: Lens' DescribeSubnetGroupsResponse (Maybe Text)
- dsgsrsResponseStatus :: Lens' DescribeSubnetGroupsResponse Int
Creating a Request
describeSubnetGroups :: DescribeSubnetGroups Source #
Creates a value of DescribeSubnetGroups with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsgSubnetGroupNames- The name of the subnet group.dsgNextToken- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified byMaxResults.dsgMaxResults- The maximum number of results to include in the response. If more results exist than the specifiedMaxResultsvalue, a token is included in the response so that the remaining results can be retrieved. The value forMaxResultsmust be between 20 and 100.
data DescribeSubnetGroups Source #
See: describeSubnetGroups smart constructor.
Instances
Request Lenses
dsgSubnetGroupNames :: Lens' DescribeSubnetGroups [Text] Source #
The name of the subnet group.
dsgNextToken :: Lens' DescribeSubnetGroups (Maybe Text) Source #
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults .
dsgMaxResults :: Lens' DescribeSubnetGroups (Maybe Int) Source #
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100.
Destructuring the Response
describeSubnetGroupsResponse Source #
Arguments
| :: Int | |
| -> DescribeSubnetGroupsResponse |
Creates a value of DescribeSubnetGroupsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsgsrsSubnetGroups- An array of subnet groups. Each element in the array represents a single subnet group.dsgsrsNextToken- Provides an identifier to allow retrieval of paginated results.dsgsrsResponseStatus- -- | The response status code.
data DescribeSubnetGroupsResponse Source #
See: describeSubnetGroupsResponse smart constructor.
Instances
Response Lenses
dsgsrsSubnetGroups :: Lens' DescribeSubnetGroupsResponse [SubnetGroup] Source #
An array of subnet groups. Each element in the array represents a single subnet group.
dsgsrsNextToken :: Lens' DescribeSubnetGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
dsgsrsResponseStatus :: Lens' DescribeSubnetGroupsResponse Int Source #
- - | The response status code.