Details about any publicly accessible functionalities exposed through extension commands or exported APIs.
Signature: async (source: string, startUrl?: string, region?: string, customizationArn?: string, customizationNamePrefix?: string) => Promise
Shortcut command to directly connect to Identity Center or prompt start URL entry, as well as set a customization for CodeWhisperer requests.
This command supports the following arguments:
- source: An identifier of the caller of this command. This can be used for something like telemetry.
- startUrl and region. If both arguments are provided they will be used, otherwise the command prompts for them interactively.
- customizationArn: select customization by ARN. If provided,
customizationNamePrefix
is ignored. - customizationNamePrefix: select customization by prefix, if
customizationArn
isundefined
.
Signature: async () => Promise
This is an API that exposes the metadata of SSO connections of AWS Toolkit. It returns a list of AwsConnection
which contains below fields:
- id: string that presents the id of the connection
- label: label of the connection
- type: type of the connection, currently only 'sso' is returned
- ssoRegion: region of the connection, e.g: us-west-2
- startUrl: start url of the connection
- scopes?: list of the scopes of the connection