startCampaign method

Future<void> startCampaign({
  1. required String id,
})

Starts a campaign for the specified Amazon Connect account.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw InvalidCampaignStateException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<void> startCampaign({
  required String id,
}) async {
  await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/campaigns/${Uri.encodeComponent(id)}/start',
    exceptionFnMap: _exceptionFns,
  );
}