Greengrass / Client / get_function_definition
get_function_definition¶
- Greengrass.Client.get_function_definition(**kwargs)¶
- Retrieves information about a Lambda function definition, including its creation time and latest version. - See also: AWS API Documentation - Request Syntax- response = client.get_function_definition( FunctionDefinitionId='string' ) - Parameters:
- FunctionDefinitionId (string) – [REQUIRED] The ID of the Lambda function definition. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Arn': 'string', 'CreationTimestamp': 'string', 'Id': 'string', 'LastUpdatedTimestamp': 'string', 'LatestVersion': 'string', 'LatestVersionArn': 'string', 'Name': 'string', 'tags': { 'string': 'string' } } - Response Structure- (dict) – success - Arn (string) – The ARN of the definition. 
- CreationTimestamp (string) – The time, in milliseconds since the epoch, when the definition was created. 
- Id (string) – The ID of the definition. 
- LastUpdatedTimestamp (string) – The time, in milliseconds since the epoch, when the definition was last updated. 
- LatestVersion (string) – The ID of the latest version associated with the definition. 
- LatestVersionArn (string) – The ARN of the latest version associated with the definition. 
- Name (string) – The name of the definition. 
- tags (dict) – Tag(s) attached to the resource arn. - (string) – - (string) – 
 
 
 
 
 - Exceptions