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/functions/{FunctionName}/policy

      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/functions/{FunctionName}/policy
      Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
      To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
      This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST 'http://lambda.{region}.amazonaws.com/2015-03-31/functions//policy' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "StatementId": "string",
          "Action": "string",
          "Principal": "string",
          "SourceArn": "string",
          "SourceAccount": "string",
          "EventSourceToken": "string",
          "RevisionId": "string"
      }'
      Response Response Example
      201 - Example 1
      {
          "Statement": "string"
      }

      Request

      Path Params

      Query Params

      Body Params application/json

      Examples

      Responses

      🟢201Success
      application/json
      Body

      🟠480ServiceException
      🟠481ResourceNotFoundException
      🟠482ResourceConflictException
      🟠483InvalidParameterValueException
      🟠484PolicyLengthExceededException
      🟠485TooManyRequestsException
      🟠486PreconditionFailedException
      Modified at 2022-09-10 19:49:51
      Previous
      /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
      Next
      /2015-03-31/functions/{FunctionName}/policy
      Built with