AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the ListOperations operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.ServiceDiscovery.Model.ListOperationsResponse

Namespace: Amazon.ServiceDiscovery.Model
Assembly: AWSSDK.ServiceDiscovery.dll
Version: 3.x.y.z

Syntax

C#
public class ListOperationsResponse : AmazonWebServiceResponse

The ListOperationsResponse type exposes the following members

Constructors

NameDescription
Public Method ListOperationsResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property NextToken System.String

Gets and sets the property NextToken.

If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

Public Property Operations System.Collections.Generic.List<Amazon.ServiceDiscovery.Model.OperationSummary>

Gets and sets the property Operations.

Summary information about the operations that match the specified criteria.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

This example gets the operations that have a STATUS of either PENDING or SUCCESS.

ListOperations Example


var client = new AmazonServiceDiscoveryClient();
var response = client.ListOperations(new ListOperationsRequest 
{
    Filters = new List<OperationFilter> {
        new OperationFilter {
            Condition = "IN",
            Name = "STATUS",
            Values = new List<string> {
                "PENDING",
                "SUCCESS"
            }
        }
    }
});

List<OperationSummary> operations = response.Operations;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5