ConnectCampaignService.Client.get_campaign_state(**kwargs)¶Get state of a campaign for the specified Amazon Connect account.
See also: AWS API Documentation
Request Syntax
response = client.get_campaign_state(
id='string'
)
[REQUIRED]
Identifier representing a Campaign
{
'state': 'Initialized'|'Running'|'Paused'|'Stopped'|'Failed'
}
Response Structure
GetCampaignStateResponse
State of a campaign
Exceptions
ConnectCampaignService.Client.exceptions.InternalServerExceptionConnectCampaignService.Client.exceptions.ResourceNotFoundExceptionConnectCampaignService.Client.exceptions.ValidationExceptionConnectCampaignService.Client.exceptions.AccessDeniedExceptionConnectCampaignService.Client.exceptions.ThrottlingException