CmdID

CmdID / aws / aws greengrass

aws greengrass delete-function-definition

Deletes a Lambda function definition. AWS CLI reference

1 example 1 option 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 delete a function definition

The following delete-function-definition example deletes the specified Greengrass function definition. If you delete a function definition that is used by a group, that group can't be deployed successfully.

aws greengrass delete-function-definition --function-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify
--function-definition-idThe ID of the Lambda function definition.

This command produces no output.

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

Options

1 in the AWS CLI reference
--function-definition-idThe ID of the Lambda function definition.