airflow.providers.amazon.aws.hooks.chime

This module contains a web hook for Chime.

Module Contents

Classes

ChimeWebhookHook

Interact with Amazon Chime Webhooks to create notifications.

class airflow.providers.amazon.aws.hooks.chime.ChimeWebhookHook(chime_conn_id, *args, **kwargs)[source]

Bases: airflow.providers.http.hooks.http.HttpHook

Interact with Amazon Chime Webhooks to create notifications.

Warning

This hook is only designed to work with web hooks and not chat bots.

Parameters

chime_conn_id (str) – Amazon Chime Connection ID with Endpoint as https://hooks.chime.aws and the webhook token in the form of {webhook.id}?token{webhook.token}

conn_name_attr = 'chime_conn_id'[source]
default_conn_name = 'chime_default'[source]
conn_type = 'chime'[source]
hook_name = 'Amazon Chime Webhook'[source]
webhook_endpoint()[source]
send_message(message)[source]

Execute calling the Chime webhook endpoint.

Parameters

message (str) – The message you want to send to your Chime room.(max 4096 characters)

classmethod get_ui_field_behaviour()[source]

Return custom field behaviour to only get what is needed for Chime webhooks to function.

Was this entry helpful?