getDataIntegrationEvent method
Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event. Developers can view the eventType, eventGroupId, eventTimestamp, datasetTarget, datasetLoadExecution.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter eventId :
The unique event identifier.
Parameter instanceId :
The Amazon Web Services Supply Chain instance identifier.
Implementation
Future<GetDataIntegrationEventResponse> getDataIntegrationEvent({
required String eventId,
required String instanceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/api-data/data-integration/instance/${Uri.encodeComponent(instanceId)}/data-integration-events/${Uri.encodeComponent(eventId)}',
exceptionFnMap: _exceptionFns,
);
return GetDataIntegrationEventResponse.fromJson(response);
}