amazonka-ssm-1.3.5: Amazon Simple Systems Management Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SSM.DescribeInstanceInformation

Contents

Description

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.

See: AWS API Reference for DescribeInstanceInformation.

Synopsis

Creating a Request

describeInstanceInformation :: DescribeInstanceInformation Source

Creates a value of DescribeInstanceInformation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

diiInstanceInformationFilterList :: Lens' DescribeInstanceInformation (Maybe (NonEmpty InstanceInformationFilter)) Source

One or more filters. Use a filter to return a more specific list of instances.

diiNextToken :: Lens' DescribeInstanceInformation (Maybe Text) Source

The token for the next set of items to return. (You received this token from a previous call.)

diiMaxResults :: Lens' DescribeInstanceInformation (Maybe Natural) Source

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

describeInstanceInformationResponse Source

Creates a value of DescribeInstanceInformationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

diirsNextToken :: Lens' DescribeInstanceInformationResponse (Maybe Text) Source

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.