We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc8eabf commit ef75cefCopy full SHA for ef75cef
unicorn_web/src/approvals_service/publication_approved.py
@@ -1,7 +1,6 @@
1
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
# SPDX-License-Identifier: MIT-0
3
import os
4
-
5
import boto3
6
from aws_lambda_powertools.logging import Logger
7
from aws_lambda_powertools.tracing import Tracer
@@ -23,7 +22,7 @@
23
22
metrics: Metrics = Metrics()
24
25
# Initialise boto3 clients
26
-event_bridge = boto3.client('events')
+
27
dynamodb = boto3.resource('dynamodb')
28
table = dynamodb.Table(DYNAMODB_TABLE) # type: ignore
29
0 commit comments