associateWebACL method

Future<void> associateWebACL({
  1. required String resourceArn,
  2. required String webACLId,
})

Implementation

Future<void> associateWebACL({
  required String resourceArn,
  required String webACLId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSWAF_Regional_20161128.AssociateWebACL'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ResourceArn': resourceArn,
      'WebACLId': webACLId,
    },
  );
}