aws-sdk-pinpointsmsvoicev2 1.34.0 → 1.35.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +37 -21
- data/lib/aws-sdk-pinpointsmsvoicev2/client_api.rb +4 -3
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +22 -10
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +1 -1
- data/sig/client.rbs +1 -1
- data/sig/types.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00fdd88634aeefa429eb14a756bdb10dfbebb0f1fa9b9d9a4050f5f06b440137
|
4
|
+
data.tar.gz: 5e80603f8f0da075160010477973238764a5a86acb4f3c5422f53e71be9d1478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbbc561ec7ee1cded0eb4f367b9eeb61a912a7171584bdc85fc078ace9b118d478d1f4f6d2049f700d7d960d6492206bcfeacab1ec50997deed31b5fb5f05d73
|
7
|
+
data.tar.gz: ac4049cbdf7d1315b77faffb6b151aa10dfbee13ab6f09febcfb44a43b6b8c3d13432630a2379920457ea98afe51508555a9f99ffb24e0a051f0ea539e7e4fb6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -663,6 +663,12 @@ module Aws::PinpointSMSVoiceV2
|
|
663
663
|
# send information about that event to an event destination, or send
|
664
664
|
# notifications to endpoints that are subscribed to an Amazon SNS topic.
|
665
665
|
#
|
666
|
+
# You can only create one event destination at a time. You must provide
|
667
|
+
# a value for a single event destination using either
|
668
|
+
# `CloudWatchLogsDestination`, `KinesisFirehoseDestination` or
|
669
|
+
# `SnsDestination`. If an event destination isn't provided then an
|
670
|
+
# exception is returned.
|
671
|
+
#
|
666
672
|
# Each configuration set can contain between 0 and 5 event destinations.
|
667
673
|
# Each event destination can contain a reference to a single
|
668
674
|
# destination, such as a CloudWatch or Firehose destination.
|
@@ -3539,7 +3545,7 @@ module Aws::PinpointSMSVoiceV2
|
|
3539
3545
|
# resp.protect_configuration_id #=> String
|
3540
3546
|
# resp.number_capability #=> String, one of "SMS", "VOICE", "MMS"
|
3541
3547
|
# resp.country_rule_set #=> Hash
|
3542
|
-
# resp.country_rule_set["IsoCountryCode"].protect_status #=> String, one of "ALLOW", "BLOCK"
|
3548
|
+
# resp.country_rule_set["IsoCountryCode"].protect_status #=> String, one of "ALLOW", "BLOCK", "MONITOR", "FILTER"
|
3543
3549
|
#
|
3544
3550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetProtectConfigurationCountryRuleSet AWS API Documentation
|
3545
3551
|
#
|
@@ -3967,7 +3973,7 @@ module Aws::PinpointSMSVoiceV2
|
|
3967
3973
|
req.send_request(options)
|
3968
3974
|
end
|
3969
3975
|
|
3970
|
-
# Create or update a
|
3976
|
+
# Create or update a phone number rule override and associate it with a
|
3971
3977
|
# protect configuration.
|
3972
3978
|
#
|
3973
3979
|
# @option params [String] :client_token
|
@@ -4263,9 +4269,9 @@ module Aws::PinpointSMSVoiceV2
|
|
4263
4269
|
# or region.
|
4264
4270
|
#
|
4265
4271
|
# @option params [required, String] :message_type
|
4266
|
-
# The type of message. Valid values are TRANSACTIONAL for messages
|
4267
|
-
# are critical or time-sensitive and PROMOTIONAL for messages
|
4268
|
-
# aren't critical or time-sensitive.
|
4272
|
+
# The type of message. Valid values are `TRANSACTIONAL` for messages
|
4273
|
+
# that are critical or time-sensitive and `PROMOTIONAL` for messages
|
4274
|
+
# that aren't critical or time-sensitive.
|
4269
4275
|
#
|
4270
4276
|
# @option params [required, Array<String>] :number_capabilities
|
4271
4277
|
# Indicates if the phone number will be used for text messages, voice
|
@@ -4274,6 +4280,9 @@ module Aws::PinpointSMSVoiceV2
|
|
4274
4280
|
# @option params [required, String] :number_type
|
4275
4281
|
# The type of phone number to request.
|
4276
4282
|
#
|
4283
|
+
# When you request a `SIMULATOR` phone number, you must set
|
4284
|
+
# **MessageType** as `TRANSACTIONAL`.
|
4285
|
+
#
|
4277
4286
|
# @option params [String] :opt_out_list_name
|
4278
4287
|
# The name of the OptOutList to associate with the phone number. You can
|
4279
4288
|
# use the OptOutListName or OptOutListArn.
|
@@ -4562,17 +4571,20 @@ module Aws::PinpointSMSVoiceV2
|
|
4562
4571
|
# @option params [Array<String>] :media_urls
|
4563
4572
|
# An array of URLs to each media file to send.
|
4564
4573
|
#
|
4565
|
-
# The media files have to be stored in
|
4566
|
-
#
|
4567
|
-
#
|
4568
|
-
#
|
4569
|
-
#
|
4574
|
+
# The media files have to be stored in an S3 bucket. Supported media
|
4575
|
+
# file formats are listed in [MMS file types, size and character
|
4576
|
+
# limits][1]. For more information on creating an S3 bucket and managing
|
4577
|
+
# objects, see [Creating a bucket][2], [Uploading objects][3] in the
|
4578
|
+
# *Amazon S3 User Guide*, and [Setting up an Amazon S3 bucket for MMS
|
4579
|
+
# files][4] in the *Amazon Web Services End User Messaging SMS User
|
4580
|
+
# Guide*.
|
4570
4581
|
#
|
4571
4582
|
#
|
4572
4583
|
#
|
4573
4584
|
# [1]: https://docs.aws.amazon.com/sms-voice/latest/userguide/mms-limitations-character.html
|
4574
4585
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html
|
4575
4586
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html
|
4587
|
+
# [4]: https://docs.aws.amazon.com/sms-voice/latest/userguide/send-mms-message.html#send-mms-message-bucket
|
4576
4588
|
#
|
4577
4589
|
# @option params [String] :configuration_set_name
|
4578
4590
|
# The name of the configuration set to use. This can be either the
|
@@ -5181,10 +5193,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5181
5193
|
|
5182
5194
|
# Adds or overwrites only the specified tags for the specified resource.
|
5183
5195
|
# When you specify an existing tag key, the value is overwritten with
|
5184
|
-
# the new value. Each
|
5185
|
-
#
|
5186
|
-
#
|
5187
|
-
# End User Messaging SMS User Guide*.
|
5196
|
+
# the new value. Each tag consists of a key and an optional value. Tag
|
5197
|
+
# keys must be unique per resource. For more information about tags, see
|
5198
|
+
# [Tags ][1] in the *AWS End User Messaging SMS User Guide*.
|
5188
5199
|
#
|
5189
5200
|
#
|
5190
5201
|
#
|
@@ -5583,10 +5594,10 @@ module Aws::PinpointSMSVoiceV2
|
|
5583
5594
|
req.send_request(options)
|
5584
5595
|
end
|
5585
5596
|
|
5586
|
-
# Update a country rule set to `ALLOW` or `
|
5587
|
-
# the specified destination counties. You can
|
5588
|
-
# countries at a time. The updates are only
|
5589
|
-
# NumberCapability type.
|
5597
|
+
# Update a country rule set to `ALLOW`, `BLOCK`, `MONITOR`, or `FILTER`
|
5598
|
+
# messages to be sent to the specified destination counties. You can
|
5599
|
+
# update one or multiple countries at a time. The updates are only
|
5600
|
+
# applied to the specified NumberCapability type.
|
5590
5601
|
#
|
5591
5602
|
# @option params [required, String] :protect_configuration_id
|
5592
5603
|
# The unique identifier for the protect configuration.
|
@@ -5601,6 +5612,11 @@ module Aws::PinpointSMSVoiceV2
|
|
5601
5612
|
# codes, see [Supported countries and regions (SMS channel)][1] in the
|
5602
5613
|
# AWS End User Messaging SMS User Guide.
|
5603
5614
|
#
|
5615
|
+
# For example, to set the United States as allowed and Canada as
|
5616
|
+
# blocked, the `CountryRuleSetUpdates` would be formatted as:
|
5617
|
+
# `"CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA" :
|
5618
|
+
# { "ProtectStatus": "BLOCK" } }`
|
5619
|
+
#
|
5604
5620
|
#
|
5605
5621
|
#
|
5606
5622
|
# [1]: https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html
|
@@ -5619,7 +5635,7 @@ module Aws::PinpointSMSVoiceV2
|
|
5619
5635
|
# number_capability: "SMS", # required, accepts SMS, VOICE, MMS
|
5620
5636
|
# country_rule_set_updates: { # required
|
5621
5637
|
# "IsoCountryCode" => {
|
5622
|
-
# protect_status: "ALLOW", # required, accepts ALLOW, BLOCK
|
5638
|
+
# protect_status: "ALLOW", # required, accepts ALLOW, BLOCK, MONITOR, FILTER
|
5623
5639
|
# },
|
5624
5640
|
# },
|
5625
5641
|
# })
|
@@ -5630,7 +5646,7 @@ module Aws::PinpointSMSVoiceV2
|
|
5630
5646
|
# resp.protect_configuration_id #=> String
|
5631
5647
|
# resp.number_capability #=> String, one of "SMS", "VOICE", "MMS"
|
5632
5648
|
# resp.country_rule_set #=> Hash
|
5633
|
-
# resp.country_rule_set["IsoCountryCode"].protect_status #=> String, one of "ALLOW", "BLOCK"
|
5649
|
+
# resp.country_rule_set["IsoCountryCode"].protect_status #=> String, one of "ALLOW", "BLOCK", "MONITOR", "FILTER"
|
5634
5650
|
#
|
5635
5651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateProtectConfigurationCountryRuleSet AWS API Documentation
|
5636
5652
|
#
|
@@ -5755,7 +5771,7 @@ module Aws::PinpointSMSVoiceV2
|
|
5755
5771
|
tracer: tracer
|
5756
5772
|
)
|
5757
5773
|
context[:gem_name] = 'aws-sdk-pinpointsmsvoicev2'
|
5758
|
-
context[:gem_version] = '1.
|
5774
|
+
context[:gem_version] = '1.35.0'
|
5759
5775
|
Seahorse::Client::Request.new(handlers, context)
|
5760
5776
|
end
|
5761
5777
|
|
@@ -2040,8 +2040,8 @@ module Aws::PinpointSMSVoiceV2
|
|
2040
2040
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2041
2041
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2042
2042
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2043
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2044
2043
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2045
2045
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2046
2046
|
end)
|
2047
2047
|
|
@@ -2113,6 +2113,7 @@ module Aws::PinpointSMSVoiceV2
|
|
2113
2113
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2114
2114
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2115
2115
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2116
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2116
2117
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2117
2118
|
end)
|
2118
2119
|
|
@@ -2330,8 +2331,8 @@ module Aws::PinpointSMSVoiceV2
|
|
2330
2331
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2331
2332
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2332
2333
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2333
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2334
2334
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2335
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2335
2336
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2336
2337
|
end)
|
2337
2338
|
|
@@ -2819,8 +2820,8 @@ module Aws::PinpointSMSVoiceV2
|
|
2819
2820
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2820
2821
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2821
2822
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2822
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2823
2823
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2824
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2824
2825
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2825
2826
|
end)
|
2826
2827
|
|
@@ -4226,7 +4226,8 @@ module Aws::PinpointSMSVoiceV2
|
|
4226
4226
|
include Aws::Structure
|
4227
4227
|
end
|
4228
4228
|
|
4229
|
-
# Provides details on a
|
4229
|
+
# Provides details on phone number rule overrides for a protect
|
4230
|
+
# configuration.
|
4230
4231
|
#
|
4231
4232
|
# @!attribute [rw] destination_phone_number
|
4232
4233
|
# The destination phone number in E.164 format.
|
@@ -5550,8 +5551,8 @@ module Aws::PinpointSMSVoiceV2
|
|
5550
5551
|
# @return [String]
|
5551
5552
|
#
|
5552
5553
|
# @!attribute [rw] message_type
|
5553
|
-
# The type of message. Valid values are TRANSACTIONAL for messages
|
5554
|
-
# that are critical or time-sensitive and PROMOTIONAL for messages
|
5554
|
+
# The type of message. Valid values are `TRANSACTIONAL` for messages
|
5555
|
+
# that are critical or time-sensitive and `PROMOTIONAL` for messages
|
5555
5556
|
# that aren't critical or time-sensitive.
|
5556
5557
|
# @return [String]
|
5557
5558
|
#
|
@@ -5562,6 +5563,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5562
5563
|
#
|
5563
5564
|
# @!attribute [rw] number_type
|
5564
5565
|
# The type of phone number to request.
|
5566
|
+
#
|
5567
|
+
# When you request a `SIMULATOR` phone number, you must set
|
5568
|
+
# **MessageType** as `TRANSACTIONAL`.
|
5565
5569
|
# @return [String]
|
5566
5570
|
#
|
5567
5571
|
# @!attribute [rw] opt_out_list_name
|
@@ -6004,17 +6008,20 @@ module Aws::PinpointSMSVoiceV2
|
|
6004
6008
|
# @!attribute [rw] media_urls
|
6005
6009
|
# An array of URLs to each media file to send.
|
6006
6010
|
#
|
6007
|
-
# The media files have to be stored in
|
6008
|
-
#
|
6009
|
-
#
|
6010
|
-
#
|
6011
|
-
#
|
6011
|
+
# The media files have to be stored in an S3 bucket. Supported media
|
6012
|
+
# file formats are listed in [MMS file types, size and character
|
6013
|
+
# limits][1]. For more information on creating an S3 bucket and
|
6014
|
+
# managing objects, see [Creating a bucket][2], [Uploading objects][3]
|
6015
|
+
# in the *Amazon S3 User Guide*, and [Setting up an Amazon S3 bucket
|
6016
|
+
# for MMS files][4] in the *Amazon Web Services End User Messaging SMS
|
6017
|
+
# User Guide*.
|
6012
6018
|
#
|
6013
6019
|
#
|
6014
6020
|
#
|
6015
6021
|
# [1]: https://docs.aws.amazon.com/sms-voice/latest/userguide/mms-limitations-character.html
|
6016
6022
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html
|
6017
6023
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html
|
6024
|
+
# [4]: https://docs.aws.amazon.com/sms-voice/latest/userguide/send-mms-message.html#send-mms-message-bucket
|
6018
6025
|
# @return [Array<String>]
|
6019
6026
|
#
|
6020
6027
|
# @!attribute [rw] configuration_set_name
|
@@ -6812,8 +6819,8 @@ module Aws::PinpointSMSVoiceV2
|
|
6812
6819
|
# * `ASSOCIATE_BEFORE_SUBMIT` The origination identity has to be
|
6813
6820
|
# supplied when creating a registration.
|
6814
6821
|
#
|
6815
|
-
# * `ASSOCIATE_ON_APPROVAL` This applies to all
|
6816
|
-
# registrations. The
|
6822
|
+
# * `ASSOCIATE_ON_APPROVAL` This applies to all sender ID
|
6823
|
+
# registrations. The sender ID will be automatically provisioned
|
6817
6824
|
# once the registration is approved.
|
6818
6825
|
#
|
6819
6826
|
# * `ASSOCIATE_AFTER_COMPLETE` This applies to phone number
|
@@ -7338,6 +7345,11 @@ module Aws::PinpointSMSVoiceV2
|
|
7338
7345
|
# codes, see [Supported countries and regions (SMS channel)][1] in the
|
7339
7346
|
# AWS End User Messaging SMS User Guide.
|
7340
7347
|
#
|
7348
|
+
# For example, to set the United States as allowed and Canada as
|
7349
|
+
# blocked, the `CountryRuleSetUpdates` would be formatted as:
|
7350
|
+
# `"CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA"
|
7351
|
+
# \: { "ProtectStatus": "BLOCK" } }`
|
7352
|
+
#
|
7341
7353
|
#
|
7342
7354
|
#
|
7343
7355
|
# [1]: https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html
|
data/sig/client.rbs
CHANGED
@@ -1597,7 +1597,7 @@ module Aws
|
|
1597
1597
|
protect_configuration_id: ::String,
|
1598
1598
|
number_capability: ("SMS" | "VOICE" | "MMS"),
|
1599
1599
|
country_rule_set_updates: Hash[::String, {
|
1600
|
-
protect_status: ("ALLOW" | "BLOCK")
|
1600
|
+
protect_status: ("ALLOW" | "BLOCK" | "MONITOR" | "FILTER")
|
1601
1601
|
}]
|
1602
1602
|
) -> _UpdateProtectConfigurationCountryRuleSetResponseSuccess
|
1603
1603
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProtectConfigurationCountryRuleSetResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -1053,7 +1053,7 @@ module Aws::PinpointSMSVoiceV2
|
|
1053
1053
|
end
|
1054
1054
|
|
1055
1055
|
class ProtectConfigurationCountryRuleSetInformation
|
1056
|
-
attr_accessor protect_status: ("ALLOW" | "BLOCK")
|
1056
|
+
attr_accessor protect_status: ("ALLOW" | "BLOCK" | "MONITOR" | "FILTER")
|
1057
1057
|
SENSITIVE: []
|
1058
1058
|
end
|
1059
1059
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|