Skip to content

Create a new protect configuration

Description

Create a new protect configuration. By default all country rule sets for each capability are set to ALLOW. Update the country rule sets using update_protect_configuration_country_rule_set. A protect configurations name is stored as a Tag with the key set to Name and value as the name of the protect configuration.

Usage

pinpointsmsvoicev2_create_protect_configuration(ClientToken,
  DeletionProtectionEnabled, Tags)

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.

  • DeletionProtectionEnabled

    When set to true deletion protection is enabled. By default this is set to false.

  • Tags

    An array of key and value pair tags that are associated with the resource.

Value

A list with the following syntax:

list(
  ProtectConfigurationArn = "string",
  ProtectConfigurationId = "string",
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  ),
  AccountDefault = TRUE|FALSE,
  DeletionProtectionEnabled = TRUE|FALSE,
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$create_protect_configuration(
  ClientToken = "string",
  DeletionProtectionEnabled = TRUE|FALSE,
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)