parent
9e3b23758a
commit
f58e6e1038
@ -93,6 +93,11 @@ class DomainDispatcherApplication(object):
|
|||||||
# S3 is the last resort when the target is also unknown
|
# S3 is the last resort when the target is also unknown
|
||||||
service, region = DEFAULT_SERVICE_REGION
|
service, region = DEFAULT_SERVICE_REGION
|
||||||
|
|
||||||
|
if service == "EventBridge":
|
||||||
|
# Go SDK uses 'EventBridge' in the SigV4 request instead of 'events'
|
||||||
|
# see https://github.com/spulec/moto/issues/3494
|
||||||
|
service = "events"
|
||||||
|
|
||||||
if service == "dynamodb":
|
if service == "dynamodb":
|
||||||
if environ["HTTP_X_AMZ_TARGET"].startswith("DynamoDBStreams"):
|
if environ["HTTP_X_AMZ_TARGET"].startswith("DynamoDBStreams"):
|
||||||
host = "dynamodbstreams"
|
host = "dynamodbstreams"
|
||||||
|
Loading…
Reference in New Issue
Block a user