UnmonitorInstances
Description
Disables monitoring for a running instance. For more information, refer to the Amazon CloudWatch Developer Guide.
Request Parameters
Name | Description | Required |
---|---|---|
| Instance ID. Type: String Default: None | Yes |
Response Elements
Name | Description |
---|---|
|
Type: |
Ancestor: None
Children: requestId
, instancesSet
requestId
The ID of the request.
Type: xsd:string
Ancestor: MonitorInstancesResponseType
Children: None
instancesSet
Monitor instance response set.
Type: MonitorInstancesResponseSetType
Ancestor: MonitorInstancesResponseType
Children: item
item
Instance Item.
Type: MonitorInstancesResponseSetItemType
Ancestor: instancesSet
Children: instanceId
, monitoring
instanceId
Instance ID.
Type: xsd:string
Ancestor: item
Children: None
monitoring
Monitoring information.
Type: InstanceMonitoringStateType
Ancestor: item
Children: state
state
State of monitoring for the instance.
Type: xsd:string
Ancestor: monitoring
Children: None
Examples
Example Request
This example disables monitoring for i-43a4412a and i-23a3397d.
https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
Example Response
<UnmonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-07-15/"> <instancesSet> <item> <instanceId> i-43a4412a</instanceId> <monitoring> <state>pending</state> </monitoring> </item> <item> <instanceId>i-23a3397d</instanceId> <monitoring> <state>pending</state> </monitoring> </item> </instancesSet> </UnmonitorInstancesResponse>