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 contexts in your account and their properties.

Note:

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

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

Syntax

C#
public virtual ListContextsResponse ListContexts(
         ListContextsRequest request
)

Parameters

request
Type: Amazon.SageMaker.Model.ListContextsRequest

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

Return Value


The response from the ListContexts service method, as returned by SageMaker.

Exceptions

ExceptionCondition
ResourceNotFoundException Resource being access is not found.

Version Information

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

See Also