getAnalysisTemplate method

Future<GetAnalysisTemplateOutput> getAnalysisTemplate({
  1. required String analysisTemplateIdentifier,
  2. required String membershipIdentifier,
})

Retrieves an analysis template.

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

Parameter analysisTemplateIdentifier : The identifier for the analysis template resource.

Parameter membershipIdentifier : The identifier for a membership resource.

Implementation

Future<GetAnalysisTemplateOutput> getAnalysisTemplate({
  required String analysisTemplateIdentifier,
  required String membershipIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/memberships/${Uri.encodeComponent(membershipIdentifier)}/analysistemplates/${Uri.encodeComponent(analysisTemplateIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetAnalysisTemplateOutput.fromJson(response);
}