create_chime_webhook_configuration
¶
create_chime_webhook_configuration(
webhook_description: ChimeWebhookDescription,
webhook_url: ChimeWebhookUrl,
sns_topic_arns: SnsTopicArnList,
iam_role_arn: Arn,
configuration_name: ConfigurationName,
*,
config_overrides: Optional[chatbotClientConfig] = None,
logging_level: Optional[CustomerCwLogLevel] = None,
tags: Optional[Tags] = None,
) -> CreateChimeWebhookConfigurationResult
Creates an AWS Chatbot configuration for Amazon Chime.
Parameters:
-
webhook_description(ChimeWebhookDescription) –A description of the webhook. We recommend using the convention
RoomName/WebhookName.For more information, see Tutorial: Get started with Amazon Chime in the AWS Chatbot Administrator Guide.
-
webhook_url(ChimeWebhookUrl) –The URL for the Amazon Chime webhook.
-
sns_topic_arns(SnsTopicArnList) –The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
-
iam_role_arn(Arn) –A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
-
configuration_name(ConfigurationName) –The name of the configuration.
-
logging_level(Optional[CustomerCwLogLevel], default:None) –Logging levels include
ERROR,INFO, orNONE. -
tags(Optional[Tags], default:None) –A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
Raises:
-
ConflictException–There was an issue processing your request.
-
CreateChimeWebhookConfigurationException–We can’t process your request right now because of a server issue. Try again later.
-
InvalidParameterException–Your request input doesn't meet the constraints required by AWS Chatbot.
-
InvalidRequestException–Your request input doesn't meet the constraints required by AWS Chatbot.
-
LimitExceededException–You have exceeded a service limit for AWS Chatbot.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chatbot/_services/chatbot.py
315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 | |