describeApplication method

Future<DescribeApplicationResponse> describeApplication({
  1. required String id,
  2. required String workspaceName,
})

Retrieves Application details based on the ID

May throw AccessDeniedException. May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter id : ID of the Application

Parameter workspaceName : Name of the workspace to associate with the underlying Application

Implementation

Future<DescribeApplicationResponse> describeApplication({
  required String id,
  required String workspaceName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/workspaces/${Uri.encodeComponent(workspaceName)}/applications/${Uri.encodeComponent(id)}',
    hostPrefix: 'api.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeApplicationResponse.fromJson(response);
}