package middleware

import "github.com/aws/aws-sdk-go-v2/internal/middleware"

Index

Types

type AddTimeOffsetMiddleware

type AddTimeOffsetMiddleware struct {
	Offset *atomic.Int64
}

AddTimeOffsetMiddleware sets a value representing clock skew on the request context. This can be read by other operations (such as signing) to correct the date value they send on the request

func (AddTimeOffsetMiddleware) HandleBuild

HandleBuild sets a value for attemptSkew on the request context if one is set on the client.

func (*AddTimeOffsetMiddleware) HandleDeserialize

HandleDeserialize gets the clock skew context from the context, and if set, sets it on the pointer held by AddTimeOffsetMiddleware

func (*AddTimeOffsetMiddleware) ID

ID the identifier for AddTimeOffsetMiddleware

Source Files

middleware.go

Version
v1.36.3 (latest)
Published
Feb 27, 2025
Platform
js/wasm
Imports
5 packages
Last checked
20 seconds ago

Tools for package owners.