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 the default patch baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
If you do not specify an operating system value, the default patch baseline for Windows is returned.
Synopsis
- getDefaultPatchBaseline :: GetDefaultPatchBaseline
- data GetDefaultPatchBaseline
- gdpbOperatingSystem :: Lens' GetDefaultPatchBaseline (Maybe OperatingSystem)
- getDefaultPatchBaselineResponse :: Int -> GetDefaultPatchBaselineResponse
- data GetDefaultPatchBaselineResponse
- gdpbrsOperatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem)
- gdpbrsBaselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text)
- gdpbrsResponseStatus :: Lens' GetDefaultPatchBaselineResponse Int
Creating a Request
getDefaultPatchBaseline :: GetDefaultPatchBaseline Source #
Creates a value of GetDefaultPatchBaseline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdpbOperatingSystem
- Returns the default patch baseline for the specified operating system.
data GetDefaultPatchBaseline Source #
See: getDefaultPatchBaseline
smart constructor.
Instances
Request Lenses
gdpbOperatingSystem :: Lens' GetDefaultPatchBaseline (Maybe OperatingSystem) Source #
Returns the default patch baseline for the specified operating system.
Destructuring the Response
getDefaultPatchBaselineResponse Source #
Creates a value of GetDefaultPatchBaselineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdpbrsOperatingSystem
- The operating system for the returned patch baseline.gdpbrsBaselineId
- The ID of the default patch baseline.gdpbrsResponseStatus
- -- | The response status code.
data GetDefaultPatchBaselineResponse Source #
See: getDefaultPatchBaselineResponse
smart constructor.
Instances
Response Lenses
gdpbrsOperatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem) Source #
The operating system for the returned patch baseline.
gdpbrsBaselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text) Source #
The ID of the default patch baseline.
gdpbrsResponseStatus :: Lens' GetDefaultPatchBaselineResponse Int Source #
- - | The response status code.