Copyright | (c) 2013-2017 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 current snapshot for the patch baseline the instance uses. This API is primarily used by the AWS-RunPatchBaseline Systems Manager document.
- getDeployablePatchSnapshotForInstance :: Text -> Text -> GetDeployablePatchSnapshotForInstance
- data GetDeployablePatchSnapshotForInstance
- gdpsfiInstanceId :: Lens' GetDeployablePatchSnapshotForInstance Text
- gdpsfiSnapshotId :: Lens' GetDeployablePatchSnapshotForInstance Text
- getDeployablePatchSnapshotForInstanceResponse :: Int -> GetDeployablePatchSnapshotForInstanceResponse
- data GetDeployablePatchSnapshotForInstanceResponse
- gdpsfirsInstanceId :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text)
- gdpsfirsProduct :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text)
- gdpsfirsSnapshotDownloadURL :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text)
- gdpsfirsSnapshotId :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text)
- gdpsfirsResponseStatus :: Lens' GetDeployablePatchSnapshotForInstanceResponse Int
Creating a Request
getDeployablePatchSnapshotForInstance Source #
Creates a value of GetDeployablePatchSnapshotForInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdpsfiInstanceId
- The ID of the instance for which the appropriate patch snapshot should be retrieved.gdpsfiSnapshotId
- The user-defined snapshot ID.
data GetDeployablePatchSnapshotForInstance Source #
See: getDeployablePatchSnapshotForInstance
smart constructor.
Request Lenses
gdpsfiInstanceId :: Lens' GetDeployablePatchSnapshotForInstance Text Source #
The ID of the instance for which the appropriate patch snapshot should be retrieved.
gdpsfiSnapshotId :: Lens' GetDeployablePatchSnapshotForInstance Text Source #
The user-defined snapshot ID.
Destructuring the Response
getDeployablePatchSnapshotForInstanceResponse Source #
Creates a value of GetDeployablePatchSnapshotForInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdpsfirsInstanceId
- The ID of the instance.gdpsfirsProduct
- Returns the specific operating system (for example Windows Server 2012 or Amazon Linux 2015.09) on the instance for the specified patch snapshot.gdpsfirsSnapshotDownloadURL
- A pre-signed Amazon S3 URL that can be used to download the patch snapshot.gdpsfirsSnapshotId
- The user-defined snapshot ID.gdpsfirsResponseStatus
- -- | The response status code.
data GetDeployablePatchSnapshotForInstanceResponse Source #
See: getDeployablePatchSnapshotForInstanceResponse
smart constructor.
Response Lenses
gdpsfirsInstanceId :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text) Source #
The ID of the instance.
gdpsfirsProduct :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text) Source #
Returns the specific operating system (for example Windows Server 2012 or Amazon Linux 2015.09) on the instance for the specified patch snapshot.
gdpsfirsSnapshotDownloadURL :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text) Source #
A pre-signed Amazon S3 URL that can be used to download the patch snapshot.
gdpsfirsSnapshotId :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text) Source #
The user-defined snapshot ID.
gdpsfirsResponseStatus :: Lens' GetDeployablePatchSnapshotForInstanceResponse Int Source #
- - | The response status code.