listSizeConstraintSets method
Implementation
Future<ListSizeConstraintSetsResponse> listSizeConstraintSets({
int? limit,
String? nextMarker,
}) async {
_s.validateNumRange(
'limit',
limit,
0,
100,
);
_s.validateStringLength(
'nextMarker',
nextMarker,
1,
1224,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSWAF_Regional_20161128.ListSizeConstraintSets'
};
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 ListSizeConstraintSetsResponse.fromJson(jsonResponse.body);
}