aws-sdk-comprehend 1.64.0 → 1.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,28 +51,53 @@ module Aws::Comprehend
51
51
  ClientRequestTokenString = Shapes::StringShape.new(name: 'ClientRequestTokenString')
52
52
  ComprehendArn = Shapes::StringShape.new(name: 'ComprehendArn')
53
53
  ComprehendArnName = Shapes::StringShape.new(name: 'ComprehendArnName')
54
+ ComprehendDatasetArn = Shapes::StringShape.new(name: 'ComprehendDatasetArn')
54
55
  ComprehendEndpointArn = Shapes::StringShape.new(name: 'ComprehendEndpointArn')
55
56
  ComprehendEndpointName = Shapes::StringShape.new(name: 'ComprehendEndpointName')
57
+ ComprehendFlywheelArn = Shapes::StringShape.new(name: 'ComprehendFlywheelArn')
56
58
  ComprehendModelArn = Shapes::StringShape.new(name: 'ComprehendModelArn')
57
59
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
58
60
  ContainsPiiEntitiesRequest = Shapes::StructureShape.new(name: 'ContainsPiiEntitiesRequest')
59
61
  ContainsPiiEntitiesResponse = Shapes::StructureShape.new(name: 'ContainsPiiEntitiesResponse')
62
+ CreateDatasetRequest = Shapes::StructureShape.new(name: 'CreateDatasetRequest')
63
+ CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
60
64
  CreateDocumentClassifierRequest = Shapes::StructureShape.new(name: 'CreateDocumentClassifierRequest')
61
65
  CreateDocumentClassifierResponse = Shapes::StructureShape.new(name: 'CreateDocumentClassifierResponse')
62
66
  CreateEndpointRequest = Shapes::StructureShape.new(name: 'CreateEndpointRequest')
63
67
  CreateEndpointResponse = Shapes::StructureShape.new(name: 'CreateEndpointResponse')
64
68
  CreateEntityRecognizerRequest = Shapes::StructureShape.new(name: 'CreateEntityRecognizerRequest')
65
69
  CreateEntityRecognizerResponse = Shapes::StructureShape.new(name: 'CreateEntityRecognizerResponse')
70
+ CreateFlywheelRequest = Shapes::StructureShape.new(name: 'CreateFlywheelRequest')
71
+ CreateFlywheelResponse = Shapes::StructureShape.new(name: 'CreateFlywheelResponse')
66
72
  CustomerInputString = Shapes::StringShape.new(name: 'CustomerInputString')
67
73
  CustomerInputStringList = Shapes::ListShape.new(name: 'CustomerInputStringList')
74
+ DataSecurityConfig = Shapes::StructureShape.new(name: 'DataSecurityConfig')
75
+ DatasetAugmentedManifestsList = Shapes::ListShape.new(name: 'DatasetAugmentedManifestsList')
76
+ DatasetAugmentedManifestsListItem = Shapes::StructureShape.new(name: 'DatasetAugmentedManifestsListItem')
77
+ DatasetDataFormat = Shapes::StringShape.new(name: 'DatasetDataFormat')
78
+ DatasetDocumentClassifierInputDataConfig = Shapes::StructureShape.new(name: 'DatasetDocumentClassifierInputDataConfig')
79
+ DatasetEntityRecognizerAnnotations = Shapes::StructureShape.new(name: 'DatasetEntityRecognizerAnnotations')
80
+ DatasetEntityRecognizerDocuments = Shapes::StructureShape.new(name: 'DatasetEntityRecognizerDocuments')
81
+ DatasetEntityRecognizerEntityList = Shapes::StructureShape.new(name: 'DatasetEntityRecognizerEntityList')
82
+ DatasetEntityRecognizerInputDataConfig = Shapes::StructureShape.new(name: 'DatasetEntityRecognizerInputDataConfig')
83
+ DatasetFilter = Shapes::StructureShape.new(name: 'DatasetFilter')
84
+ DatasetInputDataConfig = Shapes::StructureShape.new(name: 'DatasetInputDataConfig')
85
+ DatasetProperties = Shapes::StructureShape.new(name: 'DatasetProperties')
86
+ DatasetPropertiesList = Shapes::ListShape.new(name: 'DatasetPropertiesList')
87
+ DatasetStatus = Shapes::StringShape.new(name: 'DatasetStatus')
88
+ DatasetType = Shapes::StringShape.new(name: 'DatasetType')
68
89
  DeleteDocumentClassifierRequest = Shapes::StructureShape.new(name: 'DeleteDocumentClassifierRequest')
69
90
  DeleteDocumentClassifierResponse = Shapes::StructureShape.new(name: 'DeleteDocumentClassifierResponse')
70
91
  DeleteEndpointRequest = Shapes::StructureShape.new(name: 'DeleteEndpointRequest')
71
92
  DeleteEndpointResponse = Shapes::StructureShape.new(name: 'DeleteEndpointResponse')
72
93
  DeleteEntityRecognizerRequest = Shapes::StructureShape.new(name: 'DeleteEntityRecognizerRequest')
73
94
  DeleteEntityRecognizerResponse = Shapes::StructureShape.new(name: 'DeleteEntityRecognizerResponse')
95
+ DeleteFlywheelRequest = Shapes::StructureShape.new(name: 'DeleteFlywheelRequest')
96
+ DeleteFlywheelResponse = Shapes::StructureShape.new(name: 'DeleteFlywheelResponse')
74
97
  DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
75
98
  DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
99
+ DescribeDatasetRequest = Shapes::StructureShape.new(name: 'DescribeDatasetRequest')
100
+ DescribeDatasetResponse = Shapes::StructureShape.new(name: 'DescribeDatasetResponse')
76
101
  DescribeDocumentClassificationJobRequest = Shapes::StructureShape.new(name: 'DescribeDocumentClassificationJobRequest')
77
102
  DescribeDocumentClassificationJobResponse = Shapes::StructureShape.new(name: 'DescribeDocumentClassificationJobResponse')
78
103
  DescribeDocumentClassifierRequest = Shapes::StructureShape.new(name: 'DescribeDocumentClassifierRequest')
@@ -87,6 +112,10 @@ module Aws::Comprehend
87
112
  DescribeEntityRecognizerResponse = Shapes::StructureShape.new(name: 'DescribeEntityRecognizerResponse')
88
113
  DescribeEventsDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeEventsDetectionJobRequest')
89
114
  DescribeEventsDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeEventsDetectionJobResponse')
115
+ DescribeFlywheelIterationRequest = Shapes::StructureShape.new(name: 'DescribeFlywheelIterationRequest')
116
+ DescribeFlywheelIterationResponse = Shapes::StructureShape.new(name: 'DescribeFlywheelIterationResponse')
117
+ DescribeFlywheelRequest = Shapes::StructureShape.new(name: 'DescribeFlywheelRequest')
118
+ DescribeFlywheelResponse = Shapes::StructureShape.new(name: 'DescribeFlywheelResponse')
90
119
  DescribeKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeKeyPhrasesDetectionJobRequest')
91
120
  DescribeKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeKeyPhrasesDetectionJobResponse')
92
121
  DescribePiiEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribePiiEntitiesDetectionJobRequest')
@@ -99,6 +128,7 @@ module Aws::Comprehend
99
128
  DescribeTargetedSentimentDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeTargetedSentimentDetectionJobResponse')
100
129
  DescribeTopicsDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobRequest')
101
130
  DescribeTopicsDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribeTopicsDetectionJobResponse')
131
+ Description = Shapes::StringShape.new(name: 'Description')
102
132
  DetectDominantLanguageRequest = Shapes::StructureShape.new(name: 'DetectDominantLanguageRequest')
103
133
  DetectDominantLanguageResponse = Shapes::StructureShape.new(name: 'DetectDominantLanguageResponse')
104
134
  DetectEntitiesRequest = Shapes::StructureShape.new(name: 'DetectEntitiesRequest')
@@ -114,6 +144,7 @@ module Aws::Comprehend
114
144
  DetectTargetedSentimentRequest = Shapes::StructureShape.new(name: 'DetectTargetedSentimentRequest')
115
145
  DetectTargetedSentimentResponse = Shapes::StructureShape.new(name: 'DetectTargetedSentimentResponse')
116
146
  DocumentClass = Shapes::StructureShape.new(name: 'DocumentClass')
147
+ DocumentClassificationConfig = Shapes::StructureShape.new(name: 'DocumentClassificationConfig')
117
148
  DocumentClassificationJobFilter = Shapes::StructureShape.new(name: 'DocumentClassificationJobFilter')
118
149
  DocumentClassificationJobProperties = Shapes::StructureShape.new(name: 'DocumentClassificationJobProperties')
119
150
  DocumentClassificationJobPropertiesList = Shapes::ListShape.new(name: 'DocumentClassificationJobPropertiesList')
@@ -151,6 +182,7 @@ module Aws::Comprehend
151
182
  EntitiesDetectionJobPropertiesList = Shapes::ListShape.new(name: 'EntitiesDetectionJobPropertiesList')
152
183
  Entity = Shapes::StructureShape.new(name: 'Entity')
153
184
  EntityLabel = Shapes::StructureShape.new(name: 'EntityLabel')
185
+ EntityRecognitionConfig = Shapes::StructureShape.new(name: 'EntityRecognitionConfig')
154
186
  EntityRecognizerAnnotations = Shapes::StructureShape.new(name: 'EntityRecognizerAnnotations')
155
187
  EntityRecognizerArn = Shapes::StringShape.new(name: 'EntityRecognizerArn')
156
188
  EntityRecognizerAugmentedManifestsList = Shapes::ListShape.new(name: 'EntityRecognizerAugmentedManifestsList')
@@ -164,6 +196,7 @@ module Aws::Comprehend
164
196
  EntityRecognizerMetadata = Shapes::StructureShape.new(name: 'EntityRecognizerMetadata')
165
197
  EntityRecognizerMetadataEntityTypesList = Shapes::ListShape.new(name: 'EntityRecognizerMetadataEntityTypesList')
166
198
  EntityRecognizerMetadataEntityTypesListItem = Shapes::StructureShape.new(name: 'EntityRecognizerMetadataEntityTypesListItem')
199
+ EntityRecognizerOutputDataConfig = Shapes::StructureShape.new(name: 'EntityRecognizerOutputDataConfig')
167
200
  EntityRecognizerProperties = Shapes::StructureShape.new(name: 'EntityRecognizerProperties')
168
201
  EntityRecognizerPropertiesList = Shapes::ListShape.new(name: 'EntityRecognizerPropertiesList')
169
202
  EntityRecognizerSummariesList = Shapes::ListShape.new(name: 'EntityRecognizerSummariesList')
@@ -180,6 +213,18 @@ module Aws::Comprehend
180
213
  EventsDetectionJobPropertiesList = Shapes::ListShape.new(name: 'EventsDetectionJobPropertiesList')
181
214
  ExtractedCharactersListItem = Shapes::StructureShape.new(name: 'ExtractedCharactersListItem')
182
215
  Float = Shapes::FloatShape.new(name: 'Float')
216
+ FlywheelFilter = Shapes::StructureShape.new(name: 'FlywheelFilter')
217
+ FlywheelIterationFilter = Shapes::StructureShape.new(name: 'FlywheelIterationFilter')
218
+ FlywheelIterationId = Shapes::StringShape.new(name: 'FlywheelIterationId')
219
+ FlywheelIterationProperties = Shapes::StructureShape.new(name: 'FlywheelIterationProperties')
220
+ FlywheelIterationPropertiesList = Shapes::ListShape.new(name: 'FlywheelIterationPropertiesList')
221
+ FlywheelIterationStatus = Shapes::StringShape.new(name: 'FlywheelIterationStatus')
222
+ FlywheelModelEvaluationMetrics = Shapes::StructureShape.new(name: 'FlywheelModelEvaluationMetrics')
223
+ FlywheelProperties = Shapes::StructureShape.new(name: 'FlywheelProperties')
224
+ FlywheelS3Uri = Shapes::StringShape.new(name: 'FlywheelS3Uri')
225
+ FlywheelStatus = Shapes::StringShape.new(name: 'FlywheelStatus')
226
+ FlywheelSummary = Shapes::StructureShape.new(name: 'FlywheelSummary')
227
+ FlywheelSummaryList = Shapes::ListShape.new(name: 'FlywheelSummaryList')
183
228
  Geometry = Shapes::StructureShape.new(name: 'Geometry')
184
229
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
185
230
  ImportModelRequest = Shapes::StructureShape.new(name: 'ImportModelRequest')
@@ -205,7 +250,11 @@ module Aws::Comprehend
205
250
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
206
251
  KmsKeyValidationException = Shapes::StructureShape.new(name: 'KmsKeyValidationException')
207
252
  LabelDelimiter = Shapes::StringShape.new(name: 'LabelDelimiter')
253
+ LabelListItem = Shapes::StringShape.new(name: 'LabelListItem')
254
+ LabelsList = Shapes::ListShape.new(name: 'LabelsList')
208
255
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
256
+ ListDatasetsRequest = Shapes::StructureShape.new(name: 'ListDatasetsRequest')
257
+ ListDatasetsResponse = Shapes::StructureShape.new(name: 'ListDatasetsResponse')
209
258
  ListDocumentClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListDocumentClassificationJobsRequest')
210
259
  ListDocumentClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListDocumentClassificationJobsResponse')
211
260
  ListDocumentClassifierSummariesRequest = Shapes::StructureShape.new(name: 'ListDocumentClassifierSummariesRequest')
@@ -224,6 +273,10 @@ module Aws::Comprehend
224
273
  ListEntityRecognizersResponse = Shapes::StructureShape.new(name: 'ListEntityRecognizersResponse')
225
274
  ListEventsDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListEventsDetectionJobsRequest')
226
275
  ListEventsDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListEventsDetectionJobsResponse')
276
+ ListFlywheelIterationHistoryRequest = Shapes::StructureShape.new(name: 'ListFlywheelIterationHistoryRequest')
277
+ ListFlywheelIterationHistoryResponse = Shapes::StructureShape.new(name: 'ListFlywheelIterationHistoryResponse')
278
+ ListFlywheelsRequest = Shapes::StructureShape.new(name: 'ListFlywheelsRequest')
279
+ ListFlywheelsResponse = Shapes::StructureShape.new(name: 'ListFlywheelsResponse')
227
280
  ListKeyPhrasesDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListKeyPhrasesDetectionJobsRequest')
228
281
  ListKeyPhrasesDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListKeyPhrasesDetectionJobsResponse')
229
282
  ListOfBlockReferences = Shapes::ListShape.new(name: 'ListOfBlockReferences')
@@ -266,6 +319,8 @@ module Aws::Comprehend
266
319
  MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
267
320
  MentionSentiment = Shapes::StructureShape.new(name: 'MentionSentiment')
268
321
  ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
322
+ ModelType = Shapes::StringShape.new(name: 'ModelType')
323
+ NumberOfDocuments = Shapes::IntegerShape.new(name: 'NumberOfDocuments')
269
324
  NumberOfTopicsInteger = Shapes::IntegerShape.new(name: 'NumberOfTopicsInteger')
270
325
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
271
326
  PageBasedErrorCode = Shapes::StringShape.new(name: 'PageBasedErrorCode')
@@ -310,6 +365,8 @@ module Aws::Comprehend
310
365
  StartEntitiesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionJobResponse')
311
366
  StartEventsDetectionJobRequest = Shapes::StructureShape.new(name: 'StartEventsDetectionJobRequest')
312
367
  StartEventsDetectionJobResponse = Shapes::StructureShape.new(name: 'StartEventsDetectionJobResponse')
368
+ StartFlywheelIterationRequest = Shapes::StructureShape.new(name: 'StartFlywheelIterationRequest')
369
+ StartFlywheelIterationResponse = Shapes::StructureShape.new(name: 'StartFlywheelIterationResponse')
313
370
  StartKeyPhrasesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartKeyPhrasesDetectionJobRequest')
314
371
  StartKeyPhrasesDetectionJobResponse = Shapes::StructureShape.new(name: 'StartKeyPhrasesDetectionJobResponse')
315
372
  StartPiiEntitiesDetectionJobRequest = Shapes::StructureShape.new(name: 'StartPiiEntitiesDetectionJobRequest')
@@ -358,6 +415,7 @@ module Aws::Comprehend
358
415
  TargetedSentimentEntity = Shapes::StructureShape.new(name: 'TargetedSentimentEntity')
359
416
  TargetedSentimentEntityType = Shapes::StringShape.new(name: 'TargetedSentimentEntityType')
360
417
  TargetedSentimentMention = Shapes::StructureShape.new(name: 'TargetedSentimentMention')
418
+ TaskConfig = Shapes::StructureShape.new(name: 'TaskConfig')
361
419
  TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
362
420
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
363
421
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
@@ -369,8 +427,11 @@ module Aws::Comprehend
369
427
  UnsupportedLanguageException = Shapes::StructureShape.new(name: 'UnsupportedLanguageException')
370
428
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
371
429
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
430
+ UpdateDataSecurityConfig = Shapes::StructureShape.new(name: 'UpdateDataSecurityConfig')
372
431
  UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest')
373
432
  UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse')
433
+ UpdateFlywheelRequest = Shapes::StructureShape.new(name: 'UpdateFlywheelRequest')
434
+ UpdateFlywheelResponse = Shapes::StructureShape.new(name: 'UpdateFlywheelResponse')
374
435
  VersionName = Shapes::StringShape.new(name: 'VersionName')
375
436
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
376
437
 
@@ -530,6 +591,18 @@ module Aws::Comprehend
530
591
  ContainsPiiEntitiesResponse.add_member(:labels, Shapes::ShapeRef.new(shape: ListOfEntityLabels, location_name: "Labels"))
531
592
  ContainsPiiEntitiesResponse.struct_class = Types::ContainsPiiEntitiesResponse
532
593
 
594
+ CreateDatasetRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
595
+ CreateDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: ComprehendArnName, required: true, location_name: "DatasetName"))
596
+ CreateDatasetRequest.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, location_name: "DatasetType"))
597
+ CreateDatasetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
598
+ CreateDatasetRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: DatasetInputDataConfig, required: true, location_name: "InputDataConfig"))
599
+ CreateDatasetRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
600
+ CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
601
+ CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
602
+
603
+ CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: ComprehendDatasetArn, location_name: "DatasetArn"))
604
+ CreateDatasetResponse.struct_class = Types::CreateDatasetResponse
605
+
533
606
  CreateDocumentClassifierRequest.add_member(:document_classifier_name, Shapes::ShapeRef.new(shape: ComprehendArnName, required: true, location_name: "DocumentClassifierName"))
534
607
  CreateDocumentClassifierRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
535
608
  CreateDocumentClassifierRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
@@ -549,14 +622,16 @@ module Aws::Comprehend
549
622
  CreateDocumentClassifierResponse.struct_class = Types::CreateDocumentClassifierResponse
550
623
 
551
624
  CreateEndpointRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: ComprehendEndpointName, required: true, location_name: "EndpointName"))
552
- CreateEndpointRequest.add_member(:model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, required: true, location_name: "ModelArn"))
625
+ CreateEndpointRequest.add_member(:model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ModelArn"))
553
626
  CreateEndpointRequest.add_member(:desired_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, required: true, location_name: "DesiredInferenceUnits"))
554
627
  CreateEndpointRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
555
628
  CreateEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
556
629
  CreateEndpointRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
630
+ CreateEndpointRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
557
631
  CreateEndpointRequest.struct_class = Types::CreateEndpointRequest
558
632
 
559
633
  CreateEndpointResponse.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: ComprehendEndpointArn, location_name: "EndpointArn"))
634
+ CreateEndpointResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ModelArn"))
560
635
  CreateEndpointResponse.struct_class = Types::CreateEndpointResponse
561
636
 
562
637
  CreateEntityRecognizerRequest.add_member(:recognizer_name, Shapes::ShapeRef.new(shape: ComprehendArnName, required: true, location_name: "RecognizerName"))
@@ -575,8 +650,83 @@ module Aws::Comprehend
575
650
  CreateEntityRecognizerResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
576
651
  CreateEntityRecognizerResponse.struct_class = Types::CreateEntityRecognizerResponse
577
652
 
653
+ CreateFlywheelRequest.add_member(:flywheel_name, Shapes::ShapeRef.new(shape: ComprehendArnName, required: true, location_name: "FlywheelName"))
654
+ CreateFlywheelRequest.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
655
+ CreateFlywheelRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
656
+ CreateFlywheelRequest.add_member(:task_config, Shapes::ShapeRef.new(shape: TaskConfig, location_name: "TaskConfig"))
657
+ CreateFlywheelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelType, location_name: "ModelType"))
658
+ CreateFlywheelRequest.add_member(:data_lake_s3_uri, Shapes::ShapeRef.new(shape: FlywheelS3Uri, required: true, location_name: "DataLakeS3Uri"))
659
+ CreateFlywheelRequest.add_member(:data_security_config, Shapes::ShapeRef.new(shape: DataSecurityConfig, location_name: "DataSecurityConfig"))
660
+ CreateFlywheelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
661
+ CreateFlywheelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
662
+ CreateFlywheelRequest.struct_class = Types::CreateFlywheelRequest
663
+
664
+ CreateFlywheelResponse.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
665
+ CreateFlywheelResponse.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
666
+ CreateFlywheelResponse.struct_class = Types::CreateFlywheelResponse
667
+
578
668
  CustomerInputStringList.member = Shapes::ShapeRef.new(shape: CustomerInputString)
579
669
 
670
+ DataSecurityConfig.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
671
+ DataSecurityConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
672
+ DataSecurityConfig.add_member(:data_lake_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "DataLakeKmsKeyId"))
673
+ DataSecurityConfig.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
674
+ DataSecurityConfig.struct_class = Types::DataSecurityConfig
675
+
676
+ DatasetAugmentedManifestsList.member = Shapes::ShapeRef.new(shape: DatasetAugmentedManifestsListItem)
677
+
678
+ DatasetAugmentedManifestsListItem.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNamesList, required: true, location_name: "AttributeNames"))
679
+ DatasetAugmentedManifestsListItem.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
680
+ DatasetAugmentedManifestsListItem.add_member(:annotation_data_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "AnnotationDataS3Uri"))
681
+ DatasetAugmentedManifestsListItem.add_member(:source_documents_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "SourceDocumentsS3Uri"))
682
+ DatasetAugmentedManifestsListItem.add_member(:document_type, Shapes::ShapeRef.new(shape: AugmentedManifestsDocumentTypeFormat, location_name: "DocumentType"))
683
+ DatasetAugmentedManifestsListItem.struct_class = Types::DatasetAugmentedManifestsListItem
684
+
685
+ DatasetDocumentClassifierInputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
686
+ DatasetDocumentClassifierInputDataConfig.add_member(:label_delimiter, Shapes::ShapeRef.new(shape: LabelDelimiter, location_name: "LabelDelimiter"))
687
+ DatasetDocumentClassifierInputDataConfig.struct_class = Types::DatasetDocumentClassifierInputDataConfig
688
+
689
+ DatasetEntityRecognizerAnnotations.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
690
+ DatasetEntityRecognizerAnnotations.struct_class = Types::DatasetEntityRecognizerAnnotations
691
+
692
+ DatasetEntityRecognizerDocuments.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
693
+ DatasetEntityRecognizerDocuments.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, location_name: "InputFormat"))
694
+ DatasetEntityRecognizerDocuments.struct_class = Types::DatasetEntityRecognizerDocuments
695
+
696
+ DatasetEntityRecognizerEntityList.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
697
+ DatasetEntityRecognizerEntityList.struct_class = Types::DatasetEntityRecognizerEntityList
698
+
699
+ DatasetEntityRecognizerInputDataConfig.add_member(:annotations, Shapes::ShapeRef.new(shape: DatasetEntityRecognizerAnnotations, location_name: "Annotations"))
700
+ DatasetEntityRecognizerInputDataConfig.add_member(:documents, Shapes::ShapeRef.new(shape: DatasetEntityRecognizerDocuments, required: true, location_name: "Documents"))
701
+ DatasetEntityRecognizerInputDataConfig.add_member(:entity_list, Shapes::ShapeRef.new(shape: DatasetEntityRecognizerEntityList, location_name: "EntityList"))
702
+ DatasetEntityRecognizerInputDataConfig.struct_class = Types::DatasetEntityRecognizerInputDataConfig
703
+
704
+ DatasetFilter.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "Status"))
705
+ DatasetFilter.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, location_name: "DatasetType"))
706
+ DatasetFilter.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeAfter"))
707
+ DatasetFilter.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeBefore"))
708
+ DatasetFilter.struct_class = Types::DatasetFilter
709
+
710
+ DatasetInputDataConfig.add_member(:augmented_manifests, Shapes::ShapeRef.new(shape: DatasetAugmentedManifestsList, location_name: "AugmentedManifests"))
711
+ DatasetInputDataConfig.add_member(:data_format, Shapes::ShapeRef.new(shape: DatasetDataFormat, location_name: "DataFormat"))
712
+ DatasetInputDataConfig.add_member(:document_classifier_input_data_config, Shapes::ShapeRef.new(shape: DatasetDocumentClassifierInputDataConfig, location_name: "DocumentClassifierInputDataConfig"))
713
+ DatasetInputDataConfig.add_member(:entity_recognizer_input_data_config, Shapes::ShapeRef.new(shape: DatasetEntityRecognizerInputDataConfig, location_name: "EntityRecognizerInputDataConfig"))
714
+ DatasetInputDataConfig.struct_class = Types::DatasetInputDataConfig
715
+
716
+ DatasetProperties.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: ComprehendDatasetArn, location_name: "DatasetArn"))
717
+ DatasetProperties.add_member(:dataset_name, Shapes::ShapeRef.new(shape: ComprehendArnName, location_name: "DatasetName"))
718
+ DatasetProperties.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, location_name: "DatasetType"))
719
+ DatasetProperties.add_member(:dataset_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "DatasetS3Uri"))
720
+ DatasetProperties.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
721
+ DatasetProperties.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "Status"))
722
+ DatasetProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
723
+ DatasetProperties.add_member(:number_of_documents, Shapes::ShapeRef.new(shape: NumberOfDocuments, location_name: "NumberOfDocuments"))
724
+ DatasetProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
725
+ DatasetProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
726
+ DatasetProperties.struct_class = Types::DatasetProperties
727
+
728
+ DatasetPropertiesList.member = Shapes::ShapeRef.new(shape: DatasetProperties)
729
+
580
730
  DeleteDocumentClassifierRequest.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, required: true, location_name: "DocumentClassifierArn"))
581
731
  DeleteDocumentClassifierRequest.struct_class = Types::DeleteDocumentClassifierRequest
582
732
 
@@ -592,12 +742,23 @@ module Aws::Comprehend
592
742
 
593
743
  DeleteEntityRecognizerResponse.struct_class = Types::DeleteEntityRecognizerResponse
594
744
 
745
+ DeleteFlywheelRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
746
+ DeleteFlywheelRequest.struct_class = Types::DeleteFlywheelRequest
747
+
748
+ DeleteFlywheelResponse.struct_class = Types::DeleteFlywheelResponse
749
+
595
750
  DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, required: true, location_name: "ResourceArn"))
596
751
  DeleteResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
597
752
  DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
598
753
 
599
754
  DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
600
755
 
756
+ DescribeDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: ComprehendDatasetArn, required: true, location_name: "DatasetArn"))
757
+ DescribeDatasetRequest.struct_class = Types::DescribeDatasetRequest
758
+
759
+ DescribeDatasetResponse.add_member(:dataset_properties, Shapes::ShapeRef.new(shape: DatasetProperties, location_name: "DatasetProperties"))
760
+ DescribeDatasetResponse.struct_class = Types::DescribeDatasetResponse
761
+
601
762
  DescribeDocumentClassificationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
602
763
  DescribeDocumentClassificationJobRequest.struct_class = Types::DescribeDocumentClassificationJobRequest
603
764
 
@@ -640,6 +801,19 @@ module Aws::Comprehend
640
801
  DescribeEventsDetectionJobResponse.add_member(:events_detection_job_properties, Shapes::ShapeRef.new(shape: EventsDetectionJobProperties, location_name: "EventsDetectionJobProperties"))
641
802
  DescribeEventsDetectionJobResponse.struct_class = Types::DescribeEventsDetectionJobResponse
642
803
 
804
+ DescribeFlywheelIterationRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
805
+ DescribeFlywheelIterationRequest.add_member(:flywheel_iteration_id, Shapes::ShapeRef.new(shape: FlywheelIterationId, required: true, location_name: "FlywheelIterationId"))
806
+ DescribeFlywheelIterationRequest.struct_class = Types::DescribeFlywheelIterationRequest
807
+
808
+ DescribeFlywheelIterationResponse.add_member(:flywheel_iteration_properties, Shapes::ShapeRef.new(shape: FlywheelIterationProperties, location_name: "FlywheelIterationProperties"))
809
+ DescribeFlywheelIterationResponse.struct_class = Types::DescribeFlywheelIterationResponse
810
+
811
+ DescribeFlywheelRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
812
+ DescribeFlywheelRequest.struct_class = Types::DescribeFlywheelRequest
813
+
814
+ DescribeFlywheelResponse.add_member(:flywheel_properties, Shapes::ShapeRef.new(shape: FlywheelProperties, location_name: "FlywheelProperties"))
815
+ DescribeFlywheelResponse.struct_class = Types::DescribeFlywheelResponse
816
+
643
817
  DescribeKeyPhrasesDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
644
818
  DescribeKeyPhrasesDetectionJobRequest.struct_class = Types::DescribeKeyPhrasesDetectionJobRequest
645
819
 
@@ -740,6 +914,10 @@ module Aws::Comprehend
740
914
  DocumentClass.add_member(:page, Shapes::ShapeRef.new(shape: Integer, location_name: "Page"))
741
915
  DocumentClass.struct_class = Types::DocumentClass
742
916
 
917
+ DocumentClassificationConfig.add_member(:mode, Shapes::ShapeRef.new(shape: DocumentClassifierMode, required: true, location_name: "Mode"))
918
+ DocumentClassificationConfig.add_member(:labels, Shapes::ShapeRef.new(shape: LabelsList, location_name: "Labels"))
919
+ DocumentClassificationConfig.struct_class = Types::DocumentClassificationConfig
920
+
743
921
  DocumentClassificationJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
744
922
  DocumentClassificationJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
745
923
  DocumentClassificationJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
@@ -759,6 +937,7 @@ module Aws::Comprehend
759
937
  DocumentClassificationJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
760
938
  DocumentClassificationJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
761
939
  DocumentClassificationJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
940
+ DocumentClassificationJobProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
762
941
  DocumentClassificationJobProperties.struct_class = Types::DocumentClassificationJobProperties
763
942
 
764
943
  DocumentClassificationJobPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassificationJobProperties)
@@ -780,6 +959,7 @@ module Aws::Comprehend
780
959
 
781
960
  DocumentClassifierOutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
782
961
  DocumentClassifierOutputDataConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
962
+ DocumentClassifierOutputDataConfig.add_member(:flywheel_stats_s3_prefix, Shapes::ShapeRef.new(shape: S3Uri, location_name: "FlywheelStatsS3Prefix"))
783
963
  DocumentClassifierOutputDataConfig.struct_class = Types::DocumentClassifierOutputDataConfig
784
964
 
785
965
  DocumentClassifierProperties.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
@@ -800,6 +980,7 @@ module Aws::Comprehend
800
980
  DocumentClassifierProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
801
981
  DocumentClassifierProperties.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
802
982
  DocumentClassifierProperties.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "SourceModelArn"))
983
+ DocumentClassifierProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
803
984
  DocumentClassifierProperties.struct_class = Types::DocumentClassifierProperties
804
985
 
805
986
  DocumentClassifierPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassifierProperties)
@@ -874,6 +1055,7 @@ module Aws::Comprehend
874
1055
  EndpointProperties.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
875
1056
  EndpointProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
876
1057
  EndpointProperties.add_member(:desired_data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DesiredDataAccessRoleArn"))
1058
+ EndpointProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
877
1059
  EndpointProperties.struct_class = Types::EndpointProperties
878
1060
 
879
1061
  EndpointPropertiesList.member = Shapes::ShapeRef.new(shape: EndpointProperties)
@@ -914,6 +1096,9 @@ module Aws::Comprehend
914
1096
  EntityLabel.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
915
1097
  EntityLabel.struct_class = Types::EntityLabel
916
1098
 
1099
+ EntityRecognitionConfig.add_member(:entity_types, Shapes::ShapeRef.new(shape: EntityTypesList, required: true, location_name: "EntityTypes"))
1100
+ EntityRecognitionConfig.struct_class = Types::EntityRecognitionConfig
1101
+
917
1102
  EntityRecognizerAnnotations.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
918
1103
  EntityRecognizerAnnotations.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
919
1104
  EntityRecognizerAnnotations.struct_class = Types::EntityRecognizerAnnotations
@@ -960,6 +1145,9 @@ module Aws::Comprehend
960
1145
  EntityRecognizerMetadataEntityTypesListItem.add_member(:number_of_train_mentions, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfTrainMentions"))
961
1146
  EntityRecognizerMetadataEntityTypesListItem.struct_class = Types::EntityRecognizerMetadataEntityTypesListItem
962
1147
 
1148
+ EntityRecognizerOutputDataConfig.add_member(:flywheel_stats_s3_prefix, Shapes::ShapeRef.new(shape: S3Uri, location_name: "FlywheelStatsS3Prefix"))
1149
+ EntityRecognizerOutputDataConfig.struct_class = Types::EntityRecognizerOutputDataConfig
1150
+
963
1151
  EntityRecognizerProperties.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
964
1152
  EntityRecognizerProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
965
1153
  EntityRecognizerProperties.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
@@ -976,6 +1164,8 @@ module Aws::Comprehend
976
1164
  EntityRecognizerProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
977
1165
  EntityRecognizerProperties.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
978
1166
  EntityRecognizerProperties.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "SourceModelArn"))
1167
+ EntityRecognizerProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1168
+ EntityRecognizerProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: EntityRecognizerOutputDataConfig, location_name: "OutputDataConfig"))
979
1169
  EntityRecognizerProperties.struct_class = Types::EntityRecognizerProperties
980
1170
 
981
1171
  EntityRecognizerPropertiesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerProperties)
@@ -1030,6 +1220,63 @@ module Aws::Comprehend
1030
1220
  ExtractedCharactersListItem.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
1031
1221
  ExtractedCharactersListItem.struct_class = Types::ExtractedCharactersListItem
1032
1222
 
1223
+ FlywheelFilter.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelStatus, location_name: "Status"))
1224
+ FlywheelFilter.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeAfter"))
1225
+ FlywheelFilter.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeBefore"))
1226
+ FlywheelFilter.struct_class = Types::FlywheelFilter
1227
+
1228
+ FlywheelIterationFilter.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeAfter"))
1229
+ FlywheelIterationFilter.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeBefore"))
1230
+ FlywheelIterationFilter.struct_class = Types::FlywheelIterationFilter
1231
+
1232
+ FlywheelIterationProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1233
+ FlywheelIterationProperties.add_member(:flywheel_iteration_id, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "FlywheelIterationId"))
1234
+ FlywheelIterationProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1235
+ FlywheelIterationProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
1236
+ FlywheelIterationProperties.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelIterationStatus, location_name: "Status"))
1237
+ FlywheelIterationProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
1238
+ FlywheelIterationProperties.add_member(:evaluated_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "EvaluatedModelArn"))
1239
+ FlywheelIterationProperties.add_member(:evaluated_model_metrics, Shapes::ShapeRef.new(shape: FlywheelModelEvaluationMetrics, location_name: "EvaluatedModelMetrics"))
1240
+ FlywheelIterationProperties.add_member(:trained_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "TrainedModelArn"))
1241
+ FlywheelIterationProperties.add_member(:trained_model_metrics, Shapes::ShapeRef.new(shape: FlywheelModelEvaluationMetrics, location_name: "TrainedModelMetrics"))
1242
+ FlywheelIterationProperties.add_member(:evaluation_manifest_s3_prefix, Shapes::ShapeRef.new(shape: S3Uri, location_name: "EvaluationManifestS3Prefix"))
1243
+ FlywheelIterationProperties.struct_class = Types::FlywheelIterationProperties
1244
+
1245
+ FlywheelIterationPropertiesList.member = Shapes::ShapeRef.new(shape: FlywheelIterationProperties)
1246
+
1247
+ FlywheelModelEvaluationMetrics.add_member(:average_f1_score, Shapes::ShapeRef.new(shape: Double, location_name: "AverageF1Score"))
1248
+ FlywheelModelEvaluationMetrics.add_member(:average_precision, Shapes::ShapeRef.new(shape: Double, location_name: "AveragePrecision"))
1249
+ FlywheelModelEvaluationMetrics.add_member(:average_recall, Shapes::ShapeRef.new(shape: Double, location_name: "AverageRecall"))
1250
+ FlywheelModelEvaluationMetrics.add_member(:average_accuracy, Shapes::ShapeRef.new(shape: Double, location_name: "AverageAccuracy"))
1251
+ FlywheelModelEvaluationMetrics.struct_class = Types::FlywheelModelEvaluationMetrics
1252
+
1253
+ FlywheelProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1254
+ FlywheelProperties.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
1255
+ FlywheelProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
1256
+ FlywheelProperties.add_member(:task_config, Shapes::ShapeRef.new(shape: TaskConfig, location_name: "TaskConfig"))
1257
+ FlywheelProperties.add_member(:data_lake_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "DataLakeS3Uri"))
1258
+ FlywheelProperties.add_member(:data_security_config, Shapes::ShapeRef.new(shape: DataSecurityConfig, location_name: "DataSecurityConfig"))
1259
+ FlywheelProperties.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelStatus, location_name: "Status"))
1260
+ FlywheelProperties.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelType, location_name: "ModelType"))
1261
+ FlywheelProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
1262
+ FlywheelProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1263
+ FlywheelProperties.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1264
+ FlywheelProperties.add_member(:latest_flywheel_iteration, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "LatestFlywheelIteration"))
1265
+ FlywheelProperties.struct_class = Types::FlywheelProperties
1266
+
1267
+ FlywheelSummary.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1268
+ FlywheelSummary.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
1269
+ FlywheelSummary.add_member(:data_lake_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "DataLakeS3Uri"))
1270
+ FlywheelSummary.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelStatus, location_name: "Status"))
1271
+ FlywheelSummary.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelType, location_name: "ModelType"))
1272
+ FlywheelSummary.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
1273
+ FlywheelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1274
+ FlywheelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1275
+ FlywheelSummary.add_member(:latest_flywheel_iteration, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "LatestFlywheelIteration"))
1276
+ FlywheelSummary.struct_class = Types::FlywheelSummary
1277
+
1278
+ FlywheelSummaryList.member = Shapes::ShapeRef.new(shape: FlywheelSummary)
1279
+
1033
1280
  Geometry.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
1034
1281
  Geometry.add_member(:polygon, Shapes::ShapeRef.new(shape: Polygon, location_name: "Polygon"))
1035
1282
  Geometry.struct_class = Types::Geometry
@@ -1099,6 +1346,18 @@ module Aws::Comprehend
1099
1346
  KmsKeyValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1100
1347
  KmsKeyValidationException.struct_class = Types::KmsKeyValidationException
1101
1348
 
1349
+ LabelsList.member = Shapes::ShapeRef.new(shape: LabelListItem)
1350
+
1351
+ ListDatasetsRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1352
+ ListDatasetsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DatasetFilter, location_name: "Filter"))
1353
+ ListDatasetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1354
+ ListDatasetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
1355
+ ListDatasetsRequest.struct_class = Types::ListDatasetsRequest
1356
+
1357
+ ListDatasetsResponse.add_member(:dataset_properties_list, Shapes::ShapeRef.new(shape: DatasetPropertiesList, location_name: "DatasetPropertiesList"))
1358
+ ListDatasetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1359
+ ListDatasetsResponse.struct_class = Types::ListDatasetsResponse
1360
+
1102
1361
  ListDocumentClassificationJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DocumentClassificationJobFilter, location_name: "Filter"))
1103
1362
  ListDocumentClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1104
1363
  ListDocumentClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
@@ -1178,6 +1437,25 @@ module Aws::Comprehend
1178
1437
  ListEventsDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1179
1438
  ListEventsDetectionJobsResponse.struct_class = Types::ListEventsDetectionJobsResponse
1180
1439
 
1440
+ ListFlywheelIterationHistoryRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
1441
+ ListFlywheelIterationHistoryRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FlywheelIterationFilter, location_name: "Filter"))
1442
+ ListFlywheelIterationHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1443
+ ListFlywheelIterationHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
1444
+ ListFlywheelIterationHistoryRequest.struct_class = Types::ListFlywheelIterationHistoryRequest
1445
+
1446
+ ListFlywheelIterationHistoryResponse.add_member(:flywheel_iteration_properties_list, Shapes::ShapeRef.new(shape: FlywheelIterationPropertiesList, location_name: "FlywheelIterationPropertiesList"))
1447
+ ListFlywheelIterationHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1448
+ ListFlywheelIterationHistoryResponse.struct_class = Types::ListFlywheelIterationHistoryResponse
1449
+
1450
+ ListFlywheelsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FlywheelFilter, location_name: "Filter"))
1451
+ ListFlywheelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1452
+ ListFlywheelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
1453
+ ListFlywheelsRequest.struct_class = Types::ListFlywheelsRequest
1454
+
1455
+ ListFlywheelsResponse.add_member(:flywheel_summary_list, Shapes::ShapeRef.new(shape: FlywheelSummaryList, location_name: "FlywheelSummaryList"))
1456
+ ListFlywheelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1457
+ ListFlywheelsResponse.struct_class = Types::ListFlywheelsResponse
1458
+
1181
1459
  ListKeyPhrasesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobFilter, location_name: "Filter"))
1182
1460
  ListKeyPhrasesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1183
1461
  ListKeyPhrasesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
@@ -1394,7 +1672,7 @@ module Aws::Comprehend
1394
1672
  SentimentScore.struct_class = Types::SentimentScore
1395
1673
 
1396
1674
  StartDocumentClassificationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
1397
- StartDocumentClassificationJobRequest.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, required: true, location_name: "DocumentClassifierArn"))
1675
+ StartDocumentClassificationJobRequest.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
1398
1676
  StartDocumentClassificationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
1399
1677
  StartDocumentClassificationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
1400
1678
  StartDocumentClassificationJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
@@ -1402,11 +1680,13 @@ module Aws::Comprehend
1402
1680
  StartDocumentClassificationJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
1403
1681
  StartDocumentClassificationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1404
1682
  StartDocumentClassificationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1683
+ StartDocumentClassificationJobRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1405
1684
  StartDocumentClassificationJobRequest.struct_class = Types::StartDocumentClassificationJobRequest
1406
1685
 
1407
1686
  StartDocumentClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
1408
1687
  StartDocumentClassificationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
1409
1688
  StartDocumentClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1689
+ StartDocumentClassificationJobResponse.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
1410
1690
  StartDocumentClassificationJobResponse.struct_class = Types::StartDocumentClassificationJobResponse
1411
1691
 
1412
1692
  StartDominantLanguageDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
@@ -1434,11 +1714,13 @@ module Aws::Comprehend
1434
1714
  StartEntitiesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
1435
1715
  StartEntitiesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1436
1716
  StartEntitiesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1717
+ StartEntitiesDetectionJobRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1437
1718
  StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
1438
1719
 
1439
1720
  StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
1440
1721
  StartEntitiesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
1441
1722
  StartEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1723
+ StartEntitiesDetectionJobResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
1442
1724
  StartEntitiesDetectionJobResponse.struct_class = Types::StartEntitiesDetectionJobResponse
1443
1725
 
1444
1726
  StartEventsDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
@@ -1456,6 +1738,14 @@ module Aws::Comprehend
1456
1738
  StartEventsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1457
1739
  StartEventsDetectionJobResponse.struct_class = Types::StartEventsDetectionJobResponse
1458
1740
 
1741
+ StartFlywheelIterationRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
1742
+ StartFlywheelIterationRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken"))
1743
+ StartFlywheelIterationRequest.struct_class = Types::StartFlywheelIterationRequest
1744
+
1745
+ StartFlywheelIterationResponse.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1746
+ StartFlywheelIterationResponse.add_member(:flywheel_iteration_id, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "FlywheelIterationId"))
1747
+ StartFlywheelIterationResponse.struct_class = Types::StartFlywheelIterationResponse
1748
+
1459
1749
  StartKeyPhrasesDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
1460
1750
  StartKeyPhrasesDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
1461
1751
  StartKeyPhrasesDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
@@ -1658,6 +1948,11 @@ module Aws::Comprehend
1658
1948
  TargetedSentimentMention.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
1659
1949
  TargetedSentimentMention.struct_class = Types::TargetedSentimentMention
1660
1950
 
1951
+ TaskConfig.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
1952
+ TaskConfig.add_member(:document_classification_config, Shapes::ShapeRef.new(shape: DocumentClassificationConfig, location_name: "DocumentClassificationConfig"))
1953
+ TaskConfig.add_member(:entity_recognition_config, Shapes::ShapeRef.new(shape: EntityRecognitionConfig, location_name: "EntityRecognitionConfig"))
1954
+ TaskConfig.struct_class = Types::TaskConfig
1955
+
1661
1956
  TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1662
1957
  TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
1663
1958
 
@@ -1702,14 +1997,30 @@ module Aws::Comprehend
1702
1997
 
1703
1998
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1704
1999
 
2000
+ UpdateDataSecurityConfig.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
2001
+ UpdateDataSecurityConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
2002
+ UpdateDataSecurityConfig.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
2003
+ UpdateDataSecurityConfig.struct_class = Types::UpdateDataSecurityConfig
2004
+
1705
2005
  UpdateEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: ComprehendEndpointArn, required: true, location_name: "EndpointArn"))
1706
2006
  UpdateEndpointRequest.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "DesiredModelArn"))
1707
2007
  UpdateEndpointRequest.add_member(:desired_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, location_name: "DesiredInferenceUnits"))
1708
2008
  UpdateEndpointRequest.add_member(:desired_data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DesiredDataAccessRoleArn"))
2009
+ UpdateEndpointRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1709
2010
  UpdateEndpointRequest.struct_class = Types::UpdateEndpointRequest
1710
2011
 
2012
+ UpdateEndpointResponse.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "DesiredModelArn"))
1711
2013
  UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse
1712
2014
 
2015
+ UpdateFlywheelRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
2016
+ UpdateFlywheelRequest.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
2017
+ UpdateFlywheelRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
2018
+ UpdateFlywheelRequest.add_member(:data_security_config, Shapes::ShapeRef.new(shape: UpdateDataSecurityConfig, location_name: "DataSecurityConfig"))
2019
+ UpdateFlywheelRequest.struct_class = Types::UpdateFlywheelRequest
2020
+
2021
+ UpdateFlywheelResponse.add_member(:flywheel_properties, Shapes::ShapeRef.new(shape: FlywheelProperties, location_name: "FlywheelProperties"))
2022
+ UpdateFlywheelResponse.struct_class = Types::UpdateFlywheelResponse
2023
+
1713
2024
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
1714
2025
  VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
1715
2026
  VpcConfig.struct_class = Types::VpcConfig
@@ -1834,6 +2145,21 @@ module Aws::Comprehend
1834
2145
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1835
2146
  end)
1836
2147
 
2148
+ api.add_operation(:create_dataset, Seahorse::Model::Operation.new.tap do |o|
2149
+ o.name = "CreateDataset"
2150
+ o.http_method = "POST"
2151
+ o.http_request_uri = "/"
2152
+ o.input = Shapes::ShapeRef.new(shape: CreateDatasetRequest)
2153
+ o.output = Shapes::ShapeRef.new(shape: CreateDatasetResponse)
2154
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2155
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2156
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2157
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2158
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
2159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2160
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2161
+ end)
2162
+
1837
2163
  api.add_operation(:create_document_classifier, Seahorse::Model::Operation.new.tap do |o|
1838
2164
  o.name = "CreateDocumentClassifier"
1839
2165
  o.http_method = "POST"
@@ -1882,6 +2208,24 @@ module Aws::Comprehend
1882
2208
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1883
2209
  end)
1884
2210
 
2211
+ api.add_operation(:create_flywheel, Seahorse::Model::Operation.new.tap do |o|
2212
+ o.name = "CreateFlywheel"
2213
+ o.http_method = "POST"
2214
+ o.http_request_uri = "/"
2215
+ o.input = Shapes::ShapeRef.new(shape: CreateFlywheelRequest)
2216
+ o.output = Shapes::ShapeRef.new(shape: CreateFlywheelResponse)
2217
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2218
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2219
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2220
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2221
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
2222
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedLanguageException)
2223
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2224
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2226
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2227
+ end)
2228
+
1885
2229
  api.add_operation(:delete_document_classifier, Seahorse::Model::Operation.new.tap do |o|
1886
2230
  o.name = "DeleteDocumentClassifier"
1887
2231
  o.http_method = "POST"
@@ -1923,6 +2267,20 @@ module Aws::Comprehend
1923
2267
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1924
2268
  end)
1925
2269
 
2270
+ api.add_operation(:delete_flywheel, Seahorse::Model::Operation.new.tap do |o|
2271
+ o.name = "DeleteFlywheel"
2272
+ o.http_method = "POST"
2273
+ o.http_request_uri = "/"
2274
+ o.input = Shapes::ShapeRef.new(shape: DeleteFlywheelRequest)
2275
+ o.output = Shapes::ShapeRef.new(shape: DeleteFlywheelResponse)
2276
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2277
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2278
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2279
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2280
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2282
+ end)
2283
+
1926
2284
  api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1927
2285
  o.name = "DeleteResourcePolicy"
1928
2286
  o.http_method = "POST"
@@ -1934,6 +2292,18 @@ module Aws::Comprehend
1934
2292
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1935
2293
  end)
1936
2294
 
2295
+ api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
2296
+ o.name = "DescribeDataset"
2297
+ o.http_method = "POST"
2298
+ o.http_request_uri = "/"
2299
+ o.input = Shapes::ShapeRef.new(shape: DescribeDatasetRequest)
2300
+ o.output = Shapes::ShapeRef.new(shape: DescribeDatasetResponse)
2301
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2302
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2303
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2304
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2305
+ end)
2306
+
1937
2307
  api.add_operation(:describe_document_classification_job, Seahorse::Model::Operation.new.tap do |o|
1938
2308
  o.name = "DescribeDocumentClassificationJob"
1939
2309
  o.http_method = "POST"
@@ -2018,6 +2388,30 @@ module Aws::Comprehend
2018
2388
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2019
2389
  end)
2020
2390
 
2391
+ api.add_operation(:describe_flywheel, Seahorse::Model::Operation.new.tap do |o|
2392
+ o.name = "DescribeFlywheel"
2393
+ o.http_method = "POST"
2394
+ o.http_request_uri = "/"
2395
+ o.input = Shapes::ShapeRef.new(shape: DescribeFlywheelRequest)
2396
+ o.output = Shapes::ShapeRef.new(shape: DescribeFlywheelResponse)
2397
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2398
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2399
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2400
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2401
+ end)
2402
+
2403
+ api.add_operation(:describe_flywheel_iteration, Seahorse::Model::Operation.new.tap do |o|
2404
+ o.name = "DescribeFlywheelIteration"
2405
+ o.http_method = "POST"
2406
+ o.http_request_uri = "/"
2407
+ o.input = Shapes::ShapeRef.new(shape: DescribeFlywheelIterationRequest)
2408
+ o.output = Shapes::ShapeRef.new(shape: DescribeFlywheelIterationResponse)
2409
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2410
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2411
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2412
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2413
+ end)
2414
+
2021
2415
  api.add_operation(:describe_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
2022
2416
  o.name = "DescribeKeyPhrasesDetectionJob"
2023
2417
  o.http_method = "POST"
@@ -2190,6 +2584,25 @@ module Aws::Comprehend
2190
2584
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2191
2585
  end)
2192
2586
 
2587
+ api.add_operation(:list_datasets, Seahorse::Model::Operation.new.tap do |o|
2588
+ o.name = "ListDatasets"
2589
+ o.http_method = "POST"
2590
+ o.http_request_uri = "/"
2591
+ o.input = Shapes::ShapeRef.new(shape: ListDatasetsRequest)
2592
+ o.output = Shapes::ShapeRef.new(shape: ListDatasetsResponse)
2593
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2594
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
2596
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2597
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2598
+ o[:pager] = Aws::Pager.new(
2599
+ limit_key: "max_results",
2600
+ tokens: {
2601
+ "next_token" => "next_token"
2602
+ }
2603
+ )
2604
+ end)
2605
+
2193
2606
  api.add_operation(:list_document_classification_jobs, Seahorse::Model::Operation.new.tap do |o|
2194
2607
  o.name = "ListDocumentClassificationJobs"
2195
2608
  o.http_method = "POST"
@@ -2349,6 +2762,43 @@ module Aws::Comprehend
2349
2762
  )
2350
2763
  end)
2351
2764
 
2765
+ api.add_operation(:list_flywheel_iteration_history, Seahorse::Model::Operation.new.tap do |o|
2766
+ o.name = "ListFlywheelIterationHistory"
2767
+ o.http_method = "POST"
2768
+ o.http_request_uri = "/"
2769
+ o.input = Shapes::ShapeRef.new(shape: ListFlywheelIterationHistoryRequest)
2770
+ o.output = Shapes::ShapeRef.new(shape: ListFlywheelIterationHistoryResponse)
2771
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2772
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2773
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
2774
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2775
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2776
+ o[:pager] = Aws::Pager.new(
2777
+ limit_key: "max_results",
2778
+ tokens: {
2779
+ "next_token" => "next_token"
2780
+ }
2781
+ )
2782
+ end)
2783
+
2784
+ api.add_operation(:list_flywheels, Seahorse::Model::Operation.new.tap do |o|
2785
+ o.name = "ListFlywheels"
2786
+ o.http_method = "POST"
2787
+ o.http_request_uri = "/"
2788
+ o.input = Shapes::ShapeRef.new(shape: ListFlywheelsRequest)
2789
+ o.output = Shapes::ShapeRef.new(shape: ListFlywheelsResponse)
2790
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2791
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2792
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
2793
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2794
+ o[:pager] = Aws::Pager.new(
2795
+ limit_key: "max_results",
2796
+ tokens: {
2797
+ "next_token" => "next_token"
2798
+ }
2799
+ )
2800
+ end)
2801
+
2352
2802
  api.add_operation(:list_key_phrases_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
2353
2803
  o.name = "ListKeyPhrasesDetectionJobs"
2354
2804
  o.http_method = "POST"
@@ -2517,6 +2967,19 @@ module Aws::Comprehend
2517
2967
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2518
2968
  end)
2519
2969
 
2970
+ api.add_operation(:start_flywheel_iteration, Seahorse::Model::Operation.new.tap do |o|
2971
+ o.name = "StartFlywheelIteration"
2972
+ o.http_method = "POST"
2973
+ o.http_request_uri = "/"
2974
+ o.input = Shapes::ShapeRef.new(shape: StartFlywheelIterationRequest)
2975
+ o.output = Shapes::ShapeRef.new(shape: StartFlywheelIterationResponse)
2976
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2977
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2978
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2979
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2980
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2981
+ end)
2982
+
2520
2983
  api.add_operation(:start_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
2521
2984
  o.name = "StartKeyPhrasesDetectionJob"
2522
2985
  o.http_method = "POST"
@@ -2723,6 +3186,19 @@ module Aws::Comprehend
2723
3186
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2724
3187
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2725
3188
  end)
3189
+
3190
+ api.add_operation(:update_flywheel, Seahorse::Model::Operation.new.tap do |o|
3191
+ o.name = "UpdateFlywheel"
3192
+ o.http_method = "POST"
3193
+ o.http_request_uri = "/"
3194
+ o.input = Shapes::ShapeRef.new(shape: UpdateFlywheelRequest)
3195
+ o.output = Shapes::ShapeRef.new(shape: UpdateFlywheelResponse)
3196
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3197
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3198
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
3199
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3200
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3201
+ end)
2726
3202
  end
2727
3203
 
2728
3204
  end