listRegexPatternSets method
Future<ListRegexPatternSetsResponse>
listRegexPatternSets(
{ - int? limit,
- String? nextMarker,
})
Implementation
Future<ListRegexPatternSetsResponse> listRegexPatternSets({
int? limit,
String? nextMarker,
}) async {
_s.validateNumRange(
'limit',
limit,
0,
100,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSWAF_Regional_20161128.ListRegexPatternSets'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (limit != null) 'Limit': limit,
if (nextMarker != null) 'NextMarker': nextMarker,
},
);
return ListRegexPatternSetsResponse.fromJson(jsonResponse.body);
}