Class: Aws::PinpointSMSVoiceV2::Types::UpdateProtectConfigurationCountryRuleSetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#country_rule_set_updates ⇒ Hash<String,Types::ProtectConfigurationCountryRuleSetInformation>

A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the End User Messaging SMS User Guide.

For example, to set the United States as allowed and Canada as blocked, the CountryRuleSetUpdates would be formatted as: "CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA" \: { "ProtectStatus": "BLOCK" } }



10171
10172
10173
10174
10175
10176
10177
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 10171

class UpdateProtectConfigurationCountryRuleSetRequest < Struct.new(
  :protect_configuration_id,
  :number_capability,
  :country_rule_set_updates)
  SENSITIVE = []
  include Aws::Structure
end

#number_capability ⇒ String

The number capability to apply the CountryRuleSetUpdates updates to.

Returns:

  • (String)


10171
10172
10173
10174
10175
10176
10177
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 10171

class UpdateProtectConfigurationCountryRuleSetRequest < Struct.new(
  :protect_configuration_id,
  :number_capability,
  :country_rule_set_updates)
  SENSITIVE = []
  include Aws::Structure
end

#protect_configuration_id ⇒ String

The unique identifier for the protect configuration.

Returns:

  • (String)


10171
10172
10173
10174
10175
10176
10177
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 10171

class UpdateProtectConfigurationCountryRuleSetRequest < Struct.new(
  :protect_configuration_id,
  :number_capability,
  :country_rule_set_updates)
  SENSITIVE = []
  include Aws::Structure
end