getApplication method

Future<GetApplicationResponse> getApplication({
  1. required String arn,
})

Get an Application resource.

May throw AccessDeniedException. May throw InternalServiceError. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter arn : The Amazon Resource Name (ARN) of the Application.

Implementation

Future<GetApplicationResponse> getApplication({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/applications/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetApplicationResponse.fromJson(response);
}