java.lang.Object
software.amazon.lambda.powertools.idempotency.dynamodb.internal.IdempotencyDynamodbUserAgentInterceptor
All Implemented Interfaces:
software.amazon.awssdk.core.interceptor.ExecutionInterceptor

public final class IdempotencyDynamodbUserAgentInterceptor extends Object implements software.amazon.awssdk.core.interceptor.ExecutionInterceptor
Global interceptor that configures the User-Agent for all AWS SDK clients when the powertools-idempotency-dynamodb module is on the classpath.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    software.amazon.awssdk.core.SdkRequest
    modifyRequest(software.amazon.awssdk.core.interceptor.Context.ModifyRequest context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor

    afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyResponse, onExecutionFailure
  • Constructor Details

    • IdempotencyDynamodbUserAgentInterceptor

      public IdempotencyDynamodbUserAgentInterceptor()
  • Method Details

    • modifyRequest

      public software.amazon.awssdk.core.SdkRequest modifyRequest(software.amazon.awssdk.core.interceptor.Context.ModifyRequest context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
      Specified by:
      modifyRequest in interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor