Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists available reserved DB instance offerings.
This operation returns paginated results.
Synopsis
- data DescribeReservedDBInstancesOfferings = DescribeReservedDBInstancesOfferings' {}
- newDescribeReservedDBInstancesOfferings :: DescribeReservedDBInstancesOfferings
- describeReservedDBInstancesOfferings_productDescription :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- describeReservedDBInstancesOfferings_filters :: Lens' DescribeReservedDBInstancesOfferings (Maybe [Filter])
- describeReservedDBInstancesOfferings_dbInstanceClass :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- describeReservedDBInstancesOfferings_marker :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- describeReservedDBInstancesOfferings_maxRecords :: Lens' DescribeReservedDBInstancesOfferings (Maybe Int)
- describeReservedDBInstancesOfferings_multiAZ :: Lens' DescribeReservedDBInstancesOfferings (Maybe Bool)
- describeReservedDBInstancesOfferings_reservedDBInstancesOfferingId :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- describeReservedDBInstancesOfferings_offeringType :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- describeReservedDBInstancesOfferings_duration :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text)
- data DescribeReservedDBInstancesOfferingsResponse = DescribeReservedDBInstancesOfferingsResponse' {}
- newDescribeReservedDBInstancesOfferingsResponse :: Int -> DescribeReservedDBInstancesOfferingsResponse
- describeReservedDBInstancesOfferingsResponse_marker :: Lens' DescribeReservedDBInstancesOfferingsResponse (Maybe Text)
- describeReservedDBInstancesOfferingsResponse_reservedDBInstancesOfferings :: Lens' DescribeReservedDBInstancesOfferingsResponse (Maybe [ReservedDBInstancesOffering])
- describeReservedDBInstancesOfferingsResponse_httpStatus :: Lens' DescribeReservedDBInstancesOfferingsResponse Int
Creating a Request
data DescribeReservedDBInstancesOfferings Source #
See: newDescribeReservedDBInstancesOfferings
smart constructor.
DescribeReservedDBInstancesOfferings' | |
|
Instances
newDescribeReservedDBInstancesOfferings :: DescribeReservedDBInstancesOfferings Source #
Create a value of DescribeReservedDBInstancesOfferings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:productDescription:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_productDescription
- Product description filter value. Specify this parameter to show only
the available offerings that contain the specified product description.
The results show offerings that partially match the filter value.
$sel:filters:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_filters
- This parameter isn't currently supported.
$sel:dbInstanceClass:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_dbInstanceClass
- The DB instance class filter value. Specify this parameter to show only
the available offerings matching the specified DB instance class.
$sel:marker:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_marker
- 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
.
$sel:maxRecords:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_maxRecords
- 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 you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
$sel:multiAZ:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_multiAZ
- A value that indicates whether to show only those reservations that
support Multi-AZ.
$sel:reservedDBInstancesOfferingId:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_reservedDBInstancesOfferingId
- 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
$sel:offeringType:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_offeringType
- 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"
$sel:duration:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferings_duration
- Duration filter value, specified in years or seconds. Specify this
parameter to show only reservations for this duration.
Valid Values: 1 | 3 | 31536000 | 94608000
Request Lenses
describeReservedDBInstancesOfferings_productDescription :: Lens' DescribeReservedDBInstancesOfferings (Maybe Text) Source #
Product description filter value. Specify this parameter to show only the available offerings that contain the specified product description.
The results show offerings that partially match the filter value.
describeReservedDBInstancesOfferings_filters :: Lens' DescribeReservedDBInstancesOfferings (Maybe [Filter]) Source #
This parameter isn't currently supported.
describeReservedDBInstancesOfferings_dbInstanceClass :: 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.
describeReservedDBInstancesOfferings_marker :: 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
.
describeReservedDBInstancesOfferings_maxRecords :: 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 you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
describeReservedDBInstancesOfferings_multiAZ :: Lens' DescribeReservedDBInstancesOfferings (Maybe Bool) Source #
A value that indicates whether to show only those reservations that support Multi-AZ.
describeReservedDBInstancesOfferings_reservedDBInstancesOfferingId :: 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
describeReservedDBInstancesOfferings_offeringType :: 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"
describeReservedDBInstancesOfferings_duration :: 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
data DescribeReservedDBInstancesOfferingsResponse Source #
Contains the result of a successful invocation of the
DescribeReservedDBInstancesOfferings
action.
See: newDescribeReservedDBInstancesOfferingsResponse
smart constructor.
DescribeReservedDBInstancesOfferingsResponse' | |
|
Instances
newDescribeReservedDBInstancesOfferingsResponse Source #
:: Int |
|
-> DescribeReservedDBInstancesOfferingsResponse |
Create a value of DescribeReservedDBInstancesOfferingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:DescribeReservedDBInstancesOfferings'
, describeReservedDBInstancesOfferingsResponse_marker
- 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
.
$sel:reservedDBInstancesOfferings:DescribeReservedDBInstancesOfferingsResponse'
, describeReservedDBInstancesOfferingsResponse_reservedDBInstancesOfferings
- A list of reserved DB instance offerings.
$sel:httpStatus:DescribeReservedDBInstancesOfferingsResponse'
, describeReservedDBInstancesOfferingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedDBInstancesOfferingsResponse_marker :: 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
.
describeReservedDBInstancesOfferingsResponse_reservedDBInstancesOfferings :: Lens' DescribeReservedDBInstancesOfferingsResponse (Maybe [ReservedDBInstancesOffering]) Source #
A list of reserved DB instance offerings.
describeReservedDBInstancesOfferingsResponse_httpStatus :: Lens' DescribeReservedDBInstancesOfferingsResponse Int Source #
The response's http status code.