Download data/lib/python3.10/site-packages/awscli/examples/iotanalytics/update-channel.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 574 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/iotanalytics/update-channel.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/iotanalytics/update-channel.rst
-
curl -L -o update-channel.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/iotanalytics/update-channel.rst
574 Bytes
| **To modify a channel** | |
| The following ``update-channel`` example modifies the settings for the specified channel. :: | |
| aws iotanalytics update-channel \ | |
| --cli-input-json file://update-channel.json | |
| Contents of ``update-channel.json``:: | |
| { | |
| "channelName": "mychannel", | |
| "retentionPeriod": { | |
| "numberOfDays": 92 | |
| } | |
| } | |
| This command produces no output. | |
| For more information, see `UpdateChannel <https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_UpdateChannel.html>`__ in the *AWS IoT Analytics API Reference*. | |