aws-sdk-rekognition 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,531 +1,529 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module Rekognition
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
- Attribute = Shapes::StringShape.new(name: 'Attribute')
17
- Attributes = Shapes::ListShape.new(name: 'Attributes')
18
- Beard = Shapes::StructureShape.new(name: 'Beard')
19
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
20
- BoundingBox = Shapes::StructureShape.new(name: 'BoundingBox')
21
- CollectionId = Shapes::StringShape.new(name: 'CollectionId')
22
- CollectionIdList = Shapes::ListShape.new(name: 'CollectionIdList')
23
- CompareFacesMatch = Shapes::StructureShape.new(name: 'CompareFacesMatch')
24
- CompareFacesMatchList = Shapes::ListShape.new(name: 'CompareFacesMatchList')
25
- CompareFacesRequest = Shapes::StructureShape.new(name: 'CompareFacesRequest')
26
- CompareFacesResponse = Shapes::StructureShape.new(name: 'CompareFacesResponse')
27
- ComparedFace = Shapes::StructureShape.new(name: 'ComparedFace')
28
- ComparedSourceImageFace = Shapes::StructureShape.new(name: 'ComparedSourceImageFace')
29
- CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
30
- CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
31
- Degree = Shapes::FloatShape.new(name: 'Degree')
32
- DeleteCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCollectionRequest')
33
- DeleteCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCollectionResponse')
34
- DeleteFacesRequest = Shapes::StructureShape.new(name: 'DeleteFacesRequest')
35
- DeleteFacesResponse = Shapes::StructureShape.new(name: 'DeleteFacesResponse')
36
- DetectFacesRequest = Shapes::StructureShape.new(name: 'DetectFacesRequest')
37
- DetectFacesResponse = Shapes::StructureShape.new(name: 'DetectFacesResponse')
38
- DetectLabelsRequest = Shapes::StructureShape.new(name: 'DetectLabelsRequest')
39
- DetectLabelsResponse = Shapes::StructureShape.new(name: 'DetectLabelsResponse')
40
- Emotion = Shapes::StructureShape.new(name: 'Emotion')
41
- EmotionName = Shapes::StringShape.new(name: 'EmotionName')
42
- Emotions = Shapes::ListShape.new(name: 'Emotions')
43
- ExternalImageId = Shapes::StringShape.new(name: 'ExternalImageId')
44
- EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
45
- Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
46
- Face = Shapes::StructureShape.new(name: 'Face')
47
- FaceDetail = Shapes::StructureShape.new(name: 'FaceDetail')
48
- FaceDetailList = Shapes::ListShape.new(name: 'FaceDetailList')
49
- FaceId = Shapes::StringShape.new(name: 'FaceId')
50
- FaceIdList = Shapes::ListShape.new(name: 'FaceIdList')
51
- FaceList = Shapes::ListShape.new(name: 'FaceList')
52
- FaceMatch = Shapes::StructureShape.new(name: 'FaceMatch')
53
- FaceMatchList = Shapes::ListShape.new(name: 'FaceMatchList')
54
- FaceRecord = Shapes::StructureShape.new(name: 'FaceRecord')
55
- FaceRecordList = Shapes::ListShape.new(name: 'FaceRecordList')
56
- Float = Shapes::FloatShape.new(name: 'Float')
57
- Gender = Shapes::StructureShape.new(name: 'Gender')
58
- GenderType = Shapes::StringShape.new(name: 'GenderType')
59
- Image = Shapes::StructureShape.new(name: 'Image')
60
- ImageBlob = Shapes::BlobShape.new(name: 'ImageBlob')
61
- ImageId = Shapes::StringShape.new(name: 'ImageId')
62
- ImageQuality = Shapes::StructureShape.new(name: 'ImageQuality')
63
- ImageTooLargeException = Shapes::StructureShape.new(name: 'ImageTooLargeException')
64
- IndexFacesRequest = Shapes::StructureShape.new(name: 'IndexFacesRequest')
65
- IndexFacesResponse = Shapes::StructureShape.new(name: 'IndexFacesResponse')
66
- InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
67
- InvalidImageFormatException = Shapes::StructureShape.new(name: 'InvalidImageFormatException')
68
- InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
69
- InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
70
- InvalidS3ObjectException = Shapes::StructureShape.new(name: 'InvalidS3ObjectException')
71
- Label = Shapes::StructureShape.new(name: 'Label')
72
- Labels = Shapes::ListShape.new(name: 'Labels')
73
- Landmark = Shapes::StructureShape.new(name: 'Landmark')
74
- LandmarkType = Shapes::StringShape.new(name: 'LandmarkType')
75
- Landmarks = Shapes::ListShape.new(name: 'Landmarks')
76
- ListCollectionsRequest = Shapes::StructureShape.new(name: 'ListCollectionsRequest')
77
- ListCollectionsResponse = Shapes::StructureShape.new(name: 'ListCollectionsResponse')
78
- ListFacesRequest = Shapes::StructureShape.new(name: 'ListFacesRequest')
79
- ListFacesResponse = Shapes::StructureShape.new(name: 'ListFacesResponse')
80
- MaxFaces = Shapes::IntegerShape.new(name: 'MaxFaces')
81
- MouthOpen = Shapes::StructureShape.new(name: 'MouthOpen')
82
- Mustache = Shapes::StructureShape.new(name: 'Mustache')
83
- OrientationCorrection = Shapes::StringShape.new(name: 'OrientationCorrection')
84
- PageSize = Shapes::IntegerShape.new(name: 'PageSize')
85
- PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
86
- Percent = Shapes::FloatShape.new(name: 'Percent')
87
- Pose = Shapes::StructureShape.new(name: 'Pose')
88
- ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
89
- ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
90
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
91
- S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
92
- S3Object = Shapes::StructureShape.new(name: 'S3Object')
93
- S3ObjectName = Shapes::StringShape.new(name: 'S3ObjectName')
94
- S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
95
- SearchFacesByImageRequest = Shapes::StructureShape.new(name: 'SearchFacesByImageRequest')
96
- SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
97
- SearchFacesRequest = Shapes::StructureShape.new(name: 'SearchFacesRequest')
98
- SearchFacesResponse = Shapes::StructureShape.new(name: 'SearchFacesResponse')
99
- Smile = Shapes::StructureShape.new(name: 'Smile')
100
- String = Shapes::StringShape.new(name: 'String')
101
- Sunglasses = Shapes::StructureShape.new(name: 'Sunglasses')
102
- ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
103
- UInteger = Shapes::IntegerShape.new(name: 'UInteger')
104
-
105
- Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
106
-
107
- Beard.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
108
- Beard.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
109
- Beard.struct_class = Types::Beard
110
-
111
- BoundingBox.add_member(:width, Shapes::ShapeRef.new(shape: Float, location_name: "Width"))
112
- BoundingBox.add_member(:height, Shapes::ShapeRef.new(shape: Float, location_name: "Height"))
113
- BoundingBox.add_member(:left, Shapes::ShapeRef.new(shape: Float, location_name: "Left"))
114
- BoundingBox.add_member(:top, Shapes::ShapeRef.new(shape: Float, location_name: "Top"))
115
- BoundingBox.struct_class = Types::BoundingBox
116
-
117
- CollectionIdList.member = Shapes::ShapeRef.new(shape: CollectionId)
118
-
119
- CompareFacesMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
120
- CompareFacesMatch.add_member(:face, Shapes::ShapeRef.new(shape: ComparedFace, location_name: "Face"))
121
- CompareFacesMatch.struct_class = Types::CompareFacesMatch
122
-
123
- CompareFacesMatchList.member = Shapes::ShapeRef.new(shape: CompareFacesMatch)
124
-
125
- CompareFacesRequest.add_member(:source_image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "SourceImage"))
126
- CompareFacesRequest.add_member(:target_image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "TargetImage"))
127
- CompareFacesRequest.add_member(:similarity_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "SimilarityThreshold"))
128
- CompareFacesRequest.struct_class = Types::CompareFacesRequest
129
-
130
- CompareFacesResponse.add_member(:source_image_face, Shapes::ShapeRef.new(shape: ComparedSourceImageFace, location_name: "SourceImageFace"))
131
- CompareFacesResponse.add_member(:face_matches, Shapes::ShapeRef.new(shape: CompareFacesMatchList, location_name: "FaceMatches"))
132
- CompareFacesResponse.struct_class = Types::CompareFacesResponse
133
-
134
- ComparedFace.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
135
- ComparedFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
136
- ComparedFace.struct_class = Types::ComparedFace
137
-
138
- ComparedSourceImageFace.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
139
- ComparedSourceImageFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
140
- ComparedSourceImageFace.struct_class = Types::ComparedSourceImageFace
141
-
142
- CreateCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
143
- CreateCollectionRequest.struct_class = Types::CreateCollectionRequest
144
-
145
- CreateCollectionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: UInteger, location_name: "StatusCode"))
146
- CreateCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: String, location_name: "CollectionArn"))
147
- CreateCollectionResponse.struct_class = Types::CreateCollectionResponse
148
-
149
- DeleteCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
150
- DeleteCollectionRequest.struct_class = Types::DeleteCollectionRequest
151
-
152
- DeleteCollectionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: UInteger, location_name: "StatusCode"))
153
- DeleteCollectionResponse.struct_class = Types::DeleteCollectionResponse
154
-
155
- DeleteFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
156
- DeleteFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: FaceIdList, required: true, location_name: "FaceIds"))
157
- DeleteFacesRequest.struct_class = Types::DeleteFacesRequest
158
-
159
- DeleteFacesResponse.add_member(:deleted_faces, Shapes::ShapeRef.new(shape: FaceIdList, location_name: "DeletedFaces"))
160
- DeleteFacesResponse.struct_class = Types::DeleteFacesResponse
161
-
162
- DetectFacesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
163
- DetectFacesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
164
- DetectFacesRequest.struct_class = Types::DetectFacesRequest
165
-
166
- DetectFacesResponse.add_member(:face_details, Shapes::ShapeRef.new(shape: FaceDetailList, location_name: "FaceDetails"))
167
- DetectFacesResponse.add_member(:orientation_correction, Shapes::ShapeRef.new(shape: OrientationCorrection, location_name: "OrientationCorrection"))
168
- DetectFacesResponse.struct_class = Types::DetectFacesResponse
169
-
170
- DetectLabelsRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
171
- DetectLabelsRequest.add_member(:max_labels, Shapes::ShapeRef.new(shape: UInteger, location_name: "MaxLabels"))
172
- DetectLabelsRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
173
- DetectLabelsRequest.struct_class = Types::DetectLabelsRequest
174
-
175
- DetectLabelsResponse.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, location_name: "Labels"))
176
- DetectLabelsResponse.add_member(:orientation_correction, Shapes::ShapeRef.new(shape: OrientationCorrection, location_name: "OrientationCorrection"))
177
- DetectLabelsResponse.struct_class = Types::DetectLabelsResponse
178
-
179
- Emotion.add_member(:type, Shapes::ShapeRef.new(shape: EmotionName, location_name: "Type"))
180
- Emotion.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
181
- Emotion.struct_class = Types::Emotion
182
-
183
- Emotions.member = Shapes::ShapeRef.new(shape: Emotion)
184
-
185
- EyeOpen.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
186
- EyeOpen.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
187
- EyeOpen.struct_class = Types::EyeOpen
188
-
189
- Eyeglasses.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
190
- Eyeglasses.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
191
- Eyeglasses.struct_class = Types::Eyeglasses
192
-
193
- Face.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
194
- Face.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
195
- Face.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
196
- Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
197
- Face.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
198
- Face.struct_class = Types::Face
8
+ module Aws::Rekognition
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ Attribute = Shapes::StringShape.new(name: 'Attribute')
16
+ Attributes = Shapes::ListShape.new(name: 'Attributes')
17
+ Beard = Shapes::StructureShape.new(name: 'Beard')
18
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
+ BoundingBox = Shapes::StructureShape.new(name: 'BoundingBox')
20
+ CollectionId = Shapes::StringShape.new(name: 'CollectionId')
21
+ CollectionIdList = Shapes::ListShape.new(name: 'CollectionIdList')
22
+ CompareFacesMatch = Shapes::StructureShape.new(name: 'CompareFacesMatch')
23
+ CompareFacesMatchList = Shapes::ListShape.new(name: 'CompareFacesMatchList')
24
+ CompareFacesRequest = Shapes::StructureShape.new(name: 'CompareFacesRequest')
25
+ CompareFacesResponse = Shapes::StructureShape.new(name: 'CompareFacesResponse')
26
+ ComparedFace = Shapes::StructureShape.new(name: 'ComparedFace')
27
+ ComparedSourceImageFace = Shapes::StructureShape.new(name: 'ComparedSourceImageFace')
28
+ CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
29
+ CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
30
+ Degree = Shapes::FloatShape.new(name: 'Degree')
31
+ DeleteCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCollectionRequest')
32
+ DeleteCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCollectionResponse')
33
+ DeleteFacesRequest = Shapes::StructureShape.new(name: 'DeleteFacesRequest')
34
+ DeleteFacesResponse = Shapes::StructureShape.new(name: 'DeleteFacesResponse')
35
+ DetectFacesRequest = Shapes::StructureShape.new(name: 'DetectFacesRequest')
36
+ DetectFacesResponse = Shapes::StructureShape.new(name: 'DetectFacesResponse')
37
+ DetectLabelsRequest = Shapes::StructureShape.new(name: 'DetectLabelsRequest')
38
+ DetectLabelsResponse = Shapes::StructureShape.new(name: 'DetectLabelsResponse')
39
+ Emotion = Shapes::StructureShape.new(name: 'Emotion')
40
+ EmotionName = Shapes::StringShape.new(name: 'EmotionName')
41
+ Emotions = Shapes::ListShape.new(name: 'Emotions')
42
+ ExternalImageId = Shapes::StringShape.new(name: 'ExternalImageId')
43
+ EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
44
+ Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
45
+ Face = Shapes::StructureShape.new(name: 'Face')
46
+ FaceDetail = Shapes::StructureShape.new(name: 'FaceDetail')
47
+ FaceDetailList = Shapes::ListShape.new(name: 'FaceDetailList')
48
+ FaceId = Shapes::StringShape.new(name: 'FaceId')
49
+ FaceIdList = Shapes::ListShape.new(name: 'FaceIdList')
50
+ FaceList = Shapes::ListShape.new(name: 'FaceList')
51
+ FaceMatch = Shapes::StructureShape.new(name: 'FaceMatch')
52
+ FaceMatchList = Shapes::ListShape.new(name: 'FaceMatchList')
53
+ FaceRecord = Shapes::StructureShape.new(name: 'FaceRecord')
54
+ FaceRecordList = Shapes::ListShape.new(name: 'FaceRecordList')
55
+ Float = Shapes::FloatShape.new(name: 'Float')
56
+ Gender = Shapes::StructureShape.new(name: 'Gender')
57
+ GenderType = Shapes::StringShape.new(name: 'GenderType')
58
+ Image = Shapes::StructureShape.new(name: 'Image')
59
+ ImageBlob = Shapes::BlobShape.new(name: 'ImageBlob')
60
+ ImageId = Shapes::StringShape.new(name: 'ImageId')
61
+ ImageQuality = Shapes::StructureShape.new(name: 'ImageQuality')
62
+ ImageTooLargeException = Shapes::StructureShape.new(name: 'ImageTooLargeException')
63
+ IndexFacesRequest = Shapes::StructureShape.new(name: 'IndexFacesRequest')
64
+ IndexFacesResponse = Shapes::StructureShape.new(name: 'IndexFacesResponse')
65
+ InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
66
+ InvalidImageFormatException = Shapes::StructureShape.new(name: 'InvalidImageFormatException')
67
+ InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
68
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
69
+ InvalidS3ObjectException = Shapes::StructureShape.new(name: 'InvalidS3ObjectException')
70
+ Label = Shapes::StructureShape.new(name: 'Label')
71
+ Labels = Shapes::ListShape.new(name: 'Labels')
72
+ Landmark = Shapes::StructureShape.new(name: 'Landmark')
73
+ LandmarkType = Shapes::StringShape.new(name: 'LandmarkType')
74
+ Landmarks = Shapes::ListShape.new(name: 'Landmarks')
75
+ ListCollectionsRequest = Shapes::StructureShape.new(name: 'ListCollectionsRequest')
76
+ ListCollectionsResponse = Shapes::StructureShape.new(name: 'ListCollectionsResponse')
77
+ ListFacesRequest = Shapes::StructureShape.new(name: 'ListFacesRequest')
78
+ ListFacesResponse = Shapes::StructureShape.new(name: 'ListFacesResponse')
79
+ MaxFaces = Shapes::IntegerShape.new(name: 'MaxFaces')
80
+ MouthOpen = Shapes::StructureShape.new(name: 'MouthOpen')
81
+ Mustache = Shapes::StructureShape.new(name: 'Mustache')
82
+ OrientationCorrection = Shapes::StringShape.new(name: 'OrientationCorrection')
83
+ PageSize = Shapes::IntegerShape.new(name: 'PageSize')
84
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
85
+ Percent = Shapes::FloatShape.new(name: 'Percent')
86
+ Pose = Shapes::StructureShape.new(name: 'Pose')
87
+ ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
88
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
89
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
90
+ S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
91
+ S3Object = Shapes::StructureShape.new(name: 'S3Object')
92
+ S3ObjectName = Shapes::StringShape.new(name: 'S3ObjectName')
93
+ S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
94
+ SearchFacesByImageRequest = Shapes::StructureShape.new(name: 'SearchFacesByImageRequest')
95
+ SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
96
+ SearchFacesRequest = Shapes::StructureShape.new(name: 'SearchFacesRequest')
97
+ SearchFacesResponse = Shapes::StructureShape.new(name: 'SearchFacesResponse')
98
+ Smile = Shapes::StructureShape.new(name: 'Smile')
99
+ String = Shapes::StringShape.new(name: 'String')
100
+ Sunglasses = Shapes::StructureShape.new(name: 'Sunglasses')
101
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
102
+ UInteger = Shapes::IntegerShape.new(name: 'UInteger')
103
+
104
+ Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
105
+
106
+ Beard.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
107
+ Beard.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
108
+ Beard.struct_class = Types::Beard
109
+
110
+ BoundingBox.add_member(:width, Shapes::ShapeRef.new(shape: Float, location_name: "Width"))
111
+ BoundingBox.add_member(:height, Shapes::ShapeRef.new(shape: Float, location_name: "Height"))
112
+ BoundingBox.add_member(:left, Shapes::ShapeRef.new(shape: Float, location_name: "Left"))
113
+ BoundingBox.add_member(:top, Shapes::ShapeRef.new(shape: Float, location_name: "Top"))
114
+ BoundingBox.struct_class = Types::BoundingBox
115
+
116
+ CollectionIdList.member = Shapes::ShapeRef.new(shape: CollectionId)
117
+
118
+ CompareFacesMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
119
+ CompareFacesMatch.add_member(:face, Shapes::ShapeRef.new(shape: ComparedFace, location_name: "Face"))
120
+ CompareFacesMatch.struct_class = Types::CompareFacesMatch
121
+
122
+ CompareFacesMatchList.member = Shapes::ShapeRef.new(shape: CompareFacesMatch)
123
+
124
+ CompareFacesRequest.add_member(:source_image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "SourceImage"))
125
+ CompareFacesRequest.add_member(:target_image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "TargetImage"))
126
+ CompareFacesRequest.add_member(:similarity_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "SimilarityThreshold"))
127
+ CompareFacesRequest.struct_class = Types::CompareFacesRequest
128
+
129
+ CompareFacesResponse.add_member(:source_image_face, Shapes::ShapeRef.new(shape: ComparedSourceImageFace, location_name: "SourceImageFace"))
130
+ CompareFacesResponse.add_member(:face_matches, Shapes::ShapeRef.new(shape: CompareFacesMatchList, location_name: "FaceMatches"))
131
+ CompareFacesResponse.struct_class = Types::CompareFacesResponse
132
+
133
+ ComparedFace.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
134
+ ComparedFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
135
+ ComparedFace.struct_class = Types::ComparedFace
136
+
137
+ ComparedSourceImageFace.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
138
+ ComparedSourceImageFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
139
+ ComparedSourceImageFace.struct_class = Types::ComparedSourceImageFace
140
+
141
+ CreateCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
142
+ CreateCollectionRequest.struct_class = Types::CreateCollectionRequest
143
+
144
+ CreateCollectionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: UInteger, location_name: "StatusCode"))
145
+ CreateCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: String, location_name: "CollectionArn"))
146
+ CreateCollectionResponse.struct_class = Types::CreateCollectionResponse
147
+
148
+ DeleteCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
149
+ DeleteCollectionRequest.struct_class = Types::DeleteCollectionRequest
150
+
151
+ DeleteCollectionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: UInteger, location_name: "StatusCode"))
152
+ DeleteCollectionResponse.struct_class = Types::DeleteCollectionResponse
153
+
154
+ DeleteFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
155
+ DeleteFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: FaceIdList, required: true, location_name: "FaceIds"))
156
+ DeleteFacesRequest.struct_class = Types::DeleteFacesRequest
157
+
158
+ DeleteFacesResponse.add_member(:deleted_faces, Shapes::ShapeRef.new(shape: FaceIdList, location_name: "DeletedFaces"))
159
+ DeleteFacesResponse.struct_class = Types::DeleteFacesResponse
160
+
161
+ DetectFacesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
162
+ DetectFacesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
163
+ DetectFacesRequest.struct_class = Types::DetectFacesRequest
164
+
165
+ DetectFacesResponse.add_member(:face_details, Shapes::ShapeRef.new(shape: FaceDetailList, location_name: "FaceDetails"))
166
+ DetectFacesResponse.add_member(:orientation_correction, Shapes::ShapeRef.new(shape: OrientationCorrection, location_name: "OrientationCorrection"))
167
+ DetectFacesResponse.struct_class = Types::DetectFacesResponse
168
+
169
+ DetectLabelsRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
170
+ DetectLabelsRequest.add_member(:max_labels, Shapes::ShapeRef.new(shape: UInteger, location_name: "MaxLabels"))
171
+ DetectLabelsRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
172
+ DetectLabelsRequest.struct_class = Types::DetectLabelsRequest
173
+
174
+ DetectLabelsResponse.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, location_name: "Labels"))
175
+ DetectLabelsResponse.add_member(:orientation_correction, Shapes::ShapeRef.new(shape: OrientationCorrection, location_name: "OrientationCorrection"))
176
+ DetectLabelsResponse.struct_class = Types::DetectLabelsResponse
177
+
178
+ Emotion.add_member(:type, Shapes::ShapeRef.new(shape: EmotionName, location_name: "Type"))
179
+ Emotion.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
180
+ Emotion.struct_class = Types::Emotion
181
+
182
+ Emotions.member = Shapes::ShapeRef.new(shape: Emotion)
183
+
184
+ EyeOpen.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
185
+ EyeOpen.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
186
+ EyeOpen.struct_class = Types::EyeOpen
187
+
188
+ Eyeglasses.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
189
+ Eyeglasses.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
190
+ Eyeglasses.struct_class = Types::Eyeglasses
191
+
192
+ Face.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
193
+ Face.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
194
+ Face.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
195
+ Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
196
+ Face.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
197
+ Face.struct_class = Types::Face
198
+
199
+ FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
200
+ FaceDetail.add_member(:smile, Shapes::ShapeRef.new(shape: Smile, location_name: "Smile"))
201
+ FaceDetail.add_member(:eyeglasses, Shapes::ShapeRef.new(shape: Eyeglasses, location_name: "Eyeglasses"))
202
+ FaceDetail.add_member(:sunglasses, Shapes::ShapeRef.new(shape: Sunglasses, location_name: "Sunglasses"))
203
+ FaceDetail.add_member(:gender, Shapes::ShapeRef.new(shape: Gender, location_name: "Gender"))
204
+ FaceDetail.add_member(:beard, Shapes::ShapeRef.new(shape: Beard, location_name: "Beard"))
205
+ FaceDetail.add_member(:mustache, Shapes::ShapeRef.new(shape: Mustache, location_name: "Mustache"))
206
+ FaceDetail.add_member(:eyes_open, Shapes::ShapeRef.new(shape: EyeOpen, location_name: "EyesOpen"))
207
+ FaceDetail.add_member(:mouth_open, Shapes::ShapeRef.new(shape: MouthOpen, location_name: "MouthOpen"))
208
+ FaceDetail.add_member(:emotions, Shapes::ShapeRef.new(shape: Emotions, location_name: "Emotions"))
209
+ FaceDetail.add_member(:landmarks, Shapes::ShapeRef.new(shape: Landmarks, location_name: "Landmarks"))
210
+ FaceDetail.add_member(:pose, Shapes::ShapeRef.new(shape: Pose, location_name: "Pose"))
211
+ FaceDetail.add_member(:quality, Shapes::ShapeRef.new(shape: ImageQuality, location_name: "Quality"))
212
+ FaceDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
213
+ FaceDetail.struct_class = Types::FaceDetail
214
+
215
+ FaceDetailList.member = Shapes::ShapeRef.new(shape: FaceDetail)
216
+
217
+ FaceIdList.member = Shapes::ShapeRef.new(shape: FaceId)
218
+
219
+ FaceList.member = Shapes::ShapeRef.new(shape: Face)
220
+
221
+ FaceMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
222
+ FaceMatch.add_member(:face, Shapes::ShapeRef.new(shape: Face, location_name: "Face"))
223
+ FaceMatch.struct_class = Types::FaceMatch
224
+
225
+ FaceMatchList.member = Shapes::ShapeRef.new(shape: FaceMatch)
226
+
227
+ FaceRecord.add_member(:face, Shapes::ShapeRef.new(shape: Face, location_name: "Face"))
228
+ FaceRecord.add_member(:face_detail, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "FaceDetail"))
229
+ FaceRecord.struct_class = Types::FaceRecord
230
+
231
+ FaceRecordList.member = Shapes::ShapeRef.new(shape: FaceRecord)
232
+
233
+ Gender.add_member(:value, Shapes::ShapeRef.new(shape: GenderType, location_name: "Value"))
234
+ Gender.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
235
+ Gender.struct_class = Types::Gender
236
+
237
+ Image.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
238
+ Image.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
239
+ Image.struct_class = Types::Image
240
+
241
+ ImageQuality.add_member(:brightness, Shapes::ShapeRef.new(shape: Float, location_name: "Brightness"))
242
+ ImageQuality.add_member(:sharpness, Shapes::ShapeRef.new(shape: Float, location_name: "Sharpness"))
243
+ ImageQuality.struct_class = Types::ImageQuality
244
+
245
+ IndexFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
246
+ IndexFacesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
247
+ IndexFacesRequest.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
248
+ IndexFacesRequest.add_member(:detection_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "DetectionAttributes"))
249
+ IndexFacesRequest.struct_class = Types::IndexFacesRequest
199
250
 
200
- FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
201
- FaceDetail.add_member(:smile, Shapes::ShapeRef.new(shape: Smile, location_name: "Smile"))
202
- FaceDetail.add_member(:eyeglasses, Shapes::ShapeRef.new(shape: Eyeglasses, location_name: "Eyeglasses"))
203
- FaceDetail.add_member(:sunglasses, Shapes::ShapeRef.new(shape: Sunglasses, location_name: "Sunglasses"))
204
- FaceDetail.add_member(:gender, Shapes::ShapeRef.new(shape: Gender, location_name: "Gender"))
205
- FaceDetail.add_member(:beard, Shapes::ShapeRef.new(shape: Beard, location_name: "Beard"))
206
- FaceDetail.add_member(:mustache, Shapes::ShapeRef.new(shape: Mustache, location_name: "Mustache"))
207
- FaceDetail.add_member(:eyes_open, Shapes::ShapeRef.new(shape: EyeOpen, location_name: "EyesOpen"))
208
- FaceDetail.add_member(:mouth_open, Shapes::ShapeRef.new(shape: MouthOpen, location_name: "MouthOpen"))
209
- FaceDetail.add_member(:emotions, Shapes::ShapeRef.new(shape: Emotions, location_name: "Emotions"))
210
- FaceDetail.add_member(:landmarks, Shapes::ShapeRef.new(shape: Landmarks, location_name: "Landmarks"))
211
- FaceDetail.add_member(:pose, Shapes::ShapeRef.new(shape: Pose, location_name: "Pose"))
212
- FaceDetail.add_member(:quality, Shapes::ShapeRef.new(shape: ImageQuality, location_name: "Quality"))
213
- FaceDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
214
- FaceDetail.struct_class = Types::FaceDetail
251
+ IndexFacesResponse.add_member(:face_records, Shapes::ShapeRef.new(shape: FaceRecordList, location_name: "FaceRecords"))
252
+ IndexFacesResponse.add_member(:orientation_correction, Shapes::ShapeRef.new(shape: OrientationCorrection, location_name: "OrientationCorrection"))
253
+ IndexFacesResponse.struct_class = Types::IndexFacesResponse
254
+
255
+ Label.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
256
+ Label.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
257
+ Label.struct_class = Types::Label
258
+
259
+ Labels.member = Shapes::ShapeRef.new(shape: Label)
260
+
261
+ Landmark.add_member(:type, Shapes::ShapeRef.new(shape: LandmarkType, location_name: "Type"))
262
+ Landmark.add_member(:x, Shapes::ShapeRef.new(shape: Float, location_name: "X"))
263
+ Landmark.add_member(:y, Shapes::ShapeRef.new(shape: Float, location_name: "Y"))
264
+ Landmark.struct_class = Types::Landmark
265
+
266
+ Landmarks.member = Shapes::ShapeRef.new(shape: Landmark)
267
+
268
+ ListCollectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
269
+ ListCollectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
270
+ ListCollectionsRequest.struct_class = Types::ListCollectionsRequest
271
+
272
+ ListCollectionsResponse.add_member(:collection_ids, Shapes::ShapeRef.new(shape: CollectionIdList, location_name: "CollectionIds"))
273
+ ListCollectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
274
+ ListCollectionsResponse.struct_class = Types::ListCollectionsResponse
275
+
276
+ ListFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
277
+ ListFacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
278
+ ListFacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
279
+ ListFacesRequest.struct_class = Types::ListFacesRequest
280
+
281
+ ListFacesResponse.add_member(:faces, Shapes::ShapeRef.new(shape: FaceList, location_name: "Faces"))
282
+ ListFacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
283
+ ListFacesResponse.struct_class = Types::ListFacesResponse
284
+
285
+ MouthOpen.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
286
+ MouthOpen.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
287
+ MouthOpen.struct_class = Types::MouthOpen
288
+
289
+ Mustache.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
290
+ Mustache.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
291
+ Mustache.struct_class = Types::Mustache
292
+
293
+ Pose.add_member(:roll, Shapes::ShapeRef.new(shape: Degree, location_name: "Roll"))
294
+ Pose.add_member(:yaw, Shapes::ShapeRef.new(shape: Degree, location_name: "Yaw"))
295
+ Pose.add_member(:pitch, Shapes::ShapeRef.new(shape: Degree, location_name: "Pitch"))
296
+ Pose.struct_class = Types::Pose
297
+
298
+ S3Object.add_member(:bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "Bucket"))
299
+ S3Object.add_member(:name, Shapes::ShapeRef.new(shape: S3ObjectName, location_name: "Name"))
300
+ S3Object.add_member(:version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "Version"))
301
+ S3Object.struct_class = Types::S3Object
215
302
 
216
- FaceDetailList.member = Shapes::ShapeRef.new(shape: FaceDetail)
217
-
218
- FaceIdList.member = Shapes::ShapeRef.new(shape: FaceId)
219
-
220
- FaceList.member = Shapes::ShapeRef.new(shape: Face)
221
-
222
- FaceMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
223
- FaceMatch.add_member(:face, Shapes::ShapeRef.new(shape: Face, location_name: "Face"))
224
- FaceMatch.struct_class = Types::FaceMatch
225
-
226
- FaceMatchList.member = Shapes::ShapeRef.new(shape: FaceMatch)
227
-
228
- FaceRecord.add_member(:face, Shapes::ShapeRef.new(shape: Face, location_name: "Face"))
229
- FaceRecord.add_member(:face_detail, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "FaceDetail"))
230
- FaceRecord.struct_class = Types::FaceRecord
231
-
232
- FaceRecordList.member = Shapes::ShapeRef.new(shape: FaceRecord)
303
+ SearchFacesByImageRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
304
+ SearchFacesByImageRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
305
+ SearchFacesByImageRequest.add_member(:max_faces, Shapes::ShapeRef.new(shape: MaxFaces, location_name: "MaxFaces"))
306
+ SearchFacesByImageRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
307
+ SearchFacesByImageRequest.struct_class = Types::SearchFacesByImageRequest
233
308
 
234
- Gender.add_member(:value, Shapes::ShapeRef.new(shape: GenderType, location_name: "Value"))
235
- Gender.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
236
- Gender.struct_class = Types::Gender
309
+ SearchFacesByImageResponse.add_member(:searched_face_bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "SearchedFaceBoundingBox"))
310
+ SearchFacesByImageResponse.add_member(:searched_face_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "SearchedFaceConfidence"))
311
+ SearchFacesByImageResponse.add_member(:face_matches, Shapes::ShapeRef.new(shape: FaceMatchList, location_name: "FaceMatches"))
312
+ SearchFacesByImageResponse.struct_class = Types::SearchFacesByImageResponse
237
313
 
238
- Image.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
239
- Image.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
240
- Image.struct_class = Types::Image
314
+ SearchFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
315
+ SearchFacesRequest.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, required: true, location_name: "FaceId"))
316
+ SearchFacesRequest.add_member(:max_faces, Shapes::ShapeRef.new(shape: MaxFaces, location_name: "MaxFaces"))
317
+ SearchFacesRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
318
+ SearchFacesRequest.struct_class = Types::SearchFacesRequest
241
319
 
242
- ImageQuality.add_member(:brightness, Shapes::ShapeRef.new(shape: Float, location_name: "Brightness"))
243
- ImageQuality.add_member(:sharpness, Shapes::ShapeRef.new(shape: Float, location_name: "Sharpness"))
244
- ImageQuality.struct_class = Types::ImageQuality
245
-
246
- IndexFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
247
- IndexFacesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
248
- IndexFacesRequest.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
249
- IndexFacesRequest.add_member(:detection_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "DetectionAttributes"))
250
- IndexFacesRequest.struct_class = Types::IndexFacesRequest
251
-
252
- IndexFacesResponse.add_member(:face_records, Shapes::ShapeRef.new(shape: FaceRecordList, location_name: "FaceRecords"))
253
- IndexFacesResponse.add_member(:orientation_correction, Shapes::ShapeRef.new(shape: OrientationCorrection, location_name: "OrientationCorrection"))
254
- IndexFacesResponse.struct_class = Types::IndexFacesResponse
255
-
256
- Label.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
257
- Label.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
258
- Label.struct_class = Types::Label
259
-
260
- Labels.member = Shapes::ShapeRef.new(shape: Label)
261
-
262
- Landmark.add_member(:type, Shapes::ShapeRef.new(shape: LandmarkType, location_name: "Type"))
263
- Landmark.add_member(:x, Shapes::ShapeRef.new(shape: Float, location_name: "X"))
264
- Landmark.add_member(:y, Shapes::ShapeRef.new(shape: Float, location_name: "Y"))
265
- Landmark.struct_class = Types::Landmark
266
-
267
- Landmarks.member = Shapes::ShapeRef.new(shape: Landmark)
268
-
269
- ListCollectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
270
- ListCollectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
271
- ListCollectionsRequest.struct_class = Types::ListCollectionsRequest
272
-
273
- ListCollectionsResponse.add_member(:collection_ids, Shapes::ShapeRef.new(shape: CollectionIdList, location_name: "CollectionIds"))
274
- ListCollectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
275
- ListCollectionsResponse.struct_class = Types::ListCollectionsResponse
276
-
277
- ListFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
278
- ListFacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
279
- ListFacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
280
- ListFacesRequest.struct_class = Types::ListFacesRequest
281
-
282
- ListFacesResponse.add_member(:faces, Shapes::ShapeRef.new(shape: FaceList, location_name: "Faces"))
283
- ListFacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
284
- ListFacesResponse.struct_class = Types::ListFacesResponse
285
-
286
- MouthOpen.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
287
- MouthOpen.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
288
- MouthOpen.struct_class = Types::MouthOpen
289
-
290
- Mustache.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
291
- Mustache.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
292
- Mustache.struct_class = Types::Mustache
293
-
294
- Pose.add_member(:roll, Shapes::ShapeRef.new(shape: Degree, location_name: "Roll"))
295
- Pose.add_member(:yaw, Shapes::ShapeRef.new(shape: Degree, location_name: "Yaw"))
296
- Pose.add_member(:pitch, Shapes::ShapeRef.new(shape: Degree, location_name: "Pitch"))
297
- Pose.struct_class = Types::Pose
298
-
299
- S3Object.add_member(:bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "Bucket"))
300
- S3Object.add_member(:name, Shapes::ShapeRef.new(shape: S3ObjectName, location_name: "Name"))
301
- S3Object.add_member(:version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "Version"))
302
- S3Object.struct_class = Types::S3Object
303
-
304
- SearchFacesByImageRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
305
- SearchFacesByImageRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
306
- SearchFacesByImageRequest.add_member(:max_faces, Shapes::ShapeRef.new(shape: MaxFaces, location_name: "MaxFaces"))
307
- SearchFacesByImageRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
308
- SearchFacesByImageRequest.struct_class = Types::SearchFacesByImageRequest
309
-
310
- SearchFacesByImageResponse.add_member(:searched_face_bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "SearchedFaceBoundingBox"))
311
- SearchFacesByImageResponse.add_member(:searched_face_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "SearchedFaceConfidence"))
312
- SearchFacesByImageResponse.add_member(:face_matches, Shapes::ShapeRef.new(shape: FaceMatchList, location_name: "FaceMatches"))
313
- SearchFacesByImageResponse.struct_class = Types::SearchFacesByImageResponse
314
-
315
- SearchFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
316
- SearchFacesRequest.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, required: true, location_name: "FaceId"))
317
- SearchFacesRequest.add_member(:max_faces, Shapes::ShapeRef.new(shape: MaxFaces, location_name: "MaxFaces"))
318
- SearchFacesRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
319
- SearchFacesRequest.struct_class = Types::SearchFacesRequest
320
-
321
- SearchFacesResponse.add_member(:searched_face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "SearchedFaceId"))
322
- SearchFacesResponse.add_member(:face_matches, Shapes::ShapeRef.new(shape: FaceMatchList, location_name: "FaceMatches"))
323
- SearchFacesResponse.struct_class = Types::SearchFacesResponse
324
-
325
- Smile.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
326
- Smile.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
327
- Smile.struct_class = Types::Smile
328
-
329
- Sunglasses.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
330
- Sunglasses.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
331
- Sunglasses.struct_class = Types::Sunglasses
332
-
333
-
334
- # @api private
335
- API = Seahorse::Model::Api.new.tap do |api|
336
-
337
- api.version = "2016-06-27"
338
-
339
- api.metadata = {
340
- "endpointPrefix" => "rekognition",
341
- "jsonVersion" => "1.1",
342
- "protocol" => "json",
343
- "serviceFullName" => "Amazon Rekognition",
344
- "signatureVersion" => "v4",
345
- "targetPrefix" => "RekognitionService",
346
- }
347
-
348
- api.add_operation(:compare_faces, Seahorse::Model::Operation.new.tap do |o|
349
- o.name = "CompareFaces"
350
- o.http_method = "POST"
351
- o.http_request_uri = "/"
352
- o.input = Shapes::ShapeRef.new(shape: CompareFacesRequest)
353
- o.output = Shapes::ShapeRef.new(shape: CompareFacesResponse)
354
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
355
- o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
356
- o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
357
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
358
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
359
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
360
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
361
- o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
362
- end)
363
-
364
- api.add_operation(:create_collection, Seahorse::Model::Operation.new.tap do |o|
365
- o.name = "CreateCollection"
366
- o.http_method = "POST"
367
- o.http_request_uri = "/"
368
- o.input = Shapes::ShapeRef.new(shape: CreateCollectionRequest)
369
- o.output = Shapes::ShapeRef.new(shape: CreateCollectionResponse)
370
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
371
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
372
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
373
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
374
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
375
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
376
- end)
377
-
378
- api.add_operation(:delete_collection, Seahorse::Model::Operation.new.tap do |o|
379
- o.name = "DeleteCollection"
380
- o.http_method = "POST"
381
- o.http_request_uri = "/"
382
- o.input = Shapes::ShapeRef.new(shape: DeleteCollectionRequest)
383
- o.output = Shapes::ShapeRef.new(shape: DeleteCollectionResponse)
384
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
385
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
386
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
387
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
388
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
389
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
390
- end)
391
-
392
- api.add_operation(:delete_faces, Seahorse::Model::Operation.new.tap do |o|
393
- o.name = "DeleteFaces"
394
- o.http_method = "POST"
395
- o.http_request_uri = "/"
396
- o.input = Shapes::ShapeRef.new(shape: DeleteFacesRequest)
397
- o.output = Shapes::ShapeRef.new(shape: DeleteFacesResponse)
398
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
399
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
400
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
401
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
402
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
403
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
404
- end)
405
-
406
- api.add_operation(:detect_faces, Seahorse::Model::Operation.new.tap do |o|
407
- o.name = "DetectFaces"
408
- o.http_method = "POST"
409
- o.http_request_uri = "/"
410
- o.input = Shapes::ShapeRef.new(shape: DetectFacesRequest)
411
- o.output = Shapes::ShapeRef.new(shape: DetectFacesResponse)
412
- o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
413
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
414
- o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
415
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
416
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
417
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
418
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
419
- o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
420
- end)
421
-
422
- api.add_operation(:detect_labels, Seahorse::Model::Operation.new.tap do |o|
423
- o.name = "DetectLabels"
424
- o.http_method = "POST"
425
- o.http_request_uri = "/"
426
- o.input = Shapes::ShapeRef.new(shape: DetectLabelsRequest)
427
- o.output = Shapes::ShapeRef.new(shape: DetectLabelsResponse)
428
- o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
429
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
430
- o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
431
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
432
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
433
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
434
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
435
- o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
436
- end)
437
-
438
- api.add_operation(:index_faces, Seahorse::Model::Operation.new.tap do |o|
439
- o.name = "IndexFaces"
440
- o.http_method = "POST"
441
- o.http_request_uri = "/"
442
- o.input = Shapes::ShapeRef.new(shape: IndexFacesRequest)
443
- o.output = Shapes::ShapeRef.new(shape: IndexFacesResponse)
444
- o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
445
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
446
- o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
447
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
448
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
449
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
450
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
451
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
452
- o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
453
- end)
454
-
455
- api.add_operation(:list_collections, Seahorse::Model::Operation.new.tap do |o|
456
- o.name = "ListCollections"
457
- o.http_method = "POST"
458
- o.http_request_uri = "/"
459
- o.input = Shapes::ShapeRef.new(shape: ListCollectionsRequest)
460
- o.output = Shapes::ShapeRef.new(shape: ListCollectionsResponse)
461
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
462
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
463
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
464
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
465
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
466
- o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
467
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
468
- o[:pager] = Aws::Pager.new(
469
- limit_key: "max_results",
470
- tokens: {
471
- "next_token" => "next_token"
472
- }
473
- )
474
- end)
475
-
476
- api.add_operation(:list_faces, Seahorse::Model::Operation.new.tap do |o|
477
- o.name = "ListFaces"
478
- o.http_method = "POST"
479
- o.http_request_uri = "/"
480
- o.input = Shapes::ShapeRef.new(shape: ListFacesRequest)
481
- o.output = Shapes::ShapeRef.new(shape: ListFacesResponse)
482
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
483
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
484
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
485
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
486
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
487
- o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
488
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
489
- o[:pager] = Aws::Pager.new(
490
- limit_key: "max_results",
491
- tokens: {
492
- "next_token" => "next_token"
493
- }
494
- )
495
- end)
496
-
497
- api.add_operation(:search_faces, Seahorse::Model::Operation.new.tap do |o|
498
- o.name = "SearchFaces"
499
- o.http_method = "POST"
500
- o.http_request_uri = "/"
501
- o.input = Shapes::ShapeRef.new(shape: SearchFacesRequest)
502
- o.output = Shapes::ShapeRef.new(shape: SearchFacesResponse)
503
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
504
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
505
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
506
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
507
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
508
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
509
- end)
510
-
511
- api.add_operation(:search_faces_by_image, Seahorse::Model::Operation.new.tap do |o|
512
- o.name = "SearchFacesByImage"
513
- o.http_method = "POST"
514
- o.http_request_uri = "/"
515
- o.input = Shapes::ShapeRef.new(shape: SearchFacesByImageRequest)
516
- o.output = Shapes::ShapeRef.new(shape: SearchFacesByImageResponse)
517
- o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
518
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
519
- o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
520
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
521
- o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
522
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
523
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
524
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
525
- o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
526
- end)
527
- end
320
+ SearchFacesResponse.add_member(:searched_face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "SearchedFaceId"))
321
+ SearchFacesResponse.add_member(:face_matches, Shapes::ShapeRef.new(shape: FaceMatchList, location_name: "FaceMatches"))
322
+ SearchFacesResponse.struct_class = Types::SearchFacesResponse
528
323
 
324
+ Smile.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
325
+ Smile.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
326
+ Smile.struct_class = Types::Smile
327
+
328
+ Sunglasses.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
329
+ Sunglasses.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
330
+ Sunglasses.struct_class = Types::Sunglasses
331
+
332
+
333
+ # @api private
334
+ API = Seahorse::Model::Api.new.tap do |api|
335
+
336
+ api.version = "2016-06-27"
337
+
338
+ api.metadata = {
339
+ "endpointPrefix" => "rekognition",
340
+ "jsonVersion" => "1.1",
341
+ "protocol" => "json",
342
+ "serviceFullName" => "Amazon Rekognition",
343
+ "signatureVersion" => "v4",
344
+ "targetPrefix" => "RekognitionService",
345
+ }
346
+
347
+ api.add_operation(:compare_faces, Seahorse::Model::Operation.new.tap do |o|
348
+ o.name = "CompareFaces"
349
+ o.http_method = "POST"
350
+ o.http_request_uri = "/"
351
+ o.input = Shapes::ShapeRef.new(shape: CompareFacesRequest)
352
+ o.output = Shapes::ShapeRef.new(shape: CompareFacesResponse)
353
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
354
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
355
+ o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
356
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
357
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
358
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
359
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
360
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
361
+ end)
362
+
363
+ api.add_operation(:create_collection, Seahorse::Model::Operation.new.tap do |o|
364
+ o.name = "CreateCollection"
365
+ o.http_method = "POST"
366
+ o.http_request_uri = "/"
367
+ o.input = Shapes::ShapeRef.new(shape: CreateCollectionRequest)
368
+ o.output = Shapes::ShapeRef.new(shape: CreateCollectionResponse)
369
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
370
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
371
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
372
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
373
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
374
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
375
+ end)
376
+
377
+ api.add_operation(:delete_collection, Seahorse::Model::Operation.new.tap do |o|
378
+ o.name = "DeleteCollection"
379
+ o.http_method = "POST"
380
+ o.http_request_uri = "/"
381
+ o.input = Shapes::ShapeRef.new(shape: DeleteCollectionRequest)
382
+ o.output = Shapes::ShapeRef.new(shape: DeleteCollectionResponse)
383
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
384
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
385
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
386
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
387
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
388
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
389
+ end)
390
+
391
+ api.add_operation(:delete_faces, Seahorse::Model::Operation.new.tap do |o|
392
+ o.name = "DeleteFaces"
393
+ o.http_method = "POST"
394
+ o.http_request_uri = "/"
395
+ o.input = Shapes::ShapeRef.new(shape: DeleteFacesRequest)
396
+ o.output = Shapes::ShapeRef.new(shape: DeleteFacesResponse)
397
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
398
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
399
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
400
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
401
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
402
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
403
+ end)
404
+
405
+ api.add_operation(:detect_faces, Seahorse::Model::Operation.new.tap do |o|
406
+ o.name = "DetectFaces"
407
+ o.http_method = "POST"
408
+ o.http_request_uri = "/"
409
+ o.input = Shapes::ShapeRef.new(shape: DetectFacesRequest)
410
+ o.output = Shapes::ShapeRef.new(shape: DetectFacesResponse)
411
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
412
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
413
+ o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
414
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
415
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
416
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
417
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
418
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
419
+ end)
420
+
421
+ api.add_operation(:detect_labels, Seahorse::Model::Operation.new.tap do |o|
422
+ o.name = "DetectLabels"
423
+ o.http_method = "POST"
424
+ o.http_request_uri = "/"
425
+ o.input = Shapes::ShapeRef.new(shape: DetectLabelsRequest)
426
+ o.output = Shapes::ShapeRef.new(shape: DetectLabelsResponse)
427
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
428
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
429
+ o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
430
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
431
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
432
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
434
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
435
+ end)
436
+
437
+ api.add_operation(:index_faces, Seahorse::Model::Operation.new.tap do |o|
438
+ o.name = "IndexFaces"
439
+ o.http_method = "POST"
440
+ o.http_request_uri = "/"
441
+ o.input = Shapes::ShapeRef.new(shape: IndexFacesRequest)
442
+ o.output = Shapes::ShapeRef.new(shape: IndexFacesResponse)
443
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
446
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
447
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
448
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
449
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
450
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
451
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
452
+ end)
453
+
454
+ api.add_operation(:list_collections, Seahorse::Model::Operation.new.tap do |o|
455
+ o.name = "ListCollections"
456
+ o.http_method = "POST"
457
+ o.http_request_uri = "/"
458
+ o.input = Shapes::ShapeRef.new(shape: ListCollectionsRequest)
459
+ o.output = Shapes::ShapeRef.new(shape: ListCollectionsResponse)
460
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
461
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
462
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
463
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
464
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
465
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
467
+ o[:pager] = Aws::Pager.new(
468
+ limit_key: "max_results",
469
+ tokens: {
470
+ "next_token" => "next_token"
471
+ }
472
+ )
473
+ end)
474
+
475
+ api.add_operation(:list_faces, Seahorse::Model::Operation.new.tap do |o|
476
+ o.name = "ListFaces"
477
+ o.http_method = "POST"
478
+ o.http_request_uri = "/"
479
+ o.input = Shapes::ShapeRef.new(shape: ListFacesRequest)
480
+ o.output = Shapes::ShapeRef.new(shape: ListFacesResponse)
481
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
482
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
484
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
485
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
486
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
488
+ o[:pager] = Aws::Pager.new(
489
+ limit_key: "max_results",
490
+ tokens: {
491
+ "next_token" => "next_token"
492
+ }
493
+ )
494
+ end)
495
+
496
+ api.add_operation(:search_faces, Seahorse::Model::Operation.new.tap do |o|
497
+ o.name = "SearchFaces"
498
+ o.http_method = "POST"
499
+ o.http_request_uri = "/"
500
+ o.input = Shapes::ShapeRef.new(shape: SearchFacesRequest)
501
+ o.output = Shapes::ShapeRef.new(shape: SearchFacesResponse)
502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
503
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
504
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
505
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
507
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
508
+ end)
509
+
510
+ api.add_operation(:search_faces_by_image, Seahorse::Model::Operation.new.tap do |o|
511
+ o.name = "SearchFacesByImage"
512
+ o.http_method = "POST"
513
+ o.http_request_uri = "/"
514
+ o.input = Shapes::ShapeRef.new(shape: SearchFacesByImageRequest)
515
+ o.output = Shapes::ShapeRef.new(shape: SearchFacesByImageResponse)
516
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
517
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
519
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
520
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
521
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
522
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
523
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
524
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
525
+ end)
529
526
  end
527
+
530
528
  end
531
529
  end