Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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