CmdID

CmdID / aws / aws greengrass

aws greengrass list-function-definitions

Retrieves a list of Lambda function definitions. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list Lambda functions

The following list-function-definitions example lists all of the Lambda functions defined for your AWS account.

aws greengrass list-function-definitionsIdentify
Its output, shortened
{
    "Definitions": [
        {
            "Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "CreationTimestamp": "2018-10-17T04:30:32.884Z",
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "LastUpdatedTimestamp": "2018-10-17T04:30:32.884Z",
            "LatestVersion": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "LatestVersionArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/versions/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
        },
        {
            "Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
            "CreationTimestamp": "2019-06-18T16:21:21.431Z",
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
            "LastUpdatedTimestamp": "2019-06-18T16:21:21.431Z",
            "LatestVersion": "a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
            "LatestVersionArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333/versions/a1b2c3d4-5678-90ab-cdef-EXAMPLE44444"
        },
        {
            "Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
            "CreationTimestamp": "2019-06-18T16:24:16.123Z",
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
            "LastUpdatedTimestamp": "2019-06-18T16:24:16.123Z",
            "LatestVersion": "a1b2c3d4-5678-90ab-cdef-EXAMPLE66666",
            "LatestVersionArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE55555/versions/a1b2c3d4-5678-90ab-cdef-EXAMPLE66666"
        },
        {
            "Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/a1b2c3d4-5678-90ab-cdef-EXAMPLE77777",
            "CreationTimestamp": "2019-06-18T16:14:17.784Z",
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE77777",
… 6 more lines

For more information, see Run Lambda functions on the AWS IoT Greengrass core in the AWS IoT Greengrass Version 1 Developer Guide.

Options

2 in the AWS CLI reference
--max-resultsThe maximum number of results to be returned per request.
--next-tokenThe token for the next set of results, or ''null'' if there are no additional results.