aws-sdk-rekognition 1.80.0 → 1.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +792 -110
- data/lib/aws-sdk-rekognition/client_api.rb +317 -0
- data/lib/aws-sdk-rekognition/endpoints.rb +98 -0
- data/lib/aws-sdk-rekognition/errors.rb +11 -0
- data/lib/aws-sdk-rekognition/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-rekognition/types.rb +665 -4
- data/lib/aws-sdk-rekognition.rb +2 -2
- metadata +2 -2
|
@@ -28,6 +28,7 @@ module Aws::Rekognition
|
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
30
|
# * {AccessDeniedException}
|
|
31
|
+
# * {ConflictException}
|
|
31
32
|
# * {HumanLoopQuotaExceededException}
|
|
32
33
|
# * {IdempotentParameterMismatchException}
|
|
33
34
|
# * {ImageTooLargeException}
|
|
@@ -65,6 +66,16 @@ module Aws::Rekognition
|
|
|
65
66
|
end
|
|
66
67
|
end
|
|
67
68
|
|
|
69
|
+
class ConflictException < ServiceError
|
|
70
|
+
|
|
71
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
72
|
+
# @param [String] message
|
|
73
|
+
# @param [Aws::Rekognition::Types::ConflictException] data
|
|
74
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
75
|
+
super(context, message, data)
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
68
79
|
class HumanLoopQuotaExceededException < ServiceError
|
|
69
80
|
|
|
70
81
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -56,6 +56,8 @@ module Aws::Rekognition
|
|
|
56
56
|
|
|
57
57
|
def parameters_for_operation(context)
|
|
58
58
|
case context.operation_name
|
|
59
|
+
when :associate_faces
|
|
60
|
+
Aws::Rekognition::Endpoints::AssociateFaces.build(context)
|
|
59
61
|
when :compare_faces
|
|
60
62
|
Aws::Rekognition::Endpoints::CompareFaces.build(context)
|
|
61
63
|
when :copy_project_version
|
|
@@ -72,6 +74,8 @@ module Aws::Rekognition
|
|
|
72
74
|
Aws::Rekognition::Endpoints::CreateProjectVersion.build(context)
|
|
73
75
|
when :create_stream_processor
|
|
74
76
|
Aws::Rekognition::Endpoints::CreateStreamProcessor.build(context)
|
|
77
|
+
when :create_user
|
|
78
|
+
Aws::Rekognition::Endpoints::CreateUser.build(context)
|
|
75
79
|
when :delete_collection
|
|
76
80
|
Aws::Rekognition::Endpoints::DeleteCollection.build(context)
|
|
77
81
|
when :delete_dataset
|
|
@@ -86,6 +90,8 @@ module Aws::Rekognition
|
|
|
86
90
|
Aws::Rekognition::Endpoints::DeleteProjectVersion.build(context)
|
|
87
91
|
when :delete_stream_processor
|
|
88
92
|
Aws::Rekognition::Endpoints::DeleteStreamProcessor.build(context)
|
|
93
|
+
when :delete_user
|
|
94
|
+
Aws::Rekognition::Endpoints::DeleteUser.build(context)
|
|
89
95
|
when :describe_collection
|
|
90
96
|
Aws::Rekognition::Endpoints::DescribeCollection.build(context)
|
|
91
97
|
when :describe_dataset
|
|
@@ -108,6 +114,8 @@ module Aws::Rekognition
|
|
|
108
114
|
Aws::Rekognition::Endpoints::DetectProtectiveEquipment.build(context)
|
|
109
115
|
when :detect_text
|
|
110
116
|
Aws::Rekognition::Endpoints::DetectText.build(context)
|
|
117
|
+
when :disassociate_faces
|
|
118
|
+
Aws::Rekognition::Endpoints::DisassociateFaces.build(context)
|
|
111
119
|
when :distribute_dataset_entries
|
|
112
120
|
Aws::Rekognition::Endpoints::DistributeDatasetEntries.build(context)
|
|
113
121
|
when :get_celebrity_info
|
|
@@ -146,6 +154,8 @@ module Aws::Rekognition
|
|
|
146
154
|
Aws::Rekognition::Endpoints::ListStreamProcessors.build(context)
|
|
147
155
|
when :list_tags_for_resource
|
|
148
156
|
Aws::Rekognition::Endpoints::ListTagsForResource.build(context)
|
|
157
|
+
when :list_users
|
|
158
|
+
Aws::Rekognition::Endpoints::ListUsers.build(context)
|
|
149
159
|
when :put_project_policy
|
|
150
160
|
Aws::Rekognition::Endpoints::PutProjectPolicy.build(context)
|
|
151
161
|
when :recognize_celebrities
|
|
@@ -154,6 +164,10 @@ module Aws::Rekognition
|
|
|
154
164
|
Aws::Rekognition::Endpoints::SearchFaces.build(context)
|
|
155
165
|
when :search_faces_by_image
|
|
156
166
|
Aws::Rekognition::Endpoints::SearchFacesByImage.build(context)
|
|
167
|
+
when :search_users
|
|
168
|
+
Aws::Rekognition::Endpoints::SearchUsers.build(context)
|
|
169
|
+
when :search_users_by_image
|
|
170
|
+
Aws::Rekognition::Endpoints::SearchUsersByImage.build(context)
|
|
157
171
|
when :start_celebrity_recognition
|
|
158
172
|
Aws::Rekognition::Endpoints::StartCelebrityRecognition.build(context)
|
|
159
173
|
when :start_content_moderation
|