You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lambda::Types::RemoveLayerVersionPermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RemoveLayerVersionPermissionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  layer_name: "LayerName", # required
  version_number: 1, # required
  statement_id: "StatementId", # required
  revision_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#layer_name ⇒ String

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

Returns:

  • (String) —

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

#revision_id ⇒ String

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.

Returns:

  • (String) —

    Only update the policy if the revision ID matches the ID specified.

#statement_id ⇒ String

The identifier that was specified when the statement was added.

Returns:

  • (String) —

    The identifier that was specified when the statement was added.

#version_number ⇒ Integer

The version number.

Returns:

  • (Integer) —

    The version number.