Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the high-level patch state of one or more instances.
Synopsis
- describeInstancePatchStates :: DescribeInstancePatchStates
- data DescribeInstancePatchStates
- dipsNextToken :: Lens' DescribeInstancePatchStates (Maybe Text)
- dipsMaxResults :: Lens' DescribeInstancePatchStates (Maybe Natural)
- dipsInstanceIds :: Lens' DescribeInstancePatchStates [Text]
- describeInstancePatchStatesResponse :: Int -> DescribeInstancePatchStatesResponse
- data DescribeInstancePatchStatesResponse
- dipsrsNextToken :: Lens' DescribeInstancePatchStatesResponse (Maybe Text)
- dipsrsInstancePatchStates :: Lens' DescribeInstancePatchStatesResponse [InstancePatchState]
- dipsrsResponseStatus :: Lens' DescribeInstancePatchStatesResponse Int
Creating a Request
describeInstancePatchStates :: DescribeInstancePatchStates Source #
Creates a value of DescribeInstancePatchStates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dipsNextToken
- The token for the next set of items to return. (You received this token from a previous call.)dipsMaxResults
- The maximum number of instances to return (per page).dipsInstanceIds
- The ID of the instance whose patch state information should be retrieved.
data DescribeInstancePatchStates Source #
See: describeInstancePatchStates
smart constructor.
Instances
Request Lenses
dipsNextToken :: Lens' DescribeInstancePatchStates (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dipsMaxResults :: Lens' DescribeInstancePatchStates (Maybe Natural) Source #
The maximum number of instances to return (per page).
dipsInstanceIds :: Lens' DescribeInstancePatchStates [Text] Source #
The ID of the instance whose patch state information should be retrieved.
Destructuring the Response
describeInstancePatchStatesResponse Source #
Creates a value of DescribeInstancePatchStatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dipsrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dipsrsInstancePatchStates
- The high-level patch state for the requested instances.dipsrsResponseStatus
- -- | The response status code.
data DescribeInstancePatchStatesResponse Source #
See: describeInstancePatchStatesResponse
smart constructor.
Instances
Response Lenses
dipsrsNextToken :: Lens' DescribeInstancePatchStatesResponse (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.
dipsrsInstancePatchStates :: Lens' DescribeInstancePatchStatesResponse [InstancePatchState] Source #
The high-level patch state for the requested instances.
dipsrsResponseStatus :: Lens' DescribeInstancePatchStatesResponse Int Source #
- - | The response status code.