Skip to content

Put Protect Configuration Rule Set Number Override

pinpointsmsvoicev2_put_protect_configuration_rule_set_number_override R Documentation

Create or update a RuleSetNumberOverride and associate it with a protect configuration

Description

Create or update a RuleSetNumberOverride and associate it with a protect configuration.

Usage

pinpointsmsvoicev2_put_protect_configuration_rule_set_number_override(
  ClientToken, ProtectConfigurationId, DestinationPhoneNumber, Action,
  ExpirationTimestamp)

Arguments

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

ProtectConfigurationId

[required] The unique identifier for the protect configuration.

DestinationPhoneNumber

[required] The destination phone number in E.164 format.

Action

[required] The action for the rule to either block or allow messages to the destination phone number.

ExpirationTimestamp

The time the rule will expire at. If ExpirationTimestamp is not set then the rule does not expire.

Value

A list with the following syntax:

list(
  ProtectConfigurationArn = "string",
  ProtectConfigurationId = "string",
  DestinationPhoneNumber = "string",
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  ),
  Action = "ALLOW"|"BLOCK",
  IsoCountryCode = "string",
  ExpirationTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$put_protect_configuration_rule_set_number_override(
  ClientToken = "string",
  ProtectConfigurationId = "string",
  DestinationPhoneNumber = "string",
  Action = "ALLOW"|"BLOCK",
  ExpirationTimestamp = as.POSIXct(
    "2015-01-01"
  )
)