Struct: checksum.SetupInputContext

import "../ibm-cos-sdk-go-v2/service/internal/checksum"

Overview

SetupInputContext is the initial middleware that looks up the input used to configure checksum behavior. This middleware must be executed before input validation step or any other checksum middleware.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

RequestChecksumCalculation aws.RequestChecksumCalculation

RequestChecksumCalculation is the user config to opt-in/out request checksum calculation. If RequireChecksum is set to true, checksum will be calculated and this field will be ignored, otherwise RequestChecksumCalculation will be used to indicate if checksum will be calculated

RequireChecksum bool

RequireChecksum indicates whether operation model forces middleware to compute the input payload’s checksum. If RequireChecksum is set to true, checksum will be calculated and RequestChecksumCalculation will be ignored, otherwise RequestChecksumCalculation will be used to indicate if checksum will be calculated

Method Details

func (m *SetupInputContext) ID() string

ID for the middleware



38
39
40
// File 'service/internal/checksum/middleware_setup_context.go', line 38

func (m *SetupInputContext) ID() string { return "AWSChecksum:SetupInputContext" }