aws-sdk-voiceid 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-voiceid/client.rb +14 -13
- data/lib/aws-sdk-voiceid/client_api.rb +6 -0
- data/lib/aws-sdk-voiceid/types.rb +54 -27
- 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: 4c20d5fbceb4777f274be91ae37e7cde116df726237cc21e4fc463ea6a2899bd
|
4
|
+
data.tar.gz: a9d2449bc9252ff4c622dca3f4cddc7949e8cba93d53e16ccb05189732c5f802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a7e90604207b512af531b04d7ce5393d03087174c14d6a4627ee1b6f58d8dd020fb75e0a72a4d0660336f88aae3ccfe53064ff450c29dc8a4155bccec9b9ee2
|
7
|
+
data.tar.gz: 780a6e9dcb6353912f0cd95af620bcf62d07d63e8bef4c7a91ff5f8494f0be5145555366b44c1ca7f70465187f10d9bc1a6f133c9950b417bac3c0a6e63d062d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2022-08-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Connect Voice ID now detects voice spoofing. When a prospective fraudster tries to spoof caller audio using audio playback or synthesized speech, Voice ID will return a risk score and outcome to indicate the how likely it is that the voice is spoofed.
|
8
|
+
|
4
9
|
1.8.0 (2022-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -372,7 +372,7 @@ module Aws::VoiceID
|
|
372
372
|
# not need to pass this option.**
|
373
373
|
#
|
374
374
|
# @option params [String] :description
|
375
|
-
# A brief description of
|
375
|
+
# A brief description of the domain.
|
376
376
|
#
|
377
377
|
# @option params [required, String] :name
|
378
378
|
# The name of the domain.
|
@@ -755,9 +755,10 @@ module Aws::VoiceID
|
|
755
755
|
# resp.fraud_detection_result.decision #=> String, one of "HIGH_RISK", "LOW_RISK", "NOT_ENOUGH_SPEECH"
|
756
756
|
# resp.fraud_detection_result.fraud_detection_result_id #=> String
|
757
757
|
# resp.fraud_detection_result.reasons #=> Array
|
758
|
-
# resp.fraud_detection_result.reasons[0] #=> String, one of "KNOWN_FRAUDSTER"
|
758
|
+
# resp.fraud_detection_result.reasons[0] #=> String, one of "KNOWN_FRAUDSTER", "VOICE_SPOOFING"
|
759
759
|
# resp.fraud_detection_result.risk_details.known_fraudster_risk.generated_fraudster_id #=> String
|
760
760
|
# resp.fraud_detection_result.risk_details.known_fraudster_risk.risk_score #=> Integer
|
761
|
+
# resp.fraud_detection_result.risk_details.voice_spoofing_risk.risk_score #=> Integer
|
761
762
|
# resp.session_id #=> String
|
762
763
|
# resp.session_name #=> String
|
763
764
|
# resp.streaming_status #=> String, one of "PENDING_CONFIGURATION", "ONGOING", "ENDED"
|
@@ -774,9 +775,7 @@ module Aws::VoiceID
|
|
774
775
|
# Lists all the domains in the Amazon Web Services account.
|
775
776
|
#
|
776
777
|
# @option params [Integer] :max_results
|
777
|
-
# The maximum number of
|
778
|
-
# `NextToken` to obtain further pages of results. The default is 100;
|
779
|
-
# the maximum allowed page size is also 100.
|
778
|
+
# The maximum number of domains to list per API call.
|
780
779
|
#
|
781
780
|
# @option params [String] :next_token
|
782
781
|
# If `NextToken` is returned, there are more results available. The
|
@@ -1180,8 +1179,8 @@ module Aws::VoiceID
|
|
1180
1179
|
# The IAM role Amazon Resource Name (ARN) that grants Voice ID
|
1181
1180
|
# permissions to access customer's buckets to read the input manifest
|
1182
1181
|
# file and write the job output file. Refer to [Batch enrollment using
|
1183
|
-
# audio data from prior calls][1]
|
1184
|
-
#
|
1182
|
+
# audio data from prior calls][1] for the permissions needed in this
|
1183
|
+
# role.
|
1185
1184
|
#
|
1186
1185
|
#
|
1187
1186
|
#
|
@@ -1328,7 +1327,7 @@ module Aws::VoiceID
|
|
1328
1327
|
# 'Description' is not provided, it is removed from the domain.
|
1329
1328
|
#
|
1330
1329
|
# @option params [String] :description
|
1331
|
-
# A brief description
|
1330
|
+
# A brief description of the domain.
|
1332
1331
|
#
|
1333
1332
|
# @option params [required, String] :domain_id
|
1334
1333
|
# The identifier of the domain to be updated.
|
@@ -1338,10 +1337,12 @@ module Aws::VoiceID
|
|
1338
1337
|
#
|
1339
1338
|
# @option params [required, Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
|
1340
1339
|
# The configuration, containing the KMS key identifier, to be used by
|
1341
|
-
# Voice ID for the server-side encryption of your data.
|
1342
|
-
#
|
1343
|
-
#
|
1344
|
-
# using the new key.
|
1340
|
+
# Voice ID for the server-side encryption of your data. Changing the
|
1341
|
+
# domain's associated KMS key immediately triggers an asynchronous
|
1342
|
+
# process to remove dependency on the old KMS key, such that the
|
1343
|
+
# domain's data can only be accessed using the new KMS key. The
|
1344
|
+
# domain's `ServerSideEncryptionUpdateDetails` contains the details for
|
1345
|
+
# this process.
|
1345
1346
|
#
|
1346
1347
|
# @return [Types::UpdateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1347
1348
|
#
|
@@ -1394,7 +1395,7 @@ module Aws::VoiceID
|
|
1394
1395
|
params: params,
|
1395
1396
|
config: config)
|
1396
1397
|
context[:gem_name] = 'aws-sdk-voiceid'
|
1397
|
-
context[:gem_version] = '1.
|
1398
|
+
context[:gem_version] = '1.9.0'
|
1398
1399
|
Seahorse::Client::Request.new(handlers, context)
|
1399
1400
|
end
|
1400
1401
|
|
@@ -134,6 +134,7 @@ module Aws::VoiceID
|
|
134
134
|
UpdateDomainRequest = Shapes::StructureShape.new(name: 'UpdateDomainRequest')
|
135
135
|
UpdateDomainResponse = Shapes::StructureShape.new(name: 'UpdateDomainResponse')
|
136
136
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
137
|
+
VoiceSpoofingRisk = Shapes::StructureShape.new(name: 'VoiceSpoofingRisk')
|
137
138
|
|
138
139
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
139
140
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -273,6 +274,7 @@ module Aws::VoiceID
|
|
273
274
|
FraudDetectionResult.struct_class = Types::FraudDetectionResult
|
274
275
|
|
275
276
|
FraudRiskDetails.add_member(:known_fraudster_risk, Shapes::ShapeRef.new(shape: KnownFraudsterRisk, required: true, location_name: "KnownFraudsterRisk"))
|
277
|
+
FraudRiskDetails.add_member(:voice_spoofing_risk, Shapes::ShapeRef.new(shape: VoiceSpoofingRisk, required: true, location_name: "VoiceSpoofingRisk"))
|
276
278
|
FraudRiskDetails.struct_class = Types::FraudRiskDetails
|
277
279
|
|
278
280
|
Fraudster.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
@@ -497,6 +499,9 @@ module Aws::VoiceID
|
|
497
499
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
498
500
|
ValidationException.struct_class = Types::ValidationException
|
499
501
|
|
502
|
+
VoiceSpoofingRisk.add_member(:risk_score, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "RiskScore"))
|
503
|
+
VoiceSpoofingRisk.struct_class = Types::VoiceSpoofingRisk
|
504
|
+
|
500
505
|
|
501
506
|
# @api private
|
502
507
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -746,6 +751,7 @@ module Aws::VoiceID
|
|
746
751
|
o.http_request_uri = "/"
|
747
752
|
o.input = Shapes::ShapeRef.new(shape: OptOutSpeakerRequest)
|
748
753
|
o.output = Shapes::ShapeRef.new(shape: OptOutSpeakerResponse)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
749
755
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
750
756
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
751
757
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
@@ -167,7 +167,7 @@ module Aws::VoiceID
|
|
167
167
|
# @return [String]
|
168
168
|
#
|
169
169
|
# @!attribute [rw] description
|
170
|
-
# A brief description of
|
170
|
+
# A brief description of the domain.
|
171
171
|
# @return [String]
|
172
172
|
#
|
173
173
|
# @!attribute [rw] name
|
@@ -557,8 +557,8 @@ module Aws::VoiceID
|
|
557
557
|
# Details about the most recent server-side encryption configuration
|
558
558
|
# update. When the server-side encryption configuration is changed,
|
559
559
|
# dependency on the old KMS key is removed through an asynchronous
|
560
|
-
# process. When this update is complete, the domain
|
561
|
-
# accessed using the new KMS key.
|
560
|
+
# process. When this update is complete, the domain's data can only
|
561
|
+
# be accessed using the new KMS key.
|
562
562
|
# @return [Types::ServerSideEncryptionUpdateDetails]
|
563
563
|
#
|
564
564
|
# @!attribute [rw] updated_at
|
@@ -799,11 +799,13 @@ module Aws::VoiceID
|
|
799
799
|
# @!attribute [rw] reasons
|
800
800
|
# The reason speaker was flagged by the fraud detection system. This
|
801
801
|
# is only be populated if fraud detection Decision is `HIGH_RISK`, and
|
802
|
-
#
|
802
|
+
# the following possible values: `KNOWN_FRAUDSTER` and
|
803
|
+
# `VOICE_SPOOFING`.
|
803
804
|
# @return [Array<String>]
|
804
805
|
#
|
805
806
|
# @!attribute [rw] risk_details
|
806
|
-
# Details about each risk analyzed for this speaker.
|
807
|
+
# Details about each risk analyzed for this speaker. Currently, this
|
808
|
+
# contains KnownFraudsterRisk and VoiceSpoofingRisk details.
|
807
809
|
# @return [Types::FraudRiskDetails]
|
808
810
|
#
|
809
811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/FraudDetectionResult AWS API Documentation
|
@@ -828,10 +830,16 @@ module Aws::VoiceID
|
|
828
830
|
# speaker.
|
829
831
|
# @return [Types::KnownFraudsterRisk]
|
830
832
|
#
|
833
|
+
# @!attribute [rw] voice_spoofing_risk
|
834
|
+
# The details resulting from 'Voice Spoofing Risk' analysis of the
|
835
|
+
# speaker.
|
836
|
+
# @return [Types::VoiceSpoofingRisk]
|
837
|
+
#
|
831
838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/FraudRiskDetails AWS API Documentation
|
832
839
|
#
|
833
840
|
class FraudRiskDetails < Struct.new(
|
834
|
-
:known_fraudster_risk
|
841
|
+
:known_fraudster_risk,
|
842
|
+
:voice_spoofing_risk)
|
835
843
|
SENSITIVE = []
|
836
844
|
include Aws::Structure
|
837
845
|
end
|
@@ -915,7 +923,7 @@ module Aws::VoiceID
|
|
915
923
|
# @!attribute [rw] output_data_config
|
916
924
|
# The output data config containing the S3 location where you want
|
917
925
|
# Voice ID to write your job output file; you must also include a KMS
|
918
|
-
# key
|
926
|
+
# key ID in order to encrypt the file.
|
919
927
|
# @return [Types::OutputDataConfig]
|
920
928
|
#
|
921
929
|
# @!attribute [rw] registration_config
|
@@ -971,7 +979,7 @@ module Aws::VoiceID
|
|
971
979
|
# @return [String]
|
972
980
|
#
|
973
981
|
# @!attribute [rw] job_name
|
974
|
-
# The client-
|
982
|
+
# The client-provided name for the fraudster registration job.
|
975
983
|
# @return [String]
|
976
984
|
#
|
977
985
|
# @!attribute [rw] job_progress
|
@@ -1081,9 +1089,7 @@ module Aws::VoiceID
|
|
1081
1089
|
# }
|
1082
1090
|
#
|
1083
1091
|
# @!attribute [rw] max_results
|
1084
|
-
# The maximum number of
|
1085
|
-
# use `NextToken` to obtain further pages of results. The default is
|
1086
|
-
# 100; the maximum allowed page size is also 100.
|
1092
|
+
# The maximum number of domains to list per API call.
|
1087
1093
|
# @return [Integer]
|
1088
1094
|
#
|
1089
1095
|
# @!attribute [rw] next_token
|
@@ -1395,8 +1401,9 @@ module Aws::VoiceID
|
|
1395
1401
|
# }
|
1396
1402
|
#
|
1397
1403
|
# @!attribute [rw] kms_key_id
|
1398
|
-
#
|
1399
|
-
# the output file of
|
1404
|
+
# The identifier of the KMS key you want Voice ID to use to encrypt
|
1405
|
+
# the output file of a speaker enrollment job/fraudster registration
|
1406
|
+
# job.
|
1400
1407
|
# @return [String]
|
1401
1408
|
#
|
1402
1409
|
# @!attribute [rw] s3_uri
|
@@ -1482,8 +1489,8 @@ module Aws::VoiceID
|
|
1482
1489
|
# }
|
1483
1490
|
#
|
1484
1491
|
# @!attribute [rw] kms_key_id
|
1485
|
-
# The identifier of the KMS key
|
1486
|
-
#
|
1492
|
+
# The identifier of the KMS key to use to encrypt data stored by Voice
|
1493
|
+
# ID. Voice ID doesn't support asymmetric customer managed keys.
|
1487
1494
|
# @return [String]
|
1488
1495
|
#
|
1489
1496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ServerSideEncryptionConfiguration AWS API Documentation
|
@@ -1906,8 +1913,8 @@ module Aws::VoiceID
|
|
1906
1913
|
# The IAM role Amazon Resource Name (ARN) that grants Voice ID
|
1907
1914
|
# permissions to access customer's buckets to read the input manifest
|
1908
1915
|
# file and write the job output file. Refer to [Batch enrollment using
|
1909
|
-
# audio data from prior calls][1]
|
1910
|
-
#
|
1916
|
+
# audio data from prior calls][1] for the permissions needed in this
|
1917
|
+
# role.
|
1911
1918
|
#
|
1912
1919
|
#
|
1913
1920
|
#
|
@@ -1966,7 +1973,9 @@ module Aws::VoiceID
|
|
1966
1973
|
include Aws::Structure
|
1967
1974
|
end
|
1968
1975
|
|
1969
|
-
#
|
1976
|
+
# The tags used to organize, track, or control access for this resource.
|
1977
|
+
# For example, \\\{ "tags": \\\{"key1":"value1",
|
1978
|
+
# "key2":"value2"\\} \\}.
|
1970
1979
|
#
|
1971
1980
|
# @note When making an API call, you may pass Tag
|
1972
1981
|
# data as a hash:
|
@@ -1978,14 +1987,14 @@ module Aws::VoiceID
|
|
1978
1987
|
#
|
1979
1988
|
# @!attribute [rw] key
|
1980
1989
|
# The first part of a key:value pair that forms a tag associated with
|
1981
|
-
# a given resource. For example, in the tag
|
1982
|
-
# key is 'Department'.
|
1990
|
+
# a given resource. For example, in the tag 'Department':'Sales',
|
1991
|
+
# the key is 'Department'.
|
1983
1992
|
# @return [String]
|
1984
1993
|
#
|
1985
1994
|
# @!attribute [rw] value
|
1986
1995
|
# The second part of a key:value pair that forms a tag associated with
|
1987
|
-
# a given resource. For example, in the tag
|
1988
|
-
# value is 'Sales'.
|
1996
|
+
# a given resource. For example, in the tag 'Department':'Sales',
|
1997
|
+
# the value is 'Sales'.
|
1989
1998
|
# @return [String]
|
1990
1999
|
#
|
1991
2000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/Tag AWS API Documentation
|
@@ -2094,7 +2103,7 @@ module Aws::VoiceID
|
|
2094
2103
|
# }
|
2095
2104
|
#
|
2096
2105
|
# @!attribute [rw] description
|
2097
|
-
# A brief description
|
2106
|
+
# A brief description of the domain.
|
2098
2107
|
# @return [String]
|
2099
2108
|
#
|
2100
2109
|
# @!attribute [rw] domain_id
|
@@ -2107,10 +2116,12 @@ module Aws::VoiceID
|
|
2107
2116
|
#
|
2108
2117
|
# @!attribute [rw] server_side_encryption_configuration
|
2109
2118
|
# The configuration, containing the KMS key identifier, to be used by
|
2110
|
-
# Voice ID for the server-side encryption of your data.
|
2111
|
-
#
|
2112
|
-
#
|
2113
|
-
#
|
2119
|
+
# Voice ID for the server-side encryption of your data. Changing the
|
2120
|
+
# domain's associated KMS key immediately triggers an asynchronous
|
2121
|
+
# process to remove dependency on the old KMS key, such that the
|
2122
|
+
# domain's data can only be accessed using the new KMS key. The
|
2123
|
+
# domain's `ServerSideEncryptionUpdateDetails` contains the details
|
2124
|
+
# for this process.
|
2114
2125
|
# @return [Types::ServerSideEncryptionConfiguration]
|
2115
2126
|
#
|
2116
2127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/UpdateDomainRequest AWS API Documentation
|
@@ -2150,5 +2161,21 @@ module Aws::VoiceID
|
|
2150
2161
|
include Aws::Structure
|
2151
2162
|
end
|
2152
2163
|
|
2164
|
+
# The details resulting from 'Voice Spoofing Risk' analysis of the
|
2165
|
+
# speaker.
|
2166
|
+
#
|
2167
|
+
# @!attribute [rw] risk_score
|
2168
|
+
# The score indicating the likelihood of speaker’s voice being
|
2169
|
+
# spoofed.
|
2170
|
+
# @return [Integer]
|
2171
|
+
#
|
2172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/VoiceSpoofingRisk AWS API Documentation
|
2173
|
+
#
|
2174
|
+
class VoiceSpoofingRisk < Struct.new(
|
2175
|
+
:risk_score)
|
2176
|
+
SENSITIVE = []
|
2177
|
+
include Aws::Structure
|
2178
|
+
end
|
2179
|
+
|
2153
2180
|
end
|
2154
2181
|
end
|
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.9.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-
|
11
|
+
date: 2022-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|