amazonka-devicefarm-1.6.0: Amazon Device Farm SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

This operation returns paginated results.

Synopsis

Creating a Request

listOfferings :: ListOfferings #

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 #

Represents the request to list all offerings.

See: listOfferings smart constructor.

Instances

Eq ListOfferings # 
Data ListOfferings # 

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 # 
Show ListOfferings # 
Generic ListOfferings # 

Associated Types

type Rep ListOfferings :: * -> * #

Hashable ListOfferings # 
ToJSON ListOfferings # 
NFData ListOfferings # 

Methods

rnf :: ListOfferings -> () #

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

Request Lenses

loNextToken :: Lens' ListOfferings (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

listOfferingsResponse #

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 #

Represents the return values of the list of offerings.

See: listOfferingsResponse smart constructor.

Instances

Eq ListOfferingsResponse # 
Data ListOfferingsResponse # 

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 # 
Show ListOfferingsResponse # 
Generic ListOfferingsResponse # 
NFData ListOfferingsResponse # 

Methods

rnf :: ListOfferingsResponse -> () #

type Rep ListOfferingsResponse # 
type Rep ListOfferingsResponse = D1 * (MetaData "ListOfferingsResponse" "Network.AWS.DeviceFarm.ListOfferings" "amazonka-devicefarm-1.6.0-1RE2Lvq2vKT750159tw1bo" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses

lorsNextToken :: Lens' ListOfferingsResponse (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.

lorsOfferings :: Lens' ListOfferingsResponse [Offering] #

A value representing the list offering results.

lorsResponseStatus :: Lens' ListOfferingsResponse Int #

  • - | The response status code.