getPhoneNumberSettings method
Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.
May throw BadRequestException.
May throw ForbiddenException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Implementation
Future<GetPhoneNumberSettingsResponse> getPhoneNumberSettings() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/settings/phone-number',
exceptionFnMap: _exceptionFns,
);
return GetPhoneNumberSettingsResponse.fromJson(response);
}