Copyright | (c) 2013-2021 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 |
Retrieves the high-level patch state for the instances in the specified patch group.
This operation returns paginated results.
Synopsis
- data DescribeInstancePatchStatesForPatchGroup = DescribeInstancePatchStatesForPatchGroup' {}
- newDescribeInstancePatchStatesForPatchGroup :: Text -> DescribeInstancePatchStatesForPatchGroup
- describeInstancePatchStatesForPatchGroup_filters :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe [InstancePatchStateFilter])
- describeInstancePatchStatesForPatchGroup_nextToken :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe Text)
- describeInstancePatchStatesForPatchGroup_maxResults :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe Natural)
- describeInstancePatchStatesForPatchGroup_patchGroup :: Lens' DescribeInstancePatchStatesForPatchGroup Text
- data DescribeInstancePatchStatesForPatchGroupResponse = DescribeInstancePatchStatesForPatchGroupResponse' {}
- newDescribeInstancePatchStatesForPatchGroupResponse :: Int -> DescribeInstancePatchStatesForPatchGroupResponse
- describeInstancePatchStatesForPatchGroupResponse_nextToken :: Lens' DescribeInstancePatchStatesForPatchGroupResponse (Maybe Text)
- describeInstancePatchStatesForPatchGroupResponse_instancePatchStates :: Lens' DescribeInstancePatchStatesForPatchGroupResponse (Maybe (NonEmpty InstancePatchState))
- describeInstancePatchStatesForPatchGroupResponse_httpStatus :: Lens' DescribeInstancePatchStatesForPatchGroupResponse Int
Creating a Request
data DescribeInstancePatchStatesForPatchGroup Source #
See: newDescribeInstancePatchStatesForPatchGroup
smart constructor.
DescribeInstancePatchStatesForPatchGroup' | |
|
Instances
newDescribeInstancePatchStatesForPatchGroup Source #
Create a value of DescribeInstancePatchStatesForPatchGroup
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:filters:DescribeInstancePatchStatesForPatchGroup'
, describeInstancePatchStatesForPatchGroup_filters
- Each entry in the array is a structure containing:
- Key (string between 1 and 200 characters)
- Values (array containing a single string)
- Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")
$sel:nextToken:DescribeInstancePatchStatesForPatchGroup'
, describeInstancePatchStatesForPatchGroup_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeInstancePatchStatesForPatchGroup'
, describeInstancePatchStatesForPatchGroup_maxResults
- The maximum number of patches to return (per page).
$sel:patchGroup:DescribeInstancePatchStatesForPatchGroup'
, describeInstancePatchStatesForPatchGroup_patchGroup
- The name of the patch group for which the patch state information should
be retrieved.
Request Lenses
describeInstancePatchStatesForPatchGroup_filters :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe [InstancePatchStateFilter]) Source #
Each entry in the array is a structure containing:
- Key (string between 1 and 200 characters)
- Values (array containing a single string)
- Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")
describeInstancePatchStatesForPatchGroup_nextToken :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeInstancePatchStatesForPatchGroup_maxResults :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe Natural) Source #
The maximum number of patches to return (per page).
describeInstancePatchStatesForPatchGroup_patchGroup :: Lens' DescribeInstancePatchStatesForPatchGroup Text Source #
The name of the patch group for which the patch state information should be retrieved.
Destructuring the Response
data DescribeInstancePatchStatesForPatchGroupResponse Source #
See: newDescribeInstancePatchStatesForPatchGroupResponse
smart constructor.
DescribeInstancePatchStatesForPatchGroupResponse' | |
|
Instances
newDescribeInstancePatchStatesForPatchGroupResponse Source #
:: Int |
|
-> DescribeInstancePatchStatesForPatchGroupResponse |
Create a value of DescribeInstancePatchStatesForPatchGroupResponse
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:nextToken:DescribeInstancePatchStatesForPatchGroup'
, describeInstancePatchStatesForPatchGroupResponse_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:instancePatchStates:DescribeInstancePatchStatesForPatchGroupResponse'
, describeInstancePatchStatesForPatchGroupResponse_instancePatchStates
- The high-level patch state for the requested instances.
$sel:httpStatus:DescribeInstancePatchStatesForPatchGroupResponse'
, describeInstancePatchStatesForPatchGroupResponse_httpStatus
- The response's http status code.
Response Lenses
describeInstancePatchStatesForPatchGroupResponse_nextToken :: Lens' DescribeInstancePatchStatesForPatchGroupResponse (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.
describeInstancePatchStatesForPatchGroupResponse_instancePatchStates :: Lens' DescribeInstancePatchStatesForPatchGroupResponse (Maybe (NonEmpty InstancePatchState)) Source #
The high-level patch state for the requested instances.
describeInstancePatchStatesForPatchGroupResponse_httpStatus :: Lens' DescribeInstancePatchStatesForPatchGroupResponse Int Source #
The response's http status code.