| 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 |
Network.AWS.EC2.UnmonitorInstances
Description
Disables 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.
- unmonitorInstances :: UnmonitorInstances
- data UnmonitorInstances
- uiDryRun :: Lens' UnmonitorInstances (Maybe Bool)
- uiInstanceIds :: Lens' UnmonitorInstances [Text]
- unmonitorInstancesResponse :: Int -> UnmonitorInstancesResponse
- data UnmonitorInstancesResponse
- uirsInstanceMonitorings :: Lens' UnmonitorInstancesResponse [InstanceMonitoring]
- uirsResponseStatus :: Lens' UnmonitorInstancesResponse Int
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:
data UnmonitorInstances Source #
Contains the parameters for UnmonitorInstances.
See: unmonitorInstances smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> UnmonitorInstancesResponse |
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
Response Lenses
uirsInstanceMonitorings :: Lens' UnmonitorInstancesResponse [InstanceMonitoring] Source #
Monitoring information for one or more instances.
uirsResponseStatus :: Lens' UnmonitorInstancesResponse Int Source #
The response status code.