Amazon Elastic Compute Cloud
API Reference (API Version 2011-12-15)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

UnmonitorInstances

Description

Disables monitoring for a running instance. For more information about monitoring instances, go to Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide.

Request Parameters

NameDescriptionRequired

InstanceId.n

One or more instance IDs.

Type: String

Default: None

Yes

Response Elements

The elements in the following table are wrapped in an UnmonitorInstancesResponse structure.

NameDescription

requestId

The ID of the request.

Type: xsd:string

instancesSet

List of monitoring information for one or more instances. Each set of information is wrapped in an item element.

Type: MonitorInstancesResponseSetItemType

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/2011-12-15/">
   <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> 
   <instancesSet>
      <item>
         <instanceId>i-43a4412a</instanceId>
         <monitoring>
            <state>disabled</state>
         </monitoring>
      </item>
      <item>
         <instanceId>i-23a3397d</instanceId>
         <monitoring>
            <state>disabled</state>
         </monitoring>
      </item>
   </instancesSet>
</UnmonitorInstancesResponse>