AWS SDK Version 2 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.

.NET Framework 3.5
 
Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM agent version, status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error.

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual DescribeInstanceInformationResponse DescribeInstanceInformation(
         DescribeInstanceInformationRequest request
)

Parameters

request
Type: Amazon.SimpleSystemsManagement.Model.DescribeInstanceInformationRequest

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

Return Value
Type: Amazon.SimpleSystemsManagement.Model.DescribeInstanceInformationResponse
The response from the DescribeInstanceInformation service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
InternalServerErrorException An error occurred on the server side.
InvalidFilterKeyException The specified key is not valid.
InvalidInstanceIdException The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
InvalidInstanceInformationFilterValueException The specified filter value is not valid.
InvalidNextTokenException The specified token is not valid.

Version Information

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