deleteResourceGateway method

Future<DeleteResourceGatewayResponse> deleteResourceGateway({
  1. required String resourceGatewayIdentifier,
})

Deletes the specified resource gateway.

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

Parameter resourceGatewayIdentifier : The ID or ARN of the resource gateway.

Implementation

Future<DeleteResourceGatewayResponse> deleteResourceGateway({
  required String resourceGatewayIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/resourcegateways/${Uri.encodeComponent(resourceGatewayIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteResourceGatewayResponse.fromJson(response);
}