Skip to content

Add GetDocument lambda function #4

@andrba

Description

@andrba

Background:

Pre-signed links to the generated documents have a 1 hour TTL. If a consumer of the service can not process the event within that time the event will contain an expired link.

Setting TTL to a maximum value of 7 days does not solve the problem, as the link signature is coupled with Lambda session tokens that by definition are short-lived.

Required:

Allow the consumer to obtain the generated document by making a GET request to /documents/{id}, where id is the identifier of the request that was returned in the outgoing SNS message. The schema of the response should be the same as the schema of the original SNS message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions