getInvitationConfiguration method

Future<GetInvitationConfigurationResponse> getInvitationConfiguration()

Retrieves the configured values for the user enrollment invitation email template.

May throw NotFoundException.

Implementation

Future<GetInvitationConfigurationResponse>
    getInvitationConfiguration() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AlexaForBusiness.GetInvitationConfiguration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetInvitationConfigurationResponse.fromJson(jsonResponse.body);
}