batchDescribeEntities method

Future<BatchDescribeEntitiesResponse> batchDescribeEntities({
  1. required List<EntityRequest> entityRequestList,
})

Returns metadata and content for multiple entities. This is the Batch version of the DescribeEntity API and uses the same IAM permission action as DescribeEntity API.

May throw AccessDeniedException. May throw InternalServiceException. May throw ThrottlingException. May throw ValidationException.

Parameter entityRequestList : List of entity IDs and the catalogs the entities are present in.

Implementation

Future<BatchDescribeEntitiesResponse> batchDescribeEntities({
  required List<EntityRequest> entityRequestList,
}) async {
  final $payload = <String, dynamic>{
    'EntityRequestList': entityRequestList,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/BatchDescribeEntities',
    exceptionFnMap: _exceptionFns,
  );
  return BatchDescribeEntitiesResponse.fromJson(response);
}