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 |
Lists all patch groups that have been registered with patch baselines.
This operation returns paginated results.
Synopsis
- data DescribePatchGroups = DescribePatchGroups' {}
- newDescribePatchGroups :: DescribePatchGroups
- describePatchGroups_filters :: Lens' DescribePatchGroups (Maybe [PatchOrchestratorFilter])
- describePatchGroups_nextToken :: Lens' DescribePatchGroups (Maybe Text)
- describePatchGroups_maxResults :: Lens' DescribePatchGroups (Maybe Natural)
- data DescribePatchGroupsResponse = DescribePatchGroupsResponse' {}
- newDescribePatchGroupsResponse :: Int -> DescribePatchGroupsResponse
- describePatchGroupsResponse_mappings :: Lens' DescribePatchGroupsResponse (Maybe [PatchGroupPatchBaselineMapping])
- describePatchGroupsResponse_nextToken :: Lens' DescribePatchGroupsResponse (Maybe Text)
- describePatchGroupsResponse_httpStatus :: Lens' DescribePatchGroupsResponse Int
Creating a Request
data DescribePatchGroups Source #
See: newDescribePatchGroups
smart constructor.
DescribePatchGroups' | |
|
Instances
newDescribePatchGroups :: DescribePatchGroups Source #
Create a value of DescribePatchGroups
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:DescribePatchGroups'
, describePatchGroups_filters
- Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchGroups
include the following:
NAME_PREFIX
Sample values:
AWS-
|My-
.OPERATING_SYSTEM
Sample values:
AMAZON_LINUX
|SUSE
|WINDOWS
$sel:nextToken:DescribePatchGroups'
, describePatchGroups_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribePatchGroups'
, describePatchGroups_maxResults
- The maximum number of patch groups to return (per page).
Request Lenses
describePatchGroups_filters :: Lens' DescribePatchGroups (Maybe [PatchOrchestratorFilter]) Source #
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchGroups
include the following:
NAME_PREFIX
Sample values:
AWS-
|My-
.OPERATING_SYSTEM
Sample values:
AMAZON_LINUX
|SUSE
|WINDOWS
describePatchGroups_nextToken :: Lens' DescribePatchGroups (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describePatchGroups_maxResults :: Lens' DescribePatchGroups (Maybe Natural) Source #
The maximum number of patch groups to return (per page).
Destructuring the Response
data DescribePatchGroupsResponse Source #
See: newDescribePatchGroupsResponse
smart constructor.
DescribePatchGroupsResponse' | |
|
Instances
newDescribePatchGroupsResponse Source #
Create a value of DescribePatchGroupsResponse
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:mappings:DescribePatchGroupsResponse'
, describePatchGroupsResponse_mappings
- Each entry in the array contains:
PatchGroup
: string (between 1 and 256 characters. Regex:^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
PatchBaselineIdentity
: APatchBaselineIdentity
element.
$sel:nextToken:DescribePatchGroups'
, describePatchGroupsResponse_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:DescribePatchGroupsResponse'
, describePatchGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describePatchGroupsResponse_mappings :: Lens' DescribePatchGroupsResponse (Maybe [PatchGroupPatchBaselineMapping]) Source #
Each entry in the array contains:
PatchGroup
: string (between 1 and 256 characters. Regex:^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
PatchBaselineIdentity
: APatchBaselineIdentity
element.
describePatchGroupsResponse_nextToken :: Lens' DescribePatchGroupsResponse (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.
describePatchGroupsResponse_httpStatus :: Lens' DescribePatchGroupsResponse Int Source #
The response's http status code.