diff --git a/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift b/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift index 2b5cf0a081b..2e38bd963f8 100644 --- a/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift +++ b/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift @@ -11,4 +11,11 @@ public struct SigV4AuthScheme: ClientRuntime.AuthScheme { public let schemeID: String = "aws.auth#sigv4" public let signer: ClientRuntime.Signer = AWSSigV4Signer() public let idKind: ClientRuntime.IdentityKind = .aws + + public func customizeSigningProperties(signingProperties: Attributes, context: HttpContext) -> Attributes { + var copy = signingProperties + copy.set(key: AttributeKeys.bidirectionalStreaming, value: context.isBidirectionalStreamingEnabled()) + copy.set(key: AttributeKeys.signingRegion, value: context.getSigningRegion()) + return copy + } }