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.

Query inventory information. This includes managed node status, such as Stopped or Terminated.

Note:

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

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

Syntax

C#
public virtual GetInventoryResponse GetInventory(
         GetInventoryRequest request
)

Parameters

request
Type: Amazon.SimpleSystemsManagement.Model.GetInventoryRequest

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

Return Value


The response from the GetInventory service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
InternalServerErrorException An error occurred on the server side.
InvalidAggregatorException The specified aggregator isn't valid for the group type. Verify that the aggregator you provided is supported.
InvalidFilterException The filter name isn't valid. Verify that you entered the correct name and try again.
InvalidInventoryGroupException The specified inventory group isn't valid.
InvalidNextTokenException The specified token isn't valid.
InvalidResultAttributeException The specified inventory item result attribute isn't valid.
InvalidTypeNameException The parameter type name isn't valid.

Version Information

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

See Also