Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Disables detailed monitoring for a running instance. For more information, see Monitoring your instances and volumes in the Amazon EC2 User Guide.
Synopsis
- data UnmonitorInstances = UnmonitorInstances' {
- dryRun :: Maybe Bool
- instanceIds :: [Text]
- newUnmonitorInstances :: UnmonitorInstances
- unmonitorInstances_dryRun :: Lens' UnmonitorInstances (Maybe Bool)
- unmonitorInstances_instanceIds :: Lens' UnmonitorInstances [Text]
- data UnmonitorInstancesResponse = UnmonitorInstancesResponse' {}
- newUnmonitorInstancesResponse :: Int -> UnmonitorInstancesResponse
- unmonitorInstancesResponse_instanceMonitorings :: Lens' UnmonitorInstancesResponse (Maybe [InstanceMonitoring])
- unmonitorInstancesResponse_httpStatus :: Lens' UnmonitorInstancesResponse Int
Creating a Request
data UnmonitorInstances Source #
See: newUnmonitorInstances
smart constructor.
UnmonitorInstances' | |
|
Instances
newUnmonitorInstances :: UnmonitorInstances Source #
Create a value of UnmonitorInstances
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:UnmonitorInstances'
, unmonitorInstances_dryRun
- 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
.
UnmonitorInstances
, unmonitorInstances_instanceIds
- The IDs of the instances.
Request Lenses
unmonitorInstances_dryRun :: 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
.
unmonitorInstances_instanceIds :: Lens' UnmonitorInstances [Text] Source #
The IDs of the instances.
Destructuring the Response
data UnmonitorInstancesResponse Source #
See: newUnmonitorInstancesResponse
smart constructor.
UnmonitorInstancesResponse' | |
|
Instances
newUnmonitorInstancesResponse Source #
Create a value of UnmonitorInstancesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceMonitorings:UnmonitorInstancesResponse'
, unmonitorInstancesResponse_instanceMonitorings
- The monitoring information.
$sel:httpStatus:UnmonitorInstancesResponse'
, unmonitorInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
unmonitorInstancesResponse_instanceMonitorings :: Lens' UnmonitorInstancesResponse (Maybe [InstanceMonitoring]) Source #
The monitoring information.
unmonitorInstancesResponse_httpStatus :: Lens' UnmonitorInstancesResponse Int Source #
The response's http status code.