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 detailed monitoring for a running instance. For more information, 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 #
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.uiInstanceIds
- One or more instance IDs.
data UnmonitorInstances #
Contains the parameters for UnmonitorInstances.
See: unmonitorInstances
smart constructor.
Instances
Request Lenses
uiDryRun :: Lens' UnmonitorInstances (Maybe Bool) #
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] #
One or more instance IDs.
Destructuring the Response
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:
uirsInstanceMonitorings
- The monitoring information.uirsResponseStatus
- -- | The response status code.
data UnmonitorInstancesResponse #
Contains the output of UnmonitorInstances.
See: unmonitorInstancesResponse
smart constructor.
Response Lenses
uirsInstanceMonitorings :: Lens' UnmonitorInstancesResponse [InstanceMonitoring] #
The monitoring information.
uirsResponseStatus :: Lens' UnmonitorInstancesResponse Int #
- - | The response status code.