deleteGateway method
Deletes a gateway.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter gatewayIdentifier :
The identifier of the gateway to delete.
Implementation
Future<DeleteGatewayResponse> deleteGateway({
required String gatewayIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/gateways/${Uri.encodeComponent(gatewayIdentifier)}/',
exceptionFnMap: _exceptionFns,
);
return DeleteGatewayResponse.fromJson(response);
}