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

Contents

Description

Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. 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

getOfferingStatus :: GetOfferingStatus Source #

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

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

  • gosNextToken - 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 GetOfferingStatus Source #

Represents the request to retrieve the offering status for the specified customer or account.

See: getOfferingStatus smart constructor.

Instances
Eq GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Data GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Methods

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

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

toConstr :: GetOfferingStatus -> Constr #

dataTypeOf :: GetOfferingStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Show GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Generic GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Associated Types

type Rep GetOfferingStatus :: Type -> Type #

Hashable GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

ToJSON GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

AWSPager GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

AWSRequest GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Associated Types

type Rs GetOfferingStatus :: Type #

ToHeaders GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

ToPath GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

ToQuery GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

NFData GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Methods

rnf :: GetOfferingStatus -> () #

type Rep GetOfferingStatus Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

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

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Request Lenses

gosNextToken :: Lens' GetOfferingStatus (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

getOfferingStatusResponse Source #

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

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

  • gosrsNextPeriod - When specified, gets the offering status for the next period.
  • gosrsCurrent - When specified, gets the offering status for the current period.
  • gosrsNextToken - 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.
  • gosrsResponseStatus - -- | The response status code.

data GetOfferingStatusResponse Source #

Returns the status result for a device offering.

See: getOfferingStatusResponse smart constructor.

Instances
Eq GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Data GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Methods

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

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

toConstr :: GetOfferingStatusResponse -> Constr #

dataTypeOf :: GetOfferingStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Show GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Generic GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

Associated Types

type Rep GetOfferingStatusResponse :: Type -> Type #

NFData GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

type Rep GetOfferingStatusResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetOfferingStatus

type Rep GetOfferingStatusResponse = D1 (MetaData "GetOfferingStatusResponse" "Network.AWS.DeviceFarm.GetOfferingStatus" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "GetOfferingStatusResponse'" PrefixI True) ((S1 (MetaSel (Just "_gosrsNextPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text OfferingStatus))) :*: S1 (MetaSel (Just "_gosrsCurrent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text OfferingStatus)))) :*: (S1 (MetaSel (Just "_gosrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gosrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gosrsNextPeriod :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus) Source #

When specified, gets the offering status for the next period.

gosrsCurrent :: Lens' GetOfferingStatusResponse (HashMap Text OfferingStatus) Source #

When specified, gets the offering status for the current period.

gosrsNextToken :: Lens' GetOfferingStatusResponse (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.