list_campaigns
(**kwargs)¶Provides summary information about the campaigns under the specified Amazon Connect account.
See also: AWS API Documentation
Request Syntax
response = client.list_campaigns(
filters={
'instanceIdFilter': {
'operator': 'Eq',
'value': 'string'
}
},
maxResults=123,
nextToken='string'
)
Filter model by type
Connect instance identifier filter
Operators for Connect instance identifier filter
Amazon Connect Instance Id
dict
Response Syntax
{
'campaignSummaryList': [
{
'arn': 'string',
'connectInstanceId': 'string',
'id': 'string',
'name': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
ListCampaignsResponse
campaignSummaryList (list) --
A list of Amazon Connect campaigns.
(dict) --
An Amazon Connect campaign summary.
arn (string) --
The resource name of an Amazon Connect campaign.
connectInstanceId (string) --
Amazon Connect Instance Id
id (string) --
Identifier representing a Campaign
name (string) --
The name of an Amazon Connect Campaign name.
nextToken (string) --
The token for the next set of results.
Exceptions
ConnectCampaignService.Client.exceptions.InternalServerException
ConnectCampaignService.Client.exceptions.ValidationException
ConnectCampaignService.Client.exceptions.AccessDeniedException