amazonka-devicefarm-1.4.3: Amazon Device Farm SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DeviceFarm.GetOfferingStatus

Contents

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.

Synopsis

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.

Instances

Eq GetOfferingStatus Source # 
Data GetOfferingStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetOfferingStatus -> c GetOfferingStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetOfferingStatus #

toConstr :: GetOfferingStatus -> Constr #

dataTypeOf :: GetOfferingStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetOfferingStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetOfferingStatus) #

gmapT :: (forall b. Data b => b -> b) -> GetOfferingStatus -> GetOfferingStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetOfferingStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetOfferingStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetOfferingStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetOfferingStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetOfferingStatus -> m GetOfferingStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetOfferingStatus -> m GetOfferingStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetOfferingStatus -> m GetOfferingStatus #

Read GetOfferingStatus Source # 
Show GetOfferingStatus Source # 
Generic GetOfferingStatus Source # 
Hashable GetOfferingStatus Source # 
ToJSON GetOfferingStatus Source # 
NFData GetOfferingStatus Source # 

Methods

rnf :: GetOfferingStatus -> () #

AWSRequest GetOfferingStatus Source # 
ToQuery GetOfferingStatus Source # 
ToPath GetOfferingStatus Source # 
ToHeaders GetOfferingStatus Source # 
type Rep GetOfferingStatus Source # 
type Rep GetOfferingStatus = D1 (MetaData "GetOfferingStatus" "Network.AWS.DeviceFarm.GetOfferingStatus" "amazonka-devicefarm-1.4.3-JIWH0Jp8oKH7T0lsXw5vcY" True) (C1 (MetaCons "GetOfferingStatus'" PrefixI True) (S1 (MetaSel (Just Symbol "_gosNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetOfferingStatus Source # 

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.

Instances

Eq GetOfferingStatusResponse Source # 
Data GetOfferingStatusResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetOfferingStatusResponse -> c GetOfferingStatusResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetOfferingStatusResponse #

toConstr :: GetOfferingStatusResponse -> Constr #

dataTypeOf :: GetOfferingStatusResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetOfferingStatusResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetOfferingStatusResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetOfferingStatusResponse -> GetOfferingStatusResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetOfferingStatusResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetOfferingStatusResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetOfferingStatusResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetOfferingStatusResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetOfferingStatusResponse -> m GetOfferingStatusResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetOfferingStatusResponse -> m GetOfferingStatusResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetOfferingStatusResponse -> m GetOfferingStatusResponse #

Read GetOfferingStatusResponse Source # 
Show GetOfferingStatusResponse Source # 
Generic GetOfferingStatusResponse Source # 
NFData GetOfferingStatusResponse Source # 
type Rep GetOfferingStatusResponse Source # 
type Rep GetOfferingStatusResponse = D1 (MetaData "GetOfferingStatusResponse" "Network.AWS.DeviceFarm.GetOfferingStatus" "amazonka-devicefarm-1.4.3-JIWH0Jp8oKH7T0lsXw5vcY" False) (C1 (MetaCons "GetOfferingStatusResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gosrsNextPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text OfferingStatus)))) (S1 (MetaSel (Just Symbol "_gosrsCurrent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text OfferingStatus))))) ((:*:) (S1 (MetaSel (Just Symbol "_gosrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gosrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

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.