deleteInboundExternalLink method

Future<DeleteInboundExternalLinkResponse> deleteInboundExternalLink({
  1. required String gatewayId,
  2. required String linkId,
})

Deletes an inbound external link.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter gatewayId : The unique identifier of the gateway.

Parameter linkId : The unique identifier of the link.

Implementation

Future<DeleteInboundExternalLinkResponse> deleteInboundExternalLink({
  required String gatewayId,
  required String linkId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/responder-gateway/${Uri.encodeComponent(gatewayId)}/inbound-external-link/${Uri.encodeComponent(linkId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteInboundExternalLinkResponse.fromJson(response);
}