Api2Pdf - PDF Generation, Powered by AWS Lambda
    Api2Pdf - PDF Generation, Powered by AWS Lambda
    • Headless Chrome
      • Convert raw HTML to PDF
        POST
      • Convert URL to PDF
        GET
      • Convert URL to PDF
        POST
    • LibreOffice
      • Convert office document or image to PDF
        POST
    • Merge
      • Combine Pdfs
        • Merge multiple PDFs together
    • wkhtmltopdf
      • Convert raw HTML to PDF
        POST
      • Convert URL to PDF
        GET
      • Convert URL to PDF
        POST
    • ZXING (Zebra Crossing) Bar Codes
      • Generate bar codes and QR codes with ZXING.
        GET
    • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
      POST
    • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
      GET
    • /2015-03-31/functions/{FunctionName}/policy
      POST
    • /2015-03-31/functions/{FunctionName}/policy
      GET
    • /2015-03-31/functions/{FunctionName}/aliases
      POST
    • /2015-03-31/functions/{FunctionName}/aliases
      GET
    • /2020-04-22/code-signing-configs/
      POST
    • /2020-04-22/code-signing-configs/
      GET
    • /2015-03-31/event-source-mappings/
      POST
    • /2015-03-31/event-source-mappings/
      GET
    • /2015-03-31/functions
      POST
    • /2015-03-31/functions/{FunctionName}/aliases/{Name}
      DELETE
    • /2015-03-31/functions/{FunctionName}/aliases/{Name}
      GET
    • /2015-03-31/functions/{FunctionName}/aliases/{Name}
      PUT
    • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
      DELETE
    • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
      GET
    • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
      PUT
    • /2015-03-31/event-source-mappings/{UUID}
      DELETE
    • /2015-03-31/event-source-mappings/{UUID}
      GET
    • /2015-03-31/event-source-mappings/{UUID}
      PUT
    • /2015-03-31/functions/{FunctionName}
      DELETE
    • /2015-03-31/functions/{FunctionName}
      GET
    • /2020-06-30/functions/{FunctionName}/code-signing-config
      DELETE
    • /2020-06-30/functions/{FunctionName}/code-signing-config
      GET
    • /2020-06-30/functions/{FunctionName}/code-signing-config
      PUT
    • /2017-10-31/functions/{FunctionName}/concurrency
      DELETE
    • /2017-10-31/functions/{FunctionName}/concurrency
      PUT
    • /2019-09-25/functions/{FunctionName}/event-invoke-config
      DELETE
    • /2019-09-25/functions/{FunctionName}/event-invoke-config
      GET
    • /2019-09-25/functions/{FunctionName}/event-invoke-config
      PUT
    • /2019-09-25/functions/{FunctionName}/event-invoke-config
      POST
    • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
      DELETE
    • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
      GET
    • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
      DELETE
    • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
      GET
    • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
      PUT
    • /2016-08-19/account-settings/
      GET
    • /2019-09-30/functions/{FunctionName}/concurrency
      GET
    • /2015-03-31/functions/{FunctionName}/configuration
      GET
    • /2015-03-31/functions/{FunctionName}/configuration
      PUT
    • /2018-10-31/layers
      GET
    • /2015-03-31/functions/{FunctionName}/invocations
      POST
    • /2014-11-13/functions/{FunctionName}/invoke-async/
      POST
    • /2019-09-25/functions/{FunctionName}/event-invoke-config/list
      GET
    • /2015-03-31/functions/
      GET
    • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions
      GET
    • /2018-10-31/layers/{LayerName}/versions
      GET
    • /2018-10-31/layers/{LayerName}/versions
      POST
    • /2018-10-31/layers
      GET
    • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
      GET
    • /2017-03-31/tags/{ARN}
      GET
    • /2017-03-31/tags/{ARN}
      POST
    • /2015-03-31/functions/{FunctionName}/versions
      GET
    • /2015-03-31/functions/{FunctionName}/versions
      POST
    • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}
      DELETE
    • /2015-03-31/functions/{FunctionName}/policy/{StatementId}
      DELETE
    • /2017-03-31/tags/{ARN}
      DELETE
    • /2015-03-31/functions/{FunctionName}/code
      PUT

      /2015-03-31/event-source-mappings/

      The AWS Lambda multi-region endpoint
      http://lambda.{region}.amazonaws.com
      The AWS Lambda multi-region endpoint
      http://lambda.{region}.amazonaws.com
      POST
      /2015-03-31/event-source-mappings/
      Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function.
      For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.
      • Configuring a Dynamo DB stream as an event source
      • Configuring a Kinesis stream as an event source
      • Configuring an SQS queue as an event source
      • Configuring an MQ broker as an event source
      • Configuring MSK as an event source
      • Configuring Self-Managed Apache Kafka as an event source
      The following error handling options are only available for stream sources (DynamoDB and Kinesis):
      • BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry.
      • DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic.
      • MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
      • MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
      • ParallelizationFactor - Process multiple batches from each shard concurrently.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST 'http://lambda.{region}.amazonaws.com/2015-03-31/event-source-mappings/' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "EventSourceArn": "string",
          "FunctionName": "string",
          "Enabled": true,
          "BatchSize": 1,
          "MaximumBatchingWindowInSeconds": 0,
          "ParallelizationFactor": 1,
          "StartingPosition": "TRIM_HORIZON",
          "StartingPositionTimestamp": "2019-08-24T14:15:22Z",
          "DestinationConfig": {
              "OnSuccess": {
                  "Destination": "string"
              },
              "OnFailure": {
                  "Destination": "string"
              }
          },
          "MaximumRecordAgeInSeconds": -1,
          "BisectBatchOnFunctionError": true,
          "MaximumRetryAttempts": -1,
          "TumblingWindowInSeconds": 0,
          "Topics": [
              "string"
          ],
          "Queues": [
              "string"
          ],
          "SourceAccessConfigurations": [
              {
                  "Type": "BASIC_AUTH",
                  "URI": "string"
              }
          ],
          "SelfManagedEventSource": {
              "Endpoints": {
                  "property1": [
                      "string"
                  ],
                  "property2": [
                      "string"
                  ]
              }
          },
          "FunctionResponseTypes": [
              "ReportBatchItemFailures"
          ]
      }'
      Response Response Example
      202 - Example 1
      {
          "UUID": "string",
          "StartingPosition": "TRIM_HORIZON",
          "StartingPositionTimestamp": "string",
          "BatchSize": 0,
          "MaximumBatchingWindowInSeconds": 0,
          "ParallelizationFactor": 0,
          "EventSourceArn": "string",
          "FunctionArn": "string",
          "LastModified": "string",
          "LastProcessingResult": "string",
          "State": "string",
          "StateTransitionReason": "string",
          "DestinationConfig": {
              "OnSuccess": {
                  "Destination": "string"
              },
              "OnFailure": {
                  "Destination": "string"
              }
          },
          "Topics": [],
          "Queues": [],
          "SourceAccessConfigurations": [],
          "SelfManagedEventSource": {
              "Endpoints": {
                  "property1": [
                      "string"
                  ],
                  "property2": [
                      "string"
                  ]
              }
          },
          "MaximumRecordAgeInSeconds": 0,
          "BisectBatchOnFunctionError": true,
          "MaximumRetryAttempts": 0,
          "TumblingWindowInSeconds": 0,
          "FunctionResponseTypes": []
      }

      Request

      Body Params application/json

      Examples

      Responses

      🟢202Success
      application/json
      Body

      🟠480ServiceException
      🟠481InvalidParameterValueException
      🟠482ResourceConflictException
      🟠483TooManyRequestsException
      🟠484ResourceNotFoundException
      Modified at 2022-09-10 19:49:51
      Previous
      /2020-04-22/code-signing-configs/
      Next
      /2015-03-31/event-source-mappings/
      Built with