envs_1 / data /lib /python3.10 /site-packages /awscli /examples /greengrass /get-function-definition.rst
Download data/lib/python3.10/site-packages/awscli/examples/greengrass/get-function-definition.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 964 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/greengrass/get-function-definition.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/greengrass/get-function-definition.rst
-
curl -L -o get-function-definition.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/greengrass/get-function-definition.rst
964 Bytes
| **To retrieve a function definition** | |
| The following ``get-function-definition`` example displays details for the specified function definition. To retrieve the IDs of your function definitions, use the ``list-function-definitions`` command. :: | |
| aws greengrass get-function-definition \ | |
| --function-definition-id "063f5d1a-1dd1-40b4-9b51-56f8993d0f85" | |
| Output:: | |
| { | |
| "Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/063f5d1a-1dd1-40b4-9b51-56f8993d0f85", | |
| "CreationTimestamp": "2019-06-18T16:21:21.431Z", | |
| "Id": "063f5d1a-1dd1-40b4-9b51-56f8993d0f85", | |
| "LastUpdatedTimestamp": "2019-06-18T16:21:21.431Z", | |
| "LatestVersion": "9748fda7-1589-4fcc-ac94-f5559e88678b", | |
| "LatestVersionArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/functions/063f5d1a-1dd1-40b4-9b51-56f8993d0f85/versions/9748fda7-1589-4fcc-ac94-f5559e88678b", | |
| "tags": {} | |
| } | |