describeProject method

Future<DescribeProjectResponse> describeProject({
  1. required String projectId,
})

Retrieves information about a project.

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

Parameter projectId : The ID of the project.

Implementation

Future<DescribeProjectResponse> describeProject({
  required String projectId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/projects/${Uri.encodeComponent(projectId)}',
    hostPrefix: 'monitor.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeProjectResponse.fromJson(response);
}