Skip to content

Deletes the queued purchases for the specified Reserved Instances

Description

Deletes the queued purchases for the specified Reserved Instances.

Usage

ec2_delete_queued_reserved_instances(DryRun, ReservedInstancesIds)

Arguments

  • 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.

  • ReservedInstancesIds

    [required] The IDs of the Reserved Instances.

Value

A list with the following syntax:

list(
  SuccessfulQueuedPurchaseDeletions = list(
    list(
      ReservedInstancesId = "string"
    )
  ),
  FailedQueuedPurchaseDeletions = list(
    list(
      Error = list(
        Code = "reserved-instances-id-invalid"|"reserved-instances-not-in-queued-state"|"unexpected-error",
        Message = "string"
      ),
      ReservedInstancesId = "string"
    )
  )
)

Request syntax

svc$delete_queued_reserved_instances(
  DryRun = TRUE|FALSE,
  ReservedInstancesIds = list(
    "string"
  )
)