File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
server/aws-lsp-codewhisperer/src/shared Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,20 @@ export const MISSING_BEARER_TOKEN_ERROR = 'credentialsProvider does not have bea
22export const INVALID_TOKEN = 'The bearer token included in the request is invalid.'
33export const GENERIC_UNAUTHORIZED_ERROR = 'User is not authorized to make this call'
44export const BUILDER_ID_START_URL = 'https://view.awsapps.com/start'
5- export const DEFAULT_AWS_Q_ENDPOINT_URL = 'https://codewhisperer.us-east-1.amazonaws.com/'
5+ // gamma
6+ // export const DEFAULT_AWS_Q_ENDPOINT_URL = 'https://rts.gamma-us-east-1.codewhisperer.ai.aws.dev/'
7+ // alpha
8+ export const DEFAULT_AWS_Q_ENDPOINT_URL = 'https://rts.alpha-us-west-2.codewhisperer.ai.aws.dev/'
69export const DEFAULT_AWS_Q_REGION = 'us-east-1'
710
11+ // "aws.dev.codewhispererService": {
12+ // "region": "us-west-2",
13+ // "endpoint": "https://rts.gamma-us-west-2.codewhisperer.ai.aws.dev/"
14+ // }
15+
816export const AWS_Q_ENDPOINTS = new Map ( [
917 [ DEFAULT_AWS_Q_REGION , DEFAULT_AWS_Q_ENDPOINT_URL ] ,
10- [ 'us-east-1' , 'https://codewhisperer.us-east-1.amazonaws.com/' ] ,
18+ [ 'us-east-1' , DEFAULT_AWS_Q_ENDPOINT_URL ] ,
1119 [ 'eu-central-1' , 'https://q.eu-central-1.amazonaws.com/' ] ,
1220] )
1321
You can’t perform that action at this time.
0 commit comments