getIntegrationResponse method

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

Gets 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<GetIntegrationResponseResponse> getIntegrationResponse({
  required String apiId,
  required String integrationId,
  required String integrationResponseId,
}) async {
  ArgumentError.checkNotNull(apiId, 'apiId');
  ArgumentError.checkNotNull(integrationId, 'integrationId');
  ArgumentError.checkNotNull(integrationResponseId, 'integrationResponseId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v2/apis/${Uri.encodeComponent(apiId)}/integrations/${Uri.encodeComponent(integrationId)}/integrationresponses/${Uri.encodeComponent(integrationResponseId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetIntegrationResponseResponse.fromJson(response);
}