Copyright | (c) 2013-2021 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 |
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
This operation returns paginated results.
Synopsis
- data DescribeParameterGroups = DescribeParameterGroups' {
- nextToken :: Maybe Text
- parameterGroupNames :: Maybe [Text]
- maxResults :: Maybe Int
- newDescribeParameterGroups :: DescribeParameterGroups
- describeParameterGroups_nextToken :: Lens' DescribeParameterGroups (Maybe Text)
- describeParameterGroups_parameterGroupNames :: Lens' DescribeParameterGroups (Maybe [Text])
- describeParameterGroups_maxResults :: Lens' DescribeParameterGroups (Maybe Int)
- data DescribeParameterGroupsResponse = DescribeParameterGroupsResponse' {}
- newDescribeParameterGroupsResponse :: Int -> DescribeParameterGroupsResponse
- describeParameterGroupsResponse_nextToken :: Lens' DescribeParameterGroupsResponse (Maybe Text)
- describeParameterGroupsResponse_parameterGroups :: Lens' DescribeParameterGroupsResponse (Maybe [ParameterGroup])
- describeParameterGroupsResponse_httpStatus :: Lens' DescribeParameterGroupsResponse Int
Creating a Request
data DescribeParameterGroups Source #
See: newDescribeParameterGroups
smart constructor.
DescribeParameterGroups' | |
|
Instances
newDescribeParameterGroups :: DescribeParameterGroups Source #
Create a value of DescribeParameterGroups
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:nextToken:DescribeParameterGroups'
, describeParameterGroups_nextToken
- 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
.
$sel:parameterGroupNames:DescribeParameterGroups'
, describeParameterGroups_parameterGroupNames
- The names of the parameter groups.
$sel:maxResults:DescribeParameterGroups'
, describeParameterGroups_maxResults
- 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.
Request Lenses
describeParameterGroups_nextToken :: Lens' DescribeParameterGroups (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
.
describeParameterGroups_parameterGroupNames :: Lens' DescribeParameterGroups (Maybe [Text]) Source #
The names of the parameter groups.
describeParameterGroups_maxResults :: Lens' DescribeParameterGroups (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
data DescribeParameterGroupsResponse Source #
See: newDescribeParameterGroupsResponse
smart constructor.
DescribeParameterGroupsResponse' | |
|
Instances
newDescribeParameterGroupsResponse Source #
Create a value of DescribeParameterGroupsResponse
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:nextToken:DescribeParameterGroups'
, describeParameterGroupsResponse_nextToken
- Provides an identifier to allow retrieval of paginated results.
$sel:parameterGroups:DescribeParameterGroupsResponse'
, describeParameterGroupsResponse_parameterGroups
- An array of parameter groups. Each element in the array represents one
parameter group.
$sel:httpStatus:DescribeParameterGroupsResponse'
, describeParameterGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeParameterGroupsResponse_nextToken :: Lens' DescribeParameterGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeParameterGroupsResponse_parameterGroups :: Lens' DescribeParameterGroupsResponse (Maybe [ParameterGroup]) Source #
An array of parameter groups. Each element in the array represents one parameter group.
describeParameterGroupsResponse_httpStatus :: Lens' DescribeParameterGroupsResponse Int Source #
The response's http status code.