package context

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

Index

Constants

const (
	// S3BackendS3Express identifies the S3Express backend
	S3BackendS3Express = "S3Express"
)

Functions

func GetAttemptSkewContext

func GetAttemptSkewContext(ctx context.Context) time.Duration

GetAttemptSkewContext gets the clock skew value from the context

func GetChecksumInputAlgorithm

func GetChecksumInputAlgorithm(ctx context.Context) string

GetChecksumInputAlgorithm returns the checksum algorithm from the context.

func GetS3Backend

func GetS3Backend(ctx context.Context) string

GetS3Backend retrieves the stored endpoint backend within the context.

func SetAttemptSkewContext

func SetAttemptSkewContext(ctx context.Context, v time.Duration) context.Context

SetAttemptSkewContext sets the clock skew value on the context

func SetChecksumInputAlgorithm

func SetChecksumInputAlgorithm(ctx context.Context, value string) context.Context

SetChecksumInputAlgorithm sets the request checksum algorithm on the context.

func SetS3Backend

func SetS3Backend(ctx context.Context, typ string) context.Context

SetS3Backend stores the resolved endpoint backend within the request context, which is required for a variety of custom S3 behaviors.

Source Files

context.go

Version
v1.36.3 (latest)
Published
Feb 27, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.