# NOT RUN {
# The following example creates a new receipt rule:
# }
# NOT RUN {
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"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab