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.
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
GETrequest to/documents/{id}, whereidis 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.