Class InspectDynamoDbClient
The InspectDynamoDbClient class inserts a callback for IAmazonDynamoDB operations that captures the request and respose (or exception) of the operation. This class is useful for inspecting or logging what information actually goes across the wire when calling the DynamoDB API.
Inheritance
System.Object
InspectDynamoDbClient
Namespace: LambdaSharp.DynamoDB.Native.Utility
Assembly: LambdaSharp.DynamoDB.Native.dll
Syntax
public class InspectDynamoDbClient : IAmazonDynamoDB, IAmazonService, IDisposable
Constructors
InspectDynamoDbClient(IAmazonDynamoDB, Action<Object>)
Create new instance of InspectDynamoDbClient.
Declaration
public InspectDynamoDbClient(IAmazonDynamoDB dynamoDBClient, Action<object> callback)
Parameters
Type | Name | Description |
---|---|---|
Amazon.DynamoDBv2.IAmazonDynamoDB | dynamoDBClient | The DynamoDB client to wrap. |
System.Action<System.Object> | callback | The inspection callback. |