getProxySession method
Retrieves the specified proxy session details for the specified Amazon Chime SDK Voice Connector.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter proxySessionId :
The proxy session ID.
Parameter voiceConnectorId :
The Voice Connector ID.
Implementation
Future<GetProxySessionResponse> getProxySession({
required String proxySessionId,
required String voiceConnectorId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/proxy-sessions/${Uri.encodeComponent(proxySessionId)}',
exceptionFnMap: _exceptionFns,
);
return GetProxySessionResponse.fromJson(response);
}