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 all long-term pricing types.
Synopsis
- data ListLongTermPricing = ListLongTermPricing' {}
- newListLongTermPricing :: ListLongTermPricing
- listLongTermPricing_nextToken :: Lens' ListLongTermPricing (Maybe Text)
- listLongTermPricing_maxResults :: Lens' ListLongTermPricing (Maybe Natural)
- data ListLongTermPricingResponse = ListLongTermPricingResponse' {}
- newListLongTermPricingResponse :: Int -> ListLongTermPricingResponse
- listLongTermPricingResponse_longTermPricingEntries :: Lens' ListLongTermPricingResponse (Maybe [LongTermPricingListEntry])
- listLongTermPricingResponse_nextToken :: Lens' ListLongTermPricingResponse (Maybe Text)
- listLongTermPricingResponse_httpStatus :: Lens' ListLongTermPricingResponse Int
Creating a Request
data ListLongTermPricing Source #
See: newListLongTermPricing
smart constructor.
Instances
newListLongTermPricing :: ListLongTermPricing Source #
Create a value of ListLongTermPricing
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:ListLongTermPricing'
, listLongTermPricing_nextToken
- Because HTTP requests are stateless, this is the starting point for your
next list of ListLongTermPricing
to return.
$sel:maxResults:ListLongTermPricing'
, listLongTermPricing_maxResults
- The maximum number of ListLongTermPricing
objects to return.
Request Lenses
listLongTermPricing_nextToken :: Lens' ListLongTermPricing (Maybe Text) Source #
Because HTTP requests are stateless, this is the starting point for your
next list of ListLongTermPricing
to return.
listLongTermPricing_maxResults :: Lens' ListLongTermPricing (Maybe Natural) Source #
The maximum number of ListLongTermPricing
objects to return.
Destructuring the Response
data ListLongTermPricingResponse Source #
See: newListLongTermPricingResponse
smart constructor.
ListLongTermPricingResponse' | |
|
Instances
newListLongTermPricingResponse Source #
Create a value of ListLongTermPricingResponse
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:longTermPricingEntries:ListLongTermPricingResponse'
, listLongTermPricingResponse_longTermPricingEntries
- Each LongTermPricingEntry
object contains a status, ID, and other
information about the LongTermPricing
type.
$sel:nextToken:ListLongTermPricing'
, listLongTermPricingResponse_nextToken
- Because HTTP requests are stateless, this is the starting point for your
next list of returned ListLongTermPricing
list.
$sel:httpStatus:ListLongTermPricingResponse'
, listLongTermPricingResponse_httpStatus
- The response's http status code.
Response Lenses
listLongTermPricingResponse_longTermPricingEntries :: Lens' ListLongTermPricingResponse (Maybe [LongTermPricingListEntry]) Source #
Each LongTermPricingEntry
object contains a status, ID, and other
information about the LongTermPricing
type.
listLongTermPricingResponse_nextToken :: Lens' ListLongTermPricingResponse (Maybe Text) Source #
Because HTTP requests are stateless, this is the starting point for your
next list of returned ListLongTermPricing
list.
listLongTermPricingResponse_httpStatus :: Lens' ListLongTermPricingResponse Int Source #
The response's http status code.