Struct: v4.SignHTTPRequestMiddleware

import "../ibm-cos-sdk-go-v2/aws/signer/v4"

Overview

SignHTTPRequestMiddleware is a FinalizeMiddleware implementation for SigV4 HTTP Signing.

Deprecated: AWS service clients no longer use this middleware. Signing as an SDK operation is now performed through an internal per-service middleware which opaquely selects and uses the signer from the resolved auth scheme.

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.

Deprecated: SignHTTPRequestMiddleware is deprecated.



270
271
272
273
274
275
276
// File 'aws/signer/v4/middleware.go', line 270

func NewSignHTTPRequestMiddleware(options SignHTTPRequestMiddlewareOptions) *SignHTTPRequestMiddleware { return &SignHTTPRequestMiddleware{ credentialsProvider: options.CredentialsProvider, signer: options.Signer, logSigning: options.LogSigning, } }

Method Details

func (s *SignHTTPRequestMiddleware) ID() string

ID is the SignHTTPRequestMiddleware identifier.

Deprecated: SignHTTPRequestMiddleware is deprecated.



281
282
283
// File 'aws/signer/v4/middleware.go', line 281

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