Struct: customizations.SignHTTPRequestMiddleware

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

Overview

SignHTTPRequestMiddleware is a FinalizeMiddleware implementation to select HTTP Signing method

Implemented Interfaces

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

Constructor Functions collapse

Method Summary collapse

Function Details

func NewSignHTTPRequestMiddleware(options SignHTTPRequestMiddlewareOptions) *SignHTTPRequestMiddleware

NewSignHTTPRequestMiddleware constructs a SignHTTPRequestMiddleware using the given Signer for signing requests



49
50
51
52
53
54
55
56
// File 'service/s3/internal/customizations/signer_wrapper.go', line 49

func NewSignHTTPRequestMiddleware(options SignHTTPRequestMiddlewareOptions) *SignHTTPRequestMiddleware { return &SignHTTPRequestMiddleware{ credentialsProvider: options.CredentialsProvider, v4Signer: options.V4Signer, v4aSigner: options.V4aSigner, logSigning: options.LogSigning, } }

Method Details

func (s *SignHTTPRequestMiddleware) ID() string

ID is the SignHTTPRequestMiddleware identifier



75
76
77
// File 'service/s3/internal/customizations/signer_wrapper.go', line 75

func (s *SignHTTPRequestMiddleware) ID() string { return "Signing" }