Create or update a phone number rule override and associate it with a protect configuration¶
Description¶
Create or update a phone number rule override 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"
)
)