Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 configure the
SNS topic to allow the Firewall Manager role AWSServiceRoleForFMS
to
publish SNS logs. For more information, see
Firewall Manager required permissions for API actions
in the Firewall Manager Developer Guide.
Synopsis
- data PutNotificationChannel = PutNotificationChannel' {
- snsTopicArn :: Text
- snsRoleName :: Text
- newPutNotificationChannel :: Text -> Text -> PutNotificationChannel
- putNotificationChannel_snsTopicArn :: Lens' PutNotificationChannel Text
- putNotificationChannel_snsRoleName :: Lens' PutNotificationChannel Text
- data PutNotificationChannelResponse = PutNotificationChannelResponse' {
- newPutNotificationChannelResponse :: PutNotificationChannelResponse
Creating a Request
data PutNotificationChannel Source #
See: newPutNotificationChannel
smart constructor.
PutNotificationChannel' | |
|
Instances
newPutNotificationChannel Source #
:: Text | |
-> Text | |
-> PutNotificationChannel |
Create a value of PutNotificationChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:snsTopicArn:PutNotificationChannel'
, putNotificationChannel_snsTopicArn
- The Amazon Resource Name (ARN) of the SNS topic that collects
notifications from Firewall Manager.
$sel:snsRoleName:PutNotificationChannel'
, putNotificationChannel_snsRoleName
- The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to
record Firewall Manager activity.
Request Lenses
putNotificationChannel_snsTopicArn :: Lens' PutNotificationChannel Text Source #
The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.
putNotificationChannel_snsRoleName :: Lens' PutNotificationChannel Text Source #
The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.
Destructuring the Response
data PutNotificationChannelResponse Source #
See: newPutNotificationChannelResponse
smart constructor.
Instances
newPutNotificationChannelResponse :: PutNotificationChannelResponse Source #
Create a value of PutNotificationChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.