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 |
Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.
The returned content is Base64-encoded.
- getConsoleScreenshot :: Text -> GetConsoleScreenshot
- data GetConsoleScreenshot
- gcsWakeUp :: Lens' GetConsoleScreenshot (Maybe Bool)
- gcsDryRun :: Lens' GetConsoleScreenshot (Maybe Bool)
- gcsInstanceId :: Lens' GetConsoleScreenshot Text
- getConsoleScreenshotResponse :: Int -> GetConsoleScreenshotResponse
- data GetConsoleScreenshotResponse
- gcsrsInstanceId :: Lens' GetConsoleScreenshotResponse (Maybe Text)
- gcsrsImageData :: Lens' GetConsoleScreenshotResponse (Maybe Text)
- gcsrsResponseStatus :: Lens' GetConsoleScreenshotResponse Int
Creating a Request
Creates a value of GetConsoleScreenshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcsWakeUp
- When set totrue
, acts as keystroke input and wakes up an instance that's in standby or "sleep" mode.gcsDryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.gcsInstanceId
- The ID of the instance.
data GetConsoleScreenshot Source #
Contains the parameters for the request.
See: getConsoleScreenshot
smart constructor.
Request Lenses
gcsWakeUp :: Lens' GetConsoleScreenshot (Maybe Bool) Source #
When set to true
, acts as keystroke input and wakes up an instance that's in standby or "sleep" mode.
gcsDryRun :: Lens' GetConsoleScreenshot (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
gcsInstanceId :: Lens' GetConsoleScreenshot Text Source #
The ID of the instance.
Destructuring the Response
getConsoleScreenshotResponse Source #
Creates a value of GetConsoleScreenshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcsrsInstanceId
- The ID of the instance.gcsrsImageData
- The data that comprises the image.gcsrsResponseStatus
- -- | The response status code.
data GetConsoleScreenshotResponse Source #
Contains the output of the request.
See: getConsoleScreenshotResponse
smart constructor.
Response Lenses
gcsrsInstanceId :: Lens' GetConsoleScreenshotResponse (Maybe Text) Source #
The ID of the instance.
gcsrsImageData :: Lens' GetConsoleScreenshotResponse (Maybe Text) Source #
The data that comprises the image.
gcsrsResponseStatus :: Lens' GetConsoleScreenshotResponse Int Source #
- - | The response status code.