getWebExperience method

Future<GetWebExperienceResponse> getWebExperience({
  1. required String applicationId,
  2. required String webExperienceId,
})

Gets information about an existing Amazon Q Business web experience.

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

Parameter applicationId : The identifier of the Amazon Q Business application linked to the web experience.

Parameter webExperienceId : The identifier of the Amazon Q Business web experience.

Implementation

Future<GetWebExperienceResponse> getWebExperience({
  required String applicationId,
  required String webExperienceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/applications/${Uri.encodeComponent(applicationId)}/experiences/${Uri.encodeComponent(webExperienceId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetWebExperienceResponse.fromJson(response);
}