getNotificationChannel method
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
May throw InternalErrorException.
May throw InvalidOperationException.
May throw ResourceNotFoundException.
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);
}