| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSM.GetDefaultPatchBaseline
Description
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_baselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text)
- getDefaultPatchBaselineResponse_operatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem)
- getDefaultPatchBaselineResponse_httpStatus :: Lens' GetDefaultPatchBaselineResponse Int
Creating a Request
data GetDefaultPatchBaseline Source #
See: newGetDefaultPatchBaseline smart constructor.
Constructors
| GetDefaultPatchBaseline' | |
Fields
| |
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:
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.
Constructors
| GetDefaultPatchBaselineResponse' | |
Fields
| |
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:
GetDefaultPatchBaselineResponse, getDefaultPatchBaselineResponse_baselineId - The ID of the default patch baseline.
GetDefaultPatchBaseline, getDefaultPatchBaselineResponse_operatingSystem - The operating system for the returned patch baseline.
$sel:httpStatus:GetDefaultPatchBaselineResponse', getDefaultPatchBaselineResponse_httpStatus - The response's http status code.
Response Lenses
getDefaultPatchBaselineResponse_baselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text) Source #
The ID of the default patch baseline.
getDefaultPatchBaselineResponse_operatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem) Source #
The operating system for the returned patch baseline.
getDefaultPatchBaselineResponse_httpStatus :: Lens' GetDefaultPatchBaselineResponse Int Source #
The response's http status code.