LambdaWeb / Client / get_resource_policy
get_resource_policy¶
- LambdaWeb.Client.get_resource_policy(**kwargs)¶
Retrieves the resource-based policy attached to a web function.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the web function.
- Return type:
dict
- Returns:
Response Syntax
{ 'policy': 'string', 'revisionId': 'string' }
Response Structure
(dict) –
Contains the resource-based policy and its revision ID.
policy (string) –
The JSON-formatted resource-based policy attached to the web function.
revisionId (string) –
The revision ID of the policy.
Exceptions