aws-sdk-voiceid 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,818 @@
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
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
+ Arn = Shapes::StringShape.new(name: 'Arn')
19
+ AuthenticationConfiguration = Shapes::StructureShape.new(name: 'AuthenticationConfiguration')
20
+ AuthenticationDecision = Shapes::StringShape.new(name: 'AuthenticationDecision')
21
+ AuthenticationResult = Shapes::StructureShape.new(name: 'AuthenticationResult')
22
+ ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
23
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
24
+ ConflictType = Shapes::StringShape.new(name: 'ConflictType')
25
+ CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
26
+ CreateDomainResponse = Shapes::StructureShape.new(name: 'CreateDomainResponse')
27
+ CustomerSpeakerId = Shapes::StringShape.new(name: 'CustomerSpeakerId')
28
+ DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
29
+ DeleteFraudsterRequest = Shapes::StructureShape.new(name: 'DeleteFraudsterRequest')
30
+ DeleteSpeakerRequest = Shapes::StructureShape.new(name: 'DeleteSpeakerRequest')
31
+ DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest')
32
+ DescribeDomainResponse = Shapes::StructureShape.new(name: 'DescribeDomainResponse')
33
+ DescribeFraudsterRegistrationJobRequest = Shapes::StructureShape.new(name: 'DescribeFraudsterRegistrationJobRequest')
34
+ DescribeFraudsterRegistrationJobResponse = Shapes::StructureShape.new(name: 'DescribeFraudsterRegistrationJobResponse')
35
+ DescribeFraudsterRequest = Shapes::StructureShape.new(name: 'DescribeFraudsterRequest')
36
+ DescribeFraudsterResponse = Shapes::StructureShape.new(name: 'DescribeFraudsterResponse')
37
+ DescribeSpeakerEnrollmentJobRequest = Shapes::StructureShape.new(name: 'DescribeSpeakerEnrollmentJobRequest')
38
+ DescribeSpeakerEnrollmentJobResponse = Shapes::StructureShape.new(name: 'DescribeSpeakerEnrollmentJobResponse')
39
+ DescribeSpeakerRequest = Shapes::StructureShape.new(name: 'DescribeSpeakerRequest')
40
+ DescribeSpeakerResponse = Shapes::StructureShape.new(name: 'DescribeSpeakerResponse')
41
+ Description = Shapes::StringShape.new(name: 'Description')
42
+ Domain = Shapes::StructureShape.new(name: 'Domain')
43
+ DomainId = Shapes::StringShape.new(name: 'DomainId')
44
+ DomainName = Shapes::StringShape.new(name: 'DomainName')
45
+ DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
46
+ DomainSummaries = Shapes::ListShape.new(name: 'DomainSummaries')
47
+ DomainSummary = Shapes::StructureShape.new(name: 'DomainSummary')
48
+ DuplicateRegistrationAction = Shapes::StringShape.new(name: 'DuplicateRegistrationAction')
49
+ EnrollmentConfig = Shapes::StructureShape.new(name: 'EnrollmentConfig')
50
+ EnrollmentJobFraudDetectionConfig = Shapes::StructureShape.new(name: 'EnrollmentJobFraudDetectionConfig')
51
+ EvaluateSessionRequest = Shapes::StructureShape.new(name: 'EvaluateSessionRequest')
52
+ EvaluateSessionResponse = Shapes::StructureShape.new(name: 'EvaluateSessionResponse')
53
+ ExistingEnrollmentAction = Shapes::StringShape.new(name: 'ExistingEnrollmentAction')
54
+ FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
55
+ FraudDetectionAction = Shapes::StringShape.new(name: 'FraudDetectionAction')
56
+ FraudDetectionConfiguration = Shapes::StructureShape.new(name: 'FraudDetectionConfiguration')
57
+ FraudDetectionDecision = Shapes::StringShape.new(name: 'FraudDetectionDecision')
58
+ FraudDetectionReason = Shapes::StringShape.new(name: 'FraudDetectionReason')
59
+ FraudDetectionReasons = Shapes::ListShape.new(name: 'FraudDetectionReasons')
60
+ FraudDetectionResult = Shapes::StructureShape.new(name: 'FraudDetectionResult')
61
+ FraudRiskDetails = Shapes::StructureShape.new(name: 'FraudRiskDetails')
62
+ Fraudster = Shapes::StructureShape.new(name: 'Fraudster')
63
+ FraudsterId = Shapes::StringShape.new(name: 'FraudsterId')
64
+ FraudsterRegistrationJob = Shapes::StructureShape.new(name: 'FraudsterRegistrationJob')
65
+ FraudsterRegistrationJobStatus = Shapes::StringShape.new(name: 'FraudsterRegistrationJobStatus')
66
+ FraudsterRegistrationJobSummaries = Shapes::ListShape.new(name: 'FraudsterRegistrationJobSummaries')
67
+ FraudsterRegistrationJobSummary = Shapes::StructureShape.new(name: 'FraudsterRegistrationJobSummary')
68
+ GeneratedFraudsterId = Shapes::StringShape.new(name: 'GeneratedFraudsterId')
69
+ GeneratedSpeakerId = Shapes::StringShape.new(name: 'GeneratedSpeakerId')
70
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
71
+ InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
72
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
73
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
74
+ JobId = Shapes::StringShape.new(name: 'JobId')
75
+ JobName = Shapes::StringShape.new(name: 'JobName')
76
+ JobProgress = Shapes::StructureShape.new(name: 'JobProgress')
77
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
78
+ KnownFraudsterRisk = Shapes::StructureShape.new(name: 'KnownFraudsterRisk')
79
+ ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
80
+ ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
81
+ ListFraudsterRegistrationJobsRequest = Shapes::StructureShape.new(name: 'ListFraudsterRegistrationJobsRequest')
82
+ ListFraudsterRegistrationJobsResponse = Shapes::StructureShape.new(name: 'ListFraudsterRegistrationJobsResponse')
83
+ ListSpeakerEnrollmentJobsRequest = Shapes::StructureShape.new(name: 'ListSpeakerEnrollmentJobsRequest')
84
+ ListSpeakerEnrollmentJobsResponse = Shapes::StructureShape.new(name: 'ListSpeakerEnrollmentJobsResponse')
85
+ ListSpeakersRequest = Shapes::StructureShape.new(name: 'ListSpeakersRequest')
86
+ ListSpeakersResponse = Shapes::StructureShape.new(name: 'ListSpeakersResponse')
87
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
88
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
89
+ MaxResultsForList = Shapes::IntegerShape.new(name: 'MaxResultsForList')
90
+ MaxResultsForListDomainFe = Shapes::IntegerShape.new(name: 'MaxResultsForListDomainFe')
91
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
92
+ OptOutSpeakerRequest = Shapes::StructureShape.new(name: 'OptOutSpeakerRequest')
93
+ OptOutSpeakerResponse = Shapes::StructureShape.new(name: 'OptOutSpeakerResponse')
94
+ OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
95
+ RegistrationConfig = Shapes::StructureShape.new(name: 'RegistrationConfig')
96
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
97
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
98
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
99
+ Score = Shapes::IntegerShape.new(name: 'Score')
100
+ ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
101
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
102
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
103
+ SessionName = Shapes::StringShape.new(name: 'SessionName')
104
+ SessionNameOrId = Shapes::StringShape.new(name: 'SessionNameOrId')
105
+ Speaker = Shapes::StructureShape.new(name: 'Speaker')
106
+ SpeakerEnrollmentJob = Shapes::StructureShape.new(name: 'SpeakerEnrollmentJob')
107
+ SpeakerEnrollmentJobStatus = Shapes::StringShape.new(name: 'SpeakerEnrollmentJobStatus')
108
+ SpeakerEnrollmentJobSummaries = Shapes::ListShape.new(name: 'SpeakerEnrollmentJobSummaries')
109
+ SpeakerEnrollmentJobSummary = Shapes::StructureShape.new(name: 'SpeakerEnrollmentJobSummary')
110
+ SpeakerId = Shapes::StringShape.new(name: 'SpeakerId')
111
+ SpeakerStatus = Shapes::StringShape.new(name: 'SpeakerStatus')
112
+ SpeakerSummaries = Shapes::ListShape.new(name: 'SpeakerSummaries')
113
+ SpeakerSummary = Shapes::StructureShape.new(name: 'SpeakerSummary')
114
+ StartFraudsterRegistrationJobRequest = Shapes::StructureShape.new(name: 'StartFraudsterRegistrationJobRequest')
115
+ StartFraudsterRegistrationJobResponse = Shapes::StructureShape.new(name: 'StartFraudsterRegistrationJobResponse')
116
+ StartSpeakerEnrollmentJobRequest = Shapes::StructureShape.new(name: 'StartSpeakerEnrollmentJobRequest')
117
+ StartSpeakerEnrollmentJobResponse = Shapes::StructureShape.new(name: 'StartSpeakerEnrollmentJobResponse')
118
+ StreamingStatus = Shapes::StringShape.new(name: 'StreamingStatus')
119
+ String = Shapes::StringShape.new(name: 'String')
120
+ Tag = Shapes::StructureShape.new(name: 'Tag')
121
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
122
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
123
+ TagList = Shapes::ListShape.new(name: 'TagList')
124
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
125
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
126
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
127
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
128
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
129
+ UniqueIdLarge = Shapes::StringShape.new(name: 'UniqueIdLarge')
130
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
131
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
132
+ UpdateDomainRequest = Shapes::StructureShape.new(name: 'UpdateDomainRequest')
133
+ UpdateDomainResponse = Shapes::StructureShape.new(name: 'UpdateDomainResponse')
134
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
135
+
136
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
137
+ AccessDeniedException.struct_class = Types::AccessDeniedException
138
+
139
+ AuthenticationConfiguration.add_member(:acceptance_threshold, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "AcceptanceThreshold"))
140
+ AuthenticationConfiguration.struct_class = Types::AuthenticationConfiguration
141
+
142
+ AuthenticationResult.add_member(:audio_aggregation_ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AudioAggregationEndedAt"))
143
+ AuthenticationResult.add_member(:audio_aggregation_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AudioAggregationStartedAt"))
144
+ AuthenticationResult.add_member(:authentication_result_id, Shapes::ShapeRef.new(shape: UniqueIdLarge, location_name: "AuthenticationResultId"))
145
+ AuthenticationResult.add_member(:configuration, Shapes::ShapeRef.new(shape: AuthenticationConfiguration, location_name: "Configuration"))
146
+ AuthenticationResult.add_member(:customer_speaker_id, Shapes::ShapeRef.new(shape: CustomerSpeakerId, location_name: "CustomerSpeakerId"))
147
+ AuthenticationResult.add_member(:decision, Shapes::ShapeRef.new(shape: AuthenticationDecision, location_name: "Decision"))
148
+ AuthenticationResult.add_member(:generated_speaker_id, Shapes::ShapeRef.new(shape: GeneratedSpeakerId, location_name: "GeneratedSpeakerId"))
149
+ AuthenticationResult.add_member(:score, Shapes::ShapeRef.new(shape: Score, location_name: "Score"))
150
+ AuthenticationResult.struct_class = Types::AuthenticationResult
151
+
152
+ ConflictException.add_member(:conflict_type, Shapes::ShapeRef.new(shape: ConflictType, location_name: "ConflictType"))
153
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
154
+ ConflictException.struct_class = Types::ConflictException
155
+
156
+ CreateDomainRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
157
+ CreateDomainRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
158
+ CreateDomainRequest.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "Name"))
159
+ CreateDomainRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, required: true, location_name: "ServerSideEncryptionConfiguration"))
160
+ CreateDomainRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
161
+ CreateDomainRequest.struct_class = Types::CreateDomainRequest
162
+
163
+ CreateDomainResponse.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
164
+ CreateDomainResponse.struct_class = Types::CreateDomainResponse
165
+
166
+ DeleteDomainRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
167
+ DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
168
+
169
+ DeleteFraudsterRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
170
+ DeleteFraudsterRequest.add_member(:fraudster_id, Shapes::ShapeRef.new(shape: FraudsterId, required: true, location_name: "FraudsterId"))
171
+ DeleteFraudsterRequest.struct_class = Types::DeleteFraudsterRequest
172
+
173
+ DeleteSpeakerRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
174
+ DeleteSpeakerRequest.add_member(:speaker_id, Shapes::ShapeRef.new(shape: SpeakerId, required: true, location_name: "SpeakerId"))
175
+ DeleteSpeakerRequest.struct_class = Types::DeleteSpeakerRequest
176
+
177
+ DescribeDomainRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
178
+ DescribeDomainRequest.struct_class = Types::DescribeDomainRequest
179
+
180
+ DescribeDomainResponse.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
181
+ DescribeDomainResponse.struct_class = Types::DescribeDomainResponse
182
+
183
+ DescribeFraudsterRegistrationJobRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
184
+ DescribeFraudsterRegistrationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
185
+ DescribeFraudsterRegistrationJobRequest.struct_class = Types::DescribeFraudsterRegistrationJobRequest
186
+
187
+ DescribeFraudsterRegistrationJobResponse.add_member(:job, Shapes::ShapeRef.new(shape: FraudsterRegistrationJob, location_name: "Job"))
188
+ DescribeFraudsterRegistrationJobResponse.struct_class = Types::DescribeFraudsterRegistrationJobResponse
189
+
190
+ DescribeFraudsterRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
191
+ DescribeFraudsterRequest.add_member(:fraudster_id, Shapes::ShapeRef.new(shape: FraudsterId, required: true, location_name: "FraudsterId"))
192
+ DescribeFraudsterRequest.struct_class = Types::DescribeFraudsterRequest
193
+
194
+ DescribeFraudsterResponse.add_member(:fraudster, Shapes::ShapeRef.new(shape: Fraudster, location_name: "Fraudster"))
195
+ DescribeFraudsterResponse.struct_class = Types::DescribeFraudsterResponse
196
+
197
+ DescribeSpeakerEnrollmentJobRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
198
+ DescribeSpeakerEnrollmentJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
199
+ DescribeSpeakerEnrollmentJobRequest.struct_class = Types::DescribeSpeakerEnrollmentJobRequest
200
+
201
+ DescribeSpeakerEnrollmentJobResponse.add_member(:job, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJob, location_name: "Job"))
202
+ DescribeSpeakerEnrollmentJobResponse.struct_class = Types::DescribeSpeakerEnrollmentJobResponse
203
+
204
+ DescribeSpeakerRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
205
+ DescribeSpeakerRequest.add_member(:speaker_id, Shapes::ShapeRef.new(shape: SpeakerId, required: true, location_name: "SpeakerId"))
206
+ DescribeSpeakerRequest.struct_class = Types::DescribeSpeakerRequest
207
+
208
+ DescribeSpeakerResponse.add_member(:speaker, Shapes::ShapeRef.new(shape: Speaker, location_name: "Speaker"))
209
+ DescribeSpeakerResponse.struct_class = Types::DescribeSpeakerResponse
210
+
211
+ Domain.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
212
+ Domain.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
213
+ Domain.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
214
+ Domain.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
215
+ Domain.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
216
+ Domain.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "Name"))
217
+ Domain.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
218
+ Domain.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
219
+ Domain.struct_class = Types::Domain
220
+
221
+ DomainSummaries.member = Shapes::ShapeRef.new(shape: DomainSummary)
222
+
223
+ DomainSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
224
+ DomainSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
225
+ DomainSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
226
+ DomainSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
227
+ DomainSummary.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
228
+ DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "Name"))
229
+ DomainSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
230
+ DomainSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
231
+ DomainSummary.struct_class = Types::DomainSummary
232
+
233
+ EnrollmentConfig.add_member(:existing_enrollment_action, Shapes::ShapeRef.new(shape: ExistingEnrollmentAction, location_name: "ExistingEnrollmentAction"))
234
+ EnrollmentConfig.add_member(:fraud_detection_config, Shapes::ShapeRef.new(shape: EnrollmentJobFraudDetectionConfig, location_name: "FraudDetectionConfig"))
235
+ EnrollmentConfig.struct_class = Types::EnrollmentConfig
236
+
237
+ EnrollmentJobFraudDetectionConfig.add_member(:fraud_detection_action, Shapes::ShapeRef.new(shape: FraudDetectionAction, location_name: "FraudDetectionAction"))
238
+ EnrollmentJobFraudDetectionConfig.add_member(:risk_threshold, Shapes::ShapeRef.new(shape: Score, location_name: "RiskThreshold"))
239
+ EnrollmentJobFraudDetectionConfig.struct_class = Types::EnrollmentJobFraudDetectionConfig
240
+
241
+ EvaluateSessionRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
242
+ EvaluateSessionRequest.add_member(:session_name_or_id, Shapes::ShapeRef.new(shape: SessionNameOrId, required: true, location_name: "SessionNameOrId"))
243
+ EvaluateSessionRequest.struct_class = Types::EvaluateSessionRequest
244
+
245
+ EvaluateSessionResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResult, location_name: "AuthenticationResult"))
246
+ EvaluateSessionResponse.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
247
+ EvaluateSessionResponse.add_member(:fraud_detection_result, Shapes::ShapeRef.new(shape: FraudDetectionResult, location_name: "FraudDetectionResult"))
248
+ EvaluateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
249
+ EvaluateSessionResponse.add_member(:session_name, Shapes::ShapeRef.new(shape: SessionName, location_name: "SessionName"))
250
+ EvaluateSessionResponse.add_member(:streaming_status, Shapes::ShapeRef.new(shape: StreamingStatus, location_name: "StreamingStatus"))
251
+ EvaluateSessionResponse.struct_class = Types::EvaluateSessionResponse
252
+
253
+ FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
254
+ FailureDetails.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "StatusCode"))
255
+ FailureDetails.struct_class = Types::FailureDetails
256
+
257
+ FraudDetectionConfiguration.add_member(:risk_threshold, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "RiskThreshold"))
258
+ FraudDetectionConfiguration.struct_class = Types::FraudDetectionConfiguration
259
+
260
+ FraudDetectionReasons.member = Shapes::ShapeRef.new(shape: FraudDetectionReason)
261
+
262
+ FraudDetectionResult.add_member(:audio_aggregation_ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AudioAggregationEndedAt"))
263
+ FraudDetectionResult.add_member(:audio_aggregation_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AudioAggregationStartedAt"))
264
+ FraudDetectionResult.add_member(:configuration, Shapes::ShapeRef.new(shape: FraudDetectionConfiguration, location_name: "Configuration"))
265
+ FraudDetectionResult.add_member(:decision, Shapes::ShapeRef.new(shape: FraudDetectionDecision, location_name: "Decision"))
266
+ FraudDetectionResult.add_member(:fraud_detection_result_id, Shapes::ShapeRef.new(shape: UniqueIdLarge, location_name: "FraudDetectionResultId"))
267
+ FraudDetectionResult.add_member(:reasons, Shapes::ShapeRef.new(shape: FraudDetectionReasons, location_name: "Reasons"))
268
+ FraudDetectionResult.add_member(:risk_details, Shapes::ShapeRef.new(shape: FraudRiskDetails, location_name: "RiskDetails"))
269
+ FraudDetectionResult.struct_class = Types::FraudDetectionResult
270
+
271
+ FraudRiskDetails.add_member(:known_fraudster_risk, Shapes::ShapeRef.new(shape: KnownFraudsterRisk, required: true, location_name: "KnownFraudsterRisk"))
272
+ FraudRiskDetails.struct_class = Types::FraudRiskDetails
273
+
274
+ Fraudster.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
275
+ Fraudster.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
276
+ Fraudster.add_member(:generated_fraudster_id, Shapes::ShapeRef.new(shape: GeneratedFraudsterId, location_name: "GeneratedFraudsterId"))
277
+ Fraudster.struct_class = Types::Fraudster
278
+
279
+ FraudsterRegistrationJob.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
280
+ FraudsterRegistrationJob.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
281
+ FraudsterRegistrationJob.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
282
+ FraudsterRegistrationJob.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
283
+ FraudsterRegistrationJob.add_member(:failure_details, Shapes::ShapeRef.new(shape: FailureDetails, location_name: "FailureDetails"))
284
+ FraudsterRegistrationJob.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
285
+ FraudsterRegistrationJob.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
286
+ FraudsterRegistrationJob.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
287
+ FraudsterRegistrationJob.add_member(:job_progress, Shapes::ShapeRef.new(shape: JobProgress, location_name: "JobProgress"))
288
+ FraudsterRegistrationJob.add_member(:job_status, Shapes::ShapeRef.new(shape: FraudsterRegistrationJobStatus, location_name: "JobStatus"))
289
+ FraudsterRegistrationJob.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
290
+ FraudsterRegistrationJob.add_member(:registration_config, Shapes::ShapeRef.new(shape: RegistrationConfig, location_name: "RegistrationConfig"))
291
+ FraudsterRegistrationJob.struct_class = Types::FraudsterRegistrationJob
292
+
293
+ FraudsterRegistrationJobSummaries.member = Shapes::ShapeRef.new(shape: FraudsterRegistrationJobSummary)
294
+
295
+ FraudsterRegistrationJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
296
+ FraudsterRegistrationJobSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
297
+ FraudsterRegistrationJobSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
298
+ FraudsterRegistrationJobSummary.add_member(:failure_details, Shapes::ShapeRef.new(shape: FailureDetails, location_name: "FailureDetails"))
299
+ FraudsterRegistrationJobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
300
+ FraudsterRegistrationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
301
+ FraudsterRegistrationJobSummary.add_member(:job_progress, Shapes::ShapeRef.new(shape: JobProgress, location_name: "JobProgress"))
302
+ FraudsterRegistrationJobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: FraudsterRegistrationJobStatus, location_name: "JobStatus"))
303
+ FraudsterRegistrationJobSummary.struct_class = Types::FraudsterRegistrationJobSummary
304
+
305
+ InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
306
+ InputDataConfig.struct_class = Types::InputDataConfig
307
+
308
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
309
+ InternalServerException.struct_class = Types::InternalServerException
310
+
311
+ JobProgress.add_member(:percent_complete, Shapes::ShapeRef.new(shape: Score, location_name: "PercentComplete"))
312
+ JobProgress.struct_class = Types::JobProgress
313
+
314
+ KnownFraudsterRisk.add_member(:generated_fraudster_id, Shapes::ShapeRef.new(shape: GeneratedFraudsterId, location_name: "GeneratedFraudsterId"))
315
+ KnownFraudsterRisk.add_member(:risk_score, Shapes::ShapeRef.new(shape: Score, required: true, location_name: "RiskScore"))
316
+ KnownFraudsterRisk.struct_class = Types::KnownFraudsterRisk
317
+
318
+ ListDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForListDomainFe, location_name: "MaxResults"))
319
+ ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
320
+ ListDomainsRequest.struct_class = Types::ListDomainsRequest
321
+
322
+ ListDomainsResponse.add_member(:domain_summaries, Shapes::ShapeRef.new(shape: DomainSummaries, location_name: "DomainSummaries"))
323
+ ListDomainsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
324
+ ListDomainsResponse.struct_class = Types::ListDomainsResponse
325
+
326
+ ListFraudsterRegistrationJobsRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
327
+ ListFraudsterRegistrationJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: FraudsterRegistrationJobStatus, location_name: "JobStatus"))
328
+ ListFraudsterRegistrationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForList, location_name: "MaxResults"))
329
+ ListFraudsterRegistrationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
330
+ ListFraudsterRegistrationJobsRequest.struct_class = Types::ListFraudsterRegistrationJobsRequest
331
+
332
+ ListFraudsterRegistrationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: FraudsterRegistrationJobSummaries, location_name: "JobSummaries"))
333
+ ListFraudsterRegistrationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
334
+ ListFraudsterRegistrationJobsResponse.struct_class = Types::ListFraudsterRegistrationJobsResponse
335
+
336
+ ListSpeakerEnrollmentJobsRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
337
+ ListSpeakerEnrollmentJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJobStatus, location_name: "JobStatus"))
338
+ ListSpeakerEnrollmentJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForList, location_name: "MaxResults"))
339
+ ListSpeakerEnrollmentJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
340
+ ListSpeakerEnrollmentJobsRequest.struct_class = Types::ListSpeakerEnrollmentJobsRequest
341
+
342
+ ListSpeakerEnrollmentJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJobSummaries, location_name: "JobSummaries"))
343
+ ListSpeakerEnrollmentJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
344
+ ListSpeakerEnrollmentJobsResponse.struct_class = Types::ListSpeakerEnrollmentJobsResponse
345
+
346
+ ListSpeakersRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
347
+ ListSpeakersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsForList, location_name: "MaxResults"))
348
+ ListSpeakersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
349
+ ListSpeakersRequest.struct_class = Types::ListSpeakersRequest
350
+
351
+ ListSpeakersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
352
+ ListSpeakersResponse.add_member(:speaker_summaries, Shapes::ShapeRef.new(shape: SpeakerSummaries, location_name: "SpeakerSummaries"))
353
+ ListSpeakersResponse.struct_class = Types::ListSpeakersResponse
354
+
355
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
356
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
357
+
358
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
359
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
360
+
361
+ OptOutSpeakerRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
362
+ OptOutSpeakerRequest.add_member(:speaker_id, Shapes::ShapeRef.new(shape: SpeakerId, required: true, location_name: "SpeakerId"))
363
+ OptOutSpeakerRequest.struct_class = Types::OptOutSpeakerRequest
364
+
365
+ OptOutSpeakerResponse.add_member(:speaker, Shapes::ShapeRef.new(shape: Speaker, location_name: "Speaker"))
366
+ OptOutSpeakerResponse.struct_class = Types::OptOutSpeakerResponse
367
+
368
+ OutputDataConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
369
+ OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
370
+ OutputDataConfig.struct_class = Types::OutputDataConfig
371
+
372
+ RegistrationConfig.add_member(:duplicate_registration_action, Shapes::ShapeRef.new(shape: DuplicateRegistrationAction, location_name: "DuplicateRegistrationAction"))
373
+ RegistrationConfig.add_member(:fraudster_similarity_threshold, Shapes::ShapeRef.new(shape: Score, location_name: "FraudsterSimilarityThreshold"))
374
+ RegistrationConfig.struct_class = Types::RegistrationConfig
375
+
376
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
377
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
378
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
379
+
380
+ ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
381
+ ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
382
+
383
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
384
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
385
+
386
+ Speaker.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
387
+ Speaker.add_member(:customer_speaker_id, Shapes::ShapeRef.new(shape: CustomerSpeakerId, location_name: "CustomerSpeakerId"))
388
+ Speaker.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
389
+ Speaker.add_member(:generated_speaker_id, Shapes::ShapeRef.new(shape: GeneratedSpeakerId, location_name: "GeneratedSpeakerId"))
390
+ Speaker.add_member(:status, Shapes::ShapeRef.new(shape: SpeakerStatus, location_name: "Status"))
391
+ Speaker.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
392
+ Speaker.struct_class = Types::Speaker
393
+
394
+ SpeakerEnrollmentJob.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
395
+ SpeakerEnrollmentJob.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
396
+ SpeakerEnrollmentJob.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
397
+ SpeakerEnrollmentJob.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
398
+ SpeakerEnrollmentJob.add_member(:enrollment_config, Shapes::ShapeRef.new(shape: EnrollmentConfig, location_name: "EnrollmentConfig"))
399
+ SpeakerEnrollmentJob.add_member(:failure_details, Shapes::ShapeRef.new(shape: FailureDetails, location_name: "FailureDetails"))
400
+ SpeakerEnrollmentJob.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
401
+ SpeakerEnrollmentJob.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
402
+ SpeakerEnrollmentJob.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
403
+ SpeakerEnrollmentJob.add_member(:job_progress, Shapes::ShapeRef.new(shape: JobProgress, location_name: "JobProgress"))
404
+ SpeakerEnrollmentJob.add_member(:job_status, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJobStatus, location_name: "JobStatus"))
405
+ SpeakerEnrollmentJob.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
406
+ SpeakerEnrollmentJob.struct_class = Types::SpeakerEnrollmentJob
407
+
408
+ SpeakerEnrollmentJobSummaries.member = Shapes::ShapeRef.new(shape: SpeakerEnrollmentJobSummary)
409
+
410
+ SpeakerEnrollmentJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
411
+ SpeakerEnrollmentJobSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
412
+ SpeakerEnrollmentJobSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
413
+ SpeakerEnrollmentJobSummary.add_member(:failure_details, Shapes::ShapeRef.new(shape: FailureDetails, location_name: "FailureDetails"))
414
+ SpeakerEnrollmentJobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
415
+ SpeakerEnrollmentJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
416
+ SpeakerEnrollmentJobSummary.add_member(:job_progress, Shapes::ShapeRef.new(shape: JobProgress, location_name: "JobProgress"))
417
+ SpeakerEnrollmentJobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJobStatus, location_name: "JobStatus"))
418
+ SpeakerEnrollmentJobSummary.struct_class = Types::SpeakerEnrollmentJobSummary
419
+
420
+ SpeakerSummaries.member = Shapes::ShapeRef.new(shape: SpeakerSummary)
421
+
422
+ SpeakerSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
423
+ SpeakerSummary.add_member(:customer_speaker_id, Shapes::ShapeRef.new(shape: CustomerSpeakerId, location_name: "CustomerSpeakerId"))
424
+ SpeakerSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
425
+ SpeakerSummary.add_member(:generated_speaker_id, Shapes::ShapeRef.new(shape: GeneratedSpeakerId, location_name: "GeneratedSpeakerId"))
426
+ SpeakerSummary.add_member(:status, Shapes::ShapeRef.new(shape: SpeakerStatus, location_name: "Status"))
427
+ SpeakerSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
428
+ SpeakerSummary.struct_class = Types::SpeakerSummary
429
+
430
+ StartFraudsterRegistrationJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
431
+ StartFraudsterRegistrationJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
432
+ StartFraudsterRegistrationJobRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
433
+ StartFraudsterRegistrationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
434
+ StartFraudsterRegistrationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
435
+ StartFraudsterRegistrationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
436
+ StartFraudsterRegistrationJobRequest.add_member(:registration_config, Shapes::ShapeRef.new(shape: RegistrationConfig, location_name: "RegistrationConfig"))
437
+ StartFraudsterRegistrationJobRequest.struct_class = Types::StartFraudsterRegistrationJobRequest
438
+
439
+ StartFraudsterRegistrationJobResponse.add_member(:job, Shapes::ShapeRef.new(shape: FraudsterRegistrationJob, location_name: "Job"))
440
+ StartFraudsterRegistrationJobResponse.struct_class = Types::StartFraudsterRegistrationJobResponse
441
+
442
+ StartSpeakerEnrollmentJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
443
+ StartSpeakerEnrollmentJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
444
+ StartSpeakerEnrollmentJobRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
445
+ StartSpeakerEnrollmentJobRequest.add_member(:enrollment_config, Shapes::ShapeRef.new(shape: EnrollmentConfig, location_name: "EnrollmentConfig"))
446
+ StartSpeakerEnrollmentJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
447
+ StartSpeakerEnrollmentJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
448
+ StartSpeakerEnrollmentJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
449
+ StartSpeakerEnrollmentJobRequest.struct_class = Types::StartSpeakerEnrollmentJobRequest
450
+
451
+ StartSpeakerEnrollmentJobResponse.add_member(:job, Shapes::ShapeRef.new(shape: SpeakerEnrollmentJob, location_name: "Job"))
452
+ StartSpeakerEnrollmentJobResponse.struct_class = Types::StartSpeakerEnrollmentJobResponse
453
+
454
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
455
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
456
+ Tag.struct_class = Types::Tag
457
+
458
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
459
+
460
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
461
+
462
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
463
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
464
+ TagResourceRequest.struct_class = Types::TagResourceRequest
465
+
466
+ TagResourceResponse.struct_class = Types::TagResourceResponse
467
+
468
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
469
+ ThrottlingException.struct_class = Types::ThrottlingException
470
+
471
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
472
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
473
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
474
+
475
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
476
+
477
+ UpdateDomainRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
478
+ UpdateDomainRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
479
+ UpdateDomainRequest.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "Name"))
480
+ UpdateDomainRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, required: true, location_name: "ServerSideEncryptionConfiguration"))
481
+ UpdateDomainRequest.struct_class = Types::UpdateDomainRequest
482
+
483
+ UpdateDomainResponse.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
484
+ UpdateDomainResponse.struct_class = Types::UpdateDomainResponse
485
+
486
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
487
+ ValidationException.struct_class = Types::ValidationException
488
+
489
+
490
+ # @api private
491
+ API = Seahorse::Model::Api.new.tap do |api|
492
+
493
+ api.version = "2021-09-27"
494
+
495
+ api.metadata = {
496
+ "apiVersion" => "2021-09-27",
497
+ "endpointPrefix" => "voiceid",
498
+ "jsonVersion" => "1.0",
499
+ "protocol" => "json",
500
+ "serviceFullName" => "Amazon Voice ID",
501
+ "serviceId" => "Voice ID",
502
+ "signatureVersion" => "v4",
503
+ "signingName" => "voiceid",
504
+ "targetPrefix" => "VoiceID",
505
+ "uid" => "voice-id-2021-09-27",
506
+ }
507
+
508
+ api.add_operation(:create_domain, Seahorse::Model::Operation.new.tap do |o|
509
+ o.name = "CreateDomain"
510
+ o.http_method = "POST"
511
+ o.http_request_uri = "/"
512
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainRequest)
513
+ o.output = Shapes::ShapeRef.new(shape: CreateDomainResponse)
514
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
515
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
516
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
517
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
518
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
519
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
520
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
521
+ end)
522
+
523
+ api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
524
+ o.name = "DeleteDomain"
525
+ o.http_method = "POST"
526
+ o.http_request_uri = "/"
527
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainRequest)
528
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
529
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
532
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
534
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
535
+ end)
536
+
537
+ api.add_operation(:delete_fraudster, Seahorse::Model::Operation.new.tap do |o|
538
+ o.name = "DeleteFraudster"
539
+ o.http_method = "POST"
540
+ o.http_request_uri = "/"
541
+ o.input = Shapes::ShapeRef.new(shape: DeleteFraudsterRequest)
542
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
543
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
544
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
545
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
546
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
547
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
548
+ end)
549
+
550
+ api.add_operation(:delete_speaker, Seahorse::Model::Operation.new.tap do |o|
551
+ o.name = "DeleteSpeaker"
552
+ o.http_method = "POST"
553
+ o.http_request_uri = "/"
554
+ o.input = Shapes::ShapeRef.new(shape: DeleteSpeakerRequest)
555
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
556
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
557
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
559
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
560
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
561
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
562
+ end)
563
+
564
+ api.add_operation(:describe_domain, Seahorse::Model::Operation.new.tap do |o|
565
+ o.name = "DescribeDomain"
566
+ o.http_method = "POST"
567
+ o.http_request_uri = "/"
568
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainRequest)
569
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainResponse)
570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
572
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
574
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
575
+ end)
576
+
577
+ api.add_operation(:describe_fraudster, Seahorse::Model::Operation.new.tap do |o|
578
+ o.name = "DescribeFraudster"
579
+ o.http_method = "POST"
580
+ o.http_request_uri = "/"
581
+ o.input = Shapes::ShapeRef.new(shape: DescribeFraudsterRequest)
582
+ o.output = Shapes::ShapeRef.new(shape: DescribeFraudsterResponse)
583
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
585
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
587
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
588
+ end)
589
+
590
+ api.add_operation(:describe_fraudster_registration_job, Seahorse::Model::Operation.new.tap do |o|
591
+ o.name = "DescribeFraudsterRegistrationJob"
592
+ o.http_method = "POST"
593
+ o.http_request_uri = "/"
594
+ o.input = Shapes::ShapeRef.new(shape: DescribeFraudsterRegistrationJobRequest)
595
+ o.output = Shapes::ShapeRef.new(shape: DescribeFraudsterRegistrationJobResponse)
596
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
600
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
601
+ end)
602
+
603
+ api.add_operation(:describe_speaker, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "DescribeSpeaker"
605
+ o.http_method = "POST"
606
+ o.http_request_uri = "/"
607
+ o.input = Shapes::ShapeRef.new(shape: DescribeSpeakerRequest)
608
+ o.output = Shapes::ShapeRef.new(shape: DescribeSpeakerResponse)
609
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
611
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
613
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
614
+ end)
615
+
616
+ api.add_operation(:describe_speaker_enrollment_job, Seahorse::Model::Operation.new.tap do |o|
617
+ o.name = "DescribeSpeakerEnrollmentJob"
618
+ o.http_method = "POST"
619
+ o.http_request_uri = "/"
620
+ o.input = Shapes::ShapeRef.new(shape: DescribeSpeakerEnrollmentJobRequest)
621
+ o.output = Shapes::ShapeRef.new(shape: DescribeSpeakerEnrollmentJobResponse)
622
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
624
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
626
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
627
+ end)
628
+
629
+ api.add_operation(:evaluate_session, Seahorse::Model::Operation.new.tap do |o|
630
+ o.name = "EvaluateSession"
631
+ o.http_method = "POST"
632
+ o.http_request_uri = "/"
633
+ o.input = Shapes::ShapeRef.new(shape: EvaluateSessionRequest)
634
+ o.output = Shapes::ShapeRef.new(shape: EvaluateSessionResponse)
635
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
637
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
639
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
640
+ end)
641
+
642
+ api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
643
+ o.name = "ListDomains"
644
+ o.http_method = "POST"
645
+ o.http_request_uri = "/"
646
+ o.input = Shapes::ShapeRef.new(shape: ListDomainsRequest)
647
+ o.output = Shapes::ShapeRef.new(shape: ListDomainsResponse)
648
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
649
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
651
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
652
+ o[:pager] = Aws::Pager.new(
653
+ limit_key: "max_results",
654
+ tokens: {
655
+ "next_token" => "next_token"
656
+ }
657
+ )
658
+ end)
659
+
660
+ api.add_operation(:list_fraudster_registration_jobs, Seahorse::Model::Operation.new.tap do |o|
661
+ o.name = "ListFraudsterRegistrationJobs"
662
+ o.http_method = "POST"
663
+ o.http_request_uri = "/"
664
+ o.input = Shapes::ShapeRef.new(shape: ListFraudsterRegistrationJobsRequest)
665
+ o.output = Shapes::ShapeRef.new(shape: ListFraudsterRegistrationJobsResponse)
666
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
668
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
670
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
671
+ o[:pager] = Aws::Pager.new(
672
+ limit_key: "max_results",
673
+ tokens: {
674
+ "next_token" => "next_token"
675
+ }
676
+ )
677
+ end)
678
+
679
+ api.add_operation(:list_speaker_enrollment_jobs, Seahorse::Model::Operation.new.tap do |o|
680
+ o.name = "ListSpeakerEnrollmentJobs"
681
+ o.http_method = "POST"
682
+ o.http_request_uri = "/"
683
+ o.input = Shapes::ShapeRef.new(shape: ListSpeakerEnrollmentJobsRequest)
684
+ o.output = Shapes::ShapeRef.new(shape: ListSpeakerEnrollmentJobsResponse)
685
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
687
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
688
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
689
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
690
+ o[:pager] = Aws::Pager.new(
691
+ limit_key: "max_results",
692
+ tokens: {
693
+ "next_token" => "next_token"
694
+ }
695
+ )
696
+ end)
697
+
698
+ api.add_operation(:list_speakers, Seahorse::Model::Operation.new.tap do |o|
699
+ o.name = "ListSpeakers"
700
+ o.http_method = "POST"
701
+ o.http_request_uri = "/"
702
+ o.input = Shapes::ShapeRef.new(shape: ListSpeakersRequest)
703
+ o.output = Shapes::ShapeRef.new(shape: ListSpeakersResponse)
704
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
705
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
706
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
708
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
709
+ o[:pager] = Aws::Pager.new(
710
+ limit_key: "max_results",
711
+ tokens: {
712
+ "next_token" => "next_token"
713
+ }
714
+ )
715
+ end)
716
+
717
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
718
+ o.name = "ListTagsForResource"
719
+ o.http_method = "POST"
720
+ o.http_request_uri = "/"
721
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
722
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
723
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
727
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
728
+ end)
729
+
730
+ api.add_operation(:opt_out_speaker, Seahorse::Model::Operation.new.tap do |o|
731
+ o.name = "OptOutSpeaker"
732
+ o.http_method = "POST"
733
+ o.http_request_uri = "/"
734
+ o.input = Shapes::ShapeRef.new(shape: OptOutSpeakerRequest)
735
+ o.output = Shapes::ShapeRef.new(shape: OptOutSpeakerResponse)
736
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
737
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
738
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
739
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
741
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
742
+ end)
743
+
744
+ api.add_operation(:start_fraudster_registration_job, Seahorse::Model::Operation.new.tap do |o|
745
+ o.name = "StartFraudsterRegistrationJob"
746
+ o.http_method = "POST"
747
+ o.http_request_uri = "/"
748
+ o.input = Shapes::ShapeRef.new(shape: StartFraudsterRegistrationJobRequest)
749
+ o.output = Shapes::ShapeRef.new(shape: StartFraudsterRegistrationJobResponse)
750
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
751
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
754
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
756
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
757
+ end)
758
+
759
+ api.add_operation(:start_speaker_enrollment_job, Seahorse::Model::Operation.new.tap do |o|
760
+ o.name = "StartSpeakerEnrollmentJob"
761
+ o.http_method = "POST"
762
+ o.http_request_uri = "/"
763
+ o.input = Shapes::ShapeRef.new(shape: StartSpeakerEnrollmentJobRequest)
764
+ o.output = Shapes::ShapeRef.new(shape: StartSpeakerEnrollmentJobResponse)
765
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
767
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
769
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
771
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
772
+ end)
773
+
774
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
775
+ o.name = "TagResource"
776
+ o.http_method = "POST"
777
+ o.http_request_uri = "/"
778
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
779
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
781
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
782
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
783
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
784
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
785
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
786
+ end)
787
+
788
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
789
+ o.name = "UntagResource"
790
+ o.http_method = "POST"
791
+ o.http_request_uri = "/"
792
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
793
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
794
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
795
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
796
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
797
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
798
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
799
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
800
+ end)
801
+
802
+ api.add_operation(:update_domain, Seahorse::Model::Operation.new.tap do |o|
803
+ o.name = "UpdateDomain"
804
+ o.http_method = "POST"
805
+ o.http_request_uri = "/"
806
+ o.input = Shapes::ShapeRef.new(shape: UpdateDomainRequest)
807
+ o.output = Shapes::ShapeRef.new(shape: UpdateDomainResponse)
808
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
809
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
811
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
812
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
813
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
814
+ end)
815
+ end
816
+
817
+ end
818
+ end