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.
Container for the parameters to the ListServices operation. Lists summary information for all the services that are associated with one or more namespaces.
Namespace: Amazon.ServiceDiscovery.Model
Assembly: AWSSDK.ServiceDiscovery.dll
Version: 3.x.y.z
public class ListServicesRequest : AmazonServiceDiscoveryRequest IAmazonWebServiceRequest
The ListServicesRequest type exposes the following members
Name | Description | |
---|---|---|
ListServicesRequest() |
Name | Type | Description | |
---|---|---|---|
Filters | System.Collections.Generic.List<Amazon.ServiceDiscovery.Model.ServiceFilter> |
Gets and sets the property Filters. A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned
by |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults.
The maximum number of services that you want Cloud Map to return in the response to
a |
|
NextToken | System.String |
Gets and sets the property NextToken.
For the first
If the response contains
Cloud Map gets |
Example: List services
var client = new AmazonServiceDiscoveryClient(); var response = client.ListServices(new ListServicesRequest { }); List<ServiceSummary> services = response.Services;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5