Delete an event stream from Amazon Pinpoint
If you assign a Kinesis stream to an application, you can disable event streaming for that application. Amazon Pinpoint stops streaming the events to Kinesis, but you can view event analytics by using the Amazon Pinpoint console.
AWS CLI
Use the delete-event-stream
command:
aws pinpoint delete-event-stream --application-id
application-id
AWS SDK for Java
Use the deleteEventStream
method of the Amazon Pinpoint client:
pinClient.deleteEventStream(new DeleteEventStreamRequest().withApplicationId(appId));