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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#layer_nameString

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

Returns:

  • (String)


4543
4544
4545
4546
4547
4548
4549
4550
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4543

class RemoveLayerVersionPermissionRequest < Struct.new(
  :layer_name,
  :version_number,
  :statement_id,
  :revision_id)
  SENSITIVE = []
  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)


4543
4544
4545
4546
4547
4548
4549
4550
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4543

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

#statement_idString

The identifier that was specified when the statement was added.

Returns:

  • (String)


4543
4544
4545
4546
4547
4548
4549
4550
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4543

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

#version_numberInteger

The version number.

Returns:

  • (Integer)


4543
4544
4545
4546
4547
4548
4549
4550
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4543

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