delete_git_hub_account_token
¶
delete_git_hub_account_token(
*,
config_overrides: Optional[CodeDeployClientConfig] = 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/code_deploy.py
1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 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 | |