ec2_describe_reserved_instances_listings: Describes your account's Reserved Instance listings in the...

Description Usage Arguments Value Request syntax

View source: R/ec2_operations.R

Description

Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.

The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.

As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.

As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.

For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide.

Usage

1
2
ec2_describe_reserved_instances_listings(Filters, ReservedInstancesId,
  ReservedInstancesListingId)

Arguments

Filters

One or more filters.

  • reserved-instances-id - The ID of the Reserved Instances.

  • reserved-instances-listing-id - The ID of the Reserved Instances listing.

  • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

  • status-message - The reason for the status.

ReservedInstancesId

One or more Reserved Instance IDs.

ReservedInstancesListingId

One or more Reserved Instance listing IDs.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
list(
  ReservedInstancesListings = list(
    list(
      ClientToken = "string",
      CreateDate = as.POSIXct(
        "2015-01-01"
      ),
      InstanceCounts = list(
        list(
          InstanceCount = 123,
          State = "available"|"sold"|"cancelled"|"pending"
        )
      ),
      PriceSchedules = list(
        list(
          Active = TRUE|FALSE,
          CurrencyCode = "USD",
          Price = 123.0,
          Term = 123
        )
      ),
      ReservedInstancesId = "string",
      ReservedInstancesListingId = "string",
      Status = "active"|"pending"|"cancelled"|"closed",
      StatusMessage = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      UpdateDate = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
svc$describe_reserved_instances_listings(
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  ReservedInstancesId = "string",
  ReservedInstancesListingId = "string"
)

paws.compute documentation built on March 7, 2021, 5:10 p.m.