envs_1
/
data
/lib
/python3.10
/site-packages
/awscli
/examples
/servicediscovery
/get-operation.rst
| **To get the result of an operation** | |
| The following ``get-operation`` example gets the result of a namespace creation operation. :: | |
| aws servicediscovery get-operation \ | |
| --operation-id gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd | |
| Output:: | |
| { | |
| "Operation": { | |
| "Id": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd", | |
| "Type": "CREATE_NAMESPACE", | |
| "Status": "SUCCESS", | |
| "CreateDate": 1587055860.121, | |
| "UpdateDate": 1587055900.469, | |
| "Targets": { | |
| "NAMESPACE": "ns-ylexjili4cdxy3xm" | |
| } | |
| } | |
| } | |
| For more information, see `Creating an AWS Cloud Map namespace to group application services <https://docs.aws.amazon.com/cloud-map/latest/dg/creating-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*. | |