aws-sdk-comprehend 1.65.0 → 1.67.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)
@@ -898,6 +1080,7 @@ module Aws::Comprehend
898
1080
  EntitiesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
899
1081
  EntitiesDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
900
1082
  EntitiesDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1083
+ EntitiesDetectionJobProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
901
1084
  EntitiesDetectionJobProperties.struct_class = Types::EntitiesDetectionJobProperties
902
1085
 
903
1086
  EntitiesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: EntitiesDetectionJobProperties)
@@ -914,6 +1097,9 @@ module Aws::Comprehend
914
1097
  EntityLabel.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
915
1098
  EntityLabel.struct_class = Types::EntityLabel
916
1099
 
1100
+ EntityRecognitionConfig.add_member(:entity_types, Shapes::ShapeRef.new(shape: EntityTypesList, required: true, location_name: "EntityTypes"))
1101
+ EntityRecognitionConfig.struct_class = Types::EntityRecognitionConfig
1102
+
917
1103
  EntityRecognizerAnnotations.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
918
1104
  EntityRecognizerAnnotations.add_member(:test_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "TestS3Uri"))
919
1105
  EntityRecognizerAnnotations.struct_class = Types::EntityRecognizerAnnotations
@@ -960,6 +1146,9 @@ module Aws::Comprehend
960
1146
  EntityRecognizerMetadataEntityTypesListItem.add_member(:number_of_train_mentions, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfTrainMentions"))
961
1147
  EntityRecognizerMetadataEntityTypesListItem.struct_class = Types::EntityRecognizerMetadataEntityTypesListItem
962
1148
 
1149
+ EntityRecognizerOutputDataConfig.add_member(:flywheel_stats_s3_prefix, Shapes::ShapeRef.new(shape: S3Uri, location_name: "FlywheelStatsS3Prefix"))
1150
+ EntityRecognizerOutputDataConfig.struct_class = Types::EntityRecognizerOutputDataConfig
1151
+
963
1152
  EntityRecognizerProperties.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
964
1153
  EntityRecognizerProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
965
1154
  EntityRecognizerProperties.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
@@ -976,6 +1165,8 @@ module Aws::Comprehend
976
1165
  EntityRecognizerProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
977
1166
  EntityRecognizerProperties.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "VersionName"))
978
1167
  EntityRecognizerProperties.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "SourceModelArn"))
1168
+ EntityRecognizerProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1169
+ EntityRecognizerProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: EntityRecognizerOutputDataConfig, location_name: "OutputDataConfig"))
979
1170
  EntityRecognizerProperties.struct_class = Types::EntityRecognizerProperties
980
1171
 
981
1172
  EntityRecognizerPropertiesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerProperties)
@@ -1030,6 +1221,63 @@ module Aws::Comprehend
1030
1221
  ExtractedCharactersListItem.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
1031
1222
  ExtractedCharactersListItem.struct_class = Types::ExtractedCharactersListItem
1032
1223
 
1224
+ FlywheelFilter.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelStatus, location_name: "Status"))
1225
+ FlywheelFilter.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeAfter"))
1226
+ FlywheelFilter.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeBefore"))
1227
+ FlywheelFilter.struct_class = Types::FlywheelFilter
1228
+
1229
+ FlywheelIterationFilter.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeAfter"))
1230
+ FlywheelIterationFilter.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimeBefore"))
1231
+ FlywheelIterationFilter.struct_class = Types::FlywheelIterationFilter
1232
+
1233
+ FlywheelIterationProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1234
+ FlywheelIterationProperties.add_member(:flywheel_iteration_id, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "FlywheelIterationId"))
1235
+ FlywheelIterationProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1236
+ FlywheelIterationProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
1237
+ FlywheelIterationProperties.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelIterationStatus, location_name: "Status"))
1238
+ FlywheelIterationProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
1239
+ FlywheelIterationProperties.add_member(:evaluated_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "EvaluatedModelArn"))
1240
+ FlywheelIterationProperties.add_member(:evaluated_model_metrics, Shapes::ShapeRef.new(shape: FlywheelModelEvaluationMetrics, location_name: "EvaluatedModelMetrics"))
1241
+ FlywheelIterationProperties.add_member(:trained_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "TrainedModelArn"))
1242
+ FlywheelIterationProperties.add_member(:trained_model_metrics, Shapes::ShapeRef.new(shape: FlywheelModelEvaluationMetrics, location_name: "TrainedModelMetrics"))
1243
+ FlywheelIterationProperties.add_member(:evaluation_manifest_s3_prefix, Shapes::ShapeRef.new(shape: S3Uri, location_name: "EvaluationManifestS3Prefix"))
1244
+ FlywheelIterationProperties.struct_class = Types::FlywheelIterationProperties
1245
+
1246
+ FlywheelIterationPropertiesList.member = Shapes::ShapeRef.new(shape: FlywheelIterationProperties)
1247
+
1248
+ FlywheelModelEvaluationMetrics.add_member(:average_f1_score, Shapes::ShapeRef.new(shape: Double, location_name: "AverageF1Score"))
1249
+ FlywheelModelEvaluationMetrics.add_member(:average_precision, Shapes::ShapeRef.new(shape: Double, location_name: "AveragePrecision"))
1250
+ FlywheelModelEvaluationMetrics.add_member(:average_recall, Shapes::ShapeRef.new(shape: Double, location_name: "AverageRecall"))
1251
+ FlywheelModelEvaluationMetrics.add_member(:average_accuracy, Shapes::ShapeRef.new(shape: Double, location_name: "AverageAccuracy"))
1252
+ FlywheelModelEvaluationMetrics.struct_class = Types::FlywheelModelEvaluationMetrics
1253
+
1254
+ FlywheelProperties.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1255
+ FlywheelProperties.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
1256
+ FlywheelProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
1257
+ FlywheelProperties.add_member(:task_config, Shapes::ShapeRef.new(shape: TaskConfig, location_name: "TaskConfig"))
1258
+ FlywheelProperties.add_member(:data_lake_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "DataLakeS3Uri"))
1259
+ FlywheelProperties.add_member(:data_security_config, Shapes::ShapeRef.new(shape: DataSecurityConfig, location_name: "DataSecurityConfig"))
1260
+ FlywheelProperties.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelStatus, location_name: "Status"))
1261
+ FlywheelProperties.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelType, location_name: "ModelType"))
1262
+ FlywheelProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
1263
+ FlywheelProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1264
+ FlywheelProperties.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1265
+ FlywheelProperties.add_member(:latest_flywheel_iteration, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "LatestFlywheelIteration"))
1266
+ FlywheelProperties.struct_class = Types::FlywheelProperties
1267
+
1268
+ FlywheelSummary.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1269
+ FlywheelSummary.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
1270
+ FlywheelSummary.add_member(:data_lake_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "DataLakeS3Uri"))
1271
+ FlywheelSummary.add_member(:status, Shapes::ShapeRef.new(shape: FlywheelStatus, location_name: "Status"))
1272
+ FlywheelSummary.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelType, location_name: "ModelType"))
1273
+ FlywheelSummary.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
1274
+ FlywheelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1275
+ FlywheelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1276
+ FlywheelSummary.add_member(:latest_flywheel_iteration, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "LatestFlywheelIteration"))
1277
+ FlywheelSummary.struct_class = Types::FlywheelSummary
1278
+
1279
+ FlywheelSummaryList.member = Shapes::ShapeRef.new(shape: FlywheelSummary)
1280
+
1033
1281
  Geometry.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
1034
1282
  Geometry.add_member(:polygon, Shapes::ShapeRef.new(shape: Polygon, location_name: "Polygon"))
1035
1283
  Geometry.struct_class = Types::Geometry
@@ -1099,6 +1347,18 @@ module Aws::Comprehend
1099
1347
  KmsKeyValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1100
1348
  KmsKeyValidationException.struct_class = Types::KmsKeyValidationException
1101
1349
 
1350
+ LabelsList.member = Shapes::ShapeRef.new(shape: LabelListItem)
1351
+
1352
+ ListDatasetsRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1353
+ ListDatasetsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DatasetFilter, location_name: "Filter"))
1354
+ ListDatasetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1355
+ ListDatasetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
1356
+ ListDatasetsRequest.struct_class = Types::ListDatasetsRequest
1357
+
1358
+ ListDatasetsResponse.add_member(:dataset_properties_list, Shapes::ShapeRef.new(shape: DatasetPropertiesList, location_name: "DatasetPropertiesList"))
1359
+ ListDatasetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1360
+ ListDatasetsResponse.struct_class = Types::ListDatasetsResponse
1361
+
1102
1362
  ListDocumentClassificationJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DocumentClassificationJobFilter, location_name: "Filter"))
1103
1363
  ListDocumentClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1104
1364
  ListDocumentClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
@@ -1178,6 +1438,25 @@ module Aws::Comprehend
1178
1438
  ListEventsDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1179
1439
  ListEventsDetectionJobsResponse.struct_class = Types::ListEventsDetectionJobsResponse
1180
1440
 
1441
+ ListFlywheelIterationHistoryRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
1442
+ ListFlywheelIterationHistoryRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FlywheelIterationFilter, location_name: "Filter"))
1443
+ ListFlywheelIterationHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1444
+ ListFlywheelIterationHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
1445
+ ListFlywheelIterationHistoryRequest.struct_class = Types::ListFlywheelIterationHistoryRequest
1446
+
1447
+ ListFlywheelIterationHistoryResponse.add_member(:flywheel_iteration_properties_list, Shapes::ShapeRef.new(shape: FlywheelIterationPropertiesList, location_name: "FlywheelIterationPropertiesList"))
1448
+ ListFlywheelIterationHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1449
+ ListFlywheelIterationHistoryResponse.struct_class = Types::ListFlywheelIterationHistoryResponse
1450
+
1451
+ ListFlywheelsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FlywheelFilter, location_name: "Filter"))
1452
+ ListFlywheelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1453
+ ListFlywheelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
1454
+ ListFlywheelsRequest.struct_class = Types::ListFlywheelsRequest
1455
+
1456
+ ListFlywheelsResponse.add_member(:flywheel_summary_list, Shapes::ShapeRef.new(shape: FlywheelSummaryList, location_name: "FlywheelSummaryList"))
1457
+ ListFlywheelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1458
+ ListFlywheelsResponse.struct_class = Types::ListFlywheelsResponse
1459
+
1181
1460
  ListKeyPhrasesDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobFilter, location_name: "Filter"))
1182
1461
  ListKeyPhrasesDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1183
1462
  ListKeyPhrasesDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
@@ -1394,7 +1673,7 @@ module Aws::Comprehend
1394
1673
  SentimentScore.struct_class = Types::SentimentScore
1395
1674
 
1396
1675
  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"))
1676
+ StartDocumentClassificationJobRequest.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
1398
1677
  StartDocumentClassificationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
1399
1678
  StartDocumentClassificationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
1400
1679
  StartDocumentClassificationJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
@@ -1402,11 +1681,13 @@ module Aws::Comprehend
1402
1681
  StartDocumentClassificationJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
1403
1682
  StartDocumentClassificationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1404
1683
  StartDocumentClassificationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1684
+ StartDocumentClassificationJobRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1405
1685
  StartDocumentClassificationJobRequest.struct_class = Types::StartDocumentClassificationJobRequest
1406
1686
 
1407
1687
  StartDocumentClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
1408
1688
  StartDocumentClassificationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
1409
1689
  StartDocumentClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1690
+ StartDocumentClassificationJobResponse.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
1410
1691
  StartDocumentClassificationJobResponse.struct_class = Types::StartDocumentClassificationJobResponse
1411
1692
 
1412
1693
  StartDominantLanguageDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
@@ -1434,11 +1715,13 @@ module Aws::Comprehend
1434
1715
  StartEntitiesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
1435
1716
  StartEntitiesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1436
1717
  StartEntitiesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1718
+ StartEntitiesDetectionJobRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1437
1719
  StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
1438
1720
 
1439
1721
  StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
1440
1722
  StartEntitiesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
1441
1723
  StartEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1724
+ StartEntitiesDetectionJobResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
1442
1725
  StartEntitiesDetectionJobResponse.struct_class = Types::StartEntitiesDetectionJobResponse
1443
1726
 
1444
1727
  StartEventsDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
@@ -1456,6 +1739,14 @@ module Aws::Comprehend
1456
1739
  StartEventsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1457
1740
  StartEventsDetectionJobResponse.struct_class = Types::StartEventsDetectionJobResponse
1458
1741
 
1742
+ StartFlywheelIterationRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
1743
+ StartFlywheelIterationRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken"))
1744
+ StartFlywheelIterationRequest.struct_class = Types::StartFlywheelIterationRequest
1745
+
1746
+ StartFlywheelIterationResponse.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1747
+ StartFlywheelIterationResponse.add_member(:flywheel_iteration_id, Shapes::ShapeRef.new(shape: FlywheelIterationId, location_name: "FlywheelIterationId"))
1748
+ StartFlywheelIterationResponse.struct_class = Types::StartFlywheelIterationResponse
1749
+
1459
1750
  StartKeyPhrasesDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
1460
1751
  StartKeyPhrasesDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
1461
1752
  StartKeyPhrasesDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
@@ -1658,6 +1949,11 @@ module Aws::Comprehend
1658
1949
  TargetedSentimentMention.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
1659
1950
  TargetedSentimentMention.struct_class = Types::TargetedSentimentMention
1660
1951
 
1952
+ TaskConfig.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
1953
+ TaskConfig.add_member(:document_classification_config, Shapes::ShapeRef.new(shape: DocumentClassificationConfig, location_name: "DocumentClassificationConfig"))
1954
+ TaskConfig.add_member(:entity_recognition_config, Shapes::ShapeRef.new(shape: EntityRecognitionConfig, location_name: "EntityRecognitionConfig"))
1955
+ TaskConfig.struct_class = Types::TaskConfig
1956
+
1661
1957
  TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1662
1958
  TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
1663
1959
 
@@ -1702,14 +1998,30 @@ module Aws::Comprehend
1702
1998
 
1703
1999
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1704
2000
 
2001
+ UpdateDataSecurityConfig.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
2002
+ UpdateDataSecurityConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
2003
+ UpdateDataSecurityConfig.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
2004
+ UpdateDataSecurityConfig.struct_class = Types::UpdateDataSecurityConfig
2005
+
1705
2006
  UpdateEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: ComprehendEndpointArn, required: true, location_name: "EndpointArn"))
1706
2007
  UpdateEndpointRequest.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "DesiredModelArn"))
1707
2008
  UpdateEndpointRequest.add_member(:desired_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, location_name: "DesiredInferenceUnits"))
1708
2009
  UpdateEndpointRequest.add_member(:desired_data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DesiredDataAccessRoleArn"))
2010
+ UpdateEndpointRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, location_name: "FlywheelArn"))
1709
2011
  UpdateEndpointRequest.struct_class = Types::UpdateEndpointRequest
1710
2012
 
2013
+ UpdateEndpointResponse.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "DesiredModelArn"))
1711
2014
  UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse
1712
2015
 
2016
+ UpdateFlywheelRequest.add_member(:flywheel_arn, Shapes::ShapeRef.new(shape: ComprehendFlywheelArn, required: true, location_name: "FlywheelArn"))
2017
+ UpdateFlywheelRequest.add_member(:active_model_arn, Shapes::ShapeRef.new(shape: ComprehendModelArn, location_name: "ActiveModelArn"))
2018
+ UpdateFlywheelRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
2019
+ UpdateFlywheelRequest.add_member(:data_security_config, Shapes::ShapeRef.new(shape: UpdateDataSecurityConfig, location_name: "DataSecurityConfig"))
2020
+ UpdateFlywheelRequest.struct_class = Types::UpdateFlywheelRequest
2021
+
2022
+ UpdateFlywheelResponse.add_member(:flywheel_properties, Shapes::ShapeRef.new(shape: FlywheelProperties, location_name: "FlywheelProperties"))
2023
+ UpdateFlywheelResponse.struct_class = Types::UpdateFlywheelResponse
2024
+
1713
2025
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
1714
2026
  VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
1715
2027
  VpcConfig.struct_class = Types::VpcConfig
@@ -1834,6 +2146,21 @@ module Aws::Comprehend
1834
2146
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1835
2147
  end)
1836
2148
 
2149
+ api.add_operation(:create_dataset, Seahorse::Model::Operation.new.tap do |o|
2150
+ o.name = "CreateDataset"
2151
+ o.http_method = "POST"
2152
+ o.http_request_uri = "/"
2153
+ o.input = Shapes::ShapeRef.new(shape: CreateDatasetRequest)
2154
+ o.output = Shapes::ShapeRef.new(shape: CreateDatasetResponse)
2155
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2156
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2157
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2158
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
2160
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2161
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2162
+ end)
2163
+
1837
2164
  api.add_operation(:create_document_classifier, Seahorse::Model::Operation.new.tap do |o|
1838
2165
  o.name = "CreateDocumentClassifier"
1839
2166
  o.http_method = "POST"
@@ -1882,6 +2209,24 @@ module Aws::Comprehend
1882
2209
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1883
2210
  end)
1884
2211
 
2212
+ api.add_operation(:create_flywheel, Seahorse::Model::Operation.new.tap do |o|
2213
+ o.name = "CreateFlywheel"
2214
+ o.http_method = "POST"
2215
+ o.http_request_uri = "/"
2216
+ o.input = Shapes::ShapeRef.new(shape: CreateFlywheelRequest)
2217
+ o.output = Shapes::ShapeRef.new(shape: CreateFlywheelResponse)
2218
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2219
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2220
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2221
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2222
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
2223
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedLanguageException)
2224
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2226
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2227
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2228
+ end)
2229
+
1885
2230
  api.add_operation(:delete_document_classifier, Seahorse::Model::Operation.new.tap do |o|
1886
2231
  o.name = "DeleteDocumentClassifier"
1887
2232
  o.http_method = "POST"
@@ -1923,6 +2268,20 @@ module Aws::Comprehend
1923
2268
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1924
2269
  end)
1925
2270
 
2271
+ api.add_operation(:delete_flywheel, Seahorse::Model::Operation.new.tap do |o|
2272
+ o.name = "DeleteFlywheel"
2273
+ o.http_method = "POST"
2274
+ o.http_request_uri = "/"
2275
+ o.input = Shapes::ShapeRef.new(shape: DeleteFlywheelRequest)
2276
+ o.output = Shapes::ShapeRef.new(shape: DeleteFlywheelResponse)
2277
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2278
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2279
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2280
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2282
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2283
+ end)
2284
+
1926
2285
  api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1927
2286
  o.name = "DeleteResourcePolicy"
1928
2287
  o.http_method = "POST"
@@ -1934,6 +2293,18 @@ module Aws::Comprehend
1934
2293
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1935
2294
  end)
1936
2295
 
2296
+ api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
2297
+ o.name = "DescribeDataset"
2298
+ o.http_method = "POST"
2299
+ o.http_request_uri = "/"
2300
+ o.input = Shapes::ShapeRef.new(shape: DescribeDatasetRequest)
2301
+ o.output = Shapes::ShapeRef.new(shape: DescribeDatasetResponse)
2302
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2303
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2304
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2305
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2306
+ end)
2307
+
1937
2308
  api.add_operation(:describe_document_classification_job, Seahorse::Model::Operation.new.tap do |o|
1938
2309
  o.name = "DescribeDocumentClassificationJob"
1939
2310
  o.http_method = "POST"
@@ -2018,6 +2389,30 @@ module Aws::Comprehend
2018
2389
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2019
2390
  end)
2020
2391
 
2392
+ api.add_operation(:describe_flywheel, Seahorse::Model::Operation.new.tap do |o|
2393
+ o.name = "DescribeFlywheel"
2394
+ o.http_method = "POST"
2395
+ o.http_request_uri = "/"
2396
+ o.input = Shapes::ShapeRef.new(shape: DescribeFlywheelRequest)
2397
+ o.output = Shapes::ShapeRef.new(shape: DescribeFlywheelResponse)
2398
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2399
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2400
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2401
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2402
+ end)
2403
+
2404
+ api.add_operation(:describe_flywheel_iteration, Seahorse::Model::Operation.new.tap do |o|
2405
+ o.name = "DescribeFlywheelIteration"
2406
+ o.http_method = "POST"
2407
+ o.http_request_uri = "/"
2408
+ o.input = Shapes::ShapeRef.new(shape: DescribeFlywheelIterationRequest)
2409
+ o.output = Shapes::ShapeRef.new(shape: DescribeFlywheelIterationResponse)
2410
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2411
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2412
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2413
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2414
+ end)
2415
+
2021
2416
  api.add_operation(:describe_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
2022
2417
  o.name = "DescribeKeyPhrasesDetectionJob"
2023
2418
  o.http_method = "POST"
@@ -2190,6 +2585,25 @@ module Aws::Comprehend
2190
2585
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2191
2586
  end)
2192
2587
 
2588
+ api.add_operation(:list_datasets, Seahorse::Model::Operation.new.tap do |o|
2589
+ o.name = "ListDatasets"
2590
+ o.http_method = "POST"
2591
+ o.http_request_uri = "/"
2592
+ o.input = Shapes::ShapeRef.new(shape: ListDatasetsRequest)
2593
+ o.output = Shapes::ShapeRef.new(shape: ListDatasetsResponse)
2594
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2595
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2596
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
2597
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2599
+ o[:pager] = Aws::Pager.new(
2600
+ limit_key: "max_results",
2601
+ tokens: {
2602
+ "next_token" => "next_token"
2603
+ }
2604
+ )
2605
+ end)
2606
+
2193
2607
  api.add_operation(:list_document_classification_jobs, Seahorse::Model::Operation.new.tap do |o|
2194
2608
  o.name = "ListDocumentClassificationJobs"
2195
2609
  o.http_method = "POST"
@@ -2349,6 +2763,43 @@ module Aws::Comprehend
2349
2763
  )
2350
2764
  end)
2351
2765
 
2766
+ api.add_operation(:list_flywheel_iteration_history, Seahorse::Model::Operation.new.tap do |o|
2767
+ o.name = "ListFlywheelIterationHistory"
2768
+ o.http_method = "POST"
2769
+ o.http_request_uri = "/"
2770
+ o.input = Shapes::ShapeRef.new(shape: ListFlywheelIterationHistoryRequest)
2771
+ o.output = Shapes::ShapeRef.new(shape: ListFlywheelIterationHistoryResponse)
2772
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2773
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2774
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
2775
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2776
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2777
+ o[:pager] = Aws::Pager.new(
2778
+ limit_key: "max_results",
2779
+ tokens: {
2780
+ "next_token" => "next_token"
2781
+ }
2782
+ )
2783
+ end)
2784
+
2785
+ api.add_operation(:list_flywheels, Seahorse::Model::Operation.new.tap do |o|
2786
+ o.name = "ListFlywheels"
2787
+ o.http_method = "POST"
2788
+ o.http_request_uri = "/"
2789
+ o.input = Shapes::ShapeRef.new(shape: ListFlywheelsRequest)
2790
+ o.output = Shapes::ShapeRef.new(shape: ListFlywheelsResponse)
2791
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2792
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2793
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
2794
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2795
+ o[:pager] = Aws::Pager.new(
2796
+ limit_key: "max_results",
2797
+ tokens: {
2798
+ "next_token" => "next_token"
2799
+ }
2800
+ )
2801
+ end)
2802
+
2352
2803
  api.add_operation(:list_key_phrases_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
2353
2804
  o.name = "ListKeyPhrasesDetectionJobs"
2354
2805
  o.http_method = "POST"
@@ -2517,6 +2968,19 @@ module Aws::Comprehend
2517
2968
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2518
2969
  end)
2519
2970
 
2971
+ api.add_operation(:start_flywheel_iteration, Seahorse::Model::Operation.new.tap do |o|
2972
+ o.name = "StartFlywheelIteration"
2973
+ o.http_method = "POST"
2974
+ o.http_request_uri = "/"
2975
+ o.input = Shapes::ShapeRef.new(shape: StartFlywheelIterationRequest)
2976
+ o.output = Shapes::ShapeRef.new(shape: StartFlywheelIterationResponse)
2977
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2978
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2979
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2980
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2981
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2982
+ end)
2983
+
2520
2984
  api.add_operation(:start_key_phrases_detection_job, Seahorse::Model::Operation.new.tap do |o|
2521
2985
  o.name = "StartKeyPhrasesDetectionJob"
2522
2986
  o.http_method = "POST"
@@ -2723,6 +3187,19 @@ module Aws::Comprehend
2723
3187
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2724
3188
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2725
3189
  end)
3190
+
3191
+ api.add_operation(:update_flywheel, Seahorse::Model::Operation.new.tap do |o|
3192
+ o.name = "UpdateFlywheel"
3193
+ o.http_method = "POST"
3194
+ o.http_request_uri = "/"
3195
+ o.input = Shapes::ShapeRef.new(shape: UpdateFlywheelRequest)
3196
+ o.output = Shapes::ShapeRef.new(shape: UpdateFlywheelResponse)
3197
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3198
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3199
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
3200
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3201
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3202
+ end)
2726
3203
  end
2727
3204
 
2728
3205
  end