AWSEC2DescribeSpotPriceHistoryRequest

Objective-C

@interface AWSEC2DescribeSpotPriceHistoryRequest

Swift

class AWSEC2DescribeSpotPriceHistoryRequest

Contains the parameters for DescribeSpotPriceHistory.

  • Filters the results by the specified Availability Zone.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable availabilityZone;

    Swift

    var availabilityZone: String? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable endTime;

    Swift

    var endTime: Date? { get set }
  • 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, ddd MMM dd HH:mm:ss UTC YYYY). You can use wildcards (* and ?). Greater than or less than comparison is not supported.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Filter *> *_Nullable filters;

    Swift

    var filters: [AWSEC2Filter]? { get set }
  • Filters the results by the specified instance types.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable instanceTypes;

    Swift

    var instanceTypes: [String]? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxResults;

    Swift

    var maxResults: NSNumber? { get set }
  • The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable nextToken;

    Swift

    var nextToken: String? { get set }
  • Filters the results by the specified basic product descriptions.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable productDescriptions;

    Swift

    var productDescriptions: [String]? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable startTime;

    Swift

    var startTime: Date? { get set }