ListGitHubAccountTokenNames - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Lists the names of stored connections to GitHub accounts.

Request Syntax

{ "nextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


An identifier returned from the previous ListGitHubAccountTokenNames call. It can be used to return the next set of names in the list.

Type: String

Required: No

Response Syntax

{ "nextToken": "string", "tokenNameList": [ "string" ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent ListGitHubAccountTokenNames call to return the next set of names in the list.

Type: String


A list of names of connections to GitHub accounts.

Type: Array of strings


For information about the errors that are common to all actions, see Common Errors.


The next token was specified in an invalid format.

HTTP Status Code: 400


The API used does not support the deployment.

HTTP Status Code: 400


The specified resource could not be validated.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: