| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSM.DescribeInstancePatchStates
Description
Retrieves the high-level patch state of one or more managed nodes.
This operation returns paginated results.
Synopsis
- data DescribeInstancePatchStates = DescribeInstancePatchStates' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceIds :: [Text]
- newDescribeInstancePatchStates :: DescribeInstancePatchStates
- describeInstancePatchStates_maxResults :: Lens' DescribeInstancePatchStates (Maybe Natural)
- describeInstancePatchStates_nextToken :: Lens' DescribeInstancePatchStates (Maybe Text)
- describeInstancePatchStates_instanceIds :: Lens' DescribeInstancePatchStates [Text]
- data DescribeInstancePatchStatesResponse = DescribeInstancePatchStatesResponse' {}
- newDescribeInstancePatchStatesResponse :: Int -> DescribeInstancePatchStatesResponse
- describeInstancePatchStatesResponse_instancePatchStates :: Lens' DescribeInstancePatchStatesResponse (Maybe [InstancePatchState])
- describeInstancePatchStatesResponse_nextToken :: Lens' DescribeInstancePatchStatesResponse (Maybe Text)
- describeInstancePatchStatesResponse_httpStatus :: Lens' DescribeInstancePatchStatesResponse Int
Creating a Request
data DescribeInstancePatchStates Source #
See: newDescribeInstancePatchStates smart constructor.
Constructors
| DescribeInstancePatchStates' | |
Fields
| |
Instances
newDescribeInstancePatchStates :: DescribeInstancePatchStates Source #
Create a value of DescribeInstancePatchStates with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:DescribeInstancePatchStates', describeInstancePatchStates_maxResults - The maximum number of managed nodes to return (per page).
DescribeInstancePatchStates, describeInstancePatchStates_nextToken - The token for the next set of items to return. (You received this token
from a previous call.)
DescribeInstancePatchStates, describeInstancePatchStates_instanceIds - The ID of the managed node for which patch state information should be
retrieved.
Request Lenses
describeInstancePatchStates_maxResults :: Lens' DescribeInstancePatchStates (Maybe Natural) Source #
The maximum number of managed nodes to return (per page).
describeInstancePatchStates_nextToken :: Lens' DescribeInstancePatchStates (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeInstancePatchStates_instanceIds :: Lens' DescribeInstancePatchStates [Text] Source #
The ID of the managed node for which patch state information should be retrieved.
Destructuring the Response
data DescribeInstancePatchStatesResponse Source #
See: newDescribeInstancePatchStatesResponse smart constructor.
Constructors
| DescribeInstancePatchStatesResponse' | |
Fields
| |
Instances
newDescribeInstancePatchStatesResponse Source #
Arguments
| :: Int | |
| -> DescribeInstancePatchStatesResponse |
Create a value of DescribeInstancePatchStatesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instancePatchStates:DescribeInstancePatchStatesResponse', describeInstancePatchStatesResponse_instancePatchStates - The high-level patch state for the requested managed nodes.
DescribeInstancePatchStates, describeInstancePatchStatesResponse_nextToken - The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:httpStatus:DescribeInstancePatchStatesResponse', describeInstancePatchStatesResponse_httpStatus - The response's http status code.
Response Lenses
describeInstancePatchStatesResponse_instancePatchStates :: Lens' DescribeInstancePatchStatesResponse (Maybe [InstancePatchState]) Source #
The high-level patch state for the requested managed nodes.
describeInstancePatchStatesResponse_nextToken :: 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.
describeInstancePatchStatesResponse_httpStatus :: Lens' DescribeInstancePatchStatesResponse Int Source #
The response's http status code.