aws-sdk-voiceid 1.10.0 → 1.11.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 +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-voiceid/client.rb +1 -1
- data/lib/aws-sdk-voiceid/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-voiceid/types.rb +0 -275
- data/lib/aws-sdk-voiceid.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: be01e53dbaf647f747107027df2580b6e86f83fe63472d3b3bce4c535e01fc83
|
4
|
+
data.tar.gz: 4c1dece5182949b1cf1589a7d6e79f53f18b74d7232a1b9958bca7213a58627a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efdddc3cd6e8d4e843bcb348b837d8bf8f545af66f716c367e7b2765d7ca14c4359c81a6e0e2b55887db90bfcfc3fa4474d4385d6082e34200d7ae5fc40ab6d7
|
7
|
+
data.tar.gz: 82560d5e87386a4d218ae72aad52ce12aa0c40487a18384ce0790f75efabc20b381f880f87b79dd9fda0c286d6bfce54c6c3c5e39e9c42af6fc393c47ae9d1ca
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.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.10.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -1412,7 +1412,7 @@ module Aws::VoiceID
|
|
1412
1412
|
params: params,
|
1413
1413
|
config: config)
|
1414
1414
|
context[:gem_name] = 'aws-sdk-voiceid'
|
1415
|
-
context[:gem_version] = '1.
|
1415
|
+
context[:gem_version] = '1.11.0'
|
1416
1416
|
Seahorse::Client::Request.new(handlers, context)
|
1417
1417
|
end
|
1418
1418
|
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::VoiceID
|
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://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
|
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://voiceid-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://voiceid.#{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://voiceid.#{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
|
-
dGF0aW9uIjoi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TdGFjayJ9LHRydWVd
|
95
|
-
fV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZu
|
96
|
-
IjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsiZm4iOiJnZXRBdHRy
|
97
|
-
IiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRz
|
98
|
-
RHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25k
|
99
|
-
aXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly92b2ljZWlk
|
100
|
-
LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4
|
101
|
-
fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRw
|
102
|
-
b2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
|
103
|
-
aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
|
104
|
-
dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
|
105
|
-
W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vdm9pY2VpZC57UmVnaW9u
|
106
|
-
fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
|
107
|
-
fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
@@ -140,24 +140,6 @@ module Aws::VoiceID
|
|
140
140
|
include Aws::Structure
|
141
141
|
end
|
142
142
|
|
143
|
-
# @note When making an API call, you may pass CreateDomainRequest
|
144
|
-
# data as a hash:
|
145
|
-
#
|
146
|
-
# {
|
147
|
-
# client_token: "ClientTokenString",
|
148
|
-
# description: "Description",
|
149
|
-
# name: "DomainName", # required
|
150
|
-
# server_side_encryption_configuration: { # required
|
151
|
-
# kms_key_id: "KmsKeyId", # required
|
152
|
-
# },
|
153
|
-
# tags: [
|
154
|
-
# {
|
155
|
-
# key: "TagKey", # required
|
156
|
-
# value: "TagValue", # required
|
157
|
-
# },
|
158
|
-
# ],
|
159
|
-
# }
|
160
|
-
#
|
161
143
|
# @!attribute [rw] client_token
|
162
144
|
# The idempotency token for creating a new domain. If not provided,
|
163
145
|
# Amazon Web Services SDK populates this field.
|
@@ -213,13 +195,6 @@ module Aws::VoiceID
|
|
213
195
|
include Aws::Structure
|
214
196
|
end
|
215
197
|
|
216
|
-
# @note When making an API call, you may pass DeleteDomainRequest
|
217
|
-
# data as a hash:
|
218
|
-
#
|
219
|
-
# {
|
220
|
-
# domain_id: "DomainId", # required
|
221
|
-
# }
|
222
|
-
#
|
223
198
|
# @!attribute [rw] domain_id
|
224
199
|
# The identifier of the domain you want to delete.
|
225
200
|
# @return [String]
|
@@ -232,14 +207,6 @@ module Aws::VoiceID
|
|
232
207
|
include Aws::Structure
|
233
208
|
end
|
234
209
|
|
235
|
-
# @note When making an API call, you may pass DeleteFraudsterRequest
|
236
|
-
# data as a hash:
|
237
|
-
#
|
238
|
-
# {
|
239
|
-
# domain_id: "DomainId", # required
|
240
|
-
# fraudster_id: "FraudsterId", # required
|
241
|
-
# }
|
242
|
-
#
|
243
210
|
# @!attribute [rw] domain_id
|
244
211
|
# The identifier of the domain containing the fraudster.
|
245
212
|
# @return [String]
|
@@ -257,14 +224,6 @@ module Aws::VoiceID
|
|
257
224
|
include Aws::Structure
|
258
225
|
end
|
259
226
|
|
260
|
-
# @note When making an API call, you may pass DeleteSpeakerRequest
|
261
|
-
# data as a hash:
|
262
|
-
#
|
263
|
-
# {
|
264
|
-
# domain_id: "DomainId", # required
|
265
|
-
# speaker_id: "SpeakerId", # required
|
266
|
-
# }
|
267
|
-
#
|
268
227
|
# @!attribute [rw] domain_id
|
269
228
|
# The identifier of the domain containing the speaker.
|
270
229
|
# @return [String]
|
@@ -282,13 +241,6 @@ module Aws::VoiceID
|
|
282
241
|
include Aws::Structure
|
283
242
|
end
|
284
243
|
|
285
|
-
# @note When making an API call, you may pass DescribeDomainRequest
|
286
|
-
# data as a hash:
|
287
|
-
#
|
288
|
-
# {
|
289
|
-
# domain_id: "DomainId", # required
|
290
|
-
# }
|
291
|
-
#
|
292
244
|
# @!attribute [rw] domain_id
|
293
245
|
# The identifier of the domain you are describing.
|
294
246
|
# @return [String]
|
@@ -313,14 +265,6 @@ module Aws::VoiceID
|
|
313
265
|
include Aws::Structure
|
314
266
|
end
|
315
267
|
|
316
|
-
# @note When making an API call, you may pass DescribeFraudsterRegistrationJobRequest
|
317
|
-
# data as a hash:
|
318
|
-
#
|
319
|
-
# {
|
320
|
-
# domain_id: "DomainId", # required
|
321
|
-
# job_id: "JobId", # required
|
322
|
-
# }
|
323
|
-
#
|
324
268
|
# @!attribute [rw] domain_id
|
325
269
|
# The identifier for the domain containing the fraudster registration
|
326
270
|
# job.
|
@@ -352,14 +296,6 @@ module Aws::VoiceID
|
|
352
296
|
include Aws::Structure
|
353
297
|
end
|
354
298
|
|
355
|
-
# @note When making an API call, you may pass DescribeFraudsterRequest
|
356
|
-
# data as a hash:
|
357
|
-
#
|
358
|
-
# {
|
359
|
-
# domain_id: "DomainId", # required
|
360
|
-
# fraudster_id: "FraudsterId", # required
|
361
|
-
# }
|
362
|
-
#
|
363
299
|
# @!attribute [rw] domain_id
|
364
300
|
# The identifier of the domain containing the fraudster.
|
365
301
|
# @return [String]
|
@@ -389,14 +325,6 @@ module Aws::VoiceID
|
|
389
325
|
include Aws::Structure
|
390
326
|
end
|
391
327
|
|
392
|
-
# @note When making an API call, you may pass DescribeSpeakerEnrollmentJobRequest
|
393
|
-
# data as a hash:
|
394
|
-
#
|
395
|
-
# {
|
396
|
-
# domain_id: "DomainId", # required
|
397
|
-
# job_id: "JobId", # required
|
398
|
-
# }
|
399
|
-
#
|
400
328
|
# @!attribute [rw] domain_id
|
401
329
|
# The identifier of the domain containing the speaker enrollment job.
|
402
330
|
# @return [String]
|
@@ -426,14 +354,6 @@ module Aws::VoiceID
|
|
426
354
|
include Aws::Structure
|
427
355
|
end
|
428
356
|
|
429
|
-
# @note When making an API call, you may pass DescribeSpeakerRequest
|
430
|
-
# data as a hash:
|
431
|
-
#
|
432
|
-
# {
|
433
|
-
# domain_id: "DomainId", # required
|
434
|
-
# speaker_id: "SpeakerId", # required
|
435
|
-
# }
|
436
|
-
#
|
437
357
|
# @!attribute [rw] domain_id
|
438
358
|
# The identifier of the domain that contains the speaker.
|
439
359
|
# @return [String]
|
@@ -584,17 +504,6 @@ module Aws::VoiceID
|
|
584
504
|
# Contains configurations defining enrollment behavior for the batch
|
585
505
|
# job.
|
586
506
|
#
|
587
|
-
# @note When making an API call, you may pass EnrollmentConfig
|
588
|
-
# data as a hash:
|
589
|
-
#
|
590
|
-
# {
|
591
|
-
# existing_enrollment_action: "SKIP", # accepts SKIP, OVERWRITE
|
592
|
-
# fraud_detection_config: {
|
593
|
-
# fraud_detection_action: "IGNORE", # accepts IGNORE, FAIL
|
594
|
-
# risk_threshold: 1,
|
595
|
-
# },
|
596
|
-
# }
|
597
|
-
#
|
598
507
|
# @!attribute [rw] existing_enrollment_action
|
599
508
|
# The action to take when the specified speaker is already enrolled in
|
600
509
|
# the specified domain. The default value is `SKIP`, which skips the
|
@@ -622,14 +531,6 @@ module Aws::VoiceID
|
|
622
531
|
# flagged by the fraud detection system during a batch speaker
|
623
532
|
# enrollment job, and the risk threshold to use for identification.
|
624
533
|
#
|
625
|
-
# @note When making an API call, you may pass EnrollmentJobFraudDetectionConfig
|
626
|
-
# data as a hash:
|
627
|
-
#
|
628
|
-
# {
|
629
|
-
# fraud_detection_action: "IGNORE", # accepts IGNORE, FAIL
|
630
|
-
# risk_threshold: 1,
|
631
|
-
# }
|
632
|
-
#
|
633
534
|
# @!attribute [rw] fraud_detection_action
|
634
535
|
# The action to take when the given speaker is flagged by the fraud
|
635
536
|
# detection system. The default value is `FAIL`, which fails the
|
@@ -654,14 +555,6 @@ module Aws::VoiceID
|
|
654
555
|
include Aws::Structure
|
655
556
|
end
|
656
557
|
|
657
|
-
# @note When making an API call, you may pass EvaluateSessionRequest
|
658
|
-
# data as a hash:
|
659
|
-
#
|
660
|
-
# {
|
661
|
-
# domain_id: "DomainId", # required
|
662
|
-
# session_name_or_id: "SessionNameOrId", # required
|
663
|
-
# }
|
664
|
-
#
|
665
558
|
# @!attribute [rw] domain_id
|
666
559
|
# The identifier of the domain where the session started.
|
667
560
|
# @return [String]
|
@@ -1008,13 +901,6 @@ module Aws::VoiceID
|
|
1008
901
|
|
1009
902
|
# The configuration containing input file information for a batch job.
|
1010
903
|
#
|
1011
|
-
# @note When making an API call, you may pass InputDataConfig
|
1012
|
-
# data as a hash:
|
1013
|
-
#
|
1014
|
-
# {
|
1015
|
-
# s3_uri: "S3Uri", # required
|
1016
|
-
# }
|
1017
|
-
#
|
1018
904
|
# @!attribute [rw] s3_uri
|
1019
905
|
# The S3 location for the input manifest file that contains the list
|
1020
906
|
# of individual enrollment or registration job requests.
|
@@ -1080,14 +966,6 @@ module Aws::VoiceID
|
|
1080
966
|
include Aws::Structure
|
1081
967
|
end
|
1082
968
|
|
1083
|
-
# @note When making an API call, you may pass ListDomainsRequest
|
1084
|
-
# data as a hash:
|
1085
|
-
#
|
1086
|
-
# {
|
1087
|
-
# max_results: 1,
|
1088
|
-
# next_token: "NextToken",
|
1089
|
-
# }
|
1090
|
-
#
|
1091
969
|
# @!attribute [rw] max_results
|
1092
970
|
# The maximum number of domains to list per API call.
|
1093
971
|
# @return [Integer]
|
@@ -1131,16 +1009,6 @@ module Aws::VoiceID
|
|
1131
1009
|
include Aws::Structure
|
1132
1010
|
end
|
1133
1011
|
|
1134
|
-
# @note When making an API call, you may pass ListFraudsterRegistrationJobsRequest
|
1135
|
-
# data as a hash:
|
1136
|
-
#
|
1137
|
-
# {
|
1138
|
-
# domain_id: "DomainId", # required
|
1139
|
-
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, COMPLETED_WITH_ERRORS, FAILED
|
1140
|
-
# max_results: 1,
|
1141
|
-
# next_token: "NextToken",
|
1142
|
-
# }
|
1143
|
-
#
|
1144
1012
|
# @!attribute [rw] domain_id
|
1145
1013
|
# The identifier of the domain containing the fraudster registration
|
1146
1014
|
# Jobs.
|
@@ -1197,16 +1065,6 @@ module Aws::VoiceID
|
|
1197
1065
|
include Aws::Structure
|
1198
1066
|
end
|
1199
1067
|
|
1200
|
-
# @note When making an API call, you may pass ListSpeakerEnrollmentJobsRequest
|
1201
|
-
# data as a hash:
|
1202
|
-
#
|
1203
|
-
# {
|
1204
|
-
# domain_id: "DomainId", # required
|
1205
|
-
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, COMPLETED_WITH_ERRORS, FAILED
|
1206
|
-
# max_results: 1,
|
1207
|
-
# next_token: "NextToken",
|
1208
|
-
# }
|
1209
|
-
#
|
1210
1068
|
# @!attribute [rw] domain_id
|
1211
1069
|
# The identifier of the domain containing the speaker enrollment jobs.
|
1212
1070
|
# @return [String]
|
@@ -1262,15 +1120,6 @@ module Aws::VoiceID
|
|
1262
1120
|
include Aws::Structure
|
1263
1121
|
end
|
1264
1122
|
|
1265
|
-
# @note When making an API call, you may pass ListSpeakersRequest
|
1266
|
-
# data as a hash:
|
1267
|
-
#
|
1268
|
-
# {
|
1269
|
-
# domain_id: "DomainId", # required
|
1270
|
-
# max_results: 1,
|
1271
|
-
# next_token: "NextToken",
|
1272
|
-
# }
|
1273
|
-
#
|
1274
1123
|
# @!attribute [rw] domain_id
|
1275
1124
|
# The identifier of the domain.
|
1276
1125
|
# @return [String]
|
@@ -1321,13 +1170,6 @@ module Aws::VoiceID
|
|
1321
1170
|
include Aws::Structure
|
1322
1171
|
end
|
1323
1172
|
|
1324
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1325
|
-
# data as a hash:
|
1326
|
-
#
|
1327
|
-
# {
|
1328
|
-
# resource_arn: "AmazonResourceName", # required
|
1329
|
-
# }
|
1330
|
-
#
|
1331
1173
|
# @!attribute [rw] resource_arn
|
1332
1174
|
# The Amazon Resource Name (ARN) of the Voice ID resource for which
|
1333
1175
|
# you want to list the tags.
|
@@ -1353,14 +1195,6 @@ module Aws::VoiceID
|
|
1353
1195
|
include Aws::Structure
|
1354
1196
|
end
|
1355
1197
|
|
1356
|
-
# @note When making an API call, you may pass OptOutSpeakerRequest
|
1357
|
-
# data as a hash:
|
1358
|
-
#
|
1359
|
-
# {
|
1360
|
-
# domain_id: "DomainId", # required
|
1361
|
-
# speaker_id: "SpeakerId", # required
|
1362
|
-
# }
|
1363
|
-
#
|
1364
1198
|
# @!attribute [rw] domain_id
|
1365
1199
|
# The identifier of the domain containing the speaker.
|
1366
1200
|
# @return [String]
|
@@ -1392,14 +1226,6 @@ module Aws::VoiceID
|
|
1392
1226
|
|
1393
1227
|
# The configuration containing output file information for a batch job.
|
1394
1228
|
#
|
1395
|
-
# @note When making an API call, you may pass OutputDataConfig
|
1396
|
-
# data as a hash:
|
1397
|
-
#
|
1398
|
-
# {
|
1399
|
-
# kms_key_id: "KmsKeyId",
|
1400
|
-
# s3_uri: "S3Uri", # required
|
1401
|
-
# }
|
1402
|
-
#
|
1403
1229
|
# @!attribute [rw] kms_key_id
|
1404
1230
|
# The identifier of the KMS key you want Voice ID to use to encrypt
|
1405
1231
|
# the output file of a speaker enrollment job/fraudster registration
|
@@ -1428,14 +1254,6 @@ module Aws::VoiceID
|
|
1428
1254
|
# detecting a duplicate fraudster during a batch fraudster registration
|
1429
1255
|
# job.
|
1430
1256
|
#
|
1431
|
-
# @note When making an API call, you may pass RegistrationConfig
|
1432
|
-
# data as a hash:
|
1433
|
-
#
|
1434
|
-
# {
|
1435
|
-
# duplicate_registration_action: "SKIP", # accepts SKIP, REGISTER_AS_NEW
|
1436
|
-
# fraudster_similarity_threshold: 1,
|
1437
|
-
# }
|
1438
|
-
#
|
1439
1257
|
# @!attribute [rw] duplicate_registration_action
|
1440
1258
|
# The action to take when a fraudster is identified as a duplicate.
|
1441
1259
|
# The default action is `SKIP`, which skips registering the duplicate
|
@@ -1481,13 +1299,6 @@ module Aws::VoiceID
|
|
1481
1299
|
# The configuration containing information about the customer managed
|
1482
1300
|
# key used for encrypting customer data.
|
1483
1301
|
#
|
1484
|
-
# @note When making an API call, you may pass ServerSideEncryptionConfiguration
|
1485
|
-
# data as a hash:
|
1486
|
-
#
|
1487
|
-
# {
|
1488
|
-
# kms_key_id: "KmsKeyId", # required
|
1489
|
-
# }
|
1490
|
-
#
|
1491
1302
|
# @!attribute [rw] kms_key_id
|
1492
1303
|
# The identifier of the KMS key to use to encrypt data stored by Voice
|
1493
1304
|
# ID. Voice ID doesn't support asymmetric customer managed keys.
|
@@ -1784,27 +1595,6 @@ module Aws::VoiceID
|
|
1784
1595
|
include Aws::Structure
|
1785
1596
|
end
|
1786
1597
|
|
1787
|
-
# @note When making an API call, you may pass StartFraudsterRegistrationJobRequest
|
1788
|
-
# data as a hash:
|
1789
|
-
#
|
1790
|
-
# {
|
1791
|
-
# client_token: "ClientTokenString",
|
1792
|
-
# data_access_role_arn: "IamRoleArn", # required
|
1793
|
-
# domain_id: "DomainId", # required
|
1794
|
-
# input_data_config: { # required
|
1795
|
-
# s3_uri: "S3Uri", # required
|
1796
|
-
# },
|
1797
|
-
# job_name: "JobName",
|
1798
|
-
# output_data_config: { # required
|
1799
|
-
# kms_key_id: "KmsKeyId",
|
1800
|
-
# s3_uri: "S3Uri", # required
|
1801
|
-
# },
|
1802
|
-
# registration_config: {
|
1803
|
-
# duplicate_registration_action: "SKIP", # accepts SKIP, REGISTER_AS_NEW
|
1804
|
-
# fraudster_similarity_threshold: 1,
|
1805
|
-
# },
|
1806
|
-
# }
|
1807
|
-
#
|
1808
1598
|
# @!attribute [rw] client_token
|
1809
1599
|
# The idempotency token for starting a new fraudster registration job.
|
1810
1600
|
# If not provided, Amazon Web Services SDK populates this field.
|
@@ -1877,30 +1667,6 @@ module Aws::VoiceID
|
|
1877
1667
|
include Aws::Structure
|
1878
1668
|
end
|
1879
1669
|
|
1880
|
-
# @note When making an API call, you may pass StartSpeakerEnrollmentJobRequest
|
1881
|
-
# data as a hash:
|
1882
|
-
#
|
1883
|
-
# {
|
1884
|
-
# client_token: "ClientTokenString",
|
1885
|
-
# data_access_role_arn: "IamRoleArn", # required
|
1886
|
-
# domain_id: "DomainId", # required
|
1887
|
-
# enrollment_config: {
|
1888
|
-
# existing_enrollment_action: "SKIP", # accepts SKIP, OVERWRITE
|
1889
|
-
# fraud_detection_config: {
|
1890
|
-
# fraud_detection_action: "IGNORE", # accepts IGNORE, FAIL
|
1891
|
-
# risk_threshold: 1,
|
1892
|
-
# },
|
1893
|
-
# },
|
1894
|
-
# input_data_config: { # required
|
1895
|
-
# s3_uri: "S3Uri", # required
|
1896
|
-
# },
|
1897
|
-
# job_name: "JobName",
|
1898
|
-
# output_data_config: { # required
|
1899
|
-
# kms_key_id: "KmsKeyId",
|
1900
|
-
# s3_uri: "S3Uri", # required
|
1901
|
-
# },
|
1902
|
-
# }
|
1903
|
-
#
|
1904
1670
|
# @!attribute [rw] client_token
|
1905
1671
|
# The idempotency token for starting a new speaker enrollment Job. If
|
1906
1672
|
# not provided, Amazon Web Services SDK populates this field.
|
@@ -1977,14 +1743,6 @@ module Aws::VoiceID
|
|
1977
1743
|
# For example, \\\{ "tags": \\\{"key1":"value1",
|
1978
1744
|
# "key2":"value2"\\} \\}.
|
1979
1745
|
#
|
1980
|
-
# @note When making an API call, you may pass Tag
|
1981
|
-
# data as a hash:
|
1982
|
-
#
|
1983
|
-
# {
|
1984
|
-
# key: "TagKey", # required
|
1985
|
-
# value: "TagValue", # required
|
1986
|
-
# }
|
1987
|
-
#
|
1988
1746
|
# @!attribute [rw] key
|
1989
1747
|
# The first part of a key:value pair that forms a tag associated with
|
1990
1748
|
# a given resource. For example, in the tag 'Department':'Sales',
|
@@ -2006,19 +1764,6 @@ module Aws::VoiceID
|
|
2006
1764
|
include Aws::Structure
|
2007
1765
|
end
|
2008
1766
|
|
2009
|
-
# @note When making an API call, you may pass TagResourceRequest
|
2010
|
-
# data as a hash:
|
2011
|
-
#
|
2012
|
-
# {
|
2013
|
-
# resource_arn: "AmazonResourceName", # required
|
2014
|
-
# tags: [ # required
|
2015
|
-
# {
|
2016
|
-
# key: "TagKey", # required
|
2017
|
-
# value: "TagValue", # required
|
2018
|
-
# },
|
2019
|
-
# ],
|
2020
|
-
# }
|
2021
|
-
#
|
2022
1767
|
# @!attribute [rw] resource_arn
|
2023
1768
|
# The Amazon Resource Name (ARN) of the Voice ID resource you want to
|
2024
1769
|
# tag.
|
@@ -2060,14 +1805,6 @@ module Aws::VoiceID
|
|
2060
1805
|
include Aws::Structure
|
2061
1806
|
end
|
2062
1807
|
|
2063
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
2064
|
-
# data as a hash:
|
2065
|
-
#
|
2066
|
-
# {
|
2067
|
-
# resource_arn: "AmazonResourceName", # required
|
2068
|
-
# tag_keys: ["TagKey"], # required
|
2069
|
-
# }
|
2070
|
-
#
|
2071
1808
|
# @!attribute [rw] resource_arn
|
2072
1809
|
# The Amazon Resource Name (ARN) of the Voice ID resource you want to
|
2073
1810
|
# remove tags from.
|
@@ -2090,18 +1827,6 @@ module Aws::VoiceID
|
|
2090
1827
|
#
|
2091
1828
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
2092
1829
|
|
2093
|
-
# @note When making an API call, you may pass UpdateDomainRequest
|
2094
|
-
# data as a hash:
|
2095
|
-
#
|
2096
|
-
# {
|
2097
|
-
# description: "Description",
|
2098
|
-
# domain_id: "DomainId", # required
|
2099
|
-
# name: "DomainName", # required
|
2100
|
-
# server_side_encryption_configuration: { # required
|
2101
|
-
# kms_key_id: "KmsKeyId", # required
|
2102
|
-
# },
|
2103
|
-
# }
|
2104
|
-
#
|
2105
1830
|
# @!attribute [rw] description
|
2106
1831
|
# A brief description of the domain.
|
2107
1832
|
# @return [String]
|
data/lib/aws-sdk-voiceid.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-voiceid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.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
|