LambdaWeb / Client / get_web_function
get_web_function¶
- LambdaWeb.Client.get_web_function(**kwargs)¶
Retrieves details about a web function, including its current state and configuration.
See also: AWS API Documentation
Request Syntax
response = client.get_web_function( functionName='string' )
- Parameters:
functionName (string) –
[REQUIRED]
The web function to retrieve.
You can specify either of the following:
The function name, for example
my-function.The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Return type:
dict
- Returns:
Response Syntax
{ 'functionName': 'string', 'functionArn': 'string', 'state': 'Pending'|'Active'|'Failed'|'Deleting', 'stateReason': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
Contains details about the web function.
functionName (string) –
The name of the web function.
functionArn (string) –
The Amazon Resource Name (ARN) of the web function.
state (string) –
The current state of the web function.
stateReason (string) –
The reason for the current state of the web function.
createdAt (datetime) –
The date and time the web function was created.
updatedAt (datetime) –
The date and time the web function was last updated.
Exceptions