Skip to content

Commit 2d56d65

Browse files
authored
feat(aws-android-sdk-rekognition): update models to latest (#3259)
1 parent b8ad202 commit 2d56d65

File tree

8 files changed

+38
-35
lines changed

8 files changed

+38
-35
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,9 @@ CreateDatasetResult createDataset(CreateDatasetRequest createDatasetRequest)
824824
* use the <code>OutputConfig</code> option in the Settings parameter to
825825
* provide an Amazon S3 bucket location. The Amazon S3 bucket stores
826826
* reference images and audit images. You can use
827-
* <code>AuditImagesLimit</code> to limit of audit images returned. This
828-
* number is between 0 and 4. By default, it is set to 0. The limit is best
829-
* effort and based on the duration of the selfie-video.
827+
* <code>AuditImagesLimit</code> to limit the number of audit images
828+
* returned. This number is between 0 and 4. By default, it is set to 0. The
829+
* limit is best effort and based on the duration of the selfie-video.
830830
* </p>
831831
*
832832
* @param createFaceLivenessSessionRequest

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,9 +1209,9 @@ public CreateDatasetResult createDataset(CreateDatasetRequest createDatasetReque
12091209
* use the <code>OutputConfig</code> option in the Settings parameter to
12101210
* provide an Amazon S3 bucket location. The Amazon S3 bucket stores
12111211
* reference images and audit images. You can use
1212-
* <code>AuditImagesLimit</code> to limit of audit images returned. This
1213-
* number is between 0 and 4. By default, it is set to 0. The limit is best
1214-
* effort and based on the duration of the selfie-video.
1212+
* <code>AuditImagesLimit</code> to limit the number of audit images
1213+
* returned. This number is between 0 and 4. By default, it is set to 0. The
1214+
* limit is best effort and based on the duration of the selfie-video.
12151215
* </p>
12161216
*
12171217
* @param createFaceLivenessSessionRequest

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
* video and get the results for a Face Liveness session. You can use the
2727
* <code>OutputConfig</code> option in the Settings parameter to provide an
2828
* Amazon S3 bucket location. The Amazon S3 bucket stores reference images and
29-
* audit images. You can use <code>AuditImagesLimit</code> to limit of audit
30-
* images returned. This number is between 0 and 4. By default, it is set to 0.
31-
* The limit is best effort and based on the duration of the selfie-video.
29+
* audit images. You can use <code>AuditImagesLimit</code> to limit the number
30+
* of audit images returned. This number is between 0 and 4. By default, it is
31+
* set to 0. The limit is best effort and based on the duration of the
32+
* selfie-video.
3233
* </p>
3334
*/
3435
public class CreateFaceLivenessSessionRequest extends AmazonWebServiceRequest implements

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class CreateFaceLivenessSessionResult implements Serializable {
2424
* </p>
2525
* <p>
2626
* <b>Constraints:</b><br/>
27-
* <b>Length: </b>1 - 255<br/>
27+
* <b>Length: </b>36 - 36<br/>
2828
* <b>Pattern:
2929
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
3030
*/
@@ -36,7 +36,7 @@ public class CreateFaceLivenessSessionResult implements Serializable {
3636
* </p>
3737
* <p>
3838
* <b>Constraints:</b><br/>
39-
* <b>Length: </b>1 - 255<br/>
39+
* <b>Length: </b>36 - 36<br/>
4040
* <b>Pattern:
4141
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
4242
*
@@ -54,7 +54,7 @@ public String getSessionId() {
5454
* </p>
5555
* <p>
5656
* <b>Constraints:</b><br/>
57-
* <b>Length: </b>1 - 255<br/>
57+
* <b>Length: </b>36 - 36<br/>
5858
* <b>Pattern:
5959
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
6060
*
@@ -75,7 +75,7 @@ public void setSessionId(String sessionId) {
7575
* together.
7676
* <p>
7777
* <b>Constraints:</b><br/>
78-
* <b>Length: </b>1 - 255<br/>
78+
* <b>Length: </b>36 - 36<br/>
7979
* <b>Pattern:
8080
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
8181
*

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class GetFaceLivenessSessionResultsRequest extends AmazonWebServiceReques
4040
* </p>
4141
* <p>
4242
* <b>Constraints:</b><br/>
43-
* <b>Length: </b>1 - 255<br/>
43+
* <b>Length: </b>36 - 36<br/>
4444
* <b>Pattern:
4545
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
4646
*/
@@ -54,7 +54,7 @@ public class GetFaceLivenessSessionResultsRequest extends AmazonWebServiceReques
5454
* </p>
5555
* <p>
5656
* <b>Constraints:</b><br/>
57-
* <b>Length: </b>1 - 255<br/>
57+
* <b>Length: </b>36 - 36<br/>
5858
* <b>Pattern:
5959
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
6060
*
@@ -76,7 +76,7 @@ public String getSessionId() {
7676
* </p>
7777
* <p>
7878
* <b>Constraints:</b><br/>
79-
* <b>Length: </b>1 - 255<br/>
79+
* <b>Length: </b>36 - 36<br/>
8080
* <b>Pattern:
8181
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
8282
*
@@ -101,7 +101,7 @@ public void setSessionId(String sessionId) {
101101
* together.
102102
* <p>
103103
* <b>Constraints:</b><br/>
104-
* <b>Length: </b>1 - 255<br/>
104+
* <b>Length: </b>36 - 36<br/>
105105
* <b>Pattern:
106106
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
107107
*

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class GetFaceLivenessSessionResultsResult implements Serializable {
2424
* </p>
2525
* <p>
2626
* <b>Constraints:</b><br/>
27-
* <b>Length: </b>1 - 255<br/>
27+
* <b>Length: </b>36 - 36<br/>
2828
* <b>Pattern:
2929
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
3030
*/
@@ -37,7 +37,7 @@ public class GetFaceLivenessSessionResultsResult implements Serializable {
3737
* </p>
3838
* <p>
3939
* <b>Constraints:</b><br/>
40-
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED
40+
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED
4141
*/
4242
private String status;
4343

@@ -82,7 +82,7 @@ public class GetFaceLivenessSessionResultsResult implements Serializable {
8282
* </p>
8383
* <p>
8484
* <b>Constraints:</b><br/>
85-
* <b>Length: </b>1 - 255<br/>
85+
* <b>Length: </b>36 - 36<br/>
8686
* <b>Pattern:
8787
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
8888
*
@@ -100,7 +100,7 @@ public String getSessionId() {
100100
* </p>
101101
* <p>
102102
* <b>Constraints:</b><br/>
103-
* <b>Length: </b>1 - 255<br/>
103+
* <b>Length: </b>36 - 36<br/>
104104
* <b>Pattern:
105105
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
106106
*
@@ -121,7 +121,7 @@ public void setSessionId(String sessionId) {
121121
* together.
122122
* <p>
123123
* <b>Constraints:</b><br/>
124-
* <b>Length: </b>1 - 255<br/>
124+
* <b>Length: </b>36 - 36<br/>
125125
* <b>Pattern:
126126
* </b>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<br/>
127127
*
@@ -143,7 +143,7 @@ public GetFaceLivenessSessionResultsResult withSessionId(String sessionId) {
143143
* </p>
144144
* <p>
145145
* <b>Constraints:</b><br/>
146-
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED
146+
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED
147147
*
148148
* @return <p>
149149
* Represents a status corresponding to the state of the session.
@@ -163,7 +163,7 @@ public String getStatus() {
163163
* </p>
164164
* <p>
165165
* <b>Constraints:</b><br/>
166-
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED
166+
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED
167167
*
168168
* @param status <p>
169169
* Represents a status corresponding to the state of the session.
@@ -186,7 +186,7 @@ public void setStatus(String status) {
186186
* together.
187187
* <p>
188188
* <b>Constraints:</b><br/>
189-
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED
189+
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED
190190
*
191191
* @param status <p>
192192
* Represents a status corresponding to the state of the session.
@@ -209,7 +209,7 @@ public GetFaceLivenessSessionResultsResult withStatus(String status) {
209209
* </p>
210210
* <p>
211211
* <b>Constraints:</b><br/>
212-
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED
212+
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED
213213
*
214214
* @param status <p>
215215
* Represents a status corresponding to the state of the session.
@@ -232,7 +232,7 @@ public void setStatus(LivenessSessionStatus status) {
232232
* together.
233233
* <p>
234234
* <b>Constraints:</b><br/>
235-
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED
235+
* <b>Allowed Values: </b>CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED
236236
*
237237
* @param status <p>
238238
* Represents a status corresponding to the state of the session.

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class LivenessOutputConfig implements Serializable {
4141

4242
/**
4343
* <p>
44-
* The prefix appended to the output files for the Face Liveness session
44+
* The prefix prepended to the output files for the Face Liveness session
4545
* results.
4646
* </p>
4747
* <p>
@@ -116,7 +116,7 @@ public LivenessOutputConfig withS3Bucket(String s3Bucket) {
116116

117117
/**
118118
* <p>
119-
* The prefix appended to the output files for the Face Liveness session
119+
* The prefix prepended to the output files for the Face Liveness session
120120
* results.
121121
* </p>
122122
* <p>
@@ -125,7 +125,7 @@ public LivenessOutputConfig withS3Bucket(String s3Bucket) {
125125
* <b>Pattern: </b>\S*<br/>
126126
*
127127
* @return <p>
128-
* The prefix appended to the output files for the Face Liveness
128+
* The prefix prepended to the output files for the Face Liveness
129129
* session results.
130130
* </p>
131131
*/
@@ -135,7 +135,7 @@ public String getS3KeyPrefix() {
135135

136136
/**
137137
* <p>
138-
* The prefix appended to the output files for the Face Liveness session
138+
* The prefix prepended to the output files for the Face Liveness session
139139
* results.
140140
* </p>
141141
* <p>
@@ -144,7 +144,7 @@ public String getS3KeyPrefix() {
144144
* <b>Pattern: </b>\S*<br/>
145145
*
146146
* @param s3KeyPrefix <p>
147-
* The prefix appended to the output files for the Face Liveness
147+
* The prefix prepended to the output files for the Face Liveness
148148
* session results.
149149
* </p>
150150
*/
@@ -154,7 +154,7 @@ public void setS3KeyPrefix(String s3KeyPrefix) {
154154

155155
/**
156156
* <p>
157-
* The prefix appended to the output files for the Face Liveness session
157+
* The prefix prepended to the output files for the Face Liveness session
158158
* results.
159159
* </p>
160160
* <p>
@@ -166,7 +166,7 @@ public void setS3KeyPrefix(String s3KeyPrefix) {
166166
* <b>Pattern: </b>\S*<br/>
167167
*
168168
* @param s3KeyPrefix <p>
169-
* The prefix appended to the output files for the Face Liveness
169+
* The prefix prepended to the output files for the Face Liveness
170170
* session results.
171171
* </p>
172172
* @return A reference to this updated object so that method calls can be

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public enum LivenessSessionStatus {
2626
CREATED("CREATED"),
2727
IN_PROGRESS("IN_PROGRESS"),
2828
SUCCEEDED("SUCCEEDED"),
29-
FAILED("FAILED");
29+
FAILED("FAILED"),
30+
EXPIRED("EXPIRED");
3031

3132
private String value;
3233

@@ -46,6 +47,7 @@ public String toString() {
4647
enumMap.put("IN_PROGRESS", IN_PROGRESS);
4748
enumMap.put("SUCCEEDED", SUCCEEDED);
4849
enumMap.put("FAILED", FAILED);
50+
enumMap.put("EXPIRED", EXPIRED);
4951
}
5052

5153
/**

0 commit comments

Comments
 (0)