diff --git a/docs/functions/map_to_s3.rst b/docs/functions/map_to_s3.rst index fefde8ed..1a39e68d 100644 --- a/docs/functions/map_to_s3.rst +++ b/docs/functions/map_to_s3.rst @@ -1,11 +1,14 @@ map_to_s3 ========= -This function provides mapping from a web URI, delivered by an AWS CloudFront -event, to the key of an object in an AWS S3 bucket. +The map_to_s3 function provides mapping from a web URI, delivered by an AWS +CloudFront event, to the key of an object in an AWS S3 bucket. -The mapping between the URI and the object key is defined by the provided AWS -DynamoDB table this function is deployed with. +Using this function, a URI like "/path/to/s3/file" would be transformed to +something like "/some-s3-file-object-key". + +The mapping between the URI and the object key is defined by the AWS DynamoDB +table specified in the configuration file that this function is deployed with. Required schemas for the DynamoDB table and S3 bucket can be found in the :doc:`schema reference <../schema-reference>`. diff --git a/docs/schemas/map_to_s3-schema.rst b/docs/schemas/map_to_s3-schema.rst index 75bef00e..d0ed7a71 100644 --- a/docs/schemas/map_to_s3-schema.rst +++ b/docs/schemas/map_to_s3-schema.rst @@ -32,7 +32,7 @@ Keys The datetime at which the content is made available, i.e., "2020-02-17T20:48:13.037+00:00". - Only content sooner than or equal to the current date and time may be + Only content with a from_date sooner than or equal to the current date and time may be retrieved from the origin. Attributes