ec2_create_reserved_instances_listing: Creates a listing for Amazon EC2 Standard Reserved Instances...

View source: R/ec2_operations.R

ec2_create_reserved_instances_listingR Documentation

Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace

Description

Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the describe_reserved_instances operation.

See https://www.paws-r-sdk.com/docs/ec2_create_reserved_instances_listing/ for full documentation.

Usage

ec2_create_reserved_instances_listing(
  ClientToken,
  InstanceCount,
  PriceSchedules,
  ReservedInstancesId
)

Arguments

ClientToken

[required] Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.

InstanceCount

[required] The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.

PriceSchedules

[required] A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.

ReservedInstancesId

[required] The ID of the active Standard Reserved Instance.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.