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 OpenSearch instance offerings.
Synopsis
- data DescribeReservedInstanceOfferings = DescribeReservedInstanceOfferings' {}
- newDescribeReservedInstanceOfferings :: DescribeReservedInstanceOfferings
- describeReservedInstanceOfferings_nextToken :: Lens' DescribeReservedInstanceOfferings (Maybe Text)
- describeReservedInstanceOfferings_reservedInstanceOfferingId :: Lens' DescribeReservedInstanceOfferings (Maybe Text)
- describeReservedInstanceOfferings_maxResults :: Lens' DescribeReservedInstanceOfferings (Maybe Int)
- data DescribeReservedInstanceOfferingsResponse = DescribeReservedInstanceOfferingsResponse' {}
- newDescribeReservedInstanceOfferingsResponse :: Int -> DescribeReservedInstanceOfferingsResponse
- describeReservedInstanceOfferingsResponse_nextToken :: Lens' DescribeReservedInstanceOfferingsResponse (Maybe Text)
- describeReservedInstanceOfferingsResponse_reservedInstanceOfferings :: Lens' DescribeReservedInstanceOfferingsResponse (Maybe [ReservedInstanceOffering])
- describeReservedInstanceOfferingsResponse_httpStatus :: Lens' DescribeReservedInstanceOfferingsResponse Int
Creating a Request
data DescribeReservedInstanceOfferings Source #
Container for parameters to DescribeReservedInstanceOfferings
See: newDescribeReservedInstanceOfferings
smart constructor.
DescribeReservedInstanceOfferings' | |
|
Instances
newDescribeReservedInstanceOfferings :: DescribeReservedInstanceOfferings Source #
Create a value of DescribeReservedInstanceOfferings
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:nextToken:DescribeReservedInstanceOfferings'
, describeReservedInstanceOfferings_nextToken
- Provides an identifier to allow retrieval of paginated results.
$sel:reservedInstanceOfferingId:DescribeReservedInstanceOfferings'
, describeReservedInstanceOfferings_reservedInstanceOfferingId
- The offering identifier filter value. Use this parameter to show only
the available offering that matches the specified reservation
identifier.
$sel:maxResults:DescribeReservedInstanceOfferings'
, describeReservedInstanceOfferings_maxResults
- Set this value to limit the number of results returned. If not
specified, defaults to 100.
Request Lenses
describeReservedInstanceOfferings_nextToken :: Lens' DescribeReservedInstanceOfferings (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeReservedInstanceOfferings_reservedInstanceOfferingId :: Lens' DescribeReservedInstanceOfferings (Maybe Text) Source #
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
describeReservedInstanceOfferings_maxResults :: Lens' DescribeReservedInstanceOfferings (Maybe Int) Source #
Set this value to limit the number of results returned. If not specified, defaults to 100.
Destructuring the Response
data DescribeReservedInstanceOfferingsResponse Source #
Container for results from DescribeReservedInstanceOfferings
See: newDescribeReservedInstanceOfferingsResponse
smart constructor.
DescribeReservedInstanceOfferingsResponse' | |
|
Instances
newDescribeReservedInstanceOfferingsResponse Source #
Create a value of DescribeReservedInstanceOfferingsResponse
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:nextToken:DescribeReservedInstanceOfferings'
, describeReservedInstanceOfferingsResponse_nextToken
- Provides an identifier to allow retrieval of paginated results.
$sel:reservedInstanceOfferings:DescribeReservedInstanceOfferingsResponse'
, describeReservedInstanceOfferingsResponse_reservedInstanceOfferings
- List of reserved OpenSearch instance offerings
$sel:httpStatus:DescribeReservedInstanceOfferingsResponse'
, describeReservedInstanceOfferingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedInstanceOfferingsResponse_nextToken :: Lens' DescribeReservedInstanceOfferingsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeReservedInstanceOfferingsResponse_reservedInstanceOfferings :: Lens' DescribeReservedInstanceOfferingsResponse (Maybe [ReservedInstanceOffering]) Source #
List of reserved OpenSearch instance offerings
describeReservedInstanceOfferingsResponse_httpStatus :: Lens' DescribeReservedInstanceOfferingsResponse Int Source #
The response's http status code.