Skip to content

Commit a1efe56

Browse files
authored
feat(aws-android-sdk-rekognition): update models to latest (#2573)
1 parent c4357f8 commit a1efe56

33 files changed

+1743
-303
lines changed

aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognition.java

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,8 +1084,8 @@ DetectProtectiveEquipmentResult detectProtectiveEquipment(
10841084
* </p>
10851085
* <p>
10861086
* A word is one or more ISO basic latin script characters that are not
1087-
* separated by spaces. <code>DetectText</code> can detect up to 50 words in
1088-
* an image.
1087+
* separated by spaces. <code>DetectText</code> can detect up to 100 words
1088+
* in an image.
10891089
* </p>
10901090
* <p>
10911091
* A line is a string of equally spaced words. A line isn't necessarily a
@@ -1260,18 +1260,23 @@ GetCelebrityRecognitionResult getCelebrityRecognition(
12601260

12611261
/**
12621262
* <p>
1263-
* Gets the unsafe content analysis results for a Amazon Rekognition Video
1264-
* analysis started by <a>StartContentModeration</a>.
1263+
* Gets the inappropriate, unwanted, or offensive content analysis results
1264+
* for a Amazon Rekognition Video analysis started by
1265+
* <a>StartContentModeration</a>. For a list of moderation labels in Amazon
1266+
* Rekognition, see <a href=
1267+
* "https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api"
1268+
* >Using the image and video moderation APIs</a>.
12651269
* </p>
12661270
* <p>
1267-
* Unsafe content analysis of a video is an asynchronous operation. You
1268-
* start analysis by calling <a>StartContentModeration</a> which returns a
1269-
* job identifier (<code>JobId</code>). When analysis finishes, Amazon
1270-
* Rekognition Video publishes a completion status to the Amazon Simple
1271-
* Notification Service topic registered in the initial call to
1272-
* <code>StartContentModeration</code>. To get the results of the unsafe
1273-
* content analysis, first check that the status value published to the
1274-
* Amazon SNS topic is <code>SUCCEEDED</code>. If so, call
1271+
* Amazon Rekognition Video inappropriate or offensive content detection in
1272+
* a stored video is an asynchronous operation. You start analysis by
1273+
* calling <a>StartContentModeration</a> which returns a job identifier (
1274+
* <code>JobId</code>). When analysis finishes, Amazon Rekognition Video
1275+
* publishes a completion status to the Amazon Simple Notification Service
1276+
* topic registered in the initial call to
1277+
* <code>StartContentModeration</code>. To get the results of the content
1278+
* analysis, first check that the status value published to the Amazon SNS
1279+
* topic is <code>SUCCEEDED</code>. If so, call
12751280
* <code>GetContentModeration</code> and pass the job identifier (
12761281
* <code>JobId</code>) from the initial call to
12771282
* <code>StartContentModeration</code>.
@@ -1281,10 +1286,10 @@ GetCelebrityRecognitionResult getCelebrityRecognition(
12811286
* Rekognition Devlopers Guide.
12821287
* </p>
12831288
* <p>
1284-
* <code>GetContentModeration</code> returns detected unsafe content labels,
1285-
* and the time they are detected, in an array,
1286-
* <code>ModerationLabels</code>, of <a>ContentModerationDetection</a>
1287-
* objects.
1289+
* <code>GetContentModeration</code> returns detected inappropriate,
1290+
* unwanted, or offensive content moderation labels, and the time they are
1291+
* detected, in an array, <code>ModerationLabels</code>, of
1292+
* <a>ContentModerationDetection</a> objects.
12881293
* </p>
12891294
* <p>
12901295
* By default, the moderated labels are returned sorted by time, in
@@ -1305,8 +1310,8 @@ GetCelebrityRecognitionResult getCelebrityRecognition(
13051310
* <code>GetContentModeration</code>.
13061311
* </p>
13071312
* <p>
1308-
* For more information, see Detecting Unsafe Content in the Amazon
1309-
* Rekognition Developer Guide.
1313+
* For more information, see Content moderation in the Amazon Rekognition
1314+
* Developer Guide.
13101315
* </p>
13111316
*
13121317
* @param getContentModerationRequest
@@ -2295,27 +2300,31 @@ StartCelebrityRecognitionResult startCelebrityRecognition(
22952300

22962301
/**
22972302
* <p>
2298-
* Starts asynchronous detection of unsafe content in a stored video.
2303+
* Starts asynchronous detection of inappropriate, unwanted, or offensive
2304+
* content in a stored video. For a list of moderation labels in Amazon
2305+
* Rekognition, see <a href=
2306+
* "https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api"
2307+
* >Using the image and video moderation APIs</a>.
22992308
* </p>
23002309
* <p>
23012310
* Amazon Rekognition Video can moderate content in a video stored in an
23022311
* Amazon S3 bucket. Use <a>Video</a> to specify the bucket name and the
23032312
* filename of the video. <code>StartContentModeration</code> returns a job
23042313
* identifier (<code>JobId</code>) which you use to get the results of the
2305-
* analysis. When unsafe content analysis is finished, Amazon Rekognition
2306-
* Video publishes a completion status to the Amazon Simple Notification
2307-
* Service topic that you specify in <code>NotificationChannel</code>.
2314+
* analysis. When content analysis is finished, Amazon Rekognition Video
2315+
* publishes a completion status to the Amazon Simple Notification Service
2316+
* topic that you specify in <code>NotificationChannel</code>.
23082317
* </p>
23092318
* <p>
2310-
* To get the results of the unsafe content analysis, first check that the
2311-
* status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
2312-
* If so, call <a>GetContentModeration</a> and pass the job identifier (
2319+
* To get the results of the content analysis, first check that the status
2320+
* value published to the Amazon SNS topic is <code>SUCCEEDED</code>. If so,
2321+
* call <a>GetContentModeration</a> and pass the job identifier (
23132322
* <code>JobId</code>) from the initial call to
23142323
* <code>StartContentModeration</code>.
23152324
* </p>
23162325
* <p>
2317-
* For more information, see Detecting Unsafe Content in the Amazon
2318-
* Rekognition Developer Guide.
2326+
* For more information, see Content moderation in the Amazon Rekognition
2327+
* Developer Guide.
23192328
* </p>
23202329
*
23212330
* @param startContentModerationRequest

aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognitionClient.java

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,8 +1866,8 @@ public DetectProtectiveEquipmentResult detectProtectiveEquipment(
18661866
* </p>
18671867
* <p>
18681868
* A word is one or more ISO basic latin script characters that are not
1869-
* separated by spaces. <code>DetectText</code> can detect up to 50 words in
1870-
* an image.
1869+
* separated by spaces. <code>DetectText</code> can detect up to 100 words
1870+
* in an image.
18711871
* </p>
18721872
* <p>
18731873
* A line is a string of equally spaced words. A line isn't necessarily a
@@ -2121,18 +2121,23 @@ public GetCelebrityRecognitionResult getCelebrityRecognition(
21212121

21222122
/**
21232123
* <p>
2124-
* Gets the unsafe content analysis results for a Amazon Rekognition Video
2125-
* analysis started by <a>StartContentModeration</a>.
2124+
* Gets the inappropriate, unwanted, or offensive content analysis results
2125+
* for a Amazon Rekognition Video analysis started by
2126+
* <a>StartContentModeration</a>. For a list of moderation labels in Amazon
2127+
* Rekognition, see <a href=
2128+
* "https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api"
2129+
* >Using the image and video moderation APIs</a>.
21262130
* </p>
21272131
* <p>
2128-
* Unsafe content analysis of a video is an asynchronous operation. You
2129-
* start analysis by calling <a>StartContentModeration</a> which returns a
2130-
* job identifier (<code>JobId</code>). When analysis finishes, Amazon
2131-
* Rekognition Video publishes a completion status to the Amazon Simple
2132-
* Notification Service topic registered in the initial call to
2133-
* <code>StartContentModeration</code>. To get the results of the unsafe
2134-
* content analysis, first check that the status value published to the
2135-
* Amazon SNS topic is <code>SUCCEEDED</code>. If so, call
2132+
* Amazon Rekognition Video inappropriate or offensive content detection in
2133+
* a stored video is an asynchronous operation. You start analysis by
2134+
* calling <a>StartContentModeration</a> which returns a job identifier (
2135+
* <code>JobId</code>). When analysis finishes, Amazon Rekognition Video
2136+
* publishes a completion status to the Amazon Simple Notification Service
2137+
* topic registered in the initial call to
2138+
* <code>StartContentModeration</code>. To get the results of the content
2139+
* analysis, first check that the status value published to the Amazon SNS
2140+
* topic is <code>SUCCEEDED</code>. If so, call
21362141
* <code>GetContentModeration</code> and pass the job identifier (
21372142
* <code>JobId</code>) from the initial call to
21382143
* <code>StartContentModeration</code>.
@@ -2142,10 +2147,10 @@ public GetCelebrityRecognitionResult getCelebrityRecognition(
21422147
* Rekognition Devlopers Guide.
21432148
* </p>
21442149
* <p>
2145-
* <code>GetContentModeration</code> returns detected unsafe content labels,
2146-
* and the time they are detected, in an array,
2147-
* <code>ModerationLabels</code>, of <a>ContentModerationDetection</a>
2148-
* objects.
2150+
* <code>GetContentModeration</code> returns detected inappropriate,
2151+
* unwanted, or offensive content moderation labels, and the time they are
2152+
* detected, in an array, <code>ModerationLabels</code>, of
2153+
* <a>ContentModerationDetection</a> objects.
21492154
* </p>
21502155
* <p>
21512156
* By default, the moderated labels are returned sorted by time, in
@@ -2166,8 +2171,8 @@ public GetCelebrityRecognitionResult getCelebrityRecognition(
21662171
* <code>GetContentModeration</code>.
21672172
* </p>
21682173
* <p>
2169-
* For more information, see Detecting Unsafe Content in the Amazon
2170-
* Rekognition Developer Guide.
2174+
* For more information, see Content moderation in the Amazon Rekognition
2175+
* Developer Guide.
21712176
* </p>
21722177
*
21732178
* @param getContentModerationRequest
@@ -3584,27 +3589,31 @@ public StartCelebrityRecognitionResult startCelebrityRecognition(
35843589

35853590
/**
35863591
* <p>
3587-
* Starts asynchronous detection of unsafe content in a stored video.
3592+
* Starts asynchronous detection of inappropriate, unwanted, or offensive
3593+
* content in a stored video. For a list of moderation labels in Amazon
3594+
* Rekognition, see <a href=
3595+
* "https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api"
3596+
* >Using the image and video moderation APIs</a>.
35883597
* </p>
35893598
* <p>
35903599
* Amazon Rekognition Video can moderate content in a video stored in an
35913600
* Amazon S3 bucket. Use <a>Video</a> to specify the bucket name and the
35923601
* filename of the video. <code>StartContentModeration</code> returns a job
35933602
* identifier (<code>JobId</code>) which you use to get the results of the
3594-
* analysis. When unsafe content analysis is finished, Amazon Rekognition
3595-
* Video publishes a completion status to the Amazon Simple Notification
3596-
* Service topic that you specify in <code>NotificationChannel</code>.
3603+
* analysis. When content analysis is finished, Amazon Rekognition Video
3604+
* publishes a completion status to the Amazon Simple Notification Service
3605+
* topic that you specify in <code>NotificationChannel</code>.
35973606
* </p>
35983607
* <p>
3599-
* To get the results of the unsafe content analysis, first check that the
3600-
* status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
3601-
* If so, call <a>GetContentModeration</a> and pass the job identifier (
3608+
* To get the results of the content analysis, first check that the status
3609+
* value published to the Amazon SNS topic is <code>SUCCEEDED</code>. If so,
3610+
* call <a>GetContentModeration</a> and pass the job identifier (
36023611
* <code>JobId</code>) from the initial call to
36033612
* <code>StartContentModeration</code>.
36043613
* </p>
36053614
* <p>
3606-
* For more information, see Detecting Unsafe Content in the Amazon
3607-
* Rekognition Developer Guide.
3615+
* For more information, see Content moderation in the Amazon Rekognition
3616+
* Developer Guide.
36083617
* </p>
36093618
*
36103619
* @param startContentModerationRequest

0 commit comments

Comments
 (0)