BulkDecryptModelsOperation
BulkDecryptModelsOperation is a class in @cipherstash/stack. TypeScript API reference with its signature, parameters, and usage.
Class: BulkDecryptModelsOperation<T>
Defined in: packages/stack/src/dynamodb/operations/bulk-decrypt-models.ts:13
Extends
DynamoDBOperation<Decrypted<T>[]>
Type Parameters
T
T extends Record<string, unknown>
Constructors
Constructor
new BulkDecryptModelsOperation<T>(
encryptionClient,
items,
table,
options?): BulkDecryptModelsOperation<T>;Defined in: packages/stack/src/dynamodb/operations/bulk-decrypt-models.ts:20
Parameters
encryptionClient
items
Record<string, unknown>[]
table
EncryptedTable<EncryptedTableColumn>
options?
DynamoDBOperationOptions
Returns
BulkDecryptModelsOperation<T>
Overrides
DynamoDBOperation<Decrypted<T>[]>.constructorMethods
audit()
audit(config): this;Defined in: packages/stack/src/dynamodb/operations/base-operation.ts:32
Attach audit metadata to this operation. Can be chained.
Parameters
config
AuditConfig
Returns
this
Inherited from
DynamoDBOperation.auditthen()
then<TResult1, TResult2>(onfulfilled?, onrejected?): Promise<TResult1 | TResult2>;Defined in: packages/stack/src/dynamodb/operations/base-operation.ts:54
Make the operation thenable
Type Parameters
TResult1
TResult1 = Result<Decrypted<T>[], EncryptedDynamoDBError>
TResult2
TResult2 = never
Parameters
onfulfilled?
(value) => TResult1 | PromiseLike<TResult1> | null
onrejected?
(reason) => TResult2 | PromiseLike<TResult2> | null
Returns
Promise<TResult1 | TResult2>
Inherited from
DynamoDBOperation.thenexecute()
execute(): Promise<Result<Decrypted<T>[], EncryptedDynamoDBError>>;Defined in: packages/stack/src/dynamodb/operations/bulk-decrypt-models.ts:32
Execute the operation and return a Result
Returns
Promise<Result<Decrypted<T>[], EncryptedDynamoDBError>>
Overrides
DynamoDBOperation.executepackages/stack/src/dynamodb
packages/stack/src/dynamodb is a module in @cipherstash/stack. TypeScript API reference with its signature, parameters, and usage.
BulkEncryptModelsOperation
BulkEncryptModelsOperation is a class in @cipherstash/stack. TypeScript API reference with its signature, parameters, and usage.