Build Event Handlers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | build_event_handler(target, rule, action_list, name, status = c("inactive",
"active"), description = NA)
rule_config(type = c("DailyTrafficRule", "DailyTotalTrafficRule",
"MonthlyTrafficRule", "MonthlyTotalTrafficRule", "CumulativeTrafficRule"),
limit_traffic, timing = c("NEVER", "IMMEDIATELY", "BEGINNING_OF_NEXT_MONTH",
"BEGINNING_OF_NEXT_DAY", "AFTER_ONE_DAY"))
change_speed_class_action(speed_class = c("s1.minimum", "s1.slow",
"s1.standard", "s1.fast"), timing = c("NEVER", "IMMEDIATELY",
"BEGINNING_OF_NEXT_MONTH", "BEGINNING_OF_NEXT_DAY", "AFTER_ONE_DAY"))
send_mail_action(to, message, title, timing = c("NEVER", "IMMEDIATELY",
"BEGINNING_OF_NEXT_MONTH", "BEGINNING_OF_NEXT_DAY", "AFTER_ONE_DAY"))
send_mail_to_operator_action(message, title, timing = c("NEVER",
"IMMEDIATELY", "BEGINNING_OF_NEXT_MONTH", "BEGINNING_OF_NEXT_DAY",
"AFTER_ONE_DAY"))
invoke_aws_lambda_action(endpoint, function_name, access_key, secret_access_key,
parameter_1, parameter_2, parameter_3, timing = c("NEVER", "IMMEDIATELY",
"BEGINNING_OF_NEXT_MONTH", "BEGINNING_OF_NEXT_DAY", "AFTER_ONE_DAY"))
|
target |
Target. See details. |
rule |
Rule. |
action_list |
Action list. |
name |
Name of the handler. |
status |
Handler status. |
description |
Description. |
type |
Configuration type. |
limit_traffic |
Limit traffic in megabytes. |
timing |
Timing when the handler is fired. |
speed_class |
Maximum speed class. |
to |
Destination of the notification mail. |
message |
Message body of the notification mail. |
title |
Title of the notification mail. |
endpoint |
AWS Lambda's endpoint. |
function_name |
AWS Lambda's function name. |
access_key |
AWS access key. |
secret_access_key |
AWS secret key. |
parameter_1 |
The first parameter of Lambda. |
parameter_2 |
The second parameter of Lambda. |
parameter_3 |
The third parameter of Lambda. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.