aws-sdk-voiceid 1.11.0 → 1.13.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-voiceid/client.rb +443 -30
- data/lib/aws-sdk-voiceid/client_api.rb +259 -1
- data/lib/aws-sdk-voiceid/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-voiceid/endpoints.rb +112 -0
- data/lib/aws-sdk-voiceid/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-voiceid/types.rb +582 -84
- data/lib/aws-sdk-voiceid.rb +2 -2
- metadata +4 -4
@@ -11,6 +11,20 @@
|
|
11
11
|
module Aws::VoiceID
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class AssociateFraudster
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::VoiceID::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
14
28
|
class CreateDomain
|
15
29
|
def self.build(context)
|
16
30
|
unless context.config.regional_endpoint
|
@@ -25,6 +39,20 @@ module Aws::VoiceID
|
|
25
39
|
end
|
26
40
|
end
|
27
41
|
|
42
|
+
class CreateWatchlist
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::VoiceID::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
28
56
|
class DeleteDomain
|
29
57
|
def self.build(context)
|
30
58
|
unless context.config.regional_endpoint
|
@@ -67,6 +95,20 @@ module Aws::VoiceID
|
|
67
95
|
end
|
68
96
|
end
|
69
97
|
|
98
|
+
class DeleteWatchlist
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::VoiceID::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
70
112
|
class DescribeDomain
|
71
113
|
def self.build(context)
|
72
114
|
unless context.config.regional_endpoint
|
@@ -137,6 +179,34 @@ module Aws::VoiceID
|
|
137
179
|
end
|
138
180
|
end
|
139
181
|
|
182
|
+
class DescribeWatchlist
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::VoiceID::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class DisassociateFraudster
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::VoiceID::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
140
210
|
class EvaluateSession
|
141
211
|
def self.build(context)
|
142
212
|
unless context.config.regional_endpoint
|
@@ -179,6 +249,20 @@ module Aws::VoiceID
|
|
179
249
|
end
|
180
250
|
end
|
181
251
|
|
252
|
+
class ListFraudsters
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::VoiceID::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
182
266
|
class ListSpeakerEnrollmentJobs
|
183
267
|
def self.build(context)
|
184
268
|
unless context.config.regional_endpoint
|
@@ -221,6 +305,20 @@ module Aws::VoiceID
|
|
221
305
|
end
|
222
306
|
end
|
223
307
|
|
308
|
+
class ListWatchlists
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::VoiceID::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
224
322
|
class OptOutSpeaker
|
225
323
|
def self.build(context)
|
226
324
|
unless context.config.regional_endpoint
|
@@ -305,5 +403,19 @@ module Aws::VoiceID
|
|
305
403
|
end
|
306
404
|
end
|
307
405
|
|
406
|
+
class UpdateWatchlist
|
407
|
+
def self.build(context)
|
408
|
+
unless context.config.regional_endpoint
|
409
|
+
endpoint = context.config.endpoint.to_s
|
410
|
+
end
|
411
|
+
Aws::VoiceID::EndpointParameters.new(
|
412
|
+
region: context.config.region,
|
413
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
414
|
+
use_fips: context.config.use_fips_endpoint,
|
415
|
+
endpoint: endpoint,
|
416
|
+
)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
308
420
|
end
|
309
421
|
end
|
@@ -56,14 +56,20 @@ module Aws::VoiceID
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :associate_fraudster
|
60
|
+
Aws::VoiceID::Endpoints::AssociateFraudster.build(context)
|
59
61
|
when :create_domain
|
60
62
|
Aws::VoiceID::Endpoints::CreateDomain.build(context)
|
63
|
+
when :create_watchlist
|
64
|
+
Aws::VoiceID::Endpoints::CreateWatchlist.build(context)
|
61
65
|
when :delete_domain
|
62
66
|
Aws::VoiceID::Endpoints::DeleteDomain.build(context)
|
63
67
|
when :delete_fraudster
|
64
68
|
Aws::VoiceID::Endpoints::DeleteFraudster.build(context)
|
65
69
|
when :delete_speaker
|
66
70
|
Aws::VoiceID::Endpoints::DeleteSpeaker.build(context)
|
71
|
+
when :delete_watchlist
|
72
|
+
Aws::VoiceID::Endpoints::DeleteWatchlist.build(context)
|
67
73
|
when :describe_domain
|
68
74
|
Aws::VoiceID::Endpoints::DescribeDomain.build(context)
|
69
75
|
when :describe_fraudster
|
@@ -74,18 +80,26 @@ module Aws::VoiceID
|
|
74
80
|
Aws::VoiceID::Endpoints::DescribeSpeaker.build(context)
|
75
81
|
when :describe_speaker_enrollment_job
|
76
82
|
Aws::VoiceID::Endpoints::DescribeSpeakerEnrollmentJob.build(context)
|
83
|
+
when :describe_watchlist
|
84
|
+
Aws::VoiceID::Endpoints::DescribeWatchlist.build(context)
|
85
|
+
when :disassociate_fraudster
|
86
|
+
Aws::VoiceID::Endpoints::DisassociateFraudster.build(context)
|
77
87
|
when :evaluate_session
|
78
88
|
Aws::VoiceID::Endpoints::EvaluateSession.build(context)
|
79
89
|
when :list_domains
|
80
90
|
Aws::VoiceID::Endpoints::ListDomains.build(context)
|
81
91
|
when :list_fraudster_registration_jobs
|
82
92
|
Aws::VoiceID::Endpoints::ListFraudsterRegistrationJobs.build(context)
|
93
|
+
when :list_fraudsters
|
94
|
+
Aws::VoiceID::Endpoints::ListFraudsters.build(context)
|
83
95
|
when :list_speaker_enrollment_jobs
|
84
96
|
Aws::VoiceID::Endpoints::ListSpeakerEnrollmentJobs.build(context)
|
85
97
|
when :list_speakers
|
86
98
|
Aws::VoiceID::Endpoints::ListSpeakers.build(context)
|
87
99
|
when :list_tags_for_resource
|
88
100
|
Aws::VoiceID::Endpoints::ListTagsForResource.build(context)
|
101
|
+
when :list_watchlists
|
102
|
+
Aws::VoiceID::Endpoints::ListWatchlists.build(context)
|
89
103
|
when :opt_out_speaker
|
90
104
|
Aws::VoiceID::Endpoints::OptOutSpeaker.build(context)
|
91
105
|
when :start_fraudster_registration_job
|
@@ -98,6 +112,8 @@ module Aws::VoiceID
|
|
98
112
|
Aws::VoiceID::Endpoints::UntagResource.build(context)
|
99
113
|
when :update_domain
|
100
114
|
Aws::VoiceID::Endpoints::UpdateDomain.build(context)
|
115
|
+
when :update_watchlist
|
116
|
+
Aws::VoiceID::Endpoints::UpdateWatchlist.build(context)
|
101
117
|
end
|
102
118
|
end
|
103
119
|
end
|