remove_layer_version_permission¶
Operation¶
remove_layer_version_permission
¶
remove_layer_version_permission(request: RemoveLayerVersionPermissionInput | RemoveLayerVersionPermissionInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RemoveLayerVersionPermissionInputDict]) -> 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 |
|---|---|---|---|
request
|
RemoveLayerVersionPermissionInput | RemoveLayerVersionPermissionInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[RemoveLayerVersionPermissionInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RemoveLayerVersionPermissionOutput
|
An instance of |
remove_layer_version_permission
async
¶
remove_layer_version_permission(request: RemoveLayerVersionPermissionInput | RemoveLayerVersionPermissionInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RemoveLayerVersionPermissionInputDict]) -> 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 |
|---|---|---|---|
request
|
RemoveLayerVersionPermissionInput | RemoveLayerVersionPermissionInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[RemoveLayerVersionPermissionInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RemoveLayerVersionPermissionOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
RemoveLayerVersionPermissionInputDict
¶
Bases: TypedDict
Dictionary form of RemoveLayerVersionPermissionInput.
Attributes¶
layer_name
instance-attribute
¶
The name or Amazon Resource Name (ARN) of the layer.
revision_id
instance-attribute
¶
revision_id: str | 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
instance-attribute
¶
The identifier that was specified when the statement was added.
RemoveLayerVersionPermissionInput
dataclass
¶
Bases: _SerdeShape
Dataclass for RemoveLayerVersionPermissionInput structure.
Attributes¶
layer_name
class-attribute
instance-attribute
¶
layer_name: str | None = ...
The name or Amazon Resource Name (ARN) of the layer.
revision_id
class-attribute
instance-attribute
¶
revision_id: str | 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.
Output¶
RemoveLayerVersionPermissionOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for RemoveLayerVersionPermissionOutput structure.