batchGetAgentSpaces method

Future<BatchGetAgentSpacesOutput> batchGetAgentSpaces({
  1. required List<String> agentSpaceIds,
})

Retrieves information about one or more agent spaces.

Parameter agentSpaceIds : The list of agent space identifiers to retrieve.

Implementation

Future<BatchGetAgentSpacesOutput> batchGetAgentSpaces({
  required List<String> agentSpaceIds,
}) async {
  final $payload = <String, dynamic>{
    'agentSpaceIds': agentSpaceIds,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/BatchGetAgentSpaces',
    exceptionFnMap: _exceptionFns,
  );
  return BatchGetAgentSpacesOutput.fromJson(response);
}