getSipMediaApplication method

Future<GetSipMediaApplicationResponse> getSipMediaApplication({
  1. required String sipMediaApplicationId,
})

Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.

May throw UnauthorizedClientException. May throw NotFoundException. May throw ForbiddenException. May throw BadRequestException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter sipMediaApplicationId : The SIP media application ID.

Implementation

Future<GetSipMediaApplicationResponse> getSipMediaApplication({
  required String sipMediaApplicationId,
}) async {
  ArgumentError.checkNotNull(sipMediaApplicationId, 'sipMediaApplicationId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/sip-media-applications/${Uri.encodeComponent(sipMediaApplicationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetSipMediaApplicationResponse.fromJson(response);
}