Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists available reserved DB instance offerings.
See: AWS API Reference for DescribeReservedDBInstancesOfferings.
This operation returns paginated results.
- describeReservedDBInstancesOfferings :: DescribeReservedDBInstancesOfferings
- data DescribeReservedDBInstancesOfferings
- drdioProductDescription :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- drdioFilters :: Lens' DescribeReservedDBInstancesOfferings [Filter]
- drdioDBInstanceClass :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- drdioMarker :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- drdioMaxRecords :: Lens' DescribeReservedDBInstancesOfferings (Maybe Int)
- drdioMultiAZ :: Lens' DescribeReservedDBInstancesOfferings (Maybe Bool)
- drdioReservedDBInstancesOfferingId :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- drdioOfferingType :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- drdioDuration :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- describeReservedDBInstancesOfferingsResponse :: Int -> DescribeReservedDBInstancesOfferingsResponse
- data DescribeReservedDBInstancesOfferingsResponse
- drdiorsMarker :: Lens' DescribeReservedDBInstancesOfferingsResponse (Maybe Text)
- drdiorsReservedDBInstancesOfferings :: Lens' DescribeReservedDBInstancesOfferingsResponse [ReservedDBInstancesOffering]
- drdiorsResponseStatus :: Lens' DescribeReservedDBInstancesOfferingsResponse Int
Creating a Request
describeReservedDBInstancesOfferings :: DescribeReservedDBInstancesOfferings Source
Creates a value of DescribeReservedDBInstancesOfferings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeReservedDBInstancesOfferings Source
See: describeReservedDBInstancesOfferings
smart constructor.
Request Lenses
drdioProductDescription :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source
Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.
drdioFilters :: Lens' DescribeReservedDBInstancesOfferings [Filter] Source
This parameter is not currently supported.
drdioDBInstanceClass :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source
The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.
drdioMarker :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
drdioMaxRecords :: Lens' DescribeReservedDBInstancesOfferings (Maybe Int) Source
The maximum number of records to include in the response. If more than
the MaxRecords
value is available, a pagination token called a marker
is included in the response so that the following results can be
retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
drdioMultiAZ :: Lens' DescribeReservedDBInstancesOfferings (Maybe Bool) Source
The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.
drdioReservedDBInstancesOfferingId :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source
The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.
Example: '438012d3-4052-4cc7-b2e3-8d3372e0e706'
drdioOfferingType :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source
The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.
Valid Values: '"Partial Upfront" | "All Upfront" | "No Upfront" '
drdioDuration :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source
Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Valid Values: '1 | 3 | 31536000 | 94608000'
Destructuring the Response
describeReservedDBInstancesOfferingsResponse Source
Creates a value of DescribeReservedDBInstancesOfferingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeReservedDBInstancesOfferingsResponse Source
Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings action.
See: describeReservedDBInstancesOfferingsResponse
smart constructor.
Response Lenses
drdiorsMarker :: Lens' DescribeReservedDBInstancesOfferingsResponse (Maybe Text) Source
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
drdiorsReservedDBInstancesOfferings :: Lens' DescribeReservedDBInstancesOfferingsResponse [ReservedDBInstancesOffering] Source
A list of reserved DB instance offerings.
drdiorsResponseStatus :: Lens' DescribeReservedDBInstancesOfferingsResponse Int Source
The response status code.