Skip to main content

snsHandler

Callable

  • snsHandler<Configuration, Service, Profile, Payload, D>(definition: D & SNSHandler<Configuration, Service, Profile, Payload>, __namedParameters?: { _kernel?: <Configuration, Service, Profile, Payload>(handler: SNSHandler<Configuration, Service, Profile, Payload>, events: SnsRecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> }): D & EventHandlerFn<Configuration, Service, Profile>

  • Type parameters

    Parameters

    • definition: D & SNSHandler<Configuration, Service, Profile, Payload>
    • __namedParameters: { _kernel?: <Configuration, Service, Profile, Payload>(handler: SNSHandler<Configuration, Service, Profile, Payload>, events: SnsRecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> } = {}

    Returns D & EventHandlerFn<Configuration, Service, Profile>