get_console_screenshot
(**kwargs)¶Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.
The returned content is Base64-encoded.
See also: AWS API Documentation
Request Syntax
response = client.get_console_screenshot(
DryRun=True|False,
InstanceId='string',
WakeUp=True|False
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the instance.
true
, acts as keystroke input and wakes up an instance that's in standby or "sleep" mode.dict
Response Syntax
{
'ImageData': 'string',
'InstanceId': 'string'
}
Response Structure
(dict) --
ImageData (string) --
The data that comprises the image.
InstanceId (string) --
The ID of the instance.