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

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 AmazonElastic Compute Cloud User Guide.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-MonitorInstances.html

Synopsis

Request

Request constructor

monitorInstances :: MonitorInstances Source

MonitorInstances constructor.

The fields accessible through corresponding lenses are:

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.

Response

Response constructor

monitorInstancesResponse :: MonitorInstancesResponse Source

MonitorInstancesResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

mirInstanceMonitorings :: Lens' MonitorInstancesResponse [InstanceMonitoring] Source

Monitoring information for one or more instances.