aws-sdk-voiceid 1.8.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feb0865c3e2c57108372971c5af9f23374721f80f1a3ef95a4f3c8032c5eb9a5
4
- data.tar.gz: 9b0ed9ae3b16f0edfae60f6de8de845d4f2fd2917c2fcb8c5bea9fe7d57f235b
3
+ metadata.gz: fe4475ec727d6f284e9f203d5e722a1e6caa6def67bd1863a425dea86e8ee38e
4
+ data.tar.gz: c736b2cbdcb5d04db11dfe360824d785e3bf8cc104893408dc1f4f620b479403
5
5
  SHA512:
6
- metadata.gz: '08430c2ad7609072224d1928e825124485797caf51be38e66235bd05a53737074ab409ad3e778997b8c4f03bf8918e32d44892ea4593ef51a4382defc3f22101'
7
- data.tar.gz: ad1c698d73d13beb720ace7e6d6fd8be2da8a4cc6aa7ad0f59dc152b2b532cba10cffca74b8fc12955847f3c173c7d1e58193f604fbe0e9c5f789af82a58e536
6
+ metadata.gz: 30fb2753d24c82a28525827aca85829ff1b983424084bd0a4618e9ca7c77d056d3a991c5b766d48c1c8e22cba1a6eef96da479e8e5e84a6134e3d2a5a7c65567
7
+ data.tar.gz: 71ea6030cc4de6b38f13838e69272fd7622b9e9fa5d5e043b6cac037946c309aca5562d31cb69cacdf1eb2d65d593515a3ea02d93b8c4ab4429f46ceccd0104d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.9.0 (2022-08-29)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.8.0 (2022-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.10.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:voiceid)
@@ -79,8 +79,9 @@ module Aws::VoiceID
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::VoiceID::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::VoiceID
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::VoiceID
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::VoiceID::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::VoiceID::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -372,7 +389,7 @@ module Aws::VoiceID
372
389
  # not need to pass this option.**
373
390
  #
374
391
  # @option params [String] :description
375
- # A brief description of this domain.
392
+ # A brief description of the domain.
376
393
  #
377
394
  # @option params [required, String] :name
378
395
  # The name of the domain.
@@ -755,9 +772,10 @@ module Aws::VoiceID
755
772
  # resp.fraud_detection_result.decision #=> String, one of "HIGH_RISK", "LOW_RISK", "NOT_ENOUGH_SPEECH"
756
773
  # resp.fraud_detection_result.fraud_detection_result_id #=> String
757
774
  # resp.fraud_detection_result.reasons #=> Array
758
- # resp.fraud_detection_result.reasons[0] #=> String, one of "KNOWN_FRAUDSTER"
775
+ # resp.fraud_detection_result.reasons[0] #=> String, one of "KNOWN_FRAUDSTER", "VOICE_SPOOFING"
759
776
  # resp.fraud_detection_result.risk_details.known_fraudster_risk.generated_fraudster_id #=> String
760
777
  # resp.fraud_detection_result.risk_details.known_fraudster_risk.risk_score #=> Integer
778
+ # resp.fraud_detection_result.risk_details.voice_spoofing_risk.risk_score #=> Integer
761
779
  # resp.session_id #=> String
762
780
  # resp.session_name #=> String
763
781
  # resp.streaming_status #=> String, one of "PENDING_CONFIGURATION", "ONGOING", "ENDED"
@@ -774,9 +792,7 @@ module Aws::VoiceID
774
792
  # Lists all the domains in the Amazon Web Services account.
775
793
  #
776
794
  # @option params [Integer] :max_results
777
- # The maximum number of results that are returned per call. You can use
778
- # `NextToken` to obtain further pages of results. The default is 100;
779
- # the maximum allowed page size is also 100.
795
+ # The maximum number of domains to list per API call.
780
796
  #
781
797
  # @option params [String] :next_token
782
798
  # If `NextToken` is returned, there are more results available. The
@@ -1180,8 +1196,8 @@ module Aws::VoiceID
1180
1196
  # The IAM role Amazon Resource Name (ARN) that grants Voice ID
1181
1197
  # permissions to access customer's buckets to read the input manifest
1182
1198
  # file and write the job output file. Refer to [Batch enrollment using
1183
- # audio data from prior calls][1] documentation for the permissions
1184
- # needed in this role.
1199
+ # audio data from prior calls][1] for the permissions needed in this
1200
+ # role.
1185
1201
  #
1186
1202
  #
1187
1203
  #
@@ -1328,7 +1344,7 @@ module Aws::VoiceID
1328
1344
  # 'Description' is not provided, it is removed from the domain.
1329
1345
  #
1330
1346
  # @option params [String] :description
1331
- # A brief description about this domain.
1347
+ # A brief description of the domain.
1332
1348
  #
1333
1349
  # @option params [required, String] :domain_id
1334
1350
  # The identifier of the domain to be updated.
@@ -1338,10 +1354,12 @@ module Aws::VoiceID
1338
1354
  #
1339
1355
  # @option params [required, Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
1340
1356
  # The configuration, containing the KMS key identifier, to be used by
1341
- # Voice ID for the server-side encryption of your data. Note that all
1342
- # the existing data in the domain are still encrypted using the existing
1343
- # key, only the data added to domain after updating the key is encrypted
1344
- # using the new key.
1357
+ # Voice ID for the server-side encryption of your data. Changing the
1358
+ # domain's associated KMS key immediately triggers an asynchronous
1359
+ # process to remove dependency on the old KMS key, such that the
1360
+ # domain's data can only be accessed using the new KMS key. The
1361
+ # domain's `ServerSideEncryptionUpdateDetails` contains the details for
1362
+ # this process.
1345
1363
  #
1346
1364
  # @return [Types::UpdateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1347
1365
  #
@@ -1394,7 +1412,7 @@ module Aws::VoiceID
1394
1412
  params: params,
1395
1413
  config: config)
1396
1414
  context[:gem_name] = 'aws-sdk-voiceid'
1397
- context[:gem_version] = '1.8.0'
1415
+ context[:gem_version] = '1.10.0'
1398
1416
  Seahorse::Client::Request.new(handlers, context)
1399
1417
  end
1400
1418
 
@@ -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)
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::VoiceID
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,111 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::VoiceID
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
+ cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
+ dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
+ ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJX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0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
103
+ aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
104
+ dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
105
+ W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vdm9pY2VpZC57UmVnaW9u
106
+ fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
107
+ fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
+
109
+ JSON
110
+ end
111
+ end
@@ -0,0 +1,309 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::VoiceID
12
+ module Endpoints
13
+
14
+ class CreateDomain
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::VoiceID::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class DeleteDomain
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::VoiceID::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class DeleteFraudster
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::VoiceID::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DeleteSpeaker
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::VoiceID::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DescribeDomain
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::VoiceID::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DescribeFraudster
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::VoiceID::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribeFraudsterRegistrationJob
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::VoiceID::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeSpeaker
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::VoiceID::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeSpeakerEnrollmentJob
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::VoiceID::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class EvaluateSession
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::VoiceID::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class ListDomains
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::VoiceID::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class ListFraudsterRegistrationJobs
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::VoiceID::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class ListSpeakerEnrollmentJobs
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::VoiceID::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class ListSpeakers
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::VoiceID::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ListTagsForResource
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::VoiceID::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class OptOutSpeaker
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::VoiceID::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class StartFraudsterRegistrationJob
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::VoiceID::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class StartSpeakerEnrollmentJob
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::VoiceID::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class TagResource
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::VoiceID::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class UntagResource
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::VoiceID::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class UpdateDomain
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::VoiceID::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ end
309
+ end
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::VoiceID
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::VoiceID::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::VoiceID::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::VoiceID::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_domain
60
+ Aws::VoiceID::Endpoints::CreateDomain.build(context)
61
+ when :delete_domain
62
+ Aws::VoiceID::Endpoints::DeleteDomain.build(context)
63
+ when :delete_fraudster
64
+ Aws::VoiceID::Endpoints::DeleteFraudster.build(context)
65
+ when :delete_speaker
66
+ Aws::VoiceID::Endpoints::DeleteSpeaker.build(context)
67
+ when :describe_domain
68
+ Aws::VoiceID::Endpoints::DescribeDomain.build(context)
69
+ when :describe_fraudster
70
+ Aws::VoiceID::Endpoints::DescribeFraudster.build(context)
71
+ when :describe_fraudster_registration_job
72
+ Aws::VoiceID::Endpoints::DescribeFraudsterRegistrationJob.build(context)
73
+ when :describe_speaker
74
+ Aws::VoiceID::Endpoints::DescribeSpeaker.build(context)
75
+ when :describe_speaker_enrollment_job
76
+ Aws::VoiceID::Endpoints::DescribeSpeakerEnrollmentJob.build(context)
77
+ when :evaluate_session
78
+ Aws::VoiceID::Endpoints::EvaluateSession.build(context)
79
+ when :list_domains
80
+ Aws::VoiceID::Endpoints::ListDomains.build(context)
81
+ when :list_fraudster_registration_jobs
82
+ Aws::VoiceID::Endpoints::ListFraudsterRegistrationJobs.build(context)
83
+ when :list_speaker_enrollment_jobs
84
+ Aws::VoiceID::Endpoints::ListSpeakerEnrollmentJobs.build(context)
85
+ when :list_speakers
86
+ Aws::VoiceID::Endpoints::ListSpeakers.build(context)
87
+ when :list_tags_for_resource
88
+ Aws::VoiceID::Endpoints::ListTagsForResource.build(context)
89
+ when :opt_out_speaker
90
+ Aws::VoiceID::Endpoints::OptOutSpeaker.build(context)
91
+ when :start_fraudster_registration_job
92
+ Aws::VoiceID::Endpoints::StartFraudsterRegistrationJob.build(context)
93
+ when :start_speaker_enrollment_job
94
+ Aws::VoiceID::Endpoints::StartSpeakerEnrollmentJob.build(context)
95
+ when :tag_resource
96
+ Aws::VoiceID::Endpoints::TagResource.build(context)
97
+ when :untag_resource
98
+ Aws::VoiceID::Endpoints::UntagResource.build(context)
99
+ when :update_domain
100
+ Aws::VoiceID::Endpoints::UpdateDomain.build(context)
101
+ end
102
+ end
103
+ end
104
+
105
+ def add_handlers(handlers, _config)
106
+ handlers.add(Handler, step: :build, priority: 75)
107
+ end
108
+ end
109
+ end
110
+ end
@@ -167,7 +167,7 @@ module Aws::VoiceID
167
167
  # @return [String]
168
168
  #
169
169
  # @!attribute [rw] description
170
- # A brief description of this domain.
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 domains data can only be
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
- # only has one possible value: `KNOWN_FRAUDSTER`.
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 iD in order to encrypt the file.
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-provied name for the fraudster registration job.
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 results that are returned per call. You can
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
- # the identifier of the KMS key you want Voice ID to use to encrypt
1399
- # the output file of the fraudster registration job.
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 you want Voice ID to use to encrypt
1486
- # your data.
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] documentation for the permissions
1910
- # needed in this role.
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
- # A tag that can be assigned to a Voice ID resource.
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 Department’:’Sales’, the
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 Department’:’Sales’, the
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 about this domain.
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. Note that all
2111
- # the existing data in the domain are still encrypted using the
2112
- # existing key, only the data added to domain after updating the key
2113
- # is encrypted using the new key.
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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-voiceid/types'
15
15
  require_relative 'aws-sdk-voiceid/client_api'
16
+ require_relative 'aws-sdk-voiceid/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-voiceid/client'
17
18
  require_relative 'aws-sdk-voiceid/errors'
18
19
  require_relative 'aws-sdk-voiceid/resource'
20
+ require_relative 'aws-sdk-voiceid/endpoint_parameters'
21
+ require_relative 'aws-sdk-voiceid/endpoint_provider'
22
+ require_relative 'aws-sdk-voiceid/endpoints'
19
23
  require_relative 'aws-sdk-voiceid/customizations'
20
24
 
21
25
  # This module provides support for Amazon Voice ID. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-voiceid/customizations'
48
52
  # @!group service
49
53
  module Aws::VoiceID
50
54
 
51
- GEM_VERSION = '1.8.0'
55
+ GEM_VERSION = '1.10.0'
52
56
 
53
57
  end
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.8.0
4
+ version: 1.10.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-06-02 00:00:00.000000000 Z
11
+ date: 2022-10-25 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-voiceid/client.rb
60
60
  - lib/aws-sdk-voiceid/client_api.rb
61
61
  - lib/aws-sdk-voiceid/customizations.rb
62
+ - lib/aws-sdk-voiceid/endpoint_parameters.rb
63
+ - lib/aws-sdk-voiceid/endpoint_provider.rb
64
+ - lib/aws-sdk-voiceid/endpoints.rb
62
65
  - lib/aws-sdk-voiceid/errors.rb
66
+ - lib/aws-sdk-voiceid/plugins/endpoints.rb
63
67
  - lib/aws-sdk-voiceid/resource.rb
64
68
  - lib/aws-sdk-voiceid/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby