ec2_describe_spot_price_history: Describes the Spot price history

View source: R/ec2_operations.R

ec2_describe_spot_price_historyR Documentation

Describes the Spot price history

Description

Describes the Spot price history. For more information, see Spot Instance pricing history in the Amazon EC2 User Guide for Linux Instances.

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

Usage

ec2_describe_spot_price_history(
  Filters = NULL,
  AvailabilityZone = NULL,
  DryRun = NULL,
  EndTime = NULL,
  InstanceTypes = NULL,
  MaxResults = NULL,
  NextToken = NULL,
  ProductDescriptions = NULL,
  StartTime = NULL
)

Arguments

Filters

The filters.

  • availability-zone - The Availability Zone for which prices should be returned.

  • instance-type - The type of instance (for example, m3.medium).

  • product-description - The product description for the Spot price (Linux/UNIX | ⁠Red Hat Enterprise Linux⁠ | ⁠SUSE Linux⁠ | Windows | ⁠Linux/UNIX (Amazon VPC)⁠ | ⁠Red Hat Enterprise Linux (Amazon VPC)⁠ | ⁠SUSE Linux (Amazon VPC)⁠ | ⁠Windows (Amazon VPC)⁠).

  • spot-price - The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).

  • timestamp - The time stamp of the Spot price history, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.

AvailabilityZone

Filters the results by the specified Availability Zone.

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.

EndTime

The date and time, up to the current date, from which to stop retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

InstanceTypes

Filters the results by the specified instance types.

MaxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

ProductDescriptions

Filters the results by the specified basic product descriptions.

StartTime

The date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).


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