Skip to main content

SNSEventHandler <Configuration, Service, Profile, Payload>

Index

Properties

handler

handler: (request: NoInfer<SNSEvent<InferFromParser<Payload, unknown>>>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<void>>

Type declaration

    • (request: NoInfer<SNSEvent<InferFromParser<Payload, unknown>>>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<void>>
    • Parameters

      • request: NoInfer<SNSEvent<InferFromParser<Payload, unknown>>>
      • context: LambdaContext<Configuration, Service, Profile>

      Returns Promisable<Try<void>>

optionalpayloadType

payloadType?: json | binary | plaintext

schema

schema: { payload?: Payload }

Type declaration

  • optionalpayload?: Payload
Page Options