DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Servers

Path parameters

Name Type Required Description
StatementId String Yes

The identifier that was specified when the statement was added.

LayerName String Yes

The name or Amazon Resource Name (ARN) of the layer.

VersionNumber Integer Yes

The version number.

Request headers

Name Type Required Description
X-Amz-Content-Sha256 String No
X-Amz-Credential String No
X-Amz-Date String No
X-Amz-Algorithm String No
X-Amz-SignedHeaders String No
X-Amz-Security-Token String No
X-Amz-Signature String No

Query parameters

Name Type Required Description
RevisionId String No

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.