HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/servicediscovery/get-operation.rst
**To get the result of an operation**

The following ``get-operation`` example gets the result of an 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"
            }
        }
    }