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
- Alphabetic
- By Inheritance
Inherited
- ExtendedAwsRequestBuilder
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ExtendedAwsRequestBuilder(requestBuilder: A)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val requestBuilder: A
- def toString(): String
- Definition Classes
- Any
- 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