...

Package context

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

Overview ▾

Constants

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

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.