unmonitor_instances
(**kwargs)¶Disables detailed monitoring for a running instance. For more information, see Monitoring your instances and volumes in the Amazon EC2 User Guide .
See also: AWS API Documentation
Request Syntax
response = client.unmonitor_instances(
InstanceIds=[
'string',
],
DryRun=True|False
)
[REQUIRED]
The IDs of the instances.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'InstanceMonitorings': [
{
'InstanceId': 'string',
'Monitoring': {
'State': 'disabled'|'disabling'|'enabled'|'pending'
}
},
]
}
Response Structure
(dict) --
InstanceMonitorings (list) --
The monitoring information.
(dict) --
Describes the monitoring of an instance.
InstanceId (string) --
The ID of the instance.
Monitoring (dict) --
The monitoring for the instance.
State (string) --
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.