Menu
AWS CodeDeploy
API Reference (API Version 2014-10-06)

ListGitHubAccountTokenNames

Lists the names of stored connections to GitHub accounts.

Request Syntax

Copy
{ "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.

nextToken

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

Copy
{ "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.

nextToken

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

tokenNameList

A list of names of connections to GitHub accounts.

Type: Array of strings

Errors

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

InvalidNextTokenException

The next token was specified in an invalid format.

HTTP Status Code: 400

ResourceValidationException

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 AWS SDKs, see the following: