DevOpsAgentService / Client / delete_private_connection

delete_private_connection

DevOpsAgentService.Client.delete_private_connection(**kwargs)

Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.

See also: AWS API Documentation

Request Syntax

response = client.delete_private_connection(
    name='string'
)
Parameters:

name (string) –

[REQUIRED]

The name of the Private Connection.

Return type:

dict

Returns:

Response Syntax

{
    'name': 'string',
    'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'
}

Response Structure

  • (dict) –

    Output containing the status of the Private Connection deletion.

    • name (string) –

      The name of the Private Connection.

    • status (string) –

      The status of the Private Connection.

Exceptions

  • DevOpsAgentService.Client.exceptions.ValidationException

  • DevOpsAgentService.Client.exceptions.ContentSizeExceededException

  • DevOpsAgentService.Client.exceptions.ServiceQuotaExceededException

  • DevOpsAgentService.Client.exceptions.ConflictException

  • DevOpsAgentService.Client.exceptions.InternalServerException

  • DevOpsAgentService.Client.exceptions.AccessDeniedException

  • DevOpsAgentService.Client.exceptions.ResourceNotFoundException

  • DevOpsAgentService.Client.exceptions.ThrottlingException

  • DevOpsAgentService.Client.exceptions.InvalidParameterException