getProjectProfile method

Future<GetProjectProfileOutput> getProjectProfile({
  1. required String domainIdentifier,
  2. required String identifier,
})

The details of the project profile.

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

Parameter domainIdentifier : The ID of the domain.

Parameter identifier : The ID of the project profile.

Implementation

Future<GetProjectProfileOutput> getProjectProfile({
  required String domainIdentifier,
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/project-profiles/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetProjectProfileOutput.fromJson(response);
}