Skip to content

Updates an existing notify configuration

Description

Updates an existing notify configuration. You can update the default template, pool association, enabled channels, enabled countries, and deletion protection settings.

Usage

pinpointsmsvoicev2_update_notify_configuration(NotifyConfigurationId,
  DefaultTemplateId, PoolId, EnabledCountries, EnabledChannels,
  DeletionProtectionEnabled)

Arguments

  • NotifyConfigurationId

[required] The identifier of the notify configuration to update. The NotifyConfigurationId can be found using the describe_notify_configurations operation.

  • DefaultTemplateId

The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier. Pass the special value UNSET_DEFAULT_TEMPLATE to clear the current default template from the notify configuration.

  • PoolId

The pool identifier or Amazon Resource Name (ARN) to associate with the notify configuration. Pass the special value UNSET_DEFAULT_POOL_FOR_NOTIFY to clear the current default pool from the notify configuration.

  • EnabledCountries

An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

  • EnabledChannels

An array of channels to enable for the notify configuration. Supported values include SMS and VOICE.

  • DeletionProtectionEnabled

When set to true the notify configuration can't be deleted.

Value

A list with the following syntax:

list(
  NotifyConfigurationArn = "string",
  NotifyConfigurationId = "string",
  DisplayName = "string",
  UseCase = "CODE_VERIFICATION",
  DefaultTemplateId = "string",
  PoolId = "string",
  EnabledCountries = list(
    "string"
  ),
  EnabledChannels = list(
    "SMS"|"VOICE"|"MMS"|"RCS"
  ),
  Tier = "BASIC"|"ADVANCED",
  TierUpgradeStatus = "BASIC"|"PENDING_UPGRADE"|"ADVANCED"|"REJECTED",
  Status = "PENDING"|"ACTIVE"|"REJECTED"|"REQUIRES_VERIFICATION",
  RejectionReason = "string",
  DeletionProtectionEnabled = TRUE|FALSE,
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_notify_configuration(
  NotifyConfigurationId = "string",
  DefaultTemplateId = "string",
  PoolId = "string",
  EnabledCountries = list(
    "string"
  ),
  EnabledChannels = list(
    "SMS"|"VOICE"|"MMS"|"RCS"
  ),
  DeletionProtectionEnabled = TRUE|FALSE
)