Skip to content

Commit 803bb47

Browse files
author
David Hasani
committed
undo
1 parent f1b70a8 commit 803bb47

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/core/src/auth/connection.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ const warnOnce = onceChanged((s: string, url: string) => {
2828
export const scopesCodeCatalyst = ['codecatalyst:read_write']
2929
export const scopesSsoAccountAccess = ['sso:account:access']
3030
/** These are the non-chat scopes for CW. */
31-
export const scopesCodeWhispererCore = ['codewhisperer_internal:completions', 'codewhisperer_internal:analysis']
32-
export const scopesCodeWhispererChat = ['codewhisperer_internal:conversations']
33-
export const scopesFeatureDev = ['codewhisperer_internal:taskassist']
34-
export const scopesGumby = ['codewhisperer_internal:transformations']
31+
export const scopesCodeWhispererCore = ['codewhisperer:completions', 'codewhisperer:analysis']
32+
export const scopesCodeWhispererChat = ['codewhisperer:conversations']
33+
export const scopesFeatureDev = ['codewhisperer:taskassist']
34+
export const scopesGumby = ['codewhisperer:transformations']
3535

3636
export const defaultSsoRegion = 'us-east-1'
3737

packages/core/src/codewhisperer/region/regionProfileManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ import { CachedResource } from '../../shared/utilities/resourceCache'
3434
// TODO: is there a better way to manage all endpoint strings in one place?
3535
export const defaultServiceConfig: CodeWhispererConfig = {
3636
region: 'us-east-1',
37-
endpoint: 'https://rts.gamma-us-east-1.codewhisperer.ai.aws.dev/',
37+
endpoint: 'https://codewhisperer.us-east-1.amazonaws.com/',
3838
}
3939

4040
// Hack until we have a single discovery endpoint. We will call each endpoint one by one to fetch profile before then.
4141
const endpoints = createConstantMap({
42-
'us-east-1': 'https://rts.gamma-us-east-1.codewhisperer.ai.aws.dev/',
42+
'us-east-1': 'https://q.us-east-1.amazonaws.com/',
4343
'eu-central-1': 'https://q.eu-central-1.amazonaws.com/',
4444
})
4545

0 commit comments

Comments
 (0)