| 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 |
Network.AWS.SSM.DescribePatchGroups
Description
Lists all patch groups that have been registered with patch baselines.
Synopsis
- describePatchGroups :: DescribePatchGroups
- data DescribePatchGroups
- dpgFilters :: Lens' DescribePatchGroups [PatchOrchestratorFilter]
- dpgNextToken :: Lens' DescribePatchGroups (Maybe Text)
- dpgMaxResults :: Lens' DescribePatchGroups (Maybe Natural)
- describePatchGroupsResponse :: Int -> DescribePatchGroupsResponse
- data DescribePatchGroupsResponse
- dpgrsMappings :: Lens' DescribePatchGroupsResponse [PatchGroupPatchBaselineMapping]
- dpgrsNextToken :: Lens' DescribePatchGroupsResponse (Maybe Text)
- dpgrsResponseStatus :: Lens' DescribePatchGroupsResponse Int
Creating a Request
describePatchGroups :: DescribePatchGroups Source #
Creates a value of DescribePatchGroups with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpgFilters- One or more filters. Use a filter to return a more specific list of results.dpgNextToken- The token for the next set of items to return. (You received this token from a previous call.)dpgMaxResults- The maximum number of patch groups to return (per page).
data DescribePatchGroups Source #
See: describePatchGroups smart constructor.
Instances
Request Lenses
dpgFilters :: Lens' DescribePatchGroups [PatchOrchestratorFilter] Source #
One or more filters. Use a filter to return a more specific list of results.
dpgNextToken :: Lens' DescribePatchGroups (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dpgMaxResults :: Lens' DescribePatchGroups (Maybe Natural) Source #
The maximum number of patch groups to return (per page).
Destructuring the Response
describePatchGroupsResponse Source #
Arguments
| :: Int | |
| -> DescribePatchGroupsResponse |
Creates a value of DescribePatchGroupsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpgrsMappings- Each entry in the array contains: PatchGroup: string (between 1 and 256 characters, Regex: ^([p{L}p{Z}p{N}_.:/=+-@]*)$) PatchBaselineIdentity: A PatchBaselineIdentity element.dpgrsNextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dpgrsResponseStatus- -- | The response status code.
data DescribePatchGroupsResponse Source #
See: describePatchGroupsResponse smart constructor.
Instances
Response Lenses
dpgrsMappings :: Lens' DescribePatchGroupsResponse [PatchGroupPatchBaselineMapping] Source #
Each entry in the array contains: PatchGroup: string (between 1 and 256 characters, Regex: ^([p{L}p{Z}p{N}_.:/=+-@]*)$) PatchBaselineIdentity: A PatchBaselineIdentity element.
dpgrsNextToken :: 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.
dpgrsResponseStatus :: Lens' DescribePatchGroupsResponse Int Source #
- - | The response status code.