create_phone_number_order
¶
create_phone_number_order(
product_type: PhoneNumberProductType,
e164_phone_numbers: E164PhoneNumberList,
*,
config_overrides: Optional[ChimeSDKVoiceClientConfig] = None,
name: Optional[PhoneNumberName] = None,
) -> CreatePhoneNumberOrderResponse
Creates an order for phone numbers to be provisioned. For numbers outside the U.S., you must use the Amazon Chime SDK SIP media application dial-in product type.
Parameters:
-
product_type(PhoneNumberProductType) –The phone number product type.
-
e164_phone_numbers(E164PhoneNumberList) –List of phone numbers, in E.164 format.
-
name(Optional[PhoneNumberName], default:None) –Specifies the name assigned to one or more phone numbers.
Raises:
-
AccessDeniedException–You don't have the permissions needed to run this action.
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedClientException–The client isn't authorized to request a resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_voice/_services/chime_sdk_voice.py
686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 | |