Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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 Amazon Elastic Compute Cloud User Guide.
- monitorInstances :: MonitorInstances
- data MonitorInstances
- miDryRun :: Lens' MonitorInstances (Maybe Bool)
- miInstanceIds :: Lens' MonitorInstances [Text]
- monitorInstancesResponse :: Int -> MonitorInstancesResponse
- data MonitorInstancesResponse
- mirsInstanceMonitorings :: Lens' MonitorInstancesResponse [InstanceMonitoring]
- mirsResponseStatus :: Lens' MonitorInstancesResponse Int
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.
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.
Response Lenses
mirsInstanceMonitorings :: Lens' MonitorInstancesResponse [InstanceMonitoring] Source #
Monitoring information for one or more instances.
mirsResponseStatus :: Lens' MonitorInstancesResponse Int Source #
The response status code.