batchGetView method

Future<BatchGetViewOutput> batchGetView({
  1. List<String>? viewArns,
})

Retrieves details about a list of views.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw UnauthorizedException. May throw ValidationException.

Parameter viewArns : A list of Amazon resource names (ARNs) that identify the views you want details for.

Implementation

Future<BatchGetViewOutput> batchGetView({
  List<String>? viewArns,
}) async {
  final $payload = <String, dynamic>{
    if (viewArns != null) 'ViewArns': viewArns,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/BatchGetView',
    exceptionFnMap: _exceptionFns,
  );
  return BatchGetViewOutput.fromJson(response);
}