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

Contents

Description

Deletes a segment.

Synopsis

Creating a Request

deleteSegment Source #

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

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

data DeleteSegment Source #

See: deleteSegment smart constructor.

Instances
Eq DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Data DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Methods

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

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

toConstr :: DeleteSegment -> Constr #

dataTypeOf :: DeleteSegment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Show DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Generic DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Associated Types

type Rep DeleteSegment :: Type -> Type #

Hashable DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

AWSRequest DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Associated Types

type Rs DeleteSegment :: Type #

ToHeaders DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

ToPath DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

ToQuery DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

NFData DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Methods

rnf :: DeleteSegment -> () #

type Rep DeleteSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

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

Defined in Network.AWS.Pinpoint.DeleteSegment

Request Lenses

dsSegmentId :: Lens' DeleteSegment Text Source #

Undocumented member.

Destructuring the Response

deleteSegmentResponse Source #

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

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

data DeleteSegmentResponse Source #

See: deleteSegmentResponse smart constructor.

Instances
Eq DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Data DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Methods

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

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

toConstr :: DeleteSegmentResponse -> Constr #

dataTypeOf :: DeleteSegmentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Show DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Generic DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Associated Types

type Rep DeleteSegmentResponse :: Type -> Type #

NFData DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

Methods

rnf :: DeleteSegmentResponse -> () #

type Rep DeleteSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.DeleteSegment

type Rep DeleteSegmentResponse = D1 (MetaData "DeleteSegmentResponse" "Network.AWS.Pinpoint.DeleteSegment" "amazonka-pinpoint-1.6.1-4ftRHSGuITY77Rh0OQCFbU" False) (C1 (MetaCons "DeleteSegmentResponse'" PrefixI True) (S1 (MetaSel (Just "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_dsrsSegmentResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SegmentResponse)))

Response Lenses

dsrsResponseStatus :: Lens' DeleteSegmentResponse Int Source #

  • - | The response status code.