aws-sdk-pinpointsmsvoicev2 1.59.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +18 -6
- data/lib/aws-sdk-pinpointsmsvoicev2/client_api.rb +40 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +143 -2
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +1 -1
- data/sig/types.rbs +29 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18a9fc9410ac5992d7368f89010a4e97bbc97376340dbddfcb16e6b91c20e890
|
|
4
|
+
data.tar.gz: e8a06fcb0a1a0183c22ad060b578c3d26b3c8bcf995d5f29bbe5d053fff94612
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 428d2ef7eee62f6879353e1b14a87857db84cdc6bea9063ac8ad911c0595525e436ba54c3dee4d15b2c0e14cc9b39c735a1dd531b74e16e183b53f8e44d70648
|
|
7
|
+
data.tar.gz: 7dcac447f53638207988a5dba5af086c8033deff00e37de823adf0561de67f5c449cf4c3081da6463409c251f36f3332f724c9d022124a64760a71a830e0979f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.61.0 (2026-08-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS End User Messaging SMS now returns ConditionalBehavior on DescribeRegistrationFieldDefinitions, allowing you to programmatically discover which registration fields are required, optional, or disallowed based on the values of other fields in the same form.
|
|
8
|
+
|
|
9
|
+
1.60.0 (2026-07-09)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.59.0 (2026-06-29)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.61.0
|
|
@@ -1465,16 +1465,15 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1465
1465
|
end
|
|
1466
1466
|
|
|
1467
1467
|
# Create a new registration attachment to use for uploading a file or a
|
|
1468
|
-
# URL to a file. The maximum file size is
|
|
1469
|
-
#
|
|
1470
|
-
#
|
|
1471
|
-
# submitted.
|
|
1468
|
+
# URL to a file. The maximum file size is 5MB and valid file extensions
|
|
1469
|
+
# are PDF, JPEG and PNG. For example, many sender ID registrations
|
|
1470
|
+
# require a signed “letter of authorization” (LOA) to be submitted.
|
|
1472
1471
|
#
|
|
1473
1472
|
# Use either `AttachmentUrl` or `AttachmentBody` to upload your
|
|
1474
1473
|
# attachment. If both are specified then an exception is returned.
|
|
1475
1474
|
#
|
|
1476
1475
|
# @option params [String, StringIO, File] :attachment_body
|
|
1477
|
-
# The registration file to upload. The maximum file size is
|
|
1476
|
+
# The registration file to upload. The maximum file size is 5MB and
|
|
1478
1477
|
# valid file extensions are PDF, JPEG and PNG.
|
|
1479
1478
|
#
|
|
1480
1479
|
# @option params [String] :attachment_url
|
|
@@ -3812,6 +3811,19 @@ module Aws::PinpointSMSVoiceV2
|
|
|
3812
3811
|
# resp.registration_field_definitions[0].display_hints.select_option_descriptions[0].description #=> String
|
|
3813
3812
|
# resp.registration_field_definitions[0].display_hints.text_validation_description #=> String
|
|
3814
3813
|
# resp.registration_field_definitions[0].display_hints.example_text_value #=> String
|
|
3814
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules #=> Array
|
|
3815
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditions #=> Array
|
|
3816
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditions[0].depends_on_field_path #=> String
|
|
3817
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditions[0].operator #=> String
|
|
3818
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditions[0].values #=> Array
|
|
3819
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditions[0].values[0] #=> String
|
|
3820
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].rule_behavior #=> String
|
|
3821
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditional_validation.min_length #=> Integer
|
|
3822
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditional_validation.max_length #=> Integer
|
|
3823
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditional_validation.pattern #=> String
|
|
3824
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditional_validation.allowed_values #=> Array
|
|
3825
|
+
# resp.registration_field_definitions[0].conditional_behavior.rules[0].conditional_validation.allowed_values[0] #=> String
|
|
3826
|
+
# resp.registration_field_definitions[0].conditional_behavior.default_behavior #=> String
|
|
3815
3827
|
# resp.next_token #=> String
|
|
3816
3828
|
#
|
|
3817
3829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldDefinitions AWS API Documentation
|
|
@@ -7661,7 +7673,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
7661
7673
|
tracer: tracer
|
|
7662
7674
|
)
|
|
7663
7675
|
context[:gem_name] = 'aws-sdk-pinpointsmsvoicev2'
|
|
7664
|
-
context[:gem_version] = '1.
|
|
7676
|
+
context[:gem_version] = '1.61.0'
|
|
7665
7677
|
Seahorse::Client::Request.new(handlers, context)
|
|
7666
7678
|
end
|
|
7667
7679
|
|
|
@@ -40,6 +40,17 @@ module Aws::PinpointSMSVoiceV2
|
|
|
40
40
|
CarrierStatusInformationList = Shapes::ListShape.new(name: 'CarrierStatusInformationList')
|
|
41
41
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
42
42
|
CloudWatchLogsDestination = Shapes::StructureShape.new(name: 'CloudWatchLogsDestination')
|
|
43
|
+
ConditionOperator = Shapes::StringShape.new(name: 'ConditionOperator')
|
|
44
|
+
ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
|
|
45
|
+
ConditionValueList = Shapes::ListShape.new(name: 'ConditionValueList')
|
|
46
|
+
ConditionalBehavior = Shapes::StructureShape.new(name: 'ConditionalBehavior')
|
|
47
|
+
ConditionalFieldBehavior = Shapes::StringShape.new(name: 'ConditionalFieldBehavior')
|
|
48
|
+
ConditionalRule = Shapes::StructureShape.new(name: 'ConditionalRule')
|
|
49
|
+
ConditionalRuleList = Shapes::ListShape.new(name: 'ConditionalRuleList')
|
|
50
|
+
ConditionalValidation = Shapes::StructureShape.new(name: 'ConditionalValidation')
|
|
51
|
+
ConditionalValidationMaxLengthInteger = Shapes::IntegerShape.new(name: 'ConditionalValidationMaxLengthInteger')
|
|
52
|
+
ConditionalValidationMinLengthInteger = Shapes::IntegerShape.new(name: 'ConditionalValidationMinLengthInteger')
|
|
53
|
+
ConditionalValidationPatternString = Shapes::StringShape.new(name: 'ConditionalValidationPatternString')
|
|
43
54
|
ConfigurationSetFilter = Shapes::StructureShape.new(name: 'ConfigurationSetFilter')
|
|
44
55
|
ConfigurationSetFilterList = Shapes::ListShape.new(name: 'ConfigurationSetFilterList')
|
|
45
56
|
ConfigurationSetFilterName = Shapes::StringShape.new(name: 'ConfigurationSetFilterName')
|
|
@@ -193,6 +204,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
193
204
|
EventDestinationName = Shapes::StringShape.new(name: 'EventDestinationName')
|
|
194
205
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
|
195
206
|
EventTypeList = Shapes::ListShape.new(name: 'EventTypeList')
|
|
207
|
+
FieldCondition = Shapes::StructureShape.new(name: 'FieldCondition')
|
|
208
|
+
FieldConditionList = Shapes::ListShape.new(name: 'FieldConditionList')
|
|
196
209
|
FieldPath = Shapes::StringShape.new(name: 'FieldPath')
|
|
197
210
|
FieldPathList = Shapes::ListShape.new(name: 'FieldPathList')
|
|
198
211
|
FieldRequirement = Shapes::StringShape.new(name: 'FieldRequirement')
|
|
@@ -661,6 +674,25 @@ module Aws::PinpointSMSVoiceV2
|
|
|
661
674
|
CloudWatchLogsDestination.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "LogGroupArn"))
|
|
662
675
|
CloudWatchLogsDestination.struct_class = Types::CloudWatchLogsDestination
|
|
663
676
|
|
|
677
|
+
ConditionValueList.member = Shapes::ShapeRef.new(shape: ConditionValue)
|
|
678
|
+
|
|
679
|
+
ConditionalBehavior.add_member(:rules, Shapes::ShapeRef.new(shape: ConditionalRuleList, required: true, location_name: "Rules"))
|
|
680
|
+
ConditionalBehavior.add_member(:default_behavior, Shapes::ShapeRef.new(shape: ConditionalFieldBehavior, required: true, location_name: "DefaultBehavior"))
|
|
681
|
+
ConditionalBehavior.struct_class = Types::ConditionalBehavior
|
|
682
|
+
|
|
683
|
+
ConditionalRule.add_member(:conditions, Shapes::ShapeRef.new(shape: FieldConditionList, required: true, location_name: "Conditions"))
|
|
684
|
+
ConditionalRule.add_member(:rule_behavior, Shapes::ShapeRef.new(shape: ConditionalFieldBehavior, required: true, location_name: "RuleBehavior"))
|
|
685
|
+
ConditionalRule.add_member(:conditional_validation, Shapes::ShapeRef.new(shape: ConditionalValidation, location_name: "ConditionalValidation"))
|
|
686
|
+
ConditionalRule.struct_class = Types::ConditionalRule
|
|
687
|
+
|
|
688
|
+
ConditionalRuleList.member = Shapes::ShapeRef.new(shape: ConditionalRule)
|
|
689
|
+
|
|
690
|
+
ConditionalValidation.add_member(:min_length, Shapes::ShapeRef.new(shape: ConditionalValidationMinLengthInteger, location_name: "MinLength"))
|
|
691
|
+
ConditionalValidation.add_member(:max_length, Shapes::ShapeRef.new(shape: ConditionalValidationMaxLengthInteger, location_name: "MaxLength"))
|
|
692
|
+
ConditionalValidation.add_member(:pattern, Shapes::ShapeRef.new(shape: ConditionalValidationPatternString, location_name: "Pattern"))
|
|
693
|
+
ConditionalValidation.add_member(:allowed_values, Shapes::ShapeRef.new(shape: SelectChoiceList, location_name: "AllowedValues"))
|
|
694
|
+
ConditionalValidation.struct_class = Types::ConditionalValidation
|
|
695
|
+
|
|
664
696
|
ConfigurationSetFilter.add_member(:name, Shapes::ShapeRef.new(shape: ConfigurationSetFilterName, required: true, location_name: "Name"))
|
|
665
697
|
ConfigurationSetFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
|
|
666
698
|
ConfigurationSetFilter.struct_class = Types::ConfigurationSetFilter
|
|
@@ -1420,6 +1452,13 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1420
1452
|
|
|
1421
1453
|
EventTypeList.member = Shapes::ShapeRef.new(shape: EventType)
|
|
1422
1454
|
|
|
1455
|
+
FieldCondition.add_member(:depends_on_field_path, Shapes::ShapeRef.new(shape: FieldPath, required: true, location_name: "DependsOnFieldPath"))
|
|
1456
|
+
FieldCondition.add_member(:operator, Shapes::ShapeRef.new(shape: ConditionOperator, required: true, location_name: "Operator"))
|
|
1457
|
+
FieldCondition.add_member(:values, Shapes::ShapeRef.new(shape: ConditionValueList, location_name: "Values"))
|
|
1458
|
+
FieldCondition.struct_class = Types::FieldCondition
|
|
1459
|
+
|
|
1460
|
+
FieldConditionList.member = Shapes::ShapeRef.new(shape: FieldCondition)
|
|
1461
|
+
|
|
1423
1462
|
FieldPathList.member = Shapes::ShapeRef.new(shape: FieldPath)
|
|
1424
1463
|
|
|
1425
1464
|
FilterValueList.member = Shapes::ShapeRef.new(shape: FilterValue)
|
|
@@ -1999,6 +2038,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1999
2038
|
RegistrationFieldDefinition.add_member(:select_validation, Shapes::ShapeRef.new(shape: SelectValidation, location_name: "SelectValidation"))
|
|
2000
2039
|
RegistrationFieldDefinition.add_member(:text_validation, Shapes::ShapeRef.new(shape: TextValidation, location_name: "TextValidation"))
|
|
2001
2040
|
RegistrationFieldDefinition.add_member(:display_hints, Shapes::ShapeRef.new(shape: RegistrationFieldDisplayHints, required: true, location_name: "DisplayHints"))
|
|
2041
|
+
RegistrationFieldDefinition.add_member(:conditional_behavior, Shapes::ShapeRef.new(shape: ConditionalBehavior, location_name: "ConditionalBehavior"))
|
|
2002
2042
|
RegistrationFieldDefinition.struct_class = Types::RegistrationFieldDefinition
|
|
2003
2043
|
|
|
2004
2044
|
RegistrationFieldDefinitionList.member = Shapes::ShapeRef.new(shape: RegistrationFieldDefinition)
|
|
@@ -322,6 +322,104 @@ module Aws::PinpointSMSVoiceV2
|
|
|
322
322
|
include Aws::Structure
|
|
323
323
|
end
|
|
324
324
|
|
|
325
|
+
# The set of conditional rules that determine a field's resolved
|
|
326
|
+
# requirement based on the values of other fields in the same
|
|
327
|
+
# registration form. Attached to fields whose **FieldRequirement** is
|
|
328
|
+
# **CONDITIONAL**.
|
|
329
|
+
#
|
|
330
|
+
# Evaluation proceeds top-to-bottom through **Rules**. The first rule
|
|
331
|
+
# whose conditions all evaluate to true wins and its behavior is
|
|
332
|
+
# returned. If no rule matches, the **DefaultBehavior** is returned.
|
|
333
|
+
#
|
|
334
|
+
# @!attribute [rw] rules
|
|
335
|
+
# An ordered list of conditional rules. Rules are evaluated
|
|
336
|
+
# top-to-bottom and the first rule whose conditions all evaluate to
|
|
337
|
+
# true determines the field's behavior. Rules whose conditions do not
|
|
338
|
+
# all match are skipped and evaluation continues to the next rule.
|
|
339
|
+
# @return [Array<Types::ConditionalRule>]
|
|
340
|
+
#
|
|
341
|
+
# @!attribute [rw] default_behavior
|
|
342
|
+
# The field behavior that applies when no conditional rule in
|
|
343
|
+
# **Rules** matches. Valid values are **REQUIRED**, **OPTIONAL**, and
|
|
344
|
+
# **DISALLOWED**.
|
|
345
|
+
# @return [String]
|
|
346
|
+
#
|
|
347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ConditionalBehavior AWS API Documentation
|
|
348
|
+
#
|
|
349
|
+
class ConditionalBehavior < Struct.new(
|
|
350
|
+
:rules,
|
|
351
|
+
:default_behavior)
|
|
352
|
+
SENSITIVE = []
|
|
353
|
+
include Aws::Structure
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# A single conditional rule that resolves to a field behavior when all
|
|
357
|
+
# of its conditions evaluate to true. Conditions within a rule are
|
|
358
|
+
# combined with logical AND: all conditions must match for the rule to
|
|
359
|
+
# fire.
|
|
360
|
+
#
|
|
361
|
+
# @!attribute [rw] conditions
|
|
362
|
+
# The conditions that must all evaluate to true for this rule to
|
|
363
|
+
# match. Conditions are combined with logical AND. Use multiple rules
|
|
364
|
+
# with the same **RuleBehavior** to express logical OR.
|
|
365
|
+
# @return [Array<Types::FieldCondition>]
|
|
366
|
+
#
|
|
367
|
+
# @!attribute [rw] rule_behavior
|
|
368
|
+
# The field behavior that applies when all conditions in this rule
|
|
369
|
+
# match. Valid values are **REQUIRED**, **OPTIONAL**, and
|
|
370
|
+
# **DISALLOWED**.
|
|
371
|
+
# @return [String]
|
|
372
|
+
#
|
|
373
|
+
# @!attribute [rw] conditional_validation
|
|
374
|
+
# Optional per-rule validation constraints (minimum length, maximum
|
|
375
|
+
# length, regex pattern, allowed select values) that override the
|
|
376
|
+
# field's default validation when this rule matches.
|
|
377
|
+
# @return [Types::ConditionalValidation]
|
|
378
|
+
#
|
|
379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ConditionalRule AWS API Documentation
|
|
380
|
+
#
|
|
381
|
+
class ConditionalRule < Struct.new(
|
|
382
|
+
:conditions,
|
|
383
|
+
:rule_behavior,
|
|
384
|
+
:conditional_validation)
|
|
385
|
+
SENSITIVE = []
|
|
386
|
+
include Aws::Structure
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# Per-rule validation constraints that override the field's default
|
|
390
|
+
# validation when the containing rule matches. All fields are optional;
|
|
391
|
+
# only the constraints that need to differ from the field's default
|
|
392
|
+
# validation are provided.
|
|
393
|
+
#
|
|
394
|
+
# @!attribute [rw] min_length
|
|
395
|
+
# The minimum length for the field value when this rule applies.
|
|
396
|
+
# @return [Integer]
|
|
397
|
+
#
|
|
398
|
+
# @!attribute [rw] max_length
|
|
399
|
+
# The maximum length for the field value when this rule applies.
|
|
400
|
+
# @return [Integer]
|
|
401
|
+
#
|
|
402
|
+
# @!attribute [rw] pattern
|
|
403
|
+
# A regular expression that the field value must match when this rule
|
|
404
|
+
# applies.
|
|
405
|
+
# @return [String]
|
|
406
|
+
#
|
|
407
|
+
# @!attribute [rw] allowed_values
|
|
408
|
+
# The allowed values for a select field when this rule applies. A
|
|
409
|
+
# subset of the field's full option list.
|
|
410
|
+
# @return [Array<String>]
|
|
411
|
+
#
|
|
412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ConditionalValidation AWS API Documentation
|
|
413
|
+
#
|
|
414
|
+
class ConditionalValidation < Struct.new(
|
|
415
|
+
:min_length,
|
|
416
|
+
:max_length,
|
|
417
|
+
:pattern,
|
|
418
|
+
:allowed_values)
|
|
419
|
+
SENSITIVE = []
|
|
420
|
+
include Aws::Structure
|
|
421
|
+
end
|
|
422
|
+
|
|
325
423
|
# The information for configuration sets that meet a specified criteria.
|
|
326
424
|
#
|
|
327
425
|
# @!attribute [rw] name
|
|
@@ -1293,7 +1391,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1293
1391
|
end
|
|
1294
1392
|
|
|
1295
1393
|
# @!attribute [rw] attachment_body
|
|
1296
|
-
# The registration file to upload. The maximum file size is
|
|
1394
|
+
# The registration file to upload. The maximum file size is 5MB and
|
|
1297
1395
|
# valid file extensions are PDF, JPEG and PNG.
|
|
1298
1396
|
# @return [String]
|
|
1299
1397
|
#
|
|
@@ -4275,6 +4373,41 @@ module Aws::PinpointSMSVoiceV2
|
|
|
4275
4373
|
include Aws::Structure
|
|
4276
4374
|
end
|
|
4277
4375
|
|
|
4376
|
+
# A single condition on a dependency field's value. Conditions are
|
|
4377
|
+
# combined into a **ConditionalRule** and evaluated together with
|
|
4378
|
+
# logical AND.
|
|
4379
|
+
#
|
|
4380
|
+
# @!attribute [rw] depends_on_field_path
|
|
4381
|
+
# The path of the field whose value determines this condition, for
|
|
4382
|
+
# example **companyInfo.businessType**.
|
|
4383
|
+
# @return [String]
|
|
4384
|
+
#
|
|
4385
|
+
# @!attribute [rw] operator
|
|
4386
|
+
# The comparison operator to apply between the dependency field's
|
|
4387
|
+
# value and **Values**. Valid values are **EQUALS**, **NOT\_EQUALS**,
|
|
4388
|
+
# **IN**, **NOT\_IN**, **HAS\_VALUE**, and **NO\_VALUE**. Operators
|
|
4389
|
+
# not in this list are treated as evaluating to false, which causes
|
|
4390
|
+
# the containing rule to be skipped. This allows forward-compatible
|
|
4391
|
+
# additions of new operators without breaking older SDK clients.
|
|
4392
|
+
# @return [String]
|
|
4393
|
+
#
|
|
4394
|
+
# @!attribute [rw] values
|
|
4395
|
+
# The values to compare the dependency field's value against.
|
|
4396
|
+
# Required for the **EQUALS**, **NOT\_EQUALS**, **IN**, and
|
|
4397
|
+
# **NOT\_IN** operators. Omitted for **HAS\_VALUE** and **NO\_VALUE**,
|
|
4398
|
+
# which test only presence.
|
|
4399
|
+
# @return [Array<String>]
|
|
4400
|
+
#
|
|
4401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/FieldCondition AWS API Documentation
|
|
4402
|
+
#
|
|
4403
|
+
class FieldCondition < Struct.new(
|
|
4404
|
+
:depends_on_field_path,
|
|
4405
|
+
:operator,
|
|
4406
|
+
:values)
|
|
4407
|
+
SENSITIVE = []
|
|
4408
|
+
include Aws::Structure
|
|
4409
|
+
end
|
|
4410
|
+
|
|
4278
4411
|
# @!attribute [rw] protect_configuration_id
|
|
4279
4412
|
# The unique identifier for the protect configuration.
|
|
4280
4413
|
# @return [String]
|
|
@@ -6742,6 +6875,13 @@ module Aws::PinpointSMSVoiceV2
|
|
|
6742
6875
|
# An array of RegistrationFieldDisplayHints objects for the field.
|
|
6743
6876
|
# @return [Types::RegistrationFieldDisplayHints]
|
|
6744
6877
|
#
|
|
6878
|
+
# @!attribute [rw] conditional_behavior
|
|
6879
|
+
# The conditional behavior rules for this field. Only present when
|
|
6880
|
+
# **FieldRequirement** is **CONDITIONAL**. Rules are evaluated in
|
|
6881
|
+
# order and the first matching rule determines the field's resolved
|
|
6882
|
+
# requirement. If no rule matches, the **DefaultBehavior** applies.
|
|
6883
|
+
# @return [Types::ConditionalBehavior]
|
|
6884
|
+
#
|
|
6745
6885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RegistrationFieldDefinition AWS API Documentation
|
|
6746
6886
|
#
|
|
6747
6887
|
class RegistrationFieldDefinition < Struct.new(
|
|
@@ -6751,7 +6891,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
6751
6891
|
:field_requirement,
|
|
6752
6892
|
:select_validation,
|
|
6753
6893
|
:text_validation,
|
|
6754
|
-
:display_hints
|
|
6894
|
+
:display_hints,
|
|
6895
|
+
:conditional_behavior)
|
|
6755
6896
|
SENSITIVE = []
|
|
6756
6897
|
include Aws::Structure
|
|
6757
6898
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -87,6 +87,27 @@ module Aws::PinpointSMSVoiceV2
|
|
|
87
87
|
SENSITIVE: []
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
class ConditionalBehavior
|
|
91
|
+
attr_accessor rules: ::Array[Types::ConditionalRule]
|
|
92
|
+
attr_accessor default_behavior: ::String
|
|
93
|
+
SENSITIVE: []
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
class ConditionalRule
|
|
97
|
+
attr_accessor conditions: ::Array[Types::FieldCondition]
|
|
98
|
+
attr_accessor rule_behavior: ::String
|
|
99
|
+
attr_accessor conditional_validation: Types::ConditionalValidation
|
|
100
|
+
SENSITIVE: []
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class ConditionalValidation
|
|
104
|
+
attr_accessor min_length: ::Integer
|
|
105
|
+
attr_accessor max_length: ::Integer
|
|
106
|
+
attr_accessor pattern: ::String
|
|
107
|
+
attr_accessor allowed_values: ::Array[::String]
|
|
108
|
+
SENSITIVE: []
|
|
109
|
+
end
|
|
110
|
+
|
|
90
111
|
class ConfigurationSetFilter
|
|
91
112
|
attr_accessor name: ("event-destination-name" | "matching-event-types" | "default-message-type" | "default-sender-id" | "default-message-feedback-enabled" | "protect-configuration-id")
|
|
92
113
|
attr_accessor values: ::Array[::String]
|
|
@@ -1074,6 +1095,13 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1074
1095
|
SENSITIVE: []
|
|
1075
1096
|
end
|
|
1076
1097
|
|
|
1098
|
+
class FieldCondition
|
|
1099
|
+
attr_accessor depends_on_field_path: ::String
|
|
1100
|
+
attr_accessor operator: ::String
|
|
1101
|
+
attr_accessor values: ::Array[::String]
|
|
1102
|
+
SENSITIVE: []
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1077
1105
|
class GetProtectConfigurationCountryRuleSetRequest
|
|
1078
1106
|
attr_accessor protect_configuration_id: ::String
|
|
1079
1107
|
attr_accessor number_capability: ("SMS" | "VOICE" | "MMS" | "RCS")
|
|
@@ -1709,6 +1737,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1709
1737
|
attr_accessor select_validation: Types::SelectValidation
|
|
1710
1738
|
attr_accessor text_validation: Types::TextValidation
|
|
1711
1739
|
attr_accessor display_hints: Types::RegistrationFieldDisplayHints
|
|
1740
|
+
attr_accessor conditional_behavior: Types::ConditionalBehavior
|
|
1712
1741
|
SENSITIVE: []
|
|
1713
1742
|
end
|
|
1714
1743
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-pinpointsmsvoicev2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.61.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.254.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.254.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|