delete_git_hub_account_token

delete_git_hub_account_token(**kwargs)

Deletes a GitHub account connection.

See also: AWS API Documentation

Request Syntax

response = client.delete_git_hub_account_token(
    tokenName='string'
)
Parameters
tokenName (string) -- The name of the GitHub account connection to delete.
Return type
dict
Returns
Response Syntax
{
    'tokenName': 'string'
}

Response Structure

  • (dict) --

    Represents the output of a DeleteGitHubAccountToken operation.

    • tokenName (string) --

      The name of the GitHub account connection that was deleted.

Exceptions

  • CodeDeploy.Client.exceptions.GitHubAccountTokenNameRequiredException
  • CodeDeploy.Client.exceptions.GitHubAccountTokenDoesNotExistException
  • CodeDeploy.Client.exceptions.InvalidGitHubAccountTokenNameException
  • CodeDeploy.Client.exceptions.ResourceValidationException
  • CodeDeploy.Client.exceptions.OperationNotSupportedException