DescribeSpotPriceHistoryRequest

public struct DescribeSpotPriceHistoryRequest : AWSShape
extension EC2.DescribeSpotPriceHistoryRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Filters the results by the specified Availability Zone.

    Declaration

    Swift

    public let availabilityZone: String?
  • 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.

    Declaration

    Swift

    public let dryRun: Bool?
  • 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).

    Declaration

    Swift

    public let endTime: TimeStamp?
  • One or more 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 | SUSE Linux | Windows | Linux/UNIX (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.

    Declaration

    Swift

    public let filters: [Filter]?
  • Filters the results by the specified instance types.

    Declaration

    Swift

    public let instanceTypes: [InstanceType]?
  • The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

    Declaration

    Swift

    public let maxResults: Int?
  • The token for the next set of results.

    Declaration

    Swift

    public let nextToken: String?
  • Filters the results by the specified basic product descriptions.

    Declaration

    Swift

    public let productDescriptions: [String]?
  • 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).

    Declaration

    Swift

    public let startTime: TimeStamp?
  • Undocumented

    Declaration

    Swift

    public init(availabilityZone: String? = nil, dryRun: Bool? = nil, endTime: TimeStamp? = nil, filters: [Filter]? = nil, instanceTypes: [InstanceType]? = nil, maxResults: Int? = nil, nextToken: String? = nil, productDescriptions: [String]? = nil, startTime: TimeStamp? = nil)
  • Undocumented

    Declaration

    Swift

    public func usingPaginationToken(_ token: String) -> EC2.DescribeSpotPriceHistoryRequest