Interface S3EventNotificationReader

    • Method Detail

      • read

        S3EventNotification read​(String event)
        Read a json formatted Amazon S3 Event Notification from a UTF-8 string. Will ignores all additional fields and missing fields will be set to null.
        Parameters:
        event - UTF-8 json of the notification.
        Returns:
        S3EventNotification
        Throws:
        software.amazon.awssdk.thirdparty.jackson.core.JsonParseException - if json if malformed
      • read

        S3EventNotification read​(InputStream event)
        Read a json formatted Amazon S3 Event Notification from a UTF-8 InputStream. Will ignores all additional fields and missing fields will be set to null.
        Parameters:
        event - UTF-8 json of the notification.
        Returns:
        S3EventNotification
        Throws:
        software.amazon.awssdk.thirdparty.jackson.core.JsonParseException - if json if malformed
      • read

        S3EventNotification read​(byte[] event)
        Read a json formatted Amazon S3 Event Notification from a UTF-8 encoded byte array. Will ignores all additional fields and missing fields will be set to null.
        Parameters:
        event - UTF-8 json of the notification.
        Returns:
        S3EventNotification
        Throws:
        software.amazon.awssdk.thirdparty.jackson.core.JsonParseException - if json if malformed