@@ -442,7 +442,6 @@ func NewAWSSessionV2() *awsv2.Config {
442
442
Expect (err ).NotTo (HaveOccurred ())
443
443
optFns := []func (* config.LoadOptions ) error {
444
444
config .WithRegion (region ),
445
- config .WithClientLogMode (awsv2 .LogRequest ),
446
445
}
447
446
cfg , err := config .LoadDefaultConfig (context .Background (), optFns ... )
448
447
Expect (err ).NotTo (HaveOccurred ())
@@ -458,7 +457,6 @@ func NewAWSSessionRepoWithKeyV2(accessKey *iamtypes.AccessKey) *awsv2.Config {
458
457
staticCredProvider := awscredsv2 .NewStaticCredentialsProvider (awsv2 .ToString (accessKey .AccessKeyId ), awsv2 .ToString (accessKey .SecretAccessKey ), "" )
459
458
optFns := []func (* config.LoadOptions ) error {
460
459
config .WithRegion (region ),
461
- config .WithClientLogMode (awsv2 .LogRequest ),
462
460
config .WithCredentialsProvider (staticCredProvider ),
463
461
}
464
462
cfg , err := config .LoadDefaultConfig (context .Background (), optFns ... )
@@ -475,7 +473,6 @@ func NewAWSSessionWithKeyV2(accessKey *iamtypes.AccessKey) *awsv2.Config {
475
473
staticCredProvider := awscredsv2 .NewStaticCredentialsProvider (awsv2 .ToString (accessKey .AccessKeyId ), awsv2 .ToString (accessKey .SecretAccessKey ), "" )
476
474
optFns := []func (* config.LoadOptions ) error {
477
475
config .WithRegion (region ),
478
- config .WithClientLogMode (awsv2 .LogRequest ),
479
476
config .WithCredentialsProvider (staticCredProvider ),
480
477
}
481
478
cfg , err := config .LoadDefaultConfig (context .Background (), optFns ... )
0 commit comments