# NOT RUN {
# The following example updates a receipt rule to use an Amazon S3 action:
svc$update_receipt_rule(
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