Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeInstanceInformation :: DescribeInstanceInformation
- data DescribeInstanceInformation
- diiInstanceInformationFilterList :: Lens' DescribeInstanceInformation (Maybe (NonEmpty InstanceInformationFilter))
- diiNextToken :: Lens' DescribeInstanceInformation (Maybe Text)
- diiMaxResults :: Lens' DescribeInstanceInformation (Maybe Natural)
- describeInstanceInformationResponse :: Int -> DescribeInstanceInformationResponse
- data DescribeInstanceInformationResponse
- diirsNextToken :: Lens' DescribeInstanceInformationResponse (Maybe Text)
- diirsInstanceInformationList :: Lens' DescribeInstanceInformationResponse [InstanceInformation]
- diirsResponseStatus :: Lens' DescribeInstanceInformationResponse Int
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:
data DescribeInstanceInformation Source
See: describeInstanceInformation
smart constructor.
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:
data DescribeInstanceInformationResponse Source
See: describeInstanceInformationResponse
smart constructor.
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.
diirsInstanceInformationList :: Lens' DescribeInstanceInformationResponse [InstanceInformation] Source
The instance information list.
diirsResponseStatus :: Lens' DescribeInstanceInformationResponse Int Source
The response status code.