delete_git_hub_account_token
async
¶
delete_git_hub_account_token(
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = None,
token_name: Optional[GitHubAccountTokenName] = None,
) -> DeleteGitHubAccountTokenOutput
Deletes a GitHub account connection.
Parameters:
-
token_name(Optional[GitHubAccountTokenName], default:None) –The name of the GitHub account connection to delete.
Raises:
-
GitHubAccountTokenDoesNotExistException–No GitHub account connection exists with the named specified in the call.
-
GitHubAccountTokenNameRequiredException–The call is missing a required GitHub account connection name.
-
InvalidGitHubAccountTokenNameException–The format of the specified GitHub account connection name is invalid.
-
OperationNotSupportedException–The API used does not support the deployment.
-
ResourceValidationException–The specified resource could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codedeploy/_services/async_code_deploy.py
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 | |