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

Copyright(c) 2013-2017 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.UnmonitorInstances

Contents

Description

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

Synopsis

Creating a Request

unmonitorInstances :: UnmonitorInstances Source #

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

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

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

data UnmonitorInstances Source #

Contains the parameters for UnmonitorInstances.

See: unmonitorInstances smart constructor.

Instances

Eq UnmonitorInstances Source # 
Data UnmonitorInstances Source # 

Methods

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

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

toConstr :: UnmonitorInstances -> Constr #

dataTypeOf :: UnmonitorInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UnmonitorInstances Source # 
Show UnmonitorInstances Source # 
Generic UnmonitorInstances Source # 
Hashable UnmonitorInstances Source # 
NFData UnmonitorInstances Source # 

Methods

rnf :: UnmonitorInstances -> () #

AWSRequest UnmonitorInstances Source # 
ToQuery UnmonitorInstances Source # 
ToPath UnmonitorInstances Source # 
ToHeaders UnmonitorInstances Source # 
type Rep UnmonitorInstances Source # 
type Rep UnmonitorInstances = D1 (MetaData "UnmonitorInstances" "Network.AWS.EC2.UnmonitorInstances" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "UnmonitorInstances'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_uiInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs UnmonitorInstances Source # 

Request Lenses

uiDryRun :: Lens' UnmonitorInstances (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 .

uiInstanceIds :: Lens' UnmonitorInstances [Text] Source #

One or more instance IDs.

Destructuring the Response

unmonitorInstancesResponse Source #

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

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

data UnmonitorInstancesResponse Source #

Contains the output of UnmonitorInstances.

See: unmonitorInstancesResponse smart constructor.

Instances

Eq UnmonitorInstancesResponse Source # 
Data UnmonitorInstancesResponse Source # 

Methods

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

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

toConstr :: UnmonitorInstancesResponse -> Constr #

dataTypeOf :: UnmonitorInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UnmonitorInstancesResponse Source # 
Show UnmonitorInstancesResponse Source # 
Generic UnmonitorInstancesResponse Source # 
NFData UnmonitorInstancesResponse Source # 
type Rep UnmonitorInstancesResponse Source # 
type Rep UnmonitorInstancesResponse = D1 (MetaData "UnmonitorInstancesResponse" "Network.AWS.EC2.UnmonitorInstances" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "UnmonitorInstancesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uirsInstanceMonitorings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceMonitoring]))) (S1 (MetaSel (Just Symbol "_uirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses