Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies the specified endpoint.
- modifyEndpoint :: Text -> ModifyEndpoint
- data ModifyEndpoint
- meServerName :: Lens' ModifyEndpoint (Maybe Text)
- meCertificateARN :: Lens' ModifyEndpoint (Maybe Text)
- meExtraConnectionAttributes :: Lens' ModifyEndpoint (Maybe Text)
- meEndpointType :: Lens' ModifyEndpoint (Maybe ReplicationEndpointTypeValue)
- meUsername :: Lens' ModifyEndpoint (Maybe Text)
- meEngineName :: Lens' ModifyEndpoint (Maybe Text)
- meSSLMode :: Lens' ModifyEndpoint (Maybe DmsSSLModeValue)
- mePassword :: Lens' ModifyEndpoint (Maybe Text)
- meDatabaseName :: Lens' ModifyEndpoint (Maybe Text)
- meEndpointIdentifier :: Lens' ModifyEndpoint (Maybe Text)
- mePort :: Lens' ModifyEndpoint (Maybe Int)
- meEndpointARN :: Lens' ModifyEndpoint Text
- modifyEndpointResponse :: Int -> ModifyEndpointResponse
- data ModifyEndpointResponse
- mersEndpoint :: Lens' ModifyEndpointResponse (Maybe Endpoint)
- mersResponseStatus :: Lens' ModifyEndpointResponse Int
Creating a Request
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.
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.
meEndpointType :: Lens' ModifyEndpoint (Maybe ReplicationEndpointTypeValue) Source #
The type of endpoint.
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.
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:
mersEndpoint
- The modified endpoint.mersResponseStatus
- -- | The response status code.
data ModifyEndpointResponse Source #
See: modifyEndpointResponse
smart constructor.
Response Lenses
mersEndpoint :: Lens' ModifyEndpointResponse (Maybe Endpoint) Source #
The modified endpoint.
mersResponseStatus :: Lens' ModifyEndpointResponse Int Source #
- - | The response status code.