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 |
Lists the patch baselines in your AWS account.
Synopsis
- describePatchBaselines :: DescribePatchBaselines
- data DescribePatchBaselines
- dpbFilters :: Lens' DescribePatchBaselines [PatchOrchestratorFilter]
- dpbNextToken :: Lens' DescribePatchBaselines (Maybe Text)
- dpbMaxResults :: Lens' DescribePatchBaselines (Maybe Natural)
- describePatchBaselinesResponse :: Int -> DescribePatchBaselinesResponse
- data DescribePatchBaselinesResponse
- dpbsrsBaselineIdentities :: Lens' DescribePatchBaselinesResponse [PatchBaselineIdentity]
- dpbsrsNextToken :: Lens' DescribePatchBaselinesResponse (Maybe Text)
- dpbsrsResponseStatus :: Lens' DescribePatchBaselinesResponse Int
Creating a Request
describePatchBaselines :: DescribePatchBaselines Source #
Creates a value of DescribePatchBaselines
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpbFilters
- Each element in the array is a structure containing: Key: (string, NAME_PREFIX or OWNER) Value: (array of strings, exactly 1 entry, between 1 and 255 characters)dpbNextToken
- The token for the next set of items to return. (You received this token from a previous call.)dpbMaxResults
- The maximum number of patch baselines to return (per page).
data DescribePatchBaselines Source #
See: describePatchBaselines
smart constructor.
Instances
Request Lenses
dpbFilters :: Lens' DescribePatchBaselines [PatchOrchestratorFilter] Source #
Each element in the array is a structure containing: Key: (string, NAME_PREFIX or OWNER) Value: (array of strings, exactly 1 entry, between 1 and 255 characters)
dpbNextToken :: Lens' DescribePatchBaselines (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dpbMaxResults :: Lens' DescribePatchBaselines (Maybe Natural) Source #
The maximum number of patch baselines to return (per page).
Destructuring the Response
describePatchBaselinesResponse Source #
Creates a value of DescribePatchBaselinesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpbsrsBaselineIdentities
- An array of PatchBaselineIdentity elements.dpbsrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dpbsrsResponseStatus
- -- | The response status code.
data DescribePatchBaselinesResponse Source #
See: describePatchBaselinesResponse
smart constructor.
Instances
Response Lenses
dpbsrsBaselineIdentities :: Lens' DescribePatchBaselinesResponse [PatchBaselineIdentity] Source #
An array of PatchBaselineIdentity elements.
dpbsrsNextToken :: Lens' DescribePatchBaselinesResponse (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.
dpbsrsResponseStatus :: Lens' DescribePatchBaselinesResponse Int Source #
- - | The response status code.