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 |
Explicitly sets the quantity of devices to renew for an offering,
starting from the effectiveDate
of 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.
- renewOffering :: RenewOffering
- data RenewOffering
- roQuantity :: Lens' RenewOffering (Maybe Int)
- roOfferingId :: Lens' RenewOffering (Maybe Text)
- renewOfferingResponse :: Int -> RenewOfferingResponse
- data RenewOfferingResponse
- rorsOfferingTransaction :: Lens' RenewOfferingResponse (Maybe OfferingTransaction)
- rorsResponseStatus :: Lens' RenewOfferingResponse Int
Creating a Request
renewOffering :: RenewOffering Source #
Creates a value of RenewOffering
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RenewOffering Source #
A request representing an offering renewal.
See: renewOffering
smart constructor.
Request Lenses
roQuantity :: Lens' RenewOffering (Maybe Int) Source #
The quantity requested in an offering renewal.
roOfferingId :: Lens' RenewOffering (Maybe Text) Source #
The ID of a request to renew an offering.
Destructuring the Response
renewOfferingResponse Source #
Creates a value of RenewOfferingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RenewOfferingResponse Source #
The result of a renewal offering.
See: renewOfferingResponse
smart constructor.
Response Lenses
rorsOfferingTransaction :: Lens' RenewOfferingResponse (Maybe OfferingTransaction) Source #
Represents the status of the offering transaction for the renewal.
rorsResponseStatus :: Lens' RenewOfferingResponse Int Source #
The response status code.