@@ -100,7 +100,6 @@ import { DevSettings } from '../settings'
100100import { getServiceEnvVarConfig } from '../vscode/env'
101101import { AwsCommand } from '../awsClientBuilderV3'
102102import { ClientWrapper } from './clientWrapper'
103- import { StandardRetryStrategy } from '@smithy/util-retry'
104103import { ServiceException } from '@aws-sdk/smithy-client'
105104import { AccessDeniedException } from '@aws-sdk/client-sso-oidc'
106105import { TokenIdentityProvider } from '@aws-sdk/types'
@@ -221,16 +220,14 @@ function toBranch(
221220function createCodeCatalystClientV3 (
222221 tokenProvider : TokenIdentityProvider ,
223222 regionCode : string ,
224- endpoint : string ,
225- maxRetries : number
223+ endpoint : string
226224) : CodeCatalystSDKClient {
227225 return globals . sdkClientBuilderV3 . createAwsService ( {
228226 serviceClient : CodeCatalystSDKClient ,
229227 clientOptions : {
230228 region : regionCode ,
231229 endpoint : endpoint ,
232230 token : tokenProvider ,
233- retryStrategy : new StandardRetryStrategy ( maxRetries ) ,
234231 } ,
235232 } )
236233}
@@ -262,10 +259,9 @@ export async function createClient(
262259 connection : SsoConnection ,
263260 regionCode = getCodeCatalystConfig ( ) . region ,
264261 endpoint = getCodeCatalystConfig ( ) . endpoint ,
265- maxRetries : number = 5 ,
266262 authOptions : AuthOptions = { }
267263) : Promise < CodeCatalystClient > {
268- const sdkv3Client = createCodeCatalystClientV3 ( getTokenProvider ( connection ) , regionCode , endpoint , maxRetries )
264+ const sdkv3Client = createCodeCatalystClientV3 ( getTokenProvider ( connection ) , regionCode , endpoint )
269265 const c = new CodeCatalystClientInternal ( connection , sdkv3Client , regionCode )
270266 try {
271267 await c . verifySession ( )
0 commit comments