deletePrivateConnection method
Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter name :
The name of the Private Connection.
Implementation
Future<DeletePrivateConnectionOutput> deletePrivateConnection({
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/private-connections/${Uri.encodeComponent(name)}',
hostPrefix: 'cp.',
exceptionFnMap: _exceptionFns,
);
return DeletePrivateConnectionOutput.fromJson(response);
}