getGroupProfile method

Future<GetGroupProfileOutput> getGroupProfile({
  1. required String domainIdentifier,
  2. required String groupIdentifier,
})

Gets a group profile in Amazon DataZone.

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

Parameter domainIdentifier : The identifier of the Amazon DataZone domain in which the group profile exists.

Parameter groupIdentifier : The identifier of the group profile.

Implementation

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