Skip to content

Commit 10cb01e

Browse files
committed
TEMP endpoints
1 parent 4bf8624 commit 10cb01e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

server/aws-lsp-codewhisperer/src/shared/constants.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@ export const MISSING_BEARER_TOKEN_ERROR = 'credentialsProvider does not have bea
22
export const INVALID_TOKEN = 'The bearer token included in the request is invalid.'
33
export const GENERIC_UNAUTHORIZED_ERROR = 'User is not authorized to make this call'
44
export 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/'
69
export 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+
816
export 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

0 commit comments

Comments
 (0)