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 information about replication instances for your account in the current region.
This operation returns paginated results.
Synopsis
- data DescribeReplicationInstances = DescribeReplicationInstances' {}
- newDescribeReplicationInstances :: DescribeReplicationInstances
- describeReplicationInstances_filters :: Lens' DescribeReplicationInstances (Maybe [Filter])
- describeReplicationInstances_marker :: Lens' DescribeReplicationInstances (Maybe Text)
- describeReplicationInstances_maxRecords :: Lens' DescribeReplicationInstances (Maybe Int)
- data DescribeReplicationInstancesResponse = DescribeReplicationInstancesResponse' {}
- newDescribeReplicationInstancesResponse :: Int -> DescribeReplicationInstancesResponse
- describeReplicationInstancesResponse_marker :: Lens' DescribeReplicationInstancesResponse (Maybe Text)
- describeReplicationInstancesResponse_replicationInstances :: Lens' DescribeReplicationInstancesResponse (Maybe [ReplicationInstance])
- describeReplicationInstancesResponse_httpStatus :: Lens' DescribeReplicationInstancesResponse Int
Creating a Request
data DescribeReplicationInstances Source #
See: newDescribeReplicationInstances
smart constructor.
DescribeReplicationInstances' | |
|
Instances
newDescribeReplicationInstances :: DescribeReplicationInstances Source #
Create a value of DescribeReplicationInstances
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:filters:DescribeReplicationInstances'
, describeReplicationInstances_filters
- Filters applied to replication instances.
Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version
$sel:marker:DescribeReplicationInstances'
, describeReplicationInstances_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:maxRecords:DescribeReplicationInstances'
, describeReplicationInstances_maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so that the remaining
results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeReplicationInstances_filters :: Lens' DescribeReplicationInstances (Maybe [Filter]) Source #
Filters applied to replication instances.
Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version
describeReplicationInstances_marker :: Lens' DescribeReplicationInstances (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeReplicationInstances_maxRecords :: Lens' DescribeReplicationInstances (Maybe Int) Source #
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called 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 DescribeReplicationInstancesResponse Source #
See: newDescribeReplicationInstancesResponse
smart constructor.
DescribeReplicationInstancesResponse' | |
|
Instances
newDescribeReplicationInstancesResponse Source #
Create a value of DescribeReplicationInstancesResponse
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:DescribeReplicationInstances'
, describeReplicationInstancesResponse_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:replicationInstances:DescribeReplicationInstancesResponse'
, describeReplicationInstancesResponse_replicationInstances
- The replication instances described.
$sel:httpStatus:DescribeReplicationInstancesResponse'
, describeReplicationInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
describeReplicationInstancesResponse_marker :: Lens' DescribeReplicationInstancesResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeReplicationInstancesResponse_replicationInstances :: Lens' DescribeReplicationInstancesResponse (Maybe [ReplicationInstance]) Source #
The replication instances described.
describeReplicationInstancesResponse_httpStatus :: Lens' DescribeReplicationInstancesResponse Int Source #
The response's http status code.