remove_layer_version_permission¶
Operation¶
remove_layer_version_permission
async
¶
remove_layer_version_permission(input: RemoveLayerVersionPermissionInput, plugins: list[Plugin] | None = None) -> RemoveLayerVersionPermissionOutput
Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
RemoveLayerVersionPermissionInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
RemoveLayerVersionPermissionOutput
|
An instance of |
Input¶
RemoveLayerVersionPermissionInput
dataclass
¶
Dataclass for RemoveLayerVersionPermissionInput structure.
Attributes¶
layer_name
class-attribute
instance-attribute
¶
layer_name: str | None = None
The name or Amazon Resource Name (ARN) of the layer.
revision_id
class-attribute
instance-attribute
¶
revision_id: str | None = None
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.
statement_id
class-attribute
instance-attribute
¶
statement_id: str | None = None
The identifier that was specified when the statement was added.
version_number
class-attribute
instance-attribute
¶
version_number: int | None = None
The version number.
Output¶
RemoveLayerVersionPermissionOutput
dataclass
¶
Dataclass for RemoveLayerVersionPermissionOutput structure.