getNotificationChannel method
Information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
May throw ResourceNotFoundException. May throw InvalidOperationException. May throw InternalErrorException.
Implementation
Future<GetNotificationChannelResponse> getNotificationChannel() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSFMS_20180101.GetNotificationChannel'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return GetNotificationChannelResponse.fromJson(jsonResponse.body);
}