amazonka-lambda-1.6.1: Amazon Lambda 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.Lambda.DeleteEventSourceMapping

Contents

Description

Removes an event source mapping. This means AWS Lambda will no longer invoke the function for events in the associated source.

This operation requires permission for the lambda:DeleteEventSourceMapping action.

Synopsis

Creating a Request

deleteEventSourceMapping Source #

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

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

data DeleteEventSourceMapping Source #

See: deleteEventSourceMapping smart constructor.

Instances
Eq DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Data DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Methods

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

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

toConstr :: DeleteEventSourceMapping -> Constr #

dataTypeOf :: DeleteEventSourceMapping -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Show DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Generic DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Associated Types

type Rep DeleteEventSourceMapping :: Type -> Type #

Hashable DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

AWSRequest DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Associated Types

type Rs DeleteEventSourceMapping :: Type #

ToHeaders DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

ToPath DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

ToQuery DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

NFData DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

type Rep DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

type Rep DeleteEventSourceMapping = D1 (MetaData "DeleteEventSourceMapping" "Network.AWS.Lambda.DeleteEventSourceMapping" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" True) (C1 (MetaCons "DeleteEventSourceMapping'" PrefixI True) (S1 (MetaSel (Just "_desmUUId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteEventSourceMapping Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteEventSourceMapping

Request Lenses

desmUUId :: Lens' DeleteEventSourceMapping Text Source #

The event source mapping ID.

Destructuring the Response

eventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #

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

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

  • esmcEventSourceARN - The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
  • esmcState - The state of the event source mapping. It can be Creating , Enabled , Disabled , Enabling , Disabling , Updating , or Deleting .
  • esmcFunctionARN - The Lambda function to invoke when AWS Lambda detects an event on the stream.
  • esmcUUId - The AWS Lambda assigned opaque identifier for the mapping.
  • esmcLastProcessingResult - The result of the last AWS Lambda invocation of your Lambda function.
  • esmcBatchSize - The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
  • esmcStateTransitionReason - The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
  • esmcLastModified - The UTC time string indicating the last time the event mapping was updated.

data EventSourceMappingConfiguration Source #

Describes mapping between an Amazon Kinesis stream and a Lambda function.

See: eventSourceMappingConfiguration smart constructor.

Instances
Eq EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

Data EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

Methods

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

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

toConstr :: EventSourceMappingConfiguration -> Constr #

dataTypeOf :: EventSourceMappingConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

Show EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

Generic EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

Associated Types

type Rep EventSourceMappingConfiguration :: Type -> Type #

Hashable EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

FromJSON EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

NFData EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

type Rep EventSourceMappingConfiguration Source # 
Instance details

Defined in Network.AWS.Lambda.Types.Product

type Rep EventSourceMappingConfiguration = D1 (MetaData "EventSourceMappingConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "EventSourceMappingConfiguration'" PrefixI True) (((S1 (MetaSel (Just "_esmcEventSourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_esmcState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_esmcFunctionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_esmcUUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_esmcLastProcessingResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_esmcBatchSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) :*: (S1 (MetaSel (Just "_esmcStateTransitionReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_esmcLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))))

Response Lenses

esmcEventSourceARN :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

esmcState :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be Creating , Enabled , Disabled , Enabling , Disabling , Updating , or Deleting .

esmcFunctionARN :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The Lambda function to invoke when AWS Lambda detects an event on the stream.

esmcUUId :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The AWS Lambda assigned opaque identifier for the mapping.

esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The result of the last AWS Lambda invocation of your Lambda function.

esmcBatchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

esmcStateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

esmcLastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The UTC time string indicating the last time the event mapping was updated.