AmplifyGen3 / Client / delete_git_connection

delete_git_connection

AmplifyGen3.Client.delete_git_connection(**kwargs)

Deletes a Git connection, so that the service can no longer access repositories through it. This operation doesn’t remove the app installation or authorization from your Git provider account. To remove them, use your Git provider’s settings. If the connection doesn’t exist, the operation succeeds and does nothing.

See also: AWS API Documentation

Request Syntax

response = client.delete_git_connection(
    Provider='GITHUB'|'GITLAB',
    Owner='string'
)
Parameters:
  • Provider (string) –

    [REQUIRED]

    The Git provider.

  • Owner (string) –

    [REQUIRED]

    The account that the Git connection is for. The value depends on the provider:

    • For GitHub, specify the user or organization name.

    • For GitLab, specify the user name.

    To get this value, call ListGitConnections.

Returns:

None

Exceptions

  • AmplifyGen3.Client.exceptions.ThrottlingException

  • AmplifyGen3.Client.exceptions.AccessDeniedException

  • AmplifyGen3.Client.exceptions.ValidationException

  • AmplifyGen3.Client.exceptions.InternalServerException