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
.
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
public virtual GetInventoryResponse GetInventory( GetInventoryRequest request )
Container for the necessary parameters to execute the GetInventory service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5