Skip to content

Commit

Permalink
remove ua from idempotency, will be done in separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Melnyk committed Jun 29, 2023
1 parent 8296eea commit bdda143
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
import { marshall, unmarshall } from '@aws-sdk/util-dynamodb';
import { IdempotencyRecord } from './IdempotencyRecord';
import { BasePersistenceLayer } from './BasePersistenceLayer';
import { addUserAgentMiddleware } from '@aws-lambda-powertools/commons';

/**
* DynamoDB persistence layer for idempotency records. This class will use the AWS SDK V3 to write and read idempotency records from DynamoDB.
Expand Down Expand Up @@ -71,8 +70,6 @@ class DynamoDBPersistenceLayer extends BasePersistenceLayer {
this.clientConfig = config?.clientConfig ?? {};
this.client = new DynamoDBClient(this.clientConfig);
}

addUserAgentMiddleware(this.client, 'idempotency');
}

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

0 comments on commit bdda143

Please sign in to comment.