Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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)
- meMongoDBSettings :: Lens' ModifyEndpoint (Maybe MongoDBSettings)
- meSSLMode :: Lens' ModifyEndpoint (Maybe DmsSSLModeValue)
- mePassword :: Lens' ModifyEndpoint (Maybe Text)
- meDatabaseName :: Lens' ModifyEndpoint (Maybe Text)
- meS3Settings :: Lens' ModifyEndpoint (Maybe S3Settings)
- meEndpointIdentifier :: Lens' ModifyEndpoint (Maybe Text)
- meDynamoDBSettings :: Lens' ModifyEndpoint (Maybe DynamoDBSettings)
- 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. To reset this parameter, pass the empty string ("") as an argument.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, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, DYNAMODB, MONGODB, SYBASE, and SQLSERVER.meMongoDBSettings
- Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service section at Using Amazon S3 as a Target for AWS Database Migration Service .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.meS3Settings
- Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the Extra Connection Attributes section at Using Amazon S3 as a Target for AWS Database Migration Service .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.meDynamoDBSettings
- Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the Using Object Mapping to Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service .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. To reset this parameter, pass the empty string ("") as an argument.
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, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, DYNAMODB, MONGODB, SYBASE, and SQLSERVER.
meMongoDBSettings :: Lens' ModifyEndpoint (Maybe MongoDBSettings) Source #
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service section at Using Amazon S3 as a Target for AWS Database Migration Service .
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.
meS3Settings :: Lens' ModifyEndpoint (Maybe S3Settings) Source #
Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the Extra Connection Attributes section at Using Amazon S3 as a Target for AWS Database Migration Service .
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.
meDynamoDBSettings :: Lens' ModifyEndpoint (Maybe DynamoDBSettings) Source #
Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the Using Object Mapping to Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service .
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.