package context

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

Index

Constants

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

Functions

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 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.23.3
Published
Nov 29, 2023
Platform
darwin/amd64
Imports
2 packages
Last checked
17 seconds ago

Tools for package owners.