Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.
For more information, see Reserved Instance Marketplace in the AmazonElastic Compute Cloud User Guide.
- data DescribeReservedInstancesOfferings
- describeReservedInstancesOfferings :: DescribeReservedInstancesOfferings
- drioAvailabilityZone :: Lens' DescribeReservedInstancesOfferings (Maybe Text)
- drioDryRun :: Lens' DescribeReservedInstancesOfferings (Maybe Bool)
- drioFilters :: Lens' DescribeReservedInstancesOfferings [Filter]
- drioIncludeMarketplace :: Lens' DescribeReservedInstancesOfferings (Maybe Bool)
- drioInstanceTenancy :: Lens' DescribeReservedInstancesOfferings (Maybe Tenancy)
- drioInstanceType :: Lens' DescribeReservedInstancesOfferings (Maybe InstanceType)
- drioMaxDuration :: Lens' DescribeReservedInstancesOfferings (Maybe Integer)
- drioMaxInstanceCount :: Lens' DescribeReservedInstancesOfferings (Maybe Int)
- drioMaxResults :: Lens' DescribeReservedInstancesOfferings (Maybe Int)
- drioMinDuration :: Lens' DescribeReservedInstancesOfferings (Maybe Integer)
- drioNextToken :: Lens' DescribeReservedInstancesOfferings (Maybe Text)
- drioOfferingType :: Lens' DescribeReservedInstancesOfferings (Maybe OfferingTypeValues)
- drioProductDescription :: Lens' DescribeReservedInstancesOfferings (Maybe RIProductDescription)
- drioReservedInstancesOfferingIds :: Lens' DescribeReservedInstancesOfferings [Text]
- data DescribeReservedInstancesOfferingsResponse
- describeReservedInstancesOfferingsResponse :: DescribeReservedInstancesOfferingsResponse
- driorNextToken :: Lens' DescribeReservedInstancesOfferingsResponse (Maybe Text)
- driorReservedInstancesOfferings :: Lens' DescribeReservedInstancesOfferingsResponse [ReservedInstancesOffering]
Request
data DescribeReservedInstancesOfferings Source
Request constructor
describeReservedInstancesOfferings :: DescribeReservedInstancesOfferings Source
DescribeReservedInstancesOfferings
constructor.
The fields accessible through corresponding lenses are:
drioAvailabilityZone
::
Maybe
Text
drioDryRun
::
Maybe
Bool
drioFilters
::
[Filter
]drioIncludeMarketplace
::
Maybe
Bool
drioInstanceTenancy
::
Maybe
Tenancy
drioInstanceType
::
Maybe
InstanceType
drioMaxDuration
::
Maybe
Integer
drioMaxInstanceCount
::
Maybe
Int
drioMaxResults
::
Maybe
Int
drioMinDuration
::
Maybe
Integer
drioNextToken
::
Maybe
Text
drioOfferingType
::
Maybe
OfferingTypeValues
drioProductDescription
::
Maybe
RIProductDescription
drioReservedInstancesOfferingIds
::
[Text
]
Request lenses
drioAvailabilityZone :: Lens' DescribeReservedInstancesOfferings (Maybe Text) Source
The Availability Zone in which the Reserved Instance can be used.
drioFilters :: Lens' DescribeReservedInstancesOfferings [Filter] Source
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 on which the Reserved Instance can be used.
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 AWS and Reserved Instance Marketplace are listed.
'product-description' - The description of the Reserved Instance ('Linux/UNIX'
| 'Linux/UNIX (Amazon VPC)' | Windows
| 'Windows (Amazon VPC)').
'reserved-instances-offering-id' - The Reserved Instances offering ID.
'usage-price' - The usage price of the Reserved Instance, per hour (for example, 0.84).
drioIncludeMarketplace :: Lens' DescribeReservedInstancesOfferings (Maybe Bool) Source
Include Marketplace offerings in the response.
drioInstanceTenancy :: Lens' DescribeReservedInstancesOfferings (Maybe Tenancy) Source
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated
tenancy runs on single-tenant hardware and can only be launched within a VPC.
Default: 'default'
drioInstanceType :: Lens' DescribeReservedInstancesOfferings (Maybe InstanceType) Source
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide .
drioMaxDuration :: Lens' DescribeReservedInstancesOfferings (Maybe Integer) Source
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
drioMaxInstanceCount :: Lens' DescribeReservedInstancesOfferings (Maybe Int) Source
The maximum number of instances to filter when searching for offerings.
Default: 20
drioMaxResults :: Lens' DescribeReservedInstancesOfferings (Maybe Int) Source
The maximum number of offerings to return. The maximum is 100.
Default: 100
drioMinDuration :: Lens' DescribeReservedInstancesOfferings (Maybe Integer) Source
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
drioNextToken :: Lens' DescribeReservedInstancesOfferings (Maybe Text) Source
The token to use when requesting the next paginated set of offerings.
drioOfferingType :: Lens' DescribeReservedInstancesOfferings (Maybe OfferingTypeValues) Source
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.
drioProductDescription :: Lens' DescribeReservedInstancesOfferings (Maybe RIProductDescription) Source
The Reserved Instance description. Instances that include '(Amazon VPC)' in the description are for use with Amazon VPC.
drioReservedInstancesOfferingIds :: Lens' DescribeReservedInstancesOfferings [Text] Source
One or more Reserved Instances offering IDs.
Response
Response constructor
describeReservedInstancesOfferingsResponse :: DescribeReservedInstancesOfferingsResponse Source
DescribeReservedInstancesOfferingsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
driorNextToken :: Lens' DescribeReservedInstancesOfferingsResponse (Maybe Text) Source
The next paginated set of results to return.
driorReservedInstancesOfferings :: Lens' DescribeReservedInstancesOfferingsResponse [ReservedInstancesOffering] Source
A list of Reserved Instances offerings.