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 |
Retrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance.
- describeInstancePatches :: Text -> DescribeInstancePatches
- data DescribeInstancePatches
- dipFilters :: Lens' DescribeInstancePatches [PatchOrchestratorFilter]
- dipNextToken :: Lens' DescribeInstancePatches (Maybe Text)
- dipMaxResults :: Lens' DescribeInstancePatches (Maybe Natural)
- dipInstanceId :: Lens' DescribeInstancePatches Text
- describeInstancePatchesResponse :: Int -> DescribeInstancePatchesResponse
- data DescribeInstancePatchesResponse
- diprsPatches :: Lens' DescribeInstancePatchesResponse [PatchComplianceData]
- diprsNextToken :: Lens' DescribeInstancePatchesResponse (Maybe Text)
- diprsResponseStatus :: Lens' DescribeInstancePatchesResponse Int
Creating a Request
describeInstancePatches Source #
Creates a value of DescribeInstancePatches
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dipFilters
- Each entry in the array is a structure containing: Key (string, between 1 and 128 characters) Values (array of strings, each string between 1 and 256 characters)dipNextToken
- The token for the next set of items to return. (You received this token from a previous call.)dipMaxResults
- The maximum number of patches to return (per page).dipInstanceId
- The ID of the instance whose patch state information should be retrieved.
data DescribeInstancePatches Source #
See: describeInstancePatches
smart constructor.
Request Lenses
dipFilters :: Lens' DescribeInstancePatches [PatchOrchestratorFilter] Source #
Each entry in the array is a structure containing: Key (string, between 1 and 128 characters) Values (array of strings, each string between 1 and 256 characters)
dipNextToken :: Lens' DescribeInstancePatches (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dipMaxResults :: Lens' DescribeInstancePatches (Maybe Natural) Source #
The maximum number of patches to return (per page).
dipInstanceId :: Lens' DescribeInstancePatches Text Source #
The ID of the instance whose patch state information should be retrieved.
Destructuring the Response
describeInstancePatchesResponse Source #
Creates a value of DescribeInstancePatchesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diprsPatches
- Each entry in the array is a structure containing: Title (string) KBId (string) Classification (string) Severity (string) State (string: INSTALLED, "INSTALLED OTHER", MISSING, "NOT APPLICABLE", FAILED) InstalledTime (DateTime) InstalledBy (string)diprsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.diprsResponseStatus
- -- | The response status code.
data DescribeInstancePatchesResponse Source #
See: describeInstancePatchesResponse
smart constructor.
Response Lenses
diprsNextToken :: Lens' DescribeInstancePatchesResponse (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.
diprsResponseStatus :: Lens' DescribeInstancePatchesResponse Int Source #
- - | The response status code.