Class SdkInternalExecutionAttribute

java.lang.Object
software.amazon.awssdk.core.interceptor.SdkExecutionAttribute
software.amazon.awssdk.core.interceptor.SdkInternalExecutionAttribute

@SdkProtectedApi public final class SdkInternalExecutionAttribute extends SdkExecutionAttribute
Attributes that can be applied to all sdk requests. Only generated code from the SDK clients should set these values.
  • Field Details

    • IS_FULL_DUPLEX

      public static final ExecutionAttribute<Boolean> IS_FULL_DUPLEX
      The key to indicate if the request is for a full duplex operation ie., request and response are sent/received at the same time.
    • BUSINESS_METRICS

      public static final ExecutionAttribute<BusinessMetricCollection> BUSINESS_METRICS
      A collection of business metrics feature ids.
    • USER_AGENT_METADATA

      public static final ExecutionAttribute<List<AdditionalMetadata>> USER_AGENT_METADATA
      A collection of metadata to be added to the UserAgent.
    • HAS_INITIAL_REQUEST_EVENT

      public static final ExecutionAttribute<Boolean> HAS_INITIAL_REQUEST_EVENT
      If true, indicates that this is an event streaming request being sent over RPC, and therefore the serialized request object is encapsulated as an event of type initial-request.
    • HTTP_CHECKSUM_REQUIRED

      public static final ExecutionAttribute<HttpChecksumRequired> HTTP_CHECKSUM_REQUIRED
    • DISABLE_HOST_PREFIX_INJECTION

      public static final ExecutionAttribute<Boolean> DISABLE_HOST_PREFIX_INJECTION
      Whether host prefix injection has been disabled on the client. See SdkAdvancedClientOption.DISABLE_HOST_PREFIX_INJECTION
    • HTTP_CHECKSUM

      public static final ExecutionAttribute<HttpChecksum> HTTP_CHECKSUM
      Key to indicate if the Http Checksums that are valid for an operation.
    • SDK_HTTP_EXECUTION_ATTRIBUTES

      public static final ExecutionAttribute<SdkHttpExecutionAttributes> SDK_HTTP_EXECUTION_ATTRIBUTES
      The SDK HTTP attributes that can be passed to the HTTP client
    • IS_NONE_AUTH_TYPE_REQUEST

      public static final ExecutionAttribute<Boolean> IS_NONE_AUTH_TYPE_REQUEST
    • CLIENT_ENDPOINT_PROVIDER

      public static final ExecutionAttribute<ClientEndpointProvider> CLIENT_ENDPOINT_PROVIDER
      The endpoint provider used to resolve the endpoint of the client. This will be overridden during the request pipeline by the ENDPOINT_PROVIDER.
    • ENDPOINT_PROVIDER

      public static final ExecutionAttribute<EndpointProvider> ENDPOINT_PROVIDER
      The endpoint provider used to resolve the destination endpoint for a request.
    • RESOLVED_ENDPOINT

      public static final ExecutionAttribute<Endpoint> RESOLVED_ENDPOINT
      The resolved endpoint as computed by the client's configured EndpointProvider.
    • CLIENT_CONTEXT_PARAMS

      public static final ExecutionAttribute<AttributeMap> CLIENT_CONTEXT_PARAMS
      The values of client context params declared for this service. Client contet params are one possible source of inputs into the endpoint provider for the client.
    • IS_DISCOVERED_ENDPOINT

      public static final ExecutionAttribute<Boolean> IS_DISCOVERED_ENDPOINT
      Whether the endpoint on the request is the result of Endpoint Discovery.
    • API_CALL_ATTEMPT_START_NANO_TIME

      public static final ExecutionAttribute<Long> API_CALL_ATTEMPT_START_NANO_TIME
      The nano time that the current API call attempt began.
    • HEADERS_READ_END_NANO_TIME

      public static final ExecutionAttribute<Long> HEADERS_READ_END_NANO_TIME
      The nano time that reading the response headers is complete.
    • RESPONSE_BYTES_READ

      public static final ExecutionAttribute<AtomicLong> RESPONSE_BYTES_READ
      The running count of bytes in the response body that have been read by the client. This is updated atomically as the response is being read.

      This attribute is set before every API call attempt.

    • AUTH_SCHEME_RESOLVER

      public static final ExecutionAttribute<AuthSchemeProvider> AUTH_SCHEME_RESOLVER
      The auth scheme provider used to resolve the auth scheme for a request.
    • AUTH_SCHEMES

      public static final ExecutionAttribute<Map<String,AuthScheme<?>>> AUTH_SCHEMES
      The auth schemes available for a request.
    • IDENTITY_PROVIDERS

      public static final ExecutionAttribute<IdentityProviders> IDENTITY_PROVIDERS
      The IdentityProviders for a request.
    • IDENTITY_PROVIDER_RESOLVER

      public static final ExecutionAttribute<RequestIdentityProviderResolver> IDENTITY_PROVIDER_RESOLVER
      Callback for updating identity providers based on request-level overrides. This allows aws-core to provide AWS-specific logic without sdk-core depending on aws-core.
    • AUTH_SCHEME_OPTIONS_RESOLVER

      public static final ExecutionAttribute<AuthSchemeOptionsResolver> AUTH_SCHEME_OPTIONS_RESOLVER
      Callback to resolve auth scheme options from the (possibly modified) request. Called by AuthSchemeResolutionStage after interceptors have run.
    • SIGNING_METHOD_UPDATER

      public static final ExecutionAttribute<Consumer<ExecutionAttributes>> SIGNING_METHOD_UPDATER
      Callback to recompute SIGNING_METHOD after auth scheme resolution. Set by AwsExecutionContextBuilder
    • ENDPOINT_RESOLVER

      public static final ExecutionAttribute<EndpointResolver> ENDPOINT_RESOLVER
      Callback for resolving the endpoint. Generated per-service as a lambda in the client class. Called by EndpointResolutionStage after interceptors have run.
    • HTTP_REQUEST_URI_BEFORE_MODIFY

      public static final ExecutionAttribute<URI> HTTP_REQUEST_URI_BEFORE_MODIFY
      The HTTP request URI captured before modifyHttpRequest interceptors run. Used by EndpointResolutionStage to detect if a customer interceptor modified the URL.
    • SELECTED_AUTH_SCHEME

      public static final ExecutionAttribute<SelectedAuthScheme<?>> SELECTED_AUTH_SCHEME
      The selected auth scheme for a request.
    • AUTH_SCHEME_SNAPSHOT_PRE_INTERCEPTORS

      public static final ExecutionAttribute<SelectedAuthScheme<?>> AUTH_SCHEME_SNAPSHOT_PRE_INTERCEPTORS
      Snapshot of SELECTED_AUTH_SCHEME taken before execution interceptors run. Used by AuthSchemeResolver#mergePreExistingAuthSchemeProperties to detect which signer properties were explicitly modified by interceptors (and should therefore override the freshly-resolved values).
    • AUTH_SCHEME_SNAPSHOT_POST_INTERCEPTORS

      public static final ExecutionAttribute<SelectedAuthScheme<?>> AUTH_SCHEME_SNAPSHOT_POST_INTERCEPTORS
      Snapshot of SELECTED_AUTH_SCHEME taken after interceptors run but before auth scheme resolution. Together with AUTH_SCHEME_SNAPSHOT_PRE_INTERCEPTORS, this allows detecting which signer properties were explicitly modified by interceptors so they can be re-applied after endpoint resolution.
    • REQUEST_COMPRESSION

      public static final ExecutionAttribute<RequestCompression> REQUEST_COMPRESSION
      The supported compression algorithms for an operation, and whether the operation is streaming or not.
    • PROTOCOL_METADATA

      public static final ExecutionAttribute<SdkProtocolMetadata> PROTOCOL_METADATA
      The key under which the protocol metadata is stored.
    • SDK_CLIENT

      public static final ExecutionAttribute<SdkClient> SDK_CLIENT
    • REQUEST_CHECKSUM_CALCULATION

      public static final ExecutionAttribute<RequestChecksumCalculation> REQUEST_CHECKSUM_CALCULATION
      The request checksum calculation setting.
    • RESPONSE_CHECKSUM_VALIDATION

      public static final ExecutionAttribute<ResponseChecksumValidation> RESPONSE_CHECKSUM_VALIDATION
      The response checksum validation setting.
    • TOKEN_CONFIGURED_FROM_ENV

      public static final ExecutionAttribute<String> TOKEN_CONFIGURED_FROM_ENV
      The token configured from the environment or system properties, used to determine if the BEARER_SERVICE_ENV_VARS business metric should be set.
    • CHECKSUM_STORE

      public static final ExecutionAttribute<PayloadChecksumStore> CHECKSUM_STORE
      The store used by HttpSigner implementations to store payload checksums.
    • IS_LONG_POLLING

      public static final ExecutionAttribute<Boolean> IS_LONG_POLLING
      Indicates whether this is a long polling operation.
    • NEW_RETRIES_2026_ENABLED

      public static final ExecutionAttribute<Boolean> NEW_RETRIES_2026_ENABLED
      Indicates whether retries v2.1 is enabled.