getView method

Future<GetViewOutput> getView({
  1. required String viewArn,
})

Retrieves details of the specified view.

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

Parameter viewArn : The Amazon resource name (ARN) of the view that you want information about.

Implementation

Future<GetViewOutput> getView({
  required String viewArn,
}) async {
  final $payload = <String, dynamic>{
    'ViewArn': viewArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/GetView',
    exceptionFnMap: _exceptionFns,
  );
  return GetViewOutput.fromJson(response);
}