mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 14:31:57 -05:00
clients: cbc_proxy lambda client is unabbreviated
for code clarity Signed-off-by: Toby Lorne <toby.lornewelch-richards@digital.cabinet-office.gov.uk>
This commit is contained in:
@@ -46,7 +46,7 @@ class CBCProxyNoopClient:
|
||||
class CBCProxyClient:
|
||||
|
||||
def init_app(self, app):
|
||||
self._ld_client = boto3.client(
|
||||
self._lambda_client = boto3.client(
|
||||
'lambda',
|
||||
region_name='eu-west-2',
|
||||
aws_access_key_id=app.config['CBC_PROXY_AWS_ACCESS_KEY_ID'],
|
||||
@@ -63,7 +63,7 @@ class CBCProxyClient:
|
||||
'description': description,
|
||||
}), encoding='utf8')
|
||||
|
||||
result = self._ld_client.invoke(
|
||||
result = self._lambda_client.invoke(
|
||||
FunctionName='bt-ee-1-proxy',
|
||||
InvocationType='RequestResponse',
|
||||
Payload=payload_bytes,
|
||||
|
||||
Reference in New Issue
Block a user