aws-sdk-voiceid 1.5.0 → 1.8.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-voiceid/client.rb +34 -19
- data/lib/aws-sdk-voiceid/client_api.rb +13 -0
- data/lib/aws-sdk-voiceid/types.rb +90 -23
- data/lib/aws-sdk-voiceid.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feb0865c3e2c57108372971c5af9f23374721f80f1a3ef95a4f3c8032c5eb9a5
|
4
|
+
data.tar.gz: 9b0ed9ae3b16f0edfae60f6de8de845d4f2fd2917c2fcb8c5bea9fe7d57f235b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08430c2ad7609072224d1928e825124485797caf51be38e66235bd05a53737074ab409ad3e778997b8c4f03bf8918e32d44892ea4593ef51a4382defc3f22101'
|
7
|
+
data.tar.gz: ad1c698d73d13beb720ace7e6d6fd8be2da8a4cc6aa7ad0f59dc152b2b532cba10cffca74b8fc12955847f3c173c7d1e58193f604fbe0e9c5f789af82a58e536
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2022-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary.
|
8
|
+
|
9
|
+
1.7.0 (2022-05-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a "LastAccessedAt" time for Speakers, and the EvaluateSession API returns "SPEAKER_EXPIRED" Auth Decision for EXPIRED Speakers.
|
13
|
+
|
14
|
+
1.6.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.5.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::VoiceID
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -376,10 +378,10 @@ module Aws::VoiceID
|
|
376
378
|
# The name of the domain.
|
377
379
|
#
|
378
380
|
# @option params [required, Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
|
379
|
-
# The configuration, containing the KMS
|
381
|
+
# The configuration, containing the KMS key identifier, to be used by
|
380
382
|
# Voice ID for the server-side encryption of your data. Refer to [
|
381
|
-
# Amazon Connect
|
382
|
-
# the KMS
|
383
|
+
# Amazon Connect Voice ID encryption at rest][1] for more details on how
|
384
|
+
# the KMS key is used.
|
383
385
|
#
|
384
386
|
#
|
385
387
|
#
|
@@ -418,6 +420,9 @@ module Aws::VoiceID
|
|
418
420
|
# resp.domain.domain_status #=> String, one of "ACTIVE", "PENDING", "SUSPENDED"
|
419
421
|
# resp.domain.name #=> String
|
420
422
|
# resp.domain.server_side_encryption_configuration.kms_key_id #=> String
|
423
|
+
# resp.domain.server_side_encryption_update_details.message #=> String
|
424
|
+
# resp.domain.server_side_encryption_update_details.old_kms_key_id #=> String
|
425
|
+
# resp.domain.server_side_encryption_update_details.update_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
421
426
|
# resp.domain.updated_at #=> Time
|
422
427
|
#
|
423
428
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/CreateDomain AWS API Documentation
|
@@ -429,7 +434,7 @@ module Aws::VoiceID
|
|
429
434
|
req.send_request(options)
|
430
435
|
end
|
431
436
|
|
432
|
-
# Deletes the specified domain from
|
437
|
+
# Deletes the specified domain from Voice ID.
|
433
438
|
#
|
434
439
|
# @option params [required, String] :domain_id
|
435
440
|
# The identifier of the domain you want to delete.
|
@@ -451,8 +456,7 @@ module Aws::VoiceID
|
|
451
456
|
req.send_request(options)
|
452
457
|
end
|
453
458
|
|
454
|
-
# Deletes the specified fraudster from
|
455
|
-
# system.
|
459
|
+
# Deletes the specified fraudster from Voice ID.
|
456
460
|
#
|
457
461
|
# @option params [required, String] :domain_id
|
458
462
|
# The identifier of the domain containing the fraudster.
|
@@ -478,7 +482,7 @@ module Aws::VoiceID
|
|
478
482
|
req.send_request(options)
|
479
483
|
end
|
480
484
|
|
481
|
-
# Deletes the specified speaker from
|
485
|
+
# Deletes the specified speaker from Voice ID.
|
482
486
|
#
|
483
487
|
# @option params [required, String] :domain_id
|
484
488
|
# The identifier of the domain containing the speaker.
|
@@ -528,6 +532,9 @@ module Aws::VoiceID
|
|
528
532
|
# resp.domain.domain_status #=> String, one of "ACTIVE", "PENDING", "SUSPENDED"
|
529
533
|
# resp.domain.name #=> String
|
530
534
|
# resp.domain.server_side_encryption_configuration.kms_key_id #=> String
|
535
|
+
# resp.domain.server_side_encryption_update_details.message #=> String
|
536
|
+
# resp.domain.server_side_encryption_update_details.old_kms_key_id #=> String
|
537
|
+
# resp.domain.server_side_encryption_update_details.update_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
531
538
|
# resp.domain.updated_at #=> Time
|
532
539
|
#
|
533
540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeDomain AWS API Documentation
|
@@ -645,6 +652,7 @@ module Aws::VoiceID
|
|
645
652
|
# resp.speaker.customer_speaker_id #=> String
|
646
653
|
# resp.speaker.domain_id #=> String
|
647
654
|
# resp.speaker.generated_speaker_id #=> String
|
655
|
+
# resp.speaker.last_accessed_at #=> Time
|
648
656
|
# resp.speaker.status #=> String, one of "ENROLLED", "EXPIRED", "OPTED_OUT", "PENDING"
|
649
657
|
# resp.speaker.updated_at #=> Time
|
650
658
|
#
|
@@ -737,7 +745,7 @@ module Aws::VoiceID
|
|
737
745
|
# resp.authentication_result.authentication_result_id #=> String
|
738
746
|
# resp.authentication_result.configuration.acceptance_threshold #=> Integer
|
739
747
|
# resp.authentication_result.customer_speaker_id #=> String
|
740
|
-
# resp.authentication_result.decision #=> String, one of "ACCEPT", "REJECT", "NOT_ENOUGH_SPEECH", "SPEAKER_NOT_ENROLLED", "SPEAKER_OPTED_OUT", "SPEAKER_ID_NOT_PROVIDED"
|
748
|
+
# resp.authentication_result.decision #=> String, one of "ACCEPT", "REJECT", "NOT_ENOUGH_SPEECH", "SPEAKER_NOT_ENROLLED", "SPEAKER_OPTED_OUT", "SPEAKER_ID_NOT_PROVIDED", "SPEAKER_EXPIRED"
|
741
749
|
# resp.authentication_result.generated_speaker_id #=> String
|
742
750
|
# resp.authentication_result.score #=> Integer
|
743
751
|
# resp.domain_id #=> String
|
@@ -801,6 +809,9 @@ module Aws::VoiceID
|
|
801
809
|
# resp.domain_summaries[0].domain_status #=> String, one of "ACTIVE", "PENDING", "SUSPENDED"
|
802
810
|
# resp.domain_summaries[0].name #=> String
|
803
811
|
# resp.domain_summaries[0].server_side_encryption_configuration.kms_key_id #=> String
|
812
|
+
# resp.domain_summaries[0].server_side_encryption_update_details.message #=> String
|
813
|
+
# resp.domain_summaries[0].server_side_encryption_update_details.old_kms_key_id #=> String
|
814
|
+
# resp.domain_summaries[0].server_side_encryption_update_details.update_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
804
815
|
# resp.domain_summaries[0].updated_at #=> Time
|
805
816
|
# resp.next_token #=> String
|
806
817
|
#
|
@@ -976,6 +987,7 @@ module Aws::VoiceID
|
|
976
987
|
# resp.speaker_summaries[0].customer_speaker_id #=> String
|
977
988
|
# resp.speaker_summaries[0].domain_id #=> String
|
978
989
|
# resp.speaker_summaries[0].generated_speaker_id #=> String
|
990
|
+
# resp.speaker_summaries[0].last_accessed_at #=> Time
|
979
991
|
# resp.speaker_summaries[0].status #=> String, one of "ENROLLED", "EXPIRED", "OPTED_OUT", "PENDING"
|
980
992
|
# resp.speaker_summaries[0].updated_at #=> Time
|
981
993
|
#
|
@@ -1019,13 +1031,13 @@ module Aws::VoiceID
|
|
1019
1031
|
req.send_request(options)
|
1020
1032
|
end
|
1021
1033
|
|
1022
|
-
# Opts out a speaker from Voice ID
|
1023
|
-
# regardless of whether or not they already exist in
|
1034
|
+
# Opts out a speaker from Voice ID. A speaker can be opted out
|
1035
|
+
# regardless of whether or not they already exist in Voice ID. If they
|
1024
1036
|
# don't yet exist, a new speaker is created in an opted out state. If
|
1025
1037
|
# they already exist, their existing status is overridden and they are
|
1026
1038
|
# opted out. Enrollment and evaluation authentication requests are
|
1027
1039
|
# rejected for opted out speakers, and opted out speakers have no voice
|
1028
|
-
# embeddings stored in
|
1040
|
+
# embeddings stored in Voice ID.
|
1029
1041
|
#
|
1030
1042
|
# @option params [required, String] :domain_id
|
1031
1043
|
# The identifier of the domain containing the speaker.
|
@@ -1050,6 +1062,7 @@ module Aws::VoiceID
|
|
1050
1062
|
# resp.speaker.customer_speaker_id #=> String
|
1051
1063
|
# resp.speaker.domain_id #=> String
|
1052
1064
|
# resp.speaker.generated_speaker_id #=> String
|
1065
|
+
# resp.speaker.last_accessed_at #=> Time
|
1053
1066
|
# resp.speaker.status #=> String, one of "ENROLLED", "EXPIRED", "OPTED_OUT", "PENDING"
|
1054
1067
|
# resp.speaker.updated_at #=> Time
|
1055
1068
|
#
|
@@ -1095,7 +1108,7 @@ module Aws::VoiceID
|
|
1095
1108
|
#
|
1096
1109
|
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1097
1110
|
# The output data config containing the S3 location where Voice ID
|
1098
|
-
# writes the job output file; you must also include a KMS
|
1111
|
+
# writes the job output file; you must also include a KMS key ID to
|
1099
1112
|
# encrypt the file.
|
1100
1113
|
#
|
1101
1114
|
# @option params [Types::RegistrationConfig] :registration_config
|
@@ -1180,8 +1193,8 @@ module Aws::VoiceID
|
|
1180
1193
|
#
|
1181
1194
|
# @option params [Types::EnrollmentConfig] :enrollment_config
|
1182
1195
|
# The enrollment config that contains details such as the action to take
|
1183
|
-
# when a speaker is already enrolled in
|
1184
|
-
#
|
1196
|
+
# when a speaker is already enrolled in Voice ID or when a speaker is
|
1197
|
+
# identified as a fraudster.
|
1185
1198
|
#
|
1186
1199
|
# @option params [required, Types::InputDataConfig] :input_data_config
|
1187
1200
|
# The input data config containing the S3 location for the input
|
@@ -1192,7 +1205,7 @@ module Aws::VoiceID
|
|
1192
1205
|
#
|
1193
1206
|
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1194
1207
|
# The output data config containing the S3 location where Voice ID
|
1195
|
-
# writes the job output file; you must also include a KMS
|
1208
|
+
# writes the job output file; you must also include a KMS key ID to
|
1196
1209
|
# encrypt the file.
|
1197
1210
|
#
|
1198
1211
|
# @return [Types::StartSpeakerEnrollmentJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1250,8 +1263,7 @@ module Aws::VoiceID
|
|
1250
1263
|
req.send_request(options)
|
1251
1264
|
end
|
1252
1265
|
|
1253
|
-
# Tags
|
1254
|
-
# tags.
|
1266
|
+
# Tags a Voice ID resource with the provided list of tags.
|
1255
1267
|
#
|
1256
1268
|
# @option params [required, String] :resource_arn
|
1257
1269
|
# The Amazon Resource Name (ARN) of the Voice ID resource you want to
|
@@ -1325,7 +1337,7 @@ module Aws::VoiceID
|
|
1325
1337
|
# The name of the domain.
|
1326
1338
|
#
|
1327
1339
|
# @option params [required, Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
|
1328
|
-
# The configuration, containing the KMS
|
1340
|
+
# The configuration, containing the KMS key identifier, to be used by
|
1329
1341
|
# Voice ID for the server-side encryption of your data. Note that all
|
1330
1342
|
# the existing data in the domain are still encrypted using the existing
|
1331
1343
|
# key, only the data added to domain after updating the key is encrypted
|
@@ -1355,6 +1367,9 @@ module Aws::VoiceID
|
|
1355
1367
|
# resp.domain.domain_status #=> String, one of "ACTIVE", "PENDING", "SUSPENDED"
|
1356
1368
|
# resp.domain.name #=> String
|
1357
1369
|
# resp.domain.server_side_encryption_configuration.kms_key_id #=> String
|
1370
|
+
# resp.domain.server_side_encryption_update_details.message #=> String
|
1371
|
+
# resp.domain.server_side_encryption_update_details.old_kms_key_id #=> String
|
1372
|
+
# resp.domain.server_side_encryption_update_details.update_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
1358
1373
|
# resp.domain.updated_at #=> Time
|
1359
1374
|
#
|
1360
1375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/UpdateDomain AWS API Documentation
|
@@ -1379,7 +1394,7 @@ module Aws::VoiceID
|
|
1379
1394
|
params: params,
|
1380
1395
|
config: config)
|
1381
1396
|
context[:gem_name] = 'aws-sdk-voiceid'
|
1382
|
-
context[:gem_version] = '1.
|
1397
|
+
context[:gem_version] = '1.8.0'
|
1383
1398
|
Seahorse::Client::Request.new(handlers, context)
|
1384
1399
|
end
|
1385
1400
|
|
@@ -98,6 +98,8 @@ module Aws::VoiceID
|
|
98
98
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
99
99
|
Score = Shapes::IntegerShape.new(name: 'Score')
|
100
100
|
ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
|
101
|
+
ServerSideEncryptionUpdateDetails = Shapes::StructureShape.new(name: 'ServerSideEncryptionUpdateDetails')
|
102
|
+
ServerSideEncryptionUpdateStatus = Shapes::StringShape.new(name: 'ServerSideEncryptionUpdateStatus')
|
101
103
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
102
104
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
103
105
|
SessionName = Shapes::StringShape.new(name: 'SessionName')
|
@@ -215,6 +217,7 @@ module Aws::VoiceID
|
|
215
217
|
Domain.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
|
216
218
|
Domain.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "Name"))
|
217
219
|
Domain.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
|
220
|
+
Domain.add_member(:server_side_encryption_update_details, Shapes::ShapeRef.new(shape: ServerSideEncryptionUpdateDetails, location_name: "ServerSideEncryptionUpdateDetails"))
|
218
221
|
Domain.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
219
222
|
Domain.struct_class = Types::Domain
|
220
223
|
|
@@ -227,6 +230,7 @@ module Aws::VoiceID
|
|
227
230
|
DomainSummary.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
|
228
231
|
DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "Name"))
|
229
232
|
DomainSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
|
233
|
+
DomainSummary.add_member(:server_side_encryption_update_details, Shapes::ShapeRef.new(shape: ServerSideEncryptionUpdateDetails, location_name: "ServerSideEncryptionUpdateDetails"))
|
230
234
|
DomainSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
231
235
|
DomainSummary.struct_class = Types::DomainSummary
|
232
236
|
|
@@ -380,6 +384,11 @@ module Aws::VoiceID
|
|
380
384
|
ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
|
381
385
|
ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
|
382
386
|
|
387
|
+
ServerSideEncryptionUpdateDetails.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
388
|
+
ServerSideEncryptionUpdateDetails.add_member(:old_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "OldKmsKeyId"))
|
389
|
+
ServerSideEncryptionUpdateDetails.add_member(:update_status, Shapes::ShapeRef.new(shape: ServerSideEncryptionUpdateStatus, location_name: "UpdateStatus"))
|
390
|
+
ServerSideEncryptionUpdateDetails.struct_class = Types::ServerSideEncryptionUpdateDetails
|
391
|
+
|
383
392
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
384
393
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
385
394
|
|
@@ -387,6 +396,7 @@ module Aws::VoiceID
|
|
387
396
|
Speaker.add_member(:customer_speaker_id, Shapes::ShapeRef.new(shape: CustomerSpeakerId, location_name: "CustomerSpeakerId"))
|
388
397
|
Speaker.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
|
389
398
|
Speaker.add_member(:generated_speaker_id, Shapes::ShapeRef.new(shape: GeneratedSpeakerId, location_name: "GeneratedSpeakerId"))
|
399
|
+
Speaker.add_member(:last_accessed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessedAt"))
|
390
400
|
Speaker.add_member(:status, Shapes::ShapeRef.new(shape: SpeakerStatus, location_name: "Status"))
|
391
401
|
Speaker.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
392
402
|
Speaker.struct_class = Types::Speaker
|
@@ -423,6 +433,7 @@ module Aws::VoiceID
|
|
423
433
|
SpeakerSummary.add_member(:customer_speaker_id, Shapes::ShapeRef.new(shape: CustomerSpeakerId, location_name: "CustomerSpeakerId"))
|
424
434
|
SpeakerSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
|
425
435
|
SpeakerSummary.add_member(:generated_speaker_id, Shapes::ShapeRef.new(shape: GeneratedSpeakerId, location_name: "GeneratedSpeakerId"))
|
436
|
+
SpeakerSummary.add_member(:last_accessed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessedAt"))
|
426
437
|
SpeakerSummary.add_member(:status, Shapes::ShapeRef.new(shape: SpeakerStatus, location_name: "Status"))
|
427
438
|
SpeakerSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
428
439
|
SpeakerSummary.struct_class = Types::SpeakerSummary
|
@@ -542,6 +553,7 @@ module Aws::VoiceID
|
|
542
553
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
543
554
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
544
555
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
545
557
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
546
558
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
547
559
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -634,6 +646,7 @@ module Aws::VoiceID
|
|
634
646
|
o.output = Shapes::ShapeRef.new(shape: EvaluateSessionResponse)
|
635
647
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
636
648
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
637
650
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
638
651
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
639
652
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -175,10 +175,10 @@ module Aws::VoiceID
|
|
175
175
|
# @return [String]
|
176
176
|
#
|
177
177
|
# @!attribute [rw] server_side_encryption_configuration
|
178
|
-
# The configuration, containing the KMS
|
178
|
+
# The configuration, containing the KMS key identifier, to be used by
|
179
179
|
# Voice ID for the server-side encryption of your data. Refer to [
|
180
|
-
# Amazon Connect
|
181
|
-
# how the KMS
|
180
|
+
# Amazon Connect Voice ID encryption at rest][1] for more details on
|
181
|
+
# how the KMS key is used.
|
182
182
|
#
|
183
183
|
#
|
184
184
|
#
|
@@ -490,10 +490,18 @@ module Aws::VoiceID
|
|
490
490
|
# @return [String]
|
491
491
|
#
|
492
492
|
# @!attribute [rw] server_side_encryption_configuration
|
493
|
-
# The server-side encryption configuration containing the KMS
|
494
|
-
#
|
493
|
+
# The server-side encryption configuration containing the KMS key
|
494
|
+
# identifier you want Voice ID to use to encrypt your data.
|
495
495
|
# @return [Types::ServerSideEncryptionConfiguration]
|
496
496
|
#
|
497
|
+
# @!attribute [rw] server_side_encryption_update_details
|
498
|
+
# Details about the most recent server-side encryption configuration
|
499
|
+
# update. When the server-side encryption configuration is changed,
|
500
|
+
# dependency on the old KMS key is removed through an asynchronous
|
501
|
+
# process. When this update is complete, the domain's data can only
|
502
|
+
# be accessed using the new KMS key.
|
503
|
+
# @return [Types::ServerSideEncryptionUpdateDetails]
|
504
|
+
#
|
497
505
|
# @!attribute [rw] updated_at
|
498
506
|
# The timestamp showing the domain's last update.
|
499
507
|
# @return [Time]
|
@@ -508,6 +516,7 @@ module Aws::VoiceID
|
|
508
516
|
:domain_status,
|
509
517
|
:name,
|
510
518
|
:server_side_encryption_configuration,
|
519
|
+
:server_side_encryption_update_details,
|
511
520
|
:updated_at)
|
512
521
|
SENSITIVE = [:description, :name]
|
513
522
|
include Aws::Structure
|
@@ -540,10 +549,18 @@ module Aws::VoiceID
|
|
540
549
|
# @return [String]
|
541
550
|
#
|
542
551
|
# @!attribute [rw] server_side_encryption_configuration
|
543
|
-
# The server-side encryption configuration containing the KMS
|
544
|
-
#
|
552
|
+
# The server-side encryption configuration containing the KMS key
|
553
|
+
# identifier you want Voice ID to use to encrypt your data.
|
545
554
|
# @return [Types::ServerSideEncryptionConfiguration]
|
546
555
|
#
|
556
|
+
# @!attribute [rw] server_side_encryption_update_details
|
557
|
+
# Details about the most recent server-side encryption configuration
|
558
|
+
# update. When the server-side encryption configuration is changed,
|
559
|
+
# dependency on the old KMS key is removed through an asynchronous
|
560
|
+
# process. When this update is complete, the domain’s data can only be
|
561
|
+
# accessed using the new KMS key.
|
562
|
+
# @return [Types::ServerSideEncryptionUpdateDetails]
|
563
|
+
#
|
547
564
|
# @!attribute [rw] updated_at
|
548
565
|
# The timestamp showing the domain's last update.
|
549
566
|
# @return [Time]
|
@@ -558,6 +575,7 @@ module Aws::VoiceID
|
|
558
575
|
:domain_status,
|
559
576
|
:name,
|
560
577
|
:server_side_encryption_configuration,
|
578
|
+
:server_side_encryption_update_details,
|
561
579
|
:updated_at)
|
562
580
|
SENSITIVE = [:description, :name]
|
563
581
|
include Aws::Structure
|
@@ -690,7 +708,7 @@ module Aws::VoiceID
|
|
690
708
|
# Detection results are empty or the decision is `NOT_ENOUGH_SPEECH`.
|
691
709
|
# In this situation, if the `StreamingStatus` is
|
692
710
|
# `ONGOING/PENDING_CONFIGURATION`, it can mean that the client should
|
693
|
-
# call the API again later,
|
711
|
+
# call the API again later, after Voice ID has enough audio to produce
|
694
712
|
# a result. If the decision remains `NOT_ENOUGH_SPEECH` even after
|
695
713
|
# `StreamingStatus` is `ENDED`, it means that the previously streamed
|
696
714
|
# session did not have enough speech to perform evaluation, and a new
|
@@ -882,7 +900,7 @@ module Aws::VoiceID
|
|
882
900
|
# @return [String]
|
883
901
|
#
|
884
902
|
# @!attribute [rw] job_name
|
885
|
-
# The client-
|
903
|
+
# The client-provided name for the fraudster registration job.
|
886
904
|
# @return [String]
|
887
905
|
#
|
888
906
|
# @!attribute [rw] job_progress
|
@@ -897,7 +915,7 @@ module Aws::VoiceID
|
|
897
915
|
# @!attribute [rw] output_data_config
|
898
916
|
# The output data config containing the S3 location where you want
|
899
917
|
# Voice ID to write your job output file; you must also include a KMS
|
900
|
-
#
|
918
|
+
# key iD in order to encrypt the file.
|
901
919
|
# @return [Types::OutputDataConfig]
|
902
920
|
#
|
903
921
|
# @!attribute [rw] registration_config
|
@@ -1382,9 +1400,9 @@ module Aws::VoiceID
|
|
1382
1400
|
# @return [String]
|
1383
1401
|
#
|
1384
1402
|
# @!attribute [rw] s3_uri
|
1385
|
-
# The S3 path of the folder
|
1386
|
-
#
|
1387
|
-
#
|
1403
|
+
# The S3 path of the folder where Voice ID writes the job output file.
|
1404
|
+
# It has a `*.out` extension. For example, if the input file name is
|
1405
|
+
# `input-file.json` and the output folder path is
|
1388
1406
|
# `s3://output-bucket/output-folder`, the full output file path is
|
1389
1407
|
# `s3://output-bucket/output-folder/job-Id/input-file.json.out`.
|
1390
1408
|
# @return [String]
|
@@ -1398,7 +1416,7 @@ module Aws::VoiceID
|
|
1398
1416
|
include Aws::Structure
|
1399
1417
|
end
|
1400
1418
|
|
1401
|
-
# The configuration
|
1419
|
+
# The configuration defining the action to take when a duplicate
|
1402
1420
|
# fraudster is detected, and the similarity threshold to use for
|
1403
1421
|
# detecting a duplicate fraudster during a batch fraudster registration
|
1404
1422
|
# job.
|
@@ -1453,8 +1471,8 @@ module Aws::VoiceID
|
|
1453
1471
|
include Aws::Structure
|
1454
1472
|
end
|
1455
1473
|
|
1456
|
-
# The configuration containing information about the customer
|
1457
|
-
#
|
1474
|
+
# The configuration containing information about the customer managed
|
1475
|
+
# key used for encrypting customer data.
|
1458
1476
|
#
|
1459
1477
|
# @note When making an API call, you may pass ServerSideEncryptionConfiguration
|
1460
1478
|
# data as a hash:
|
@@ -1464,7 +1482,7 @@ module Aws::VoiceID
|
|
1464
1482
|
# }
|
1465
1483
|
#
|
1466
1484
|
# @!attribute [rw] kms_key_id
|
1467
|
-
# The identifier of the KMS
|
1485
|
+
# The identifier of the KMS key you want Voice ID to use to encrypt
|
1468
1486
|
# your data.
|
1469
1487
|
# @return [String]
|
1470
1488
|
#
|
@@ -1476,6 +1494,41 @@ module Aws::VoiceID
|
|
1476
1494
|
include Aws::Structure
|
1477
1495
|
end
|
1478
1496
|
|
1497
|
+
# Details about the most recent server-side encryption configuration
|
1498
|
+
# update. When the server-side encryption configuration is changed,
|
1499
|
+
# dependency on the old KMS key is removed through an asynchronous
|
1500
|
+
# process. When this update is complete, the domain’s data can only be
|
1501
|
+
# accessed using the new KMS key.
|
1502
|
+
#
|
1503
|
+
# @!attribute [rw] message
|
1504
|
+
# Message explaining the current UpdateStatus. When the UpdateStatus
|
1505
|
+
# is FAILED, this message explains the cause of the failure.
|
1506
|
+
# @return [String]
|
1507
|
+
#
|
1508
|
+
# @!attribute [rw] old_kms_key_id
|
1509
|
+
# The previous KMS key ID the domain was encrypted with, before
|
1510
|
+
# ServerSideEncryptionConfiguration was updated to a new KMS key ID.
|
1511
|
+
# @return [String]
|
1512
|
+
#
|
1513
|
+
# @!attribute [rw] update_status
|
1514
|
+
# Status of the server-side encryption update. During an update, if
|
1515
|
+
# there is an issue with the domain's current or old KMS key ID, such
|
1516
|
+
# as an inaccessible or disabled key, then the status is FAILED. In
|
1517
|
+
# order to resolve this, the key needs to be made accessible, and then
|
1518
|
+
# an UpdateDomain call with the existing server-side encryption
|
1519
|
+
# configuration will re-attempt this update process.
|
1520
|
+
# @return [String]
|
1521
|
+
#
|
1522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ServerSideEncryptionUpdateDetails AWS API Documentation
|
1523
|
+
#
|
1524
|
+
class ServerSideEncryptionUpdateDetails < Struct.new(
|
1525
|
+
:message,
|
1526
|
+
:old_kms_key_id,
|
1527
|
+
:update_status)
|
1528
|
+
SENSITIVE = []
|
1529
|
+
include Aws::Structure
|
1530
|
+
end
|
1531
|
+
|
1479
1532
|
# The request exceeded the service quota. Refer to [Voice ID Service
|
1480
1533
|
# Quotas][1] and try your request again.
|
1481
1534
|
#
|
@@ -1512,6 +1565,12 @@ module Aws::VoiceID
|
|
1512
1565
|
# The service-generated identifier for the speaker.
|
1513
1566
|
# @return [String]
|
1514
1567
|
#
|
1568
|
+
# @!attribute [rw] last_accessed_at
|
1569
|
+
# The timestamp when the speaker was last accessed for enrollment,
|
1570
|
+
# re-enrollment or a successful authentication. This timestamp is
|
1571
|
+
# accurate to one hour.
|
1572
|
+
# @return [Time]
|
1573
|
+
#
|
1515
1574
|
# @!attribute [rw] status
|
1516
1575
|
# The current status of the speaker.
|
1517
1576
|
# @return [String]
|
@@ -1527,6 +1586,7 @@ module Aws::VoiceID
|
|
1527
1586
|
:customer_speaker_id,
|
1528
1587
|
:domain_id,
|
1529
1588
|
:generated_speaker_id,
|
1589
|
+
:last_accessed_at,
|
1530
1590
|
:status,
|
1531
1591
|
:updated_at)
|
1532
1592
|
SENSITIVE = [:customer_speaker_id]
|
@@ -1592,7 +1652,7 @@ module Aws::VoiceID
|
|
1592
1652
|
#
|
1593
1653
|
# @!attribute [rw] output_data_config
|
1594
1654
|
# The output data config containing the S3 location where Voice ID
|
1595
|
-
# writes the job output file; you must also include a KMS
|
1655
|
+
# writes the job output file; you must also include a KMS key ID to
|
1596
1656
|
# encrypt the file.
|
1597
1657
|
# @return [Types::OutputDataConfig]
|
1598
1658
|
#
|
@@ -1689,6 +1749,12 @@ module Aws::VoiceID
|
|
1689
1749
|
# The service-generated identifier for the speaker.
|
1690
1750
|
# @return [String]
|
1691
1751
|
#
|
1752
|
+
# @!attribute [rw] last_accessed_at
|
1753
|
+
# The timestamp when the speaker was last accessed for enrollment,
|
1754
|
+
# re-enrollment or a successful authentication. This timestamp is
|
1755
|
+
# accurate to one hour.
|
1756
|
+
# @return [Time]
|
1757
|
+
#
|
1692
1758
|
# @!attribute [rw] status
|
1693
1759
|
# The current status of the speaker.
|
1694
1760
|
# @return [String]
|
@@ -1704,6 +1770,7 @@ module Aws::VoiceID
|
|
1704
1770
|
:customer_speaker_id,
|
1705
1771
|
:domain_id,
|
1706
1772
|
:generated_speaker_id,
|
1773
|
+
:last_accessed_at,
|
1707
1774
|
:status,
|
1708
1775
|
:updated_at)
|
1709
1776
|
SENSITIVE = [:customer_speaker_id]
|
@@ -1767,7 +1834,7 @@ module Aws::VoiceID
|
|
1767
1834
|
#
|
1768
1835
|
# @!attribute [rw] output_data_config
|
1769
1836
|
# The output data config containing the S3 location where Voice ID
|
1770
|
-
# writes the job output file; you must also include a KMS
|
1837
|
+
# writes the job output file; you must also include a KMS key ID to
|
1771
1838
|
# encrypt the file.
|
1772
1839
|
# @return [Types::OutputDataConfig]
|
1773
1840
|
#
|
@@ -1854,8 +1921,8 @@ module Aws::VoiceID
|
|
1854
1921
|
#
|
1855
1922
|
# @!attribute [rw] enrollment_config
|
1856
1923
|
# The enrollment config that contains details such as the action to
|
1857
|
-
# take when a speaker is already enrolled in
|
1858
|
-
#
|
1924
|
+
# take when a speaker is already enrolled in Voice ID or when a
|
1925
|
+
# speaker is identified as a fraudster.
|
1859
1926
|
# @return [Types::EnrollmentConfig]
|
1860
1927
|
#
|
1861
1928
|
# @!attribute [rw] input_data_config
|
@@ -1869,7 +1936,7 @@ module Aws::VoiceID
|
|
1869
1936
|
#
|
1870
1937
|
# @!attribute [rw] output_data_config
|
1871
1938
|
# The output data config containing the S3 location where Voice ID
|
1872
|
-
# writes the job output file; you must also include a KMS
|
1939
|
+
# writes the job output file; you must also include a KMS key ID to
|
1873
1940
|
# encrypt the file.
|
1874
1941
|
# @return [Types::OutputDataConfig]
|
1875
1942
|
#
|
@@ -2039,7 +2106,7 @@ module Aws::VoiceID
|
|
2039
2106
|
# @return [String]
|
2040
2107
|
#
|
2041
2108
|
# @!attribute [rw] server_side_encryption_configuration
|
2042
|
-
# The configuration, containing the KMS
|
2109
|
+
# The configuration, containing the KMS key identifier, to be used by
|
2043
2110
|
# Voice ID for the server-side encryption of your data. Note that all
|
2044
2111
|
# the existing data in the domain are still encrypted using the
|
2045
2112
|
# existing key, only the data added to domain after updating the key
|
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.8.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: 2022-02
|
11
|
+
date: 2022-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|