Class IdempotencyDynamodbUserAgentInterceptor
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 -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.core.SdkRequestmodifyRequest(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, waitMethods 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:
modifyRequestin interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-