toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-amazon-eventbridge-fake
/
org.http4k.connect.amazon.eventbridge
/
FakeEventBridge
Fake
Event
Bridge
class
FakeEventBridge
(
val
events
:
Storage
<
List
<
Event
>
>
=
Storage.InMemory()
)
:
ChaoticHttpHandler
Members
Constructors
Fake
Event
Bridge
Link copied to clipboard
constructor
(
events
:
Storage
<
List
<
Event
>
>
=
Storage.InMemory()
)
Properties
events
Link copied to clipboard
val
events
:
Storage
<
List
<
Event
>
>
Functions
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
EventBridge
Convenience function to get a EventBridge client
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
Response
misbehave
Link copied to clipboard
fun
misbehave
(
stage
:
Stage
)
:
ChaosEngine
fun
misbehave
(
behaviour
:
Behaviour
)
:
ChaosEngine
return
Status
Link copied to clipboard
fun
returnStatus
(
status
:
Status
)
:
ChaosEngine