getSystem method

Future<GetSystemResponse> getSystem({
  1. required String systemArn,
})

Retrieves a system by ARN.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Implementation

Future<GetSystemResponse> getSystem({
  required String systemArn,
}) async {
  final $query = <String, List<String>>{
    'systemArn': [systemArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v2/get-system',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetSystemResponse.fromJson(response);
}