deleteConnectPeer method
Deletes a Connect peer.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter connectPeerId :
The ID of the deleted Connect peer.
Implementation
Future<DeleteConnectPeerResponse> deleteConnectPeer({
required String connectPeerId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/connect-peers/${Uri.encodeComponent(connectPeerId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteConnectPeerResponse.fromJson(response);
}