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 an array of ClusterDbRevision
objects.
This operation returns paginated results.
Synopsis
- data DescribeClusterDbRevisions = DescribeClusterDbRevisions' {
- clusterIdentifier :: Maybe Text
- marker :: Maybe Text
- maxRecords :: Maybe Int
- newDescribeClusterDbRevisions :: DescribeClusterDbRevisions
- describeClusterDbRevisions_clusterIdentifier :: Lens' DescribeClusterDbRevisions (Maybe Text)
- describeClusterDbRevisions_marker :: Lens' DescribeClusterDbRevisions (Maybe Text)
- describeClusterDbRevisions_maxRecords :: Lens' DescribeClusterDbRevisions (Maybe Int)
- data DescribeClusterDbRevisionsResponse = DescribeClusterDbRevisionsResponse' {}
- newDescribeClusterDbRevisionsResponse :: Int -> DescribeClusterDbRevisionsResponse
- describeClusterDbRevisionsResponse_clusterDbRevisions :: Lens' DescribeClusterDbRevisionsResponse (Maybe [ClusterDbRevision])
- describeClusterDbRevisionsResponse_marker :: Lens' DescribeClusterDbRevisionsResponse (Maybe Text)
- describeClusterDbRevisionsResponse_httpStatus :: Lens' DescribeClusterDbRevisionsResponse Int
Creating a Request
data DescribeClusterDbRevisions Source #
See: newDescribeClusterDbRevisions
smart constructor.
DescribeClusterDbRevisions' | |
|
Instances
newDescribeClusterDbRevisions :: DescribeClusterDbRevisions Source #
Create a value of DescribeClusterDbRevisions
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:clusterIdentifier:DescribeClusterDbRevisions'
, describeClusterDbRevisions_clusterIdentifier
- A unique identifier for a cluster whose ClusterDbRevisions
you are
requesting. This parameter is case sensitive. All clusters defined for
an account are returned by default.
$sel:marker:DescribeClusterDbRevisions'
, describeClusterDbRevisions_marker
- An optional parameter that specifies the starting point for returning a
set of response records. When the results of a
DescribeClusterDbRevisions
request exceed the value specified in
MaxRecords
, Amazon Redshift returns a value in the marker
field of
the response. You can retrieve the next set of response records by
providing the returned marker
value in the marker
parameter and
retrying the request.
Constraints: You can specify either the ClusterIdentifier
parameter,
or the marker
parameter, but not both.
$sel:maxRecords:DescribeClusterDbRevisions'
, describeClusterDbRevisions_maxRecords
- The maximum number of response records to return in each call. If the
number of remaining response records exceeds the specified MaxRecords
value, a value is returned in the marker
field of the response. You
can retrieve the next set of response records by providing the returned
marker
value in the marker
parameter and retrying the request.
Default: 100
Constraints: minimum 20, maximum 100.
Request Lenses
describeClusterDbRevisions_clusterIdentifier :: Lens' DescribeClusterDbRevisions (Maybe Text) Source #
A unique identifier for a cluster whose ClusterDbRevisions
you are
requesting. This parameter is case sensitive. All clusters defined for
an account are returned by default.
describeClusterDbRevisions_marker :: Lens' DescribeClusterDbRevisions (Maybe Text) Source #
An optional parameter that specifies the starting point for returning a
set of response records. When the results of a
DescribeClusterDbRevisions
request exceed the value specified in
MaxRecords
, Amazon Redshift returns a value in the marker
field of
the response. You can retrieve the next set of response records by
providing the returned marker
value in the marker
parameter and
retrying the request.
Constraints: You can specify either the ClusterIdentifier
parameter,
or the marker
parameter, but not both.
describeClusterDbRevisions_maxRecords :: Lens' DescribeClusterDbRevisions (Maybe Int) Source #
The maximum number of response records to return in each call. If the
number of remaining response records exceeds the specified MaxRecords
value, a value is returned in the marker
field of the response. You
can retrieve the next set of response records by providing the returned
marker
value in the marker
parameter and retrying the request.
Default: 100
Constraints: minimum 20, maximum 100.
Destructuring the Response
data DescribeClusterDbRevisionsResponse Source #
See: newDescribeClusterDbRevisionsResponse
smart constructor.
DescribeClusterDbRevisionsResponse' | |
|
Instances
newDescribeClusterDbRevisionsResponse Source #
Create a value of DescribeClusterDbRevisionsResponse
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:clusterDbRevisions:DescribeClusterDbRevisionsResponse'
, describeClusterDbRevisionsResponse_clusterDbRevisions
- A list of revisions.
$sel:marker:DescribeClusterDbRevisions'
, describeClusterDbRevisionsResponse_marker
- A string representing the starting point for the next set of revisions.
If a value is returned in a response, you can retrieve the next set of
revisions by providing the value in the marker
parameter and retrying
the command. If the marker
field is empty, all revisions have already
been returned.
$sel:httpStatus:DescribeClusterDbRevisionsResponse'
, describeClusterDbRevisionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeClusterDbRevisionsResponse_clusterDbRevisions :: Lens' DescribeClusterDbRevisionsResponse (Maybe [ClusterDbRevision]) Source #
A list of revisions.
describeClusterDbRevisionsResponse_marker :: Lens' DescribeClusterDbRevisionsResponse (Maybe Text) Source #
A string representing the starting point for the next set of revisions.
If a value is returned in a response, you can retrieve the next set of
revisions by providing the value in the marker
parameter and retrying
the command. If the marker
field is empty, all revisions have already
been returned.
describeClusterDbRevisionsResponse_httpStatus :: Lens' DescribeClusterDbRevisionsResponse Int Source #
The response's http status code.