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

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

Network.AWS.EC2.RebootInstances

Contents

Description

Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.

If an instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.

For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Creating a Request

rebootInstances :: RebootInstances Source #

Creates a value of RebootInstances with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RebootInstances Source #

Contains the parameters for RebootInstances.

See: rebootInstances smart constructor.

Instances

Eq RebootInstances Source # 
Data RebootInstances Source # 

Methods

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

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

toConstr :: RebootInstances -> Constr #

dataTypeOf :: RebootInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootInstances Source # 
Show RebootInstances Source # 
Generic RebootInstances Source # 
Hashable RebootInstances Source # 
NFData RebootInstances Source # 

Methods

rnf :: RebootInstances -> () #

AWSRequest RebootInstances Source # 
ToPath RebootInstances Source # 
ToHeaders RebootInstances Source # 
ToQuery RebootInstances Source # 
type Rep RebootInstances Source # 
type Rep RebootInstances = D1 (MetaData "RebootInstances" "Network.AWS.EC2.RebootInstances" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "RebootInstances'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rebDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_rebInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs RebootInstances Source # 

Request Lenses

rebDryRun :: Lens' RebootInstances (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.

rebInstanceIds :: Lens' RebootInstances [Text] Source #

One or more instance IDs.

Destructuring the Response

rebootInstancesResponse :: RebootInstancesResponse Source #

Creates a value of RebootInstancesResponse with the minimum fields required to make a request.

data RebootInstancesResponse Source #

See: rebootInstancesResponse smart constructor.

Instances

Eq RebootInstancesResponse Source # 
Data RebootInstancesResponse Source # 

Methods

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

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

toConstr :: RebootInstancesResponse -> Constr #

dataTypeOf :: RebootInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootInstancesResponse Source # 
Show RebootInstancesResponse Source # 
Generic RebootInstancesResponse Source # 
NFData RebootInstancesResponse Source # 

Methods

rnf :: RebootInstancesResponse -> () #

type Rep RebootInstancesResponse Source # 
type Rep RebootInstancesResponse = D1 (MetaData "RebootInstancesResponse" "Network.AWS.EC2.RebootInstances" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "RebootInstancesResponse'" PrefixI False) U1)