aws-sdk-pinpointsmsvoicev2 1.14.0 → 1.15.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 +604 -18
- data/lib/aws-sdk-pinpointsmsvoicev2/client_api.rb +371 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/endpoints.rb +182 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/plugins/endpoints.rb +26 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +718 -11
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +1 -1
- data/sig/client.rbs +199 -9
- data/sig/types.rbs +214 -17
- metadata +2 -2
@@ -26,6 +26,20 @@ module Aws::PinpointSMSVoiceV2
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class AssociateProtectConfiguration
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
29
43
|
class CreateConfigurationSet
|
30
44
|
def self.build(context)
|
31
45
|
unless context.config.regional_endpoint
|
@@ -82,6 +96,20 @@ module Aws::PinpointSMSVoiceV2
|
|
82
96
|
end
|
83
97
|
end
|
84
98
|
|
99
|
+
class CreateProtectConfiguration
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
85
113
|
class CreateRegistration
|
86
114
|
def self.build(context)
|
87
115
|
unless context.config.regional_endpoint
|
@@ -152,6 +180,20 @@ module Aws::PinpointSMSVoiceV2
|
|
152
180
|
end
|
153
181
|
end
|
154
182
|
|
183
|
+
class DeleteAccountDefaultProtectConfiguration
|
184
|
+
def self.build(context)
|
185
|
+
unless context.config.regional_endpoint
|
186
|
+
endpoint = context.config.endpoint.to_s
|
187
|
+
end
|
188
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
189
|
+
region: context.config.region,
|
190
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
191
|
+
use_fips: context.config.use_fips_endpoint,
|
192
|
+
endpoint: endpoint,
|
193
|
+
)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
155
197
|
class DeleteConfigurationSet
|
156
198
|
def self.build(context)
|
157
199
|
unless context.config.regional_endpoint
|
@@ -222,6 +264,20 @@ module Aws::PinpointSMSVoiceV2
|
|
222
264
|
end
|
223
265
|
end
|
224
266
|
|
267
|
+
class DeleteMediaMessageSpendLimitOverride
|
268
|
+
def self.build(context)
|
269
|
+
unless context.config.regional_endpoint
|
270
|
+
endpoint = context.config.endpoint.to_s
|
271
|
+
end
|
272
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
273
|
+
region: context.config.region,
|
274
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
|
+
use_fips: context.config.use_fips_endpoint,
|
276
|
+
endpoint: endpoint,
|
277
|
+
)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
225
281
|
class DeleteOptOutList
|
226
282
|
def self.build(context)
|
227
283
|
unless context.config.regional_endpoint
|
@@ -264,6 +320,20 @@ module Aws::PinpointSMSVoiceV2
|
|
264
320
|
end
|
265
321
|
end
|
266
322
|
|
323
|
+
class DeleteProtectConfiguration
|
324
|
+
def self.build(context)
|
325
|
+
unless context.config.regional_endpoint
|
326
|
+
endpoint = context.config.endpoint.to_s
|
327
|
+
end
|
328
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
329
|
+
region: context.config.region,
|
330
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
331
|
+
use_fips: context.config.use_fips_endpoint,
|
332
|
+
endpoint: endpoint,
|
333
|
+
)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
267
337
|
class DeleteRegistration
|
268
338
|
def self.build(context)
|
269
339
|
unless context.config.regional_endpoint
|
@@ -460,6 +530,20 @@ module Aws::PinpointSMSVoiceV2
|
|
460
530
|
end
|
461
531
|
end
|
462
532
|
|
533
|
+
class DescribeProtectConfigurations
|
534
|
+
def self.build(context)
|
535
|
+
unless context.config.regional_endpoint
|
536
|
+
endpoint = context.config.endpoint.to_s
|
537
|
+
end
|
538
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
539
|
+
region: context.config.region,
|
540
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
541
|
+
use_fips: context.config.use_fips_endpoint,
|
542
|
+
endpoint: endpoint,
|
543
|
+
)
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
463
547
|
class DescribeRegistrationAttachments
|
464
548
|
def self.build(context)
|
465
549
|
unless context.config.regional_endpoint
|
@@ -614,6 +698,20 @@ module Aws::PinpointSMSVoiceV2
|
|
614
698
|
end
|
615
699
|
end
|
616
700
|
|
701
|
+
class DisassociateProtectConfiguration
|
702
|
+
def self.build(context)
|
703
|
+
unless context.config.regional_endpoint
|
704
|
+
endpoint = context.config.endpoint.to_s
|
705
|
+
end
|
706
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
707
|
+
region: context.config.region,
|
708
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
709
|
+
use_fips: context.config.use_fips_endpoint,
|
710
|
+
endpoint: endpoint,
|
711
|
+
)
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
617
715
|
class DiscardRegistrationVersion
|
618
716
|
def self.build(context)
|
619
717
|
unless context.config.regional_endpoint
|
@@ -628,6 +726,20 @@ module Aws::PinpointSMSVoiceV2
|
|
628
726
|
end
|
629
727
|
end
|
630
728
|
|
729
|
+
class GetProtectConfigurationCountryRuleSet
|
730
|
+
def self.build(context)
|
731
|
+
unless context.config.regional_endpoint
|
732
|
+
endpoint = context.config.endpoint.to_s
|
733
|
+
end
|
734
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
735
|
+
region: context.config.region,
|
736
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
737
|
+
use_fips: context.config.use_fips_endpoint,
|
738
|
+
endpoint: endpoint,
|
739
|
+
)
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
631
743
|
class ListPoolOriginationIdentities
|
632
744
|
def self.build(context)
|
633
745
|
unless context.config.regional_endpoint
|
@@ -782,6 +894,20 @@ module Aws::PinpointSMSVoiceV2
|
|
782
894
|
end
|
783
895
|
end
|
784
896
|
|
897
|
+
class SendMediaMessage
|
898
|
+
def self.build(context)
|
899
|
+
unless context.config.regional_endpoint
|
900
|
+
endpoint = context.config.endpoint.to_s
|
901
|
+
end
|
902
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
903
|
+
region: context.config.region,
|
904
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
905
|
+
use_fips: context.config.use_fips_endpoint,
|
906
|
+
endpoint: endpoint,
|
907
|
+
)
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
785
911
|
class SendTextMessage
|
786
912
|
def self.build(context)
|
787
913
|
unless context.config.regional_endpoint
|
@@ -810,6 +936,20 @@ module Aws::PinpointSMSVoiceV2
|
|
810
936
|
end
|
811
937
|
end
|
812
938
|
|
939
|
+
class SetAccountDefaultProtectConfiguration
|
940
|
+
def self.build(context)
|
941
|
+
unless context.config.regional_endpoint
|
942
|
+
endpoint = context.config.endpoint.to_s
|
943
|
+
end
|
944
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
945
|
+
region: context.config.region,
|
946
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
947
|
+
use_fips: context.config.use_fips_endpoint,
|
948
|
+
endpoint: endpoint,
|
949
|
+
)
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
813
953
|
class SetDefaultMessageType
|
814
954
|
def self.build(context)
|
815
955
|
unless context.config.regional_endpoint
|
@@ -838,6 +978,20 @@ module Aws::PinpointSMSVoiceV2
|
|
838
978
|
end
|
839
979
|
end
|
840
980
|
|
981
|
+
class SetMediaMessageSpendLimitOverride
|
982
|
+
def self.build(context)
|
983
|
+
unless context.config.regional_endpoint
|
984
|
+
endpoint = context.config.endpoint.to_s
|
985
|
+
end
|
986
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
987
|
+
region: context.config.region,
|
988
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
989
|
+
use_fips: context.config.use_fips_endpoint,
|
990
|
+
endpoint: endpoint,
|
991
|
+
)
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
841
995
|
class SetTextMessageSpendLimitOverride
|
842
996
|
def self.build(context)
|
843
997
|
unless context.config.regional_endpoint
|
@@ -950,6 +1104,34 @@ module Aws::PinpointSMSVoiceV2
|
|
950
1104
|
end
|
951
1105
|
end
|
952
1106
|
|
1107
|
+
class UpdateProtectConfiguration
|
1108
|
+
def self.build(context)
|
1109
|
+
unless context.config.regional_endpoint
|
1110
|
+
endpoint = context.config.endpoint.to_s
|
1111
|
+
end
|
1112
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
1113
|
+
region: context.config.region,
|
1114
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1115
|
+
use_fips: context.config.use_fips_endpoint,
|
1116
|
+
endpoint: endpoint,
|
1117
|
+
)
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
class UpdateProtectConfigurationCountryRuleSet
|
1122
|
+
def self.build(context)
|
1123
|
+
unless context.config.regional_endpoint
|
1124
|
+
endpoint = context.config.endpoint.to_s
|
1125
|
+
end
|
1126
|
+
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
|
1127
|
+
region: context.config.region,
|
1128
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1129
|
+
use_fips: context.config.use_fips_endpoint,
|
1130
|
+
endpoint: endpoint,
|
1131
|
+
)
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
953
1135
|
class UpdateSenderId
|
954
1136
|
def self.build(context)
|
955
1137
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,8 @@ module Aws::PinpointSMSVoiceV2
|
|
60
60
|
case context.operation_name
|
61
61
|
when :associate_origination_identity
|
62
62
|
Aws::PinpointSMSVoiceV2::Endpoints::AssociateOriginationIdentity.build(context)
|
63
|
+
when :associate_protect_configuration
|
64
|
+
Aws::PinpointSMSVoiceV2::Endpoints::AssociateProtectConfiguration.build(context)
|
63
65
|
when :create_configuration_set
|
64
66
|
Aws::PinpointSMSVoiceV2::Endpoints::CreateConfigurationSet.build(context)
|
65
67
|
when :create_event_destination
|
@@ -68,6 +70,8 @@ module Aws::PinpointSMSVoiceV2
|
|
68
70
|
Aws::PinpointSMSVoiceV2::Endpoints::CreateOptOutList.build(context)
|
69
71
|
when :create_pool
|
70
72
|
Aws::PinpointSMSVoiceV2::Endpoints::CreatePool.build(context)
|
73
|
+
when :create_protect_configuration
|
74
|
+
Aws::PinpointSMSVoiceV2::Endpoints::CreateProtectConfiguration.build(context)
|
71
75
|
when :create_registration
|
72
76
|
Aws::PinpointSMSVoiceV2::Endpoints::CreateRegistration.build(context)
|
73
77
|
when :create_registration_association
|
@@ -78,6 +82,8 @@ module Aws::PinpointSMSVoiceV2
|
|
78
82
|
Aws::PinpointSMSVoiceV2::Endpoints::CreateRegistrationVersion.build(context)
|
79
83
|
when :create_verified_destination_number
|
80
84
|
Aws::PinpointSMSVoiceV2::Endpoints::CreateVerifiedDestinationNumber.build(context)
|
85
|
+
when :delete_account_default_protect_configuration
|
86
|
+
Aws::PinpointSMSVoiceV2::Endpoints::DeleteAccountDefaultProtectConfiguration.build(context)
|
81
87
|
when :delete_configuration_set
|
82
88
|
Aws::PinpointSMSVoiceV2::Endpoints::DeleteConfigurationSet.build(context)
|
83
89
|
when :delete_default_message_type
|
@@ -88,12 +94,16 @@ module Aws::PinpointSMSVoiceV2
|
|
88
94
|
Aws::PinpointSMSVoiceV2::Endpoints::DeleteEventDestination.build(context)
|
89
95
|
when :delete_keyword
|
90
96
|
Aws::PinpointSMSVoiceV2::Endpoints::DeleteKeyword.build(context)
|
97
|
+
when :delete_media_message_spend_limit_override
|
98
|
+
Aws::PinpointSMSVoiceV2::Endpoints::DeleteMediaMessageSpendLimitOverride.build(context)
|
91
99
|
when :delete_opt_out_list
|
92
100
|
Aws::PinpointSMSVoiceV2::Endpoints::DeleteOptOutList.build(context)
|
93
101
|
when :delete_opted_out_number
|
94
102
|
Aws::PinpointSMSVoiceV2::Endpoints::DeleteOptedOutNumber.build(context)
|
95
103
|
when :delete_pool
|
96
104
|
Aws::PinpointSMSVoiceV2::Endpoints::DeletePool.build(context)
|
105
|
+
when :delete_protect_configuration
|
106
|
+
Aws::PinpointSMSVoiceV2::Endpoints::DeleteProtectConfiguration.build(context)
|
97
107
|
when :delete_registration
|
98
108
|
Aws::PinpointSMSVoiceV2::Endpoints::DeleteRegistration.build(context)
|
99
109
|
when :delete_registration_attachment
|
@@ -122,6 +132,8 @@ module Aws::PinpointSMSVoiceV2
|
|
122
132
|
Aws::PinpointSMSVoiceV2::Endpoints::DescribePhoneNumbers.build(context)
|
123
133
|
when :describe_pools
|
124
134
|
Aws::PinpointSMSVoiceV2::Endpoints::DescribePools.build(context)
|
135
|
+
when :describe_protect_configurations
|
136
|
+
Aws::PinpointSMSVoiceV2::Endpoints::DescribeProtectConfigurations.build(context)
|
125
137
|
when :describe_registration_attachments
|
126
138
|
Aws::PinpointSMSVoiceV2::Endpoints::DescribeRegistrationAttachments.build(context)
|
127
139
|
when :describe_registration_field_definitions
|
@@ -144,8 +156,12 @@ module Aws::PinpointSMSVoiceV2
|
|
144
156
|
Aws::PinpointSMSVoiceV2::Endpoints::DescribeVerifiedDestinationNumbers.build(context)
|
145
157
|
when :disassociate_origination_identity
|
146
158
|
Aws::PinpointSMSVoiceV2::Endpoints::DisassociateOriginationIdentity.build(context)
|
159
|
+
when :disassociate_protect_configuration
|
160
|
+
Aws::PinpointSMSVoiceV2::Endpoints::DisassociateProtectConfiguration.build(context)
|
147
161
|
when :discard_registration_version
|
148
162
|
Aws::PinpointSMSVoiceV2::Endpoints::DiscardRegistrationVersion.build(context)
|
163
|
+
when :get_protect_configuration_country_rule_set
|
164
|
+
Aws::PinpointSMSVoiceV2::Endpoints::GetProtectConfigurationCountryRuleSet.build(context)
|
149
165
|
when :list_pool_origination_identities
|
150
166
|
Aws::PinpointSMSVoiceV2::Endpoints::ListPoolOriginationIdentities.build(context)
|
151
167
|
when :list_registration_associations
|
@@ -168,14 +184,20 @@ module Aws::PinpointSMSVoiceV2
|
|
168
184
|
Aws::PinpointSMSVoiceV2::Endpoints::RequestSenderId.build(context)
|
169
185
|
when :send_destination_number_verification_code
|
170
186
|
Aws::PinpointSMSVoiceV2::Endpoints::SendDestinationNumberVerificationCode.build(context)
|
187
|
+
when :send_media_message
|
188
|
+
Aws::PinpointSMSVoiceV2::Endpoints::SendMediaMessage.build(context)
|
171
189
|
when :send_text_message
|
172
190
|
Aws::PinpointSMSVoiceV2::Endpoints::SendTextMessage.build(context)
|
173
191
|
when :send_voice_message
|
174
192
|
Aws::PinpointSMSVoiceV2::Endpoints::SendVoiceMessage.build(context)
|
193
|
+
when :set_account_default_protect_configuration
|
194
|
+
Aws::PinpointSMSVoiceV2::Endpoints::SetAccountDefaultProtectConfiguration.build(context)
|
175
195
|
when :set_default_message_type
|
176
196
|
Aws::PinpointSMSVoiceV2::Endpoints::SetDefaultMessageType.build(context)
|
177
197
|
when :set_default_sender_id
|
178
198
|
Aws::PinpointSMSVoiceV2::Endpoints::SetDefaultSenderId.build(context)
|
199
|
+
when :set_media_message_spend_limit_override
|
200
|
+
Aws::PinpointSMSVoiceV2::Endpoints::SetMediaMessageSpendLimitOverride.build(context)
|
179
201
|
when :set_text_message_spend_limit_override
|
180
202
|
Aws::PinpointSMSVoiceV2::Endpoints::SetTextMessageSpendLimitOverride.build(context)
|
181
203
|
when :set_voice_message_spend_limit_override
|
@@ -192,6 +214,10 @@ module Aws::PinpointSMSVoiceV2
|
|
192
214
|
Aws::PinpointSMSVoiceV2::Endpoints::UpdatePhoneNumber.build(context)
|
193
215
|
when :update_pool
|
194
216
|
Aws::PinpointSMSVoiceV2::Endpoints::UpdatePool.build(context)
|
217
|
+
when :update_protect_configuration
|
218
|
+
Aws::PinpointSMSVoiceV2::Endpoints::UpdateProtectConfiguration.build(context)
|
219
|
+
when :update_protect_configuration_country_rule_set
|
220
|
+
Aws::PinpointSMSVoiceV2::Endpoints::UpdateProtectConfigurationCountryRuleSet.build(context)
|
195
221
|
when :update_sender_id
|
196
222
|
Aws::PinpointSMSVoiceV2::Endpoints::UpdateSenderId.build(context)
|
197
223
|
when :verify_destination_number
|