Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. 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.
- getOfferingStatus :: GetOfferingStatus
- data GetOfferingStatus
- gosNextToken :: Lens' GetOfferingStatus (Maybe Text)
- getOfferingStatusResponse :: Int -> GetOfferingStatusResponse
- data GetOfferingStatusResponse
- gosrsNextPeriod :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus)
- gosrsCurrent :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus)
- gosrsNextToken :: Lens' GetOfferingStatusResponse (Maybe Text)
- gosrsResponseStatus :: Lens' GetOfferingStatusResponse Int
Creating a Request
getOfferingStatus :: GetOfferingStatus Source #
Creates a value of GetOfferingStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetOfferingStatus Source #
Represents the request to retrieve the offering status for the specified customer or account.
See: getOfferingStatus
smart constructor.
Request Lenses
gosNextToken :: Lens' GetOfferingStatus (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
getOfferingStatusResponse Source #
Creates a value of GetOfferingStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetOfferingStatusResponse Source #
Returns the status result for a device offering.
See: getOfferingStatusResponse
smart constructor.
Response Lenses
gosrsNextPeriod :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus) Source #
When specified, gets the offering status for the next period.
gosrsCurrent :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus) Source #
When specified, gets the offering status for the current period.
gosrsNextToken :: Lens' GetOfferingStatusResponse (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.
gosrsResponseStatus :: Lens' GetOfferingStatusResponse Int Source #
The response status code.