Skip to content

Unmonitor Instances

ec2_unmonitor_instances R Documentation

Disables detailed monitoring for a running instance

Description

Disables detailed monitoring for a running instance. For more information, see Monitoring your instances and volumes in the Amazon EC2 User Guide.

Usage

ec2_unmonitor_instances(InstanceIds, DryRun)

Arguments

InstanceIds

[required] The IDs of the instances.

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.

Value

A list with the following syntax:

list(
  InstanceMonitorings = list(
    list(
      InstanceId = "string",
      Monitoring = list(
        State = "disabled"|"disabling"|"enabled"|"pending"
      )
    )
  )
)

Request syntax

svc$unmonitor_instances(
  InstanceIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)