amazonka-devicefarm-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Data ListOfferings Source # 
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 Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Show ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Generic ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferings :: Type -> Type #

Hashable ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

ToJSON ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

AWSPager ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

AWSRequest ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Associated Types

type Rs ListOfferings :: Type #

ToHeaders ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

ToPath ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

ToQuery ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

NFData ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferings -> () #

type Rep ListOfferings Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

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

Defined in Network.AWS.DeviceFarm.ListOfferings

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

Defined in Network.AWS.DeviceFarm.ListOfferings

Data ListOfferingsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Show ListOfferingsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Generic ListOfferingsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferingsResponse :: Type -> Type #

NFData ListOfferingsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferingsResponse -> () #

type Rep ListOfferingsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferings

type Rep ListOfferingsResponse = D1 (MetaData "ListOfferingsResponse" "Network.AWS.DeviceFarm.ListOfferings" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" 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) 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.