amazonka-dms-1.4.2: 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.CreateEndpoint

Contents

Description

Creates an endpoint using the provided settings.

Synopsis

Creating a Request

data CreateEndpoint Source #

See: createEndpoint smart constructor.

Instances

Eq CreateEndpoint Source # 
Data CreateEndpoint Source # 

Methods

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

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

toConstr :: CreateEndpoint -> Constr #

dataTypeOf :: CreateEndpoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEndpoint Source # 
Show CreateEndpoint Source # 
Generic CreateEndpoint Source # 

Associated Types

type Rep CreateEndpoint :: * -> * #

ToJSON CreateEndpoint Source # 
Hashable CreateEndpoint Source # 
NFData CreateEndpoint Source # 

Methods

rnf :: CreateEndpoint -> () #

AWSRequest CreateEndpoint Source # 
ToPath CreateEndpoint Source # 
ToHeaders CreateEndpoint Source # 
ToQuery CreateEndpoint Source # 
type Rep CreateEndpoint Source # 
type Rs CreateEndpoint Source # 

Request Lenses

ceExtraConnectionAttributes :: Lens' CreateEndpoint (Maybe Text) Source #

Additional attributes associated with the connection.

ceKMSKeyId :: Lens' CreateEndpoint (Maybe Text) Source #

The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.

ceDatabaseName :: Lens' CreateEndpoint (Maybe Text) Source #

The name of the endpoint database.

ceTags :: Lens' CreateEndpoint [Tag] Source #

Tags to be added to the endpoint.

ceEndpointIdentifier :: Lens' CreateEndpoint Text Source #

The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.

ceEngineName :: Lens' CreateEndpoint Text Source #

The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.

ceUsername :: Lens' CreateEndpoint Text Source #

The user name to be used to login to the endpoint database.

cePassword :: Lens' CreateEndpoint Text Source #

The password to be used to login to the endpoint database.

ceServerName :: Lens' CreateEndpoint Text Source #

The name of the server where the endpoint database resides.

cePort :: Lens' CreateEndpoint Int Source #

The port used by the endpoint database.

Destructuring the Response

createEndpointResponse Source #

Creates a value of CreateEndpointResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateEndpointResponse Source #

See: createEndpointResponse smart constructor.

Instances

Eq CreateEndpointResponse Source # 
Data CreateEndpointResponse Source # 

Methods

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

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

toConstr :: CreateEndpointResponse -> Constr #

dataTypeOf :: CreateEndpointResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEndpointResponse Source # 
Show CreateEndpointResponse Source # 
Generic CreateEndpointResponse Source # 
NFData CreateEndpointResponse Source # 

Methods

rnf :: CreateEndpointResponse -> () #

type Rep CreateEndpointResponse Source # 
type Rep CreateEndpointResponse = D1 (MetaData "CreateEndpointResponse" "Network.AWS.DMS.CreateEndpoint" "amazonka-dms-1.4.2-2yj1sAd0F5yIqyHb5pVC2I" False) (C1 (MetaCons "CreateEndpointResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cersEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Endpoint))) (S1 (MetaSel (Just Symbol "_cersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

cersEndpoint :: Lens' CreateEndpointResponse (Maybe Endpoint) Source #

The endpoint that was created.