getCampaignStateBatch method
Get state of campaigns for the specified Amazon Connect account.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Implementation
Future<GetCampaignStateBatchResponse> getCampaignStateBatch({
required List<String> campaignIds,
}) async {
final $payload = <String, dynamic>{
'campaignIds': campaignIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/campaigns-state',
exceptionFnMap: _exceptionFns,
);
return GetCampaignStateBatchResponse.fromJson(response);
}