describeProject method

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

Returns an object describing a project.

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

Parameter projectName : The name of the project to be described.

Implementation

Future<DescribeProjectResponse> describeProject({
  required String projectName,
}) async {
  ArgumentError.checkNotNull(projectName, 'projectName');
  _s.validateStringLength(
    'projectName',
    projectName,
    1,
    128,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/projects/${Uri.encodeComponent(projectName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeProjectResponse.fromJson(response);
}