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 the patch baselines in your Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data DescribePatchBaselines = DescribePatchBaselines' {}
- newDescribePatchBaselines :: DescribePatchBaselines
- describePatchBaselines_filters :: Lens' DescribePatchBaselines (Maybe [PatchOrchestratorFilter])
- describePatchBaselines_nextToken :: Lens' DescribePatchBaselines (Maybe Text)
- describePatchBaselines_maxResults :: Lens' DescribePatchBaselines (Maybe Natural)
- data DescribePatchBaselinesResponse = DescribePatchBaselinesResponse' {}
- newDescribePatchBaselinesResponse :: Int -> DescribePatchBaselinesResponse
- describePatchBaselinesResponse_baselineIdentities :: Lens' DescribePatchBaselinesResponse (Maybe [PatchBaselineIdentity])
- describePatchBaselinesResponse_nextToken :: Lens' DescribePatchBaselinesResponse (Maybe Text)
- describePatchBaselinesResponse_httpStatus :: Lens' DescribePatchBaselinesResponse Int
Creating a Request
data DescribePatchBaselines Source #
See: newDescribePatchBaselines
smart constructor.
DescribePatchBaselines' | |
|
Instances
newDescribePatchBaselines :: DescribePatchBaselines Source #
Create a value of DescribePatchBaselines
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:DescribePatchBaselines'
, describePatchBaselines_filters
- Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchBaselines
include the following:
NAME_PREFIX
Sample values:
AWS-
|My-
OWNER
Sample values:
AWS
|Self
OPERATING_SYSTEM
Sample values:
AMAZON_LINUX
|SUSE
|WINDOWS
$sel:nextToken:DescribePatchBaselines'
, describePatchBaselines_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribePatchBaselines'
, describePatchBaselines_maxResults
- The maximum number of patch baselines to return (per page).
Request Lenses
describePatchBaselines_filters :: Lens' DescribePatchBaselines (Maybe [PatchOrchestratorFilter]) Source #
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchBaselines
include the following:
NAME_PREFIX
Sample values:
AWS-
|My-
OWNER
Sample values:
AWS
|Self
OPERATING_SYSTEM
Sample values:
AMAZON_LINUX
|SUSE
|WINDOWS
describePatchBaselines_nextToken :: Lens' DescribePatchBaselines (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describePatchBaselines_maxResults :: Lens' DescribePatchBaselines (Maybe Natural) Source #
The maximum number of patch baselines to return (per page).
Destructuring the Response
data DescribePatchBaselinesResponse Source #
See: newDescribePatchBaselinesResponse
smart constructor.
DescribePatchBaselinesResponse' | |
|
Instances
newDescribePatchBaselinesResponse Source #
Create a value of DescribePatchBaselinesResponse
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:baselineIdentities:DescribePatchBaselinesResponse'
, describePatchBaselinesResponse_baselineIdentities
- An array of PatchBaselineIdentity
elements.
$sel:nextToken:DescribePatchBaselines'
, describePatchBaselinesResponse_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:DescribePatchBaselinesResponse'
, describePatchBaselinesResponse_httpStatus
- The response's http status code.
Response Lenses
describePatchBaselinesResponse_baselineIdentities :: Lens' DescribePatchBaselinesResponse (Maybe [PatchBaselineIdentity]) Source #
An array of PatchBaselineIdentity
elements.
describePatchBaselinesResponse_nextToken :: 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.
describePatchBaselinesResponse_httpStatus :: Lens' DescribePatchBaselinesResponse Int Source #
The response's http status code.