File tree 1 file changed +0
-3
lines changed
packages/idempotency/src/persistence
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import {
17
17
import { marshall , unmarshall } from '@aws-sdk/util-dynamodb' ;
18
18
import { IdempotencyRecord } from './IdempotencyRecord' ;
19
19
import { BasePersistenceLayer } from './BasePersistenceLayer' ;
20
- import { addUserAgentMiddleware } from '@aws-lambda-powertools/commons' ;
21
20
22
21
/**
23
22
* 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 {
71
70
this . clientConfig = config ?. clientConfig ?? { } ;
72
71
this . client = new DynamoDBClient ( this . clientConfig ) ;
73
72
}
74
-
75
- addUserAgentMiddleware ( this . client , 'idempotency' ) ;
76
73
}
77
74
78
75
protected async _deleteRecord ( record : IdempotencyRecord ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments