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 |
Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
If you don't specify an operating system value, the default patch baseline for Windows is returned.
Synopsis
- data GetDefaultPatchBaseline = GetDefaultPatchBaseline' {}
- newGetDefaultPatchBaseline :: GetDefaultPatchBaseline
- getDefaultPatchBaseline_operatingSystem :: Lens' GetDefaultPatchBaseline (Maybe OperatingSystem)
- data GetDefaultPatchBaselineResponse = GetDefaultPatchBaselineResponse' {}
- newGetDefaultPatchBaselineResponse :: Int -> GetDefaultPatchBaselineResponse
- getDefaultPatchBaselineResponse_operatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem)
- getDefaultPatchBaselineResponse_baselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text)
- getDefaultPatchBaselineResponse_httpStatus :: Lens' GetDefaultPatchBaselineResponse Int
Creating a Request
data GetDefaultPatchBaseline Source #
See: newGetDefaultPatchBaseline
smart constructor.
GetDefaultPatchBaseline' | |
|
Instances
newGetDefaultPatchBaseline :: GetDefaultPatchBaseline Source #
Create a value of GetDefaultPatchBaseline
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:operatingSystem:GetDefaultPatchBaseline'
, getDefaultPatchBaseline_operatingSystem
- Returns the default patch baseline for the specified operating system.
Request Lenses
getDefaultPatchBaseline_operatingSystem :: Lens' GetDefaultPatchBaseline (Maybe OperatingSystem) Source #
Returns the default patch baseline for the specified operating system.
Destructuring the Response
data GetDefaultPatchBaselineResponse Source #
See: newGetDefaultPatchBaselineResponse
smart constructor.
GetDefaultPatchBaselineResponse' | |
|
Instances
newGetDefaultPatchBaselineResponse Source #
Create a value of GetDefaultPatchBaselineResponse
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:operatingSystem:GetDefaultPatchBaseline'
, getDefaultPatchBaselineResponse_operatingSystem
- The operating system for the returned patch baseline.
$sel:baselineId:GetDefaultPatchBaselineResponse'
, getDefaultPatchBaselineResponse_baselineId
- The ID of the default patch baseline.
$sel:httpStatus:GetDefaultPatchBaselineResponse'
, getDefaultPatchBaselineResponse_httpStatus
- The response's http status code.
Response Lenses
getDefaultPatchBaselineResponse_operatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem) Source #
The operating system for the returned patch baseline.
getDefaultPatchBaselineResponse_baselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text) Source #
The ID of the default patch baseline.
getDefaultPatchBaselineResponse_httpStatus :: Lens' GetDefaultPatchBaselineResponse Int Source #
The response's http status code.