aws-sdk-voiceid 1.11.0 → 1.13.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.
@@ -16,18 +16,24 @@ module Aws::VoiceID
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
18
  Arn = Shapes::StringShape.new(name: 'Arn')
19
+ AssociateFraudsterRequest = Shapes::StructureShape.new(name: 'AssociateFraudsterRequest')
20
+ AssociateFraudsterResponse = Shapes::StructureShape.new(name: 'AssociateFraudsterResponse')
19
21
  AuthenticationConfiguration = Shapes::StructureShape.new(name: 'AuthenticationConfiguration')
20
22
  AuthenticationDecision = Shapes::StringShape.new(name: 'AuthenticationDecision')
21
23
  AuthenticationResult = Shapes::StructureShape.new(name: 'AuthenticationResult')
24
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
22
25
  ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
23
26
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
24
27
  ConflictType = Shapes::StringShape.new(name: 'ConflictType')
25
28
  CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
26
29
  CreateDomainResponse = Shapes::StructureShape.new(name: 'CreateDomainResponse')
30
+ CreateWatchlistRequest = Shapes::StructureShape.new(name: 'CreateWatchlistRequest')
31
+ CreateWatchlistResponse = Shapes::StructureShape.new(name: 'CreateWatchlistResponse')
27
32
  CustomerSpeakerId = Shapes::StringShape.new(name: 'CustomerSpeakerId')
28
33
  DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
29
34
  DeleteFraudsterRequest = Shapes::StructureShape.new(name: 'DeleteFraudsterRequest')
30
35
  DeleteSpeakerRequest = Shapes::StructureShape.new(name: 'DeleteSpeakerRequest')
36
+ DeleteWatchlistRequest = Shapes::StructureShape.new(name: 'DeleteWatchlistRequest')
31
37
  DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest')
32
38
  DescribeDomainResponse = Shapes::StructureShape.new(name: 'DescribeDomainResponse')
33
39
  DescribeFraudsterRegistrationJobRequest = Shapes::StructureShape.new(name: 'DescribeFraudsterRegistrationJobRequest')
@@ -38,7 +44,11 @@ module Aws::VoiceID
38
44
  DescribeSpeakerEnrollmentJobResponse = Shapes::StructureShape.new(name: 'DescribeSpeakerEnrollmentJobResponse')
39
45
  DescribeSpeakerRequest = Shapes::StructureShape.new(name: 'DescribeSpeakerRequest')
40
46
  DescribeSpeakerResponse = Shapes::StructureShape.new(name: 'DescribeSpeakerResponse')
47
+ DescribeWatchlistRequest = Shapes::StructureShape.new(name: 'DescribeWatchlistRequest')
48
+ DescribeWatchlistResponse = Shapes::StructureShape.new(name: 'DescribeWatchlistResponse')
41
49
  Description = Shapes::StringShape.new(name: 'Description')
50
+ DisassociateFraudsterRequest = Shapes::StructureShape.new(name: 'DisassociateFraudsterRequest')
51
+ DisassociateFraudsterResponse = Shapes::StructureShape.new(name: 'DisassociateFraudsterResponse')
42
52
  Domain = Shapes::StructureShape.new(name: 'Domain')
43
53
  DomainId = Shapes::StringShape.new(name: 'DomainId')
44
54
  DomainName = Shapes::StringShape.new(name: 'DomainName')
@@ -48,6 +58,7 @@ module Aws::VoiceID
48
58
  DuplicateRegistrationAction = Shapes::StringShape.new(name: 'DuplicateRegistrationAction')
49
59
  EnrollmentConfig = Shapes::StructureShape.new(name: 'EnrollmentConfig')
50
60
  EnrollmentJobFraudDetectionConfig = Shapes::StructureShape.new(name: 'EnrollmentJobFraudDetectionConfig')
61
+ EnrollmentJobFraudDetectionConfigWatchlistIds = Shapes::ListShape.new(name: 'EnrollmentJobFraudDetectionConfigWatchlistIds')
51
62
  EvaluateSessionRequest = Shapes::StructureShape.new(name: 'EvaluateSessionRequest')
52
63
  EvaluateSessionResponse = Shapes::StructureShape.new(name: 'EvaluateSessionResponse')
53
64
  ExistingEnrollmentAction = Shapes::StringShape.new(name: 'ExistingEnrollmentAction')
@@ -65,6 +76,8 @@ module Aws::VoiceID
65
76
  FraudsterRegistrationJobStatus = Shapes::StringShape.new(name: 'FraudsterRegistrationJobStatus')
66
77
  FraudsterRegistrationJobSummaries = Shapes::ListShape.new(name: 'FraudsterRegistrationJobSummaries')
67
78
  FraudsterRegistrationJobSummary = Shapes::StructureShape.new(name: 'FraudsterRegistrationJobSummary')
79
+ FraudsterSummaries = Shapes::ListShape.new(name: 'FraudsterSummaries')
80
+ FraudsterSummary = Shapes::StructureShape.new(name: 'FraudsterSummary')
68
81
  GeneratedFraudsterId = Shapes::StringShape.new(name: 'GeneratedFraudsterId')
69
82
  GeneratedSpeakerId = Shapes::StringShape.new(name: 'GeneratedSpeakerId')
70
83
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
@@ -80,12 +93,16 @@ module Aws::VoiceID
80
93
  ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
81
94
  ListFraudsterRegistrationJobsRequest = Shapes::StructureShape.new(name: 'ListFraudsterRegistrationJobsRequest')
82
95
  ListFraudsterRegistrationJobsResponse = Shapes::StructureShape.new(name: 'ListFraudsterRegistrationJobsResponse')
96
+ ListFraudstersRequest = Shapes::StructureShape.new(name: 'ListFraudstersRequest')
97
+ ListFraudstersResponse = Shapes::StructureShape.new(name: 'ListFraudstersResponse')
83
98
  ListSpeakerEnrollmentJobsRequest = Shapes::StructureShape.new(name: 'ListSpeakerEnrollmentJobsRequest')
84
99
  ListSpeakerEnrollmentJobsResponse = Shapes::StructureShape.new(name: 'ListSpeakerEnrollmentJobsResponse')
85
100
  ListSpeakersRequest = Shapes::StructureShape.new(name: 'ListSpeakersRequest')
86
101
  ListSpeakersResponse = Shapes::StructureShape.new(name: 'ListSpeakersResponse')
87
102
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
88
103
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
104
+ ListWatchlistsRequest = Shapes::StructureShape.new(name: 'ListWatchlistsRequest')
105
+ ListWatchlistsResponse = Shapes::StructureShape.new(name: 'ListWatchlistsResponse')
89
106
  MaxResultsForList = Shapes::IntegerShape.new(name: 'MaxResultsForList')
90
107
  MaxResultsForListDomainFe = Shapes::IntegerShape.new(name: 'MaxResultsForListDomainFe')
91
108
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -93,8 +110,10 @@ module Aws::VoiceID
93
110
  OptOutSpeakerResponse = Shapes::StructureShape.new(name: 'OptOutSpeakerResponse')
94
111
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
95
112
  RegistrationConfig = Shapes::StructureShape.new(name: 'RegistrationConfig')
113
+ RegistrationConfigWatchlistIds = Shapes::ListShape.new(name: 'RegistrationConfigWatchlistIds')
96
114
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
97
115
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
116
+ ResponseWatchlistIds = Shapes::ListShape.new(name: 'ResponseWatchlistIds')
98
117
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
99
118
  Score = Shapes::IntegerShape.new(name: 'Score')
100
119
  ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
@@ -133,12 +152,29 @@ module Aws::VoiceID
133
152
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
134
153
  UpdateDomainRequest = Shapes::StructureShape.new(name: 'UpdateDomainRequest')
135
154
  UpdateDomainResponse = Shapes::StructureShape.new(name: 'UpdateDomainResponse')
155
+ UpdateWatchlistRequest = Shapes::StructureShape.new(name: 'UpdateWatchlistRequest')
156
+ UpdateWatchlistResponse = Shapes::StructureShape.new(name: 'UpdateWatchlistResponse')
136
157
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
137
158
  VoiceSpoofingRisk = Shapes::StructureShape.new(name: 'VoiceSpoofingRisk')
159
+ Watchlist = Shapes::StructureShape.new(name: 'Watchlist')
160
+ WatchlistDescription = Shapes::StringShape.new(name: 'WatchlistDescription')
161
+ WatchlistDetails = Shapes::StructureShape.new(name: 'WatchlistDetails')
162
+ WatchlistId = Shapes::StringShape.new(name: 'WatchlistId')
163
+ WatchlistName = Shapes::StringShape.new(name: 'WatchlistName')
164
+ WatchlistSummaries = Shapes::ListShape.new(name: 'WatchlistSummaries')
165
+ WatchlistSummary = Shapes::StructureShape.new(name: 'WatchlistSummary')
138
166
 
139
167
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
140
168
  AccessDeniedException.struct_class = Types::AccessDeniedException
141
169
 
170
+ AssociateFraudsterRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
171
+ AssociateFraudsterRequest.add_member(:fraudster_id, Shapes::ShapeRef.new(shape: FraudsterId, required: true, location_name: "FraudsterId"))
172
+ AssociateFraudsterRequest.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, required: true, location_name: "WatchlistId"))
173
+ AssociateFraudsterRequest.struct_class = Types::AssociateFraudsterRequest
174
+
175
+ AssociateFraudsterResponse.add_member(:fraudster, Shapes::ShapeRef.new(shape: Fraudster, location_name: "Fraudster"))
176
+ AssociateFraudsterResponse.struct_class = Types::AssociateFraudsterResponse
177
+
142
178
  AuthenticationConfiguration.add_member(:acceptance_threshold, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "AcceptanceThreshold"))
143
179
  AuthenticationConfiguration.struct_class = Types::AuthenticationConfiguration
144
180
 
@@ -166,6 +202,15 @@ module Aws::VoiceID
166
202
  CreateDomainResponse.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
167
203
  CreateDomainResponse.struct_class = Types::CreateDomainResponse
168
204
 
205
+ CreateWatchlistRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
206
+ CreateWatchlistRequest.add_member(:description, Shapes::ShapeRef.new(shape: WatchlistDescription, location_name: "Description"))
207
+ CreateWatchlistRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
208
+ CreateWatchlistRequest.add_member(:name, Shapes::ShapeRef.new(shape: WatchlistName, required: true, location_name: "Name"))
209
+ CreateWatchlistRequest.struct_class = Types::CreateWatchlistRequest
210
+
211
+ CreateWatchlistResponse.add_member(:watchlist, Shapes::ShapeRef.new(shape: Watchlist, location_name: "Watchlist"))
212
+ CreateWatchlistResponse.struct_class = Types::CreateWatchlistResponse
213
+
169
214
  DeleteDomainRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
170
215
  DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
171
216
 
@@ -177,6 +222,10 @@ module Aws::VoiceID
177
222
  DeleteSpeakerRequest.add_member(:speaker_id, Shapes::ShapeRef.new(shape: SpeakerId, required: true, location_name: "SpeakerId"))
178
223
  DeleteSpeakerRequest.struct_class = Types::DeleteSpeakerRequest
179
224
 
225
+ DeleteWatchlistRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
226
+ DeleteWatchlistRequest.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, required: true, location_name: "WatchlistId"))
227
+ DeleteWatchlistRequest.struct_class = Types::DeleteWatchlistRequest
228
+
180
229
  DescribeDomainRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
181
230
  DescribeDomainRequest.struct_class = Types::DescribeDomainRequest
182
231
 
@@ -211,6 +260,21 @@ module Aws::VoiceID
211
260
  DescribeSpeakerResponse.add_member(:speaker, Shapes::ShapeRef.new(shape: Speaker, location_name: "Speaker"))
212
261
  DescribeSpeakerResponse.struct_class = Types::DescribeSpeakerResponse
213
262
 
263
+ DescribeWatchlistRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
264
+ DescribeWatchlistRequest.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, required: true, location_name: "WatchlistId"))
265
+ DescribeWatchlistRequest.struct_class = Types::DescribeWatchlistRequest
266
+
267
+ DescribeWatchlistResponse.add_member(:watchlist, Shapes::ShapeRef.new(shape: Watchlist, location_name: "Watchlist"))
268
+ DescribeWatchlistResponse.struct_class = Types::DescribeWatchlistResponse
269
+
270
+ DisassociateFraudsterRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
271
+ DisassociateFraudsterRequest.add_member(:fraudster_id, Shapes::ShapeRef.new(shape: FraudsterId, required: true, location_name: "FraudsterId"))
272
+ DisassociateFraudsterRequest.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, required: true, location_name: "WatchlistId"))
273
+ DisassociateFraudsterRequest.struct_class = Types::DisassociateFraudsterRequest
274
+
275
+ DisassociateFraudsterResponse.add_member(:fraudster, Shapes::ShapeRef.new(shape: Fraudster, location_name: "Fraudster"))
276
+ DisassociateFraudsterResponse.struct_class = Types::DisassociateFraudsterResponse
277
+
214
278
  Domain.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
215
279
  Domain.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
216
280
  Domain.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -220,6 +284,7 @@ module Aws::VoiceID
220
284
  Domain.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
221
285
  Domain.add_member(:server_side_encryption_update_details, Shapes::ShapeRef.new(shape: ServerSideEncryptionUpdateDetails, location_name: "ServerSideEncryptionUpdateDetails"))
222
286
  Domain.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
287
+ Domain.add_member(:watchlist_details, Shapes::ShapeRef.new(shape: WatchlistDetails, location_name: "WatchlistDetails"))
223
288
  Domain.struct_class = Types::Domain
224
289
 
225
290
  DomainSummaries.member = Shapes::ShapeRef.new(shape: DomainSummary)
@@ -233,6 +298,7 @@ module Aws::VoiceID
233
298
  DomainSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
234
299
  DomainSummary.add_member(:server_side_encryption_update_details, Shapes::ShapeRef.new(shape: ServerSideEncryptionUpdateDetails, location_name: "ServerSideEncryptionUpdateDetails"))
235
300
  DomainSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
301
+ DomainSummary.add_member(:watchlist_details, Shapes::ShapeRef.new(shape: WatchlistDetails, location_name: "WatchlistDetails"))
236
302
  DomainSummary.struct_class = Types::DomainSummary
237
303
 
238
304
  EnrollmentConfig.add_member(:existing_enrollment_action, Shapes::ShapeRef.new(shape: ExistingEnrollmentAction, location_name: "ExistingEnrollmentAction"))
@@ -241,8 +307,11 @@ module Aws::VoiceID
241
307
 
242
308
  EnrollmentJobFraudDetectionConfig.add_member(:fraud_detection_action, Shapes::ShapeRef.new(shape: FraudDetectionAction, location_name: "FraudDetectionAction"))
243
309
  EnrollmentJobFraudDetectionConfig.add_member(:risk_threshold, Shapes::ShapeRef.new(shape: Score, location_name: "RiskThreshold"))
310
+ EnrollmentJobFraudDetectionConfig.add_member(:watchlist_ids, Shapes::ShapeRef.new(shape: EnrollmentJobFraudDetectionConfigWatchlistIds, location_name: "WatchlistIds"))
244
311
  EnrollmentJobFraudDetectionConfig.struct_class = Types::EnrollmentJobFraudDetectionConfig
245
312
 
313
+ EnrollmentJobFraudDetectionConfigWatchlistIds.member = Shapes::ShapeRef.new(shape: WatchlistId)
314
+
246
315
  EvaluateSessionRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
247
316
  EvaluateSessionRequest.add_member(:session_name_or_id, Shapes::ShapeRef.new(shape: SessionNameOrId, required: true, location_name: "SessionNameOrId"))
248
317
  EvaluateSessionRequest.struct_class = Types::EvaluateSessionRequest
@@ -259,7 +328,8 @@ module Aws::VoiceID
259
328
  FailureDetails.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "StatusCode"))
260
329
  FailureDetails.struct_class = Types::FailureDetails
261
330
 
262
- FraudDetectionConfiguration.add_member(:risk_threshold, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "RiskThreshold"))
331
+ FraudDetectionConfiguration.add_member(:risk_threshold, Shapes::ShapeRef.new(shape: Score, location_name: "RiskThreshold"))
332
+ FraudDetectionConfiguration.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, location_name: "WatchlistId"))
263
333
  FraudDetectionConfiguration.struct_class = Types::FraudDetectionConfiguration
264
334
 
265
335
  FraudDetectionReasons.member = Shapes::ShapeRef.new(shape: FraudDetectionReason)
@@ -280,6 +350,7 @@ module Aws::VoiceID
280
350
  Fraudster.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
281
351
  Fraudster.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
282
352
  Fraudster.add_member(:generated_fraudster_id, Shapes::ShapeRef.new(shape: GeneratedFraudsterId, location_name: "GeneratedFraudsterId"))
353
+ Fraudster.add_member(:watchlist_ids, Shapes::ShapeRef.new(shape: ResponseWatchlistIds, location_name: "WatchlistIds"))
283
354
  Fraudster.struct_class = Types::Fraudster
284
355
 
285
356
  FraudsterRegistrationJob.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
@@ -308,6 +379,14 @@ module Aws::VoiceID
308
379
  FraudsterRegistrationJobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: FraudsterRegistrationJobStatus, location_name: "JobStatus"))
309
380
  FraudsterRegistrationJobSummary.struct_class = Types::FraudsterRegistrationJobSummary
310
381
 
382
+ FraudsterSummaries.member = Shapes::ShapeRef.new(shape: FraudsterSummary)
383
+
384
+ FraudsterSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
385
+ FraudsterSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
386
+ FraudsterSummary.add_member(:generated_fraudster_id, Shapes::ShapeRef.new(shape: GeneratedFraudsterId, location_name: "GeneratedFraudsterId"))
387
+ FraudsterSummary.add_member(:watchlist_ids, Shapes::ShapeRef.new(shape: ResponseWatchlistIds, location_name: "WatchlistIds"))
388
+ FraudsterSummary.struct_class = Types::FraudsterSummary
389
+
311
390
  InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
312
391
  InputDataConfig.struct_class = Types::InputDataConfig
313
392
 
@@ -339,6 +418,16 @@ module Aws::VoiceID
339
418
  ListFraudsterRegistrationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
340
419
  ListFraudsterRegistrationJobsResponse.struct_class = Types::ListFraudsterRegistrationJobsResponse
341
420
 
421
+ ListFraudstersRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
422
+ ListFraudstersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForList, location_name: "MaxResults"))
423
+ ListFraudstersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
424
+ ListFraudstersRequest.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, location_name: "WatchlistId"))
425
+ ListFraudstersRequest.struct_class = Types::ListFraudstersRequest
426
+
427
+ ListFraudstersResponse.add_member(:fraudster_summaries, Shapes::ShapeRef.new(shape: FraudsterSummaries, location_name: "FraudsterSummaries"))
428
+ ListFraudstersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
429
+ ListFraudstersResponse.struct_class = Types::ListFraudstersResponse
430
+
342
431
  ListSpeakerEnrollmentJobsRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
343
432
  ListSpeakerEnrollmentJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJobStatus, location_name: "JobStatus"))
344
433
  ListSpeakerEnrollmentJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForList, location_name: "MaxResults"))
@@ -364,6 +453,15 @@ module Aws::VoiceID
364
453
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
365
454
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
366
455
 
456
+ ListWatchlistsRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
457
+ ListWatchlistsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForList, location_name: "MaxResults"))
458
+ ListWatchlistsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
459
+ ListWatchlistsRequest.struct_class = Types::ListWatchlistsRequest
460
+
461
+ ListWatchlistsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
462
+ ListWatchlistsResponse.add_member(:watchlist_summaries, Shapes::ShapeRef.new(shape: WatchlistSummaries, location_name: "WatchlistSummaries"))
463
+ ListWatchlistsResponse.struct_class = Types::ListWatchlistsResponse
464
+
367
465
  OptOutSpeakerRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
368
466
  OptOutSpeakerRequest.add_member(:speaker_id, Shapes::ShapeRef.new(shape: SpeakerId, required: true, location_name: "SpeakerId"))
369
467
  OptOutSpeakerRequest.struct_class = Types::OptOutSpeakerRequest
@@ -377,12 +475,17 @@ module Aws::VoiceID
377
475
 
378
476
  RegistrationConfig.add_member(:duplicate_registration_action, Shapes::ShapeRef.new(shape: DuplicateRegistrationAction, location_name: "DuplicateRegistrationAction"))
379
477
  RegistrationConfig.add_member(:fraudster_similarity_threshold, Shapes::ShapeRef.new(shape: Score, location_name: "FraudsterSimilarityThreshold"))
478
+ RegistrationConfig.add_member(:watchlist_ids, Shapes::ShapeRef.new(shape: RegistrationConfigWatchlistIds, location_name: "WatchlistIds"))
380
479
  RegistrationConfig.struct_class = Types::RegistrationConfig
381
480
 
481
+ RegistrationConfigWatchlistIds.member = Shapes::ShapeRef.new(shape: WatchlistId)
482
+
382
483
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
383
484
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
384
485
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
385
486
 
487
+ ResponseWatchlistIds.member = Shapes::ShapeRef.new(shape: WatchlistId)
488
+
386
489
  ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
387
490
  ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
388
491
 
@@ -496,12 +599,44 @@ module Aws::VoiceID
496
599
  UpdateDomainResponse.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
497
600
  UpdateDomainResponse.struct_class = Types::UpdateDomainResponse
498
601
 
602
+ UpdateWatchlistRequest.add_member(:description, Shapes::ShapeRef.new(shape: WatchlistDescription, location_name: "Description"))
603
+ UpdateWatchlistRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
604
+ UpdateWatchlistRequest.add_member(:name, Shapes::ShapeRef.new(shape: WatchlistName, location_name: "Name"))
605
+ UpdateWatchlistRequest.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, required: true, location_name: "WatchlistId"))
606
+ UpdateWatchlistRequest.struct_class = Types::UpdateWatchlistRequest
607
+
608
+ UpdateWatchlistResponse.add_member(:watchlist, Shapes::ShapeRef.new(shape: Watchlist, location_name: "Watchlist"))
609
+ UpdateWatchlistResponse.struct_class = Types::UpdateWatchlistResponse
610
+
499
611
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
500
612
  ValidationException.struct_class = Types::ValidationException
501
613
 
502
614
  VoiceSpoofingRisk.add_member(:risk_score, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "RiskScore"))
503
615
  VoiceSpoofingRisk.struct_class = Types::VoiceSpoofingRisk
504
616
 
617
+ Watchlist.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
618
+ Watchlist.add_member(:default_watchlist, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultWatchlist"))
619
+ Watchlist.add_member(:description, Shapes::ShapeRef.new(shape: WatchlistDescription, location_name: "Description"))
620
+ Watchlist.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
621
+ Watchlist.add_member(:name, Shapes::ShapeRef.new(shape: WatchlistName, location_name: "Name"))
622
+ Watchlist.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
623
+ Watchlist.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, location_name: "WatchlistId"))
624
+ Watchlist.struct_class = Types::Watchlist
625
+
626
+ WatchlistDetails.add_member(:default_watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, required: true, location_name: "DefaultWatchlistId"))
627
+ WatchlistDetails.struct_class = Types::WatchlistDetails
628
+
629
+ WatchlistSummaries.member = Shapes::ShapeRef.new(shape: WatchlistSummary)
630
+
631
+ WatchlistSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
632
+ WatchlistSummary.add_member(:default_watchlist, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultWatchlist"))
633
+ WatchlistSummary.add_member(:description, Shapes::ShapeRef.new(shape: WatchlistDescription, location_name: "Description"))
634
+ WatchlistSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
635
+ WatchlistSummary.add_member(:name, Shapes::ShapeRef.new(shape: WatchlistName, location_name: "Name"))
636
+ WatchlistSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
637
+ WatchlistSummary.add_member(:watchlist_id, Shapes::ShapeRef.new(shape: WatchlistId, location_name: "WatchlistId"))
638
+ WatchlistSummary.struct_class = Types::WatchlistSummary
639
+
505
640
 
506
641
  # @api private
507
642
  API = Seahorse::Model::Api.new.tap do |api|
@@ -521,6 +656,21 @@ module Aws::VoiceID
521
656
  "uid" => "voice-id-2021-09-27",
522
657
  }
523
658
 
659
+ api.add_operation(:associate_fraudster, Seahorse::Model::Operation.new.tap do |o|
660
+ o.name = "AssociateFraudster"
661
+ o.http_method = "POST"
662
+ o.http_request_uri = "/"
663
+ o.input = Shapes::ShapeRef.new(shape: AssociateFraudsterRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: AssociateFraudsterResponse)
665
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
666
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
669
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ end)
673
+
524
674
  api.add_operation(:create_domain, Seahorse::Model::Operation.new.tap do |o|
525
675
  o.name = "CreateDomain"
526
676
  o.http_method = "POST"
@@ -536,6 +686,21 @@ module Aws::VoiceID
536
686
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
537
687
  end)
538
688
 
689
+ api.add_operation(:create_watchlist, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "CreateWatchlist"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/"
693
+ o.input = Shapes::ShapeRef.new(shape: CreateWatchlistRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: CreateWatchlistResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
700
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
701
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
702
+ end)
703
+
539
704
  api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
540
705
  o.name = "DeleteDomain"
541
706
  o.http_method = "POST"
@@ -578,6 +743,20 @@ module Aws::VoiceID
578
743
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
579
744
  end)
580
745
 
746
+ api.add_operation(:delete_watchlist, Seahorse::Model::Operation.new.tap do |o|
747
+ o.name = "DeleteWatchlist"
748
+ o.http_method = "POST"
749
+ o.http_request_uri = "/"
750
+ o.input = Shapes::ShapeRef.new(shape: DeleteWatchlistRequest)
751
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
752
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
755
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
756
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
757
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
758
+ end)
759
+
581
760
  api.add_operation(:describe_domain, Seahorse::Model::Operation.new.tap do |o|
582
761
  o.name = "DescribeDomain"
583
762
  o.http_method = "POST"
@@ -643,6 +822,33 @@ module Aws::VoiceID
643
822
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
644
823
  end)
645
824
 
825
+ api.add_operation(:describe_watchlist, Seahorse::Model::Operation.new.tap do |o|
826
+ o.name = "DescribeWatchlist"
827
+ o.http_method = "POST"
828
+ o.http_request_uri = "/"
829
+ o.input = Shapes::ShapeRef.new(shape: DescribeWatchlistRequest)
830
+ o.output = Shapes::ShapeRef.new(shape: DescribeWatchlistResponse)
831
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
833
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
835
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
836
+ end)
837
+
838
+ api.add_operation(:disassociate_fraudster, Seahorse::Model::Operation.new.tap do |o|
839
+ o.name = "DisassociateFraudster"
840
+ o.http_method = "POST"
841
+ o.http_request_uri = "/"
842
+ o.input = Shapes::ShapeRef.new(shape: DisassociateFraudsterRequest)
843
+ o.output = Shapes::ShapeRef.new(shape: DisassociateFraudsterResponse)
844
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
847
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
849
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
850
+ end)
851
+
646
852
  api.add_operation(:evaluate_session, Seahorse::Model::Operation.new.tap do |o|
647
853
  o.name = "EvaluateSession"
648
854
  o.http_method = "POST"
@@ -694,6 +900,25 @@ module Aws::VoiceID
694
900
  )
695
901
  end)
696
902
 
903
+ api.add_operation(:list_fraudsters, Seahorse::Model::Operation.new.tap do |o|
904
+ o.name = "ListFraudsters"
905
+ o.http_method = "POST"
906
+ o.http_request_uri = "/"
907
+ o.input = Shapes::ShapeRef.new(shape: ListFraudstersRequest)
908
+ o.output = Shapes::ShapeRef.new(shape: ListFraudstersResponse)
909
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
910
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
913
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
914
+ o[:pager] = Aws::Pager.new(
915
+ limit_key: "max_results",
916
+ tokens: {
917
+ "next_token" => "next_token"
918
+ }
919
+ )
920
+ end)
921
+
697
922
  api.add_operation(:list_speaker_enrollment_jobs, Seahorse::Model::Operation.new.tap do |o|
698
923
  o.name = "ListSpeakerEnrollmentJobs"
699
924
  o.http_method = "POST"
@@ -745,6 +970,25 @@ module Aws::VoiceID
745
970
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
746
971
  end)
747
972
 
973
+ api.add_operation(:list_watchlists, Seahorse::Model::Operation.new.tap do |o|
974
+ o.name = "ListWatchlists"
975
+ o.http_method = "POST"
976
+ o.http_request_uri = "/"
977
+ o.input = Shapes::ShapeRef.new(shape: ListWatchlistsRequest)
978
+ o.output = Shapes::ShapeRef.new(shape: ListWatchlistsResponse)
979
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
980
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
981
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
983
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
984
+ o[:pager] = Aws::Pager.new(
985
+ limit_key: "max_results",
986
+ tokens: {
987
+ "next_token" => "next_token"
988
+ }
989
+ )
990
+ end)
991
+
748
992
  api.add_operation(:opt_out_speaker, Seahorse::Model::Operation.new.tap do |o|
749
993
  o.name = "OptOutSpeaker"
750
994
  o.http_method = "POST"
@@ -831,6 +1075,20 @@ module Aws::VoiceID
831
1075
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
832
1076
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
833
1077
  end)
1078
+
1079
+ api.add_operation(:update_watchlist, Seahorse::Model::Operation.new.tap do |o|
1080
+ o.name = "UpdateWatchlist"
1081
+ o.http_method = "POST"
1082
+ o.http_request_uri = "/"
1083
+ o.input = Shapes::ShapeRef.new(shape: UpdateWatchlistRequest)
1084
+ o.output = Shapes::ShapeRef.new(shape: UpdateWatchlistResponse)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1089
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1090
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1091
+ end)
834
1092
  end
835
1093
 
836
1094
  end
@@ -14,36 +14,39 @@ module Aws::VoiceID
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
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://voiceid-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
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  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://voiceid-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  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://voiceid.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://voiceid-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://voiceid-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://voiceid.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://voiceid.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://voiceid.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end