Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible
error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.
This operation returns paginated results.
- listOfferings :: ListOfferings
- data ListOfferings
- loNextToken :: Lens' ListOfferings (Maybe Text)
- listOfferingsResponse :: Int -> ListOfferingsResponse
- data ListOfferingsResponse
- lorsNextToken :: Lens' ListOfferingsResponse (Maybe Text)
- lorsOfferings :: Lens' ListOfferingsResponse [Offering]
- lorsResponseStatus :: Lens' ListOfferingsResponse Int
Creating a Request
listOfferings :: ListOfferings Source #
Creates a value of ListOfferings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loNextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
data ListOfferings Source #
Represents the request to list all offerings.
See: listOfferings
smart constructor.
Request Lenses
loNextToken :: Lens' ListOfferings (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
listOfferingsResponse Source #
Creates a value of ListOfferingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorsNextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.lorsOfferings
- A value representing the list offering results.lorsResponseStatus
- -- | The response status code.
data ListOfferingsResponse Source #
Represents the return values of the list of offerings.
See: listOfferingsResponse
smart constructor.
Response Lenses
lorsNextToken :: Lens' ListOfferingsResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
lorsOfferings :: Lens' ListOfferingsResponse [Offering] Source #
A value representing the list offering results.
lorsResponseStatus :: Lens' ListOfferingsResponse Int Source #
- - | The response status code.