//tempest2-testing/app.cash.tempest2.testing/TestDynamoDbClient
TestDynamoDbClient¶
[jvm]\ interface TestDynamoDbClient : Service
Properties¶
Name | Summary |
---|---|
asyncDynamoDb | [jvm] abstract val asyncDynamoDb: DynamoDbAsyncClient A DynamoDB instance that is usable while this service is running. |
asyncDynamoDbStreams | [jvm] abstract val asyncDynamoDbStreams: DynamoDbStreamsAsyncClient A DynamoDB streams instance that is usable while this service is running. |
dynamoDb | [jvm] abstract val dynamoDb: DynamoDbClient A DynamoDB instance that is usable while this service is running. |
dynamoDbStreams | [jvm] abstract val dynamoDbStreams: DynamoDbStreamsClient A DynamoDB streams instance that is usable while this service is running. |
tables | [jvm] abstract val tables: List<TestTable> |
Functions¶
Name | Summary |
---|---|
addListener | [jvm] abstract fun addListener(p0: Service.Listener, p1: Executor) |
asyncLogicalDb | [jvm] open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: Class<DB>): DB open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: KClass<DB>): DB open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: Class<DB>, vararg extensions: DynamoDbEnhancedClientExtension): DB open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: Class<DB>, extensions: List<DynamoDbEnhancedClientExtension>): DB open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: KClass<DB>, vararg extensions: DynamoDbEnhancedClientExtension): DB open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: KClass<DB>, extensions: List<DynamoDbEnhancedClientExtension>): DB open fun <DB : AsyncLogicalDb> asyncLogicalDb(type: KClass<DB>, extensions: List<DynamoDbEnhancedClientExtension>, tableNameResolver: TableNameResolver?): DB |
asyncLogicalDb | [jvm] inline fun <DB : AsyncLogicalDb> TestDynamoDbClient.asyncLogicalDb(vararg extensions: DynamoDbEnhancedClientExtension, tableNameResolver: TableNameResolver? = null): DB inline fun <DB : AsyncLogicalDb> TestDynamoDbClient.asyncLogicalDb(extensions: List<DynamoDbEnhancedClientExtension>, tableNameResolver: TableNameResolver? = null): DB |
awaitRunning | [jvm] abstract fun awaitRunning() open fun awaitRunning(p0: Duration) abstract fun awaitRunning(p0: Long, p1: TimeUnit) |
awaitTerminated | [jvm] abstract fun awaitTerminated() open fun awaitTerminated(p0: Duration) abstract fun awaitTerminated(p0: Long, p1: TimeUnit) |
failureCause | [jvm] abstract fun failureCause(): Throwable |
isRunning | [jvm] abstract fun isRunning(): Boolean |
logicalDb | [jvm] open fun <DB : LogicalDb> logicalDb(type: Class<DB>): DB open fun <DB : LogicalDb> logicalDb(type: KClass<DB>): DB open fun <DB : LogicalDb> logicalDb(type: Class<DB>, vararg extensions: DynamoDbEnhancedClientExtension): DB open fun <DB : LogicalDb> logicalDb(type: Class<DB>, extensions: List<DynamoDbEnhancedClientExtension>): DB open fun <DB : LogicalDb> logicalDb(type: KClass<DB>, vararg extensions: DynamoDbEnhancedClientExtension): DB open fun <DB : LogicalDb> logicalDb(type: KClass<DB>, extensions: List<DynamoDbEnhancedClientExtension>): DB open fun <DB : LogicalDb> logicalDb(type: KClass<DB>, extensions: List<DynamoDbEnhancedClientExtension>, tableNameResolver: TableNameResolver? = null): DB |
logicalDb | [jvm] inline fun <DB : LogicalDb> TestDynamoDbClient.logicalDb(vararg extensions: DynamoDbEnhancedClientExtension, tableNameResolver: TableNameResolver? = null): DB inline fun <DB : LogicalDb> TestDynamoDbClient.logicalDb(extensions: List<DynamoDbEnhancedClientExtension>, tableNameResolver: TableNameResolver? = null): DB |
reset | [jvm] abstract fun reset() Cleans up tables in between test runs. |
startAsync | [jvm] @CanIgnoreReturnValue abstract fun startAsync(): Service |
state | [jvm] abstract fun state(): Service.State |
stopAsync | [jvm] @CanIgnoreReturnValue abstract fun stopAsync(): Service |