create_bot
async
¶
create_bot(
account_id: NonEmptyString,
display_name: SensitiveString,
*,
config_overrides: Optional[AsyncChimeClientConfig] = None,
domain: Optional[NonEmptyString] = None,
) -> CreateBotResponse
Creates a bot for an Amazon Chime Enterprise account.
Parameters:
-
account_id(NonEmptyString) –The Amazon Chime account ID.
-
display_name(SensitiveString) –The bot display name.
-
domain(Optional[NonEmptyString], default:None) –The domain of the Amazon Chime Enterprise account.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime/_services/async_chime.py
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 | |