enableProactiveEngagement method

Future<void> enableProactiveEngagement()

Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.

May throw InternalErrorException. May throw InvalidOperationException. May throw InvalidParameterException. May throw OptimisticLockException. May throw ResourceNotFoundException.

Implementation

Future<void> enableProactiveEngagement() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSShield_20160616.EnableProactiveEngagement'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );
}