aws-sdk-pinpointsmsvoicev2 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +0 -574
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +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: 7ad298fee279122c87afcb890b547212e583c67b5a5e8b8673cf64bc201c4a93
|
4
|
+
data.tar.gz: 778d8664b6f97276fe075ca49a70df4f392223dff029209f18873e0e12b812e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6304b74e9be827a5b1663ff9601dea929d531971d3fa8dd7755cb631399bfc27f2ccfbd4d64168c559a2fc00ca64639ba513ec80fc031afc603b9f2f0ca5ee1d
|
7
|
+
data.tar.gz: 9e89c059659e697247327f144c797eecfd275ad7e29d49a4fc2108fe224753f6fafee4aff59f7367501fb8401304d7d4069eb9ac989664dddd26361b52ee44a2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.1.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -3013,7 +3013,7 @@ module Aws::PinpointSMSVoiceV2
|
|
3013
3013
|
params: params,
|
3014
3014
|
config: config)
|
3015
3015
|
context[:gem_name] = 'aws-sdk-pinpointsmsvoicev2'
|
3016
|
-
context[:gem_version] = '1.
|
3016
|
+
context[:gem_version] = '1.2.0'
|
3017
3017
|
Seahorse::Client::Request.new(handlers, context)
|
3018
3018
|
end
|
3019
3019
|
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::PinpointSMSVoiceV2
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sms-voice-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sms-voice-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sms-voice.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sms-voice.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW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CJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0
|
95
|
-
cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpb
|
96
|
-
eyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0
|
97
|
-
QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBw
|
98
|
-
b3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3si
|
99
|
-
Y29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc21z
|
100
|
-
LXZvaWNlLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5z
|
101
|
-
U3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUi
|
102
|
-
OiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFs
|
103
|
-
U3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qg
|
104
|
-
c3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0
|
105
|
-
aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc21zLXZvaWNl
|
106
|
-
LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3Bl
|
107
|
-
cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1d
|
108
|
-
fQ==
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -75,16 +75,6 @@ module Aws::PinpointSMSVoiceV2
|
|
75
75
|
include Aws::Structure
|
76
76
|
end
|
77
77
|
|
78
|
-
# @note When making an API call, you may pass AssociateOriginationIdentityRequest
|
79
|
-
# data as a hash:
|
80
|
-
#
|
81
|
-
# {
|
82
|
-
# pool_id: "PoolIdOrArn", # required
|
83
|
-
# origination_identity: "PhoneOrSenderIdOrArn", # required
|
84
|
-
# iso_country_code: "IsoCountryCode", # required
|
85
|
-
# client_token: "ClientToken",
|
86
|
-
# }
|
87
|
-
#
|
88
78
|
# @!attribute [rw] pool_id
|
89
79
|
# The pool to update with the new Identity. This value can be either
|
90
80
|
# the PoolId or PoolArn, and you can find these values using
|
@@ -163,14 +153,6 @@ module Aws::PinpointSMSVoiceV2
|
|
163
153
|
# Contains the destination configuration to use when publishing message
|
164
154
|
# sending events.
|
165
155
|
#
|
166
|
-
# @note When making an API call, you may pass CloudWatchLogsDestination
|
167
|
-
# data as a hash:
|
168
|
-
#
|
169
|
-
# {
|
170
|
-
# iam_role_arn: "IamRoleArn", # required
|
171
|
-
# log_group_arn: "LogGroupArn", # required
|
172
|
-
# }
|
173
|
-
#
|
174
156
|
# @!attribute [rw] iam_role_arn
|
175
157
|
# The Amazon Resource Name (ARN) of an Amazon Identity and Access
|
176
158
|
# Management (IAM) role that is able to write event data to an Amazon
|
@@ -193,14 +175,6 @@ module Aws::PinpointSMSVoiceV2
|
|
193
175
|
|
194
176
|
# The information for configuration sets that meet a specified criteria.
|
195
177
|
#
|
196
|
-
# @note When making an API call, you may pass ConfigurationSetFilter
|
197
|
-
# data as a hash:
|
198
|
-
#
|
199
|
-
# {
|
200
|
-
# name: "event-destination-name", # required, accepts event-destination-name, matching-event-types, default-message-type, default-sender-id
|
201
|
-
# values: ["FilterValue"], # required
|
202
|
-
# }
|
203
|
-
#
|
204
178
|
# @!attribute [rw] name
|
205
179
|
# The name of the attribute to filter on.
|
206
180
|
# @return [String]
|
@@ -297,20 +271,6 @@ module Aws::PinpointSMSVoiceV2
|
|
297
271
|
include Aws::Structure
|
298
272
|
end
|
299
273
|
|
300
|
-
# @note When making an API call, you may pass CreateConfigurationSetRequest
|
301
|
-
# data as a hash:
|
302
|
-
#
|
303
|
-
# {
|
304
|
-
# configuration_set_name: "ConfigurationSetName", # required
|
305
|
-
# tags: [
|
306
|
-
# {
|
307
|
-
# key: "TagKey", # required
|
308
|
-
# value: "TagValue", # required
|
309
|
-
# },
|
310
|
-
# ],
|
311
|
-
# client_token: "ClientToken",
|
312
|
-
# }
|
313
|
-
#
|
314
274
|
# @!attribute [rw] configuration_set_name
|
315
275
|
# The name to use for the new configuration set.
|
316
276
|
# @return [String]
|
@@ -374,27 +334,6 @@ module Aws::PinpointSMSVoiceV2
|
|
374
334
|
include Aws::Structure
|
375
335
|
end
|
376
336
|
|
377
|
-
# @note When making an API call, you may pass CreateEventDestinationRequest
|
378
|
-
# data as a hash:
|
379
|
-
#
|
380
|
-
# {
|
381
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
382
|
-
# event_destination_name: "EventDestinationName", # required
|
383
|
-
# matching_event_types: ["ALL"], # required, accepts ALL, TEXT_ALL, TEXT_SENT, TEXT_PENDING, TEXT_QUEUED, TEXT_SUCCESSFUL, TEXT_DELIVERED, TEXT_INVALID, TEXT_INVALID_MESSAGE, TEXT_UNREACHABLE, TEXT_CARRIER_UNREACHABLE, TEXT_BLOCKED, TEXT_CARRIER_BLOCKED, TEXT_SPAM, TEXT_UNKNOWN, TEXT_TTL_EXPIRED, VOICE_ALL, VOICE_INITIATED, VOICE_RINGING, VOICE_ANSWERED, VOICE_COMPLETED, VOICE_BUSY, VOICE_NO_ANSWER, VOICE_FAILED, VOICE_TTL_EXPIRED
|
384
|
-
# cloud_watch_logs_destination: {
|
385
|
-
# iam_role_arn: "IamRoleArn", # required
|
386
|
-
# log_group_arn: "LogGroupArn", # required
|
387
|
-
# },
|
388
|
-
# kinesis_firehose_destination: {
|
389
|
-
# iam_role_arn: "IamRoleArn", # required
|
390
|
-
# delivery_stream_arn: "DeliveryStreamArn", # required
|
391
|
-
# },
|
392
|
-
# sns_destination: {
|
393
|
-
# topic_arn: "SnsTopicArn", # required
|
394
|
-
# },
|
395
|
-
# client_token: "ClientToken",
|
396
|
-
# }
|
397
|
-
#
|
398
337
|
# @!attribute [rw] configuration_set_name
|
399
338
|
# Either the name of the configuration set or the configuration set
|
400
339
|
# ARN to apply event logging to. The ConfigurateSetName and
|
@@ -472,20 +411,6 @@ module Aws::PinpointSMSVoiceV2
|
|
472
411
|
include Aws::Structure
|
473
412
|
end
|
474
413
|
|
475
|
-
# @note When making an API call, you may pass CreateOptOutListRequest
|
476
|
-
# data as a hash:
|
477
|
-
#
|
478
|
-
# {
|
479
|
-
# opt_out_list_name: "OptOutListName", # required
|
480
|
-
# tags: [
|
481
|
-
# {
|
482
|
-
# key: "TagKey", # required
|
483
|
-
# value: "TagValue", # required
|
484
|
-
# },
|
485
|
-
# ],
|
486
|
-
# client_token: "ClientToken",
|
487
|
-
# }
|
488
|
-
#
|
489
414
|
# @!attribute [rw] opt_out_list_name
|
490
415
|
# The name of the new OptOutList.
|
491
416
|
# @return [String]
|
@@ -547,23 +472,6 @@ module Aws::PinpointSMSVoiceV2
|
|
547
472
|
include Aws::Structure
|
548
473
|
end
|
549
474
|
|
550
|
-
# @note When making an API call, you may pass CreatePoolRequest
|
551
|
-
# data as a hash:
|
552
|
-
#
|
553
|
-
# {
|
554
|
-
# origination_identity: "PhoneOrSenderIdOrArn", # required
|
555
|
-
# iso_country_code: "IsoCountryCode", # required
|
556
|
-
# message_type: "TRANSACTIONAL", # required, accepts TRANSACTIONAL, PROMOTIONAL
|
557
|
-
# deletion_protection_enabled: false,
|
558
|
-
# tags: [
|
559
|
-
# {
|
560
|
-
# key: "TagKey", # required
|
561
|
-
# value: "TagValue", # required
|
562
|
-
# },
|
563
|
-
# ],
|
564
|
-
# client_token: "ClientToken",
|
565
|
-
# }
|
566
|
-
#
|
567
475
|
# @!attribute [rw] origination_identity
|
568
476
|
# The origination identity to use such as a PhoneNumberId,
|
569
477
|
# PhoneNumberArn, SenderId or SenderIdArn. You can use
|
@@ -700,13 +608,6 @@ module Aws::PinpointSMSVoiceV2
|
|
700
608
|
include Aws::Structure
|
701
609
|
end
|
702
610
|
|
703
|
-
# @note When making an API call, you may pass DeleteConfigurationSetRequest
|
704
|
-
# data as a hash:
|
705
|
-
#
|
706
|
-
# {
|
707
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
708
|
-
# }
|
709
|
-
#
|
710
611
|
# @!attribute [rw] configuration_set_name
|
711
612
|
# The name of the configuration set or the configuration set ARN that
|
712
613
|
# you want to delete. The ConfigurationSetName and ConfigurationSetArn
|
@@ -764,13 +665,6 @@ module Aws::PinpointSMSVoiceV2
|
|
764
665
|
include Aws::Structure
|
765
666
|
end
|
766
667
|
|
767
|
-
# @note When making an API call, you may pass DeleteDefaultMessageTypeRequest
|
768
|
-
# data as a hash:
|
769
|
-
#
|
770
|
-
# {
|
771
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
772
|
-
# }
|
773
|
-
#
|
774
668
|
# @!attribute [rw] configuration_set_name
|
775
669
|
# The name of the configuration set or the configuration set Amazon
|
776
670
|
# Resource Name (ARN) to delete the default message type from. The
|
@@ -808,13 +702,6 @@ module Aws::PinpointSMSVoiceV2
|
|
808
702
|
include Aws::Structure
|
809
703
|
end
|
810
704
|
|
811
|
-
# @note When making an API call, you may pass DeleteDefaultSenderIdRequest
|
812
|
-
# data as a hash:
|
813
|
-
#
|
814
|
-
# {
|
815
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
816
|
-
# }
|
817
|
-
#
|
818
705
|
# @!attribute [rw] configuration_set_name
|
819
706
|
# The name of the configuration set or the configuration set Amazon
|
820
707
|
# Resource Name (ARN) to delete the default sender ID from. The
|
@@ -852,14 +739,6 @@ module Aws::PinpointSMSVoiceV2
|
|
852
739
|
include Aws::Structure
|
853
740
|
end
|
854
741
|
|
855
|
-
# @note When making an API call, you may pass DeleteEventDestinationRequest
|
856
|
-
# data as a hash:
|
857
|
-
#
|
858
|
-
# {
|
859
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
860
|
-
# event_destination_name: "EventDestinationName", # required
|
861
|
-
# }
|
862
|
-
#
|
863
742
|
# @!attribute [rw] configuration_set_name
|
864
743
|
# The name of the configuration set or the configuration set's Amazon
|
865
744
|
# Resource Name (ARN) to remove the event destination from. The
|
@@ -903,14 +782,6 @@ module Aws::PinpointSMSVoiceV2
|
|
903
782
|
include Aws::Structure
|
904
783
|
end
|
905
784
|
|
906
|
-
# @note When making an API call, you may pass DeleteKeywordRequest
|
907
|
-
# data as a hash:
|
908
|
-
#
|
909
|
-
# {
|
910
|
-
# origination_identity: "PhoneOrPoolIdOrArn", # required
|
911
|
-
# keyword: "Keyword", # required
|
912
|
-
# }
|
913
|
-
#
|
914
785
|
# @!attribute [rw] origination_identity
|
915
786
|
# The origination identity to use such as a PhoneNumberId,
|
916
787
|
# PhoneNumberArn, PoolId or PoolArn. You can use DescribePhoneNumbers
|
@@ -963,13 +834,6 @@ module Aws::PinpointSMSVoiceV2
|
|
963
834
|
include Aws::Structure
|
964
835
|
end
|
965
836
|
|
966
|
-
# @note When making an API call, you may pass DeleteOptOutListRequest
|
967
|
-
# data as a hash:
|
968
|
-
#
|
969
|
-
# {
|
970
|
-
# opt_out_list_name: "OptOutListNameOrArn", # required
|
971
|
-
# }
|
972
|
-
#
|
973
837
|
# @!attribute [rw] opt_out_list_name
|
974
838
|
# The OptOutListName or OptOutListArn of the OptOutList to delete. You
|
975
839
|
# can use DescribeOptOutLists to find the values for OptOutListName
|
@@ -1011,14 +875,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1011
875
|
include Aws::Structure
|
1012
876
|
end
|
1013
877
|
|
1014
|
-
# @note When making an API call, you may pass DeleteOptedOutNumberRequest
|
1015
|
-
# data as a hash:
|
1016
|
-
#
|
1017
|
-
# {
|
1018
|
-
# opt_out_list_name: "OptOutListNameOrArn", # required
|
1019
|
-
# opted_out_number: "PhoneNumber", # required
|
1020
|
-
# }
|
1021
|
-
#
|
1022
878
|
# @!attribute [rw] opt_out_list_name
|
1023
879
|
# The OptOutListName or OptOutListArn to remove the phone number from.
|
1024
880
|
# @return [String]
|
@@ -1074,13 +930,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1074
930
|
include Aws::Structure
|
1075
931
|
end
|
1076
932
|
|
1077
|
-
# @note When making an API call, you may pass DeletePoolRequest
|
1078
|
-
# data as a hash:
|
1079
|
-
#
|
1080
|
-
# {
|
1081
|
-
# pool_id: "PoolIdOrArn", # required
|
1082
|
-
# }
|
1083
|
-
#
|
1084
933
|
# @!attribute [rw] pool_id
|
1085
934
|
# The PoolId or PoolArn of the pool to delete. You can use
|
1086
935
|
# DescribePools to find the values for PoolId and PoolArn .
|
@@ -1205,14 +1054,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1205
1054
|
include Aws::Structure
|
1206
1055
|
end
|
1207
1056
|
|
1208
|
-
# @note When making an API call, you may pass DescribeAccountAttributesRequest
|
1209
|
-
# data as a hash:
|
1210
|
-
#
|
1211
|
-
# {
|
1212
|
-
# next_token: "NextToken",
|
1213
|
-
# max_results: 1,
|
1214
|
-
# }
|
1215
|
-
#
|
1216
1057
|
# @!attribute [rw] next_token
|
1217
1058
|
# The token to be used for the next set of paginated results. You
|
1218
1059
|
# don't need to supply a value for this field in the initial request.
|
@@ -1249,14 +1090,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1249
1090
|
include Aws::Structure
|
1250
1091
|
end
|
1251
1092
|
|
1252
|
-
# @note When making an API call, you may pass DescribeAccountLimitsRequest
|
1253
|
-
# data as a hash:
|
1254
|
-
#
|
1255
|
-
# {
|
1256
|
-
# next_token: "NextToken",
|
1257
|
-
# max_results: 1,
|
1258
|
-
# }
|
1259
|
-
#
|
1260
1093
|
# @!attribute [rw] next_token
|
1261
1094
|
# The token to be used for the next set of paginated results. You
|
1262
1095
|
# don't need to supply a value for this field in the initial request.
|
@@ -1293,21 +1126,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1293
1126
|
include Aws::Structure
|
1294
1127
|
end
|
1295
1128
|
|
1296
|
-
# @note When making an API call, you may pass DescribeConfigurationSetsRequest
|
1297
|
-
# data as a hash:
|
1298
|
-
#
|
1299
|
-
# {
|
1300
|
-
# configuration_set_names: ["ConfigurationSetNameOrArn"],
|
1301
|
-
# filters: [
|
1302
|
-
# {
|
1303
|
-
# name: "event-destination-name", # required, accepts event-destination-name, matching-event-types, default-message-type, default-sender-id
|
1304
|
-
# values: ["FilterValue"], # required
|
1305
|
-
# },
|
1306
|
-
# ],
|
1307
|
-
# next_token: "NextToken",
|
1308
|
-
# max_results: 1,
|
1309
|
-
# }
|
1310
|
-
#
|
1311
1129
|
# @!attribute [rw] configuration_set_names
|
1312
1130
|
# An array of strings. Each element can be either a
|
1313
1131
|
# ConfigurationSetName or ConfigurationSetArn.
|
@@ -1355,22 +1173,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1355
1173
|
include Aws::Structure
|
1356
1174
|
end
|
1357
1175
|
|
1358
|
-
# @note When making an API call, you may pass DescribeKeywordsRequest
|
1359
|
-
# data as a hash:
|
1360
|
-
#
|
1361
|
-
# {
|
1362
|
-
# origination_identity: "PhoneOrPoolIdOrArn", # required
|
1363
|
-
# keywords: ["Keyword"],
|
1364
|
-
# filters: [
|
1365
|
-
# {
|
1366
|
-
# name: "keyword-action", # required, accepts keyword-action
|
1367
|
-
# values: ["FilterValue"], # required
|
1368
|
-
# },
|
1369
|
-
# ],
|
1370
|
-
# next_token: "NextToken",
|
1371
|
-
# max_results: 1,
|
1372
|
-
# }
|
1373
|
-
#
|
1374
1176
|
# @!attribute [rw] origination_identity
|
1375
1177
|
# The origination identity to use such as a PhoneNumberId,
|
1376
1178
|
# PhoneNumberArn, SenderId or SenderIdArn. You can use
|
@@ -1438,15 +1240,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1438
1240
|
include Aws::Structure
|
1439
1241
|
end
|
1440
1242
|
|
1441
|
-
# @note When making an API call, you may pass DescribeOptOutListsRequest
|
1442
|
-
# data as a hash:
|
1443
|
-
#
|
1444
|
-
# {
|
1445
|
-
# opt_out_list_names: ["OptOutListNameOrArn"],
|
1446
|
-
# next_token: "NextToken",
|
1447
|
-
# max_results: 1,
|
1448
|
-
# }
|
1449
|
-
#
|
1450
1243
|
# @!attribute [rw] opt_out_list_names
|
1451
1244
|
# The OptOutLists to show the details of. This is an array of strings
|
1452
1245
|
# that can be either the OptOutListName or OptOutListArn.
|
@@ -1490,22 +1283,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1490
1283
|
include Aws::Structure
|
1491
1284
|
end
|
1492
1285
|
|
1493
|
-
# @note When making an API call, you may pass DescribeOptedOutNumbersRequest
|
1494
|
-
# data as a hash:
|
1495
|
-
#
|
1496
|
-
# {
|
1497
|
-
# opt_out_list_name: "OptOutListNameOrArn", # required
|
1498
|
-
# opted_out_numbers: ["PhoneNumber"],
|
1499
|
-
# filters: [
|
1500
|
-
# {
|
1501
|
-
# name: "end-user-opted-out", # required, accepts end-user-opted-out
|
1502
|
-
# values: ["FilterValue"], # required
|
1503
|
-
# },
|
1504
|
-
# ],
|
1505
|
-
# next_token: "NextToken",
|
1506
|
-
# max_results: 1,
|
1507
|
-
# }
|
1508
|
-
#
|
1509
1286
|
# @!attribute [rw] opt_out_list_name
|
1510
1287
|
# The OptOutListName or OptOutListArn of the OptOutList. You can use
|
1511
1288
|
# DescribeOptOutLists to find the values for OptOutListName and
|
@@ -1570,21 +1347,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1570
1347
|
include Aws::Structure
|
1571
1348
|
end
|
1572
1349
|
|
1573
|
-
# @note When making an API call, you may pass DescribePhoneNumbersRequest
|
1574
|
-
# data as a hash:
|
1575
|
-
#
|
1576
|
-
# {
|
1577
|
-
# phone_number_ids: ["PhoneNumberIdOrArn"],
|
1578
|
-
# filters: [
|
1579
|
-
# {
|
1580
|
-
# name: "status", # required, accepts status, iso-country-code, message-type, number-capability, number-type, two-way-enabled, self-managed-opt-outs-enabled, opt-out-list-name, deletion-protection-enabled
|
1581
|
-
# values: ["FilterValue"], # required
|
1582
|
-
# },
|
1583
|
-
# ],
|
1584
|
-
# next_token: "NextToken",
|
1585
|
-
# max_results: 1,
|
1586
|
-
# }
|
1587
|
-
#
|
1588
1350
|
# @!attribute [rw] phone_number_ids
|
1589
1351
|
# The unique identifier of phone numbers to find information about.
|
1590
1352
|
# This is an array of strings that can be either the PhoneNumberId or
|
@@ -1634,21 +1396,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1634
1396
|
include Aws::Structure
|
1635
1397
|
end
|
1636
1398
|
|
1637
|
-
# @note When making an API call, you may pass DescribePoolsRequest
|
1638
|
-
# data as a hash:
|
1639
|
-
#
|
1640
|
-
# {
|
1641
|
-
# pool_ids: ["PoolIdOrArn"],
|
1642
|
-
# filters: [
|
1643
|
-
# {
|
1644
|
-
# name: "status", # required, accepts status, message-type, two-way-enabled, self-managed-opt-outs-enabled, opt-out-list-name, shared-routes-enabled, deletion-protection-enabled
|
1645
|
-
# values: ["FilterValue"], # required
|
1646
|
-
# },
|
1647
|
-
# ],
|
1648
|
-
# next_token: "NextToken",
|
1649
|
-
# max_results: 1,
|
1650
|
-
# }
|
1651
|
-
#
|
1652
1399
|
# @!attribute [rw] pool_ids
|
1653
1400
|
# The unique identifier of pools to find. This is an array of strings
|
1654
1401
|
# that can be either the PoolId or PoolArn.
|
@@ -1697,26 +1444,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1697
1444
|
include Aws::Structure
|
1698
1445
|
end
|
1699
1446
|
|
1700
|
-
# @note When making an API call, you may pass DescribeSenderIdsRequest
|
1701
|
-
# data as a hash:
|
1702
|
-
#
|
1703
|
-
# {
|
1704
|
-
# sender_ids: [
|
1705
|
-
# {
|
1706
|
-
# sender_id: "SenderIdOrArn", # required
|
1707
|
-
# iso_country_code: "IsoCountryCode", # required
|
1708
|
-
# },
|
1709
|
-
# ],
|
1710
|
-
# filters: [
|
1711
|
-
# {
|
1712
|
-
# name: "sender-id", # required, accepts sender-id, iso-country-code, message-type
|
1713
|
-
# values: ["FilterValue"], # required
|
1714
|
-
# },
|
1715
|
-
# ],
|
1716
|
-
# next_token: "NextToken",
|
1717
|
-
# max_results: 1,
|
1718
|
-
# }
|
1719
|
-
#
|
1720
1447
|
# @!attribute [rw] sender_ids
|
1721
1448
|
# An array of SenderIdAndCountry objects to search for.
|
1722
1449
|
# @return [Array<Types::SenderIdAndCountry>]
|
@@ -1764,14 +1491,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1764
1491
|
include Aws::Structure
|
1765
1492
|
end
|
1766
1493
|
|
1767
|
-
# @note When making an API call, you may pass DescribeSpendLimitsRequest
|
1768
|
-
# data as a hash:
|
1769
|
-
#
|
1770
|
-
# {
|
1771
|
-
# next_token: "NextToken",
|
1772
|
-
# max_results: 1,
|
1773
|
-
# }
|
1774
|
-
#
|
1775
1494
|
# @!attribute [rw] next_token
|
1776
1495
|
# The token to be used for the next set of paginated results. You
|
1777
1496
|
# don't need to supply a value for this field in the initial request.
|
@@ -1809,16 +1528,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1809
1528
|
include Aws::Structure
|
1810
1529
|
end
|
1811
1530
|
|
1812
|
-
# @note When making an API call, you may pass DisassociateOriginationIdentityRequest
|
1813
|
-
# data as a hash:
|
1814
|
-
#
|
1815
|
-
# {
|
1816
|
-
# pool_id: "PoolIdOrArn", # required
|
1817
|
-
# origination_identity: "PhoneOrSenderIdOrArn", # required
|
1818
|
-
# iso_country_code: "IsoCountryCode", # required
|
1819
|
-
# client_token: "ClientToken",
|
1820
|
-
# }
|
1821
|
-
#
|
1822
1531
|
# @!attribute [rw] pool_id
|
1823
1532
|
# The unique identifier for the pool to disassociate with the
|
1824
1533
|
# origination identity. This value can be either the PoolId or
|
@@ -1961,14 +1670,6 @@ module Aws::PinpointSMSVoiceV2
|
|
1961
1670
|
|
1962
1671
|
# The information for keywords that meet a specified criteria.
|
1963
1672
|
#
|
1964
|
-
# @note When making an API call, you may pass KeywordFilter
|
1965
|
-
# data as a hash:
|
1966
|
-
#
|
1967
|
-
# {
|
1968
|
-
# name: "keyword-action", # required, accepts keyword-action
|
1969
|
-
# values: ["FilterValue"], # required
|
1970
|
-
# }
|
1971
|
-
#
|
1972
1673
|
# @!attribute [rw] name
|
1973
1674
|
# The name of the attribute to filter on.
|
1974
1675
|
# @return [String]
|
@@ -2018,14 +1719,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2018
1719
|
# configuration sets, which enable you to publish message sending
|
2019
1720
|
# events.
|
2020
1721
|
#
|
2021
|
-
# @note When making an API call, you may pass KinesisFirehoseDestination
|
2022
|
-
# data as a hash:
|
2023
|
-
#
|
2024
|
-
# {
|
2025
|
-
# iam_role_arn: "IamRoleArn", # required
|
2026
|
-
# delivery_stream_arn: "DeliveryStreamArn", # required
|
2027
|
-
# }
|
2028
|
-
#
|
2029
1722
|
# @!attribute [rw] iam_role_arn
|
2030
1723
|
# The ARN of an Amazon Identity and Access Management (IAM) role that
|
2031
1724
|
# is able to write event data to an Amazon Firehose destination.
|
@@ -2044,21 +1737,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2044
1737
|
include Aws::Structure
|
2045
1738
|
end
|
2046
1739
|
|
2047
|
-
# @note When making an API call, you may pass ListPoolOriginationIdentitiesRequest
|
2048
|
-
# data as a hash:
|
2049
|
-
#
|
2050
|
-
# {
|
2051
|
-
# pool_id: "PoolIdOrArn", # required
|
2052
|
-
# filters: [
|
2053
|
-
# {
|
2054
|
-
# name: "iso-country-code", # required, accepts iso-country-code, number-capability
|
2055
|
-
# values: ["FilterValue"], # required
|
2056
|
-
# },
|
2057
|
-
# ],
|
2058
|
-
# next_token: "NextToken",
|
2059
|
-
# max_results: 1,
|
2060
|
-
# }
|
2061
|
-
#
|
2062
1740
|
# @!attribute [rw] pool_id
|
2063
1741
|
# The unique identifier for the pool. This value can be either the
|
2064
1742
|
# PoolId or PoolArn.
|
@@ -2117,13 +1795,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2117
1795
|
include Aws::Structure
|
2118
1796
|
end
|
2119
1797
|
|
2120
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2121
|
-
# data as a hash:
|
2122
|
-
#
|
2123
|
-
# {
|
2124
|
-
# resource_arn: "AmazonResourceName", # required
|
2125
|
-
# }
|
2126
|
-
#
|
2127
1798
|
# @!attribute [rw] resource_arn
|
2128
1799
|
# The Amazon Resource Name (ARN) of the resource to query for.
|
2129
1800
|
# @return [String]
|
@@ -2185,14 +1856,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2185
1856
|
|
2186
1857
|
# The information for opted out numbers that meet a specified criteria.
|
2187
1858
|
#
|
2188
|
-
# @note When making an API call, you may pass OptedOutFilter
|
2189
|
-
# data as a hash:
|
2190
|
-
#
|
2191
|
-
# {
|
2192
|
-
# name: "end-user-opted-out", # required, accepts end-user-opted-out
|
2193
|
-
# values: ["FilterValue"], # required
|
2194
|
-
# }
|
2195
|
-
#
|
2196
1859
|
# @!attribute [rw] name
|
2197
1860
|
# The name of the attribute to filter on.
|
2198
1861
|
# @return [String]
|
@@ -2273,14 +1936,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2273
1936
|
|
2274
1937
|
# The information for a phone number that meets a specified criteria.
|
2275
1938
|
#
|
2276
|
-
# @note When making an API call, you may pass PhoneNumberFilter
|
2277
|
-
# data as a hash:
|
2278
|
-
#
|
2279
|
-
# {
|
2280
|
-
# name: "status", # required, accepts status, iso-country-code, message-type, number-capability, number-type, two-way-enabled, self-managed-opt-outs-enabled, opt-out-list-name, deletion-protection-enabled
|
2281
|
-
# values: ["FilterValue"], # required
|
2282
|
-
# }
|
2283
|
-
#
|
2284
1939
|
# @!attribute [rw] name
|
2285
1940
|
# The name of the attribute to filter on.
|
2286
1941
|
# @return [String]
|
@@ -2410,14 +2065,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2410
2065
|
|
2411
2066
|
# The information for a pool that meets a specified criteria.
|
2412
2067
|
#
|
2413
|
-
# @note When making an API call, you may pass PoolFilter
|
2414
|
-
# data as a hash:
|
2415
|
-
#
|
2416
|
-
# {
|
2417
|
-
# name: "status", # required, accepts status, message-type, two-way-enabled, self-managed-opt-outs-enabled, opt-out-list-name, shared-routes-enabled, deletion-protection-enabled
|
2418
|
-
# values: ["FilterValue"], # required
|
2419
|
-
# }
|
2420
|
-
#
|
2421
2068
|
# @!attribute [rw] name
|
2422
2069
|
# The name of the attribute to filter on.
|
2423
2070
|
# @return [String]
|
@@ -2526,14 +2173,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2526
2173
|
# Information about origination identities associated with a pool that
|
2527
2174
|
# meets a specified criteria.
|
2528
2175
|
#
|
2529
|
-
# @note When making an API call, you may pass PoolOriginationIdentitiesFilter
|
2530
|
-
# data as a hash:
|
2531
|
-
#
|
2532
|
-
# {
|
2533
|
-
# name: "iso-country-code", # required, accepts iso-country-code, number-capability
|
2534
|
-
# values: ["FilterValue"], # required
|
2535
|
-
# }
|
2536
|
-
#
|
2537
2176
|
# @!attribute [rw] name
|
2538
2177
|
# The name of the attribute to filter on.
|
2539
2178
|
# @return [String]
|
@@ -2551,16 +2190,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2551
2190
|
include Aws::Structure
|
2552
2191
|
end
|
2553
2192
|
|
2554
|
-
# @note When making an API call, you may pass PutKeywordRequest
|
2555
|
-
# data as a hash:
|
2556
|
-
#
|
2557
|
-
# {
|
2558
|
-
# origination_identity: "PhoneOrPoolIdOrArn", # required
|
2559
|
-
# keyword: "Keyword", # required
|
2560
|
-
# keyword_message: "KeywordMessage", # required
|
2561
|
-
# keyword_action: "AUTOMATIC_RESPONSE", # accepts AUTOMATIC_RESPONSE, OPT_OUT, OPT_IN
|
2562
|
-
# }
|
2563
|
-
#
|
2564
2193
|
# @!attribute [rw] origination_identity
|
2565
2194
|
# The origination identity to use such as a PhoneNumberId,
|
2566
2195
|
# PhoneNumberArn, SenderId or SenderIdArn. You can use
|
@@ -2630,14 +2259,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2630
2259
|
include Aws::Structure
|
2631
2260
|
end
|
2632
2261
|
|
2633
|
-
# @note When making an API call, you may pass PutOptedOutNumberRequest
|
2634
|
-
# data as a hash:
|
2635
|
-
#
|
2636
|
-
# {
|
2637
|
-
# opt_out_list_name: "OptOutListNameOrArn", # required
|
2638
|
-
# opted_out_number: "PhoneNumber", # required
|
2639
|
-
# }
|
2640
|
-
#
|
2641
2262
|
# @!attribute [rw] opt_out_list_name
|
2642
2263
|
# The OptOutListName or OptOutListArn to add the phone number to.
|
2643
2264
|
# @return [String]
|
@@ -2693,13 +2314,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2693
2314
|
include Aws::Structure
|
2694
2315
|
end
|
2695
2316
|
|
2696
|
-
# @note When making an API call, you may pass ReleasePhoneNumberRequest
|
2697
|
-
# data as a hash:
|
2698
|
-
#
|
2699
|
-
# {
|
2700
|
-
# phone_number_id: "PhoneNumberIdOrArn", # required
|
2701
|
-
# }
|
2702
|
-
#
|
2703
2317
|
# @!attribute [rw] phone_number_id
|
2704
2318
|
# The PhoneNumberId or PhoneNumberArn of the phone number to release.
|
2705
2319
|
# You can use DescribePhoneNumbers to get the values for PhoneNumberId
|
@@ -2805,27 +2419,6 @@ module Aws::PinpointSMSVoiceV2
|
|
2805
2419
|
include Aws::Structure
|
2806
2420
|
end
|
2807
2421
|
|
2808
|
-
# @note When making an API call, you may pass RequestPhoneNumberRequest
|
2809
|
-
# data as a hash:
|
2810
|
-
#
|
2811
|
-
# {
|
2812
|
-
# iso_country_code: "IsoCountryCode", # required
|
2813
|
-
# message_type: "TRANSACTIONAL", # required, accepts TRANSACTIONAL, PROMOTIONAL
|
2814
|
-
# number_capabilities: ["SMS"], # required, accepts SMS, VOICE
|
2815
|
-
# number_type: "LONG_CODE", # required, accepts LONG_CODE, TOLL_FREE, TEN_DLC
|
2816
|
-
# opt_out_list_name: "OptOutListNameOrArn",
|
2817
|
-
# pool_id: "PoolIdOrArn",
|
2818
|
-
# registration_id: "RegistrationId",
|
2819
|
-
# deletion_protection_enabled: false,
|
2820
|
-
# tags: [
|
2821
|
-
# {
|
2822
|
-
# key: "TagKey", # required
|
2823
|
-
# value: "TagValue", # required
|
2824
|
-
# },
|
2825
|
-
# ],
|
2826
|
-
# client_token: "ClientToken",
|
2827
|
-
# }
|
2828
|
-
#
|
2829
2422
|
# @!attribute [rw] iso_country_code
|
2830
2423
|
# The two-character code, in ISO 3166-1 alpha-2 format, for the
|
2831
2424
|
# country or region.
|
@@ -3031,27 +2624,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3031
2624
|
include Aws::Structure
|
3032
2625
|
end
|
3033
2626
|
|
3034
|
-
# @note When making an API call, you may pass SendTextMessageRequest
|
3035
|
-
# data as a hash:
|
3036
|
-
#
|
3037
|
-
# {
|
3038
|
-
# destination_phone_number: "PhoneNumber", # required
|
3039
|
-
# origination_identity: "TextMessageOriginationIdentity",
|
3040
|
-
# message_body: "TextMessageBody",
|
3041
|
-
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
3042
|
-
# keyword: "Keyword",
|
3043
|
-
# configuration_set_name: "ConfigurationSetNameOrArn",
|
3044
|
-
# max_price: "MaxPrice",
|
3045
|
-
# time_to_live: 1,
|
3046
|
-
# context: {
|
3047
|
-
# "ContextKey" => "ContextValue",
|
3048
|
-
# },
|
3049
|
-
# destination_country_parameters: {
|
3050
|
-
# "IN_TEMPLATE_ID" => "DestinationCountryParameterValue",
|
3051
|
-
# },
|
3052
|
-
# dry_run: false,
|
3053
|
-
# }
|
3054
|
-
#
|
3055
2627
|
# @!attribute [rw] destination_phone_number
|
3056
2628
|
# The destination phone number in E.164 format.
|
3057
2629
|
# @return [String]
|
@@ -3143,24 +2715,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3143
2715
|
include Aws::Structure
|
3144
2716
|
end
|
3145
2717
|
|
3146
|
-
# @note When making an API call, you may pass SendVoiceMessageRequest
|
3147
|
-
# data as a hash:
|
3148
|
-
#
|
3149
|
-
# {
|
3150
|
-
# destination_phone_number: "PhoneNumber", # required
|
3151
|
-
# origination_identity: "VoiceMessageOriginationIdentity", # required
|
3152
|
-
# message_body: "VoiceMessageBody",
|
3153
|
-
# message_body_text_type: "TEXT", # accepts TEXT, SSML
|
3154
|
-
# voice_id: "AMY", # accepts AMY, ASTRID, BIANCA, BRIAN, CAMILA, CARLA, CARMEN, CELINE, CHANTAL, CONCHITA, CRISTIANO, DORA, EMMA, ENRIQUE, EWA, FILIZ, GERAINT, GIORGIO, GWYNETH, HANS, INES, IVY, JACEK, JAN, JOANNA, JOEY, JUSTIN, KARL, KENDRA, KIMBERLY, LEA, LIV, LOTTE, LUCIA, LUPE, MADS, MAJA, MARLENE, MATHIEU, MATTHEW, MAXIM, MIA, MIGUEL, MIZUKI, NAJA, NICOLE, PENELOPE, RAVEENA, RICARDO, RUBEN, RUSSELL, SALLI, SEOYEON, TAKUMI, TATYANA, VICKI, VITORIA, ZEINA, ZHIYU
|
3155
|
-
# configuration_set_name: "ConfigurationSetNameOrArn",
|
3156
|
-
# max_price_per_minute: "MaxPrice",
|
3157
|
-
# time_to_live: 1,
|
3158
|
-
# context: {
|
3159
|
-
# "ContextKey" => "ContextValue",
|
3160
|
-
# },
|
3161
|
-
# dry_run: false,
|
3162
|
-
# }
|
3163
|
-
#
|
3164
2718
|
# @!attribute [rw] destination_phone_number
|
3165
2719
|
# The destination phone number in E.164 format.
|
3166
2720
|
# @return [String]
|
@@ -3260,14 +2814,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3260
2814
|
#
|
3261
2815
|
# [1]: https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-sender-id.html
|
3262
2816
|
#
|
3263
|
-
# @note When making an API call, you may pass SenderIdAndCountry
|
3264
|
-
# data as a hash:
|
3265
|
-
#
|
3266
|
-
# {
|
3267
|
-
# sender_id: "SenderIdOrArn", # required
|
3268
|
-
# iso_country_code: "IsoCountryCode", # required
|
3269
|
-
# }
|
3270
|
-
#
|
3271
2817
|
# @!attribute [rw] sender_id
|
3272
2818
|
# The unique identifier of the sender.
|
3273
2819
|
# @return [String]
|
@@ -3288,14 +2834,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3288
2834
|
|
3289
2835
|
# The information for a sender ID that meets a specified criteria.
|
3290
2836
|
#
|
3291
|
-
# @note When making an API call, you may pass SenderIdFilter
|
3292
|
-
# data as a hash:
|
3293
|
-
#
|
3294
|
-
# {
|
3295
|
-
# name: "sender-id", # required, accepts sender-id, iso-country-code, message-type
|
3296
|
-
# values: ["FilterValue"], # required
|
3297
|
-
# }
|
3298
|
-
#
|
3299
2837
|
# @!attribute [rw] name
|
3300
2838
|
# The name of the attribute to filter on.
|
3301
2839
|
# @return [String]
|
@@ -3369,14 +2907,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3369
2907
|
include Aws::Structure
|
3370
2908
|
end
|
3371
2909
|
|
3372
|
-
# @note When making an API call, you may pass SetDefaultMessageTypeRequest
|
3373
|
-
# data as a hash:
|
3374
|
-
#
|
3375
|
-
# {
|
3376
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
3377
|
-
# message_type: "TRANSACTIONAL", # required, accepts TRANSACTIONAL, PROMOTIONAL
|
3378
|
-
# }
|
3379
|
-
#
|
3380
2910
|
# @!attribute [rw] configuration_set_name
|
3381
2911
|
# The configuration set to update with a new default message type.
|
3382
2912
|
# This field can be the ConsigurationSetName or ConfigurationSetArn.
|
@@ -3419,14 +2949,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3419
2949
|
include Aws::Structure
|
3420
2950
|
end
|
3421
2951
|
|
3422
|
-
# @note When making an API call, you may pass SetDefaultSenderIdRequest
|
3423
|
-
# data as a hash:
|
3424
|
-
#
|
3425
|
-
# {
|
3426
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
3427
|
-
# sender_id: "SenderId", # required
|
3428
|
-
# }
|
3429
|
-
#
|
3430
2952
|
# @!attribute [rw] configuration_set_name
|
3431
2953
|
# The configuration set to updated with a new default SenderId. This
|
3432
2954
|
# field can be the ConsigurationSetName or ConfigurationSetArn.
|
@@ -3472,13 +2994,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3472
2994
|
include Aws::Structure
|
3473
2995
|
end
|
3474
2996
|
|
3475
|
-
# @note When making an API call, you may pass SetTextMessageSpendLimitOverrideRequest
|
3476
|
-
# data as a hash:
|
3477
|
-
#
|
3478
|
-
# {
|
3479
|
-
# monthly_limit: 1, # required
|
3480
|
-
# }
|
3481
|
-
#
|
3482
2997
|
# @!attribute [rw] monthly_limit
|
3483
2998
|
# The new monthly limit to enforce on text messages.
|
3484
2999
|
# @return [Integer]
|
@@ -3503,13 +3018,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3503
3018
|
include Aws::Structure
|
3504
3019
|
end
|
3505
3020
|
|
3506
|
-
# @note When making an API call, you may pass SetVoiceMessageSpendLimitOverrideRequest
|
3507
|
-
# data as a hash:
|
3508
|
-
#
|
3509
|
-
# {
|
3510
|
-
# monthly_limit: 1, # required
|
3511
|
-
# }
|
3512
|
-
#
|
3513
3021
|
# @!attribute [rw] monthly_limit
|
3514
3022
|
# The new monthly limit to enforce on voice messages.
|
3515
3023
|
# @return [Integer]
|
@@ -3537,13 +3045,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3537
3045
|
# An object that defines an Amazon SNS destination for events. You can
|
3538
3046
|
# use Amazon SNS to send notification when certain events occur.
|
3539
3047
|
#
|
3540
|
-
# @note When making an API call, you may pass SnsDestination
|
3541
|
-
# data as a hash:
|
3542
|
-
#
|
3543
|
-
# {
|
3544
|
-
# topic_arn: "SnsTopicArn", # required
|
3545
|
-
# }
|
3546
|
-
#
|
3547
3048
|
# @!attribute [rw] topic_arn
|
3548
3049
|
# The Amazon Resource Name (ARN) of the Amazon SNS topic that you want
|
3549
3050
|
# to publish events to.
|
@@ -3603,14 +3104,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3603
3104
|
|
3604
3105
|
# The list of tags to be added to the specified topic.
|
3605
3106
|
#
|
3606
|
-
# @note When making an API call, you may pass Tag
|
3607
|
-
# data as a hash:
|
3608
|
-
#
|
3609
|
-
# {
|
3610
|
-
# key: "TagKey", # required
|
3611
|
-
# value: "TagValue", # required
|
3612
|
-
# }
|
3613
|
-
#
|
3614
3107
|
# @!attribute [rw] key
|
3615
3108
|
# The key identifier, or name, of the tag.
|
3616
3109
|
# @return [String]
|
@@ -3628,19 +3121,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3628
3121
|
include Aws::Structure
|
3629
3122
|
end
|
3630
3123
|
|
3631
|
-
# @note When making an API call, you may pass TagResourceRequest
|
3632
|
-
# data as a hash:
|
3633
|
-
#
|
3634
|
-
# {
|
3635
|
-
# resource_arn: "AmazonResourceName", # required
|
3636
|
-
# tags: [ # required
|
3637
|
-
# {
|
3638
|
-
# key: "TagKey", # required
|
3639
|
-
# value: "TagValue", # required
|
3640
|
-
# },
|
3641
|
-
# ],
|
3642
|
-
# }
|
3643
|
-
#
|
3644
3124
|
# @!attribute [rw] resource_arn
|
3645
3125
|
# The Amazon Resource Name (ARN) of the resource.
|
3646
3126
|
# @return [String]
|
@@ -3677,14 +3157,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3677
3157
|
include Aws::Structure
|
3678
3158
|
end
|
3679
3159
|
|
3680
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
3681
|
-
# data as a hash:
|
3682
|
-
#
|
3683
|
-
# {
|
3684
|
-
# resource_arn: "AmazonResourceName", # required
|
3685
|
-
# tag_keys: ["TagKey"], # required
|
3686
|
-
# }
|
3687
|
-
#
|
3688
3160
|
# @!attribute [rw] resource_arn
|
3689
3161
|
# The Amazon Resource Name (ARN) of the resource.
|
3690
3162
|
# @return [String]
|
@@ -3706,27 +3178,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3706
3178
|
#
|
3707
3179
|
class UntagResourceResult < Aws::EmptyStructure; end
|
3708
3180
|
|
3709
|
-
# @note When making an API call, you may pass UpdateEventDestinationRequest
|
3710
|
-
# data as a hash:
|
3711
|
-
#
|
3712
|
-
# {
|
3713
|
-
# configuration_set_name: "ConfigurationSetNameOrArn", # required
|
3714
|
-
# event_destination_name: "EventDestinationName", # required
|
3715
|
-
# enabled: false,
|
3716
|
-
# matching_event_types: ["ALL"], # accepts ALL, TEXT_ALL, TEXT_SENT, TEXT_PENDING, TEXT_QUEUED, TEXT_SUCCESSFUL, TEXT_DELIVERED, TEXT_INVALID, TEXT_INVALID_MESSAGE, TEXT_UNREACHABLE, TEXT_CARRIER_UNREACHABLE, TEXT_BLOCKED, TEXT_CARRIER_BLOCKED, TEXT_SPAM, TEXT_UNKNOWN, TEXT_TTL_EXPIRED, VOICE_ALL, VOICE_INITIATED, VOICE_RINGING, VOICE_ANSWERED, VOICE_COMPLETED, VOICE_BUSY, VOICE_NO_ANSWER, VOICE_FAILED, VOICE_TTL_EXPIRED
|
3717
|
-
# cloud_watch_logs_destination: {
|
3718
|
-
# iam_role_arn: "IamRoleArn", # required
|
3719
|
-
# log_group_arn: "LogGroupArn", # required
|
3720
|
-
# },
|
3721
|
-
# kinesis_firehose_destination: {
|
3722
|
-
# iam_role_arn: "IamRoleArn", # required
|
3723
|
-
# delivery_stream_arn: "DeliveryStreamArn", # required
|
3724
|
-
# },
|
3725
|
-
# sns_destination: {
|
3726
|
-
# topic_arn: "SnsTopicArn", # required
|
3727
|
-
# },
|
3728
|
-
# }
|
3729
|
-
#
|
3730
3181
|
# @!attribute [rw] configuration_set_name
|
3731
3182
|
# The configuration set to update with the new event destination.
|
3732
3183
|
# Valid values for this can be the ConfigurationSetName or
|
@@ -3798,18 +3249,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3798
3249
|
include Aws::Structure
|
3799
3250
|
end
|
3800
3251
|
|
3801
|
-
# @note When making an API call, you may pass UpdatePhoneNumberRequest
|
3802
|
-
# data as a hash:
|
3803
|
-
#
|
3804
|
-
# {
|
3805
|
-
# phone_number_id: "PhoneNumberIdOrArn", # required
|
3806
|
-
# two_way_enabled: false,
|
3807
|
-
# two_way_channel_arn: "TwoWayChannelArn",
|
3808
|
-
# self_managed_opt_outs_enabled: false,
|
3809
|
-
# opt_out_list_name: "OptOutListNameOrArn",
|
3810
|
-
# deletion_protection_enabled: false,
|
3811
|
-
# }
|
3812
|
-
#
|
3813
3252
|
# @!attribute [rw] phone_number_id
|
3814
3253
|
# The unique identifier of the phone number. Valid values for this
|
3815
3254
|
# field can be either the PhoneNumberId or PhoneNumberArn.
|
@@ -3948,19 +3387,6 @@ module Aws::PinpointSMSVoiceV2
|
|
3948
3387
|
include Aws::Structure
|
3949
3388
|
end
|
3950
3389
|
|
3951
|
-
# @note When making an API call, you may pass UpdatePoolRequest
|
3952
|
-
# data as a hash:
|
3953
|
-
#
|
3954
|
-
# {
|
3955
|
-
# pool_id: "PoolIdOrArn", # required
|
3956
|
-
# two_way_enabled: false,
|
3957
|
-
# two_way_channel_arn: "TwoWayChannelArn",
|
3958
|
-
# self_managed_opt_outs_enabled: false,
|
3959
|
-
# opt_out_list_name: "OptOutListNameOrArn",
|
3960
|
-
# shared_routes_enabled: false,
|
3961
|
-
# deletion_protection_enabled: false,
|
3962
|
-
# }
|
3963
|
-
#
|
3964
3390
|
# @!attribute [rw] pool_id
|
3965
3391
|
# The unique identifier of the pool to update. Valid values are either
|
3966
3392
|
# the PoolId or PoolArn.
|
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.2.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|