getCampaignState method
Get state of a campaign for the specified Amazon Connect account.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Implementation
Future<GetCampaignStateResponse> getCampaignState({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/campaigns/${Uri.encodeComponent(id)}/state',
exceptionFnMap: _exceptionFns,
);
return GetCampaignStateResponse.fromJson(response);
}