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)


3816
3817
3818
3819
3820
3821
3822
3823
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3816

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)


3816
3817
3818
3819
3820
3821
3822
3823
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3816

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)


3816
3817
3818
3819
3820
3821
3822
3823
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3816

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

#version_numberInteger

The version number.

Returns:

  • (Integer)


3816
3817
3818
3819
3820
3821
3822
3823
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3816

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