getSipMediaApplication method
Future<GetSipMediaApplicationResponse>
getSipMediaApplication({
- required String sipMediaApplicationId,
Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter sipMediaApplicationId :
The SIP media application ID .
Implementation
Future<GetSipMediaApplicationResponse> getSipMediaApplication({
required String sipMediaApplicationId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/sip-media-applications/${Uri.encodeComponent(sipMediaApplicationId)}',
exceptionFnMap: _exceptionFns,
);
return GetSipMediaApplicationResponse.fromJson(response);
}