amazonka-dms-1.4.5: Amazon Database Migration Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DMS.DescribeConnections

Contents

Description

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.

Synopsis

Creating a Request

describeConnections :: DescribeConnections #

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-arn
  • dcMarker - 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 - 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.

data DescribeConnections #

See: describeConnections smart constructor.

Instances

Eq DescribeConnections # 
Data DescribeConnections # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeConnections -> c DescribeConnections #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeConnections #

toConstr :: DescribeConnections -> Constr #

dataTypeOf :: DescribeConnections -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeConnections) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeConnections) #

gmapT :: (forall b. Data b => b -> b) -> DescribeConnections -> DescribeConnections #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConnections -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConnections -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeConnections -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeConnections -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeConnections -> m DescribeConnections #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConnections -> m DescribeConnections #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConnections -> m DescribeConnections #

Read DescribeConnections # 
Show DescribeConnections # 
Generic DescribeConnections # 
Hashable DescribeConnections # 
ToJSON DescribeConnections # 
NFData DescribeConnections # 

Methods

rnf :: DescribeConnections -> () #

AWSRequest DescribeConnections # 
ToQuery DescribeConnections # 
ToPath DescribeConnections # 
ToHeaders DescribeConnections # 
type Rep DescribeConnections # 
type Rep DescribeConnections = D1 (MetaData "DescribeConnections" "Network.AWS.DMS.DescribeConnections" "amazonka-dms-1.4.5-CLFF6guEDDpCqcIPuIiNlx" False) (C1 (MetaCons "DescribeConnections'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) ((:*:) (S1 (MetaSel (Just Symbol "_dcMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeConnections # 

Request Lenses

dcFilters :: Lens' DescribeConnections [Filter] #

The filters applied to the connection. Valid filter names: endpoint-arn | replication-instance-arn

dcMarker :: Lens' DescribeConnections (Maybe Text) #

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) #

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 #

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 by MaxRecords .
  • drsResponseStatus - -- | The response status code.

data DescribeConnectionsResponse #

See: describeConnectionsResponse smart constructor.

Instances

Eq DescribeConnectionsResponse # 
Data DescribeConnectionsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeConnectionsResponse -> c DescribeConnectionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeConnectionsResponse #

toConstr :: DescribeConnectionsResponse -> Constr #

dataTypeOf :: DescribeConnectionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeConnectionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeConnectionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeConnectionsResponse -> DescribeConnectionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConnectionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeConnectionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeConnectionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeConnectionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeConnectionsResponse -> m DescribeConnectionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConnectionsResponse -> m DescribeConnectionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeConnectionsResponse -> m DescribeConnectionsResponse #

Read DescribeConnectionsResponse # 
Show DescribeConnectionsResponse # 
Generic DescribeConnectionsResponse # 
NFData DescribeConnectionsResponse # 
type Rep DescribeConnectionsResponse # 
type Rep DescribeConnectionsResponse = D1 (MetaData "DescribeConnectionsResponse" "Network.AWS.DMS.DescribeConnections" "amazonka-dms-1.4.5-CLFF6guEDDpCqcIPuIiNlx" False) (C1 (MetaCons "DescribeConnectionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drsConnections") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Connection]))) ((:*:) (S1 (MetaSel (Just Symbol "_drsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

drsConnections :: Lens' DescribeConnectionsResponse [Connection] #

A description of the connections.

drsMarker :: Lens' DescribeConnectionsResponse (Maybe Text) #

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 #

  • - | The response status code.