deleteIntegrationResponse method

Future<void> deleteIntegrationResponse({
  1. required String apiId,
  2. required String integrationId,
  3. required String integrationResponseId,
})

Deletes an IntegrationResponses.

May throw NotFoundException. May throw TooManyRequestsException.

Parameter apiId : The API identifier.

Parameter integrationId : The integration ID.

Parameter integrationResponseId : The integration response ID.

Implementation

Future<void> deleteIntegrationResponse({
  required String apiId,
  required String integrationId,
  required String integrationResponseId,
}) async {
  ArgumentError.checkNotNull(apiId, 'apiId');
  ArgumentError.checkNotNull(integrationId, 'integrationId');
  ArgumentError.checkNotNull(integrationResponseId, 'integrationResponseId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v2/apis/${Uri.encodeComponent(apiId)}/integrations/${Uri.encodeComponent(integrationId)}/integrationresponses/${Uri.encodeComponent(integrationResponseId)}',
    exceptionFnMap: _exceptionFns,
  );
}