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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

This operation returns paginated results.

Synopsis

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

See: describeConnections smart constructor.

Instances
Eq DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Data DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.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 Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Show DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Generic DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Associated Types

type Rep DescribeConnections :: Type -> Type #

Hashable DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

ToJSON DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

AWSPager DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

AWSRequest DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Associated Types

type Rs DescribeConnections :: Type #

ToHeaders DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

ToPath DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

ToQuery DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

NFData DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Methods

rnf :: DescribeConnections -> () #

type Rep DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

type Rep DescribeConnections = D1 (MetaData "DescribeConnections" "Network.AWS.DMS.DescribeConnections" "amazonka-dms-1.6.1-14neO3bVY9yK6uL0mC7eXy" False) (C1 (MetaCons "DescribeConnections'" PrefixI True) (S1 (MetaSel (Just "_dcFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 (MetaSel (Just "_dcMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dcMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs DescribeConnections Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

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

data DescribeConnectionsResponse Source #

See: describeConnectionsResponse smart constructor.

Instances
Eq DescribeConnectionsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Data DescribeConnectionsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

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 Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Show DescribeConnectionsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Generic DescribeConnectionsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

Associated Types

type Rep DescribeConnectionsResponse :: Type -> Type #

NFData DescribeConnectionsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

type Rep DescribeConnectionsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeConnections

type Rep DescribeConnectionsResponse = D1 (MetaData "DescribeConnectionsResponse" "Network.AWS.DMS.DescribeConnections" "amazonka-dms-1.6.1-14neO3bVY9yK6uL0mC7eXy" False) (C1 (MetaCons "DescribeConnectionsResponse'" PrefixI True) (S1 (MetaSel (Just "_drsConnections") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Connection])) :*: (S1 (MetaSel (Just "_drsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

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 .