def METHOD_NAME(self) -> TYPE_RESPONSE:
    application_id = self.path.split("/")[-2]
    params = json.loads(self.body)
    stream_arn = params.get("DestinationStreamArn")
    role_arn = params.get("RoleArn")
    event_stream = self.pinpoint_backend.METHOD_NAME(
        application_id=application_id, stream_arn=stream_arn, role_arn=role_arn
    )
    resp = event_stream.to_json()
    resp["ApplicationId"] = application_id
    return 200, {}, json.dumps(resp)