amazonka-pinpoint-1.6.1: Amazon Pinpoint 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.Pinpoint.GetSegments

Contents

Description

Used to get information about your segments.

Synopsis

Creating a Request

getSegments Source #

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

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

  • gssToken - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
  • gssPageSize - The number of entries you want on each page in the response.
  • gssApplicationId - Undocumented member.

data GetSegments Source #

See: getSegments smart constructor.

Instances
Eq GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Data GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Methods

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

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

toConstr :: GetSegments -> Constr #

dataTypeOf :: GetSegments -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Show GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Generic GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Associated Types

type Rep GetSegments :: Type -> Type #

Hashable GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

AWSRequest GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Associated Types

type Rs GetSegments :: Type #

ToHeaders GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Methods

toHeaders :: GetSegments -> [Header] #

ToPath GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

ToQuery GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

NFData GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Methods

rnf :: GetSegments -> () #

type Rep GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

type Rep GetSegments = D1 (MetaData "GetSegments" "Network.AWS.Pinpoint.GetSegments" "amazonka-pinpoint-1.6.1-4ftRHSGuITY77Rh0OQCFbU" False) (C1 (MetaCons "GetSegments'" PrefixI True) (S1 (MetaSel (Just "_gssToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gssPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gssApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetSegments Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Request Lenses

gssToken :: Lens' GetSegments (Maybe Text) Source #

The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.

gssPageSize :: Lens' GetSegments (Maybe Text) Source #

The number of entries you want on each page in the response.

Destructuring the Response

getSegmentsResponse Source #

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

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

data GetSegmentsResponse Source #

See: getSegmentsResponse smart constructor.

Instances
Eq GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Data GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Methods

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

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

toConstr :: GetSegmentsResponse -> Constr #

dataTypeOf :: GetSegmentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Show GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Generic GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Associated Types

type Rep GetSegmentsResponse :: Type -> Type #

NFData GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

Methods

rnf :: GetSegmentsResponse -> () #

type Rep GetSegmentsResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.GetSegments

type Rep GetSegmentsResponse = D1 (MetaData "GetSegmentsResponse" "Network.AWS.Pinpoint.GetSegments" "amazonka-pinpoint-1.6.1-4ftRHSGuITY77Rh0OQCFbU" False) (C1 (MetaCons "GetSegmentsResponse'" PrefixI True) (S1 (MetaSel (Just "_gsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gsrsSegmentsResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SegmentsResponse)))

Response Lenses

gsrsResponseStatus :: Lens' GetSegmentsResponse Int Source #

  • - | The response status code.