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.ListOfferingPromotions

Contents

Description

Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

Synopsis

Creating a Request

listOfferingPromotions :: ListOfferingPromotions Source #

Creates a value of ListOfferingPromotions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lopNextToken - 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 ListOfferingPromotions Source #

See: listOfferingPromotions smart constructor.

Instances
Eq ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Data ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Methods

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

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

toConstr :: ListOfferingPromotions -> Constr #

dataTypeOf :: ListOfferingPromotions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Show ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Generic ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Associated Types

type Rep ListOfferingPromotions :: Type -> Type #

Hashable ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

ToJSON ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

AWSRequest ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Associated Types

type Rs ListOfferingPromotions :: Type #

ToHeaders ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

ToPath ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

ToQuery ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

NFData ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Methods

rnf :: ListOfferingPromotions -> () #

type Rep ListOfferingPromotions Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

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

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Request Lenses

lopNextToken :: Lens' ListOfferingPromotions (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

listOfferingPromotionsResponse Source #

Creates a value of ListOfferingPromotionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListOfferingPromotionsResponse Source #

See: listOfferingPromotionsResponse smart constructor.

Instances
Eq ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Data ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Methods

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

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

toConstr :: ListOfferingPromotionsResponse -> Constr #

dataTypeOf :: ListOfferingPromotionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Show ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Generic ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

Associated Types

type Rep ListOfferingPromotionsResponse :: Type -> Type #

NFData ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

type Rep ListOfferingPromotionsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListOfferingPromotions

type Rep ListOfferingPromotionsResponse = D1 (MetaData "ListOfferingPromotionsResponse" "Network.AWS.DeviceFarm.ListOfferingPromotions" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListOfferingPromotionsResponse'" PrefixI True) (S1 (MetaSel (Just "_loprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_loprsOfferingPromotions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [OfferingPromotion])) :*: S1 (MetaSel (Just "_loprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

loprsNextToken :: Lens' ListOfferingPromotionsResponse (Maybe Text) Source #

An identifier to be used in the next call to this operation, to return the next set of items in the list.