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.ModifyEndpoint

Contents

Description

Modifies the specified endpoint.

Synopsis

Creating a Request

modifyEndpoint Source #

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

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

  • meServerName - The name of the server where the endpoint database resides.
  • meCertificateARN - The Amazon Resource Name (ARN) of the certificate used for SSL connection.
  • meExtraConnectionAttributes - Additional attributes associated with the connection.
  • meEndpointType - The type of endpoint.
  • meUsername - The user name to be used to login to the endpoint database.
  • meEngineName - The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
  • meSSLMode - The SSL mode to be used. SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none.
  • mePassword - The password to be used to login to the endpoint database.
  • meDatabaseName - The name of the endpoint database.
  • meEndpointIdentifier - 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.
  • mePort - The port used by the endpoint database.
  • meEndpointARN - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

data ModifyEndpoint Source #

See: modifyEndpoint smart constructor.

Instances

Eq ModifyEndpoint Source # 
Data ModifyEndpoint Source # 

Methods

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

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

toConstr :: ModifyEndpoint -> Constr #

dataTypeOf :: ModifyEndpoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyEndpoint Source # 
Show ModifyEndpoint Source # 
Generic ModifyEndpoint Source # 

Associated Types

type Rep ModifyEndpoint :: * -> * #

Hashable ModifyEndpoint Source # 
ToJSON ModifyEndpoint Source # 
NFData ModifyEndpoint Source # 

Methods

rnf :: ModifyEndpoint -> () #

AWSRequest ModifyEndpoint Source # 
ToPath ModifyEndpoint Source # 
ToHeaders ModifyEndpoint Source # 
ToQuery ModifyEndpoint Source # 
type Rep ModifyEndpoint Source # 
type Rep ModifyEndpoint = D1 (MetaData "ModifyEndpoint" "Network.AWS.DMS.ModifyEndpoint" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "ModifyEndpoint'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_meServerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_meCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_meExtraConnectionAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_meEndpointType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReplicationEndpointTypeValue))) ((:*:) (S1 (MetaSel (Just Symbol "_meUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_meEngineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_meSSLMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DmsSSLModeValue))) ((:*:) (S1 (MetaSel (Just Symbol "_mePassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_meDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_meEndpointIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mePort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_meEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs ModifyEndpoint Source # 

Request Lenses

meServerName :: Lens' ModifyEndpoint (Maybe Text) Source #

The name of the server where the endpoint database resides.

meCertificateARN :: Lens' ModifyEndpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) of the certificate used for SSL connection.

meExtraConnectionAttributes :: Lens' ModifyEndpoint (Maybe Text) Source #

Additional attributes associated with the connection.

meUsername :: Lens' ModifyEndpoint (Maybe Text) Source #

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

meEngineName :: Lens' ModifyEndpoint (Maybe Text) Source #

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

meSSLMode :: Lens' ModifyEndpoint (Maybe DmsSSLModeValue) Source #

The SSL mode to be used. SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none.

mePassword :: Lens' ModifyEndpoint (Maybe Text) Source #

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

meDatabaseName :: Lens' ModifyEndpoint (Maybe Text) Source #

The name of the endpoint database.

meEndpointIdentifier :: Lens' ModifyEndpoint (Maybe 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.

mePort :: Lens' ModifyEndpoint (Maybe Int) Source #

The port used by the endpoint database.

meEndpointARN :: Lens' ModifyEndpoint Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Destructuring the Response

modifyEndpointResponse Source #

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

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

data ModifyEndpointResponse Source #

See: modifyEndpointResponse smart constructor.

Instances

Eq ModifyEndpointResponse Source # 
Data ModifyEndpointResponse Source # 

Methods

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

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

toConstr :: ModifyEndpointResponse -> Constr #

dataTypeOf :: ModifyEndpointResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyEndpointResponse Source # 
Show ModifyEndpointResponse Source # 
Generic ModifyEndpointResponse Source # 
NFData ModifyEndpointResponse Source # 

Methods

rnf :: ModifyEndpointResponse -> () #

type Rep ModifyEndpointResponse Source # 
type Rep ModifyEndpointResponse = D1 (MetaData "ModifyEndpointResponse" "Network.AWS.DMS.ModifyEndpoint" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "ModifyEndpointResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mersEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Endpoint))) (S1 (MetaSel (Just Symbol "_mersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

mersResponseStatus :: Lens' ModifyEndpointResponse Int Source #

  • - | The response status code.