AWSEC2DescribeReservedInstancesOfferingsRequest

Objective-C

@interface AWSEC2DescribeReservedInstancesOfferingsRequest

Swift

class AWSEC2DescribeReservedInstancesOfferingsRequest

Contains the parameters for DescribeReservedInstancesOfferings.

  • The Availability Zone in which the Reserved Instance can be used.

    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 }
  • One or more filters.

    • availability-zone - The Availability Zone where the Reserved Instance can be used.

    • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

    • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

    • instance-type - The instance type that is covered by the reservation.

    • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

    • product-description - The Reserved Instance product platform description (Linux/UNIX | Linux with SQL Server Standard | Linux with SQL Server Web | Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Windows | Windows with SQL Server Standard | Windows with SQL Server Web | Windows with SQL Server Enterprise).

    • reserved-instances-offering-id - The Reserved Instances offering ID.

    • scope - The scope of the Reserved Instance (Availability Zone or Region).

    • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

    Declaration

    Objective-C

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

    Swift

    var filters: [AWSEC2Filter]? { get set }
  • Include Reserved Instance Marketplace offerings in the response.

    Declaration

    Objective-C

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

    Swift

    var includeMarketplace: NSNumber? { get set }
  • The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

    Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

    Default: default

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2Tenancy instanceTenancy;

    Swift

    var instanceTenancy: AWSEC2Tenancy { get set }
  • The instance type that the reservation will cover (for example, m1.small). For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2InstanceType instanceType;

    Swift

    var instanceType: AWSEC2InstanceType { get set }
  • The maximum duration (in seconds) to filter when searching for offerings.

    Default: 94608000 (3 years)

    Declaration

    Objective-C

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

    Swift

    var maxDuration: NSNumber? { get set }
  • The maximum number of instances to filter when searching for offerings.

    Default: 20

    Declaration

    Objective-C

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

    Swift

    var maxInstanceCount: NSNumber? { get set }
  • The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

    Default: 100

    Declaration

    Objective-C

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

    Swift

    var maxResults: NSNumber? { get set }
  • The minimum duration (in seconds) to filter when searching for offerings.

    Default: 2592000 (1 month)

    Declaration

    Objective-C

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

    Swift

    var minDuration: NSNumber? { get set }
  • The token to retrieve the next page of results.

    Declaration

    Objective-C

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

    Swift

    var nextToken: String? { get set }
  • The offering class of the Reserved Instance. Can be standard or convertible.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2OfferingClassType offeringClass;

    Swift

    var offeringClass: AWSEC2OfferingClassType { get set }
  • The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2OfferingTypeValues offeringType;

    Swift

    var offeringType: AWSEC2OfferingTypeValues { get set }
  • The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2RIProductDescription productDescription;

    Swift

    var productDescription: AWSEC2RIProductDescription { get set }
  • One or more Reserved Instances offering IDs.

    Declaration

    Objective-C

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

    Swift

    var reservedInstancesOfferingIds: [String]? { get set }