deleteEndpoint
inline suspend fun DatabaseMigrationClient.deleteEndpoint(crossinline block: DeleteEndpointRequest.Builder.() -> Unit): DeleteEndpointResponse
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
Samples
fun main() {
//sampleStart
// Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you
// can delete the endpoint.
val resp = databaseMigrationClient.deleteEndpoint {
endpointArn = "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM"
}
//sampleEnd
}