@@ -442,7 +442,6 @@ func NewAWSSessionV2() *awsv2.Config {
442442 Expect (err ).NotTo (HaveOccurred ())
443443 optFns := []func (* config.LoadOptions ) error {
444444 config .WithRegion (region ),
445- config .WithClientLogMode (awsv2 .LogRequest ),
446445 }
447446 cfg , err := config .LoadDefaultConfig (context .Background (), optFns ... )
448447 Expect (err ).NotTo (HaveOccurred ())
@@ -458,7 +457,6 @@ func NewAWSSessionRepoWithKeyV2(accessKey *iamtypes.AccessKey) *awsv2.Config {
458457 staticCredProvider := awscredsv2 .NewStaticCredentialsProvider (awsv2 .ToString (accessKey .AccessKeyId ), awsv2 .ToString (accessKey .SecretAccessKey ), "" )
459458 optFns := []func (* config.LoadOptions ) error {
460459 config .WithRegion (region ),
461- config .WithClientLogMode (awsv2 .LogRequest ),
462460 config .WithCredentialsProvider (staticCredProvider ),
463461 }
464462 cfg , err := config .LoadDefaultConfig (context .Background (), optFns ... )
@@ -475,7 +473,6 @@ func NewAWSSessionWithKeyV2(accessKey *iamtypes.AccessKey) *awsv2.Config {
475473 staticCredProvider := awscredsv2 .NewStaticCredentialsProvider (awsv2 .ToString (accessKey .AccessKeyId ), awsv2 .ToString (accessKey .SecretAccessKey ), "" )
476474 optFns := []func (* config.LoadOptions ) error {
477475 config .WithRegion (region ),
478- config .WithClientLogMode (awsv2 .LogRequest ),
479476 config .WithCredentialsProvider (staticCredProvider ),
480477 }
481478 cfg , err := config .LoadDefaultConfig (context .Background (), optFns ... )
0 commit comments