amazonka-dms-1.4.4: 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 :: * -> * #

Hashable CreateEndpoint Source # 
NFData CreateEndpoint Source # 

Methods

rnf :: CreateEndpoint -> () #

AWSRequest CreateEndpoint Source # 
ToPath CreateEndpoint Source # 
ToHeaders CreateEndpoint Source # 
ToQuery CreateEndpoint Source # 
ToJSON CreateEndpoint Source # 
type Rep CreateEndpoint Source # 
type Rep CreateEndpoint = D1 (MetaData "CreateEndpoint" "Network.AWS.DMS.CreateEndpoint" "amazonka-dms-1.4.4-FWQEIatHeq4I5zxNmYCPdv" False) (C1 (MetaCons "CreateEndpoint'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ceCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ceExtraConnectionAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ceKMSKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_ceSSLMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DmsSSLModeValue))) ((:*:) (S1 (MetaSel (Just Symbol "_ceDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ceTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ceEndpointIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ceEndpointType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ReplicationEndpointTypeValue)) (S1 (MetaSel (Just Symbol "_ceEngineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ceUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cePassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ceServerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cePort") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))))
type Rs CreateEndpoint Source # 

Request Lenses

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

The Amazon Resource Number (ARN) for the certificate.

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.

ceSSLMode :: Lens' CreateEndpoint (Maybe DmsSSLModeValue) Source #

The SSL mode to use for the SSL connection.

SSL mode can be one of four values: none, require, verify-ca, verify-full.

The default value is none.

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, REDSHIFT, and 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.4-FWQEIatHeq4I5zxNmYCPdv" False) (C1 (MetaCons "CreateEndpointResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cersEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Endpoint))) (S1 (MetaSel (Just Symbol "_cersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

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

The endpoint that was created.