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 |
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
This operation returns paginated results.
Synopsis
- describeConnections :: DescribeConnections
- data DescribeConnections
- dcFilters :: Lens' DescribeConnections [Filter]
- dcMarker :: Lens' DescribeConnections (Maybe Text)
- dcMaxRecords :: Lens' DescribeConnections (Maybe Int)
- describeConnectionsResponse :: Int -> DescribeConnectionsResponse
- data DescribeConnectionsResponse
- drsConnections :: Lens' DescribeConnectionsResponse [Connection]
- drsMarker :: Lens' DescribeConnectionsResponse (Maybe Text)
- drsResponseStatus :: Lens' DescribeConnectionsResponse Int
Creating a Request
describeConnections :: DescribeConnections Source #
Creates a value of DescribeConnections
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcFilters
- The filters applied to the connection. Valid filter names: endpoint-arn | replication-instance-arndcMarker
- 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 byMaxRecords
.dcMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
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.
data DescribeConnections Source #
See: describeConnections
smart constructor.
Instances
Request Lenses
dcFilters :: Lens' DescribeConnections [Filter] Source #
The filters applied to the connection. Valid filter names: endpoint-arn | replication-instance-arn
dcMarker :: Lens' DescribeConnections (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
.
dcMaxRecords :: Lens' DescribeConnections (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
describeConnectionsResponse Source #
Creates a value of DescribeConnectionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsConnections
- A description of the connections.drsMarker
- 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 byMaxRecords
.drsResponseStatus
- -- | The response status code.
data DescribeConnectionsResponse Source #
See: describeConnectionsResponse
smart constructor.
Instances
Response Lenses
drsConnections :: Lens' DescribeConnectionsResponse [Connection] Source #
A description of the connections.
drsMarker :: Lens' DescribeConnectionsResponse (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
.
drsResponseStatus :: Lens' DescribeConnectionsResponse Int Source #
- - | The response status code.