amazonka-ec2-1.6.0: 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.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 #

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:

  • rebDryRun - 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 - One or more instance IDs.

data RebootInstances #

Contains the parameters for RebootInstances.

See: rebootInstances smart constructor.

Instances
Eq RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Data RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

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 # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Show RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Generic RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Associated Types

type Rep RebootInstances :: * -> * #

Hashable RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

AWSRequest RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Associated Types

type Rs RebootInstances :: * #

ToHeaders RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

ToPath RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

ToQuery RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

NFData RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Methods

rnf :: RebootInstances -> () #

type Rep RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

type Rep RebootInstances = D1 (MetaData "RebootInstances" "Network.AWS.EC2.RebootInstances" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "RebootInstances'" PrefixI True) (S1 (MetaSel (Just "_rebDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_rebInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))
type Rs RebootInstances # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Request Lenses

rebDryRun :: Lens' RebootInstances (Maybe Bool) #

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] #

One or more instance IDs.

Destructuring the Response

rebootInstancesResponse :: RebootInstancesResponse #

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

data RebootInstancesResponse #

See: rebootInstancesResponse smart constructor.

Instances
Eq RebootInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Data RebootInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

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 # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Show RebootInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Generic RebootInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Associated Types

type Rep RebootInstancesResponse :: * -> * #

NFData RebootInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

Methods

rnf :: RebootInstancesResponse -> () #

type Rep RebootInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.RebootInstances

type Rep RebootInstancesResponse = D1 (MetaData "RebootInstancesResponse" "Network.AWS.EC2.RebootInstances" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "RebootInstancesResponse'" PrefixI False) (U1 :: * -> *))