Skip to content

Updates the channel subtype config of a campaign

Description

Updates the channel subtype config of a campaign. This API is idempotent.

Usage

connectcampaignservicev2_update_campaign_channel_subtype_config(id,
  channelSubtypeConfig)

Arguments

  • id

    [required] Identifier representing a Campaign

  • channelSubtypeConfig

    [required] Campaign Channel Subtype config

Value

An empty list.

Request syntax

svc$update_campaign_channel_subtype_config(
  id = "string",
  channelSubtypeConfig = list(
    telephony = list(
      capacity = 123.0,
      connectQueueId = "string",
      outboundMode = list(
        progressive = list(
          bandwidthAllocation = 123.0
        ),
        predictive = list(
          bandwidthAllocation = 123.0,
          pacingStrategies = list(
            list(
              abandonmentRate = list(
                targetRate = 123.0,
                connectionStartPoint = "CONNECTED_TO_SYSTEM"|"GREETING_START"|"GREETING_END",
                connectionThresholdSeconds = 123,
                evaluationWindow = "string"
              )
            )
          )
        ),
        agentless = list(),
        preview = list(
          bandwidthAllocation = 123.0,
          timeoutConfig = list(
            durationInSeconds = 123
          ),
          agentActions = list(
            "DISCARD"
          )
        )
      ),
      defaultOutboundConfig = list(
        connectContactFlowId = "string",
        connectSourcePhoneNumber = "string",
        answerMachineDetectionConfig = list(
          enableAnswerMachineDetection = TRUE|FALSE,
          awaitAnswerMachinePrompt = TRUE|FALSE
        ),
        ringTimeout = 123
      )
    ),
    sms = list(
      capacity = 123.0,
      outboundMode = list(
        agentless = list()
      ),
      defaultOutboundConfig = list(
        connectSourcePhoneNumberArn = "string",
        wisdomTemplateArn = "string"
      )
    ),
    email = list(
      capacity = 123.0,
      outboundMode = list(
        agentless = list()
      ),
      defaultOutboundConfig = list(
        connectSourceEmailAddress = "string",
        sourceEmailAddressDisplayName = "string",
        wisdomTemplateArn = "string"
      )
    ),
    whatsApp = list(
      capacity = 123.0,
      outboundMode = list(
        agentless = list()
      ),
      defaultOutboundConfig = list(
        connectSourcePhoneNumberArn = "string",
        wisdomTemplateArn = "string"
      )
    )
  )
)