CmdID

CmdID / aws / aws servicediscovery

aws servicediscovery list-operations

Lists operations that match the criteria that you specify. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list operations that meet the specified criteria

The following list-operations example lists operations that have a status of PENDING or SUCCESS.

aws servicediscovery list-operations --filters Name=STATUS,Condition=IN,Values=PENDING,SUCCESSIdentify
--filtersA complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.
Its output
{
    "Operations": [
        {
            "Id": "76yy8ovhpdz0plmjzbsnqgnrqvpv2qdt-kexample",
            "Status": "SUCCESS"
        },
        {
            "Id": "prysnyzpji3u2ciy45nke83x2zanl7yk-dexample",
            "Status": "SUCCESS"
        },
        {
            "Id": "ko4ekftir7kzlbechsh7xvcdgcpk66gh-7example",
            "Status": "PENDING"
        }
    ]
}

For more information, see What is AWS Cloud Map? in the AWS Cloud Map Developer Guide.

Options

3 in the AWS CLI reference
--filtersA complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.
--max-resultsThe maximum number of items that you want Cloud Map to return in the response to a ListOperations request.
--next-tokenFor the first ListOperations request, omit this value.