Skip to content

Commit bdda143

Browse files
author
Alexander Melnyk
committed
remove ua from idempotency, will be done in separate PR
1 parent 8296eea commit bdda143

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/idempotency/src/persistence/DynamoDBPersistenceLayer.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
import { marshall, unmarshall } from '@aws-sdk/util-dynamodb';
1818
import { IdempotencyRecord } from './IdempotencyRecord';
1919
import { BasePersistenceLayer } from './BasePersistenceLayer';
20-
import { addUserAgentMiddleware } from '@aws-lambda-powertools/commons';
2120

2221
/**
2322
* DynamoDB persistence layer for idempotency records. This class will use the AWS SDK V3 to write and read idempotency records from DynamoDB.
@@ -71,8 +70,6 @@ class DynamoDBPersistenceLayer extends BasePersistenceLayer {
7170
this.clientConfig = config?.clientConfig ?? {};
7271
this.client = new DynamoDBClient(this.clientConfig);
7372
}
74-
75-
addUserAgentMiddleware(this.client, 'idempotency');
7673
}
7774

7875
protected async _deleteRecord(record: IdempotencyRecord): Promise<void> {

0 commit comments

Comments
 (0)