if (FALSE) {
# The following example creates a new receipt rule:
svc$create_receipt_rule(
After = "",
Rule = list(
Actions = list(
list(
S3Action = list(
BucketName = "MyBucket",
ObjectKeyPrefix = "email"
)
)
),
Enabled = TRUE,
Name = "MyRule",
ScanEnabled = TRUE,
TlsPolicy = "Optional"
),
RuleSetName = "MyRuleSet"
)
}
Run the code above in your browser using DataLab