"""Bulk ingest failure schema.""" from marshmallow import Schema, fields class BulkIngestProductFailure(Schema): """Schema for bulk ingest failure payload. Attributes: - bulk_session_id (str): the ID of the bulk session - identity_id (str): the identity ID of the user to notify of failure """ bulk_session_id = fields.Str(required=True) execution_arn = fields.String(required=True) product_code = fields.String(required=True)