list_function_definitions

Greengrass.Client.list_function_definitions(**kwargs)

Retrieves a list of Lambda function definitions.

See also: AWS API Documentation

Request Syntax

response = client.list_function_definitions(
    MaxResults='string',
    NextToken='string'
)
Parameters
  • MaxResults (string) -- The maximum number of results to be returned per request.
  • NextToken (string) -- The token for the next set of results, or ''null'' if there are no additional results.
Return type

dict

Returns

Response Syntax

{
    'Definitions': [
        {
            'Arn': 'string',
            'CreationTimestamp': 'string',
            'Id': 'string',
            'LastUpdatedTimestamp': 'string',
            'LatestVersion': 'string',
            'LatestVersionArn': 'string',
            'Name': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) -- Success. The response contains the IDs of all the Greengrass Lambda function definitions in this account.
    • Definitions (list) -- Information about a definition.
      • (dict) -- Information about a definition.
        • 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) --
    • NextToken (string) -- The token for the next set of results, or ''null'' if there are no additional results.