amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.GetConsoleScreenshot

Contents

Description

Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.

The returned content is Base64-encoded.

Synopsis

Creating a Request

getConsoleScreenshot Source #

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 to true , 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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • gcsInstanceId - The ID of the instance.

data GetConsoleScreenshot Source #

Contains the parameters for the request.

See: getConsoleScreenshot smart constructor.

Instances
Eq GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Data GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetConsoleScreenshot -> c GetConsoleScreenshot #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetConsoleScreenshot #

toConstr :: GetConsoleScreenshot -> Constr #

dataTypeOf :: GetConsoleScreenshot -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetConsoleScreenshot) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetConsoleScreenshot) #

gmapT :: (forall b. Data b => b -> b) -> GetConsoleScreenshot -> GetConsoleScreenshot #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetConsoleScreenshot -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetConsoleScreenshot -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetConsoleScreenshot -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetConsoleScreenshot -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetConsoleScreenshot -> m GetConsoleScreenshot #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConsoleScreenshot -> m GetConsoleScreenshot #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConsoleScreenshot -> m GetConsoleScreenshot #

Read GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Show GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Generic GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Associated Types

type Rep GetConsoleScreenshot :: Type -> Type #

Hashable GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

AWSRequest GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Associated Types

type Rs GetConsoleScreenshot :: Type #

ToHeaders GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

ToPath GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

ToQuery GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

NFData GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Methods

rnf :: GetConsoleScreenshot -> () #

type Rep GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

type Rep GetConsoleScreenshot = D1 (MetaData "GetConsoleScreenshot" "Network.AWS.EC2.GetConsoleScreenshot" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "GetConsoleScreenshot'" PrefixI True) (S1 (MetaSel (Just "_gcsWakeUp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_gcsDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gcsInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetConsoleScreenshot Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

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 .

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:

data GetConsoleScreenshotResponse Source #

Contains the output of the request.

See: getConsoleScreenshotResponse smart constructor.

Instances
Eq GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Data GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetConsoleScreenshotResponse -> c GetConsoleScreenshotResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetConsoleScreenshotResponse #

toConstr :: GetConsoleScreenshotResponse -> Constr #

dataTypeOf :: GetConsoleScreenshotResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetConsoleScreenshotResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetConsoleScreenshotResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetConsoleScreenshotResponse -> GetConsoleScreenshotResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetConsoleScreenshotResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetConsoleScreenshotResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetConsoleScreenshotResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetConsoleScreenshotResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetConsoleScreenshotResponse -> m GetConsoleScreenshotResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConsoleScreenshotResponse -> m GetConsoleScreenshotResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConsoleScreenshotResponse -> m GetConsoleScreenshotResponse #

Read GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Show GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Generic GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

Associated Types

type Rep GetConsoleScreenshotResponse :: Type -> Type #

NFData GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

type Rep GetConsoleScreenshotResponse Source # 
Instance details

Defined in Network.AWS.EC2.GetConsoleScreenshot

type Rep GetConsoleScreenshotResponse = D1 (MetaData "GetConsoleScreenshotResponse" "Network.AWS.EC2.GetConsoleScreenshot" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "GetConsoleScreenshotResponse'" PrefixI True) (S1 (MetaSel (Just "_gcsrsInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gcsrsImageData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gcsrsImageData :: Lens' GetConsoleScreenshotResponse (Maybe Text) Source #

The data that comprises the image.