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)
- meExtraConnectionAttributes :: Lens' ModifyEndpoint (Maybe Text)
- meEndpointType :: Lens' ModifyEndpoint (Maybe ReplicationEndpointTypeValue)
- meUsername :: Lens' ModifyEndpoint (Maybe Text)
- meEngineName :: Lens' ModifyEndpoint (Maybe Text)
- 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:
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.
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.
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:
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.