DescribeReservedInstancesOfferingsRequest
public struct DescribeReservedInstancesOfferingsRequest : AWSShape
extension EC2.DescribeReservedInstancesOfferingsRequest: AWSPaginateStringToken
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Availability Zone in which the Reserved Instance can be used.
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?
-
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 AWS and the Reserved Instance Marketplace are listed. product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC)) 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
Swift
public let filters: [Filter]?
-
Include Reserved Instance Marketplace offerings in the response.
Declaration
Swift
public let includeMarketplace: Bool?
-
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
Swift
public let instanceTenancy: Tenancy?
-
The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Declaration
Swift
public let instanceType: InstanceType?
-
The maximum duration (in seconds) to filter when searching for offerings. Default: 94608000 (3 years)
Declaration
Swift
public let maxDuration: Int64?
-
The maximum number of instances to filter when searching for offerings. Default: 20
Declaration
Swift
public let maxInstanceCount: Int?
-
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
Swift
public let maxResults: Int?
-
The minimum duration (in seconds) to filter when searching for offerings. Default: 2592000 (1 month)
Declaration
Swift
public let minDuration: Int64?
-
The token to retrieve the next page of results.
Declaration
Swift
public let nextToken: String?
-
The offering class of the Reserved Instance. Can be standard or convertible.
Declaration
Swift
public let offeringClass: OfferingClassType?
-
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
Swift
public let offeringType: OfferingTypeValues?
-
The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
Declaration
Swift
public let productDescription: RIProductDescription?
-
One or more Reserved Instances offering IDs.
Declaration
Swift
public let reservedInstancesOfferingIds: [String]?
-
init(availabilityZone:dryRun:filters:includeMarketplace:instanceTenancy:instanceType:maxDuration:maxInstanceCount:maxResults:minDuration:nextToken:offeringClass:offeringType:productDescription:reservedInstancesOfferingIds:)
Undocumented
Declaration
Swift
public init(availabilityZone: String? = nil, dryRun: Bool? = nil, filters: [Filter]? = nil, includeMarketplace: Bool? = nil, instanceTenancy: Tenancy? = nil, instanceType: InstanceType? = nil, maxDuration: Int64? = nil, maxInstanceCount: Int? = nil, maxResults: Int? = nil, minDuration: Int64? = nil, nextToken: String? = nil, offeringClass: OfferingClassType? = nil, offeringType: OfferingTypeValues? = nil, productDescription: RIProductDescription? = nil, reservedInstancesOfferingIds: [String]? = nil)
-
Undocumented
Declaration
Swift
public func usingPaginationToken(_ token: String) -> EC2.DescribeReservedInstancesOfferingsRequest