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 |
Creates an endpoint using the provided settings.
- createEndpoint :: Text -> ReplicationEndpointTypeValue -> Text -> Text -> Text -> Text -> Int -> CreateEndpoint
- data CreateEndpoint
- ceExtraConnectionAttributes :: Lens' CreateEndpoint (Maybe Text)
- ceKMSKeyId :: Lens' CreateEndpoint (Maybe Text)
- ceDatabaseName :: Lens' CreateEndpoint (Maybe Text)
- ceTags :: Lens' CreateEndpoint [Tag]
- ceEndpointIdentifier :: Lens' CreateEndpoint Text
- ceEndpointType :: Lens' CreateEndpoint ReplicationEndpointTypeValue
- ceEngineName :: Lens' CreateEndpoint Text
- ceUsername :: Lens' CreateEndpoint Text
- cePassword :: Lens' CreateEndpoint Text
- ceServerName :: Lens' CreateEndpoint Text
- cePort :: Lens' CreateEndpoint Int
- createEndpointResponse :: Int -> CreateEndpointResponse
- data CreateEndpointResponse
- cersEndpoint :: Lens' CreateEndpointResponse (Maybe Endpoint)
- cersResponseStatus :: Lens' CreateEndpointResponse Int
Creating a Request
:: Text | |
-> ReplicationEndpointTypeValue | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Int | |
-> CreateEndpoint |
Creates a value of CreateEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateEndpoint Source #
See: createEndpoint
smart constructor.
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.
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.
ceEndpointType :: Lens' CreateEndpoint ReplicationEndpointTypeValue Source #
The type of endpoint.
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.
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.
Response Lenses
cersEndpoint :: Lens' CreateEndpointResponse (Maybe Endpoint) Source #
The endpoint that was created.
cersResponseStatus :: Lens' CreateEndpointResponse Int Source #
The response status code.