Page updated Nov 9, 2023


For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the underlying Amazon Pinpoint client.

Note: While the Amplify Library for Kotlin is production ready, please note that the underlying AWS SDK for Kotlin is currently in Developer Preview, and is not yet intended for production workloads. Here is additional reading material on the stability of the SDK

Learn more about consuming Kotlin clients from Java using either a blocking interface or an equivalent async interface based on futures here.

AWSPinpointAnalyticsPlugin plugin = (AWSPinpointAnalyticsPlugin) Amplify.Analytics.getPlugin("awsPinpointAnalyticsPlugin"); PinpointClient pinpointClient = plugin.getEscapeHatch();
1AWSPinpointAnalyticsPlugin plugin = (AWSPinpointAnalyticsPlugin)
2 Amplify.Analytics.getPlugin("awsPinpointAnalyticsPlugin");
3PinpointClient pinpointClient = plugin.getEscapeHatch();