Packages

c

com.digitalasset.canton.crypto.kms.aws.AwsKms

ExtendedAwsRequestBuilder

implicit final class ExtendedAwsRequestBuilder[A <: Builder] extends AnyVal

Extension class on AWS request builders with a method to be used to set the Canton trace context as an attribute that will be accessible by the request/response logger. See audit.AwsRequestResponseLogger for more details.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtendedAwsRequestBuilder
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExtendedAwsRequestBuilder(requestBuilder: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. val requestBuilder: A
  8. def toString(): String
    Definition Classes
    Any
  9. def withTraceContext(overrideMethod: (A) => (AwsRequestOverrideConfiguration) => A)(implicit tc: TraceContext): A

    Should be called on request builders to inject the canton trace context to the request logger.

    Should be called on request builders to inject the canton trace context to the request logger. Because of typing constraints of the SDK, the overrideConfiguration method must be used on the specific request builder type and cannot be abstracted. This method usage looks like:

    aws.DescribeKeyRequest .builder() .keyId(keyId.unwrap) .withTraceContext(_.overrideConfiguration) .build

Inherited from AnyVal

Inherited from Any

Ungrouped