Copyright | (c) 2013-2018 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 |
Network.AWS.DeviceFarm.GetOfferingStatus
Description
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.
This operation returns paginated results.
- 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 #
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:
gosNextToken
- 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 GetOfferingStatus #
Represents the request to retrieve the offering status for the specified customer or account.
See: getOfferingStatus
smart constructor.
Instances
Request Lenses
gosNextToken :: Lens' GetOfferingStatus (Maybe Text) #
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
Arguments
:: Int | |
-> GetOfferingStatusResponse |
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:
gosrsNextPeriod
- When specified, gets the offering status for the next period.gosrsCurrent
- When specified, gets the offering status for the current period.gosrsNextToken
- 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
- -- | The response status code.
data GetOfferingStatusResponse #
Returns the status result for a device offering.
See: getOfferingStatusResponse
smart constructor.
Response Lenses
gosrsNextPeriod :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus) #
When specified, gets the offering status for the next period.
gosrsCurrent :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus) #
When specified, gets the offering status for the current period.
gosrsNextToken :: Lens' GetOfferingStatusResponse (Maybe Text) #
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 #
- - | The response status code.