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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Data ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Show ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Generic ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferings :: * -> * #

Hashable ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

ToJSON ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

AWSPager ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

AWSRequest ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Associated Types

type Rs ListOfferings :: * #

ToHeaders ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

ToPath ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

ToQuery ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

NFData ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferings -> () #

type Rep ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

type Rep ListOfferings = D1 (MetaData "ListOfferings" "Network.AWS.DeviceFarm.ListOfferings" "amazonka-devicefarm-1.6.0-6jgx33LHPEL8JnoULaTRqG" True) (C1 (MetaCons "ListOfferings'" PrefixI True) (S1 (MetaSel (Just "_loNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListOfferings # 
Instance details

Defined in Network.AWS.DeviceFarm.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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Data ListOfferingsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Show ListOfferingsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Generic ListOfferingsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferingsResponse :: * -> * #

NFData ListOfferingsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferingsResponse -> () #

type Rep ListOfferingsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

type Rep ListOfferingsResponse = D1 (MetaData "ListOfferingsResponse" "Network.AWS.DeviceFarm.ListOfferings" "amazonka-devicefarm-1.6.0-6jgx33LHPEL8JnoULaTRqG" False) (C1 (MetaCons "ListOfferingsResponse'" PrefixI True) (S1 (MetaSel (Just "_lorsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lorsOfferings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Offering])) :*: S1 (MetaSel (Just "_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.