aws-sdk-comprehendmedical 1.6.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -11,12 +11,23 @@ module Aws::ComprehendMedical
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
AnyLengthString = Shapes::StringShape.new(name: 'AnyLengthString')
|
14
15
|
Attribute = Shapes::StructureShape.new(name: 'Attribute')
|
15
16
|
AttributeList = Shapes::ListShape.new(name: 'AttributeList')
|
16
17
|
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
17
18
|
BoundedLengthString = Shapes::StringShape.new(name: 'BoundedLengthString')
|
19
|
+
ClientRequestTokenString = Shapes::StringShape.new(name: 'ClientRequestTokenString')
|
20
|
+
ComprehendMedicalAsyncJobFilter = Shapes::StructureShape.new(name: 'ComprehendMedicalAsyncJobFilter')
|
21
|
+
ComprehendMedicalAsyncJobProperties = Shapes::StructureShape.new(name: 'ComprehendMedicalAsyncJobProperties')
|
22
|
+
ComprehendMedicalAsyncJobPropertiesList = Shapes::ListShape.new(name: 'ComprehendMedicalAsyncJobPropertiesList')
|
23
|
+
DescribeEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionV2JobRequest')
|
24
|
+
DescribeEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionV2JobResponse')
|
25
|
+
DescribePHIDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribePHIDetectionJobRequest')
|
26
|
+
DescribePHIDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribePHIDetectionJobResponse')
|
18
27
|
DetectEntitiesRequest = Shapes::StructureShape.new(name: 'DetectEntitiesRequest')
|
19
28
|
DetectEntitiesResponse = Shapes::StructureShape.new(name: 'DetectEntitiesResponse')
|
29
|
+
DetectEntitiesV2Request = Shapes::StructureShape.new(name: 'DetectEntitiesV2Request')
|
30
|
+
DetectEntitiesV2Response = Shapes::StructureShape.new(name: 'DetectEntitiesV2Response')
|
20
31
|
DetectPHIRequest = Shapes::StructureShape.new(name: 'DetectPHIRequest')
|
21
32
|
DetectPHIResponse = Shapes::StructureShape.new(name: 'DetectPHIResponse')
|
22
33
|
Entity = Shapes::StructureShape.new(name: 'Entity')
|
@@ -24,18 +35,75 @@ module Aws::ComprehendMedical
|
|
24
35
|
EntitySubType = Shapes::StringShape.new(name: 'EntitySubType')
|
25
36
|
EntityType = Shapes::StringShape.new(name: 'EntityType')
|
26
37
|
Float = Shapes::FloatShape.new(name: 'Float')
|
38
|
+
ICD10CMAttribute = Shapes::StructureShape.new(name: 'ICD10CMAttribute')
|
39
|
+
ICD10CMAttributeList = Shapes::ListShape.new(name: 'ICD10CMAttributeList')
|
40
|
+
ICD10CMAttributeType = Shapes::StringShape.new(name: 'ICD10CMAttributeType')
|
41
|
+
ICD10CMConcept = Shapes::StructureShape.new(name: 'ICD10CMConcept')
|
42
|
+
ICD10CMConceptList = Shapes::ListShape.new(name: 'ICD10CMConceptList')
|
43
|
+
ICD10CMEntity = Shapes::StructureShape.new(name: 'ICD10CMEntity')
|
44
|
+
ICD10CMEntityCategory = Shapes::StringShape.new(name: 'ICD10CMEntityCategory')
|
45
|
+
ICD10CMEntityList = Shapes::ListShape.new(name: 'ICD10CMEntityList')
|
46
|
+
ICD10CMEntityType = Shapes::StringShape.new(name: 'ICD10CMEntityType')
|
47
|
+
ICD10CMTrait = Shapes::StructureShape.new(name: 'ICD10CMTrait')
|
48
|
+
ICD10CMTraitList = Shapes::ListShape.new(name: 'ICD10CMTraitList')
|
49
|
+
ICD10CMTraitName = Shapes::StringShape.new(name: 'ICD10CMTraitName')
|
50
|
+
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
51
|
+
InferICD10CMRequest = Shapes::StructureShape.new(name: 'InferICD10CMRequest')
|
52
|
+
InferICD10CMResponse = Shapes::StructureShape.new(name: 'InferICD10CMResponse')
|
53
|
+
InferRxNormRequest = Shapes::StructureShape.new(name: 'InferRxNormRequest')
|
54
|
+
InferRxNormResponse = Shapes::StructureShape.new(name: 'InferRxNormResponse')
|
55
|
+
InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
|
27
56
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
28
57
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
29
58
|
InvalidEncodingException = Shapes::StructureShape.new(name: 'InvalidEncodingException')
|
30
59
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
60
|
+
JobId = Shapes::StringShape.new(name: 'JobId')
|
61
|
+
JobName = Shapes::StringShape.new(name: 'JobName')
|
62
|
+
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
63
|
+
KMSKey = Shapes::StringShape.new(name: 'KMSKey')
|
64
|
+
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
65
|
+
ListEntitiesDetectionV2JobsRequest = Shapes::StructureShape.new(name: 'ListEntitiesDetectionV2JobsRequest')
|
66
|
+
ListEntitiesDetectionV2JobsResponse = Shapes::StructureShape.new(name: 'ListEntitiesDetectionV2JobsResponse')
|
67
|
+
ListPHIDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListPHIDetectionJobsRequest')
|
68
|
+
ListPHIDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListPHIDetectionJobsResponse')
|
69
|
+
ManifestFilePath = Shapes::StringShape.new(name: 'ManifestFilePath')
|
70
|
+
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
71
|
+
ModelVersion = Shapes::StringShape.new(name: 'ModelVersion')
|
72
|
+
OntologyLinkingBoundedLengthString = Shapes::StringShape.new(name: 'OntologyLinkingBoundedLengthString')
|
73
|
+
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
74
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
75
|
+
RxNormAttribute = Shapes::StructureShape.new(name: 'RxNormAttribute')
|
76
|
+
RxNormAttributeList = Shapes::ListShape.new(name: 'RxNormAttributeList')
|
77
|
+
RxNormAttributeType = Shapes::StringShape.new(name: 'RxNormAttributeType')
|
78
|
+
RxNormConcept = Shapes::StructureShape.new(name: 'RxNormConcept')
|
79
|
+
RxNormConceptList = Shapes::ListShape.new(name: 'RxNormConceptList')
|
80
|
+
RxNormEntity = Shapes::StructureShape.new(name: 'RxNormEntity')
|
81
|
+
RxNormEntityCategory = Shapes::StringShape.new(name: 'RxNormEntityCategory')
|
82
|
+
RxNormEntityList = Shapes::ListShape.new(name: 'RxNormEntityList')
|
83
|
+
RxNormEntityType = Shapes::StringShape.new(name: 'RxNormEntityType')
|
84
|
+
RxNormTrait = Shapes::StructureShape.new(name: 'RxNormTrait')
|
85
|
+
RxNormTraitList = Shapes::ListShape.new(name: 'RxNormTraitList')
|
86
|
+
RxNormTraitName = Shapes::StringShape.new(name: 'RxNormTraitName')
|
87
|
+
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
88
|
+
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
31
89
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
90
|
+
StartEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobRequest')
|
91
|
+
StartEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobResponse')
|
92
|
+
StartPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StartPHIDetectionJobRequest')
|
93
|
+
StartPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StartPHIDetectionJobResponse')
|
94
|
+
StopEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobRequest')
|
95
|
+
StopEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobResponse')
|
96
|
+
StopPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StopPHIDetectionJobRequest')
|
97
|
+
StopPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StopPHIDetectionJobResponse')
|
32
98
|
String = Shapes::StringShape.new(name: 'String')
|
33
99
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
100
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
34
101
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
35
102
|
Trait = Shapes::StructureShape.new(name: 'Trait')
|
36
103
|
TraitList = Shapes::ListShape.new(name: 'TraitList')
|
37
104
|
UnmappedAttribute = Shapes::StructureShape.new(name: 'UnmappedAttribute')
|
38
105
|
UnmappedAttributeList = Shapes::ListShape.new(name: 'UnmappedAttributeList')
|
106
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
39
107
|
|
40
108
|
Attribute.add_member(:type, Shapes::ShapeRef.new(shape: EntitySubType, location_name: "Type"))
|
41
109
|
Attribute.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
@@ -49,19 +117,66 @@ module Aws::ComprehendMedical
|
|
49
117
|
|
50
118
|
AttributeList.member = Shapes::ShapeRef.new(shape: Attribute)
|
51
119
|
|
120
|
+
ComprehendMedicalAsyncJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
121
|
+
ComprehendMedicalAsyncJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
122
|
+
ComprehendMedicalAsyncJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
123
|
+
ComprehendMedicalAsyncJobFilter.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeAfter"))
|
124
|
+
ComprehendMedicalAsyncJobFilter.struct_class = Types::ComprehendMedicalAsyncJobFilter
|
125
|
+
|
126
|
+
ComprehendMedicalAsyncJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
127
|
+
ComprehendMedicalAsyncJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
128
|
+
ComprehendMedicalAsyncJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
129
|
+
ComprehendMedicalAsyncJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
130
|
+
ComprehendMedicalAsyncJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
131
|
+
ComprehendMedicalAsyncJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
132
|
+
ComprehendMedicalAsyncJobProperties.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
|
133
|
+
ComprehendMedicalAsyncJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
134
|
+
ComprehendMedicalAsyncJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
135
|
+
ComprehendMedicalAsyncJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
136
|
+
ComprehendMedicalAsyncJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
137
|
+
ComprehendMedicalAsyncJobProperties.add_member(:manifest_file_path, Shapes::ShapeRef.new(shape: ManifestFilePath, location_name: "ManifestFilePath"))
|
138
|
+
ComprehendMedicalAsyncJobProperties.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
139
|
+
ComprehendMedicalAsyncJobProperties.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "ModelVersion"))
|
140
|
+
ComprehendMedicalAsyncJobProperties.struct_class = Types::ComprehendMedicalAsyncJobProperties
|
141
|
+
|
142
|
+
ComprehendMedicalAsyncJobPropertiesList.member = Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties)
|
143
|
+
|
144
|
+
DescribeEntitiesDetectionV2JobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
145
|
+
DescribeEntitiesDetectionV2JobRequest.struct_class = Types::DescribeEntitiesDetectionV2JobRequest
|
146
|
+
|
147
|
+
DescribeEntitiesDetectionV2JobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
148
|
+
DescribeEntitiesDetectionV2JobResponse.struct_class = Types::DescribeEntitiesDetectionV2JobResponse
|
149
|
+
|
150
|
+
DescribePHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
151
|
+
DescribePHIDetectionJobRequest.struct_class = Types::DescribePHIDetectionJobRequest
|
152
|
+
|
153
|
+
DescribePHIDetectionJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
154
|
+
DescribePHIDetectionJobResponse.struct_class = Types::DescribePHIDetectionJobResponse
|
155
|
+
|
52
156
|
DetectEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Text"))
|
53
157
|
DetectEntitiesRequest.struct_class = Types::DetectEntitiesRequest
|
54
158
|
|
55
159
|
DetectEntitiesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: EntityList, required: true, location_name: "Entities"))
|
56
160
|
DetectEntitiesResponse.add_member(:unmapped_attributes, Shapes::ShapeRef.new(shape: UnmappedAttributeList, location_name: "UnmappedAttributes"))
|
57
161
|
DetectEntitiesResponse.add_member(:pagination_token, Shapes::ShapeRef.new(shape: String, location_name: "PaginationToken"))
|
162
|
+
DetectEntitiesResponse.add_member(:model_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ModelVersion"))
|
58
163
|
DetectEntitiesResponse.struct_class = Types::DetectEntitiesResponse
|
59
164
|
|
165
|
+
DetectEntitiesV2Request.add_member(:text, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Text"))
|
166
|
+
DetectEntitiesV2Request.struct_class = Types::DetectEntitiesV2Request
|
167
|
+
|
168
|
+
DetectEntitiesV2Response.add_member(:entities, Shapes::ShapeRef.new(shape: EntityList, required: true, location_name: "Entities"))
|
169
|
+
DetectEntitiesV2Response.add_member(:unmapped_attributes, Shapes::ShapeRef.new(shape: UnmappedAttributeList, location_name: "UnmappedAttributes"))
|
170
|
+
DetectEntitiesV2Response.add_member(:pagination_token, Shapes::ShapeRef.new(shape: String, location_name: "PaginationToken"))
|
171
|
+
DetectEntitiesV2Response.add_member(:model_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ModelVersion"))
|
172
|
+
DetectEntitiesV2Response.struct_class = Types::DetectEntitiesV2Response
|
173
|
+
|
60
174
|
DetectPHIRequest.add_member(:text, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Text"))
|
61
175
|
DetectPHIRequest.struct_class = Types::DetectPHIRequest
|
62
176
|
|
63
177
|
DetectPHIResponse.add_member(:entities, Shapes::ShapeRef.new(shape: EntityList, required: true, location_name: "Entities"))
|
64
178
|
DetectPHIResponse.add_member(:pagination_token, Shapes::ShapeRef.new(shape: String, location_name: "PaginationToken"))
|
179
|
+
DetectPHIResponse.add_member(:model_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ModelVersion"))
|
65
180
|
DetectPHIResponse.struct_class = Types::DetectPHIResponse
|
66
181
|
|
67
182
|
Entity.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "Id"))
|
@@ -77,6 +192,65 @@ module Aws::ComprehendMedical
|
|
77
192
|
|
78
193
|
EntityList.member = Shapes::ShapeRef.new(shape: Entity)
|
79
194
|
|
195
|
+
ICD10CMAttribute.add_member(:type, Shapes::ShapeRef.new(shape: ICD10CMAttributeType, location_name: "Type"))
|
196
|
+
ICD10CMAttribute.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
197
|
+
ICD10CMAttribute.add_member(:relationship_score, Shapes::ShapeRef.new(shape: Float, location_name: "RelationshipScore"))
|
198
|
+
ICD10CMAttribute.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "Id"))
|
199
|
+
ICD10CMAttribute.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
200
|
+
ICD10CMAttribute.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
201
|
+
ICD10CMAttribute.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
202
|
+
ICD10CMAttribute.add_member(:traits, Shapes::ShapeRef.new(shape: ICD10CMTraitList, location_name: "Traits"))
|
203
|
+
ICD10CMAttribute.struct_class = Types::ICD10CMAttribute
|
204
|
+
|
205
|
+
ICD10CMAttributeList.member = Shapes::ShapeRef.new(shape: ICD10CMAttribute)
|
206
|
+
|
207
|
+
ICD10CMConcept.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
208
|
+
ICD10CMConcept.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
|
209
|
+
ICD10CMConcept.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
210
|
+
ICD10CMConcept.struct_class = Types::ICD10CMConcept
|
211
|
+
|
212
|
+
ICD10CMConceptList.member = Shapes::ShapeRef.new(shape: ICD10CMConcept)
|
213
|
+
|
214
|
+
ICD10CMEntity.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "Id"))
|
215
|
+
ICD10CMEntity.add_member(:text, Shapes::ShapeRef.new(shape: OntologyLinkingBoundedLengthString, location_name: "Text"))
|
216
|
+
ICD10CMEntity.add_member(:category, Shapes::ShapeRef.new(shape: ICD10CMEntityCategory, location_name: "Category"))
|
217
|
+
ICD10CMEntity.add_member(:type, Shapes::ShapeRef.new(shape: ICD10CMEntityType, location_name: "Type"))
|
218
|
+
ICD10CMEntity.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
219
|
+
ICD10CMEntity.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
220
|
+
ICD10CMEntity.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
221
|
+
ICD10CMEntity.add_member(:attributes, Shapes::ShapeRef.new(shape: ICD10CMAttributeList, location_name: "Attributes"))
|
222
|
+
ICD10CMEntity.add_member(:traits, Shapes::ShapeRef.new(shape: ICD10CMTraitList, location_name: "Traits"))
|
223
|
+
ICD10CMEntity.add_member(:icd10cm_concepts, Shapes::ShapeRef.new(shape: ICD10CMConceptList, location_name: "ICD10CMConcepts"))
|
224
|
+
ICD10CMEntity.struct_class = Types::ICD10CMEntity
|
225
|
+
|
226
|
+
ICD10CMEntityList.member = Shapes::ShapeRef.new(shape: ICD10CMEntity)
|
227
|
+
|
228
|
+
ICD10CMTrait.add_member(:name, Shapes::ShapeRef.new(shape: ICD10CMTraitName, location_name: "Name"))
|
229
|
+
ICD10CMTrait.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
230
|
+
ICD10CMTrait.struct_class = Types::ICD10CMTrait
|
231
|
+
|
232
|
+
ICD10CMTraitList.member = Shapes::ShapeRef.new(shape: ICD10CMTrait)
|
233
|
+
|
234
|
+
InferICD10CMRequest.add_member(:text, Shapes::ShapeRef.new(shape: OntologyLinkingBoundedLengthString, required: true, location_name: "Text"))
|
235
|
+
InferICD10CMRequest.struct_class = Types::InferICD10CMRequest
|
236
|
+
|
237
|
+
InferICD10CMResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ICD10CMEntityList, required: true, location_name: "Entities"))
|
238
|
+
InferICD10CMResponse.add_member(:pagination_token, Shapes::ShapeRef.new(shape: String, location_name: "PaginationToken"))
|
239
|
+
InferICD10CMResponse.add_member(:model_version, Shapes::ShapeRef.new(shape: String, location_name: "ModelVersion"))
|
240
|
+
InferICD10CMResponse.struct_class = Types::InferICD10CMResponse
|
241
|
+
|
242
|
+
InferRxNormRequest.add_member(:text, Shapes::ShapeRef.new(shape: OntologyLinkingBoundedLengthString, required: true, location_name: "Text"))
|
243
|
+
InferRxNormRequest.struct_class = Types::InferRxNormRequest
|
244
|
+
|
245
|
+
InferRxNormResponse.add_member(:entities, Shapes::ShapeRef.new(shape: RxNormEntityList, required: true, location_name: "Entities"))
|
246
|
+
InferRxNormResponse.add_member(:pagination_token, Shapes::ShapeRef.new(shape: String, location_name: "PaginationToken"))
|
247
|
+
InferRxNormResponse.add_member(:model_version, Shapes::ShapeRef.new(shape: String, location_name: "ModelVersion"))
|
248
|
+
InferRxNormResponse.struct_class = Types::InferRxNormResponse
|
249
|
+
|
250
|
+
InputDataConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
251
|
+
InputDataConfig.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
252
|
+
InputDataConfig.struct_class = Types::InputDataConfig
|
253
|
+
|
80
254
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
81
255
|
InternalServerException.struct_class = Types::InternalServerException
|
82
256
|
|
@@ -86,9 +260,109 @@ module Aws::ComprehendMedical
|
|
86
260
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
87
261
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
88
262
|
|
263
|
+
ListEntitiesDetectionV2JobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
264
|
+
ListEntitiesDetectionV2JobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
265
|
+
ListEntitiesDetectionV2JobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
266
|
+
ListEntitiesDetectionV2JobsRequest.struct_class = Types::ListEntitiesDetectionV2JobsRequest
|
267
|
+
|
268
|
+
ListEntitiesDetectionV2JobsResponse.add_member(:comprehend_medical_async_job_properties_list, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobPropertiesList, location_name: "ComprehendMedicalAsyncJobPropertiesList"))
|
269
|
+
ListEntitiesDetectionV2JobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
270
|
+
ListEntitiesDetectionV2JobsResponse.struct_class = Types::ListEntitiesDetectionV2JobsResponse
|
271
|
+
|
272
|
+
ListPHIDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
273
|
+
ListPHIDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
274
|
+
ListPHIDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
275
|
+
ListPHIDetectionJobsRequest.struct_class = Types::ListPHIDetectionJobsRequest
|
276
|
+
|
277
|
+
ListPHIDetectionJobsResponse.add_member(:comprehend_medical_async_job_properties_list, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobPropertiesList, location_name: "ComprehendMedicalAsyncJobPropertiesList"))
|
278
|
+
ListPHIDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
279
|
+
ListPHIDetectionJobsResponse.struct_class = Types::ListPHIDetectionJobsResponse
|
280
|
+
|
281
|
+
OutputDataConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
282
|
+
OutputDataConfig.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
283
|
+
OutputDataConfig.struct_class = Types::OutputDataConfig
|
284
|
+
|
285
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
286
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
287
|
+
|
288
|
+
RxNormAttribute.add_member(:type, Shapes::ShapeRef.new(shape: RxNormAttributeType, location_name: "Type"))
|
289
|
+
RxNormAttribute.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
290
|
+
RxNormAttribute.add_member(:relationship_score, Shapes::ShapeRef.new(shape: Float, location_name: "RelationshipScore"))
|
291
|
+
RxNormAttribute.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "Id"))
|
292
|
+
RxNormAttribute.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
293
|
+
RxNormAttribute.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
294
|
+
RxNormAttribute.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
295
|
+
RxNormAttribute.add_member(:traits, Shapes::ShapeRef.new(shape: RxNormTraitList, location_name: "Traits"))
|
296
|
+
RxNormAttribute.struct_class = Types::RxNormAttribute
|
297
|
+
|
298
|
+
RxNormAttributeList.member = Shapes::ShapeRef.new(shape: RxNormAttribute)
|
299
|
+
|
300
|
+
RxNormConcept.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
301
|
+
RxNormConcept.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
|
302
|
+
RxNormConcept.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
303
|
+
RxNormConcept.struct_class = Types::RxNormConcept
|
304
|
+
|
305
|
+
RxNormConceptList.member = Shapes::ShapeRef.new(shape: RxNormConcept)
|
306
|
+
|
307
|
+
RxNormEntity.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "Id"))
|
308
|
+
RxNormEntity.add_member(:text, Shapes::ShapeRef.new(shape: OntologyLinkingBoundedLengthString, location_name: "Text"))
|
309
|
+
RxNormEntity.add_member(:category, Shapes::ShapeRef.new(shape: RxNormEntityCategory, location_name: "Category"))
|
310
|
+
RxNormEntity.add_member(:type, Shapes::ShapeRef.new(shape: RxNormEntityType, location_name: "Type"))
|
311
|
+
RxNormEntity.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
312
|
+
RxNormEntity.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
313
|
+
RxNormEntity.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
314
|
+
RxNormEntity.add_member(:attributes, Shapes::ShapeRef.new(shape: RxNormAttributeList, location_name: "Attributes"))
|
315
|
+
RxNormEntity.add_member(:traits, Shapes::ShapeRef.new(shape: RxNormTraitList, location_name: "Traits"))
|
316
|
+
RxNormEntity.add_member(:rx_norm_concepts, Shapes::ShapeRef.new(shape: RxNormConceptList, location_name: "RxNormConcepts"))
|
317
|
+
RxNormEntity.struct_class = Types::RxNormEntity
|
318
|
+
|
319
|
+
RxNormEntityList.member = Shapes::ShapeRef.new(shape: RxNormEntity)
|
320
|
+
|
321
|
+
RxNormTrait.add_member(:name, Shapes::ShapeRef.new(shape: RxNormTraitName, location_name: "Name"))
|
322
|
+
RxNormTrait.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
323
|
+
RxNormTrait.struct_class = Types::RxNormTrait
|
324
|
+
|
325
|
+
RxNormTraitList.member = Shapes::ShapeRef.new(shape: RxNormTrait)
|
326
|
+
|
89
327
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
90
328
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
91
329
|
|
330
|
+
StartEntitiesDetectionV2JobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
331
|
+
StartEntitiesDetectionV2JobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
332
|
+
StartEntitiesDetectionV2JobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
333
|
+
StartEntitiesDetectionV2JobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
334
|
+
StartEntitiesDetectionV2JobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
335
|
+
StartEntitiesDetectionV2JobRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
336
|
+
StartEntitiesDetectionV2JobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
337
|
+
StartEntitiesDetectionV2JobRequest.struct_class = Types::StartEntitiesDetectionV2JobRequest
|
338
|
+
|
339
|
+
StartEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
340
|
+
StartEntitiesDetectionV2JobResponse.struct_class = Types::StartEntitiesDetectionV2JobResponse
|
341
|
+
|
342
|
+
StartPHIDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
343
|
+
StartPHIDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
344
|
+
StartPHIDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
345
|
+
StartPHIDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
346
|
+
StartPHIDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
347
|
+
StartPHIDetectionJobRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
348
|
+
StartPHIDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
349
|
+
StartPHIDetectionJobRequest.struct_class = Types::StartPHIDetectionJobRequest
|
350
|
+
|
351
|
+
StartPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
352
|
+
StartPHIDetectionJobResponse.struct_class = Types::StartPHIDetectionJobResponse
|
353
|
+
|
354
|
+
StopEntitiesDetectionV2JobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
355
|
+
StopEntitiesDetectionV2JobRequest.struct_class = Types::StopEntitiesDetectionV2JobRequest
|
356
|
+
|
357
|
+
StopEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
358
|
+
StopEntitiesDetectionV2JobResponse.struct_class = Types::StopEntitiesDetectionV2JobResponse
|
359
|
+
|
360
|
+
StopPHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
361
|
+
StopPHIDetectionJobRequest.struct_class = Types::StopPHIDetectionJobRequest
|
362
|
+
|
363
|
+
StopPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
364
|
+
StopPHIDetectionJobResponse.struct_class = Types::StopPHIDetectionJobResponse
|
365
|
+
|
92
366
|
TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
93
367
|
TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
|
94
368
|
|
@@ -107,6 +381,9 @@ module Aws::ComprehendMedical
|
|
107
381
|
|
108
382
|
UnmappedAttributeList.member = Shapes::ShapeRef.new(shape: UnmappedAttribute)
|
109
383
|
|
384
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
385
|
+
ValidationException.struct_class = Types::ValidationException
|
386
|
+
|
110
387
|
|
111
388
|
# @api private
|
112
389
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -127,10 +404,35 @@ module Aws::ComprehendMedical
|
|
127
404
|
"uid" => "comprehendmedical-2018-10-30",
|
128
405
|
}
|
129
406
|
|
407
|
+
api.add_operation(:describe_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
408
|
+
o.name = "DescribeEntitiesDetectionV2Job"
|
409
|
+
o.http_method = "POST"
|
410
|
+
o.http_request_uri = "/"
|
411
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEntitiesDetectionV2JobRequest)
|
412
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEntitiesDetectionV2JobResponse)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
417
|
+
end)
|
418
|
+
|
419
|
+
api.add_operation(:describe_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
420
|
+
o.name = "DescribePHIDetectionJob"
|
421
|
+
o.http_method = "POST"
|
422
|
+
o.http_request_uri = "/"
|
423
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePHIDetectionJobRequest)
|
424
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePHIDetectionJobResponse)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
429
|
+
end)
|
430
|
+
|
130
431
|
api.add_operation(:detect_entities, Seahorse::Model::Operation.new.tap do |o|
|
131
432
|
o.name = "DetectEntities"
|
132
433
|
o.http_method = "POST"
|
133
434
|
o.http_request_uri = "/"
|
435
|
+
o.deprecated = true
|
134
436
|
o.input = Shapes::ShapeRef.new(shape: DetectEntitiesRequest)
|
135
437
|
o.output = Shapes::ShapeRef.new(shape: DetectEntitiesResponse)
|
136
438
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -141,6 +443,20 @@ module Aws::ComprehendMedical
|
|
141
443
|
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
142
444
|
end)
|
143
445
|
|
446
|
+
api.add_operation(:detect_entities_v2, Seahorse::Model::Operation.new.tap do |o|
|
447
|
+
o.name = "DetectEntitiesV2"
|
448
|
+
o.http_method = "POST"
|
449
|
+
o.http_request_uri = "/"
|
450
|
+
o.input = Shapes::ShapeRef.new(shape: DetectEntitiesV2Request)
|
451
|
+
o.output = Shapes::ShapeRef.new(shape: DetectEntitiesV2Response)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEncodingException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
458
|
+
end)
|
459
|
+
|
144
460
|
api.add_operation(:detect_phi, Seahorse::Model::Operation.new.tap do |o|
|
145
461
|
o.name = "DetectPHI"
|
146
462
|
o.http_method = "POST"
|
@@ -154,6 +470,104 @@ module Aws::ComprehendMedical
|
|
154
470
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEncodingException)
|
155
471
|
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
156
472
|
end)
|
473
|
+
|
474
|
+
api.add_operation(:infer_icd10cm, Seahorse::Model::Operation.new.tap do |o|
|
475
|
+
o.name = "InferICD10CM"
|
476
|
+
o.http_method = "POST"
|
477
|
+
o.http_request_uri = "/"
|
478
|
+
o.input = Shapes::ShapeRef.new(shape: InferICD10CMRequest)
|
479
|
+
o.output = Shapes::ShapeRef.new(shape: InferICD10CMResponse)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEncodingException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
486
|
+
end)
|
487
|
+
|
488
|
+
api.add_operation(:infer_rx_norm, Seahorse::Model::Operation.new.tap do |o|
|
489
|
+
o.name = "InferRxNorm"
|
490
|
+
o.http_method = "POST"
|
491
|
+
o.http_request_uri = "/"
|
492
|
+
o.input = Shapes::ShapeRef.new(shape: InferRxNormRequest)
|
493
|
+
o.output = Shapes::ShapeRef.new(shape: InferRxNormResponse)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEncodingException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
500
|
+
end)
|
501
|
+
|
502
|
+
api.add_operation(:list_entities_detection_v2_jobs, Seahorse::Model::Operation.new.tap do |o|
|
503
|
+
o.name = "ListEntitiesDetectionV2Jobs"
|
504
|
+
o.http_method = "POST"
|
505
|
+
o.http_request_uri = "/"
|
506
|
+
o.input = Shapes::ShapeRef.new(shape: ListEntitiesDetectionV2JobsRequest)
|
507
|
+
o.output = Shapes::ShapeRef.new(shape: ListEntitiesDetectionV2JobsResponse)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
512
|
+
end)
|
513
|
+
|
514
|
+
api.add_operation(:list_phi_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
515
|
+
o.name = "ListPHIDetectionJobs"
|
516
|
+
o.http_method = "POST"
|
517
|
+
o.http_request_uri = "/"
|
518
|
+
o.input = Shapes::ShapeRef.new(shape: ListPHIDetectionJobsRequest)
|
519
|
+
o.output = Shapes::ShapeRef.new(shape: ListPHIDetectionJobsResponse)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
524
|
+
end)
|
525
|
+
|
526
|
+
api.add_operation(:start_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
527
|
+
o.name = "StartEntitiesDetectionV2Job"
|
528
|
+
o.http_method = "POST"
|
529
|
+
o.http_request_uri = "/"
|
530
|
+
o.input = Shapes::ShapeRef.new(shape: StartEntitiesDetectionV2JobRequest)
|
531
|
+
o.output = Shapes::ShapeRef.new(shape: StartEntitiesDetectionV2JobResponse)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
536
|
+
end)
|
537
|
+
|
538
|
+
api.add_operation(:start_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
539
|
+
o.name = "StartPHIDetectionJob"
|
540
|
+
o.http_method = "POST"
|
541
|
+
o.http_request_uri = "/"
|
542
|
+
o.input = Shapes::ShapeRef.new(shape: StartPHIDetectionJobRequest)
|
543
|
+
o.output = Shapes::ShapeRef.new(shape: StartPHIDetectionJobResponse)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
548
|
+
end)
|
549
|
+
|
550
|
+
api.add_operation(:stop_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
551
|
+
o.name = "StopEntitiesDetectionV2Job"
|
552
|
+
o.http_method = "POST"
|
553
|
+
o.http_request_uri = "/"
|
554
|
+
o.input = Shapes::ShapeRef.new(shape: StopEntitiesDetectionV2JobRequest)
|
555
|
+
o.output = Shapes::ShapeRef.new(shape: StopEntitiesDetectionV2JobResponse)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
559
|
+
end)
|
560
|
+
|
561
|
+
api.add_operation(:stop_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
562
|
+
o.name = "StopPHIDetectionJob"
|
563
|
+
o.http_method = "POST"
|
564
|
+
o.http_request_uri = "/"
|
565
|
+
o.input = Shapes::ShapeRef.new(shape: StopPHIDetectionJobRequest)
|
566
|
+
o.output = Shapes::ShapeRef.new(shape: StopPHIDetectionJobResponse)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
570
|
+
end)
|
157
571
|
end
|
158
572
|
|
159
573
|
end
|