Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data MonitorInstances
- monitorInstances :: MonitorInstances
- miDryRun :: Lens' MonitorInstances (Maybe Bool)
- miInstanceIds :: Lens' MonitorInstances [Text]
- data MonitorInstancesResponse
- monitorInstancesResponse :: MonitorInstancesResponse
- mirInstanceMonitorings :: Lens' MonitorInstancesResponse [InstanceMonitoring]
Request
data MonitorInstances Source
Request constructor
monitorInstances :: MonitorInstances Source
MonitorInstances
constructor.
The fields accessible through corresponding lenses are:
miDryRun
::
Maybe
Bool
miInstanceIds
::
[Text
]
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.