| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Snowball.ListLongTermPricing
Description
Lists all long-term pricing types.
This operation returns paginated results.
Synopsis
- data ListLongTermPricing = ListLongTermPricing' {}
- newListLongTermPricing :: ListLongTermPricing
- listLongTermPricing_maxResults :: Lens' ListLongTermPricing (Maybe Natural)
- listLongTermPricing_nextToken :: Lens' ListLongTermPricing (Maybe Text)
- 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.
Constructors
| ListLongTermPricing' | |
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:maxResults:ListLongTermPricing', listLongTermPricing_maxResults - The maximum number of ListLongTermPricing objects to return.
ListLongTermPricing, listLongTermPricing_nextToken - Because HTTP requests are stateless, this is the starting point for your
next list of ListLongTermPricing to return.
Request Lenses
listLongTermPricing_maxResults :: Lens' ListLongTermPricing (Maybe Natural) Source #
The maximum number of ListLongTermPricing objects to return.
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.
Destructuring the Response
data ListLongTermPricingResponse Source #
See: newListLongTermPricingResponse smart constructor.
Constructors
| ListLongTermPricingResponse' | |
Fields
| |
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.
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.