| 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.DescribePatchGroups
Description
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_maxResults :: Lens' DescribePatchGroups (Maybe Natural)
- describePatchGroups_nextToken :: Lens' DescribePatchGroups (Maybe Text)
- 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.
Constructors
| DescribePatchGroups' | |
Fields
| |
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:
DescribePatchGroups, describePatchGroups_filters - Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchGroups include the following:
NAME_PREFIXSample values:
AWS-|My-.OPERATING_SYSTEMSample values:
AMAZON_LINUX|SUSE|WINDOWS
$sel:maxResults:DescribePatchGroups', describePatchGroups_maxResults - The maximum number of patch groups to return (per page).
DescribePatchGroups, describePatchGroups_nextToken - The token for the next set of items to return. (You received this token
from a previous call.)
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_PREFIXSample values:
AWS-|My-.OPERATING_SYSTEMSample values:
AMAZON_LINUX|SUSE|WINDOWS
describePatchGroups_maxResults :: Lens' DescribePatchGroups (Maybe Natural) Source #
The maximum number of patch groups to return (per page).
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.)
Destructuring the Response
data DescribePatchGroupsResponse Source #
See: newDescribePatchGroupsResponse smart constructor.
Constructors
| DescribePatchGroupsResponse' | |
Fields
| |
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: APatchBaselineIdentityelement.
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: APatchBaselineIdentityelement.
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.