| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FMS.GetNotificationChannel
Description
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
Synopsis
- data GetNotificationChannel = GetNotificationChannel' {
- newGetNotificationChannel :: GetNotificationChannel
- data GetNotificationChannelResponse = GetNotificationChannelResponse' {
- snsRoleName :: Maybe Text
- snsTopicArn :: Maybe Text
- httpStatus :: Int
- newGetNotificationChannelResponse :: Int -> GetNotificationChannelResponse
- getNotificationChannelResponse_snsRoleName :: Lens' GetNotificationChannelResponse (Maybe Text)
- getNotificationChannelResponse_snsTopicArn :: Lens' GetNotificationChannelResponse (Maybe Text)
- getNotificationChannelResponse_httpStatus :: Lens' GetNotificationChannelResponse Int
Creating a Request
data GetNotificationChannel Source #
See: newGetNotificationChannel smart constructor.
Constructors
| GetNotificationChannel' | |
Instances
newGetNotificationChannel :: GetNotificationChannel Source #
Create a value of GetNotificationChannel with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetNotificationChannelResponse Source #
See: newGetNotificationChannelResponse smart constructor.
Constructors
| GetNotificationChannelResponse' | |
Fields
| |
Instances
newGetNotificationChannelResponse Source #
Create a value of GetNotificationChannelResponse 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:snsRoleName:GetNotificationChannelResponse', getNotificationChannelResponse_snsRoleName - The IAM role that is used by Firewall Manager to record activity to SNS.
$sel:snsTopicArn:GetNotificationChannelResponse', getNotificationChannelResponse_snsTopicArn - The SNS topic that records Firewall Manager activity.
$sel:httpStatus:GetNotificationChannelResponse', getNotificationChannelResponse_httpStatus - The response's http status code.
Response Lenses
getNotificationChannelResponse_snsRoleName :: Lens' GetNotificationChannelResponse (Maybe Text) Source #
The IAM role that is used by Firewall Manager to record activity to SNS.
getNotificationChannelResponse_snsTopicArn :: Lens' GetNotificationChannelResponse (Maybe Text) Source #
The SNS topic that records Firewall Manager activity.
getNotificationChannelResponse_httpStatus :: Lens' GetNotificationChannelResponse Int Source #
The response's http status code.