Download data/lib/python3.10/site-packages/awscli/examples/ram/update-resource-share.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 814 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/ram/update-resource-share.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/ram/update-resource-share.rst
-
curl -L -o update-resource-share.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/ram/update-resource-share.rst
814 Bytes
| **To update a resource share** | |
| The following ``update-resource-share`` example changes the specified resource share to allow external principals that are not in an AWS Organization. :: | |
| aws ram update-resource-share \ | |
| --allow-external-principals \ | |
| --resource-share-arn arn:aws:ram:us-west-2:123456789012:resource-share/7ab63972-b505-7e2a-420d-6f5d3EXAMPLE | |
| Output:: | |
| { | |
| "resourceShare": { | |
| "resourceShareArn": "arn:aws:ram:us-west-2:123456789012:resource-share/7ab63972-b505-7e2a-420d-6f5d3EXAMPLE", | |
| "name": "my-resource-share", | |
| "owningAccountId": "123456789012", | |
| "allowExternalPrincipals": true, | |
| "status": "ACTIVE", | |
| "creationTime": 1565295733.282, | |
| "lastUpdatedTime": 1565303080.023 | |
| } | |
| } | |