Skip to content

Commit b987207

Browse files
committed
docs URLS, marketplace keywords
1 parent dd8e5b0 commit b987207

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
],
3131
"keywords": [
3232
"AWS",
33+
"CodeCatalyst",
3334
"CodeWhisperer",
3435
"Lambda",
3536
"Serverless"

src/credentials/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { createCommonButtons, createExitButton, createHelpButton } from '../shar
3636
import { getIdeProperties, isCloud9 } from '../shared/extensionUtilities'
3737
import { getCodeCatalystDevEnvId } from '../shared/vscode/env'
3838
import { getConfigFilename } from './sharedCredentials'
39-
import { credentialHelpUrl } from '../shared/constants'
39+
import { authHelpUrl } from '../shared/constants'
4040

4141
export const builderIdStartUrl = 'https://view.awsapps.com/start'
4242
export const ssoScope = 'sso:account:access'
@@ -908,7 +908,7 @@ export async function createBuilderIdConnection(auth: Auth) {
908908
}
909909

910910
Commands.register('aws.auth.help', async () => {
911-
vscode.env.openExternal(vscode.Uri.parse(credentialHelpUrl))
911+
vscode.env.openExternal(vscode.Uri.parse(authHelpUrl))
912912
telemetry.aws_help.emit()
913913
})
914914
Commands.register('aws.auth.signout', () => {

src/credentials/credentialsUtilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const localize = nls.loadMessageBundle()
88

99
import * as vscode from 'vscode'
1010
import { Credentials } from '@aws-sdk/types'
11-
import { credentialHelpUrl } from '../shared/constants'
11+
import { authHelpUrl } from '../shared/constants'
1212
import { Profile } from '../shared/credentials/credentialsFile'
1313
import globals from '../shared/extensionGlobals'
1414
import { isCloud9 } from '../shared/extensionUtilities'
@@ -45,7 +45,7 @@ export function showLoginFailedMessage(credentialsId: string, errMsg: string): v
4545
buttons
4646
).then((selection: string | undefined) => {
4747
if (selection === getHelp) {
48-
vscode.env.openExternal(vscode.Uri.parse(credentialHelpUrl))
48+
vscode.env.openExternal(vscode.Uri.parse(authHelpUrl))
4949
}
5050
if (selection === editCreds) {
5151
vscode.commands.executeCommand('aws.credentials.edit')

src/shared/constants.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ export const githubCreateIssueUrl = `${githubUrl}/issues/new/choose`
2222
export const documentationUrl: string = isCloud9()
2323
? 'https://docs.aws.amazon.com/cloud9/latest/user-guide/toolkit-welcome.html'
2424
: 'https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/welcome.html'
25+
/**
26+
* General help page to help users understand the different ways of connecting to AWS (AWS ID, IAM credentials, SSO).
27+
*
28+
* - alternative?: codecatalyst/latest/userguide/sign-up-create-resources.html
29+
*/
30+
export const authHelpUrl = 'https://docs.aws.amazon.com/general/latest/gr/differences-aws_builder_id.html'
2531
export const credentialHelpUrl: string =
2632
'https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/setup-credentials.html'
2733
export const ssoCredentialsHelpUrl: string =

0 commit comments

Comments
 (0)