getEventSourceMapping method

Future<EventSourceMappingConfiguration> getEventSourceMapping({
  1. required String uuid,
})

Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

May throw ServiceException. May throw ResourceNotFoundException. May throw InvalidParameterValueException. May throw TooManyRequestsException.

Parameter uuid : The identifier of the event source mapping.

Implementation

Future<EventSourceMappingConfiguration> getEventSourceMapping({
  required String uuid,
}) async {
  ArgumentError.checkNotNull(uuid, 'uuid');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2015-03-31/event-source-mappings/${Uri.encodeComponent(uuid)}',
    exceptionFnMap: _exceptionFns,
  );
  return EventSourceMappingConfiguration.fromJson(response);
}