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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass RemoveLayerVersionPermissionRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#layer_nameString

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

Returns:

  • (String)


2440
2441
2442
2443
2444
2445
2446
# File 'lib/aws-sdk-lambda/types.rb', line 2440

class RemoveLayerVersionPermissionRequest < Struct.new(
  :layer_name,
  :version_number,
  :statement_id,
  :revision_id)
  include Aws::Structure
end

#revision_idString

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)


2440
2441
2442
2443
2444
2445
2446
# File 'lib/aws-sdk-lambda/types.rb', line 2440

class RemoveLayerVersionPermissionRequest < Struct.new(
  :layer_name,
  :version_number,
  :statement_id,
  :revision_id)
  include Aws::Structure
end

#statement_idString

The identifier that was specified when the statement was added.

Returns:

  • (String)


2440
2441
2442
2443
2444
2445
2446
# File 'lib/aws-sdk-lambda/types.rb', line 2440

class RemoveLayerVersionPermissionRequest < Struct.new(
  :layer_name,
  :version_number,
  :statement_id,
  :revision_id)
  include Aws::Structure
end

#version_numberInteger

The version number.

Returns:

  • (Integer)


2440
2441
2442
2443
2444
2445
2446
# File 'lib/aws-sdk-lambda/types.rb', line 2440

class RemoveLayerVersionPermissionRequest < Struct.new(
  :layer_name,
  :version_number,
  :statement_id,
  :revision_id)
  include Aws::Structure
end