Class SdkInternalExecutionAttribute


  • 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 Detail

      • 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.
      • 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

        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<software.amazon.awssdk.http.SdkHttpExecutionAttributes> SDK_HTTP_EXECUTION_ATTRIBUTES
        The SDK HTTP attributes that can be passed to the HTTP client
      • ENDPOINT_PROVIDER

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

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

        public static final ExecutionAttribute<software.amazon.awssdk.utils.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<software.amazon.awssdk.http.auth.spi.scheme.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,​software.amazon.awssdk.http.auth.spi.scheme.AuthScheme<?>>> AUTH_SCHEMES
        The auth schemes available for a request.
      • IDENTITY_PROVIDERS

        public static final ExecutionAttribute<software.amazon.awssdk.identity.spi.IdentityProviders> IDENTITY_PROVIDERS
        The IdentityProviders for a request.
      • REQUEST_COMPRESSION

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