amazonka-devicefarm-1.4.5: 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.ListOfferings

Contents

Description

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.

Synopsis

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.

Instances

Eq ListOfferings Source # 
Data ListOfferings Source # 

Methods

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

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

toConstr :: ListOfferings -> Constr #

dataTypeOf :: ListOfferings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListOfferings Source # 
Show ListOfferings Source # 
Generic ListOfferings Source # 

Associated Types

type Rep ListOfferings :: * -> * #

Hashable ListOfferings Source # 
ToJSON ListOfferings Source # 
NFData ListOfferings Source # 

Methods

rnf :: ListOfferings -> () #

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

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.

Instances

Eq ListOfferingsResponse Source # 
Data ListOfferingsResponse Source # 

Methods

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

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

toConstr :: ListOfferingsResponse -> Constr #

dataTypeOf :: ListOfferingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListOfferingsResponse Source # 
Show ListOfferingsResponse Source # 
Generic ListOfferingsResponse Source # 
NFData ListOfferingsResponse Source # 

Methods

rnf :: ListOfferingsResponse -> () #

type Rep ListOfferingsResponse Source # 
type Rep ListOfferingsResponse = D1 (MetaData "ListOfferingsResponse" "Network.AWS.DeviceFarm.ListOfferings" "amazonka-devicefarm-1.4.5-LrcbJwVFRJYIwYk0B89BMk" False) (C1 (MetaCons "ListOfferingsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lorsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lorsOfferings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Offering]))) (S1 (MetaSel (Just Symbol "_lorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.