From a3294c0bee7e285350e1109ef04a0ea9fa7ce904 Mon Sep 17 00:00:00 2001 From: Jordan Nelson Date: Wed, 20 Sep 2023 16:44:29 -0400 Subject: [PATCH] chore: update comment --- .../smithy_aws/lib/src/http/interceptors/with_sig_v4.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/smithy/smithy_aws/lib/src/http/interceptors/with_sig_v4.dart b/packages/smithy/smithy_aws/lib/src/http/interceptors/with_sig_v4.dart index e2dd6e4bf1..5ee34b4de4 100644 --- a/packages/smithy/smithy_aws/lib/src/http/interceptors/with_sig_v4.dart +++ b/packages/smithy/smithy_aws/lib/src/http/interceptors/with_sig_v4.dart @@ -32,6 +32,10 @@ class WithSigV4 extends HttpRequestInterceptor { @override Future intercept(AWSBaseHttpRequest request) async { // Do not attempt to sign requests where auth is optional. + // + // This is only set in Cognito and SSO services where the trait indicates + // that signing is strictly unnecessary and that signing the request does + // not impact the behavior of the APIs. if (isOptional) return request; final signer = AWSSigV4Signer(