Smaws_Client_FMS.PutNotificationChannel
val request :
Smaws_Lib.Context.t ->
put_notification_channel_request ->
(unit,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalErrorException of internal_error_exception
| `InvalidOperationException of invalid_operation_exception
| `ResourceNotFoundException of resource_not_found_exception ])
Stdlib.result
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the SnsRoleName
to publish SNS logs. If the SnsRoleName
provided is a role other than the AWSServiceRoleForFMS
service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principal fms.amazonaws.com
to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.