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.

Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.

Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListSitesAsync.

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

Syntax

C#
public virtual ListSitesResponse ListSites(
         ListSitesRequest request
)

Parameters

request
Type: Amazon.Outposts.Model.ListSitesRequest

Container for the necessary parameters to execute the ListSites service method.

Return Value


The response from the ListSites service method, as returned by Outposts.

Exceptions

ExceptionCondition
AccessDeniedException You do not have permission to perform this operation.
InternalServerException An internal error has occurred.
ValidationException A parameter is not valid.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also