func NewTxErrorAwareDynamoDBClient(p client.ConfigProvider, cfgs ...*aws.Config) *dynamodb.DynamoDB {
	c := dynamodb.New(p, cfgs...)
	// NOTE: Ignore if swap failed. Returning nil might fail app startup which is worse than inadequate error details.
	c.Handlers.UnmarshalError.Swap(jsonrpc.UnmarshalErrorHandler.Name, request.NamedHandler{
		Name: TxAwareErrorUnmarshallerName,
		Fn:   TxAwareUnmarshalError,
	})
	return c
}
// New creates a new instance of the DynamoDB client with a session.
// The client's behaviour is same as what is returned by dynamodb.New(), except for richer error reasons.
New creates a new instance of the DynamoDB client with a session.
The client's behaviour is same as what is returned by dynamodb.New(), except for richer error reasons.
// New creates a new instance of the DynamoDB client with a session . // The client ' s behaviour is same as what is returned by dynamodb . New () except for richer error reasons .
func NewTxErrorAwareDynamoDBClient(p client.ConfigProvider, cfgs ...*aws.Config) *dynamodb.DynamoDB {
	c := dynamodb.New(p, cfgs...)
	c.Handlers.UnmarshalError.Swap(jsonrpc.UnmarshalErrorHandler.Name, request.NamedHandler{
		Name: TxAwareErrorUnmarshallerName,
		Fn:   TxAwareUnmarshalError,
	})
	return c
}
func NewTxErrorAwareDynamoDBClient ( p client . ConfigProvider , cfgs ... * aws . Config ) * dynamodb . DynamoDB { c := dynamodb . New ( p , cfgs ... ) c . Handlers . UnmarshalError . Swap ( jsonrpc . UnmarshalErrorHandler . Name , request . NamedHandler { Name : TxAwareErrorUnmarshallerName , Fn : TxAwareUnmarshalError , } ) return c }
New creates a new instance of the DynamoDB client with a session.
New creates a new instance of the DynamoDB client with a session .
// NOTE: Ignore if swap failed. Returning nil might fail app startup which is worse than inadequate error details.