Class SdkExecutionAttribute
- java.lang.Object
-
- software.amazon.awssdk.core.interceptor.SdkExecutionAttribute
-
- Direct Known Subclasses:
InternalCoreExecutionAttribute,SdkInternalExecutionAttribute
public class SdkExecutionAttribute extends Object
Contains attributes attached to the execution. This information is available toExecutionInterceptors andSigners.
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionAttribute<software.amazon.awssdk.metrics.MetricCollector>API_CALL_ATTEMPT_METRIC_COLLECTORTheMetricCollectorassociated with the current, ongoing API call attempt.static ExecutionAttribute<software.amazon.awssdk.metrics.MetricCollector>API_CALL_METRIC_COLLECTORTheMetricCollectorassociated with the overall API call.static ExecutionAttribute<URI>CLIENT_ENDPOINTThis is the endpointOverride (ifENDPOINT_OVERRIDDENis true), otherwise the endpoint generated from regional metadata.static ExecutionAttribute<ClientType>CLIENT_TYPEstatic ExecutionAttribute<Boolean>ENDPOINT_OVERRIDDENIf true indicates that the configured endpoint of the client is a value that was supplied as an override and not generated from regional metadata.static ExecutionAttribute<Algorithm>HTTP_CHECKSUM_VALIDATION_ALGORITHMThe Algorithm used for checksum validation of a response.static ExecutionAttribute<ChecksumValidation>HTTP_RESPONSE_CHECKSUM_VALIDATIONProvides the status ofChecksumValidationperformed on the response.static ExecutionAttribute<String>OPERATION_NAMEstatic ExecutionAttribute<ProfileFile>PROFILE_FILEDeprecated.This attribute is used for: - Set profile file of service endpoint builder docdb, nepture, rds This has been replaced withPROFILE_FILE_SUPPLIER.get().static ExecutionAttribute<Supplier<ProfileFile>>PROFILE_FILE_SUPPLIERstatic ExecutionAttribute<String>PROFILE_NAMEstatic ExecutionAttribute<ChecksumSpecs>RESOLVED_CHECKSUM_SPECSThe checksum algorithm is resolved based on the Request member.static ExecutionAttribute<ServiceConfiguration>SERVICE_CONFIGHandler context key for advanced configuration.static ExecutionAttribute<String>SERVICE_NAMEThe key under which the service name is stored.static ExecutionAttribute<Boolean>SIGNER_OVERRIDDENIf the client signer value has been overridden.static ExecutionAttribute<Integer>TIME_OFFSETThe key under which the time offset (for clock skew correction) is stored.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSdkExecutionAttribute()
-
-
-
Field Detail
-
SERVICE_CONFIG
public static final ExecutionAttribute<ServiceConfiguration> SERVICE_CONFIG
Handler context key for advanced configuration.
-
SERVICE_NAME
public static final ExecutionAttribute<String> SERVICE_NAME
The key under which the service name is stored.
-
TIME_OFFSET
public static final ExecutionAttribute<Integer> TIME_OFFSET
The key under which the time offset (for clock skew correction) is stored.
-
CLIENT_TYPE
public static final ExecutionAttribute<ClientType> CLIENT_TYPE
-
OPERATION_NAME
public static final ExecutionAttribute<String> OPERATION_NAME
-
API_CALL_METRIC_COLLECTOR
public static final ExecutionAttribute<software.amazon.awssdk.metrics.MetricCollector> API_CALL_METRIC_COLLECTOR
TheMetricCollectorassociated with the overall API call.
-
API_CALL_ATTEMPT_METRIC_COLLECTOR
public static final ExecutionAttribute<software.amazon.awssdk.metrics.MetricCollector> API_CALL_ATTEMPT_METRIC_COLLECTOR
TheMetricCollectorassociated with the current, ongoing API call attempt. This is not set until the actual internal API call attempt starts.
-
ENDPOINT_OVERRIDDEN
public static final ExecutionAttribute<Boolean> ENDPOINT_OVERRIDDEN
If true indicates that the configured endpoint of the client is a value that was supplied as an override and not generated from regional metadata.
-
CLIENT_ENDPOINT
public static final ExecutionAttribute<URI> CLIENT_ENDPOINT
This is the endpointOverride (ifENDPOINT_OVERRIDDENis true), otherwise the endpoint generated from regional metadata.
-
SIGNER_OVERRIDDEN
public static final ExecutionAttribute<Boolean> SIGNER_OVERRIDDEN
If the client signer value has been overridden.
-
PROFILE_FILE
@Deprecated public static final ExecutionAttribute<ProfileFile> PROFILE_FILE
Deprecated.This attribute is used for: - Set profile file of service endpoint builder docdb, nepture, rds This has been replaced withPROFILE_FILE_SUPPLIER.get().
-
PROFILE_FILE_SUPPLIER
public static final ExecutionAttribute<Supplier<ProfileFile>> PROFILE_FILE_SUPPLIER
-
PROFILE_NAME
public static final ExecutionAttribute<String> PROFILE_NAME
-
RESOLVED_CHECKSUM_SPECS
public static final ExecutionAttribute<ChecksumSpecs> RESOLVED_CHECKSUM_SPECS
The checksum algorithm is resolved based on the Request member. The RESOLVED_CHECKSUM_SPECS holds the final checksum which will be used for checksum computation.
-
HTTP_CHECKSUM_VALIDATION_ALGORITHM
public static final ExecutionAttribute<Algorithm> HTTP_CHECKSUM_VALIDATION_ALGORITHM
The Algorithm used for checksum validation of a response.
-
HTTP_RESPONSE_CHECKSUM_VALIDATION
public static final ExecutionAttribute<ChecksumValidation> HTTP_RESPONSE_CHECKSUM_VALIDATION
Provides the status ofChecksumValidationperformed on the response.
-
-