com.digitalasset.canton.crypto.kms.aws.audit
AwsRequestResponseLogger
Companion object AwsRequestResponseLogger
class AwsRequestResponseLogger extends NamedLogging with ExecutionInterceptor with ShowUtil
AWS SDK execution interceptor that logs all requests and responses. Retrieves the canton trace context via execution attributes.
Logs every request before it's being sent, and every response after it's been deserialized, along with the request that triggered it, at INFO level. Every failed request will also be logged at WARN level, with the optional response if available.
- Alphabetic
- By Inheritance
- AwsRequestResponseLogger
- ShowUtil
- ShowSyntax
- ToShowOps
- ExecutionInterceptor
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AwsRequestResponseLogger(loggerFactory: NamedLoggerFactory)
Type Members
- implicit class ShowAnyRefSyntax extends AnyRef
- Definition Classes
- ShowUtil
- implicit class ShowEitherSyntax[L, R] extends AnyRef
Enables the syntax
show"${myEither.showMerged}"
.Enables the syntax
show"${myEither.showMerged}"
.- Definition Classes
- ShowUtil
- implicit class ShowLengthLimitedStringSyntax extends StringOperators
- Definition Classes
- ShowUtil
- implicit class ShowLengthLimitedStringWrapperSyntax extends StringOperators
- Definition Classes
- ShowUtil
- implicit class ShowOptionSyntax[T] extends AnyRef
- Definition Classes
- ShowUtil
- implicit class ShowProductSyntax extends AnyRef
- Definition Classes
- ShowUtil
- Annotations
- @SuppressWarnings()
- implicit class ShowStringSyntax extends StringOperators
- Definition Classes
- ShowUtil
- implicit class ShowTraversableSyntax[T] extends AnyRef
Enables syntax like
show"Found several elements: ${myCollection.mkShow()}"
.Enables syntax like
show"Found several elements: ${myCollection.mkShow()}"
.- Definition Classes
- ShowUtil
- abstract class StringOperators extends AnyRef
Enables syntax like
show"This is a string: ${myString.doubleQuoted}"
andshow"This is a hash: ${myHash.readableHash}"
.Enables syntax like
show"This is a string: ${myString.doubleQuoted}"
andshow"This is a hash: ${myHash.readableHash}"
.- Definition Classes
- ShowUtil
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def afterExecution(arg0: AfterExecution, arg1: ExecutionAttributes): Unit
- Definition Classes
- ExecutionInterceptor
- def afterMarshalling(arg0: AfterMarshalling, arg1: ExecutionAttributes): Unit
- Definition Classes
- ExecutionInterceptor
- def afterTransmission(arg0: AfterTransmission, arg1: ExecutionAttributes): Unit
- Definition Classes
- ExecutionInterceptor
- def afterUnmarshalling(context: AfterUnmarshalling, executionAttributes: ExecutionAttributes): Unit
- Definition Classes
- AwsRequestResponseLogger → ExecutionInterceptor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def beforeExecution(arg0: BeforeExecution, arg1: ExecutionAttributes): Unit
- Definition Classes
- ExecutionInterceptor
- def beforeMarshalling(arg0: BeforeMarshalling, arg1: ExecutionAttributes): Unit
- Definition Classes
- ExecutionInterceptor
- def beforeTransmission(context: BeforeTransmission, executionAttributes: ExecutionAttributes): Unit
- Definition Classes
- AwsRequestResponseLogger → ExecutionInterceptor
- def beforeUnmarshalling(arg0: BeforeUnmarshalling, arg1: ExecutionAttributes): Unit
- Definition Classes
- ExecutionInterceptor
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- AwsRequestResponseLogger → NamedLogging
- def modifyAsyncHttpContent(arg0: ModifyHttpRequest, arg1: ExecutionAttributes): Optional[AsyncRequestBody]
- Definition Classes
- ExecutionInterceptor
- def modifyAsyncHttpResponseContent(arg0: ModifyHttpResponse, arg1: ExecutionAttributes): Optional[Publisher[ByteBuffer]]
- Definition Classes
- ExecutionInterceptor
- def modifyException(arg0: FailedExecution, arg1: ExecutionAttributes): Throwable
- Definition Classes
- ExecutionInterceptor
- def modifyHttpContent(arg0: ModifyHttpRequest, arg1: ExecutionAttributes): Optional[RequestBody]
- Definition Classes
- ExecutionInterceptor
- def modifyHttpRequest(arg0: ModifyHttpRequest, arg1: ExecutionAttributes): SdkHttpRequest
- Definition Classes
- ExecutionInterceptor
- def modifyHttpResponse(arg0: ModifyHttpResponse, arg1: ExecutionAttributes): SdkHttpResponse
- Definition Classes
- ExecutionInterceptor
- def modifyHttpResponseContent(arg0: ModifyHttpResponse, arg1: ExecutionAttributes): Optional[InputStream]
- Definition Classes
- ExecutionInterceptor
- def modifyRequest(arg0: ModifyRequest, arg1: ExecutionAttributes): SdkRequest
- Definition Classes
- ExecutionInterceptor
- def modifyResponse(arg0: ModifyResponse, arg1: ExecutionAttributes): SdkResponse
- Definition Classes
- ExecutionInterceptor
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def onExecutionFailure(context: FailedExecution, executionAttributes: ExecutionAttributes): Unit
- Definition Classes
- AwsRequestResponseLogger → ExecutionInterceptor
- implicit final def showInterpolator(sc: StringContext): ShowInterpolator
- Definition Classes
- ShowSyntax
- implicit def showPretty[T](implicit arg0: Pretty[T]): Show[T]
Enables the syntax
show"This object is pretty: $myPrettyType"
.Enables the syntax
show"This object is pretty: $myPrettyType"
.- Definition Classes
- ShowUtil
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toShow[A](target: A)(implicit tc: Show[A]): Ops[A]
- Definition Classes
- ToShowOps
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])