```kotlin
suspend fun getMessage() {
    val request = RestOptions.builder()
        .addPath("/hello")
        .build()
    try {
        val response = Amplify.API.get(request)
        Log.i("MyAmplifyApp", "GET succeeded: $response")
    } catch (failure: ApiException) {
        Log.e("MyAmplifyApp", "GET failed", failure)
    }
}
```
