getBrowserProfile method

Future<GetBrowserProfileResponse> getBrowserProfile({
  1. required String profileId,
})

Gets information about a browser profile.

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

Parameter profileId : The unique identifier of the browser profile to retrieve.

Implementation

Future<GetBrowserProfileResponse> getBrowserProfile({
  required String profileId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/browser-profiles/${Uri.encodeComponent(profileId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetBrowserProfileResponse.fromJson(response);
}