Interface Behavior<TInput, TOutput, TCommandOutput, TConfiguration>
interface Behavior<TInput, TOutput, TCommandOutput, TConfiguration> { callsFake(fn): AwsStub<TInput, TOutput, TConfiguration>; callsFakeOnce(fn): Behavior<TInput, TOutput, TCommandOutput, TConfiguration>; on<TCmdInput, TCmdOutput>(command,
input?,
strict?): Behavior<TInput, TOutput, TCmdOutput, TConfiguration>; onAnyCommand<TCmdInput>(input?,
strict?): Behavior<TInput, TOutput, TOutput, TConfiguration>; rejects(error?): AwsStub<TInput, TOutput, TConfiguration>; rejectsOnce(error?): Behavior<TInput, TOutput, TCommandOutput, TConfiguration>; resolves(response): AwsStub<TInput, TOutput, TConfiguration>; resolvesOnce(response): Behavior<TInput, TOutput, TCommandOutput, TConfiguration>; } Type Parameters
- TInput extends object
- TOutput extends MetadataBearer
- TCommandOutput extends TOutput
- TConfiguration