amazonka-ec2-1.4.3: 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.MonitorInstances

Contents

Description

Enables monitoring for a running instance. For more information about monitoring instances, see Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Creating a Request

monitorInstances :: MonitorInstances Source #

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

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

data MonitorInstances Source #

Contains the parameters for MonitorInstances.

See: monitorInstances smart constructor.

Instances

Eq MonitorInstances Source # 
Data MonitorInstances Source # 

Methods

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

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

toConstr :: MonitorInstances -> Constr #

dataTypeOf :: MonitorInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MonitorInstances Source # 
Show MonitorInstances Source # 
Generic MonitorInstances Source # 
Hashable MonitorInstances Source # 
NFData MonitorInstances Source # 

Methods

rnf :: MonitorInstances -> () #

AWSRequest MonitorInstances Source # 
ToQuery MonitorInstances Source # 
ToPath MonitorInstances Source # 
ToHeaders MonitorInstances Source # 
type Rep MonitorInstances Source # 
type Rep MonitorInstances = D1 (MetaData "MonitorInstances" "Network.AWS.EC2.MonitorInstances" "amazonka-ec2-1.4.3-IOmvt8owjDkAgcWNrchie1" False) (C1 (MetaCons "MonitorInstances'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_miDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_miInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs MonitorInstances Source # 

Request Lenses

miDryRun :: Lens' MonitorInstances (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.

miInstanceIds :: Lens' MonitorInstances [Text] Source #

One or more instance IDs.

Destructuring the Response

monitorInstancesResponse Source #

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

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

data MonitorInstancesResponse Source #

Contains the output of MonitorInstances.

See: monitorInstancesResponse smart constructor.

Instances

Eq MonitorInstancesResponse Source # 
Data MonitorInstancesResponse Source # 

Methods

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

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

toConstr :: MonitorInstancesResponse -> Constr #

dataTypeOf :: MonitorInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MonitorInstancesResponse Source # 
Show MonitorInstancesResponse Source # 
Generic MonitorInstancesResponse Source # 
NFData MonitorInstancesResponse Source # 
type Rep MonitorInstancesResponse Source # 
type Rep MonitorInstancesResponse = D1 (MetaData "MonitorInstancesResponse" "Network.AWS.EC2.MonitorInstances" "amazonka-ec2-1.4.3-IOmvt8owjDkAgcWNrchie1" False) (C1 (MetaCons "MonitorInstancesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mirsInstanceMonitorings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceMonitoring]))) (S1 (MetaSel (Just Symbol "_mirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

mirsInstanceMonitorings :: Lens' MonitorInstancesResponse [InstanceMonitoring] Source #

Monitoring information for one or more instances.